@superoffice/webapi 11.13.921 → 12.1.1412
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 +836 -9
- 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 +33 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +484 -18
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/CustomObjectAgent.d.ts +137 -0
- package/dist/cjs/CustomObjectAgent.d.ts.map +1 -0
- package/dist/cjs/CustomObjectAgent.js +294 -0
- package/dist/cjs/CustomObjectAgent.js.map +1 -0
- package/dist/cjs/CustomerServiceAgent.d.ts +4 -3
- package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/cjs/CustomerServiceAgent.js +3 -2
- package/dist/cjs/CustomerServiceAgent.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 +76 -0
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +82 -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 +25 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +60 -0
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +10 -3
- 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/WebApi.d.ts +6 -0
- package/dist/cjs/WebApi.d.ts.map +1 -1
- package/dist/cjs/WebApi.js +10 -1
- package/dist/cjs/WebApi.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 +836 -9
- 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 +33 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +432 -0
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/CustomObjectAgent.d.ts +137 -0
- package/dist/esm/CustomObjectAgent.d.ts.map +1 -0
- package/dist/esm/CustomObjectAgent.js +289 -0
- package/dist/esm/CustomObjectAgent.js.map +1 -0
- package/dist/esm/CustomerServiceAgent.d.ts +4 -3
- package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/esm/CustomerServiceAgent.js +3 -2
- package/dist/esm/CustomerServiceAgent.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 +76 -0
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +80 -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 +25 -0
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +60 -0
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +10 -3
- 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/WebApi.d.ts +6 -0
- package/dist/esm/WebApi.d.ts.map +1 -1
- package/dist/esm/WebApi.js +9 -0
- package/dist/esm/WebApi.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 +1119 -3
- package/src/ConfigurationAgent.ts +216 -0
- package/src/Converters.ts +524 -0
- package/src/CustomObjectAgent.ts +489 -0
- package/src/CustomerServiceAgent.ts +7 -5
- package/src/DashAgent.ts +30 -0
- package/src/EMailAgent.ts +470 -30
- package/src/Enums.ts +84 -0
- package/src/LicenseAgent.ts +30 -0
- package/src/ListAgent.ts +92 -0
- package/src/ProjectAgent.ts +33 -3
- package/src/TicketAgent.ts +354 -0
- package/src/WebApi.ts +12 -0
- package/src/WorkflowAgent.ts +30 -0
package/src/Carriers.ts
CHANGED
|
@@ -11080,7 +11080,7 @@ export interface Project_SetProjectImageRequest {
|
|
|
11080
11080
|
*/
|
|
11081
11081
|
projectId: number;
|
|
11082
11082
|
/**
|
|
11083
|
-
* The
|
|
11083
|
+
* The project image.
|
|
11084
11084
|
*/
|
|
11085
11085
|
image: ArrayBuffer | string;
|
|
11086
11086
|
}
|
|
@@ -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,74 @@ 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
|
+
* Returns all non-built-in ticket relation definitions, including their source and destination ticket type associations.
|
|
24625
|
+
* Returns TicketRelationDefinitionEntity[]
|
|
24626
|
+
*/
|
|
24627
|
+
export interface List_GetAllTicketRelationDefinitionEntitiesRequest {
|
|
24628
|
+
}
|
|
24629
|
+
|
|
24630
|
+
// response object: TicketRelationDefinitionEntity[]
|
|
24631
|
+
|
|
24632
|
+
|
|
24633
|
+
/**
|
|
24634
|
+
* Validation result for a single source/destination ticket type combination in a relation definition.
|
|
24635
|
+
*/
|
|
24636
|
+
export interface TicketRelationDefinitionResult {
|
|
24637
|
+
|
|
24638
|
+
|
|
24639
|
+
/**
|
|
24640
|
+
* The source ticket type id this result applies to.
|
|
24641
|
+
*/
|
|
24642
|
+
sourceTicketTypeId?: number;
|
|
24643
|
+
|
|
24644
|
+
/**
|
|
24645
|
+
* The destination ticket type id this result applies to.
|
|
24646
|
+
*/
|
|
24647
|
+
destinationTicketTypeId?: number;
|
|
24648
|
+
|
|
24649
|
+
/**
|
|
24650
|
+
* True if no conflicting relation definition exists for this combination.
|
|
24651
|
+
*/
|
|
24652
|
+
isValid?: boolean;
|
|
24653
|
+
|
|
24654
|
+
/**
|
|
24655
|
+
* Name of the conflicting relation definition if IsValid is false.
|
|
24656
|
+
*/
|
|
24657
|
+
existingRelationDefinitionName?: string;
|
|
24658
|
+
|
|
24659
|
+
}
|
|
24660
|
+
|
|
24661
|
+
|
|
24662
|
+
|
|
24663
|
+
|
|
24664
|
+
|
|
24665
|
+
|
|
24589
24666
|
|
|
24590
24667
|
/**
|
|
24591
24668
|
* Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
|
|
@@ -25179,6 +25256,8 @@ export interface List_GetWebPanelByProgIdRequest {
|
|
|
25179
25256
|
|
|
25180
25257
|
|
|
25181
25258
|
|
|
25259
|
+
|
|
25260
|
+
|
|
25182
25261
|
|
|
25183
25262
|
|
|
25184
25263
|
|
|
@@ -26202,6 +26281,8 @@ export interface SelectableMDOListItem extends Carrier {
|
|
|
26202
26281
|
|
|
26203
26282
|
|
|
26204
26283
|
|
|
26284
|
+
|
|
26285
|
+
|
|
26205
26286
|
|
|
26206
26287
|
|
|
26207
26288
|
|
|
@@ -26837,6 +26918,95 @@ export interface DiaryViewEntity extends Carrier {
|
|
|
26837
26918
|
|
|
26838
26919
|
|
|
26839
26920
|
|
|
26921
|
+
/**
|
|
26922
|
+
* Per-associate landing page configuration for an entity (type of landing page), including pinned selections and pinned entity records.
|
|
26923
|
+
*/
|
|
26924
|
+
export interface LandingPageEntity extends Carrier {
|
|
26925
|
+
|
|
26926
|
+
|
|
26927
|
+
/**
|
|
26928
|
+
* Primary key
|
|
26929
|
+
*/
|
|
26930
|
+
landingPageId?: number;
|
|
26931
|
+
|
|
26932
|
+
/**
|
|
26933
|
+
* The associate this landing page belongs to
|
|
26934
|
+
*/
|
|
26935
|
+
associateId?: number;
|
|
26936
|
+
|
|
26937
|
+
/**
|
|
26938
|
+
* Entity table name (contact, person, sale, ...) identifying the type of landing page.
|
|
26939
|
+
*/
|
|
26940
|
+
entityTableName?: string;
|
|
26941
|
+
|
|
26942
|
+
/**
|
|
26943
|
+
* The selection to show on the landing page
|
|
26944
|
+
*/
|
|
26945
|
+
selectionId?: number;
|
|
26946
|
+
|
|
26947
|
+
/**
|
|
26948
|
+
* Selections pinned on this landing page. Item.Id = selectionId, Item.Name = selection name.
|
|
26949
|
+
*/
|
|
26950
|
+
pinnedSelections?: MDOListItem[];
|
|
26951
|
+
|
|
26952
|
+
/**
|
|
26953
|
+
* Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
|
|
26954
|
+
*/
|
|
26955
|
+
pinnedEntities?: MDOListItem[];
|
|
26956
|
+
|
|
26957
|
+
}
|
|
26958
|
+
|
|
26959
|
+
|
|
26960
|
+
|
|
26961
|
+
|
|
26962
|
+
|
|
26963
|
+
|
|
26964
|
+
/**
|
|
26965
|
+
* Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
|
|
26966
|
+
* Returns LandingPageEntity
|
|
26967
|
+
*/
|
|
26968
|
+
export interface Configuration_GetLandingPageRequest {
|
|
26969
|
+
/**
|
|
26970
|
+
* Id of the associate.
|
|
26971
|
+
*/
|
|
26972
|
+
associateId: number;
|
|
26973
|
+
/**
|
|
26974
|
+
* Entity table name (contact, person, sale, ...), transformed to and from the numeric table number by the service layer.
|
|
26975
|
+
*/
|
|
26976
|
+
tableName: string;
|
|
26977
|
+
}
|
|
26978
|
+
|
|
26979
|
+
// response object: LandingPageEntity
|
|
26980
|
+
|
|
26981
|
+
/**
|
|
26982
|
+
* 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.
|
|
26983
|
+
*/
|
|
26984
|
+
export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
26985
|
+
/**
|
|
26986
|
+
* True to pin the item, false to unpin it.
|
|
26987
|
+
*/
|
|
26988
|
+
pin: boolean;
|
|
26989
|
+
/**
|
|
26990
|
+
* Id of the associate that owns the landing page.
|
|
26991
|
+
*/
|
|
26992
|
+
associateId: number;
|
|
26993
|
+
/**
|
|
26994
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
26995
|
+
*/
|
|
26996
|
+
entityTableName: string;
|
|
26997
|
+
/**
|
|
26998
|
+
* Table name of the record being pinned (selection, contact, person, sale, ...).
|
|
26999
|
+
*/
|
|
27000
|
+
pinTableName: string;
|
|
27001
|
+
/**
|
|
27002
|
+
* Id of the record to pin or unpin.
|
|
27003
|
+
*/
|
|
27004
|
+
recordId: number;
|
|
27005
|
+
}
|
|
27006
|
+
|
|
27007
|
+
// Void response...
|
|
27008
|
+
|
|
27009
|
+
|
|
26840
27010
|
/**
|
|
26841
27011
|
* Entity for system events
|
|
26842
27012
|
*/
|
|
@@ -30072,6 +30242,11 @@ export interface EMailAccount extends Carrier {
|
|
|
30072
30242
|
*/
|
|
30073
30243
|
lastFetch?: Date;
|
|
30074
30244
|
|
|
30245
|
+
/**
|
|
30246
|
+
* Use the GraphApi for this account
|
|
30247
|
+
*/
|
|
30248
|
+
useGraphApi?: number;
|
|
30249
|
+
|
|
30075
30250
|
}
|
|
30076
30251
|
|
|
30077
30252
|
|
|
@@ -30383,6 +30558,11 @@ export interface EMailConnectionInfo extends Carrier {
|
|
|
30383
30558
|
*/
|
|
30384
30559
|
useSSL?: boolean;
|
|
30385
30560
|
|
|
30561
|
+
/**
|
|
30562
|
+
* Use Graph API
|
|
30563
|
+
*/
|
|
30564
|
+
useGraphApi?: boolean;
|
|
30565
|
+
|
|
30386
30566
|
}
|
|
30387
30567
|
|
|
30388
30568
|
|
|
@@ -30432,6 +30612,11 @@ export interface EMailConnectionInfoExtended extends Carrier {
|
|
|
30432
30612
|
*/
|
|
30433
30613
|
folder?: string;
|
|
30434
30614
|
|
|
30615
|
+
/**
|
|
30616
|
+
* Use Graph API
|
|
30617
|
+
*/
|
|
30618
|
+
useGraphApi?: boolean;
|
|
30619
|
+
|
|
30435
30620
|
}
|
|
30436
30621
|
|
|
30437
30622
|
|
|
@@ -30545,6 +30730,11 @@ export interface EMailEntity extends Carrier {
|
|
|
30545
30730
|
*/
|
|
30546
30731
|
serverId?: number;
|
|
30547
30732
|
|
|
30733
|
+
/**
|
|
30734
|
+
* Server identifier of this email item (GraphApi uses string Id's)
|
|
30735
|
+
*/
|
|
30736
|
+
serverIdentifier?: string;
|
|
30737
|
+
|
|
30548
30738
|
/**
|
|
30549
30739
|
*
|
|
30550
30740
|
*/
|
|
@@ -30636,6 +30826,35 @@ export interface EMail_GetEMailFromIdRequest {
|
|
|
30636
30826
|
|
|
30637
30827
|
// response object: EMailEntity
|
|
30638
30828
|
|
|
30829
|
+
/**
|
|
30830
|
+
* Get en e-mail based on its unique id string
|
|
30831
|
+
* Returns EMailEntity
|
|
30832
|
+
*/
|
|
30833
|
+
export interface EMail_GetEMailFromServerIdentifierRequest {
|
|
30834
|
+
/**
|
|
30835
|
+
* All information needed to connect to the mailserver
|
|
30836
|
+
*/
|
|
30837
|
+
connectionInfo: EMailConnectionInfo;
|
|
30838
|
+
/**
|
|
30839
|
+
* Unique ID for the e-mail to retrieve
|
|
30840
|
+
*/
|
|
30841
|
+
messageServerId: string;
|
|
30842
|
+
/**
|
|
30843
|
+
* If true try to look up e-mail addresses in from/to/cc/bcc fields against superoffice contacts
|
|
30844
|
+
*/
|
|
30845
|
+
lookupAddresses: boolean;
|
|
30846
|
+
/**
|
|
30847
|
+
* Any flags to apply to the fetched item. Ex: Seen/Answered
|
|
30848
|
+
*/
|
|
30849
|
+
flags: enums.EMailFlags;
|
|
30850
|
+
/**
|
|
30851
|
+
* Should we retrieve attachments embedded in the e-mail from the server
|
|
30852
|
+
*/
|
|
30853
|
+
includeAttachments: boolean;
|
|
30854
|
+
}
|
|
30855
|
+
|
|
30856
|
+
// response object: EMailEntity
|
|
30857
|
+
|
|
30639
30858
|
/**
|
|
30640
30859
|
* Send the provided e-mails
|
|
30641
30860
|
* Returns EMailEntity[]
|
|
@@ -30738,6 +30957,27 @@ export interface EMail_GetAttachmentRequest {
|
|
|
30738
30957
|
|
|
30739
30958
|
// response object: EMailAttachment
|
|
30740
30959
|
|
|
30960
|
+
/**
|
|
30961
|
+
* Retrieve an attachment from an e-mail
|
|
30962
|
+
* Returns EMailAttachment
|
|
30963
|
+
*/
|
|
30964
|
+
export interface EMail_GetAttachmentFromServerIdentifierRequest {
|
|
30965
|
+
/**
|
|
30966
|
+
* All information needed to connect to the mailserver
|
|
30967
|
+
*/
|
|
30968
|
+
connectionInfo: EMailConnectionInfo;
|
|
30969
|
+
/**
|
|
30970
|
+
* Unique ID for the e-mail to retrieve the attachment from
|
|
30971
|
+
*/
|
|
30972
|
+
messageServerId: string;
|
|
30973
|
+
/**
|
|
30974
|
+
* Id of the attachment in the e-mail
|
|
30975
|
+
*/
|
|
30976
|
+
attachmentId: string;
|
|
30977
|
+
}
|
|
30978
|
+
|
|
30979
|
+
// response object: EMailAttachment
|
|
30980
|
+
|
|
30741
30981
|
/**
|
|
30742
30982
|
* Mark one or more e-mails as (un)read
|
|
30743
30983
|
*/
|
|
@@ -30758,6 +30998,26 @@ export interface EMail_MarkAsReadRequest {
|
|
|
30758
30998
|
|
|
30759
30999
|
// Void response...
|
|
30760
31000
|
|
|
31001
|
+
/**
|
|
31002
|
+
* Mark one or more e-mails as (un)read
|
|
31003
|
+
*/
|
|
31004
|
+
export interface EMail_MarkAsReadFromServerIdentifiersRequest {
|
|
31005
|
+
/**
|
|
31006
|
+
* All information needed to connect to the mailserver
|
|
31007
|
+
*/
|
|
31008
|
+
connectionInfo: EMailConnectionInfo;
|
|
31009
|
+
/**
|
|
31010
|
+
* The e-mails to handle
|
|
31011
|
+
*/
|
|
31012
|
+
messageServerIds: string[];
|
|
31013
|
+
/**
|
|
31014
|
+
* If true mails are marked as read. If false mails are marked as unread.
|
|
31015
|
+
*/
|
|
31016
|
+
read: boolean;
|
|
31017
|
+
}
|
|
31018
|
+
|
|
31019
|
+
// Void response...
|
|
31020
|
+
|
|
30761
31021
|
/**
|
|
30762
31022
|
* Retrieve total/unread mail items in current folder
|
|
30763
31023
|
* Returns number
|
|
@@ -30795,6 +31055,26 @@ export interface EMail_DeleteRequest {
|
|
|
30795
31055
|
|
|
30796
31056
|
// Void response...
|
|
30797
31057
|
|
|
31058
|
+
/**
|
|
31059
|
+
* Delete specified mail items
|
|
31060
|
+
*/
|
|
31061
|
+
export interface EMail_DeleteFromServerIdentifierRequest {
|
|
31062
|
+
/**
|
|
31063
|
+
* All information needed to connect to the mailserver
|
|
31064
|
+
*/
|
|
31065
|
+
connectionInfo: EMailConnectionInfo;
|
|
31066
|
+
/**
|
|
31067
|
+
* The e-mails to handle
|
|
31068
|
+
*/
|
|
31069
|
+
messageServerIds: string[];
|
|
31070
|
+
/**
|
|
31071
|
+
* If set, move deleted items to this folder
|
|
31072
|
+
*/
|
|
31073
|
+
moveToFolder: string;
|
|
31074
|
+
}
|
|
31075
|
+
|
|
31076
|
+
// Void response...
|
|
31077
|
+
|
|
30798
31078
|
/**
|
|
30799
31079
|
* Moved specified items from current folder to targetFolder
|
|
30800
31080
|
*/
|
|
@@ -30815,6 +31095,26 @@ export interface EMail_MoveToFolderRequest {
|
|
|
30815
31095
|
|
|
30816
31096
|
// Void response...
|
|
30817
31097
|
|
|
31098
|
+
/**
|
|
31099
|
+
* Moved specified items from current folder to targetFolder
|
|
31100
|
+
*/
|
|
31101
|
+
export interface EMail_MoveToFolderFromServerIdentifierRequest {
|
|
31102
|
+
/**
|
|
31103
|
+
* All information needed to connect to the mailserver
|
|
31104
|
+
*/
|
|
31105
|
+
connectionInfo: EMailConnectionInfo;
|
|
31106
|
+
/**
|
|
31107
|
+
* The e-mails to handle
|
|
31108
|
+
*/
|
|
31109
|
+
messageServerIds: string[];
|
|
31110
|
+
/**
|
|
31111
|
+
* Name of folder to move items to
|
|
31112
|
+
*/
|
|
31113
|
+
targetFolder: string;
|
|
31114
|
+
}
|
|
31115
|
+
|
|
31116
|
+
// Void response...
|
|
31117
|
+
|
|
30818
31118
|
/**
|
|
30819
31119
|
* Delete all items in folder specified in the connection object
|
|
30820
31120
|
*/
|
|
@@ -30852,6 +31152,27 @@ export interface EMail_GetEMailAsStreamRequest {
|
|
|
30852
31152
|
|
|
30853
31153
|
// response object: Blob
|
|
30854
31154
|
|
|
31155
|
+
/**
|
|
31156
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
31157
|
+
* Returns Blob
|
|
31158
|
+
*/
|
|
31159
|
+
export interface EMail_GetEMailAsStreamFromServerIdentifierRequest {
|
|
31160
|
+
/**
|
|
31161
|
+
* All information needed to connect to the mailserver
|
|
31162
|
+
*/
|
|
31163
|
+
connectionInfo: EMailConnectionInfo;
|
|
31164
|
+
/**
|
|
31165
|
+
* Unique ID for the e-mail to retrieve
|
|
31166
|
+
*/
|
|
31167
|
+
messageServerId: string;
|
|
31168
|
+
/**
|
|
31169
|
+
* If true, do not include attachments in stream
|
|
31170
|
+
*/
|
|
31171
|
+
stripAttachments: boolean;
|
|
31172
|
+
}
|
|
31173
|
+
|
|
31174
|
+
// response object: Blob
|
|
31175
|
+
|
|
30855
31176
|
/**
|
|
30856
31177
|
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
30857
31178
|
* Returns EMailAddress[]
|
|
@@ -30992,6 +31313,23 @@ export interface EMail_GetEMailEnvelopesRequest {
|
|
|
30992
31313
|
|
|
30993
31314
|
// response object: EMailEnvelope[]
|
|
30994
31315
|
|
|
31316
|
+
/**
|
|
31317
|
+
* Retrieve a set of e-mail envelopes
|
|
31318
|
+
* Returns EMailEnvelope[]
|
|
31319
|
+
*/
|
|
31320
|
+
export interface EMail_GetEMailEnvelopesFromServerIdsRequest {
|
|
31321
|
+
/**
|
|
31322
|
+
* All information needed to connect to the mailserver
|
|
31323
|
+
*/
|
|
31324
|
+
connectionInfo: EMailConnectionInfo;
|
|
31325
|
+
/**
|
|
31326
|
+
* Unique identitifiers for the e-mails to retrieve envelopes for
|
|
31327
|
+
*/
|
|
31328
|
+
messageServerIds: string[];
|
|
31329
|
+
}
|
|
31330
|
+
|
|
31331
|
+
// response object: EMailEnvelope[]
|
|
31332
|
+
|
|
30995
31333
|
/**
|
|
30996
31334
|
* Set subscription on or off on a set of folders
|
|
30997
31335
|
*/
|
|
@@ -31840,6 +32178,11 @@ export interface EMailEnvelope extends Carrier {
|
|
|
31840
32178
|
*/
|
|
31841
32179
|
serverId?: number;
|
|
31842
32180
|
|
|
32181
|
+
/**
|
|
32182
|
+
* Unique string id for the e-mail on the server (Graph API
|
|
32183
|
+
*/
|
|
32184
|
+
serverIdentifier?: string;
|
|
32185
|
+
|
|
31843
32186
|
/**
|
|
31844
32187
|
* Unique id of e-mails
|
|
31845
32188
|
*/
|
|
@@ -32078,6 +32421,7 @@ export interface EMail_SyncEmailAccountsRequest {
|
|
|
32078
32421
|
|
|
32079
32422
|
|
|
32080
32423
|
|
|
32424
|
+
|
|
32081
32425
|
|
|
32082
32426
|
|
|
32083
32427
|
/**
|
|
@@ -33186,10 +33530,55 @@ export interface Webhook {
|
|
|
33186
33530
|
updatedAssociate?: Associate;
|
|
33187
33531
|
|
|
33188
33532
|
/**
|
|
33189
|
-
*
|
|
33533
|
+
* Obsolete, use ErrorEmails instead
|
|
33190
33534
|
*/
|
|
33191
33535
|
errorsEmail?: string;
|
|
33192
33536
|
|
|
33537
|
+
/**
|
|
33538
|
+
* Email addresses to notify when this webhook is disabled.
|
|
33539
|
+
*/
|
|
33540
|
+
errorEmails?: string[];
|
|
33541
|
+
|
|
33542
|
+
/**
|
|
33543
|
+
* Associates to notify when this webhook is disabled.
|
|
33544
|
+
*/
|
|
33545
|
+
errorAssociates?: MDOListItem[];
|
|
33546
|
+
|
|
33547
|
+
/**
|
|
33548
|
+
* Human-readable description of what this webhook does.
|
|
33549
|
+
*/
|
|
33550
|
+
description?: string;
|
|
33551
|
+
|
|
33552
|
+
/**
|
|
33553
|
+
* How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
|
|
33554
|
+
*/
|
|
33555
|
+
notifyVia?: enums.WebhookNotifyVia;
|
|
33556
|
+
|
|
33557
|
+
/**
|
|
33558
|
+
* When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
|
|
33559
|
+
*/
|
|
33560
|
+
notifyWhen?: enums.WebhookNotifyWhen;
|
|
33561
|
+
|
|
33562
|
+
/**
|
|
33563
|
+
* Number of times webhook has been invoked since registered. For statistical purposes.
|
|
33564
|
+
*/
|
|
33565
|
+
totalCalls?: number;
|
|
33566
|
+
|
|
33567
|
+
/**
|
|
33568
|
+
* Number of times webhook has returned error since registered. For statistical purposes.
|
|
33569
|
+
*/
|
|
33570
|
+
totalErrors?: number;
|
|
33571
|
+
|
|
33572
|
+
/**
|
|
33573
|
+
* 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.
|
|
33574
|
+
*/
|
|
33575
|
+
consecutiveErrors?: number;
|
|
33576
|
+
|
|
33577
|
+
/**
|
|
33578
|
+
* Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
|
|
33579
|
+
*/
|
|
33580
|
+
lastError?: string;
|
|
33581
|
+
|
|
33193
33582
|
}
|
|
33194
33583
|
|
|
33195
33584
|
|
|
@@ -37618,6 +38007,50 @@ export interface ExtendedModuleLicense {
|
|
|
37618
38007
|
|
|
37619
38008
|
|
|
37620
38009
|
|
|
38010
|
+
/**
|
|
38011
|
+
* Information about entity fencing status, including current count and maximum active entities
|
|
38012
|
+
*/
|
|
38013
|
+
export interface FencingInfo extends Carrier {
|
|
38014
|
+
|
|
38015
|
+
|
|
38016
|
+
/**
|
|
38017
|
+
* Number of active entities
|
|
38018
|
+
*/
|
|
38019
|
+
activeCount?: number;
|
|
38020
|
+
|
|
38021
|
+
/**
|
|
38022
|
+
* Maximum number of active entities allowed
|
|
38023
|
+
*/
|
|
38024
|
+
maximum?: number;
|
|
38025
|
+
|
|
38026
|
+
/**
|
|
38027
|
+
* True if the active entity count is approaching the maximum
|
|
38028
|
+
*/
|
|
38029
|
+
isNearingMaximum?: boolean;
|
|
38030
|
+
|
|
38031
|
+
/**
|
|
38032
|
+
* True if the active entity count has reached or exceeded the maximum
|
|
38033
|
+
*/
|
|
38034
|
+
hasReachedMaximum?: boolean;
|
|
38035
|
+
|
|
38036
|
+
/**
|
|
38037
|
+
* Localized warning message to display when nearing or at the maximum
|
|
38038
|
+
*/
|
|
38039
|
+
warningMessage?: string;
|
|
38040
|
+
|
|
38041
|
+
/**
|
|
38042
|
+
* Localized warning message to display as a tooltip when nearing or at the maximum
|
|
38043
|
+
*/
|
|
38044
|
+
warningTooltip?: string;
|
|
38045
|
+
|
|
38046
|
+
}
|
|
38047
|
+
|
|
38048
|
+
|
|
38049
|
+
|
|
38050
|
+
|
|
38051
|
+
|
|
38052
|
+
|
|
38053
|
+
|
|
37621
38054
|
/**
|
|
37622
38055
|
* License information, hashed and signed with public keys to prevent tampering. Counts License usage and assignments.
|
|
37623
38056
|
*/
|
|
@@ -37937,6 +38370,15 @@ export interface License_SaveCentralLicenseRequest {
|
|
|
37937
38370
|
|
|
37938
38371
|
// response object: LicenseOwner[]
|
|
37939
38372
|
|
|
38373
|
+
/**
|
|
38374
|
+
* Returns fencinginfo if license fence is near or reached
|
|
38375
|
+
* Returns FencingInfo
|
|
38376
|
+
*/
|
|
38377
|
+
export interface License_GetFencingInfoRequest {
|
|
38378
|
+
}
|
|
38379
|
+
|
|
38380
|
+
// response object: FencingInfo
|
|
38381
|
+
|
|
37940
38382
|
|
|
37941
38383
|
/**
|
|
37942
38384
|
* Represents all licenses for this owner at this site.
|
|
@@ -42152,6 +42594,11 @@ export interface PreviewFaqEntry extends Carrier {
|
|
|
42152
42594
|
*/
|
|
42153
42595
|
answer?: string;
|
|
42154
42596
|
|
|
42597
|
+
/**
|
|
42598
|
+
* The access level for this entry (enum).
|
|
42599
|
+
*/
|
|
42600
|
+
accessLevel?: enums.KbAccessLevel;
|
|
42601
|
+
|
|
42155
42602
|
}
|
|
42156
42603
|
|
|
42157
42604
|
|
|
@@ -42758,6 +43205,10 @@ export interface CustomerService_CreateTicketFromMailDataRequest {
|
|
|
42758
43205
|
* RFC822 formatted data to import as a ticket
|
|
42759
43206
|
*/
|
|
42760
43207
|
data: string;
|
|
43208
|
+
/**
|
|
43209
|
+
* Optional. If greater than 0, the new ticket is attached to this person as the primary customer and the email's From header is not used to resolve the customer; the supplied person must exist and not be retired or the call throws a validation error. If 0 (default), the customer is resolved from the email as before.
|
|
43210
|
+
*/
|
|
43211
|
+
personId: number;
|
|
42761
43212
|
}
|
|
42762
43213
|
|
|
42763
43214
|
// response object: TicketInfo
|
|
@@ -43460,6 +43911,15 @@ export interface Dash_GetPossibleDashQuickFiltersRequest {
|
|
|
43460
43911
|
|
|
43461
43912
|
// response object: QuickFilterInfo[]
|
|
43462
43913
|
|
|
43914
|
+
/**
|
|
43915
|
+
* Get the current dashboard fencing status for the tenant
|
|
43916
|
+
* Returns FencingInfo
|
|
43917
|
+
*/
|
|
43918
|
+
export interface Dash_GetDashboardFencingInfoRequest {
|
|
43919
|
+
}
|
|
43920
|
+
|
|
43921
|
+
// response object: FencingInfo
|
|
43922
|
+
|
|
43463
43923
|
|
|
43464
43924
|
/**
|
|
43465
43925
|
* Collection of dashboards for an associate
|
|
@@ -48854,6 +49314,40 @@ export interface Ticket_GetTicketMessageWithOptionsRequest {
|
|
|
48854
49314
|
// response object: TicketMessageEntity
|
|
48855
49315
|
|
|
48856
49316
|
|
|
49317
|
+
/**
|
|
49318
|
+
* 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.
|
|
49319
|
+
*/
|
|
49320
|
+
export interface TicketRelationAction {
|
|
49321
|
+
|
|
49322
|
+
|
|
49323
|
+
/**
|
|
49324
|
+
* ID of the parent ticket to offer closing when all its children are closed. 0 if not applicable.
|
|
49325
|
+
*/
|
|
49326
|
+
ticketIdToClose?: number;
|
|
49327
|
+
|
|
49328
|
+
/**
|
|
49329
|
+
* True if a parent relation is mandatory for this ticket type.
|
|
49330
|
+
*/
|
|
49331
|
+
isParentRequired?: boolean;
|
|
49332
|
+
|
|
49333
|
+
/**
|
|
49334
|
+
* True if the ticket may be closed. False if unclosed children are blocking it.
|
|
49335
|
+
*/
|
|
49336
|
+
canCloseCurrentTicket?: boolean;
|
|
49337
|
+
|
|
49338
|
+
/**
|
|
49339
|
+
* Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
|
|
49340
|
+
*/
|
|
49341
|
+
children?: number[];
|
|
49342
|
+
|
|
49343
|
+
}
|
|
49344
|
+
|
|
49345
|
+
|
|
49346
|
+
|
|
49347
|
+
|
|
49348
|
+
|
|
49349
|
+
|
|
49350
|
+
|
|
48857
49351
|
/**
|
|
48858
49352
|
* Relationship between two tickets, as described by the TicketRelationDefinition.
|
|
48859
49353
|
*/
|
|
@@ -48876,7 +49370,7 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48876
49370
|
destinationTicketId?: number;
|
|
48877
49371
|
|
|
48878
49372
|
/**
|
|
48879
|
-
*
|
|
49373
|
+
* The type of relation between the two tickets.
|
|
48880
49374
|
*/
|
|
48881
49375
|
relationType?: enums.TicketRelationType;
|
|
48882
49376
|
|
|
@@ -48892,6 +49386,257 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48892
49386
|
|
|
48893
49387
|
|
|
48894
49388
|
|
|
49389
|
+
/**
|
|
49390
|
+
* Get all relations for a ticket.
|
|
49391
|
+
* Returns TicketRelationItem[]
|
|
49392
|
+
*/
|
|
49393
|
+
export interface Ticket_GetTicketRelationsRequest {
|
|
49394
|
+
/**
|
|
49395
|
+
* The id of the ticket to get relations for.
|
|
49396
|
+
*/
|
|
49397
|
+
ticketId: number;
|
|
49398
|
+
}
|
|
49399
|
+
|
|
49400
|
+
// response object: TicketRelationItem[]
|
|
49401
|
+
|
|
49402
|
+
/**
|
|
49403
|
+
* Get the parent ticket id. Returns 0 if the ticket has no parent.
|
|
49404
|
+
* Returns number
|
|
49405
|
+
*/
|
|
49406
|
+
export interface Ticket_GetTicketParentIdRequest {
|
|
49407
|
+
/**
|
|
49408
|
+
* The id of the ticket to get the parent for.
|
|
49409
|
+
*/
|
|
49410
|
+
ticketId: number;
|
|
49411
|
+
}
|
|
49412
|
+
|
|
49413
|
+
// response object: number
|
|
49414
|
+
|
|
49415
|
+
/**
|
|
49416
|
+
* Set the parent of a ticket. If the ticket already has a parent, it will be overwritten.
|
|
49417
|
+
*/
|
|
49418
|
+
export interface Ticket_SetTicketParentRequest {
|
|
49419
|
+
/**
|
|
49420
|
+
* The id of the ticket to set the parent on.
|
|
49421
|
+
*/
|
|
49422
|
+
ticketId: number;
|
|
49423
|
+
/**
|
|
49424
|
+
* The id of the ticket to set as parent.
|
|
49425
|
+
*/
|
|
49426
|
+
parentTicketId: number;
|
|
49427
|
+
/**
|
|
49428
|
+
* Optional comment to store on the relation.
|
|
49429
|
+
*/
|
|
49430
|
+
comment: string;
|
|
49431
|
+
}
|
|
49432
|
+
|
|
49433
|
+
// Void response...
|
|
49434
|
+
|
|
49435
|
+
/**
|
|
49436
|
+
* Validate proposed ticket relations without saving them. Returns a result per source ticket indicating whether the relation is valid.
|
|
49437
|
+
* Returns TicketRelationResult[]
|
|
49438
|
+
*/
|
|
49439
|
+
export interface Ticket_ValidateTicketRelationsRequest {
|
|
49440
|
+
/**
|
|
49441
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
49442
|
+
*/
|
|
49443
|
+
sourceTicketIds: number[];
|
|
49444
|
+
/**
|
|
49445
|
+
* The id of the ticket that the source tickets will be related to.
|
|
49446
|
+
*/
|
|
49447
|
+
destinationTicketId: number;
|
|
49448
|
+
/**
|
|
49449
|
+
* The type of relation to create.
|
|
49450
|
+
*/
|
|
49451
|
+
relationType: enums.TicketRelationType;
|
|
49452
|
+
}
|
|
49453
|
+
|
|
49454
|
+
// response object: TicketRelationResult[]
|
|
49455
|
+
|
|
49456
|
+
/**
|
|
49457
|
+
* Create multiple ticket relations in a single call. Returns a result per source ticket indicating success or failure.
|
|
49458
|
+
* Returns TicketRelationResult[]
|
|
49459
|
+
*/
|
|
49460
|
+
export interface Ticket_CreateTicketRelationsRequest {
|
|
49461
|
+
/**
|
|
49462
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
49463
|
+
*/
|
|
49464
|
+
sourceTicketIds: number[];
|
|
49465
|
+
/**
|
|
49466
|
+
* The id of the ticket that the source tickets will be related to.
|
|
49467
|
+
*/
|
|
49468
|
+
destinationTicketId: number;
|
|
49469
|
+
/**
|
|
49470
|
+
* The type of relation to create.
|
|
49471
|
+
*/
|
|
49472
|
+
relationType: enums.TicketRelationType;
|
|
49473
|
+
/**
|
|
49474
|
+
* Optional comment to store on each relation.
|
|
49475
|
+
*/
|
|
49476
|
+
comment: string;
|
|
49477
|
+
}
|
|
49478
|
+
|
|
49479
|
+
// response object: TicketRelationResult[]
|
|
49480
|
+
|
|
49481
|
+
/**
|
|
49482
|
+
* 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.
|
|
49483
|
+
* Returns TicketRelationAction
|
|
49484
|
+
*/
|
|
49485
|
+
export interface Ticket_GetTicketRelationActionsRequest {
|
|
49486
|
+
/**
|
|
49487
|
+
* The id of the ticket being evaluated.
|
|
49488
|
+
*/
|
|
49489
|
+
ticketId: number;
|
|
49490
|
+
/**
|
|
49491
|
+
* The id of the parent ticket, if any. Pass 0 if there is no parent.
|
|
49492
|
+
*/
|
|
49493
|
+
parentTicketId: number;
|
|
49494
|
+
/**
|
|
49495
|
+
* The id of the ticket type.
|
|
49496
|
+
*/
|
|
49497
|
+
ticketTypeId: number;
|
|
49498
|
+
}
|
|
49499
|
+
|
|
49500
|
+
// response object: TicketRelationAction
|
|
49501
|
+
|
|
49502
|
+
|
|
49503
|
+
/**
|
|
49504
|
+
* A ticket related to another ticket, including counts of how many further relations it has.
|
|
49505
|
+
*/
|
|
49506
|
+
export interface TicketRelationItem {
|
|
49507
|
+
|
|
49508
|
+
|
|
49509
|
+
/**
|
|
49510
|
+
* Primary key
|
|
49511
|
+
*/
|
|
49512
|
+
ticketRelationId?: number;
|
|
49513
|
+
|
|
49514
|
+
/**
|
|
49515
|
+
* How this item relates to the source ticket: parent, child, or related.
|
|
49516
|
+
*/
|
|
49517
|
+
relationType?: enums.TicketRelationType;
|
|
49518
|
+
|
|
49519
|
+
/**
|
|
49520
|
+
* Free-text comment stored on the relation row.
|
|
49521
|
+
*/
|
|
49522
|
+
relationComment?: string;
|
|
49523
|
+
|
|
49524
|
+
/**
|
|
49525
|
+
* Whether the related ticket has a parent relation.
|
|
49526
|
+
*/
|
|
49527
|
+
hasParent?: boolean;
|
|
49528
|
+
|
|
49529
|
+
/**
|
|
49530
|
+
* Number of child relations the related ticket has.
|
|
49531
|
+
*/
|
|
49532
|
+
childCount?: number;
|
|
49533
|
+
|
|
49534
|
+
/**
|
|
49535
|
+
* Number of plain related relations the related ticket has.
|
|
49536
|
+
*/
|
|
49537
|
+
relatedCount?: number;
|
|
49538
|
+
|
|
49539
|
+
/**
|
|
49540
|
+
* Registered when
|
|
49541
|
+
*/
|
|
49542
|
+
relationCreatedAt?: Date;
|
|
49543
|
+
|
|
49544
|
+
/**
|
|
49545
|
+
* The primary key (auto-incremented)
|
|
49546
|
+
*/
|
|
49547
|
+
ticketId?: number;
|
|
49548
|
+
|
|
49549
|
+
/**
|
|
49550
|
+
* The title of the ticket.
|
|
49551
|
+
*/
|
|
49552
|
+
title?: string;
|
|
49553
|
+
|
|
49554
|
+
/**
|
|
49555
|
+
* Icon representing the ticket's state.
|
|
49556
|
+
*/
|
|
49557
|
+
iconHint?: string;
|
|
49558
|
+
|
|
49559
|
+
/**
|
|
49560
|
+
* The reference to the customer. NULL or -1 if ticket is not connected to customer.
|
|
49561
|
+
*/
|
|
49562
|
+
custId?: number;
|
|
49563
|
+
|
|
49564
|
+
/**
|
|
49565
|
+
* Get the full name for the primary person (customer)
|
|
49566
|
+
*/
|
|
49567
|
+
personFullname?: string;
|
|
49568
|
+
|
|
49569
|
+
/**
|
|
49570
|
+
* The company of the person in the cust_id field, if that person belongs to a company
|
|
49571
|
+
*/
|
|
49572
|
+
contactId?: number;
|
|
49573
|
+
|
|
49574
|
+
/**
|
|
49575
|
+
* The name of the connected contact
|
|
49576
|
+
*/
|
|
49577
|
+
contactName?: string;
|
|
49578
|
+
|
|
49579
|
+
/**
|
|
49580
|
+
* The status of the ticket. I.e. active/closed/postponed/deleted
|
|
49581
|
+
*/
|
|
49582
|
+
baseStatus?: enums.TicketBaseStatus;
|
|
49583
|
+
|
|
49584
|
+
/**
|
|
49585
|
+
* User defined ticket status
|
|
49586
|
+
*/
|
|
49587
|
+
ticketStatus?: number;
|
|
49588
|
+
|
|
49589
|
+
/**
|
|
49590
|
+
* Get the display name of the ticket status.
|
|
49591
|
+
*/
|
|
49592
|
+
ticketStatusDisplayValue?: string;
|
|
49593
|
+
|
|
49594
|
+
/**
|
|
49595
|
+
* When the ticket was created.
|
|
49596
|
+
*/
|
|
49597
|
+
ticketCreatedAt?: Date;
|
|
49598
|
+
|
|
49599
|
+
}
|
|
49600
|
+
|
|
49601
|
+
|
|
49602
|
+
|
|
49603
|
+
|
|
49604
|
+
|
|
49605
|
+
|
|
49606
|
+
|
|
49607
|
+
/**
|
|
49608
|
+
* Result of a ticket relation operation, indicating success or the reason for failure.
|
|
49609
|
+
*/
|
|
49610
|
+
export interface TicketRelationResult {
|
|
49611
|
+
|
|
49612
|
+
|
|
49613
|
+
/**
|
|
49614
|
+
* The id of the source ticket this result applies to.
|
|
49615
|
+
*/
|
|
49616
|
+
sourceTicketId?: number;
|
|
49617
|
+
|
|
49618
|
+
/**
|
|
49619
|
+
* True if the operation succeeded; false if it failed.
|
|
49620
|
+
*/
|
|
49621
|
+
isValid?: boolean;
|
|
49622
|
+
|
|
49623
|
+
/**
|
|
49624
|
+
* The reason the operation failed, if IsValid is false.
|
|
49625
|
+
*/
|
|
49626
|
+
relationError?: enums.TicketRelationError;
|
|
49627
|
+
|
|
49628
|
+
/**
|
|
49629
|
+
* Error message describing why the operation failed, if IsValid is false.
|
|
49630
|
+
*/
|
|
49631
|
+
errorMessage?: string;
|
|
49632
|
+
|
|
49633
|
+
}
|
|
49634
|
+
|
|
49635
|
+
|
|
49636
|
+
|
|
49637
|
+
|
|
49638
|
+
|
|
49639
|
+
|
|
48895
49640
|
|
|
48896
49641
|
/**
|
|
48897
49642
|
* The ticket summary with heading, created date.
|
|
@@ -48959,6 +49704,9 @@ export interface Ticket_GetTicketSummariesRequest {
|
|
|
48959
49704
|
|
|
48960
49705
|
|
|
48961
49706
|
|
|
49707
|
+
|
|
49708
|
+
|
|
49709
|
+
|
|
48962
49710
|
/**
|
|
48963
49711
|
* The extra table entity contains meta data for an extra table (not implemented yet)
|
|
48964
49712
|
*/
|
|
@@ -49206,6 +49954,365 @@ export interface DatabaseTable_DeleteRequest {
|
|
|
49206
49954
|
|
|
49207
49955
|
|
|
49208
49956
|
|
|
49957
|
+
/**
|
|
49958
|
+
* A single row in a Custom Object table.
|
|
49959
|
+
*/
|
|
49960
|
+
export interface CustomObject extends Carrier {
|
|
49961
|
+
|
|
49962
|
+
|
|
49963
|
+
/**
|
|
49964
|
+
* Database table name of the Custom Object Definition this row belongs to, e.g. 'y_equipment'.
|
|
49965
|
+
*/
|
|
49966
|
+
definitionName?: string;
|
|
49967
|
+
|
|
49968
|
+
/**
|
|
49969
|
+
* Primary key of the row.
|
|
49970
|
+
*/
|
|
49971
|
+
id?: number;
|
|
49972
|
+
|
|
49973
|
+
/**
|
|
49974
|
+
* Column values for this row. Keys are database column names; values are formatted with CultureDataFormatter (e.g. '[I:42]' for integers).
|
|
49975
|
+
*/
|
|
49976
|
+
values?: StringDictionary;
|
|
49977
|
+
|
|
49978
|
+
}
|
|
49979
|
+
|
|
49980
|
+
|
|
49981
|
+
|
|
49982
|
+
|
|
49983
|
+
|
|
49984
|
+
|
|
49985
|
+
/**
|
|
49986
|
+
* Returns a new Custom Object row pre-populated with the default values declared by the Custom Object Definition. The row is not yet persisted.
|
|
49987
|
+
* Returns CustomObject
|
|
49988
|
+
*/
|
|
49989
|
+
export interface CustomObject_CreateDefaultCustomObjectRequest {
|
|
49990
|
+
/**
|
|
49991
|
+
* Database table name of the Custom Object Definition, e.g. 'y_equipment'.
|
|
49992
|
+
*/
|
|
49993
|
+
definitionName: string;
|
|
49994
|
+
}
|
|
49995
|
+
|
|
49996
|
+
// response object: CustomObject
|
|
49997
|
+
|
|
49998
|
+
/**
|
|
49999
|
+
* Returns a single Custom Object row by definition name and primary key.
|
|
50000
|
+
* Returns CustomObject
|
|
50001
|
+
*/
|
|
50002
|
+
export interface CustomObject_GetCustomObjectRequest {
|
|
50003
|
+
/**
|
|
50004
|
+
* Database table name of the Custom Object Definition, e.g. 'y_equipment'.
|
|
50005
|
+
*/
|
|
50006
|
+
definitionName: string;
|
|
50007
|
+
/**
|
|
50008
|
+
* Primary key of the row to fetch.
|
|
50009
|
+
*/
|
|
50010
|
+
id: number;
|
|
50011
|
+
}
|
|
50012
|
+
|
|
50013
|
+
// response object: CustomObject
|
|
50014
|
+
|
|
50015
|
+
/**
|
|
50016
|
+
* Saves a Custom Object row. If the row has a primary key set it will be updated, otherwise a new row is inserted.
|
|
50017
|
+
* Returns CustomObject
|
|
50018
|
+
*/
|
|
50019
|
+
export interface CustomObject_SaveCustomObjectRequest {
|
|
50020
|
+
/**
|
|
50021
|
+
* Database table name of the Custom Object Definition, e.g. 'y_equipment'.
|
|
50022
|
+
*/
|
|
50023
|
+
definitionName: string;
|
|
50024
|
+
/**
|
|
50025
|
+
* The Custom Object row to save.
|
|
50026
|
+
*/
|
|
50027
|
+
row: CustomObject;
|
|
50028
|
+
}
|
|
50029
|
+
|
|
50030
|
+
// response object: CustomObject
|
|
50031
|
+
|
|
50032
|
+
/**
|
|
50033
|
+
* Deletes a single Custom Object row by primary key.
|
|
50034
|
+
*/
|
|
50035
|
+
export interface CustomObject_DeleteCustomObjectRequest {
|
|
50036
|
+
/**
|
|
50037
|
+
* Database table name of the Custom Object Definition, e.g. 'y_equipment'.
|
|
50038
|
+
*/
|
|
50039
|
+
definitionName: string;
|
|
50040
|
+
/**
|
|
50041
|
+
* Primary key of the row to delete.
|
|
50042
|
+
*/
|
|
50043
|
+
id: number;
|
|
50044
|
+
}
|
|
50045
|
+
|
|
50046
|
+
// Void response...
|
|
50047
|
+
|
|
50048
|
+
|
|
50049
|
+
/**
|
|
50050
|
+
* Schema definition for a Custom Object: the underlying table and its fields.
|
|
50051
|
+
*/
|
|
50052
|
+
export interface CustomObjectDefinition extends Carrier {
|
|
50053
|
+
|
|
50054
|
+
|
|
50055
|
+
/**
|
|
50056
|
+
* Primary key in the extra-tables table.
|
|
50057
|
+
*/
|
|
50058
|
+
id?: number;
|
|
50059
|
+
|
|
50060
|
+
/**
|
|
50061
|
+
* Database table name of the Custom Object, e.g. 'y_equipment'.
|
|
50062
|
+
*/
|
|
50063
|
+
name?: string;
|
|
50064
|
+
|
|
50065
|
+
/**
|
|
50066
|
+
* User-visible title of the Custom Object.
|
|
50067
|
+
*/
|
|
50068
|
+
title?: string;
|
|
50069
|
+
|
|
50070
|
+
/**
|
|
50071
|
+
* Name of the field used to represent a row in lists and previews.
|
|
50072
|
+
*/
|
|
50073
|
+
displayField?: string;
|
|
50074
|
+
|
|
50075
|
+
/**
|
|
50076
|
+
* Description of the Custom Object.
|
|
50077
|
+
*/
|
|
50078
|
+
description?: string;
|
|
50079
|
+
|
|
50080
|
+
/**
|
|
50081
|
+
* Icon binary-object id used in the UI.
|
|
50082
|
+
*/
|
|
50083
|
+
iconId?: number;
|
|
50084
|
+
|
|
50085
|
+
/**
|
|
50086
|
+
* Bitmask of ExtraTableFlag values.
|
|
50087
|
+
*/
|
|
50088
|
+
flags?: number;
|
|
50089
|
+
|
|
50090
|
+
/**
|
|
50091
|
+
* Field definitions for this Custom Object.
|
|
50092
|
+
*/
|
|
50093
|
+
fields?: CustomObjectField[];
|
|
50094
|
+
|
|
50095
|
+
}
|
|
50096
|
+
|
|
50097
|
+
|
|
50098
|
+
|
|
50099
|
+
|
|
50100
|
+
|
|
50101
|
+
|
|
50102
|
+
/**
|
|
50103
|
+
* Returns the schema (table + field definitions) for a Custom Object Definition by its database table name.
|
|
50104
|
+
* Returns CustomObjectDefinition
|
|
50105
|
+
*/
|
|
50106
|
+
export interface CustomObject_GetCustomObjectDefinitionRequest {
|
|
50107
|
+
/**
|
|
50108
|
+
* Database table name of the Custom Object Definition, e.g. 'y_equipment'.
|
|
50109
|
+
*/
|
|
50110
|
+
definitionName: string;
|
|
50111
|
+
}
|
|
50112
|
+
|
|
50113
|
+
// response object: CustomObjectDefinition
|
|
50114
|
+
|
|
50115
|
+
/**
|
|
50116
|
+
* Returns true if a screen chooser is configured for the given Custom Object Definition and mode.
|
|
50117
|
+
* Returns boolean
|
|
50118
|
+
*/
|
|
50119
|
+
export interface CustomObject_HasScreenChooserRequest {
|
|
50120
|
+
/**
|
|
50121
|
+
* Database table name of the Custom Object Definition.
|
|
50122
|
+
*/
|
|
50123
|
+
definitionName: string;
|
|
50124
|
+
/**
|
|
50125
|
+
* True to check for a custom edit screen; false to check for a custom view screen.
|
|
50126
|
+
*/
|
|
50127
|
+
edit: boolean;
|
|
50128
|
+
}
|
|
50129
|
+
|
|
50130
|
+
// response object: boolean
|
|
50131
|
+
|
|
50132
|
+
/**
|
|
50133
|
+
* Returns bootstrap metadata for all Custom Object tables.
|
|
50134
|
+
* Returns CustomObjectMetadata[]
|
|
50135
|
+
*/
|
|
50136
|
+
export interface CustomObject_GetCustomObjectsMetadataRequest {
|
|
50137
|
+
}
|
|
50138
|
+
|
|
50139
|
+
// response object: CustomObjectMetadata[]
|
|
50140
|
+
|
|
50141
|
+
/**
|
|
50142
|
+
* Returns SVG icon data for all Custom Object tables, keyed by table name.
|
|
50143
|
+
* Returns StringDictionary
|
|
50144
|
+
*/
|
|
50145
|
+
export interface CustomObject_GetCustomObjectsIconsRequest {
|
|
50146
|
+
}
|
|
50147
|
+
|
|
50148
|
+
// response object: StringDictionary
|
|
50149
|
+
|
|
50150
|
+
|
|
50151
|
+
/**
|
|
50152
|
+
* Describes one field on a Custom Object Definition.
|
|
50153
|
+
*/
|
|
50154
|
+
export interface CustomObjectField {
|
|
50155
|
+
|
|
50156
|
+
|
|
50157
|
+
/**
|
|
50158
|
+
* Database column name of the field, e.g. 'x_equipment_type'.
|
|
50159
|
+
*/
|
|
50160
|
+
fieldName?: string;
|
|
50161
|
+
|
|
50162
|
+
/**
|
|
50163
|
+
* Field type, formatted as the string value of ExtraFieldType (e.g. 'string', 'int', 'datetime').
|
|
50164
|
+
*/
|
|
50165
|
+
fieldType?: string;
|
|
50166
|
+
|
|
50167
|
+
/**
|
|
50168
|
+
* User-visible name of the field.
|
|
50169
|
+
*/
|
|
50170
|
+
displayName?: string;
|
|
50171
|
+
|
|
50172
|
+
/**
|
|
50173
|
+
* Description of the field.
|
|
50174
|
+
*/
|
|
50175
|
+
description?: string;
|
|
50176
|
+
|
|
50177
|
+
/**
|
|
50178
|
+
* True if the field has a default value that should be used when creating new rows.
|
|
50179
|
+
*/
|
|
50180
|
+
useDefaultValue?: boolean;
|
|
50181
|
+
|
|
50182
|
+
/**
|
|
50183
|
+
* Default value, formatted with CultureDataFormatter (e.g. '[I:1]' for an integer).
|
|
50184
|
+
*/
|
|
50185
|
+
defaultValue?: string;
|
|
50186
|
+
|
|
50187
|
+
/**
|
|
50188
|
+
* Display order of the field within the Custom Object Definition.
|
|
50189
|
+
*/
|
|
50190
|
+
rank?: number;
|
|
50191
|
+
|
|
50192
|
+
/**
|
|
50193
|
+
* True if the field is shown by default in list views (mirrors the ViewInList extra-field flag).
|
|
50194
|
+
*/
|
|
50195
|
+
isDefault?: boolean;
|
|
50196
|
+
|
|
50197
|
+
}
|
|
50198
|
+
|
|
50199
|
+
|
|
50200
|
+
|
|
50201
|
+
|
|
50202
|
+
|
|
50203
|
+
|
|
50204
|
+
|
|
50205
|
+
/**
|
|
50206
|
+
* Bootstrap metadata for a Custom Object table.
|
|
50207
|
+
*/
|
|
50208
|
+
export interface CustomObjectMetadata {
|
|
50209
|
+
|
|
50210
|
+
|
|
50211
|
+
/**
|
|
50212
|
+
* User-visible name of the Custom Object.
|
|
50213
|
+
*/
|
|
50214
|
+
name?: string;
|
|
50215
|
+
|
|
50216
|
+
/**
|
|
50217
|
+
* Database table name, e.g. 'y_equipment'.
|
|
50218
|
+
*/
|
|
50219
|
+
tableName?: string;
|
|
50220
|
+
|
|
50221
|
+
/**
|
|
50222
|
+
* Icon hint string for the UI.
|
|
50223
|
+
*/
|
|
50224
|
+
iconHint?: string;
|
|
50225
|
+
|
|
50226
|
+
/**
|
|
50227
|
+
* True if the primary key field should be hidden in the UI.
|
|
50228
|
+
*/
|
|
50229
|
+
flagHideId?: boolean;
|
|
50230
|
+
|
|
50231
|
+
/**
|
|
50232
|
+
* True if the Custom Object is hidden from the navigator.
|
|
50233
|
+
*/
|
|
50234
|
+
flagHidden?: boolean;
|
|
50235
|
+
|
|
50236
|
+
/**
|
|
50237
|
+
* True if the Custom Object should appear in the Find dialog.
|
|
50238
|
+
*/
|
|
50239
|
+
flagShowInFind?: boolean;
|
|
50240
|
+
|
|
50241
|
+
/**
|
|
50242
|
+
* True if the Custom Object should appear in the navigator.
|
|
50243
|
+
*/
|
|
50244
|
+
flagShowInNavigator?: boolean;
|
|
50245
|
+
|
|
50246
|
+
/**
|
|
50247
|
+
* Relations to other entities.
|
|
50248
|
+
*/
|
|
50249
|
+
relations?: CustomObjectRelation[];
|
|
50250
|
+
|
|
50251
|
+
/**
|
|
50252
|
+
* True if the Custom Object has web panel archives configured.
|
|
50253
|
+
*/
|
|
50254
|
+
hasWebPanels?: boolean;
|
|
50255
|
+
|
|
50256
|
+
}
|
|
50257
|
+
|
|
50258
|
+
|
|
50259
|
+
|
|
50260
|
+
|
|
50261
|
+
|
|
50262
|
+
|
|
50263
|
+
|
|
50264
|
+
/**
|
|
50265
|
+
* Describes a relation from a Custom Object to another entity.
|
|
50266
|
+
*/
|
|
50267
|
+
export interface CustomObjectRelation {
|
|
50268
|
+
|
|
50269
|
+
|
|
50270
|
+
/**
|
|
50271
|
+
* Database table name of the related entity.
|
|
50272
|
+
*/
|
|
50273
|
+
entityName?: string;
|
|
50274
|
+
|
|
50275
|
+
/**
|
|
50276
|
+
* Type of the related entity, e.g. 'contact', 'CustomObject'.
|
|
50277
|
+
*/
|
|
50278
|
+
entityType?: string;
|
|
50279
|
+
|
|
50280
|
+
/**
|
|
50281
|
+
* User-visible title of the related entity.
|
|
50282
|
+
*/
|
|
50283
|
+
entityTitle?: string;
|
|
50284
|
+
|
|
50285
|
+
/**
|
|
50286
|
+
* Archive provider name for listing related rows.
|
|
50287
|
+
*/
|
|
50288
|
+
providerName?: string;
|
|
50289
|
+
|
|
50290
|
+
/**
|
|
50291
|
+
* Database column name of the foreign key field.
|
|
50292
|
+
*/
|
|
50293
|
+
relationField?: string;
|
|
50294
|
+
|
|
50295
|
+
/**
|
|
50296
|
+
* Database column name of the display field for the related entity.
|
|
50297
|
+
*/
|
|
50298
|
+
displayField?: string;
|
|
50299
|
+
|
|
50300
|
+
/**
|
|
50301
|
+
* True if the functions (add/edit/delete) should be hidden for this relation.
|
|
50302
|
+
*/
|
|
50303
|
+
hideFunctions?: boolean;
|
|
50304
|
+
|
|
50305
|
+
}
|
|
50306
|
+
|
|
50307
|
+
|
|
50308
|
+
|
|
50309
|
+
|
|
50310
|
+
|
|
50311
|
+
|
|
50312
|
+
|
|
50313
|
+
|
|
50314
|
+
|
|
50315
|
+
|
|
49209
50316
|
/**
|
|
49210
50317
|
* Chat Topic bot settings. Trigger script ids to run on bot events
|
|
49211
50318
|
*/
|
|
@@ -52462,6 +53569,15 @@ export interface Workflow_CopyEmailFlowRequest {
|
|
|
52462
53569
|
|
|
52463
53570
|
// response object: number
|
|
52464
53571
|
|
|
53572
|
+
/**
|
|
53573
|
+
* Get the current Workflow fencing status for the tenant
|
|
53574
|
+
* Returns FencingInfo
|
|
53575
|
+
*/
|
|
53576
|
+
export interface Workflow_GetWorkflowFencingInfoRequest {
|
|
53577
|
+
}
|
|
53578
|
+
|
|
53579
|
+
// response object: FencingInfo
|
|
53580
|
+
|
|
52465
53581
|
|
|
52466
53582
|
/**
|
|
52467
53583
|
* FieldValue carrier
|