@superoffice/webapi 11.13.921 → 12.0.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Carriers.d.ts +563 -2
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +66 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +158 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +18 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +296 -18
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/DashAgent.d.ts +7 -0
- package/dist/cjs/DashAgent.d.ts.map +1 -1
- package/dist/cjs/DashAgent.js +24 -0
- package/dist/cjs/DashAgent.js.map +1 -1
- package/dist/cjs/EMailAgent.d.ts +150 -30
- package/dist/cjs/EMailAgent.d.ts.map +1 -1
- package/dist/cjs/EMailAgent.js +260 -0
- package/dist/cjs/EMailAgent.js.map +1 -1
- package/dist/cjs/Enums.d.ts +55 -0
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +60 -2
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/LicenseAgent.d.ts +7 -0
- package/dist/cjs/LicenseAgent.d.ts.map +1 -1
- package/dist/cjs/LicenseAgent.js +24 -0
- package/dist/cjs/LicenseAgent.js.map +1 -1
- package/dist/cjs/ListAgent.d.ts +18 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +36 -0
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +7 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +24 -0
- package/dist/cjs/ProjectAgent.js.map +1 -1
- package/dist/cjs/TicketAgent.d.ts +99 -0
- package/dist/cjs/TicketAgent.d.ts.map +1 -1
- package/dist/cjs/TicketAgent.js +207 -0
- package/dist/cjs/TicketAgent.js.map +1 -1
- package/dist/cjs/WorkflowAgent.d.ts +7 -0
- package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
- package/dist/cjs/WorkflowAgent.js +24 -0
- package/dist/cjs/WorkflowAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +563 -2
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +66 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +158 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +18 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +260 -0
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/DashAgent.d.ts +7 -0
- package/dist/esm/DashAgent.d.ts.map +1 -1
- package/dist/esm/DashAgent.js +24 -0
- package/dist/esm/DashAgent.js.map +1 -1
- package/dist/esm/EMailAgent.d.ts +150 -30
- package/dist/esm/EMailAgent.d.ts.map +1 -1
- package/dist/esm/EMailAgent.js +260 -0
- package/dist/esm/EMailAgent.js.map +1 -1
- package/dist/esm/Enums.d.ts +55 -0
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +58 -0
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/LicenseAgent.d.ts +7 -0
- package/dist/esm/LicenseAgent.d.ts.map +1 -1
- package/dist/esm/LicenseAgent.js +24 -0
- package/dist/esm/LicenseAgent.js.map +1 -1
- package/dist/esm/ListAgent.d.ts +18 -0
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +36 -0
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +7 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +24 -0
- package/dist/esm/ProjectAgent.js.map +1 -1
- package/dist/esm/TicketAgent.d.ts +99 -0
- package/dist/esm/TicketAgent.d.ts.map +1 -1
- package/dist/esm/TicketAgent.js +207 -0
- package/dist/esm/TicketAgent.js.map +1 -1
- package/dist/esm/WorkflowAgent.d.ts +7 -0
- package/dist/esm/WorkflowAgent.d.ts.map +1 -1
- package/dist/esm/WorkflowAgent.js +24 -0
- package/dist/esm/WorkflowAgent.js.map +1 -1
- package/package.json +4 -4
- package/src/Carriers.ts +740 -2
- package/src/ConfigurationAgent.ts +216 -0
- package/src/Converters.ts +312 -0
- package/src/DashAgent.ts +30 -0
- package/src/EMailAgent.ts +470 -30
- package/src/Enums.ts +61 -0
- package/src/LicenseAgent.ts +30 -0
- package/src/ListAgent.ts +62 -0
- package/src/ProjectAgent.ts +30 -0
- package/src/TicketAgent.ts +354 -0
- package/src/WorkflowAgent.ts +30 -0
package/src/Carriers.ts
CHANGED
|
@@ -11303,6 +11303,15 @@ export interface Project_SaveProjectEntityWithoutMembersRequest {
|
|
|
11303
11303
|
|
|
11304
11304
|
// response object: ProjectEntity
|
|
11305
11305
|
|
|
11306
|
+
/**
|
|
11307
|
+
* Get the current project fencing status for the tenant
|
|
11308
|
+
* Returns FencingInfo
|
|
11309
|
+
*/
|
|
11310
|
+
export interface Project_GetProjectFencingInfoRequest {
|
|
11311
|
+
}
|
|
11312
|
+
|
|
11313
|
+
// response object: FencingInfo
|
|
11314
|
+
|
|
11306
11315
|
|
|
11307
11316
|
/**
|
|
11308
11317
|
* A project that is also an event. Used by Audience
|
|
@@ -24586,6 +24595,65 @@ export interface List_SetTicketRelationDefinitionSortOrderRequest {
|
|
|
24586
24595
|
|
|
24587
24596
|
// Void response...
|
|
24588
24597
|
|
|
24598
|
+
/**
|
|
24599
|
+
* Validate a ticket relation definition against combinations of source and destination ticket types. Returns one result per source/destination pair.
|
|
24600
|
+
* Returns TicketRelationDefinitionResult[]
|
|
24601
|
+
*/
|
|
24602
|
+
export interface List_ValidateTicketRelationDefinitionRequest {
|
|
24603
|
+
/**
|
|
24604
|
+
* The id of the relation definition being validated. Pass 0 when creating a new definition.
|
|
24605
|
+
*/
|
|
24606
|
+
ticketRelationDefinitionId: number;
|
|
24607
|
+
/**
|
|
24608
|
+
* The ticket type ids to use as source in the validation.
|
|
24609
|
+
*/
|
|
24610
|
+
sourceTicketTypeIds: number[];
|
|
24611
|
+
/**
|
|
24612
|
+
* The ticket type ids to use as destination in the validation.
|
|
24613
|
+
*/
|
|
24614
|
+
destinationTicketTypeIds: number[];
|
|
24615
|
+
/**
|
|
24616
|
+
* The relation type to validate.
|
|
24617
|
+
*/
|
|
24618
|
+
relationType: enums.TicketRelationType;
|
|
24619
|
+
}
|
|
24620
|
+
|
|
24621
|
+
// response object: TicketRelationDefinitionResult[]
|
|
24622
|
+
|
|
24623
|
+
|
|
24624
|
+
/**
|
|
24625
|
+
* Validation result for a single source/destination ticket type combination in a relation definition.
|
|
24626
|
+
*/
|
|
24627
|
+
export interface TicketRelationDefinitionResult {
|
|
24628
|
+
|
|
24629
|
+
|
|
24630
|
+
/**
|
|
24631
|
+
* The source ticket type id this result applies to.
|
|
24632
|
+
*/
|
|
24633
|
+
sourceTicketTypeId?: number;
|
|
24634
|
+
|
|
24635
|
+
/**
|
|
24636
|
+
* The destination ticket type id this result applies to.
|
|
24637
|
+
*/
|
|
24638
|
+
destinationTicketTypeId?: number;
|
|
24639
|
+
|
|
24640
|
+
/**
|
|
24641
|
+
* True if no conflicting relation definition exists for this combination.
|
|
24642
|
+
*/
|
|
24643
|
+
isValid?: boolean;
|
|
24644
|
+
|
|
24645
|
+
/**
|
|
24646
|
+
* Name of the conflicting relation definition if IsValid is false.
|
|
24647
|
+
*/
|
|
24648
|
+
existingRelationDefinitionName?: string;
|
|
24649
|
+
|
|
24650
|
+
}
|
|
24651
|
+
|
|
24652
|
+
|
|
24653
|
+
|
|
24654
|
+
|
|
24655
|
+
|
|
24656
|
+
|
|
24589
24657
|
|
|
24590
24658
|
/**
|
|
24591
24659
|
* Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
|
|
@@ -25180,6 +25248,7 @@ export interface List_GetWebPanelByProgIdRequest {
|
|
|
25180
25248
|
|
|
25181
25249
|
|
|
25182
25250
|
|
|
25251
|
+
|
|
25183
25252
|
|
|
25184
25253
|
|
|
25185
25254
|
/**
|
|
@@ -26202,6 +26271,8 @@ export interface SelectableMDOListItem extends Carrier {
|
|
|
26202
26271
|
|
|
26203
26272
|
|
|
26204
26273
|
|
|
26274
|
+
|
|
26275
|
+
|
|
26205
26276
|
|
|
26206
26277
|
|
|
26207
26278
|
|
|
@@ -26837,6 +26908,95 @@ export interface DiaryViewEntity extends Carrier {
|
|
|
26837
26908
|
|
|
26838
26909
|
|
|
26839
26910
|
|
|
26911
|
+
/**
|
|
26912
|
+
* Per-associate landing page configuration for an entity (type of landing page), including pinned selections and pinned entity records.
|
|
26913
|
+
*/
|
|
26914
|
+
export interface LandingPageEntity extends Carrier {
|
|
26915
|
+
|
|
26916
|
+
|
|
26917
|
+
/**
|
|
26918
|
+
* Primary key
|
|
26919
|
+
*/
|
|
26920
|
+
landingPageId?: number;
|
|
26921
|
+
|
|
26922
|
+
/**
|
|
26923
|
+
* The associate this landing page belongs to
|
|
26924
|
+
*/
|
|
26925
|
+
associateId?: number;
|
|
26926
|
+
|
|
26927
|
+
/**
|
|
26928
|
+
* Entity table name (contact, person, sale, ...) identifying the type of landing page.
|
|
26929
|
+
*/
|
|
26930
|
+
entityTableName?: string;
|
|
26931
|
+
|
|
26932
|
+
/**
|
|
26933
|
+
* The selection to show on the landing page
|
|
26934
|
+
*/
|
|
26935
|
+
selectionId?: number;
|
|
26936
|
+
|
|
26937
|
+
/**
|
|
26938
|
+
* Selections pinned on this landing page. Item.Id = selectionId, Item.Name = selection name.
|
|
26939
|
+
*/
|
|
26940
|
+
pinnedSelections?: MDOListItem[];
|
|
26941
|
+
|
|
26942
|
+
/**
|
|
26943
|
+
* Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
|
|
26944
|
+
*/
|
|
26945
|
+
pinnedEntities?: MDOListItem[];
|
|
26946
|
+
|
|
26947
|
+
}
|
|
26948
|
+
|
|
26949
|
+
|
|
26950
|
+
|
|
26951
|
+
|
|
26952
|
+
|
|
26953
|
+
|
|
26954
|
+
/**
|
|
26955
|
+
* Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
|
|
26956
|
+
* Returns LandingPageEntity
|
|
26957
|
+
*/
|
|
26958
|
+
export interface Configuration_GetLandingPageRequest {
|
|
26959
|
+
/**
|
|
26960
|
+
* Id of the associate.
|
|
26961
|
+
*/
|
|
26962
|
+
associateId: number;
|
|
26963
|
+
/**
|
|
26964
|
+
* Entity table name (contact, person, sale, ...), transformed to and from the numeric table number by the service layer.
|
|
26965
|
+
*/
|
|
26966
|
+
tableName: string;
|
|
26967
|
+
}
|
|
26968
|
+
|
|
26969
|
+
// response object: LandingPageEntity
|
|
26970
|
+
|
|
26971
|
+
/**
|
|
26972
|
+
* Pin or unpin an entity or selection on the landing page identified by associate and entity table. Creates the landing page row if it does not exist.
|
|
26973
|
+
*/
|
|
26974
|
+
export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
26975
|
+
/**
|
|
26976
|
+
* True to pin the item, false to unpin it.
|
|
26977
|
+
*/
|
|
26978
|
+
pin: boolean;
|
|
26979
|
+
/**
|
|
26980
|
+
* Id of the associate that owns the landing page.
|
|
26981
|
+
*/
|
|
26982
|
+
associateId: number;
|
|
26983
|
+
/**
|
|
26984
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
26985
|
+
*/
|
|
26986
|
+
entityTableName: string;
|
|
26987
|
+
/**
|
|
26988
|
+
* Table name of the record being pinned (selection, contact, person, sale, ...).
|
|
26989
|
+
*/
|
|
26990
|
+
pinTableName: string;
|
|
26991
|
+
/**
|
|
26992
|
+
* Id of the record to pin or unpin.
|
|
26993
|
+
*/
|
|
26994
|
+
recordId: number;
|
|
26995
|
+
}
|
|
26996
|
+
|
|
26997
|
+
// Void response...
|
|
26998
|
+
|
|
26999
|
+
|
|
26840
27000
|
/**
|
|
26841
27001
|
* Entity for system events
|
|
26842
27002
|
*/
|
|
@@ -30072,6 +30232,11 @@ export interface EMailAccount extends Carrier {
|
|
|
30072
30232
|
*/
|
|
30073
30233
|
lastFetch?: Date;
|
|
30074
30234
|
|
|
30235
|
+
/**
|
|
30236
|
+
* Use the GraphApi for this account
|
|
30237
|
+
*/
|
|
30238
|
+
useGraphApi?: number;
|
|
30239
|
+
|
|
30075
30240
|
}
|
|
30076
30241
|
|
|
30077
30242
|
|
|
@@ -30383,6 +30548,11 @@ export interface EMailConnectionInfo extends Carrier {
|
|
|
30383
30548
|
*/
|
|
30384
30549
|
useSSL?: boolean;
|
|
30385
30550
|
|
|
30551
|
+
/**
|
|
30552
|
+
* Use Graph API
|
|
30553
|
+
*/
|
|
30554
|
+
useGraphApi?: boolean;
|
|
30555
|
+
|
|
30386
30556
|
}
|
|
30387
30557
|
|
|
30388
30558
|
|
|
@@ -30432,6 +30602,11 @@ export interface EMailConnectionInfoExtended extends Carrier {
|
|
|
30432
30602
|
*/
|
|
30433
30603
|
folder?: string;
|
|
30434
30604
|
|
|
30605
|
+
/**
|
|
30606
|
+
* Use Graph API
|
|
30607
|
+
*/
|
|
30608
|
+
useGraphApi?: boolean;
|
|
30609
|
+
|
|
30435
30610
|
}
|
|
30436
30611
|
|
|
30437
30612
|
|
|
@@ -30545,6 +30720,11 @@ export interface EMailEntity extends Carrier {
|
|
|
30545
30720
|
*/
|
|
30546
30721
|
serverId?: number;
|
|
30547
30722
|
|
|
30723
|
+
/**
|
|
30724
|
+
* Server identifier of this email item (GraphApi uses string Id's)
|
|
30725
|
+
*/
|
|
30726
|
+
serverIdentifier?: string;
|
|
30727
|
+
|
|
30548
30728
|
/**
|
|
30549
30729
|
*
|
|
30550
30730
|
*/
|
|
@@ -30636,6 +30816,35 @@ export interface EMail_GetEMailFromIdRequest {
|
|
|
30636
30816
|
|
|
30637
30817
|
// response object: EMailEntity
|
|
30638
30818
|
|
|
30819
|
+
/**
|
|
30820
|
+
* Get en e-mail based on its unique id string
|
|
30821
|
+
* Returns EMailEntity
|
|
30822
|
+
*/
|
|
30823
|
+
export interface EMail_GetEMailFromServerIdentifierRequest {
|
|
30824
|
+
/**
|
|
30825
|
+
* All information needed to connect to the mailserver
|
|
30826
|
+
*/
|
|
30827
|
+
connectionInfo: EMailConnectionInfo;
|
|
30828
|
+
/**
|
|
30829
|
+
* Unique ID for the e-mail to retrieve
|
|
30830
|
+
*/
|
|
30831
|
+
messageServerId: string;
|
|
30832
|
+
/**
|
|
30833
|
+
* If true try to look up e-mail addresses in from/to/cc/bcc fields against superoffice contacts
|
|
30834
|
+
*/
|
|
30835
|
+
lookupAddresses: boolean;
|
|
30836
|
+
/**
|
|
30837
|
+
* Any flags to apply to the fetched item. Ex: Seen/Answered
|
|
30838
|
+
*/
|
|
30839
|
+
flags: enums.EMailFlags;
|
|
30840
|
+
/**
|
|
30841
|
+
* Should we retrieve attachments embedded in the e-mail from the server
|
|
30842
|
+
*/
|
|
30843
|
+
includeAttachments: boolean;
|
|
30844
|
+
}
|
|
30845
|
+
|
|
30846
|
+
// response object: EMailEntity
|
|
30847
|
+
|
|
30639
30848
|
/**
|
|
30640
30849
|
* Send the provided e-mails
|
|
30641
30850
|
* Returns EMailEntity[]
|
|
@@ -30738,6 +30947,27 @@ export interface EMail_GetAttachmentRequest {
|
|
|
30738
30947
|
|
|
30739
30948
|
// response object: EMailAttachment
|
|
30740
30949
|
|
|
30950
|
+
/**
|
|
30951
|
+
* Retrieve an attachment from an e-mail
|
|
30952
|
+
* Returns EMailAttachment
|
|
30953
|
+
*/
|
|
30954
|
+
export interface EMail_GetAttachmentFromServerIdentifierRequest {
|
|
30955
|
+
/**
|
|
30956
|
+
* All information needed to connect to the mailserver
|
|
30957
|
+
*/
|
|
30958
|
+
connectionInfo: EMailConnectionInfo;
|
|
30959
|
+
/**
|
|
30960
|
+
* Unique ID for the e-mail to retrieve the attachment from
|
|
30961
|
+
*/
|
|
30962
|
+
messageServerId: string;
|
|
30963
|
+
/**
|
|
30964
|
+
* Id of the attachment in the e-mail
|
|
30965
|
+
*/
|
|
30966
|
+
attachmentId: string;
|
|
30967
|
+
}
|
|
30968
|
+
|
|
30969
|
+
// response object: EMailAttachment
|
|
30970
|
+
|
|
30741
30971
|
/**
|
|
30742
30972
|
* Mark one or more e-mails as (un)read
|
|
30743
30973
|
*/
|
|
@@ -30758,6 +30988,26 @@ export interface EMail_MarkAsReadRequest {
|
|
|
30758
30988
|
|
|
30759
30989
|
// Void response...
|
|
30760
30990
|
|
|
30991
|
+
/**
|
|
30992
|
+
* Mark one or more e-mails as (un)read
|
|
30993
|
+
*/
|
|
30994
|
+
export interface EMail_MarkAsReadFromServerIdentifiersRequest {
|
|
30995
|
+
/**
|
|
30996
|
+
* All information needed to connect to the mailserver
|
|
30997
|
+
*/
|
|
30998
|
+
connectionInfo: EMailConnectionInfo;
|
|
30999
|
+
/**
|
|
31000
|
+
* The e-mails to handle
|
|
31001
|
+
*/
|
|
31002
|
+
messageServerIds: string[];
|
|
31003
|
+
/**
|
|
31004
|
+
* If true mails are marked as read. If false mails are marked as unread.
|
|
31005
|
+
*/
|
|
31006
|
+
read: boolean;
|
|
31007
|
+
}
|
|
31008
|
+
|
|
31009
|
+
// Void response...
|
|
31010
|
+
|
|
30761
31011
|
/**
|
|
30762
31012
|
* Retrieve total/unread mail items in current folder
|
|
30763
31013
|
* Returns number
|
|
@@ -30795,6 +31045,26 @@ export interface EMail_DeleteRequest {
|
|
|
30795
31045
|
|
|
30796
31046
|
// Void response...
|
|
30797
31047
|
|
|
31048
|
+
/**
|
|
31049
|
+
* Delete specified mail items
|
|
31050
|
+
*/
|
|
31051
|
+
export interface EMail_DeleteFromServerIdentifierRequest {
|
|
31052
|
+
/**
|
|
31053
|
+
* All information needed to connect to the mailserver
|
|
31054
|
+
*/
|
|
31055
|
+
connectionInfo: EMailConnectionInfo;
|
|
31056
|
+
/**
|
|
31057
|
+
* The e-mails to handle
|
|
31058
|
+
*/
|
|
31059
|
+
messageServerIds: string[];
|
|
31060
|
+
/**
|
|
31061
|
+
* If set, move deleted items to this folder
|
|
31062
|
+
*/
|
|
31063
|
+
moveToFolder: string;
|
|
31064
|
+
}
|
|
31065
|
+
|
|
31066
|
+
// Void response...
|
|
31067
|
+
|
|
30798
31068
|
/**
|
|
30799
31069
|
* Moved specified items from current folder to targetFolder
|
|
30800
31070
|
*/
|
|
@@ -30815,6 +31085,26 @@ export interface EMail_MoveToFolderRequest {
|
|
|
30815
31085
|
|
|
30816
31086
|
// Void response...
|
|
30817
31087
|
|
|
31088
|
+
/**
|
|
31089
|
+
* Moved specified items from current folder to targetFolder
|
|
31090
|
+
*/
|
|
31091
|
+
export interface EMail_MoveToFolderFromServerIdentifierRequest {
|
|
31092
|
+
/**
|
|
31093
|
+
* All information needed to connect to the mailserver
|
|
31094
|
+
*/
|
|
31095
|
+
connectionInfo: EMailConnectionInfo;
|
|
31096
|
+
/**
|
|
31097
|
+
* The e-mails to handle
|
|
31098
|
+
*/
|
|
31099
|
+
messageServerIds: string[];
|
|
31100
|
+
/**
|
|
31101
|
+
* Name of folder to move items to
|
|
31102
|
+
*/
|
|
31103
|
+
targetFolder: string;
|
|
31104
|
+
}
|
|
31105
|
+
|
|
31106
|
+
// Void response...
|
|
31107
|
+
|
|
30818
31108
|
/**
|
|
30819
31109
|
* Delete all items in folder specified in the connection object
|
|
30820
31110
|
*/
|
|
@@ -30852,6 +31142,27 @@ export interface EMail_GetEMailAsStreamRequest {
|
|
|
30852
31142
|
|
|
30853
31143
|
// response object: Blob
|
|
30854
31144
|
|
|
31145
|
+
/**
|
|
31146
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
31147
|
+
* Returns Blob
|
|
31148
|
+
*/
|
|
31149
|
+
export interface EMail_GetEMailAsStreamFromServerIdentifierRequest {
|
|
31150
|
+
/**
|
|
31151
|
+
* All information needed to connect to the mailserver
|
|
31152
|
+
*/
|
|
31153
|
+
connectionInfo: EMailConnectionInfo;
|
|
31154
|
+
/**
|
|
31155
|
+
* Unique ID for the e-mail to retrieve
|
|
31156
|
+
*/
|
|
31157
|
+
messageServerId: string;
|
|
31158
|
+
/**
|
|
31159
|
+
* If true, do not include attachments in stream
|
|
31160
|
+
*/
|
|
31161
|
+
stripAttachments: boolean;
|
|
31162
|
+
}
|
|
31163
|
+
|
|
31164
|
+
// response object: Blob
|
|
31165
|
+
|
|
30855
31166
|
/**
|
|
30856
31167
|
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
30857
31168
|
* Returns EMailAddress[]
|
|
@@ -30992,6 +31303,23 @@ export interface EMail_GetEMailEnvelopesRequest {
|
|
|
30992
31303
|
|
|
30993
31304
|
// response object: EMailEnvelope[]
|
|
30994
31305
|
|
|
31306
|
+
/**
|
|
31307
|
+
* Retrieve a set of e-mail envelopes
|
|
31308
|
+
* Returns EMailEnvelope[]
|
|
31309
|
+
*/
|
|
31310
|
+
export interface EMail_GetEMailEnvelopesFromServerIdsRequest {
|
|
31311
|
+
/**
|
|
31312
|
+
* All information needed to connect to the mailserver
|
|
31313
|
+
*/
|
|
31314
|
+
connectionInfo: EMailConnectionInfo;
|
|
31315
|
+
/**
|
|
31316
|
+
* Unique identitifiers for the e-mails to retrieve envelopes for
|
|
31317
|
+
*/
|
|
31318
|
+
messageServerIds: string[];
|
|
31319
|
+
}
|
|
31320
|
+
|
|
31321
|
+
// response object: EMailEnvelope[]
|
|
31322
|
+
|
|
30995
31323
|
/**
|
|
30996
31324
|
* Set subscription on or off on a set of folders
|
|
30997
31325
|
*/
|
|
@@ -31840,6 +32168,11 @@ export interface EMailEnvelope extends Carrier {
|
|
|
31840
32168
|
*/
|
|
31841
32169
|
serverId?: number;
|
|
31842
32170
|
|
|
32171
|
+
/**
|
|
32172
|
+
* Unique string id for the e-mail on the server (Graph API
|
|
32173
|
+
*/
|
|
32174
|
+
serverIdentifier?: string;
|
|
32175
|
+
|
|
31843
32176
|
/**
|
|
31844
32177
|
* Unique id of e-mails
|
|
31845
32178
|
*/
|
|
@@ -32078,6 +32411,7 @@ export interface EMail_SyncEmailAccountsRequest {
|
|
|
32078
32411
|
|
|
32079
32412
|
|
|
32080
32413
|
|
|
32414
|
+
|
|
32081
32415
|
|
|
32082
32416
|
|
|
32083
32417
|
/**
|
|
@@ -33186,10 +33520,55 @@ export interface Webhook {
|
|
|
33186
33520
|
updatedAssociate?: Associate;
|
|
33187
33521
|
|
|
33188
33522
|
/**
|
|
33189
|
-
*
|
|
33523
|
+
* Obsolete, use ErrorEmails instead
|
|
33190
33524
|
*/
|
|
33191
33525
|
errorsEmail?: string;
|
|
33192
33526
|
|
|
33527
|
+
/**
|
|
33528
|
+
* Email addresses to notify when this webhook is disabled.
|
|
33529
|
+
*/
|
|
33530
|
+
errorEmails?: string[];
|
|
33531
|
+
|
|
33532
|
+
/**
|
|
33533
|
+
* Associates to notify when this webhook is disabled.
|
|
33534
|
+
*/
|
|
33535
|
+
errorAssociates?: MDOListItem[];
|
|
33536
|
+
|
|
33537
|
+
/**
|
|
33538
|
+
* Human-readable description of what this webhook does.
|
|
33539
|
+
*/
|
|
33540
|
+
description?: string;
|
|
33541
|
+
|
|
33542
|
+
/**
|
|
33543
|
+
* How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
|
|
33544
|
+
*/
|
|
33545
|
+
notifyVia?: enums.WebhookNotifyVia;
|
|
33546
|
+
|
|
33547
|
+
/**
|
|
33548
|
+
* When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
|
|
33549
|
+
*/
|
|
33550
|
+
notifyWhen?: enums.WebhookNotifyWhen;
|
|
33551
|
+
|
|
33552
|
+
/**
|
|
33553
|
+
* Number of times webhook has been invoked since registered. For statistical purposes.
|
|
33554
|
+
*/
|
|
33555
|
+
totalCalls?: number;
|
|
33556
|
+
|
|
33557
|
+
/**
|
|
33558
|
+
* Number of times webhook has returned error since registered. For statistical purposes.
|
|
33559
|
+
*/
|
|
33560
|
+
totalErrors?: number;
|
|
33561
|
+
|
|
33562
|
+
/**
|
|
33563
|
+
* Number of consecutive errors. Reset to 0 when an non-error is received. If too many errors, webhook.state is changed to TooManyErrors(3) to deactivate webhook.
|
|
33564
|
+
*/
|
|
33565
|
+
consecutiveErrors?: number;
|
|
33566
|
+
|
|
33567
|
+
/**
|
|
33568
|
+
* Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
|
|
33569
|
+
*/
|
|
33570
|
+
lastError?: string;
|
|
33571
|
+
|
|
33193
33572
|
}
|
|
33194
33573
|
|
|
33195
33574
|
|
|
@@ -37618,6 +37997,50 @@ export interface ExtendedModuleLicense {
|
|
|
37618
37997
|
|
|
37619
37998
|
|
|
37620
37999
|
|
|
38000
|
+
/**
|
|
38001
|
+
* Information about entity fencing status, including current count and maximum active entities
|
|
38002
|
+
*/
|
|
38003
|
+
export interface FencingInfo extends Carrier {
|
|
38004
|
+
|
|
38005
|
+
|
|
38006
|
+
/**
|
|
38007
|
+
* Number of active entities
|
|
38008
|
+
*/
|
|
38009
|
+
activeCount?: number;
|
|
38010
|
+
|
|
38011
|
+
/**
|
|
38012
|
+
* Maximum number of active entities allowed
|
|
38013
|
+
*/
|
|
38014
|
+
maximum?: number;
|
|
38015
|
+
|
|
38016
|
+
/**
|
|
38017
|
+
* True if the active entity count is approaching the maximum
|
|
38018
|
+
*/
|
|
38019
|
+
isNearingMaximum?: boolean;
|
|
38020
|
+
|
|
38021
|
+
/**
|
|
38022
|
+
* True if the active entity count has reached or exceeded the maximum
|
|
38023
|
+
*/
|
|
38024
|
+
hasReachedMaximum?: boolean;
|
|
38025
|
+
|
|
38026
|
+
/**
|
|
38027
|
+
* Localized warning message to display when nearing or at the maximum
|
|
38028
|
+
*/
|
|
38029
|
+
warningMessage?: string;
|
|
38030
|
+
|
|
38031
|
+
/**
|
|
38032
|
+
* Localized warning message to display as a tooltip when nearing or at the maximum
|
|
38033
|
+
*/
|
|
38034
|
+
warningTooltip?: string;
|
|
38035
|
+
|
|
38036
|
+
}
|
|
38037
|
+
|
|
38038
|
+
|
|
38039
|
+
|
|
38040
|
+
|
|
38041
|
+
|
|
38042
|
+
|
|
38043
|
+
|
|
37621
38044
|
/**
|
|
37622
38045
|
* License information, hashed and signed with public keys to prevent tampering. Counts License usage and assignments.
|
|
37623
38046
|
*/
|
|
@@ -37937,6 +38360,15 @@ export interface License_SaveCentralLicenseRequest {
|
|
|
37937
38360
|
|
|
37938
38361
|
// response object: LicenseOwner[]
|
|
37939
38362
|
|
|
38363
|
+
/**
|
|
38364
|
+
* Returns fencinginfo if license fence is near or reached
|
|
38365
|
+
* Returns FencingInfo
|
|
38366
|
+
*/
|
|
38367
|
+
export interface License_GetFencingInfoRequest {
|
|
38368
|
+
}
|
|
38369
|
+
|
|
38370
|
+
// response object: FencingInfo
|
|
38371
|
+
|
|
37940
38372
|
|
|
37941
38373
|
/**
|
|
37942
38374
|
* Represents all licenses for this owner at this site.
|
|
@@ -43460,6 +43892,15 @@ export interface Dash_GetPossibleDashQuickFiltersRequest {
|
|
|
43460
43892
|
|
|
43461
43893
|
// response object: QuickFilterInfo[]
|
|
43462
43894
|
|
|
43895
|
+
/**
|
|
43896
|
+
* Get the current dashboard fencing status for the tenant
|
|
43897
|
+
* Returns FencingInfo
|
|
43898
|
+
*/
|
|
43899
|
+
export interface Dash_GetDashboardFencingInfoRequest {
|
|
43900
|
+
}
|
|
43901
|
+
|
|
43902
|
+
// response object: FencingInfo
|
|
43903
|
+
|
|
43463
43904
|
|
|
43464
43905
|
/**
|
|
43465
43906
|
* Collection of dashboards for an associate
|
|
@@ -48854,6 +49295,40 @@ export interface Ticket_GetTicketMessageWithOptionsRequest {
|
|
|
48854
49295
|
// response object: TicketMessageEntity
|
|
48855
49296
|
|
|
48856
49297
|
|
|
49298
|
+
/**
|
|
49299
|
+
* Relation-driven actions applicable to a ticket, indicating whether to offer closing the parent or whether open children are blocking the ticket from being closed.
|
|
49300
|
+
*/
|
|
49301
|
+
export interface TicketRelationAction {
|
|
49302
|
+
|
|
49303
|
+
|
|
49304
|
+
/**
|
|
49305
|
+
* ID of the parent ticket to offer closing when all its children are closed. 0 if not applicable.
|
|
49306
|
+
*/
|
|
49307
|
+
ticketIdToClose?: number;
|
|
49308
|
+
|
|
49309
|
+
/**
|
|
49310
|
+
* True if a parent relation is mandatory for this ticket type.
|
|
49311
|
+
*/
|
|
49312
|
+
isParentRequired?: boolean;
|
|
49313
|
+
|
|
49314
|
+
/**
|
|
49315
|
+
* True if the ticket may be closed. False if unclosed children are blocking it.
|
|
49316
|
+
*/
|
|
49317
|
+
canCloseCurrentTicket?: boolean;
|
|
49318
|
+
|
|
49319
|
+
/**
|
|
49320
|
+
* Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
|
|
49321
|
+
*/
|
|
49322
|
+
children?: number[];
|
|
49323
|
+
|
|
49324
|
+
}
|
|
49325
|
+
|
|
49326
|
+
|
|
49327
|
+
|
|
49328
|
+
|
|
49329
|
+
|
|
49330
|
+
|
|
49331
|
+
|
|
48857
49332
|
/**
|
|
48858
49333
|
* Relationship between two tickets, as described by the TicketRelationDefinition.
|
|
48859
49334
|
*/
|
|
@@ -48876,7 +49351,7 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48876
49351
|
destinationTicketId?: number;
|
|
48877
49352
|
|
|
48878
49353
|
/**
|
|
48879
|
-
*
|
|
49354
|
+
* The type of relation between the two tickets.
|
|
48880
49355
|
*/
|
|
48881
49356
|
relationType?: enums.TicketRelationType;
|
|
48882
49357
|
|
|
@@ -48892,6 +49367,257 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48892
49367
|
|
|
48893
49368
|
|
|
48894
49369
|
|
|
49370
|
+
/**
|
|
49371
|
+
* Get all relations for a ticket.
|
|
49372
|
+
* Returns TicketRelationItem[]
|
|
49373
|
+
*/
|
|
49374
|
+
export interface Ticket_GetTicketRelationsRequest {
|
|
49375
|
+
/**
|
|
49376
|
+
* The id of the ticket to get relations for.
|
|
49377
|
+
*/
|
|
49378
|
+
ticketId: number;
|
|
49379
|
+
}
|
|
49380
|
+
|
|
49381
|
+
// response object: TicketRelationItem[]
|
|
49382
|
+
|
|
49383
|
+
/**
|
|
49384
|
+
* Get the parent ticket id. Returns 0 if the ticket has no parent.
|
|
49385
|
+
* Returns number
|
|
49386
|
+
*/
|
|
49387
|
+
export interface Ticket_GetTicketParentIdRequest {
|
|
49388
|
+
/**
|
|
49389
|
+
* The id of the ticket to get the parent for.
|
|
49390
|
+
*/
|
|
49391
|
+
ticketId: number;
|
|
49392
|
+
}
|
|
49393
|
+
|
|
49394
|
+
// response object: number
|
|
49395
|
+
|
|
49396
|
+
/**
|
|
49397
|
+
* Set the parent of a ticket. If the ticket already has a parent, it will be overwritten.
|
|
49398
|
+
*/
|
|
49399
|
+
export interface Ticket_SetTicketParentRequest {
|
|
49400
|
+
/**
|
|
49401
|
+
* The id of the ticket to set the parent on.
|
|
49402
|
+
*/
|
|
49403
|
+
ticketId: number;
|
|
49404
|
+
/**
|
|
49405
|
+
* The id of the ticket to set as parent.
|
|
49406
|
+
*/
|
|
49407
|
+
parentTicketId: number;
|
|
49408
|
+
/**
|
|
49409
|
+
* Optional comment to store on the relation.
|
|
49410
|
+
*/
|
|
49411
|
+
comment: string;
|
|
49412
|
+
}
|
|
49413
|
+
|
|
49414
|
+
// Void response...
|
|
49415
|
+
|
|
49416
|
+
/**
|
|
49417
|
+
* Validate proposed ticket relations without saving them. Returns a result per source ticket indicating whether the relation is valid.
|
|
49418
|
+
* Returns TicketRelationResult[]
|
|
49419
|
+
*/
|
|
49420
|
+
export interface Ticket_ValidateTicketRelationsRequest {
|
|
49421
|
+
/**
|
|
49422
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
49423
|
+
*/
|
|
49424
|
+
sourceTicketIds: number[];
|
|
49425
|
+
/**
|
|
49426
|
+
* The id of the ticket that the source tickets will be related to.
|
|
49427
|
+
*/
|
|
49428
|
+
destinationTicketId: number;
|
|
49429
|
+
/**
|
|
49430
|
+
* The type of relation to create.
|
|
49431
|
+
*/
|
|
49432
|
+
relationType: enums.TicketRelationType;
|
|
49433
|
+
}
|
|
49434
|
+
|
|
49435
|
+
// response object: TicketRelationResult[]
|
|
49436
|
+
|
|
49437
|
+
/**
|
|
49438
|
+
* Create multiple ticket relations in a single call. Returns a result per source ticket indicating success or failure.
|
|
49439
|
+
* Returns TicketRelationResult[]
|
|
49440
|
+
*/
|
|
49441
|
+
export interface Ticket_CreateTicketRelationsRequest {
|
|
49442
|
+
/**
|
|
49443
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
49444
|
+
*/
|
|
49445
|
+
sourceTicketIds: number[];
|
|
49446
|
+
/**
|
|
49447
|
+
* The id of the ticket that the source tickets will be related to.
|
|
49448
|
+
*/
|
|
49449
|
+
destinationTicketId: number;
|
|
49450
|
+
/**
|
|
49451
|
+
* The type of relation to create.
|
|
49452
|
+
*/
|
|
49453
|
+
relationType: enums.TicketRelationType;
|
|
49454
|
+
/**
|
|
49455
|
+
* Optional comment to store on each relation.
|
|
49456
|
+
*/
|
|
49457
|
+
comment: string;
|
|
49458
|
+
}
|
|
49459
|
+
|
|
49460
|
+
// response object: TicketRelationResult[]
|
|
49461
|
+
|
|
49462
|
+
/**
|
|
49463
|
+
* Get the relation-driven actions that apply to a ticket, such as whether to offer closing the parent or whether open children are blocking the ticket from being closed.
|
|
49464
|
+
* Returns TicketRelationAction
|
|
49465
|
+
*/
|
|
49466
|
+
export interface Ticket_GetTicketRelationActionsRequest {
|
|
49467
|
+
/**
|
|
49468
|
+
* The id of the ticket being evaluated.
|
|
49469
|
+
*/
|
|
49470
|
+
ticketId: number;
|
|
49471
|
+
/**
|
|
49472
|
+
* The id of the parent ticket, if any. Pass 0 if there is no parent.
|
|
49473
|
+
*/
|
|
49474
|
+
parentTicketId: number;
|
|
49475
|
+
/**
|
|
49476
|
+
* The id of the ticket type.
|
|
49477
|
+
*/
|
|
49478
|
+
ticketTypeId: number;
|
|
49479
|
+
}
|
|
49480
|
+
|
|
49481
|
+
// response object: TicketRelationAction
|
|
49482
|
+
|
|
49483
|
+
|
|
49484
|
+
/**
|
|
49485
|
+
* A ticket related to another ticket, including counts of how many further relations it has.
|
|
49486
|
+
*/
|
|
49487
|
+
export interface TicketRelationItem {
|
|
49488
|
+
|
|
49489
|
+
|
|
49490
|
+
/**
|
|
49491
|
+
* Primary key
|
|
49492
|
+
*/
|
|
49493
|
+
ticketRelationId?: number;
|
|
49494
|
+
|
|
49495
|
+
/**
|
|
49496
|
+
* How this item relates to the source ticket: parent, child, or related.
|
|
49497
|
+
*/
|
|
49498
|
+
relationType?: enums.TicketRelationType;
|
|
49499
|
+
|
|
49500
|
+
/**
|
|
49501
|
+
* Free-text comment stored on the relation row.
|
|
49502
|
+
*/
|
|
49503
|
+
relationComment?: string;
|
|
49504
|
+
|
|
49505
|
+
/**
|
|
49506
|
+
* Whether the related ticket has a parent relation.
|
|
49507
|
+
*/
|
|
49508
|
+
hasParent?: boolean;
|
|
49509
|
+
|
|
49510
|
+
/**
|
|
49511
|
+
* Number of child relations the related ticket has.
|
|
49512
|
+
*/
|
|
49513
|
+
childCount?: number;
|
|
49514
|
+
|
|
49515
|
+
/**
|
|
49516
|
+
* Number of plain related relations the related ticket has.
|
|
49517
|
+
*/
|
|
49518
|
+
relatedCount?: number;
|
|
49519
|
+
|
|
49520
|
+
/**
|
|
49521
|
+
* Registered when
|
|
49522
|
+
*/
|
|
49523
|
+
relationCreatedAt?: Date;
|
|
49524
|
+
|
|
49525
|
+
/**
|
|
49526
|
+
* The primary key (auto-incremented)
|
|
49527
|
+
*/
|
|
49528
|
+
ticketId?: number;
|
|
49529
|
+
|
|
49530
|
+
/**
|
|
49531
|
+
* The title of the ticket.
|
|
49532
|
+
*/
|
|
49533
|
+
title?: string;
|
|
49534
|
+
|
|
49535
|
+
/**
|
|
49536
|
+
* Icon representing the ticket's state.
|
|
49537
|
+
*/
|
|
49538
|
+
iconHint?: string;
|
|
49539
|
+
|
|
49540
|
+
/**
|
|
49541
|
+
* The reference to the customer. NULL or -1 if ticket is not connected to customer.
|
|
49542
|
+
*/
|
|
49543
|
+
custId?: number;
|
|
49544
|
+
|
|
49545
|
+
/**
|
|
49546
|
+
* Get the full name for the primary person (customer)
|
|
49547
|
+
*/
|
|
49548
|
+
personFullname?: string;
|
|
49549
|
+
|
|
49550
|
+
/**
|
|
49551
|
+
* The company of the person in the cust_id field, if that person belongs to a company
|
|
49552
|
+
*/
|
|
49553
|
+
contactId?: number;
|
|
49554
|
+
|
|
49555
|
+
/**
|
|
49556
|
+
* The name of the connected contact
|
|
49557
|
+
*/
|
|
49558
|
+
contactName?: string;
|
|
49559
|
+
|
|
49560
|
+
/**
|
|
49561
|
+
* The status of the ticket. I.e. active/closed/postponed/deleted
|
|
49562
|
+
*/
|
|
49563
|
+
baseStatus?: enums.TicketBaseStatus;
|
|
49564
|
+
|
|
49565
|
+
/**
|
|
49566
|
+
* User defined ticket status
|
|
49567
|
+
*/
|
|
49568
|
+
ticketStatus?: number;
|
|
49569
|
+
|
|
49570
|
+
/**
|
|
49571
|
+
* Get the display name of the ticket status.
|
|
49572
|
+
*/
|
|
49573
|
+
ticketStatusDisplayValue?: string;
|
|
49574
|
+
|
|
49575
|
+
/**
|
|
49576
|
+
* When the ticket was created.
|
|
49577
|
+
*/
|
|
49578
|
+
ticketCreatedAt?: Date;
|
|
49579
|
+
|
|
49580
|
+
}
|
|
49581
|
+
|
|
49582
|
+
|
|
49583
|
+
|
|
49584
|
+
|
|
49585
|
+
|
|
49586
|
+
|
|
49587
|
+
|
|
49588
|
+
/**
|
|
49589
|
+
* Result of a ticket relation operation, indicating success or the reason for failure.
|
|
49590
|
+
*/
|
|
49591
|
+
export interface TicketRelationResult {
|
|
49592
|
+
|
|
49593
|
+
|
|
49594
|
+
/**
|
|
49595
|
+
* The id of the source ticket this result applies to.
|
|
49596
|
+
*/
|
|
49597
|
+
sourceTicketId?: number;
|
|
49598
|
+
|
|
49599
|
+
/**
|
|
49600
|
+
* True if the operation succeeded; false if it failed.
|
|
49601
|
+
*/
|
|
49602
|
+
isValid?: boolean;
|
|
49603
|
+
|
|
49604
|
+
/**
|
|
49605
|
+
* The reason the operation failed, if IsValid is false.
|
|
49606
|
+
*/
|
|
49607
|
+
relationError?: enums.TicketRelationError;
|
|
49608
|
+
|
|
49609
|
+
/**
|
|
49610
|
+
* Error message describing why the operation failed, if IsValid is false.
|
|
49611
|
+
*/
|
|
49612
|
+
errorMessage?: string;
|
|
49613
|
+
|
|
49614
|
+
}
|
|
49615
|
+
|
|
49616
|
+
|
|
49617
|
+
|
|
49618
|
+
|
|
49619
|
+
|
|
49620
|
+
|
|
48895
49621
|
|
|
48896
49622
|
/**
|
|
48897
49623
|
* The ticket summary with heading, created date.
|
|
@@ -48959,6 +49685,9 @@ export interface Ticket_GetTicketSummariesRequest {
|
|
|
48959
49685
|
|
|
48960
49686
|
|
|
48961
49687
|
|
|
49688
|
+
|
|
49689
|
+
|
|
49690
|
+
|
|
48962
49691
|
/**
|
|
48963
49692
|
* The extra table entity contains meta data for an extra table (not implemented yet)
|
|
48964
49693
|
*/
|
|
@@ -52462,6 +53191,15 @@ export interface Workflow_CopyEmailFlowRequest {
|
|
|
52462
53191
|
|
|
52463
53192
|
// response object: number
|
|
52464
53193
|
|
|
53194
|
+
/**
|
|
53195
|
+
* Get the current Workflow fencing status for the tenant
|
|
53196
|
+
* Returns FencingInfo
|
|
53197
|
+
*/
|
|
53198
|
+
export interface Workflow_GetWorkflowFencingInfoRequest {
|
|
53199
|
+
}
|
|
53200
|
+
|
|
53201
|
+
// response object: FencingInfo
|
|
53202
|
+
|
|
52465
53203
|
|
|
52466
53204
|
/**
|
|
52467
53205
|
* FieldValue carrier
|