Skip to content

Commit

Permalink
Merge pull request #7 from bryceg/noImplicitAny
Browse files Browse the repository at this point in the history
add getED() to IGlideElement
  • Loading branch information
bryceg authored Jan 25, 2018
2 parents 67e06ee + a44cd94 commit a10b911
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions server/scoped-jakarta/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ declare namespace sn {
getChoices(name?: string): Array<any>;
getDecryptedValue(): string;
getDisplayValue(maxCharacters?: number): string;
getED(): IGlideElementDescriptor
getReferenceTable(): string;
getRefRecord(): IGlideServerRecord;
nil(): boolean;
Expand All @@ -177,6 +178,21 @@ declare namespace sn {
toString(): string;
}

export interface IGlideElementDescriptor {
getAttachmentEncryptionType(): string;
getEncryptionType(): string;
getInternalType(): string;
getLabel(): string;
getLength(): number;
getName(): string;
getPlural(): boolean;
hasAttachmentsEncrypted(): boolean;
isAutoOrSysID(): boolean;
isChoiceTable(): boolean;
isEdgeEncrypted(): boolean;
isVirtual(): boolean;
}

// http://wiki.servicenow.com/index.php?title=Scoped_GlideEmailOutbound_API_Reference
export interface IGlideEmailOutbound {
getSubject(): string;
Expand Down

0 comments on commit a10b911

Please sign in to comment.