@superoffice/webapi 11.12.675 → 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/AIAgent.d.ts +19 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +37 -0
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +759 -5
- 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/ContactAgent.d.ts +17 -0
- package/dist/cjs/ContactAgent.d.ts.map +1 -1
- package/dist/cjs/ContactAgent.js +35 -0
- package/dist/cjs/ContactAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +27 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +388 -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/DiagnosticsAgent.d.ts +15 -0
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/cjs/DiagnosticsAgent.js +33 -0
- package/dist/cjs/DiagnosticsAgent.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 +59 -0
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +64 -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/PersonAgent.d.ts +17 -0
- package/dist/cjs/PersonAgent.d.ts.map +1 -1
- package/dist/cjs/PersonAgent.js +35 -0
- package/dist/cjs/PersonAgent.js.map +1 -1
- package/dist/cjs/PreferenceAgent.d.ts +22 -0
- package/dist/cjs/PreferenceAgent.d.ts.map +1 -1
- package/dist/cjs/PreferenceAgent.js +57 -0
- package/dist/cjs/PreferenceAgent.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 +130 -0
- package/dist/cjs/TicketAgent.d.ts.map +1 -1
- package/dist/cjs/TicketAgent.js +274 -0
- package/dist/cjs/TicketAgent.js.map +1 -1
- package/dist/cjs/UserAgent.d.ts +19 -0
- package/dist/cjs/UserAgent.d.ts.map +1 -1
- package/dist/cjs/UserAgent.js +37 -0
- package/dist/cjs/UserAgent.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/AIAgent.d.ts +19 -0
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +37 -0
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +759 -5
- 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/ContactAgent.d.ts +17 -0
- package/dist/esm/ContactAgent.d.ts.map +1 -1
- package/dist/esm/ContactAgent.js +35 -0
- package/dist/esm/ContactAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +27 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +343 -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/DiagnosticsAgent.d.ts +15 -0
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/esm/DiagnosticsAgent.js +33 -0
- package/dist/esm/DiagnosticsAgent.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 +59 -0
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +62 -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/PersonAgent.d.ts +17 -0
- package/dist/esm/PersonAgent.d.ts.map +1 -1
- package/dist/esm/PersonAgent.js +35 -0
- package/dist/esm/PersonAgent.js.map +1 -1
- package/dist/esm/PreferenceAgent.d.ts +22 -0
- package/dist/esm/PreferenceAgent.d.ts.map +1 -1
- package/dist/esm/PreferenceAgent.js +57 -0
- package/dist/esm/PreferenceAgent.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 +130 -0
- package/dist/esm/TicketAgent.d.ts.map +1 -1
- package/dist/esm/TicketAgent.js +274 -0
- package/dist/esm/TicketAgent.js.map +1 -1
- package/dist/esm/UserAgent.d.ts +19 -0
- package/dist/esm/UserAgent.d.ts.map +1 -1
- package/dist/esm/UserAgent.js +37 -0
- package/dist/esm/UserAgent.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/AIAgent.ts +64 -0
- package/src/Carriers.ts +1002 -5
- package/src/ConfigurationAgent.ts +216 -0
- package/src/ContactAgent.ts +60 -0
- package/src/Converters.ts +417 -0
- package/src/DashAgent.ts +30 -0
- package/src/DiagnosticsAgent.ts +56 -0
- package/src/EMailAgent.ts +470 -30
- package/src/Enums.ts +65 -0
- package/src/LicenseAgent.ts +30 -0
- package/src/ListAgent.ts +62 -0
- package/src/PersonAgent.ts +60 -0
- package/src/PreferenceAgent.ts +86 -0
- package/src/ProjectAgent.ts +30 -0
- package/src/TicketAgent.ts +468 -0
- package/src/UserAgent.ts +64 -0
- package/src/WorkflowAgent.ts +30 -0
package/src/Carriers.ts
CHANGED
|
@@ -7123,6 +7123,26 @@ export interface Contact_EnrichContactEntityRequest {
|
|
|
7123
7123
|
|
|
7124
7124
|
// response object: ContactEntity
|
|
7125
7125
|
|
|
7126
|
+
/**
|
|
7127
|
+
* Update interests on contact. Will throw exception if id is in both arrays
|
|
7128
|
+
*/
|
|
7129
|
+
export interface Contact_UpdateInterestsRequest {
|
|
7130
|
+
/**
|
|
7131
|
+
* Contact id to update interests for
|
|
7132
|
+
*/
|
|
7133
|
+
contactId: number;
|
|
7134
|
+
/**
|
|
7135
|
+
* The interest ids to set on the contact. This will set these interests to true and not touch any other interests.
|
|
7136
|
+
*/
|
|
7137
|
+
enableInterestIds: number[];
|
|
7138
|
+
/**
|
|
7139
|
+
* The interest ids to diable on the contact. This will set these interests to false and not touch any other interests.
|
|
7140
|
+
*/
|
|
7141
|
+
disableInterestIds: number[];
|
|
7142
|
+
}
|
|
7143
|
+
|
|
7144
|
+
// Void response...
|
|
7145
|
+
|
|
7126
7146
|
|
|
7127
7147
|
/**
|
|
7128
7148
|
* Getting the contacts where the user currently logged in is set as contact owner.
|
|
@@ -8796,6 +8816,26 @@ export interface Person_SetUtmCreatedPersonContactForFormSubmissionRequest {
|
|
|
8796
8816
|
|
|
8797
8817
|
// Void response...
|
|
8798
8818
|
|
|
8819
|
+
/**
|
|
8820
|
+
* Update interests on person. Will throw exception if id is in both arrays
|
|
8821
|
+
*/
|
|
8822
|
+
export interface Person_UpdateInterestsRequest {
|
|
8823
|
+
/**
|
|
8824
|
+
* Person id to update interests for
|
|
8825
|
+
*/
|
|
8826
|
+
personId: number;
|
|
8827
|
+
/**
|
|
8828
|
+
* The interest ids to set on the person. This will set these interests to true and not touch any other interests.
|
|
8829
|
+
*/
|
|
8830
|
+
enableInterestIds: number[];
|
|
8831
|
+
/**
|
|
8832
|
+
* The interest ids to diable on the person. This will set these interests to false and not touch any other interests.
|
|
8833
|
+
*/
|
|
8834
|
+
disableInterestIds: number[];
|
|
8835
|
+
}
|
|
8836
|
+
|
|
8837
|
+
// Void response...
|
|
8838
|
+
|
|
8799
8839
|
|
|
8800
8840
|
/**
|
|
8801
8841
|
* Scaled person image
|
|
@@ -11263,6 +11303,15 @@ export interface Project_SaveProjectEntityWithoutMembersRequest {
|
|
|
11263
11303
|
|
|
11264
11304
|
// response object: ProjectEntity
|
|
11265
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
|
+
|
|
11266
11315
|
|
|
11267
11316
|
/**
|
|
11268
11317
|
* A project that is also an event. Used by Audience
|
|
@@ -24546,6 +24595,65 @@ export interface List_SetTicketRelationDefinitionSortOrderRequest {
|
|
|
24546
24595
|
|
|
24547
24596
|
// Void response...
|
|
24548
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
|
+
|
|
24549
24657
|
|
|
24550
24658
|
/**
|
|
24551
24659
|
* Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
|
|
@@ -25140,6 +25248,7 @@ export interface List_GetWebPanelByProgIdRequest {
|
|
|
25140
25248
|
|
|
25141
25249
|
|
|
25142
25250
|
|
|
25251
|
+
|
|
25143
25252
|
|
|
25144
25253
|
|
|
25145
25254
|
/**
|
|
@@ -26162,6 +26271,8 @@ export interface SelectableMDOListItem extends Carrier {
|
|
|
26162
26271
|
|
|
26163
26272
|
|
|
26164
26273
|
|
|
26274
|
+
|
|
26275
|
+
|
|
26165
26276
|
|
|
26166
26277
|
|
|
26167
26278
|
|
|
@@ -26797,6 +26908,95 @@ export interface DiaryViewEntity extends Carrier {
|
|
|
26797
26908
|
|
|
26798
26909
|
|
|
26799
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
|
+
|
|
26800
27000
|
/**
|
|
26801
27001
|
* Entity for system events
|
|
26802
27002
|
*/
|
|
@@ -28326,6 +28526,32 @@ export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
|
|
|
28326
28526
|
// Void response...
|
|
28327
28527
|
|
|
28328
28528
|
|
|
28529
|
+
/**
|
|
28530
|
+
* Operations related to ticket usage
|
|
28531
|
+
*/
|
|
28532
|
+
export interface TicketUsage extends Carrier {
|
|
28533
|
+
|
|
28534
|
+
|
|
28535
|
+
}
|
|
28536
|
+
|
|
28537
|
+
|
|
28538
|
+
|
|
28539
|
+
|
|
28540
|
+
|
|
28541
|
+
|
|
28542
|
+
/**
|
|
28543
|
+
* Logs and registers resolved ticket count to the metering service
|
|
28544
|
+
*/
|
|
28545
|
+
export interface Diagnostics_RegisterClosedTicketsUsageRequest {
|
|
28546
|
+
/**
|
|
28547
|
+
* IDs of closed tickets
|
|
28548
|
+
*/
|
|
28549
|
+
ticketIds: number[];
|
|
28550
|
+
}
|
|
28551
|
+
|
|
28552
|
+
// Void response...
|
|
28553
|
+
|
|
28554
|
+
|
|
28329
28555
|
/**
|
|
28330
28556
|
*
|
|
28331
28557
|
*/
|
|
@@ -30006,6 +30232,11 @@ export interface EMailAccount extends Carrier {
|
|
|
30006
30232
|
*/
|
|
30007
30233
|
lastFetch?: Date;
|
|
30008
30234
|
|
|
30235
|
+
/**
|
|
30236
|
+
* Use the GraphApi for this account
|
|
30237
|
+
*/
|
|
30238
|
+
useGraphApi?: number;
|
|
30239
|
+
|
|
30009
30240
|
}
|
|
30010
30241
|
|
|
30011
30242
|
|
|
@@ -30317,6 +30548,11 @@ export interface EMailConnectionInfo extends Carrier {
|
|
|
30317
30548
|
*/
|
|
30318
30549
|
useSSL?: boolean;
|
|
30319
30550
|
|
|
30551
|
+
/**
|
|
30552
|
+
* Use Graph API
|
|
30553
|
+
*/
|
|
30554
|
+
useGraphApi?: boolean;
|
|
30555
|
+
|
|
30320
30556
|
}
|
|
30321
30557
|
|
|
30322
30558
|
|
|
@@ -30366,6 +30602,11 @@ export interface EMailConnectionInfoExtended extends Carrier {
|
|
|
30366
30602
|
*/
|
|
30367
30603
|
folder?: string;
|
|
30368
30604
|
|
|
30605
|
+
/**
|
|
30606
|
+
* Use Graph API
|
|
30607
|
+
*/
|
|
30608
|
+
useGraphApi?: boolean;
|
|
30609
|
+
|
|
30369
30610
|
}
|
|
30370
30611
|
|
|
30371
30612
|
|
|
@@ -30479,6 +30720,11 @@ export interface EMailEntity extends Carrier {
|
|
|
30479
30720
|
*/
|
|
30480
30721
|
serverId?: number;
|
|
30481
30722
|
|
|
30723
|
+
/**
|
|
30724
|
+
* Server identifier of this email item (GraphApi uses string Id's)
|
|
30725
|
+
*/
|
|
30726
|
+
serverIdentifier?: string;
|
|
30727
|
+
|
|
30482
30728
|
/**
|
|
30483
30729
|
*
|
|
30484
30730
|
*/
|
|
@@ -30570,6 +30816,35 @@ export interface EMail_GetEMailFromIdRequest {
|
|
|
30570
30816
|
|
|
30571
30817
|
// response object: EMailEntity
|
|
30572
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
|
+
|
|
30573
30848
|
/**
|
|
30574
30849
|
* Send the provided e-mails
|
|
30575
30850
|
* Returns EMailEntity[]
|
|
@@ -30672,6 +30947,27 @@ export interface EMail_GetAttachmentRequest {
|
|
|
30672
30947
|
|
|
30673
30948
|
// response object: EMailAttachment
|
|
30674
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
|
+
|
|
30675
30971
|
/**
|
|
30676
30972
|
* Mark one or more e-mails as (un)read
|
|
30677
30973
|
*/
|
|
@@ -30692,6 +30988,26 @@ export interface EMail_MarkAsReadRequest {
|
|
|
30692
30988
|
|
|
30693
30989
|
// Void response...
|
|
30694
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
|
+
|
|
30695
31011
|
/**
|
|
30696
31012
|
* Retrieve total/unread mail items in current folder
|
|
30697
31013
|
* Returns number
|
|
@@ -30729,6 +31045,26 @@ export interface EMail_DeleteRequest {
|
|
|
30729
31045
|
|
|
30730
31046
|
// Void response...
|
|
30731
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
|
+
|
|
30732
31068
|
/**
|
|
30733
31069
|
* Moved specified items from current folder to targetFolder
|
|
30734
31070
|
*/
|
|
@@ -30749,6 +31085,26 @@ export interface EMail_MoveToFolderRequest {
|
|
|
30749
31085
|
|
|
30750
31086
|
// Void response...
|
|
30751
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
|
+
|
|
30752
31108
|
/**
|
|
30753
31109
|
* Delete all items in folder specified in the connection object
|
|
30754
31110
|
*/
|
|
@@ -30786,6 +31142,27 @@ export interface EMail_GetEMailAsStreamRequest {
|
|
|
30786
31142
|
|
|
30787
31143
|
// response object: Blob
|
|
30788
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
|
+
|
|
30789
31166
|
/**
|
|
30790
31167
|
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
30791
31168
|
* Returns EMailAddress[]
|
|
@@ -30926,6 +31303,23 @@ export interface EMail_GetEMailEnvelopesRequest {
|
|
|
30926
31303
|
|
|
30927
31304
|
// response object: EMailEnvelope[]
|
|
30928
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
|
+
|
|
30929
31323
|
/**
|
|
30930
31324
|
* Set subscription on or off on a set of folders
|
|
30931
31325
|
*/
|
|
@@ -31774,6 +32168,11 @@ export interface EMailEnvelope extends Carrier {
|
|
|
31774
32168
|
*/
|
|
31775
32169
|
serverId?: number;
|
|
31776
32170
|
|
|
32171
|
+
/**
|
|
32172
|
+
* Unique string id for the e-mail on the server (Graph API
|
|
32173
|
+
*/
|
|
32174
|
+
serverIdentifier?: string;
|
|
32175
|
+
|
|
31777
32176
|
/**
|
|
31778
32177
|
* Unique id of e-mails
|
|
31779
32178
|
*/
|
|
@@ -32012,6 +32411,7 @@ export interface EMail_SyncEmailAccountsRequest {
|
|
|
32012
32411
|
|
|
32013
32412
|
|
|
32014
32413
|
|
|
32414
|
+
|
|
32015
32415
|
|
|
32016
32416
|
|
|
32017
32417
|
/**
|
|
@@ -33120,10 +33520,55 @@ export interface Webhook {
|
|
|
33120
33520
|
updatedAssociate?: Associate;
|
|
33121
33521
|
|
|
33122
33522
|
/**
|
|
33123
|
-
*
|
|
33523
|
+
* Obsolete, use ErrorEmails instead
|
|
33124
33524
|
*/
|
|
33125
33525
|
errorsEmail?: string;
|
|
33126
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
|
+
|
|
33127
33572
|
}
|
|
33128
33573
|
|
|
33129
33574
|
|
|
@@ -36669,6 +37114,7 @@ export interface Archive_GetRelatedData2Request {
|
|
|
36669
37114
|
|
|
36670
37115
|
|
|
36671
37116
|
|
|
37117
|
+
|
|
36672
37118
|
|
|
36673
37119
|
|
|
36674
37120
|
/**
|
|
@@ -36926,6 +37372,27 @@ export interface Preference_SetXsrfPathsRequest {
|
|
|
36926
37372
|
|
|
36927
37373
|
// Void response...
|
|
36928
37374
|
|
|
37375
|
+
/**
|
|
37376
|
+
* Returns the XSRF token value and last update time for the current user
|
|
37377
|
+
* Returns XsrfValue
|
|
37378
|
+
*/
|
|
37379
|
+
export interface Preference_GetXsrfValueRequest {
|
|
37380
|
+
}
|
|
37381
|
+
|
|
37382
|
+
// response object: XsrfValue
|
|
37383
|
+
|
|
37384
|
+
/**
|
|
37385
|
+
* Sets the XSRF token value for the current user
|
|
37386
|
+
*/
|
|
37387
|
+
export interface Preference_SetXsrfValueRequest {
|
|
37388
|
+
/**
|
|
37389
|
+
* The XSRF value to store
|
|
37390
|
+
*/
|
|
37391
|
+
xsrfValue: string;
|
|
37392
|
+
}
|
|
37393
|
+
|
|
37394
|
+
// Void response...
|
|
37395
|
+
|
|
36929
37396
|
|
|
36930
37397
|
/**
|
|
36931
37398
|
* Preference description, drives the Preference GUI. Maintenance client - controls all preferences in SuperOffice.
|
|
@@ -37364,6 +37831,30 @@ export interface TabOrder extends Carrier {
|
|
|
37364
37831
|
|
|
37365
37832
|
|
|
37366
37833
|
|
|
37834
|
+
/**
|
|
37835
|
+
* XSRF token value and last update time
|
|
37836
|
+
*/
|
|
37837
|
+
export interface XsrfValue {
|
|
37838
|
+
|
|
37839
|
+
|
|
37840
|
+
/**
|
|
37841
|
+
* The XSRF token value
|
|
37842
|
+
*/
|
|
37843
|
+
value?: string;
|
|
37844
|
+
|
|
37845
|
+
/**
|
|
37846
|
+
* When the XSRF value was last updated (UTC)
|
|
37847
|
+
*/
|
|
37848
|
+
lastUpdated?: Date;
|
|
37849
|
+
|
|
37850
|
+
}
|
|
37851
|
+
|
|
37852
|
+
|
|
37853
|
+
|
|
37854
|
+
|
|
37855
|
+
|
|
37856
|
+
|
|
37857
|
+
|
|
37367
37858
|
|
|
37368
37859
|
|
|
37369
37860
|
|
|
@@ -37506,6 +37997,50 @@ export interface ExtendedModuleLicense {
|
|
|
37506
37997
|
|
|
37507
37998
|
|
|
37508
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
|
+
|
|
37509
38044
|
/**
|
|
37510
38045
|
* License information, hashed and signed with public keys to prevent tampering. Counts License usage and assignments.
|
|
37511
38046
|
*/
|
|
@@ -37825,6 +38360,15 @@ export interface License_SaveCentralLicenseRequest {
|
|
|
37825
38360
|
|
|
37826
38361
|
// response object: LicenseOwner[]
|
|
37827
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
|
+
|
|
37828
38372
|
|
|
37829
38373
|
/**
|
|
37830
38374
|
* Represents all licenses for this owner at this site.
|
|
@@ -38324,6 +38868,35 @@ export interface User_CheckAccessGatewayRegistrationRequest {
|
|
|
38324
38868
|
|
|
38325
38869
|
// response object: boolean
|
|
38326
38870
|
|
|
38871
|
+
/**
|
|
38872
|
+
* Exchanges an authorization code for tokens.
|
|
38873
|
+
* Returns string
|
|
38874
|
+
*/
|
|
38875
|
+
export interface User_ExchangeCodeAndSaveTokensRequest {
|
|
38876
|
+
/**
|
|
38877
|
+
* The provider of the underlying data.
|
|
38878
|
+
*/
|
|
38879
|
+
provider: string;
|
|
38880
|
+
/**
|
|
38881
|
+
* The authorization code to exchange for a token.
|
|
38882
|
+
*/
|
|
38883
|
+
authorizationCode: string;
|
|
38884
|
+
/**
|
|
38885
|
+
* The nonce to verify against the id_token's nonce if present.
|
|
38886
|
+
*/
|
|
38887
|
+
nonce: string;
|
|
38888
|
+
/**
|
|
38889
|
+
* The cryptographic proof for the client to verify.
|
|
38890
|
+
*/
|
|
38891
|
+
pkceVerifier: string;
|
|
38892
|
+
/**
|
|
38893
|
+
* We need to be able to dynamically inject the redirect based on location(app.superoffice.com vs online2.superoffice.com)
|
|
38894
|
+
*/
|
|
38895
|
+
redirectUri: string;
|
|
38896
|
+
}
|
|
38897
|
+
|
|
38898
|
+
// response object: string
|
|
38899
|
+
|
|
38327
38900
|
|
|
38328
38901
|
/**
|
|
38329
38902
|
* Credentials supported for authentication
|
|
@@ -39057,20 +39630,25 @@ export interface TokenManagementInfo extends Carrier {
|
|
|
39057
39630
|
|
|
39058
39631
|
|
|
39059
39632
|
/**
|
|
39060
|
-
* The provider
|
|
39633
|
+
* The provider the access and refresh token belong to.
|
|
39061
39634
|
*/
|
|
39062
39635
|
provider?: string;
|
|
39063
39636
|
|
|
39064
39637
|
/**
|
|
39065
|
-
* Access token
|
|
39638
|
+
* Access token (Provider)
|
|
39066
39639
|
*/
|
|
39067
39640
|
accessToken?: string;
|
|
39068
39641
|
|
|
39069
39642
|
/**
|
|
39070
|
-
* Refresh token
|
|
39643
|
+
* Refresh token (Provider)
|
|
39071
39644
|
*/
|
|
39072
39645
|
refreshToken?: string;
|
|
39073
39646
|
|
|
39647
|
+
/**
|
|
39648
|
+
* JSON serialized dictionary of claims from the AG id_token
|
|
39649
|
+
*/
|
|
39650
|
+
claims?: string;
|
|
39651
|
+
|
|
39074
39652
|
}
|
|
39075
39653
|
|
|
39076
39654
|
|
|
@@ -43314,6 +43892,15 @@ export interface Dash_GetPossibleDashQuickFiltersRequest {
|
|
|
43314
43892
|
|
|
43315
43893
|
// response object: QuickFilterInfo[]
|
|
43316
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
|
+
|
|
43317
43904
|
|
|
43318
43905
|
/**
|
|
43319
43906
|
* Collection of dashboards for an associate
|
|
@@ -47975,6 +48562,36 @@ export interface Ticket_AcceptTicketsRequest {
|
|
|
47975
48562
|
|
|
47976
48563
|
// Void response...
|
|
47977
48564
|
|
|
48565
|
+
/**
|
|
48566
|
+
* Sets tickets' status to SPAM. After a grace period these tickets will be deleted by a background job.
|
|
48567
|
+
* Returns number[]
|
|
48568
|
+
*/
|
|
48569
|
+
export interface Ticket_SetSpamStatusByIdsRequest {
|
|
48570
|
+
/**
|
|
48571
|
+
* Ids of tickets to be set for SPAM.
|
|
48572
|
+
*/
|
|
48573
|
+
ticketIds: number[];
|
|
48574
|
+
}
|
|
48575
|
+
|
|
48576
|
+
// response object: number[]
|
|
48577
|
+
|
|
48578
|
+
/**
|
|
48579
|
+
* Sets tickets' status to SPAM. After a grace period these tickets will be deleted by a background job.
|
|
48580
|
+
* Returns number[]
|
|
48581
|
+
*/
|
|
48582
|
+
export interface Ticket_SetSpamStatusByProviderRequest {
|
|
48583
|
+
/**
|
|
48584
|
+
* Name of the provider that returns ticket rows.
|
|
48585
|
+
*/
|
|
48586
|
+
providerName: string;
|
|
48587
|
+
/**
|
|
48588
|
+
* Query restrictions to be added to provider. Fixed providers, such as LastTicketsProvider, FavouriteTicketsProvider etc. already have mandatory restrictions setup - in such case extra restrictions will be combined, however for general use case for fixed providers you can pass an empty array and provider will return default results. For selection providers generally you should pass selectionId as a restriction.
|
|
48589
|
+
*/
|
|
48590
|
+
restrictions: ArchiveRestrictionInfo[];
|
|
48591
|
+
}
|
|
48592
|
+
|
|
48593
|
+
// response object: number[]
|
|
48594
|
+
|
|
47978
48595
|
|
|
47979
48596
|
/**
|
|
47980
48597
|
* The TicketMessage carrier is used for representing a service ticket message
|
|
@@ -48678,6 +49295,40 @@ export interface Ticket_GetTicketMessageWithOptionsRequest {
|
|
|
48678
49295
|
// response object: TicketMessageEntity
|
|
48679
49296
|
|
|
48680
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
|
+
|
|
48681
49332
|
/**
|
|
48682
49333
|
* Relationship between two tickets, as described by the TicketRelationDefinition.
|
|
48683
49334
|
*/
|
|
@@ -48700,7 +49351,7 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48700
49351
|
destinationTicketId?: number;
|
|
48701
49352
|
|
|
48702
49353
|
/**
|
|
48703
|
-
*
|
|
49354
|
+
* The type of relation between the two tickets.
|
|
48704
49355
|
*/
|
|
48705
49356
|
relationType?: enums.TicketRelationType;
|
|
48706
49357
|
|
|
@@ -48716,6 +49367,257 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
48716
49367
|
|
|
48717
49368
|
|
|
48718
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
|
+
|
|
48719
49621
|
|
|
48720
49622
|
/**
|
|
48721
49623
|
* The ticket summary with heading, created date.
|
|
@@ -48783,6 +49685,9 @@ export interface Ticket_GetTicketSummariesRequest {
|
|
|
48783
49685
|
|
|
48784
49686
|
|
|
48785
49687
|
|
|
49688
|
+
|
|
49689
|
+
|
|
49690
|
+
|
|
48786
49691
|
/**
|
|
48787
49692
|
* The extra table entity contains meta data for an extra table (not implemented yet)
|
|
48788
49693
|
*/
|
|
@@ -51185,6 +52090,89 @@ export interface AI_AnswerAcceptedRequest {
|
|
|
51185
52090
|
|
|
51186
52091
|
// Void response...
|
|
51187
52092
|
|
|
52093
|
+
/**
|
|
52094
|
+
* Returns an answer based on the query, and provided context.
|
|
52095
|
+
* Returns RagAnswer
|
|
52096
|
+
*/
|
|
52097
|
+
export interface AI_AnswerUsingContextRequest {
|
|
52098
|
+
/**
|
|
52099
|
+
* Defines the search domain used for generating answer. e.g. 'ServiceCopilot'
|
|
52100
|
+
*/
|
|
52101
|
+
namespaceName: string;
|
|
52102
|
+
/**
|
|
52103
|
+
* Question. The search query to answer.
|
|
52104
|
+
*/
|
|
52105
|
+
query: string;
|
|
52106
|
+
/**
|
|
52107
|
+
* The IDs of the current context for contact, person, project, sale, and ticket.
|
|
52108
|
+
*/
|
|
52109
|
+
contextIds: RagContextIds;
|
|
52110
|
+
/**
|
|
52111
|
+
* Filter results based on content type. Default: None = no filtering
|
|
52112
|
+
*/
|
|
52113
|
+
type: enums.RagType;
|
|
52114
|
+
/**
|
|
52115
|
+
* Max Number of results to use in generating answer.
|
|
52116
|
+
*/
|
|
52117
|
+
top: number;
|
|
52118
|
+
}
|
|
52119
|
+
|
|
52120
|
+
// response object: RagAnswer
|
|
52121
|
+
|
|
52122
|
+
|
|
52123
|
+
/**
|
|
52124
|
+
* Parameters specifying contact/person/project/sale/ticket ids for populating context.
|
|
52125
|
+
*/
|
|
52126
|
+
export interface RagContextIds {
|
|
52127
|
+
|
|
52128
|
+
|
|
52129
|
+
/**
|
|
52130
|
+
* Identifier for a contact
|
|
52131
|
+
*/
|
|
52132
|
+
contactId?: number;
|
|
52133
|
+
|
|
52134
|
+
/**
|
|
52135
|
+
* Identifier for a person
|
|
52136
|
+
*/
|
|
52137
|
+
personId?: number;
|
|
52138
|
+
|
|
52139
|
+
/**
|
|
52140
|
+
* Identifier for a project
|
|
52141
|
+
*/
|
|
52142
|
+
projectId?: number;
|
|
52143
|
+
|
|
52144
|
+
/**
|
|
52145
|
+
* Identifier for a selection
|
|
52146
|
+
*/
|
|
52147
|
+
selectionId?: number;
|
|
52148
|
+
|
|
52149
|
+
/**
|
|
52150
|
+
* Identifier for an appointment
|
|
52151
|
+
*/
|
|
52152
|
+
appointmentId?: number;
|
|
52153
|
+
|
|
52154
|
+
/**
|
|
52155
|
+
* Identifier for a document
|
|
52156
|
+
*/
|
|
52157
|
+
documentId?: number;
|
|
52158
|
+
|
|
52159
|
+
/**
|
|
52160
|
+
* Identifier for a sale
|
|
52161
|
+
*/
|
|
52162
|
+
saleId?: number;
|
|
52163
|
+
|
|
52164
|
+
/**
|
|
52165
|
+
* Identifier for ticket/request
|
|
52166
|
+
*/
|
|
52167
|
+
ticketId?: number;
|
|
52168
|
+
|
|
52169
|
+
}
|
|
52170
|
+
|
|
52171
|
+
|
|
52172
|
+
|
|
52173
|
+
|
|
52174
|
+
|
|
52175
|
+
|
|
51188
52176
|
|
|
51189
52177
|
/**
|
|
51190
52178
|
* Contains the result of an AI search, with relevance score, document refernce, relevant text chunk.
|
|
@@ -52203,6 +53191,15 @@ export interface Workflow_CopyEmailFlowRequest {
|
|
|
52203
53191
|
|
|
52204
53192
|
// response object: number
|
|
52205
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
|
+
|
|
52206
53203
|
|
|
52207
53204
|
/**
|
|
52208
53205
|
* FieldValue carrier
|