@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/dist/esm/Carriers.d.ts
CHANGED
|
@@ -5182,6 +5182,23 @@ export interface Contact_EnrichContactEntityRequest {
|
|
|
5182
5182
|
*/
|
|
5183
5183
|
enrichId: string;
|
|
5184
5184
|
}
|
|
5185
|
+
/**
|
|
5186
|
+
* Update interests on contact. Will throw exception if id is in both arrays
|
|
5187
|
+
*/
|
|
5188
|
+
export interface Contact_UpdateInterestsRequest {
|
|
5189
|
+
/**
|
|
5190
|
+
* Contact id to update interests for
|
|
5191
|
+
*/
|
|
5192
|
+
contactId: number;
|
|
5193
|
+
/**
|
|
5194
|
+
* The interest ids to set on the contact. This will set these interests to true and not touch any other interests.
|
|
5195
|
+
*/
|
|
5196
|
+
enableInterestIds: number[];
|
|
5197
|
+
/**
|
|
5198
|
+
* The interest ids to diable on the contact. This will set these interests to false and not touch any other interests.
|
|
5199
|
+
*/
|
|
5200
|
+
disableInterestIds: number[];
|
|
5201
|
+
}
|
|
5185
5202
|
/**
|
|
5186
5203
|
* Getting the contacts where the user currently logged in is set as contact owner.
|
|
5187
5204
|
* Returns Contact[]
|
|
@@ -6512,6 +6529,23 @@ export interface Person_SetUtmCreatedPersonContactForFormSubmissionRequest {
|
|
|
6512
6529
|
*/
|
|
6513
6530
|
contactId: number;
|
|
6514
6531
|
}
|
|
6532
|
+
/**
|
|
6533
|
+
* Update interests on person. Will throw exception if id is in both arrays
|
|
6534
|
+
*/
|
|
6535
|
+
export interface Person_UpdateInterestsRequest {
|
|
6536
|
+
/**
|
|
6537
|
+
* Person id to update interests for
|
|
6538
|
+
*/
|
|
6539
|
+
personId: number;
|
|
6540
|
+
/**
|
|
6541
|
+
* The interest ids to set on the person. This will set these interests to true and not touch any other interests.
|
|
6542
|
+
*/
|
|
6543
|
+
enableInterestIds: number[];
|
|
6544
|
+
/**
|
|
6545
|
+
* The interest ids to diable on the person. This will set these interests to false and not touch any other interests.
|
|
6546
|
+
*/
|
|
6547
|
+
disableInterestIds: number[];
|
|
6548
|
+
}
|
|
6515
6549
|
/**
|
|
6516
6550
|
* Scaled person image
|
|
6517
6551
|
*/
|
|
@@ -8354,6 +8388,12 @@ export interface Project_SaveProjectEntityWithoutMembersRequest {
|
|
|
8354
8388
|
*/
|
|
8355
8389
|
projectEntity: ProjectEntity;
|
|
8356
8390
|
}
|
|
8391
|
+
/**
|
|
8392
|
+
* Get the current project fencing status for the tenant
|
|
8393
|
+
* Returns FencingInfo
|
|
8394
|
+
*/
|
|
8395
|
+
export interface Project_GetProjectFencingInfoRequest {
|
|
8396
|
+
}
|
|
8357
8397
|
/**
|
|
8358
8398
|
* A project that is also an event. Used by Audience
|
|
8359
8399
|
*/
|
|
@@ -18474,6 +18514,49 @@ export interface List_SetTicketRelationDefinitionSortOrderRequest {
|
|
|
18474
18514
|
*/
|
|
18475
18515
|
sortOrder: number;
|
|
18476
18516
|
}
|
|
18517
|
+
/**
|
|
18518
|
+
* Validate a ticket relation definition against combinations of source and destination ticket types. Returns one result per source/destination pair.
|
|
18519
|
+
* Returns TicketRelationDefinitionResult[]
|
|
18520
|
+
*/
|
|
18521
|
+
export interface List_ValidateTicketRelationDefinitionRequest {
|
|
18522
|
+
/**
|
|
18523
|
+
* The id of the relation definition being validated. Pass 0 when creating a new definition.
|
|
18524
|
+
*/
|
|
18525
|
+
ticketRelationDefinitionId: number;
|
|
18526
|
+
/**
|
|
18527
|
+
* The ticket type ids to use as source in the validation.
|
|
18528
|
+
*/
|
|
18529
|
+
sourceTicketTypeIds: number[];
|
|
18530
|
+
/**
|
|
18531
|
+
* The ticket type ids to use as destination in the validation.
|
|
18532
|
+
*/
|
|
18533
|
+
destinationTicketTypeIds: number[];
|
|
18534
|
+
/**
|
|
18535
|
+
* The relation type to validate.
|
|
18536
|
+
*/
|
|
18537
|
+
relationType: enums.TicketRelationType;
|
|
18538
|
+
}
|
|
18539
|
+
/**
|
|
18540
|
+
* Validation result for a single source/destination ticket type combination in a relation definition.
|
|
18541
|
+
*/
|
|
18542
|
+
export interface TicketRelationDefinitionResult {
|
|
18543
|
+
/**
|
|
18544
|
+
* The source ticket type id this result applies to.
|
|
18545
|
+
*/
|
|
18546
|
+
sourceTicketTypeId?: number;
|
|
18547
|
+
/**
|
|
18548
|
+
* The destination ticket type id this result applies to.
|
|
18549
|
+
*/
|
|
18550
|
+
destinationTicketTypeId?: number;
|
|
18551
|
+
/**
|
|
18552
|
+
* True if no conflicting relation definition exists for this combination.
|
|
18553
|
+
*/
|
|
18554
|
+
isValid?: boolean;
|
|
18555
|
+
/**
|
|
18556
|
+
* Name of the conflicting relation definition if IsValid is false.
|
|
18557
|
+
*/
|
|
18558
|
+
existingRelationDefinitionName?: string;
|
|
18559
|
+
}
|
|
18477
18560
|
/**
|
|
18478
18561
|
* Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.
|
|
18479
18562
|
*/
|
|
@@ -20102,6 +20185,74 @@ export interface DiaryViewEntity extends Carrier {
|
|
|
20102
20185
|
*/
|
|
20103
20186
|
tzLocationId?: number;
|
|
20104
20187
|
}
|
|
20188
|
+
/**
|
|
20189
|
+
* Per-associate landing page configuration for an entity (type of landing page), including pinned selections and pinned entity records.
|
|
20190
|
+
*/
|
|
20191
|
+
export interface LandingPageEntity extends Carrier {
|
|
20192
|
+
/**
|
|
20193
|
+
* Primary key
|
|
20194
|
+
*/
|
|
20195
|
+
landingPageId?: number;
|
|
20196
|
+
/**
|
|
20197
|
+
* The associate this landing page belongs to
|
|
20198
|
+
*/
|
|
20199
|
+
associateId?: number;
|
|
20200
|
+
/**
|
|
20201
|
+
* Entity table name (contact, person, sale, ...) identifying the type of landing page.
|
|
20202
|
+
*/
|
|
20203
|
+
entityTableName?: string;
|
|
20204
|
+
/**
|
|
20205
|
+
* The selection to show on the landing page
|
|
20206
|
+
*/
|
|
20207
|
+
selectionId?: number;
|
|
20208
|
+
/**
|
|
20209
|
+
* Selections pinned on this landing page. Item.Id = selectionId, Item.Name = selection name.
|
|
20210
|
+
*/
|
|
20211
|
+
pinnedSelections?: MDOListItem[];
|
|
20212
|
+
/**
|
|
20213
|
+
* Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
|
|
20214
|
+
*/
|
|
20215
|
+
pinnedEntities?: MDOListItem[];
|
|
20216
|
+
}
|
|
20217
|
+
/**
|
|
20218
|
+
* Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
|
|
20219
|
+
* Returns LandingPageEntity
|
|
20220
|
+
*/
|
|
20221
|
+
export interface Configuration_GetLandingPageRequest {
|
|
20222
|
+
/**
|
|
20223
|
+
* Id of the associate.
|
|
20224
|
+
*/
|
|
20225
|
+
associateId: number;
|
|
20226
|
+
/**
|
|
20227
|
+
* Entity table name (contact, person, sale, ...), transformed to and from the numeric table number by the service layer.
|
|
20228
|
+
*/
|
|
20229
|
+
tableName: string;
|
|
20230
|
+
}
|
|
20231
|
+
/**
|
|
20232
|
+
* Pin or unpin an entity or selection on the landing page identified by associate and entity table. Creates the landing page row if it does not exist.
|
|
20233
|
+
*/
|
|
20234
|
+
export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
20235
|
+
/**
|
|
20236
|
+
* True to pin the item, false to unpin it.
|
|
20237
|
+
*/
|
|
20238
|
+
pin: boolean;
|
|
20239
|
+
/**
|
|
20240
|
+
* Id of the associate that owns the landing page.
|
|
20241
|
+
*/
|
|
20242
|
+
associateId: number;
|
|
20243
|
+
/**
|
|
20244
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
20245
|
+
*/
|
|
20246
|
+
entityTableName: string;
|
|
20247
|
+
/**
|
|
20248
|
+
* Table name of the record being pinned (selection, contact, person, sale, ...).
|
|
20249
|
+
*/
|
|
20250
|
+
pinTableName: string;
|
|
20251
|
+
/**
|
|
20252
|
+
* Id of the record to pin or unpin.
|
|
20253
|
+
*/
|
|
20254
|
+
recordId: number;
|
|
20255
|
+
}
|
|
20105
20256
|
/**
|
|
20106
20257
|
* Entity for system events
|
|
20107
20258
|
*/
|
|
@@ -21187,6 +21338,20 @@ export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
|
|
|
21187
21338
|
*/
|
|
21188
21339
|
tableName: string;
|
|
21189
21340
|
}
|
|
21341
|
+
/**
|
|
21342
|
+
* Operations related to ticket usage
|
|
21343
|
+
*/
|
|
21344
|
+
export interface TicketUsage extends Carrier {
|
|
21345
|
+
}
|
|
21346
|
+
/**
|
|
21347
|
+
* Logs and registers resolved ticket count to the metering service
|
|
21348
|
+
*/
|
|
21349
|
+
export interface Diagnostics_RegisterClosedTicketsUsageRequest {
|
|
21350
|
+
/**
|
|
21351
|
+
* IDs of closed tickets
|
|
21352
|
+
*/
|
|
21353
|
+
ticketIds: number[];
|
|
21354
|
+
}
|
|
21190
21355
|
/**
|
|
21191
21356
|
*
|
|
21192
21357
|
*/
|
|
@@ -22454,6 +22619,10 @@ export interface EMailAccount extends Carrier {
|
|
|
22454
22619
|
* When we last fetched email
|
|
22455
22620
|
*/
|
|
22456
22621
|
lastFetch?: Date;
|
|
22622
|
+
/**
|
|
22623
|
+
* Use the GraphApi for this account
|
|
22624
|
+
*/
|
|
22625
|
+
useGraphApi?: number;
|
|
22457
22626
|
}
|
|
22458
22627
|
/**
|
|
22459
22628
|
* Returns the email account corresponding to this email address (for the current associate).
|
|
@@ -22674,6 +22843,10 @@ export interface EMailConnectionInfo extends Carrier {
|
|
|
22674
22843
|
* Use a secure connection with the server
|
|
22675
22844
|
*/
|
|
22676
22845
|
useSSL?: boolean;
|
|
22846
|
+
/**
|
|
22847
|
+
* Use Graph API
|
|
22848
|
+
*/
|
|
22849
|
+
useGraphApi?: boolean;
|
|
22677
22850
|
}
|
|
22678
22851
|
/**
|
|
22679
22852
|
*
|
|
@@ -22707,6 +22880,10 @@ export interface EMailConnectionInfoExtended extends Carrier {
|
|
|
22707
22880
|
* Optional folder to set as current after logging in
|
|
22708
22881
|
*/
|
|
22709
22882
|
folder?: string;
|
|
22883
|
+
/**
|
|
22884
|
+
* Use Graph API
|
|
22885
|
+
*/
|
|
22886
|
+
useGraphApi?: boolean;
|
|
22710
22887
|
}
|
|
22711
22888
|
/**
|
|
22712
22889
|
*
|
|
@@ -22785,6 +22962,10 @@ export interface EMailEntity extends Carrier {
|
|
|
22785
22962
|
* Unique id for the e-mail on the server
|
|
22786
22963
|
*/
|
|
22787
22964
|
serverId?: number;
|
|
22965
|
+
/**
|
|
22966
|
+
* Server identifier of this email item (GraphApi uses string Id's)
|
|
22967
|
+
*/
|
|
22968
|
+
serverIdentifier?: string;
|
|
22788
22969
|
/**
|
|
22789
22970
|
*
|
|
22790
22971
|
*/
|
|
@@ -22856,6 +23037,32 @@ export interface EMail_GetEMailFromIdRequest {
|
|
|
22856
23037
|
*/
|
|
22857
23038
|
includeAttachments: boolean;
|
|
22858
23039
|
}
|
|
23040
|
+
/**
|
|
23041
|
+
* Get en e-mail based on its unique id string
|
|
23042
|
+
* Returns EMailEntity
|
|
23043
|
+
*/
|
|
23044
|
+
export interface EMail_GetEMailFromServerIdentifierRequest {
|
|
23045
|
+
/**
|
|
23046
|
+
* All information needed to connect to the mailserver
|
|
23047
|
+
*/
|
|
23048
|
+
connectionInfo: EMailConnectionInfo;
|
|
23049
|
+
/**
|
|
23050
|
+
* Unique ID for the e-mail to retrieve
|
|
23051
|
+
*/
|
|
23052
|
+
messageServerId: string;
|
|
23053
|
+
/**
|
|
23054
|
+
* If true try to look up e-mail addresses in from/to/cc/bcc fields against superoffice contacts
|
|
23055
|
+
*/
|
|
23056
|
+
lookupAddresses: boolean;
|
|
23057
|
+
/**
|
|
23058
|
+
* Any flags to apply to the fetched item. Ex: Seen/Answered
|
|
23059
|
+
*/
|
|
23060
|
+
flags: enums.EMailFlags;
|
|
23061
|
+
/**
|
|
23062
|
+
* Should we retrieve attachments embedded in the e-mail from the server
|
|
23063
|
+
*/
|
|
23064
|
+
includeAttachments: boolean;
|
|
23065
|
+
}
|
|
22859
23066
|
/**
|
|
22860
23067
|
* Send the provided e-mails
|
|
22861
23068
|
* Returns EMailEntity[]
|
|
@@ -22940,6 +23147,24 @@ export interface EMail_GetAttachmentRequest {
|
|
|
22940
23147
|
*/
|
|
22941
23148
|
attachmentId: string;
|
|
22942
23149
|
}
|
|
23150
|
+
/**
|
|
23151
|
+
* Retrieve an attachment from an e-mail
|
|
23152
|
+
* Returns EMailAttachment
|
|
23153
|
+
*/
|
|
23154
|
+
export interface EMail_GetAttachmentFromServerIdentifierRequest {
|
|
23155
|
+
/**
|
|
23156
|
+
* All information needed to connect to the mailserver
|
|
23157
|
+
*/
|
|
23158
|
+
connectionInfo: EMailConnectionInfo;
|
|
23159
|
+
/**
|
|
23160
|
+
* Unique ID for the e-mail to retrieve the attachment from
|
|
23161
|
+
*/
|
|
23162
|
+
messageServerId: string;
|
|
23163
|
+
/**
|
|
23164
|
+
* Id of the attachment in the e-mail
|
|
23165
|
+
*/
|
|
23166
|
+
attachmentId: string;
|
|
23167
|
+
}
|
|
22943
23168
|
/**
|
|
22944
23169
|
* Mark one or more e-mails as (un)read
|
|
22945
23170
|
*/
|
|
@@ -22957,6 +23182,23 @@ export interface EMail_MarkAsReadRequest {
|
|
|
22957
23182
|
*/
|
|
22958
23183
|
read: boolean;
|
|
22959
23184
|
}
|
|
23185
|
+
/**
|
|
23186
|
+
* Mark one or more e-mails as (un)read
|
|
23187
|
+
*/
|
|
23188
|
+
export interface EMail_MarkAsReadFromServerIdentifiersRequest {
|
|
23189
|
+
/**
|
|
23190
|
+
* All information needed to connect to the mailserver
|
|
23191
|
+
*/
|
|
23192
|
+
connectionInfo: EMailConnectionInfo;
|
|
23193
|
+
/**
|
|
23194
|
+
* The e-mails to handle
|
|
23195
|
+
*/
|
|
23196
|
+
messageServerIds: string[];
|
|
23197
|
+
/**
|
|
23198
|
+
* If true mails are marked as read. If false mails are marked as unread.
|
|
23199
|
+
*/
|
|
23200
|
+
read: boolean;
|
|
23201
|
+
}
|
|
22960
23202
|
/**
|
|
22961
23203
|
* Retrieve total/unread mail items in current folder
|
|
22962
23204
|
* Returns number
|
|
@@ -22988,6 +23230,23 @@ export interface EMail_DeleteRequest {
|
|
|
22988
23230
|
*/
|
|
22989
23231
|
moveToFolder: string;
|
|
22990
23232
|
}
|
|
23233
|
+
/**
|
|
23234
|
+
* Delete specified mail items
|
|
23235
|
+
*/
|
|
23236
|
+
export interface EMail_DeleteFromServerIdentifierRequest {
|
|
23237
|
+
/**
|
|
23238
|
+
* All information needed to connect to the mailserver
|
|
23239
|
+
*/
|
|
23240
|
+
connectionInfo: EMailConnectionInfo;
|
|
23241
|
+
/**
|
|
23242
|
+
* The e-mails to handle
|
|
23243
|
+
*/
|
|
23244
|
+
messageServerIds: string[];
|
|
23245
|
+
/**
|
|
23246
|
+
* If set, move deleted items to this folder
|
|
23247
|
+
*/
|
|
23248
|
+
moveToFolder: string;
|
|
23249
|
+
}
|
|
22991
23250
|
/**
|
|
22992
23251
|
* Moved specified items from current folder to targetFolder
|
|
22993
23252
|
*/
|
|
@@ -23005,6 +23264,23 @@ export interface EMail_MoveToFolderRequest {
|
|
|
23005
23264
|
*/
|
|
23006
23265
|
targetFolder: string;
|
|
23007
23266
|
}
|
|
23267
|
+
/**
|
|
23268
|
+
* Moved specified items from current folder to targetFolder
|
|
23269
|
+
*/
|
|
23270
|
+
export interface EMail_MoveToFolderFromServerIdentifierRequest {
|
|
23271
|
+
/**
|
|
23272
|
+
* All information needed to connect to the mailserver
|
|
23273
|
+
*/
|
|
23274
|
+
connectionInfo: EMailConnectionInfo;
|
|
23275
|
+
/**
|
|
23276
|
+
* The e-mails to handle
|
|
23277
|
+
*/
|
|
23278
|
+
messageServerIds: string[];
|
|
23279
|
+
/**
|
|
23280
|
+
* Name of folder to move items to
|
|
23281
|
+
*/
|
|
23282
|
+
targetFolder: string;
|
|
23283
|
+
}
|
|
23008
23284
|
/**
|
|
23009
23285
|
* Delete all items in folder specified in the connection object
|
|
23010
23286
|
*/
|
|
@@ -23036,6 +23312,24 @@ export interface EMail_GetEMailAsStreamRequest {
|
|
|
23036
23312
|
*/
|
|
23037
23313
|
stripAttachments: boolean;
|
|
23038
23314
|
}
|
|
23315
|
+
/**
|
|
23316
|
+
* Retrieve an e-mail optionally stripping attachments as a stream
|
|
23317
|
+
* Returns Blob
|
|
23318
|
+
*/
|
|
23319
|
+
export interface EMail_GetEMailAsStreamFromServerIdentifierRequest {
|
|
23320
|
+
/**
|
|
23321
|
+
* All information needed to connect to the mailserver
|
|
23322
|
+
*/
|
|
23323
|
+
connectionInfo: EMailConnectionInfo;
|
|
23324
|
+
/**
|
|
23325
|
+
* Unique ID for the e-mail to retrieve
|
|
23326
|
+
*/
|
|
23327
|
+
messageServerId: string;
|
|
23328
|
+
/**
|
|
23329
|
+
* If true, do not include attachments in stream
|
|
23330
|
+
*/
|
|
23331
|
+
stripAttachments: boolean;
|
|
23332
|
+
}
|
|
23039
23333
|
/**
|
|
23040
23334
|
* Search for contacts and persons with the specified e-mail address (exact match on the email address string required)
|
|
23041
23335
|
* Returns EMailAddress[]
|
|
@@ -23152,6 +23446,20 @@ export interface EMail_GetEMailEnvelopesRequest {
|
|
|
23152
23446
|
*/
|
|
23153
23447
|
messageServerIds: number[];
|
|
23154
23448
|
}
|
|
23449
|
+
/**
|
|
23450
|
+
* Retrieve a set of e-mail envelopes
|
|
23451
|
+
* Returns EMailEnvelope[]
|
|
23452
|
+
*/
|
|
23453
|
+
export interface EMail_GetEMailEnvelopesFromServerIdsRequest {
|
|
23454
|
+
/**
|
|
23455
|
+
* All information needed to connect to the mailserver
|
|
23456
|
+
*/
|
|
23457
|
+
connectionInfo: EMailConnectionInfo;
|
|
23458
|
+
/**
|
|
23459
|
+
* Unique identitifiers for the e-mails to retrieve envelopes for
|
|
23460
|
+
*/
|
|
23461
|
+
messageServerIds: string[];
|
|
23462
|
+
}
|
|
23155
23463
|
/**
|
|
23156
23464
|
* Set subscription on or off on a set of folders
|
|
23157
23465
|
*/
|
|
@@ -23831,6 +24139,10 @@ export interface EMailEnvelope extends Carrier {
|
|
|
23831
24139
|
* Unique id for the e-mail on the server
|
|
23832
24140
|
*/
|
|
23833
24141
|
serverId?: number;
|
|
24142
|
+
/**
|
|
24143
|
+
* Unique string id for the e-mail on the server (Graph API
|
|
24144
|
+
*/
|
|
24145
|
+
serverIdentifier?: string;
|
|
23834
24146
|
/**
|
|
23835
24147
|
* Unique id of e-mails
|
|
23836
24148
|
*/
|
|
@@ -24936,9 +25248,45 @@ export interface Webhook {
|
|
|
24936
25248
|
*/
|
|
24937
25249
|
updatedAssociate?: Associate;
|
|
24938
25250
|
/**
|
|
24939
|
-
*
|
|
25251
|
+
* Obsolete, use ErrorEmails instead
|
|
24940
25252
|
*/
|
|
24941
25253
|
errorsEmail?: string;
|
|
25254
|
+
/**
|
|
25255
|
+
* Email addresses to notify when this webhook is disabled.
|
|
25256
|
+
*/
|
|
25257
|
+
errorEmails?: string[];
|
|
25258
|
+
/**
|
|
25259
|
+
* Associates to notify when this webhook is disabled.
|
|
25260
|
+
*/
|
|
25261
|
+
errorAssociates?: MDOListItem[];
|
|
25262
|
+
/**
|
|
25263
|
+
* Human-readable description of what this webhook does.
|
|
25264
|
+
*/
|
|
25265
|
+
description?: string;
|
|
25266
|
+
/**
|
|
25267
|
+
* How to notify recipients when this webhook changes state. 1=Email, 2=InApp.
|
|
25268
|
+
*/
|
|
25269
|
+
notifyVia?: enums.WebhookNotifyVia;
|
|
25270
|
+
/**
|
|
25271
|
+
* When to notify recipients. Bitflag: 1=FirstFailure, 2=Disabling.
|
|
25272
|
+
*/
|
|
25273
|
+
notifyWhen?: enums.WebhookNotifyWhen;
|
|
25274
|
+
/**
|
|
25275
|
+
* Number of times webhook has been invoked since registered. For statistical purposes.
|
|
25276
|
+
*/
|
|
25277
|
+
totalCalls?: number;
|
|
25278
|
+
/**
|
|
25279
|
+
* Number of times webhook has returned error since registered. For statistical purposes.
|
|
25280
|
+
*/
|
|
25281
|
+
totalErrors?: number;
|
|
25282
|
+
/**
|
|
25283
|
+
* Number of consecutive errors. Reset to 0 when an non-error is received. If too many errors, webhook.state is changed to TooManyErrors(3) to deactivate webhook.
|
|
25284
|
+
*/
|
|
25285
|
+
consecutiveErrors?: number;
|
|
25286
|
+
/**
|
|
25287
|
+
* Most recent error message received from target. HTTP Headers + body. To help with debugging webhooks.
|
|
25288
|
+
*/
|
|
25289
|
+
lastError?: string;
|
|
24942
25290
|
}
|
|
24943
25291
|
/**
|
|
24944
25292
|
* Returns all webhooks, according to filter criteria
|
|
@@ -27723,6 +28071,21 @@ export interface Preference_SetXsrfPathsRequest {
|
|
|
27723
28071
|
*/
|
|
27724
28072
|
paths: string[];
|
|
27725
28073
|
}
|
|
28074
|
+
/**
|
|
28075
|
+
* Returns the XSRF token value and last update time for the current user
|
|
28076
|
+
* Returns XsrfValue
|
|
28077
|
+
*/
|
|
28078
|
+
export interface Preference_GetXsrfValueRequest {
|
|
28079
|
+
}
|
|
28080
|
+
/**
|
|
28081
|
+
* Sets the XSRF token value for the current user
|
|
28082
|
+
*/
|
|
28083
|
+
export interface Preference_SetXsrfValueRequest {
|
|
28084
|
+
/**
|
|
28085
|
+
* The XSRF value to store
|
|
28086
|
+
*/
|
|
28087
|
+
xsrfValue: string;
|
|
28088
|
+
}
|
|
27726
28089
|
/**
|
|
27727
28090
|
* Preference description, drives the Preference GUI. Maintenance client - controls all preferences in SuperOffice.
|
|
27728
28091
|
*/
|
|
@@ -28042,6 +28405,19 @@ export interface TabOrder extends Carrier {
|
|
|
28042
28405
|
*/
|
|
28043
28406
|
associateId?: number;
|
|
28044
28407
|
}
|
|
28408
|
+
/**
|
|
28409
|
+
* XSRF token value and last update time
|
|
28410
|
+
*/
|
|
28411
|
+
export interface XsrfValue {
|
|
28412
|
+
/**
|
|
28413
|
+
* The XSRF token value
|
|
28414
|
+
*/
|
|
28415
|
+
value?: string;
|
|
28416
|
+
/**
|
|
28417
|
+
* When the XSRF value was last updated (UTC)
|
|
28418
|
+
*/
|
|
28419
|
+
lastUpdated?: Date;
|
|
28420
|
+
}
|
|
28045
28421
|
/**
|
|
28046
28422
|
* Result of CheckLicenseStatus
|
|
28047
28423
|
*/
|
|
@@ -28125,6 +28501,35 @@ export interface ExtendedModuleLicense {
|
|
|
28125
28501
|
*/
|
|
28126
28502
|
numberOfLicensesTotal?: number;
|
|
28127
28503
|
}
|
|
28504
|
+
/**
|
|
28505
|
+
* Information about entity fencing status, including current count and maximum active entities
|
|
28506
|
+
*/
|
|
28507
|
+
export interface FencingInfo extends Carrier {
|
|
28508
|
+
/**
|
|
28509
|
+
* Number of active entities
|
|
28510
|
+
*/
|
|
28511
|
+
activeCount?: number;
|
|
28512
|
+
/**
|
|
28513
|
+
* Maximum number of active entities allowed
|
|
28514
|
+
*/
|
|
28515
|
+
maximum?: number;
|
|
28516
|
+
/**
|
|
28517
|
+
* True if the active entity count is approaching the maximum
|
|
28518
|
+
*/
|
|
28519
|
+
isNearingMaximum?: boolean;
|
|
28520
|
+
/**
|
|
28521
|
+
* True if the active entity count has reached or exceeded the maximum
|
|
28522
|
+
*/
|
|
28523
|
+
hasReachedMaximum?: boolean;
|
|
28524
|
+
/**
|
|
28525
|
+
* Localized warning message to display when nearing or at the maximum
|
|
28526
|
+
*/
|
|
28527
|
+
warningMessage?: string;
|
|
28528
|
+
/**
|
|
28529
|
+
* Localized warning message to display as a tooltip when nearing or at the maximum
|
|
28530
|
+
*/
|
|
28531
|
+
warningTooltip?: string;
|
|
28532
|
+
}
|
|
28128
28533
|
/**
|
|
28129
28534
|
* License information, hashed and signed with public keys to prevent tampering. Counts License usage and assignments.
|
|
28130
28535
|
*/
|
|
@@ -28370,6 +28775,12 @@ export interface License_SaveCentralLicenseRequest {
|
|
|
28370
28775
|
*/
|
|
28371
28776
|
license: LicenseOwner[];
|
|
28372
28777
|
}
|
|
28778
|
+
/**
|
|
28779
|
+
* Returns fencinginfo if license fence is near or reached
|
|
28780
|
+
* Returns FencingInfo
|
|
28781
|
+
*/
|
|
28782
|
+
export interface License_GetFencingInfoRequest {
|
|
28783
|
+
}
|
|
28373
28784
|
/**
|
|
28374
28785
|
* Represents all licenses for this owner at this site.
|
|
28375
28786
|
*/
|
|
@@ -28706,6 +29117,32 @@ export interface User_RegisterWithAccessGatewayRequest {
|
|
|
28706
29117
|
*/
|
|
28707
29118
|
export interface User_CheckAccessGatewayRegistrationRequest {
|
|
28708
29119
|
}
|
|
29120
|
+
/**
|
|
29121
|
+
* Exchanges an authorization code for tokens.
|
|
29122
|
+
* Returns string
|
|
29123
|
+
*/
|
|
29124
|
+
export interface User_ExchangeCodeAndSaveTokensRequest {
|
|
29125
|
+
/**
|
|
29126
|
+
* The provider of the underlying data.
|
|
29127
|
+
*/
|
|
29128
|
+
provider: string;
|
|
29129
|
+
/**
|
|
29130
|
+
* The authorization code to exchange for a token.
|
|
29131
|
+
*/
|
|
29132
|
+
authorizationCode: string;
|
|
29133
|
+
/**
|
|
29134
|
+
* The nonce to verify against the id_token's nonce if present.
|
|
29135
|
+
*/
|
|
29136
|
+
nonce: string;
|
|
29137
|
+
/**
|
|
29138
|
+
* The cryptographic proof for the client to verify.
|
|
29139
|
+
*/
|
|
29140
|
+
pkceVerifier: string;
|
|
29141
|
+
/**
|
|
29142
|
+
* We need to be able to dynamically inject the redirect based on location(app.superoffice.com vs online2.superoffice.com)
|
|
29143
|
+
*/
|
|
29144
|
+
redirectUri: string;
|
|
29145
|
+
}
|
|
28709
29146
|
/**
|
|
28710
29147
|
* Credentials supported for authentication
|
|
28711
29148
|
*/
|
|
@@ -29209,17 +29646,21 @@ export interface ServiceAuth extends Carrier {
|
|
|
29209
29646
|
*/
|
|
29210
29647
|
export interface TokenManagementInfo extends Carrier {
|
|
29211
29648
|
/**
|
|
29212
|
-
* The provider
|
|
29649
|
+
* The provider the access and refresh token belong to.
|
|
29213
29650
|
*/
|
|
29214
29651
|
provider?: string;
|
|
29215
29652
|
/**
|
|
29216
|
-
* Access token
|
|
29653
|
+
* Access token (Provider)
|
|
29217
29654
|
*/
|
|
29218
29655
|
accessToken?: string;
|
|
29219
29656
|
/**
|
|
29220
|
-
* Refresh token
|
|
29657
|
+
* Refresh token (Provider)
|
|
29221
29658
|
*/
|
|
29222
29659
|
refreshToken?: string;
|
|
29660
|
+
/**
|
|
29661
|
+
* JSON serialized dictionary of claims from the AG id_token
|
|
29662
|
+
*/
|
|
29663
|
+
claims?: string;
|
|
29223
29664
|
}
|
|
29224
29665
|
/**
|
|
29225
29666
|
* Saves the external tokens to the DB and returns a key that can be used to retrieve them
|
|
@@ -32290,6 +32731,12 @@ export interface Dash_GetPossibleDashQuickFiltersRequest {
|
|
|
32290
32731
|
*/
|
|
32291
32732
|
dashboardId: number;
|
|
32292
32733
|
}
|
|
32734
|
+
/**
|
|
32735
|
+
* Get the current dashboard fencing status for the tenant
|
|
32736
|
+
* Returns FencingInfo
|
|
32737
|
+
*/
|
|
32738
|
+
export interface Dash_GetDashboardFencingInfoRequest {
|
|
32739
|
+
}
|
|
32293
32740
|
/**
|
|
32294
32741
|
* Collection of dashboards for an associate
|
|
32295
32742
|
*/
|
|
@@ -35747,6 +36194,30 @@ export interface Ticket_AcceptTicketsRequest {
|
|
|
35747
36194
|
*/
|
|
35748
36195
|
ticketIds: number[];
|
|
35749
36196
|
}
|
|
36197
|
+
/**
|
|
36198
|
+
* Sets tickets' status to SPAM. After a grace period these tickets will be deleted by a background job.
|
|
36199
|
+
* Returns number[]
|
|
36200
|
+
*/
|
|
36201
|
+
export interface Ticket_SetSpamStatusByIdsRequest {
|
|
36202
|
+
/**
|
|
36203
|
+
* Ids of tickets to be set for SPAM.
|
|
36204
|
+
*/
|
|
36205
|
+
ticketIds: number[];
|
|
36206
|
+
}
|
|
36207
|
+
/**
|
|
36208
|
+
* Sets tickets' status to SPAM. After a grace period these tickets will be deleted by a background job.
|
|
36209
|
+
* Returns number[]
|
|
36210
|
+
*/
|
|
36211
|
+
export interface Ticket_SetSpamStatusByProviderRequest {
|
|
36212
|
+
/**
|
|
36213
|
+
* Name of the provider that returns ticket rows.
|
|
36214
|
+
*/
|
|
36215
|
+
providerName: string;
|
|
36216
|
+
/**
|
|
36217
|
+
* 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.
|
|
36218
|
+
*/
|
|
36219
|
+
restrictions: ArchiveRestrictionInfo[];
|
|
36220
|
+
}
|
|
35750
36221
|
/**
|
|
35751
36222
|
* The TicketMessage carrier is used for representing a service ticket message
|
|
35752
36223
|
*/
|
|
@@ -36304,6 +36775,27 @@ export interface Ticket_GetTicketMessageWithOptionsRequest {
|
|
|
36304
36775
|
*/
|
|
36305
36776
|
includeNonInlineAttachmentsInfo: boolean;
|
|
36306
36777
|
}
|
|
36778
|
+
/**
|
|
36779
|
+
* Relation-driven actions applicable to a ticket, indicating whether to offer closing the parent or whether open children are blocking the ticket from being closed.
|
|
36780
|
+
*/
|
|
36781
|
+
export interface TicketRelationAction {
|
|
36782
|
+
/**
|
|
36783
|
+
* ID of the parent ticket to offer closing when all its children are closed. 0 if not applicable.
|
|
36784
|
+
*/
|
|
36785
|
+
ticketIdToClose?: number;
|
|
36786
|
+
/**
|
|
36787
|
+
* True if a parent relation is mandatory for this ticket type.
|
|
36788
|
+
*/
|
|
36789
|
+
isParentRequired?: boolean;
|
|
36790
|
+
/**
|
|
36791
|
+
* True if the ticket may be closed. False if unclosed children are blocking it.
|
|
36792
|
+
*/
|
|
36793
|
+
canCloseCurrentTicket?: boolean;
|
|
36794
|
+
/**
|
|
36795
|
+
* Ids of unclosed child tickets. If CanCloseCurrentTicket is false, these are the tickets blocking the close.
|
|
36796
|
+
*/
|
|
36797
|
+
children?: number[];
|
|
36798
|
+
}
|
|
36307
36799
|
/**
|
|
36308
36800
|
* Relationship between two tickets, as described by the TicketRelationDefinition.
|
|
36309
36801
|
*/
|
|
@@ -36321,7 +36813,7 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
36321
36813
|
*/
|
|
36322
36814
|
destinationTicketId?: number;
|
|
36323
36815
|
/**
|
|
36324
|
-
*
|
|
36816
|
+
* The type of relation between the two tickets.
|
|
36325
36817
|
*/
|
|
36326
36818
|
relationType?: enums.TicketRelationType;
|
|
36327
36819
|
/**
|
|
@@ -36329,6 +36821,199 @@ export interface TicketRelationEntity extends Carrier {
|
|
|
36329
36821
|
*/
|
|
36330
36822
|
comment?: string;
|
|
36331
36823
|
}
|
|
36824
|
+
/**
|
|
36825
|
+
* Get all relations for a ticket.
|
|
36826
|
+
* Returns TicketRelationItem[]
|
|
36827
|
+
*/
|
|
36828
|
+
export interface Ticket_GetTicketRelationsRequest {
|
|
36829
|
+
/**
|
|
36830
|
+
* The id of the ticket to get relations for.
|
|
36831
|
+
*/
|
|
36832
|
+
ticketId: number;
|
|
36833
|
+
}
|
|
36834
|
+
/**
|
|
36835
|
+
* Get the parent ticket id. Returns 0 if the ticket has no parent.
|
|
36836
|
+
* Returns number
|
|
36837
|
+
*/
|
|
36838
|
+
export interface Ticket_GetTicketParentIdRequest {
|
|
36839
|
+
/**
|
|
36840
|
+
* The id of the ticket to get the parent for.
|
|
36841
|
+
*/
|
|
36842
|
+
ticketId: number;
|
|
36843
|
+
}
|
|
36844
|
+
/**
|
|
36845
|
+
* Set the parent of a ticket. If the ticket already has a parent, it will be overwritten.
|
|
36846
|
+
*/
|
|
36847
|
+
export interface Ticket_SetTicketParentRequest {
|
|
36848
|
+
/**
|
|
36849
|
+
* The id of the ticket to set the parent on.
|
|
36850
|
+
*/
|
|
36851
|
+
ticketId: number;
|
|
36852
|
+
/**
|
|
36853
|
+
* The id of the ticket to set as parent.
|
|
36854
|
+
*/
|
|
36855
|
+
parentTicketId: number;
|
|
36856
|
+
/**
|
|
36857
|
+
* Optional comment to store on the relation.
|
|
36858
|
+
*/
|
|
36859
|
+
comment: string;
|
|
36860
|
+
}
|
|
36861
|
+
/**
|
|
36862
|
+
* Validate proposed ticket relations without saving them. Returns a result per source ticket indicating whether the relation is valid.
|
|
36863
|
+
* Returns TicketRelationResult[]
|
|
36864
|
+
*/
|
|
36865
|
+
export interface Ticket_ValidateTicketRelationsRequest {
|
|
36866
|
+
/**
|
|
36867
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
36868
|
+
*/
|
|
36869
|
+
sourceTicketIds: number[];
|
|
36870
|
+
/**
|
|
36871
|
+
* The id of the ticket that the source tickets will be related to.
|
|
36872
|
+
*/
|
|
36873
|
+
destinationTicketId: number;
|
|
36874
|
+
/**
|
|
36875
|
+
* The type of relation to create.
|
|
36876
|
+
*/
|
|
36877
|
+
relationType: enums.TicketRelationType;
|
|
36878
|
+
}
|
|
36879
|
+
/**
|
|
36880
|
+
* Create multiple ticket relations in a single call. Returns a result per source ticket indicating success or failure.
|
|
36881
|
+
* Returns TicketRelationResult[]
|
|
36882
|
+
*/
|
|
36883
|
+
export interface Ticket_CreateTicketRelationsRequest {
|
|
36884
|
+
/**
|
|
36885
|
+
* The ids of the tickets to relate to the destination ticket.
|
|
36886
|
+
*/
|
|
36887
|
+
sourceTicketIds: number[];
|
|
36888
|
+
/**
|
|
36889
|
+
* The id of the ticket that the source tickets will be related to.
|
|
36890
|
+
*/
|
|
36891
|
+
destinationTicketId: number;
|
|
36892
|
+
/**
|
|
36893
|
+
* The type of relation to create.
|
|
36894
|
+
*/
|
|
36895
|
+
relationType: enums.TicketRelationType;
|
|
36896
|
+
/**
|
|
36897
|
+
* Optional comment to store on each relation.
|
|
36898
|
+
*/
|
|
36899
|
+
comment: string;
|
|
36900
|
+
}
|
|
36901
|
+
/**
|
|
36902
|
+
* Get the relation-driven actions that apply to a ticket, such as whether to offer closing the parent or whether open children are blocking the ticket from being closed.
|
|
36903
|
+
* Returns TicketRelationAction
|
|
36904
|
+
*/
|
|
36905
|
+
export interface Ticket_GetTicketRelationActionsRequest {
|
|
36906
|
+
/**
|
|
36907
|
+
* The id of the ticket being evaluated.
|
|
36908
|
+
*/
|
|
36909
|
+
ticketId: number;
|
|
36910
|
+
/**
|
|
36911
|
+
* The id of the parent ticket, if any. Pass 0 if there is no parent.
|
|
36912
|
+
*/
|
|
36913
|
+
parentTicketId: number;
|
|
36914
|
+
/**
|
|
36915
|
+
* The id of the ticket type.
|
|
36916
|
+
*/
|
|
36917
|
+
ticketTypeId: number;
|
|
36918
|
+
}
|
|
36919
|
+
/**
|
|
36920
|
+
* A ticket related to another ticket, including counts of how many further relations it has.
|
|
36921
|
+
*/
|
|
36922
|
+
export interface TicketRelationItem {
|
|
36923
|
+
/**
|
|
36924
|
+
* Primary key
|
|
36925
|
+
*/
|
|
36926
|
+
ticketRelationId?: number;
|
|
36927
|
+
/**
|
|
36928
|
+
* How this item relates to the source ticket: parent, child, or related.
|
|
36929
|
+
*/
|
|
36930
|
+
relationType?: enums.TicketRelationType;
|
|
36931
|
+
/**
|
|
36932
|
+
* Free-text comment stored on the relation row.
|
|
36933
|
+
*/
|
|
36934
|
+
relationComment?: string;
|
|
36935
|
+
/**
|
|
36936
|
+
* Whether the related ticket has a parent relation.
|
|
36937
|
+
*/
|
|
36938
|
+
hasParent?: boolean;
|
|
36939
|
+
/**
|
|
36940
|
+
* Number of child relations the related ticket has.
|
|
36941
|
+
*/
|
|
36942
|
+
childCount?: number;
|
|
36943
|
+
/**
|
|
36944
|
+
* Number of plain related relations the related ticket has.
|
|
36945
|
+
*/
|
|
36946
|
+
relatedCount?: number;
|
|
36947
|
+
/**
|
|
36948
|
+
* Registered when
|
|
36949
|
+
*/
|
|
36950
|
+
relationCreatedAt?: Date;
|
|
36951
|
+
/**
|
|
36952
|
+
* The primary key (auto-incremented)
|
|
36953
|
+
*/
|
|
36954
|
+
ticketId?: number;
|
|
36955
|
+
/**
|
|
36956
|
+
* The title of the ticket.
|
|
36957
|
+
*/
|
|
36958
|
+
title?: string;
|
|
36959
|
+
/**
|
|
36960
|
+
* Icon representing the ticket's state.
|
|
36961
|
+
*/
|
|
36962
|
+
iconHint?: string;
|
|
36963
|
+
/**
|
|
36964
|
+
* The reference to the customer. NULL or -1 if ticket is not connected to customer.
|
|
36965
|
+
*/
|
|
36966
|
+
custId?: number;
|
|
36967
|
+
/**
|
|
36968
|
+
* Get the full name for the primary person (customer)
|
|
36969
|
+
*/
|
|
36970
|
+
personFullname?: string;
|
|
36971
|
+
/**
|
|
36972
|
+
* The company of the person in the cust_id field, if that person belongs to a company
|
|
36973
|
+
*/
|
|
36974
|
+
contactId?: number;
|
|
36975
|
+
/**
|
|
36976
|
+
* The name of the connected contact
|
|
36977
|
+
*/
|
|
36978
|
+
contactName?: string;
|
|
36979
|
+
/**
|
|
36980
|
+
* The status of the ticket. I.e. active/closed/postponed/deleted
|
|
36981
|
+
*/
|
|
36982
|
+
baseStatus?: enums.TicketBaseStatus;
|
|
36983
|
+
/**
|
|
36984
|
+
* User defined ticket status
|
|
36985
|
+
*/
|
|
36986
|
+
ticketStatus?: number;
|
|
36987
|
+
/**
|
|
36988
|
+
* Get the display name of the ticket status.
|
|
36989
|
+
*/
|
|
36990
|
+
ticketStatusDisplayValue?: string;
|
|
36991
|
+
/**
|
|
36992
|
+
* When the ticket was created.
|
|
36993
|
+
*/
|
|
36994
|
+
ticketCreatedAt?: Date;
|
|
36995
|
+
}
|
|
36996
|
+
/**
|
|
36997
|
+
* Result of a ticket relation operation, indicating success or the reason for failure.
|
|
36998
|
+
*/
|
|
36999
|
+
export interface TicketRelationResult {
|
|
37000
|
+
/**
|
|
37001
|
+
* The id of the source ticket this result applies to.
|
|
37002
|
+
*/
|
|
37003
|
+
sourceTicketId?: number;
|
|
37004
|
+
/**
|
|
37005
|
+
* True if the operation succeeded; false if it failed.
|
|
37006
|
+
*/
|
|
37007
|
+
isValid?: boolean;
|
|
37008
|
+
/**
|
|
37009
|
+
* The reason the operation failed, if IsValid is false.
|
|
37010
|
+
*/
|
|
37011
|
+
relationError?: enums.TicketRelationError;
|
|
37012
|
+
/**
|
|
37013
|
+
* Error message describing why the operation failed, if IsValid is false.
|
|
37014
|
+
*/
|
|
37015
|
+
errorMessage?: string;
|
|
37016
|
+
}
|
|
36332
37017
|
/**
|
|
36333
37018
|
* The ticket summary with heading, created date.
|
|
36334
37019
|
*/
|
|
@@ -38126,6 +38811,69 @@ export interface AI_AnswerAcceptedRequest {
|
|
|
38126
38811
|
*/
|
|
38127
38812
|
trackingId: string;
|
|
38128
38813
|
}
|
|
38814
|
+
/**
|
|
38815
|
+
* Returns an answer based on the query, and provided context.
|
|
38816
|
+
* Returns RagAnswer
|
|
38817
|
+
*/
|
|
38818
|
+
export interface AI_AnswerUsingContextRequest {
|
|
38819
|
+
/**
|
|
38820
|
+
* Defines the search domain used for generating answer. e.g. 'ServiceCopilot'
|
|
38821
|
+
*/
|
|
38822
|
+
namespaceName: string;
|
|
38823
|
+
/**
|
|
38824
|
+
* Question. The search query to answer.
|
|
38825
|
+
*/
|
|
38826
|
+
query: string;
|
|
38827
|
+
/**
|
|
38828
|
+
* The IDs of the current context for contact, person, project, sale, and ticket.
|
|
38829
|
+
*/
|
|
38830
|
+
contextIds: RagContextIds;
|
|
38831
|
+
/**
|
|
38832
|
+
* Filter results based on content type. Default: None = no filtering
|
|
38833
|
+
*/
|
|
38834
|
+
type: enums.RagType;
|
|
38835
|
+
/**
|
|
38836
|
+
* Max Number of results to use in generating answer.
|
|
38837
|
+
*/
|
|
38838
|
+
top: number;
|
|
38839
|
+
}
|
|
38840
|
+
/**
|
|
38841
|
+
* Parameters specifying contact/person/project/sale/ticket ids for populating context.
|
|
38842
|
+
*/
|
|
38843
|
+
export interface RagContextIds {
|
|
38844
|
+
/**
|
|
38845
|
+
* Identifier for a contact
|
|
38846
|
+
*/
|
|
38847
|
+
contactId?: number;
|
|
38848
|
+
/**
|
|
38849
|
+
* Identifier for a person
|
|
38850
|
+
*/
|
|
38851
|
+
personId?: number;
|
|
38852
|
+
/**
|
|
38853
|
+
* Identifier for a project
|
|
38854
|
+
*/
|
|
38855
|
+
projectId?: number;
|
|
38856
|
+
/**
|
|
38857
|
+
* Identifier for a selection
|
|
38858
|
+
*/
|
|
38859
|
+
selectionId?: number;
|
|
38860
|
+
/**
|
|
38861
|
+
* Identifier for an appointment
|
|
38862
|
+
*/
|
|
38863
|
+
appointmentId?: number;
|
|
38864
|
+
/**
|
|
38865
|
+
* Identifier for a document
|
|
38866
|
+
*/
|
|
38867
|
+
documentId?: number;
|
|
38868
|
+
/**
|
|
38869
|
+
* Identifier for a sale
|
|
38870
|
+
*/
|
|
38871
|
+
saleId?: number;
|
|
38872
|
+
/**
|
|
38873
|
+
* Identifier for ticket/request
|
|
38874
|
+
*/
|
|
38875
|
+
ticketId?: number;
|
|
38876
|
+
}
|
|
38129
38877
|
/**
|
|
38130
38878
|
* Contains the result of an AI search, with relevance score, document refernce, relevant text chunk.
|
|
38131
38879
|
*/
|
|
@@ -38893,6 +39641,12 @@ export interface Workflow_CopyEmailFlowRequest {
|
|
|
38893
39641
|
*/
|
|
38894
39642
|
newName: string;
|
|
38895
39643
|
}
|
|
39644
|
+
/**
|
|
39645
|
+
* Get the current Workflow fencing status for the tenant
|
|
39646
|
+
* Returns FencingInfo
|
|
39647
|
+
*/
|
|
39648
|
+
export interface Workflow_GetWorkflowFencingInfoRequest {
|
|
39649
|
+
}
|
|
38896
39650
|
/**
|
|
38897
39651
|
* FieldValue carrier
|
|
38898
39652
|
*/
|