@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/dist/esm/Carriers.d.ts
CHANGED
|
@@ -8388,6 +8388,12 @@ export interface Project_SaveProjectEntityWithoutMembersRequest {
|
|
|
8388
8388
|
*/
|
|
8389
8389
|
projectEntity: ProjectEntity;
|
|
8390
8390
|
}
|
|
8391
|
+
/**
|
|
8392
|
+
* Get the current project fencing status for the tenant
|
|
8393
|
+
* Returns FencingInfo
|
|
8394
|
+
*/
|
|
8395
|
+
export interface Project_GetProjectFencingInfoRequest {
|
|
8396
|
+
}
|
|
8391
8397
|
/**
|
|
8392
8398
|
* A project that is also an event. Used by Audience
|
|
8393
8399
|
*/
|
|
@@ -18508,6 +18514,49 @@ export interface List_SetTicketRelationDefinitionSortOrderRequest {
|
|
|
18508
18514
|
*/
|
|
18509
18515
|
sortOrder: number;
|
|
18510
18516
|
}
|
|
18517
|
+
/**
|
|
18518
|
+
* Validate a ticket relation definition against combinations of source and destination ticket types. Returns one result per source/destination pair.
|
|
18519
|
+
* Returns TicketRelationDefinitionResult[]
|
|
18520
|
+
*/
|
|
18521
|
+
export interface List_ValidateTicketRelationDefinitionRequest {
|
|
18522
|
+
/**
|
|
18523
|
+
* The id of the relation definition being validated. Pass 0 when creating a new definition.
|
|
18524
|
+
*/
|
|
18525
|
+
ticketRelationDefinitionId: number;
|
|
18526
|
+
/**
|
|
18527
|
+
* The ticket type ids to use as source in the validation.
|
|
18528
|
+
*/
|
|
18529
|
+
sourceTicketTypeIds: number[];
|
|
18530
|
+
/**
|
|
18531
|
+
* The ticket type ids to use as destination in the validation.
|
|
18532
|
+
*/
|
|
18533
|
+
destinationTicketTypeIds: number[];
|
|
18534
|
+
/**
|
|
18535
|
+
* The relation type to validate.
|
|
18536
|
+
*/
|
|
18537
|
+
relationType: enums.TicketRelationType;
|
|
18538
|
+
}
|
|
18539
|
+
/**
|
|
18540
|
+
* Validation result for a single source/destination ticket type combination in a relation definition.
|
|
18541
|
+
*/
|
|
18542
|
+
export interface TicketRelationDefinitionResult {
|
|
18543
|
+
/**
|
|
18544
|
+
* The source ticket type id this result applies to.
|
|
18545
|
+
*/
|
|
18546
|
+
sourceTicketTypeId?: number;
|
|
18547
|
+
/**
|
|
18548
|
+
* The destination ticket type id this result applies to.
|
|
18549
|
+
*/
|
|
18550
|
+
destinationTicketTypeId?: number;
|
|
18551
|
+
/**
|
|
18552
|
+
* True if no conflicting relation definition exists for this combination.
|
|
18553
|
+
*/
|
|
18554
|
+
isValid?: boolean;
|
|
18555
|
+
/**
|
|
18556
|
+
* Name of the conflicting relation definition if IsValid is false.
|
|
18557
|
+
*/
|
|
18558
|
+
existingRelationDefinitionName?: string;
|
|
18559
|
+
}
|
|
18511
18560
|
/**
|
|
18512
18561
|
* Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
|
|
18513
18562
|
*/
|
|
@@ -20136,6 +20185,74 @@ export interface DiaryViewEntity extends Carrier {
|
|
|
20136
20185
|
*/
|
|
20137
20186
|
tzLocationId?: number;
|
|
20138
20187
|
}
|
|
20188
|
+
/**
|
|
20189
|
+
* Per-associate landing page configuration for an entity (type of landing page), including pinned selections and pinned entity records.
|
|
20190
|
+
*/
|
|
20191
|
+
export interface LandingPageEntity extends Carrier {
|
|
20192
|
+
/**
|
|
20193
|
+
* Primary key
|
|
20194
|
+
*/
|
|
20195
|
+
landingPageId?: number;
|
|
20196
|
+
/**
|
|
20197
|
+
* The associate this landing page belongs to
|
|
20198
|
+
*/
|
|
20199
|
+
associateId?: number;
|
|
20200
|
+
/**
|
|
20201
|
+
* Entity table name (contact, person, sale, ...) identifying the type of landing page.
|
|
20202
|
+
*/
|
|
20203
|
+
entityTableName?: string;
|
|
20204
|
+
/**
|
|
20205
|
+
* The selection to show on the landing page
|
|
20206
|
+
*/
|
|
20207
|
+
selectionId?: number;
|
|
20208
|
+
/**
|
|
20209
|
+
* Selections pinned on this landing page. Item.Id = selectionId, Item.Name = selection name.
|
|
20210
|
+
*/
|
|
20211
|
+
pinnedSelections?: MDOListItem[];
|
|
20212
|
+
/**
|
|
20213
|
+
* Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
|
|
20214
|
+
*/
|
|
20215
|
+
pinnedEntities?: MDOListItem[];
|
|
20216
|
+
}
|
|
20217
|
+
/**
|
|
20218
|
+
* Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
|
|
20219
|
+
* Returns LandingPageEntity
|
|
20220
|
+
*/
|
|
20221
|
+
export interface Configuration_GetLandingPageRequest {
|
|
20222
|
+
/**
|
|
20223
|
+
* Id of the associate.
|
|
20224
|
+
*/
|
|
20225
|
+
associateId: number;
|
|
20226
|
+
/**
|
|
20227
|
+
* Entity table name (contact, person, sale, ...), transformed to and from the numeric table number by the service layer.
|
|
20228
|
+
*/
|
|
20229
|
+
tableName: string;
|
|
20230
|
+
}
|
|
20231
|
+
/**
|
|
20232
|
+
* 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.
|
|
20233
|
+
*/
|
|
20234
|
+
export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
20235
|
+
/**
|
|
20236
|
+
* True to pin the item, false to unpin it.
|
|
20237
|
+
*/
|
|
20238
|
+
pin: boolean;
|
|
20239
|
+
/**
|
|
20240
|
+
* Id of the associate that owns the landing page.
|
|
20241
|
+
*/
|
|
20242
|
+
associateId: number;
|
|
20243
|
+
/**
|
|
20244
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
20245
|
+
*/
|
|
20246
|
+
entityTableName: string;
|
|
20247
|
+
/**
|
|
20248
|
+
* Table name of the record being pinned (selection, contact, person, sale, ...).
|
|
20249
|
+
*/
|
|
20250
|
+
pinTableName: string;
|
|
20251
|
+
/**
|
|
20252
|
+
* Id of the record to pin or unpin.
|
|
20253
|
+
*/
|
|
20254
|
+
recordId: number;
|
|
20255
|
+
}
|
|
20139
20256
|
/**
|
|
20140
20257
|
* Entity for system events
|
|
20141
20258
|
*/
|
|
@@ -22502,6 +22619,10 @@ export interface EMailAccount extends Carrier {
|
|
|
22502
22619
|
* When we last fetched email
|
|
22503
22620
|
*/
|
|
22504
22621
|
lastFetch?: Date;
|
|
22622
|
+
/**
|
|
22623
|
+
* Use the GraphApi for this account
|
|
22624
|
+
*/
|
|
22625
|
+
useGraphApi?: number;
|
|
22505
22626
|
}
|
|
22506
22627
|
/**
|
|
22507
22628
|
* Returns the email account corresponding to this email address (for the current associate).
|
|
@@ -22722,6 +22843,10 @@ export interface EMailConnectionInfo extends Carrier {
|
|
|
22722
22843
|
* Use a secure connection with the server
|
|
22723
22844
|
*/
|
|
22724
22845
|
useSSL?: boolean;
|
|
22846
|
+
/**
|
|
22847
|
+
* Use Graph API
|
|
22848
|
+
*/
|
|
22849
|
+
useGraphApi?: boolean;
|
|
22725
22850
|
}
|
|
22726
22851
|
/**
|
|
22727
22852
|
*
|
|
@@ -22755,6 +22880,10 @@ export interface EMailConnectionInfoExtended extends Carrier {
|
|
|
22755
22880
|
* Optional folder to set as current after logging in
|
|
22756
22881
|
*/
|
|
22757
22882
|
folder?: string;
|
|
22883
|
+
/**
|
|
22884
|
+
* Use Graph API
|
|
22885
|
+
*/
|
|
22886
|
+
useGraphApi?: boolean;
|
|
22758
22887
|
}
|
|
22759
22888
|
/**
|
|
22760
22889
|
*
|
|
@@ -22833,6 +22962,10 @@ export interface EMailEntity extends Carrier {
|
|
|
22833
22962
|
* Unique id for the e-mail on the server
|
|
22834
22963
|
*/
|
|
22835
22964
|
serverId?: number;
|
|
22965
|
+
/**
|
|
22966
|
+
* Server identifier of this email item (GraphApi uses string Id's)
|
|
22967
|
+
*/
|
|
22968
|
+
serverIdentifier?: string;
|
|
22836
22969
|
/**
|
|
22837
22970
|
*
|
|
22838
22971
|
*/
|
|
@@ -22904,6 +23037,32 @@ export interface EMail_GetEMailFromIdRequest {
|
|
|
22904
23037
|
*/
|
|
22905
23038
|
includeAttachments: boolean;
|
|
22906
23039
|
}
|
|
23040
|
+
/**
|
|
23041
|
+
* Get en e-mail based on its unique id string
|
|
23042
|
+
* Returns EMailEntity
|
|
23043
|
+
*/
|
|
23044
|
+
export interface EMail_GetEMailFromServerIdentifierRequest {
|
|
23045
|
+
/**
|
|
23046
|
+
* All information needed to connect to the mailserver
|
|
23047
|
+
*/
|
|
23048
|
+
connectionInfo: EMailConnectionInfo;
|
|
23049
|
+
/**
|
|
23050
|
+
* Unique ID for the e-mail to retrieve
|
|
23051
|
+
*/
|
|
23052
|
+
messageServerId: string;
|
|
23053
|
+
/**
|
|
23054
|
+
* If true try to look up e-mail addresses in from/to/cc/bcc fields against superoffice contacts
|
|
23055
|
+
*/
|
|
23056
|
+
lookupAddresses: boolean;
|
|
23057
|
+
/**
|
|
23058
|
+
* Any flags to apply to the fetched item. Ex: Seen/Answered
|
|
23059
|
+
*/
|
|
23060
|
+
flags: enums.EMailFlags;
|
|
23061
|
+
/**
|
|
23062
|
+
* Should we retrieve attachments embedded in the e-mail from the server
|
|
23063
|
+
*/
|
|
23064
|
+
includeAttachments: boolean;
|
|
23065
|
+
}
|
|
22907
23066
|
/**
|
|
22908
23067
|
* Send the provided e-mails
|
|
22909
23068
|
* Returns EMailEntity[]
|
|
@@ -22988,6 +23147,24 @@ export interface EMail_GetAttachmentRequest {
|
|
|
22988
23147
|
*/
|
|
22989
23148
|
attachmentId: string;
|
|
22990
23149
|
}
|
|
23150
|
+
/**
|
|
23151
|
+
* Retrieve an attachment from an e-mail
|
|
23152
|
+
* Returns EMailAttachment
|
|
23153
|
+
*/
|
|
23154
|
+
export interface EMail_GetAttachmentFromServerIdentifierRequest {
|
|
23155
|
+
/**
|
|
23156
|
+
* All information needed to connect to the mailserver
|
|
23157
|
+
*/
|
|
23158
|
+
connectionInfo: EMailConnectionInfo;
|
|
23159
|
+
/**
|
|
23160
|
+
* Unique ID for the e-mail to retrieve the attachment from
|
|
23161
|
+
*/
|
|
23162
|
+
messageServerId: string;
|
|
23163
|
+
/**
|
|
23164
|
+
* Id of the attachment in the e-mail
|
|
23165
|
+
*/
|
|
23166
|
+
attachmentId: string;
|
|
23167
|
+
}
|
|
22991
23168
|
/**
|
|
22992
23169
|
* Mark one or more e-mails as (un)read
|
|
22993
23170
|
*/
|
|
@@ -23005,6 +23182,23 @@ export interface EMail_MarkAsReadRequest {
|
|
|
23005
23182
|
*/
|
|
23006
23183
|
read: boolean;
|
|
23007
23184
|
}
|
|
23185
|
+
/**
|
|
23186
|
+
* Mark one or more e-mails as (un)read
|
|
23187
|
+
*/
|
|
23188
|
+
export interface EMail_MarkAsReadFromServerIdentifiersRequest {
|
|
23189
|
+
/**
|
|
23190
|
+
* All information needed to connect to the mailserver
|
|
23191
|
+
*/
|
|
23192
|
+
connectionInfo: EMailConnectionInfo;
|
|
23193
|
+
/**
|
|
23194
|
+
* The e-mails to handle
|
|
23195
|
+
*/
|
|
23196
|
+
messageServerIds: string[];
|
|
23197
|
+
/**
|
|
23198
|
+
* If true mails are marked as read. If false mails are marked as unread.
|
|
23199
|
+
*/
|
|
23200
|
+
read: boolean;
|
|
23201
|
+
}
|
|
23008
23202
|
/**
|
|
23009
23203
|
* Retrieve total/unread mail items in current folder
|
|
23010
23204
|
* Returns number
|
|
@@ -23036,6 +23230,23 @@ export interface EMail_DeleteRequest {
|
|
|
23036
23230
|
*/
|
|
23037
23231
|
moveToFolder: string;
|
|
23038
23232
|
}
|
|
23233
|
+
/**
|
|
23234
|
+
* Delete specified mail items
|
|
23235
|
+
*/
|
|
23236
|
+
export interface EMail_DeleteFromServerIdentifierRequest {
|
|
23237
|
+
/**
|
|
23238
|
+
* All information needed to connect to the mailserver
|
|
23239
|
+
*/
|
|
23240
|
+
connectionInfo: EMailConnectionInfo;
|
|
23241
|
+
/**
|
|
23242
|
+
* The e-mails to handle
|
|
23243
|
+
*/
|
|
23244
|
+
messageServerIds: string[];
|
|
23245
|
+
/**
|
|
23246
|
+
* If set, move deleted items to this folder
|
|
23247
|
+
*/
|
|
23248
|
+
moveToFolder: string;
|
|
23249
|
+
}
|
|
23039
23250
|
/**
|
|
23040
23251
|
* Moved specified items from current folder to targetFolder
|
|
23041
23252
|
*/
|
|
@@ -23053,6 +23264,23 @@ export interface EMail_MoveToFolderRequest {
|
|
|
23053
23264
|
*/
|
|
23054
23265
|
targetFolder: string;
|
|
23055
23266
|
}
|
|
23267
|
+
/**
|
|
23268
|
+
* Moved specified items from current folder to targetFolder
|
|
23269
|
+
*/
|
|
23270
|
+
export interface EMail_MoveToFolderFromServerIdentifierRequest {
|
|
23271
|
+
/**
|
|
23272
|
+
* All information needed to connect to the mailserver
|
|
23273
|
+
*/
|
|
23274
|
+
connectionInfo: EMailConnectionInfo;
|
|
23275
|
+
/**
|
|
23276
|
+
* The e-mails to handle
|
|
23277
|
+
*/
|
|
23278
|
+
messageServerIds: string[];
|
|
23279
|
+
/**
|
|
23280
|
+
* Name of folder to move items to
|
|
23281
|
+
*/
|
|
23282
|
+
targetFolder: string;
|
|
23283
|
+
}
|
|
23056
23284
|
/**
|
|
23057
23285
|
* Delete all items in folder specified in the connection object
|
|
23058
23286
|
*/
|
|
@@ -23084,6 +23312,24 @@ export interface EMail_GetEMailAsStreamRequest {
|
|
|
23084
23312
|
*/
|
|
23085
23313
|
stripAttachments: boolean;
|
|
23086
23314
|
}
|
|
23315
|
+
/**
|
|
23316
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
23317
|
+
* Returns Blob
|
|
23318
|
+
*/
|
|
23319
|
+
export interface EMail_GetEMailAsStreamFromServerIdentifierRequest {
|
|
23320
|
+
/**
|
|
23321
|
+
* All information needed to connect to the mailserver
|
|
23322
|
+
*/
|
|
23323
|
+
connectionInfo: EMailConnectionInfo;
|
|
23324
|
+
/**
|
|
23325
|
+
* Unique ID for the e-mail to retrieve
|
|
23326
|
+
*/
|
|
23327
|
+
messageServerId: string;
|
|
23328
|
+
/**
|
|
23329
|
+
* If true, do not include attachments in stream
|
|
23330
|
+
*/
|
|
23331
|
+
stripAttachments: boolean;
|
|
23332
|
+
}
|
|
23087
23333
|
/**
|
|
23088
23334
|
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
23089
23335
|
* Returns EMailAddress[]
|
|
@@ -23200,6 +23446,20 @@ export interface EMail_GetEMailEnvelopesRequest {
|
|
|
23200
23446
|
*/
|
|
23201
23447
|
messageServerIds: number[];
|
|
23202
23448
|
}
|
|
23449
|
+
/**
|
|
23450
|
+
* Retrieve a set of e-mail envelopes
|
|
23451
|
+
* Returns EMailEnvelope[]
|
|
23452
|
+
*/
|
|
23453
|
+
export interface EMail_GetEMailEnvelopesFromServerIdsRequest {
|
|
23454
|
+
/**
|
|
23455
|
+
* All information needed to connect to the mailserver
|
|
23456
|
+
*/
|
|
23457
|
+
connectionInfo: EMailConnectionInfo;
|
|
23458
|
+
/**
|
|
23459
|
+
* Unique identitifiers for the e-mails to retrieve envelopes for
|
|
23460
|
+
*/
|
|
23461
|
+
messageServerIds: string[];
|
|
23462
|
+
}
|
|
23203
23463
|
/**
|
|
23204
23464
|
* Set subscription on or off on a set of folders
|
|
23205
23465
|
*/
|
|
@@ -23879,6 +24139,10 @@ export interface EMailEnvelope extends Carrier {
|
|
|
23879
24139
|
* Unique id for the e-mail on the server
|
|
23880
24140
|
*/
|
|
23881
24141
|
serverId?: number;
|
|
24142
|
+
/**
|
|
24143
|
+
* Unique string id for the e-mail on the server (Graph API
|
|
24144
|
+
*/
|
|
24145
|
+
serverIdentifier?: string;
|
|
23882
24146
|
/**
|
|
23883
24147
|
* Unique id of e-mails
|
|
23884
24148
|
*/
|
|
@@ -24984,9 +25248,45 @@ export interface Webhook {
|
|
|
24984
25248
|
*/
|
|
24985
25249
|
updatedAssociate?: Associate;
|
|
24986
25250
|
/**
|
|
24987
|
-
*
|
|
25251
|
+
* Obsolete, use ErrorEmails instead
|
|
24988
25252
|
*/
|
|
24989
25253
|
errorsEmail?: string;
|
|
25254
|
+
/**
|
|
25255
|
+
* Email addresses to notify when this webhook is disabled.
|
|
25256
|
+
*/
|
|
25257
|
+
errorEmails?: string[];
|
|
25258
|
+
/**
|
|
25259
|
+
* Associates to notify when this webhook is disabled.
|
|
25260
|
+
*/
|
|
25261
|
+
errorAssociates?: MDOListItem[];
|
|
25262
|
+
/**
|
|
25263
|
+
* Human-readable description of what this webhook does.
|
|
25264
|
+
*/
|
|
25265
|
+
description?: string;
|
|
25266
|
+
/**
|
|
25267
|
+
* How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
|
|
25268
|
+
*/
|
|
25269
|
+
notifyVia?: enums.WebhookNotifyVia;
|
|
25270
|
+
/**
|
|
25271
|
+
* When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
|
|
25272
|
+
*/
|
|
25273
|
+
notifyWhen?: enums.WebhookNotifyWhen;
|
|
25274
|
+
/**
|
|
25275
|
+
* Number of times webhook has been invoked since registered. For statistical purposes.
|
|
25276
|
+
*/
|
|
25277
|
+
totalCalls?: number;
|
|
25278
|
+
/**
|
|
25279
|
+
* Number of times webhook has returned error since registered. For statistical purposes.
|
|
25280
|
+
*/
|
|
25281
|
+
totalErrors?: number;
|
|
25282
|
+
/**
|
|
25283
|
+
* 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.
|
|
25284
|
+
*/
|
|
25285
|
+
consecutiveErrors?: number;
|
|
25286
|
+
/**
|
|
25287
|
+
* Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
|
|
25288
|
+
*/
|
|
25289
|
+
lastError?: string;
|
|
24990
25290
|
}
|
|
24991
25291
|
/**
|
|
24992
25292
|
* Returns all webhooks, according to filter criteria
|
|
@@ -28201,6 +28501,35 @@ export interface ExtendedModuleLicense {
|
|
|
28201
28501
|
*/
|
|
28202
28502
|
numberOfLicensesTotal?: number;
|
|
28203
28503
|
}
|
|
28504
|
+
/**
|
|
28505
|
+
* Information about entity fencing status, including current count and maximum active entities
|
|
28506
|
+
*/
|
|
28507
|
+
export interface FencingInfo extends Carrier {
|
|
28508
|
+
/**
|
|
28509
|
+
* Number of active entities
|
|
28510
|
+
*/
|
|
28511
|
+
activeCount?: number;
|
|
28512
|
+
/**
|
|
28513
|
+
* Maximum number of active entities allowed
|
|
28514
|
+
*/
|
|
28515
|
+
maximum?: number;
|
|
28516
|
+
/**
|
|
28517
|
+
* True if the active entity count is approaching the maximum
|
|
28518
|
+
*/
|
|
28519
|
+
isNearingMaximum?: boolean;
|
|
28520
|
+
/**
|
|
28521
|
+
* True if the active entity count has reached or exceeded the maximum
|
|
28522
|
+
*/
|
|
28523
|
+
hasReachedMaximum?: boolean;
|
|
28524
|
+
/**
|
|
28525
|
+
* Localized warning message to display when nearing or at the maximum
|
|
28526
|
+
*/
|
|
28527
|
+
warningMessage?: string;
|
|
28528
|
+
/**
|
|
28529
|
+
* Localized warning message to display as a tooltip when nearing or at the maximum
|
|
28530
|
+
*/
|
|
28531
|
+
warningTooltip?: string;
|
|
28532
|
+
}
|
|
28204
28533
|
/**
|
|
28205
28534
|
* License information, hashed and signed with public keys to prevent tampering. Counts License usage and assignments.
|
|
28206
28535
|
*/
|
|
@@ -28446,6 +28775,12 @@ export interface License_SaveCentralLicenseRequest {
|
|
|
28446
28775
|
*/
|
|
28447
28776
|
license: LicenseOwner[];
|
|
28448
28777
|
}
|
|
28778
|
+
/**
|
|
28779
|
+
* Returns fencinginfo if license fence is near or reached
|
|
28780
|
+
* Returns FencingInfo
|
|
28781
|
+
*/
|
|
28782
|
+
export interface License_GetFencingInfoRequest {
|
|
28783
|
+
}
|
|
28449
28784
|
/**
|
|
28450
28785
|
* Represents all licenses for this owner at this site.
|
|
28451
28786
|
*/
|
|
@@ -32396,6 +32731,12 @@ export interface Dash_GetPossibleDashQuickFiltersRequest {
|
|
|
32396
32731
|
*/
|
|
32397
32732
|
dashboardId: number;
|
|
32398
32733
|
}
|
|
32734
|
+
/**
|
|
32735
|
+
* Get the current dashboard fencing status for the tenant
|
|
32736
|
+
* Returns FencingInfo
|
|
32737
|
+
*/
|
|
32738
|
+
export interface Dash_GetDashboardFencingInfoRequest {
|
|
32739
|
+
}
|
|
32399
32740
|
/**
|
|
32400
32741
|
* Collection of dashboards for an associate
|
|
32401
32742
|
*/
|
|
@@ -36434,6 +36775,27 @@ export interface Ticket_GetTicketMessageWithOptionsRequest {
|
|
|
36434
36775
|
*/
|
|
36435
36776
|
includeNonInlineAttachmentsInfo: boolean;
|
|
36436
36777
|
}
|
|
36778
|
+
/**
|
|
36779
|
+
* 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.
|
|
36780
|
+
*/
|
|
36781
|
+
export interface TicketRelationAction {
|
|
36782
|
+
/**
|
|
36783
|
+
* ID of the parent ticket to offer closing when all its children are closed. 0 if not applicable.
|
|
36784
|
+
*/
|
|
36785
|
+
ticketIdToClose?: number;
|
|
36786
|
+
/**
|
|
36787
|
+
* True if a parent relation is mandatory for this ticket type.
|
|
36788
|
+
*/
|
|
36789
|
+
isParentRequired?: boolean;
|
|
36790
|
+
/**
|
|
36791
|
+
* True if the ticket may be closed. False if unclosed children are blocking it.
|
|
36792
|
+
*/
|
|
36793
|
+
canCloseCurrentTicket?: boolean;
|
|
36794
|
+
/**
|
|
36795
|
+
* Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
|
|
36796
|
+
*/
|
|
36797
|
+
children?: number[];
|
|
36798
|
+
}
|
|
36437
36799
|
/**
|
|
36438
36800
|
* Relationship between two tickets, as described by the TicketRelationDefinition.
|
|
36439
36801
|
*/
|
|
@@ -36451,7 +36813,7 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
36451
36813
|
*/
|
|
36452
36814
|
destinationTicketId?: number;
|
|
36453
36815
|
/**
|
|
36454
|
-
*
|
|
36816
|
+
* The type of relation between the two tickets.
|
|
36455
36817
|
*/
|
|
36456
36818
|
relationType?: enums.TicketRelationType;
|
|
36457
36819
|
/**
|
|
@@ -36459,6 +36821,199 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
36459
36821
|
*/
|
|
36460
36822
|
comment?: string;
|
|
36461
36823
|
}
|
|
36824
|
+
/**
|
|
36825
|
+
* Get all relations for a ticket.
|
|
36826
|
+
* Returns TicketRelationItem[]
|
|
36827
|
+
*/
|
|
36828
|
+
export interface Ticket_GetTicketRelationsRequest {
|
|
36829
|
+
/**
|
|
36830
|
+
* The id of the ticket to get relations for.
|
|
36831
|
+
*/
|
|
36832
|
+
ticketId: number;
|
|
36833
|
+
}
|
|
36834
|
+
/**
|
|
36835
|
+
* Get the parent ticket id. Returns 0 if the ticket has no parent.
|
|
36836
|
+
* Returns number
|
|
36837
|
+
*/
|
|
36838
|
+
export interface Ticket_GetTicketParentIdRequest {
|
|
36839
|
+
/**
|
|
36840
|
+
* The id of the ticket to get the parent for.
|
|
36841
|
+
*/
|
|
36842
|
+
ticketId: number;
|
|
36843
|
+
}
|
|
36844
|
+
/**
|
|
36845
|
+
* Set the parent of a ticket. If the ticket already has a parent, it will be overwritten.
|
|
36846
|
+
*/
|
|
36847
|
+
export interface Ticket_SetTicketParentRequest {
|
|
36848
|
+
/**
|
|
36849
|
+
* The id of the ticket to set the parent on.
|
|
36850
|
+
*/
|
|
36851
|
+
ticketId: number;
|
|
36852
|
+
/**
|
|
36853
|
+
* The id of the ticket to set as parent.
|
|
36854
|
+
*/
|
|
36855
|
+
parentTicketId: number;
|
|
36856
|
+
/**
|
|
36857
|
+
* Optional comment to store on the relation.
|
|
36858
|
+
*/
|
|
36859
|
+
comment: string;
|
|
36860
|
+
}
|
|
36861
|
+
/**
|
|
36862
|
+
* Validate proposed ticket relations without saving them. Returns a result per source ticket indicating whether the relation is valid.
|
|
36863
|
+
* Returns TicketRelationResult[]
|
|
36864
|
+
*/
|
|
36865
|
+
export interface Ticket_ValidateTicketRelationsRequest {
|
|
36866
|
+
/**
|
|
36867
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
36868
|
+
*/
|
|
36869
|
+
sourceTicketIds: number[];
|
|
36870
|
+
/**
|
|
36871
|
+
* The id of the ticket that the source tickets will be related to.
|
|
36872
|
+
*/
|
|
36873
|
+
destinationTicketId: number;
|
|
36874
|
+
/**
|
|
36875
|
+
* The type of relation to create.
|
|
36876
|
+
*/
|
|
36877
|
+
relationType: enums.TicketRelationType;
|
|
36878
|
+
}
|
|
36879
|
+
/**
|
|
36880
|
+
* Create multiple ticket relations in a single call. Returns a result per source ticket indicating success or failure.
|
|
36881
|
+
* Returns TicketRelationResult[]
|
|
36882
|
+
*/
|
|
36883
|
+
export interface Ticket_CreateTicketRelationsRequest {
|
|
36884
|
+
/**
|
|
36885
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
36886
|
+
*/
|
|
36887
|
+
sourceTicketIds: number[];
|
|
36888
|
+
/**
|
|
36889
|
+
* The id of the ticket that the source tickets will be related to.
|
|
36890
|
+
*/
|
|
36891
|
+
destinationTicketId: number;
|
|
36892
|
+
/**
|
|
36893
|
+
* The type of relation to create.
|
|
36894
|
+
*/
|
|
36895
|
+
relationType: enums.TicketRelationType;
|
|
36896
|
+
/**
|
|
36897
|
+
* Optional comment to store on each relation.
|
|
36898
|
+
*/
|
|
36899
|
+
comment: string;
|
|
36900
|
+
}
|
|
36901
|
+
/**
|
|
36902
|
+
* 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.
|
|
36903
|
+
* Returns TicketRelationAction
|
|
36904
|
+
*/
|
|
36905
|
+
export interface Ticket_GetTicketRelationActionsRequest {
|
|
36906
|
+
/**
|
|
36907
|
+
* The id of the ticket being evaluated.
|
|
36908
|
+
*/
|
|
36909
|
+
ticketId: number;
|
|
36910
|
+
/**
|
|
36911
|
+
* The id of the parent ticket, if any. Pass 0 if there is no parent.
|
|
36912
|
+
*/
|
|
36913
|
+
parentTicketId: number;
|
|
36914
|
+
/**
|
|
36915
|
+
* The id of the ticket type.
|
|
36916
|
+
*/
|
|
36917
|
+
ticketTypeId: number;
|
|
36918
|
+
}
|
|
36919
|
+
/**
|
|
36920
|
+
* A ticket related to another ticket, including counts of how many further relations it has.
|
|
36921
|
+
*/
|
|
36922
|
+
export interface TicketRelationItem {
|
|
36923
|
+
/**
|
|
36924
|
+
* Primary key
|
|
36925
|
+
*/
|
|
36926
|
+
ticketRelationId?: number;
|
|
36927
|
+
/**
|
|
36928
|
+
* How this item relates to the source ticket: parent, child, or related.
|
|
36929
|
+
*/
|
|
36930
|
+
relationType?: enums.TicketRelationType;
|
|
36931
|
+
/**
|
|
36932
|
+
* Free-text comment stored on the relation row.
|
|
36933
|
+
*/
|
|
36934
|
+
relationComment?: string;
|
|
36935
|
+
/**
|
|
36936
|
+
* Whether the related ticket has a parent relation.
|
|
36937
|
+
*/
|
|
36938
|
+
hasParent?: boolean;
|
|
36939
|
+
/**
|
|
36940
|
+
* Number of child relations the related ticket has.
|
|
36941
|
+
*/
|
|
36942
|
+
childCount?: number;
|
|
36943
|
+
/**
|
|
36944
|
+
* Number of plain related relations the related ticket has.
|
|
36945
|
+
*/
|
|
36946
|
+
relatedCount?: number;
|
|
36947
|
+
/**
|
|
36948
|
+
* Registered when
|
|
36949
|
+
*/
|
|
36950
|
+
relationCreatedAt?: Date;
|
|
36951
|
+
/**
|
|
36952
|
+
* The primary key (auto-incremented)
|
|
36953
|
+
*/
|
|
36954
|
+
ticketId?: number;
|
|
36955
|
+
/**
|
|
36956
|
+
* The title of the ticket.
|
|
36957
|
+
*/
|
|
36958
|
+
title?: string;
|
|
36959
|
+
/**
|
|
36960
|
+
* Icon representing the ticket's state.
|
|
36961
|
+
*/
|
|
36962
|
+
iconHint?: string;
|
|
36963
|
+
/**
|
|
36964
|
+
* The reference to the customer. NULL or -1 if ticket is not connected to customer.
|
|
36965
|
+
*/
|
|
36966
|
+
custId?: number;
|
|
36967
|
+
/**
|
|
36968
|
+
* Get the full name for the primary person (customer)
|
|
36969
|
+
*/
|
|
36970
|
+
personFullname?: string;
|
|
36971
|
+
/**
|
|
36972
|
+
* The company of the person in the cust_id field, if that person belongs to a company
|
|
36973
|
+
*/
|
|
36974
|
+
contactId?: number;
|
|
36975
|
+
/**
|
|
36976
|
+
* The name of the connected contact
|
|
36977
|
+
*/
|
|
36978
|
+
contactName?: string;
|
|
36979
|
+
/**
|
|
36980
|
+
* The status of the ticket. I.e. active/closed/postponed/deleted
|
|
36981
|
+
*/
|
|
36982
|
+
baseStatus?: enums.TicketBaseStatus;
|
|
36983
|
+
/**
|
|
36984
|
+
* User defined ticket status
|
|
36985
|
+
*/
|
|
36986
|
+
ticketStatus?: number;
|
|
36987
|
+
/**
|
|
36988
|
+
* Get the display name of the ticket status.
|
|
36989
|
+
*/
|
|
36990
|
+
ticketStatusDisplayValue?: string;
|
|
36991
|
+
/**
|
|
36992
|
+
* When the ticket was created.
|
|
36993
|
+
*/
|
|
36994
|
+
ticketCreatedAt?: Date;
|
|
36995
|
+
}
|
|
36996
|
+
/**
|
|
36997
|
+
* Result of a ticket relation operation, indicating success or the reason for failure.
|
|
36998
|
+
*/
|
|
36999
|
+
export interface TicketRelationResult {
|
|
37000
|
+
/**
|
|
37001
|
+
* The id of the source ticket this result applies to.
|
|
37002
|
+
*/
|
|
37003
|
+
sourceTicketId?: number;
|
|
37004
|
+
/**
|
|
37005
|
+
* True if the operation succeeded; false if it failed.
|
|
37006
|
+
*/
|
|
37007
|
+
isValid?: boolean;
|
|
37008
|
+
/**
|
|
37009
|
+
* The reason the operation failed, if IsValid is false.
|
|
37010
|
+
*/
|
|
37011
|
+
relationError?: enums.TicketRelationError;
|
|
37012
|
+
/**
|
|
37013
|
+
* Error message describing why the operation failed, if IsValid is false.
|
|
37014
|
+
*/
|
|
37015
|
+
errorMessage?: string;
|
|
37016
|
+
}
|
|
36462
37017
|
/**
|
|
36463
37018
|
* The ticket summary with heading, created date.
|
|
36464
37019
|
*/
|
|
@@ -39086,6 +39641,12 @@ export interface Workflow_CopyEmailFlowRequest {
|
|
|
39086
39641
|
*/
|
|
39087
39642
|
newName: string;
|
|
39088
39643
|
}
|
|
39644
|
+
/**
|
|
39645
|
+
* Get the current Workflow fencing status for the tenant
|
|
39646
|
+
* Returns FencingInfo
|
|
39647
|
+
*/
|
|
39648
|
+
export interface Workflow_GetWorkflowFencingInfoRequest {
|
|
39649
|
+
}
|
|
39089
39650
|
/**
|
|
39090
39651
|
* FieldValue carrier
|
|
39091
39652
|
*/
|