@superoffice/webapi 10.5.3 → 10.5.5
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 +16 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +34 -0
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/AppointmentAgent.d.ts +117 -0
- package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
- package/dist/cjs/AppointmentAgent.js +242 -0
- package/dist/cjs/AppointmentAgent.js.map +1 -1
- package/dist/cjs/CRMScriptAgent.d.ts +31 -0
- package/dist/cjs/CRMScriptAgent.d.ts.map +1 -1
- package/dist/cjs/CRMScriptAgent.js +67 -0
- package/dist/cjs/CRMScriptAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +1289 -31
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/Converters.d.ts +30 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +635 -30
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/CustomerServiceAgent.d.ts +30 -0
- package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/cjs/CustomerServiceAgent.js +66 -0
- package/dist/cjs/CustomerServiceAgent.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +105 -0
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/cjs/DiagnosticsAgent.js +229 -0
- package/dist/cjs/DiagnosticsAgent.js.map +1 -1
- package/dist/cjs/DocumentAgent.d.ts +17 -0
- package/dist/cjs/DocumentAgent.d.ts.map +1 -1
- package/dist/cjs/DocumentAgent.js +36 -0
- package/dist/cjs/DocumentAgent.js.map +1 -1
- package/dist/cjs/DocumentMigrationAgent.d.ts +7 -0
- package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -1
- package/dist/cjs/DocumentMigrationAgent.js +24 -0
- package/dist/cjs/DocumentMigrationAgent.js.map +1 -1
- package/dist/cjs/EMailAgent.d.ts +33 -0
- package/dist/cjs/EMailAgent.d.ts.map +1 -1
- package/dist/cjs/EMailAgent.js +69 -0
- package/dist/cjs/EMailAgent.js.map +1 -1
- package/dist/cjs/Enums.d.ts +299 -5
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +309 -4
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/LicenseAgent.d.ts +15 -0
- package/dist/cjs/LicenseAgent.d.ts.map +1 -1
- package/dist/cjs/LicenseAgent.js +33 -0
- package/dist/cjs/LicenseAgent.js.map +1 -1
- package/dist/cjs/ListAgent.d.ts +23 -22
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +36 -48
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/MDOAgent.d.ts +1 -1
- package/dist/cjs/MarketingAgent.d.ts +31 -0
- package/dist/cjs/MarketingAgent.d.ts.map +1 -1
- package/dist/cjs/MarketingAgent.js +67 -0
- package/dist/cjs/MarketingAgent.js.map +1 -1
- package/dist/cjs/PersonAgent.d.ts +35 -0
- package/dist/cjs/PersonAgent.d.ts.map +1 -1
- package/dist/cjs/PersonAgent.js +71 -0
- package/dist/cjs/PersonAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +16 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +34 -0
- package/dist/cjs/ProjectAgent.js.map +1 -1
- package/dist/cjs/QuoteAgent.d.ts +16 -0
- package/dist/cjs/QuoteAgent.d.ts.map +1 -1
- package/dist/cjs/QuoteAgent.js +34 -0
- package/dist/cjs/QuoteAgent.js.map +1 -1
- package/dist/cjs/SaleAgent.d.ts +47 -0
- package/dist/cjs/SaleAgent.d.ts.map +1 -1
- package/dist/cjs/SaleAgent.js +101 -0
- package/dist/cjs/SaleAgent.js.map +1 -1
- package/dist/cjs/SelectionAgent.d.ts +15 -7
- package/dist/cjs/SelectionAgent.d.ts.map +1 -1
- package/dist/cjs/SelectionAgent.js +33 -21
- package/dist/cjs/SelectionAgent.js.map +1 -1
- package/dist/cjs/SentryAgent.d.ts +15 -0
- package/dist/cjs/SentryAgent.d.ts.map +1 -1
- package/dist/cjs/SentryAgent.js +33 -0
- package/dist/cjs/SentryAgent.js.map +1 -1
- package/dist/cjs/TicketAgent.d.ts +117 -2
- package/dist/cjs/TicketAgent.d.ts.map +1 -1
- package/dist/cjs/TicketAgent.js +255 -0
- package/dist/cjs/TicketAgent.js.map +1 -1
- package/dist/cjs/WorkflowAgent.d.ts +80 -2
- package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
- package/dist/cjs/WorkflowAgent.js +188 -0
- package/dist/cjs/WorkflowAgent.js.map +1 -1
- package/dist/esm/AIAgent.d.ts +16 -0
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +34 -0
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/AppointmentAgent.d.ts +117 -0
- package/dist/esm/AppointmentAgent.d.ts.map +1 -1
- package/dist/esm/AppointmentAgent.js +242 -0
- package/dist/esm/AppointmentAgent.js.map +1 -1
- package/dist/esm/CRMScriptAgent.d.ts +31 -0
- package/dist/esm/CRMScriptAgent.d.ts.map +1 -1
- package/dist/esm/CRMScriptAgent.js +67 -0
- package/dist/esm/CRMScriptAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +1289 -31
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/Converters.d.ts +30 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +582 -8
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/CustomerServiceAgent.d.ts +30 -0
- package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
- package/dist/esm/CustomerServiceAgent.js +66 -0
- package/dist/esm/CustomerServiceAgent.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +105 -0
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/esm/DiagnosticsAgent.js +229 -0
- package/dist/esm/DiagnosticsAgent.js.map +1 -1
- package/dist/esm/DocumentAgent.d.ts +17 -0
- package/dist/esm/DocumentAgent.d.ts.map +1 -1
- package/dist/esm/DocumentAgent.js +36 -0
- package/dist/esm/DocumentAgent.js.map +1 -1
- package/dist/esm/DocumentMigrationAgent.d.ts +7 -0
- package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -1
- package/dist/esm/DocumentMigrationAgent.js +24 -0
- package/dist/esm/DocumentMigrationAgent.js.map +1 -1
- package/dist/esm/EMailAgent.d.ts +33 -0
- package/dist/esm/EMailAgent.d.ts.map +1 -1
- package/dist/esm/EMailAgent.js +69 -0
- package/dist/esm/EMailAgent.js.map +1 -1
- package/dist/esm/Enums.d.ts +299 -5
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +305 -0
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/LicenseAgent.d.ts +15 -0
- package/dist/esm/LicenseAgent.d.ts.map +1 -1
- package/dist/esm/LicenseAgent.js +33 -0
- package/dist/esm/LicenseAgent.js.map +1 -1
- package/dist/esm/ListAgent.d.ts +23 -22
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +36 -48
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/MDOAgent.d.ts +1 -1
- package/dist/esm/MarketingAgent.d.ts +31 -0
- package/dist/esm/MarketingAgent.d.ts.map +1 -1
- package/dist/esm/MarketingAgent.js +67 -0
- package/dist/esm/MarketingAgent.js.map +1 -1
- package/dist/esm/PersonAgent.d.ts +35 -0
- package/dist/esm/PersonAgent.d.ts.map +1 -1
- package/dist/esm/PersonAgent.js +71 -0
- package/dist/esm/PersonAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +16 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +34 -0
- package/dist/esm/ProjectAgent.js.map +1 -1
- package/dist/esm/QuoteAgent.d.ts +16 -0
- package/dist/esm/QuoteAgent.d.ts.map +1 -1
- package/dist/esm/QuoteAgent.js +34 -0
- package/dist/esm/QuoteAgent.js.map +1 -1
- package/dist/esm/SaleAgent.d.ts +47 -0
- package/dist/esm/SaleAgent.d.ts.map +1 -1
- package/dist/esm/SaleAgent.js +101 -0
- package/dist/esm/SaleAgent.js.map +1 -1
- package/dist/esm/SelectionAgent.d.ts +15 -7
- package/dist/esm/SelectionAgent.d.ts.map +1 -1
- package/dist/esm/SelectionAgent.js +33 -21
- package/dist/esm/SelectionAgent.js.map +1 -1
- package/dist/esm/SentryAgent.d.ts +15 -0
- package/dist/esm/SentryAgent.d.ts.map +1 -1
- package/dist/esm/SentryAgent.js +33 -0
- package/dist/esm/SentryAgent.js.map +1 -1
- package/dist/esm/TicketAgent.d.ts +117 -2
- package/dist/esm/TicketAgent.d.ts.map +1 -1
- package/dist/esm/TicketAgent.js +255 -0
- package/dist/esm/TicketAgent.js.map +1 -1
- package/dist/esm/WorkflowAgent.d.ts +80 -2
- package/dist/esm/WorkflowAgent.d.ts.map +1 -1
- package/dist/esm/WorkflowAgent.js +188 -0
- package/dist/esm/WorkflowAgent.js.map +1 -1
- package/package.json +5 -6
- package/src/AIAgent.ts +58 -0
- package/src/AppointmentAgent.ts +406 -0
- package/src/CRMScriptAgent.ts +114 -0
- package/src/Carriers.ts +1667 -34
- package/src/Converters.ts +677 -9
- package/src/CustomerServiceAgent.ts +112 -0
- package/src/DiagnosticsAgent.ts +380 -0
- package/src/DocumentAgent.ts +61 -0
- package/src/DocumentMigrationAgent.ts +30 -0
- package/src/EMailAgent.ts +118 -0
- package/src/Enums.ts +316 -0
- package/src/LicenseAgent.ts +56 -0
- package/src/ListAgent.ts +69 -65
- package/src/MDOAgent.ts +1 -1
- package/src/MarketingAgent.ts +114 -0
- package/src/PersonAgent.ts +122 -0
- package/src/ProjectAgent.ts +58 -0
- package/src/QuoteAgent.ts +58 -0
- package/src/SaleAgent.ts +172 -0
- package/src/SelectionAgent.ts +56 -23
- package/src/SentryAgent.ts +56 -0
- package/src/TicketAgent.ts +432 -2
- package/src/WorkflowAgent.ts +268 -2
package/dist/esm/Carriers.d.ts
CHANGED
|
@@ -807,7 +807,7 @@ export interface SoPrincipalCarrier {
|
|
|
807
807
|
*/
|
|
808
808
|
categoryId?: number;
|
|
809
809
|
/**
|
|
810
|
-
* Owner (
|
|
810
|
+
* Owner (AssociateId) of the company that the user belongs to.
|
|
811
811
|
*/
|
|
812
812
|
contactOwner?: number;
|
|
813
813
|
/**
|
|
@@ -2677,6 +2677,20 @@ export interface Quote_GetExtraInfoRequest {
|
|
|
2677
2677
|
*/
|
|
2678
2678
|
quoteLineExtraData: string;
|
|
2679
2679
|
}
|
|
2680
|
+
/**
|
|
2681
|
+
* Create and save quotelines based on the product keys added
|
|
2682
|
+
* Returns number
|
|
2683
|
+
*/
|
|
2684
|
+
export interface Quote_CreateAndSaveQuoteLinesRequest {
|
|
2685
|
+
/**
|
|
2686
|
+
* Primary key of the alternative
|
|
2687
|
+
*/
|
|
2688
|
+
quoteAlternativeId: number;
|
|
2689
|
+
/**
|
|
2690
|
+
* Array of the product keys to add
|
|
2691
|
+
*/
|
|
2692
|
+
erpProductKeys: string[];
|
|
2693
|
+
}
|
|
2680
2694
|
/**
|
|
2681
2695
|
* QuoteLineConfiguration contains information about which configuration fields that is visible in the GUI. Read only and mandatory fields are also specified.
|
|
2682
2696
|
*/
|
|
@@ -5574,6 +5588,24 @@ export interface Person extends Carrier {
|
|
|
5574
5588
|
* The category list item name
|
|
5575
5589
|
*/
|
|
5576
5590
|
categoryName?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* Alphanumeric user field
|
|
5593
|
+
*/
|
|
5594
|
+
personNumber?: string;
|
|
5595
|
+
}
|
|
5596
|
+
/**
|
|
5597
|
+
* Try to add a participant to the EmailFlow, Same function available in WorkflowAgent
|
|
5598
|
+
* Returns boolean[]
|
|
5599
|
+
*/
|
|
5600
|
+
export interface Person_TryAddPersonsToEmailFlowRequest {
|
|
5601
|
+
/**
|
|
5602
|
+
* Primary key of EmailFlow
|
|
5603
|
+
*/
|
|
5604
|
+
emailFlowId: number;
|
|
5605
|
+
/**
|
|
5606
|
+
* Array of Person Ids
|
|
5607
|
+
*/
|
|
5608
|
+
personIds: number[];
|
|
5577
5609
|
}
|
|
5578
5610
|
/**
|
|
5579
5611
|
* The Person Service. The service implements all services working with the Person object.
|
|
@@ -5831,6 +5863,10 @@ export interface PersonEntity extends Carrier {
|
|
|
5831
5863
|
* Active status monitor identity with the lowest rank for person
|
|
5832
5864
|
*/
|
|
5833
5865
|
activeStatusMonitorId?: number;
|
|
5866
|
+
/**
|
|
5867
|
+
* The form id of the form that created the person
|
|
5868
|
+
*/
|
|
5869
|
+
createdByFormId?: number;
|
|
5834
5870
|
/**
|
|
5835
5871
|
* Dictionary of user defined field data.
|
|
5836
5872
|
* The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
|
|
@@ -6193,6 +6229,32 @@ export interface Person_CreateTemporaryKeyRequest {
|
|
|
6193
6229
|
*/
|
|
6194
6230
|
expires: Date;
|
|
6195
6231
|
}
|
|
6232
|
+
/**
|
|
6233
|
+
* Create a temporary key in the database from the given parameters and return the key string. Used for temporary keys for accessing customer centric functionality, such as UpdateSubscriptions.
|
|
6234
|
+
* Returns string
|
|
6235
|
+
*/
|
|
6236
|
+
export interface Person_CreateTemporaryKeyWithPayloadRequest {
|
|
6237
|
+
/**
|
|
6238
|
+
* The domain this key is for
|
|
6239
|
+
*/
|
|
6240
|
+
domain: enums.TemporaryKeyDomain;
|
|
6241
|
+
/**
|
|
6242
|
+
* The primary key of the entity this is for. Depends on domain.
|
|
6243
|
+
*/
|
|
6244
|
+
targetId: number;
|
|
6245
|
+
/**
|
|
6246
|
+
* The person this key is for. May be null.
|
|
6247
|
+
*/
|
|
6248
|
+
personId: number;
|
|
6249
|
+
/**
|
|
6250
|
+
* When the key will expire (servers local time)
|
|
6251
|
+
*/
|
|
6252
|
+
expires: Date;
|
|
6253
|
+
/**
|
|
6254
|
+
* The payload for the temporary key
|
|
6255
|
+
*/
|
|
6256
|
+
payload: string;
|
|
6257
|
+
}
|
|
6196
6258
|
/**
|
|
6197
6259
|
* Check a temporary key for validity, and in case it is valid, return its domain, targetId and personId
|
|
6198
6260
|
* Returns TemporaryKeyInfo
|
|
@@ -6599,6 +6661,10 @@ export interface TemporaryKeyInfo extends Carrier {
|
|
|
6599
6661
|
* Whether the key is expired or not.
|
|
6600
6662
|
*/
|
|
6601
6663
|
isExpired?: boolean;
|
|
6664
|
+
/**
|
|
6665
|
+
* The payload for this key. May be null or empty.
|
|
6666
|
+
*/
|
|
6667
|
+
payload?: string;
|
|
6602
6668
|
}
|
|
6603
6669
|
/**
|
|
6604
6670
|
*
|
|
@@ -7025,6 +7091,16 @@ export interface Sale_ValidateSaleEntityRequest {
|
|
|
7025
7091
|
*/
|
|
7026
7092
|
saleEntity: SaleEntity;
|
|
7027
7093
|
}
|
|
7094
|
+
/**
|
|
7095
|
+
* Returns true is the sale has a quote
|
|
7096
|
+
* Returns boolean
|
|
7097
|
+
*/
|
|
7098
|
+
export interface Sale_SaleHasQuoteRequest {
|
|
7099
|
+
/**
|
|
7100
|
+
* The id of the sale
|
|
7101
|
+
*/
|
|
7102
|
+
saleId: number;
|
|
7103
|
+
}
|
|
7028
7104
|
/**
|
|
7029
7105
|
* Returning the opportunities (open sales) belonging to the user currently logged on
|
|
7030
7106
|
* Returns Sale[]
|
|
@@ -7104,6 +7180,19 @@ export interface Sale_SetAsSoldRequest {
|
|
|
7104
7180
|
*/
|
|
7105
7181
|
saleIds: number[];
|
|
7106
7182
|
}
|
|
7183
|
+
/**
|
|
7184
|
+
* Change the status of one or more Sales to Sold. Note that this does not mark them as Completed.
|
|
7185
|
+
*/
|
|
7186
|
+
export interface Sale_SetAsSoldWithReasonRequest {
|
|
7187
|
+
/**
|
|
7188
|
+
* Array of sale ids to be marked as lost. All the normal write access rules apply.
|
|
7189
|
+
*/
|
|
7190
|
+
saleIds: number[];
|
|
7191
|
+
/**
|
|
7192
|
+
* The ID of the sold reason.
|
|
7193
|
+
*/
|
|
7194
|
+
reasonId: number;
|
|
7195
|
+
}
|
|
7107
7196
|
/**
|
|
7108
7197
|
* Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
|
|
7109
7198
|
*/
|
|
@@ -7113,6 +7202,19 @@ export interface Sale_SetAsLostRequest {
|
|
|
7113
7202
|
*/
|
|
7114
7203
|
saleIds: number[];
|
|
7115
7204
|
}
|
|
7205
|
+
/**
|
|
7206
|
+
* Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
|
|
7207
|
+
*/
|
|
7208
|
+
export interface Sale_SetAsLostWithReasonRequest {
|
|
7209
|
+
/**
|
|
7210
|
+
* Array of sale ids to be marked as lost. All normal write access rules apply.
|
|
7211
|
+
*/
|
|
7212
|
+
saleIds: number[];
|
|
7213
|
+
/**
|
|
7214
|
+
* The ID of the lost reason.
|
|
7215
|
+
*/
|
|
7216
|
+
reasonId: number;
|
|
7217
|
+
}
|
|
7116
7218
|
/**
|
|
7117
7219
|
* Returns all sales for the contact provided.
|
|
7118
7220
|
* Returns Sale[]
|
|
@@ -8448,6 +8550,19 @@ export interface ProjectMember extends Carrier {
|
|
|
8448
8550
|
*/
|
|
8449
8551
|
fullName?: string;
|
|
8450
8552
|
}
|
|
8553
|
+
/**
|
|
8554
|
+
* Update existing project members. Not creating new (only projectmember_id > 0 accepted)
|
|
8555
|
+
*/
|
|
8556
|
+
export interface Project_UpdateProjectMembersRequest {
|
|
8557
|
+
/**
|
|
8558
|
+
* Project of which members will be updated
|
|
8559
|
+
*/
|
|
8560
|
+
projectId: number;
|
|
8561
|
+
/**
|
|
8562
|
+
* Project members to update
|
|
8563
|
+
*/
|
|
8564
|
+
projectMembers: ProjectMember[];
|
|
8565
|
+
}
|
|
8451
8566
|
/**
|
|
8452
8567
|
* Returns an array of project members
|
|
8453
8568
|
* Returns ProjectMember[]
|
|
@@ -8900,6 +9015,10 @@ export interface Appointment extends Carrier {
|
|
|
8900
9015
|
* Status field to indicate appointments that have some sort of problem
|
|
8901
9016
|
*/
|
|
8902
9017
|
cautionWarning?: enums.AppointmentCautionWarning;
|
|
9018
|
+
/**
|
|
9019
|
+
* Set if an external system owns this appointment.
|
|
9020
|
+
*/
|
|
9021
|
+
ownedExternally?: enums.AppointmentExternalOwner;
|
|
8903
9022
|
/**
|
|
8904
9023
|
* Blank when not a video meeting. Filled with Join Meeting URL when created.
|
|
8905
9024
|
*/
|
|
@@ -9182,6 +9301,10 @@ export interface AppointmentEntity extends Carrier {
|
|
|
9182
9301
|
* Status field to indicate appointments that have some sort of problem
|
|
9183
9302
|
*/
|
|
9184
9303
|
cautionWarning?: enums.AppointmentCautionWarning;
|
|
9304
|
+
/**
|
|
9305
|
+
* Set if an external system owns this appointment.
|
|
9306
|
+
*/
|
|
9307
|
+
ownedExternally?: enums.AppointmentExternalOwner;
|
|
9185
9308
|
/**
|
|
9186
9309
|
* Blank when not a video meeting. Filled with Join Meeting URL when created.
|
|
9187
9310
|
*/
|
|
@@ -9500,6 +9623,46 @@ export interface Appointment_MoveRequest {
|
|
|
9500
9623
|
*/
|
|
9501
9624
|
updateMode: enums.RecurrenceUpdateMode;
|
|
9502
9625
|
}
|
|
9626
|
+
/**
|
|
9627
|
+
* Moving a booking to another start time.
|
|
9628
|
+
* Returns AppointmentEntity
|
|
9629
|
+
*/
|
|
9630
|
+
export interface Appointment_MoveWithEmailRequest {
|
|
9631
|
+
/**
|
|
9632
|
+
* The appointmentId. Both master and child record ids are accepted.
|
|
9633
|
+
*/
|
|
9634
|
+
appointmentId: number;
|
|
9635
|
+
/**
|
|
9636
|
+
* The new start time for the moved booking.
|
|
9637
|
+
*/
|
|
9638
|
+
newStartTime: Date;
|
|
9639
|
+
/**
|
|
9640
|
+
* Update mode for a recurring appointment.
|
|
9641
|
+
*/
|
|
9642
|
+
updateMode: enums.RecurrenceUpdateMode;
|
|
9643
|
+
/**
|
|
9644
|
+
* If true, emails will be sent to all participants that is marked with send email flag if deemed necessary. If false no mails will be sent even if the send email flag is true.
|
|
9645
|
+
*/
|
|
9646
|
+
sendEmailToParticipants: boolean;
|
|
9647
|
+
/**
|
|
9648
|
+
* Login information for outgoing smtp email server. Will be null if no login information is relevant.
|
|
9649
|
+
*/
|
|
9650
|
+
smtpEMailConnectionInfo: EMailConnectionInfo;
|
|
9651
|
+
/**
|
|
9652
|
+
* Login information for imap server. Will be null if no login information is relevant.
|
|
9653
|
+
*/
|
|
9654
|
+
imapEMailConnectionInfo: EMailConnectionInfo;
|
|
9655
|
+
}
|
|
9656
|
+
/**
|
|
9657
|
+
* Moving a booking to another start time and with new info and possibly notifications.
|
|
9658
|
+
* Returns AppointmentEntity
|
|
9659
|
+
*/
|
|
9660
|
+
export interface Appointment_MoveExtendedRequest {
|
|
9661
|
+
/**
|
|
9662
|
+
* Move parameter data.
|
|
9663
|
+
*/
|
|
9664
|
+
appointmentMoveData: AppointmentMoveData;
|
|
9665
|
+
}
|
|
9503
9666
|
/**
|
|
9504
9667
|
* Accept that an invited participant has rejected your invitation or assignment.
|
|
9505
9668
|
* Returns AppointmentEntity
|
|
@@ -9839,6 +10002,16 @@ export interface Appointment_SaveWithCustomInvitationRequest {
|
|
|
9839
10002
|
*/
|
|
9840
10003
|
templateLanguage: string;
|
|
9841
10004
|
}
|
|
10005
|
+
/**
|
|
10006
|
+
* Convert appointment to task if certain criteria are met (participants < 2)
|
|
10007
|
+
* Returns AppointmentEntity
|
|
10008
|
+
*/
|
|
10009
|
+
export interface Appointment_ConvertAppointmentToTaskRequest {
|
|
10010
|
+
/**
|
|
10011
|
+
* Appointment ID
|
|
10012
|
+
*/
|
|
10013
|
+
appointmentId: number;
|
|
10014
|
+
}
|
|
9842
10015
|
/**
|
|
9843
10016
|
* Info about an appointment
|
|
9844
10017
|
*/
|
|
@@ -9867,6 +10040,18 @@ export interface AppointmentInfo extends Carrier {
|
|
|
9867
10040
|
* The color index of the appointment (task)
|
|
9868
10041
|
*/
|
|
9869
10042
|
colorIndex?: enums.ColorIndex;
|
|
10043
|
+
/**
|
|
10044
|
+
* The name of the appointment task type
|
|
10045
|
+
*/
|
|
10046
|
+
taskName?: string;
|
|
10047
|
+
/**
|
|
10048
|
+
* The name of the appointment contact.
|
|
10049
|
+
*/
|
|
10050
|
+
contactName?: string;
|
|
10051
|
+
/**
|
|
10052
|
+
* The name of the appointment project
|
|
10053
|
+
*/
|
|
10054
|
+
projectName?: string;
|
|
9870
10055
|
/**
|
|
9871
10056
|
* The appointment title (first line of appointment description)
|
|
9872
10057
|
*/
|
|
@@ -9891,6 +10076,46 @@ export interface AppointmentInfo extends Carrier {
|
|
|
9891
10076
|
* True if the appointment has a video link
|
|
9892
10077
|
*/
|
|
9893
10078
|
isVideoMeeting?: boolean;
|
|
10079
|
+
/**
|
|
10080
|
+
* True if the appointment has alarm
|
|
10081
|
+
*/
|
|
10082
|
+
hasAlarm?: boolean;
|
|
10083
|
+
/**
|
|
10084
|
+
* True if the appointment is completed
|
|
10085
|
+
*/
|
|
10086
|
+
isCompleted?: boolean;
|
|
10087
|
+
/**
|
|
10088
|
+
* True if the appointment is tentative
|
|
10089
|
+
*/
|
|
10090
|
+
isTentative?: boolean;
|
|
10091
|
+
/**
|
|
10092
|
+
* True if the appointment is a main booking
|
|
10093
|
+
*/
|
|
10094
|
+
isBookingMain?: boolean;
|
|
10095
|
+
/**
|
|
10096
|
+
* True if the appointment record has the email flag set
|
|
10097
|
+
*/
|
|
10098
|
+
sendEmail?: boolean;
|
|
10099
|
+
/**
|
|
10100
|
+
* True if any of the appointment records has the email flag set
|
|
10101
|
+
*/
|
|
10102
|
+
anySendEmail?: boolean;
|
|
10103
|
+
/**
|
|
10104
|
+
* True if only visible for the owner
|
|
10105
|
+
*/
|
|
10106
|
+
isPrivate?: boolean;
|
|
10107
|
+
/**
|
|
10108
|
+
* The recurrence info if the appointment is recurring
|
|
10109
|
+
*/
|
|
10110
|
+
recurrenceInfo?: RecurrenceInfo;
|
|
10111
|
+
/**
|
|
10112
|
+
* The name of the appointment person.
|
|
10113
|
+
*/
|
|
10114
|
+
personName?: string;
|
|
10115
|
+
/**
|
|
10116
|
+
* True if the appointment is part of a booking
|
|
10117
|
+
*/
|
|
10118
|
+
isBooking?: boolean;
|
|
9894
10119
|
}
|
|
9895
10120
|
/**
|
|
9896
10121
|
* Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
|
|
@@ -10622,6 +10847,86 @@ export interface Appointment_UpdateAppointmentRequest {
|
|
|
10622
10847
|
*/
|
|
10623
10848
|
associateId: number;
|
|
10624
10849
|
}
|
|
10850
|
+
/**
|
|
10851
|
+
* Updates an appointment record, taking the given recurrence update mode into account.
|
|
10852
|
+
* Returns Appointment
|
|
10853
|
+
*/
|
|
10854
|
+
export interface Appointment_UpdateAppointmentWithModeRequest {
|
|
10855
|
+
/**
|
|
10856
|
+
*
|
|
10857
|
+
*/
|
|
10858
|
+
id: number;
|
|
10859
|
+
/**
|
|
10860
|
+
*
|
|
10861
|
+
*/
|
|
10862
|
+
startTime: Date;
|
|
10863
|
+
/**
|
|
10864
|
+
*
|
|
10865
|
+
*/
|
|
10866
|
+
endTime: Date;
|
|
10867
|
+
/**
|
|
10868
|
+
*
|
|
10869
|
+
*/
|
|
10870
|
+
status: enums.AppointmentStatus;
|
|
10871
|
+
/**
|
|
10872
|
+
*
|
|
10873
|
+
*/
|
|
10874
|
+
type: enums.AppointmentType;
|
|
10875
|
+
/**
|
|
10876
|
+
* The appointment owner's id (associate id)
|
|
10877
|
+
*/
|
|
10878
|
+
associateId: number;
|
|
10879
|
+
/**
|
|
10880
|
+
* Update mode for recurrence.
|
|
10881
|
+
*/
|
|
10882
|
+
updateMode: enums.RecurrenceUpdateMode;
|
|
10883
|
+
}
|
|
10884
|
+
/**
|
|
10885
|
+
* Updates an appointment record, taking the given recurrence update mode into account, possibly sending notification emails.
|
|
10886
|
+
* Returns Appointment
|
|
10887
|
+
*/
|
|
10888
|
+
export interface Appointment_UpdateAppointmentWithModeAndEmailRequest {
|
|
10889
|
+
/**
|
|
10890
|
+
*
|
|
10891
|
+
*/
|
|
10892
|
+
id: number;
|
|
10893
|
+
/**
|
|
10894
|
+
*
|
|
10895
|
+
*/
|
|
10896
|
+
startTime: Date;
|
|
10897
|
+
/**
|
|
10898
|
+
*
|
|
10899
|
+
*/
|
|
10900
|
+
endTime: Date;
|
|
10901
|
+
/**
|
|
10902
|
+
*
|
|
10903
|
+
*/
|
|
10904
|
+
status: enums.AppointmentStatus;
|
|
10905
|
+
/**
|
|
10906
|
+
*
|
|
10907
|
+
*/
|
|
10908
|
+
type: enums.AppointmentType;
|
|
10909
|
+
/**
|
|
10910
|
+
* The appointment owner's id (associate id)
|
|
10911
|
+
*/
|
|
10912
|
+
associateId: number;
|
|
10913
|
+
/**
|
|
10914
|
+
* Update mode for recurrence.
|
|
10915
|
+
*/
|
|
10916
|
+
updateMode: enums.RecurrenceUpdateMode;
|
|
10917
|
+
/**
|
|
10918
|
+
* If true, emails will be sent to all participants that is marked with send email flag if deemed necessary. If false no mails will be sent even if the send email flag is true.
|
|
10919
|
+
*/
|
|
10920
|
+
sendEmailToParticipants: boolean;
|
|
10921
|
+
/**
|
|
10922
|
+
* Login information for outgoing smtp email server. Will be null if no login information is relevant.
|
|
10923
|
+
*/
|
|
10924
|
+
smtpEMailConnectionInfo: EMailConnectionInfo;
|
|
10925
|
+
/**
|
|
10926
|
+
* Login information for imap server. Will be null if no login information is relevant.
|
|
10927
|
+
*/
|
|
10928
|
+
imapEMailConnectionInfo: EMailConnectionInfo;
|
|
10929
|
+
}
|
|
10625
10930
|
/**
|
|
10626
10931
|
* Fetch appointments for given associates
|
|
10627
10932
|
* Returns Appointment[]
|
|
@@ -10672,6 +10977,43 @@ export interface Appointment_GetAppointmentRecordsRequest {
|
|
|
10672
10977
|
*/
|
|
10673
10978
|
recurrenceRuleId: number;
|
|
10674
10979
|
}
|
|
10980
|
+
/**
|
|
10981
|
+
* Parameter data for moving an appointment.
|
|
10982
|
+
*/
|
|
10983
|
+
export interface AppointmentMoveData extends Carrier {
|
|
10984
|
+
/**
|
|
10985
|
+
* The appointmentId. Both master and child record ids are accepted.
|
|
10986
|
+
*/
|
|
10987
|
+
appointmentId?: number;
|
|
10988
|
+
/**
|
|
10989
|
+
* The new start time for the moved booking.
|
|
10990
|
+
*/
|
|
10991
|
+
newStartTime?: Date;
|
|
10992
|
+
/**
|
|
10993
|
+
* Update mode for a recurring appointment.
|
|
10994
|
+
*/
|
|
10995
|
+
updateMode?: enums.RecurrenceUpdateMode;
|
|
10996
|
+
/**
|
|
10997
|
+
* If true, emails will be sent to all participants that is marked with send email flag if deemed necessary. If false no mails will be sent even if the send email flag is true.
|
|
10998
|
+
*/
|
|
10999
|
+
sendEmailToParticipants?: boolean;
|
|
11000
|
+
/**
|
|
11001
|
+
* Login information for outgoing smtp email server. Will be null if no login information is relevant.
|
|
11002
|
+
*/
|
|
11003
|
+
smtpEMailConnectionInfo?: EMailConnectionInfo;
|
|
11004
|
+
/**
|
|
11005
|
+
* Login information for imap server. Will be null if no login information is relevant.
|
|
11006
|
+
*/
|
|
11007
|
+
imapEMailConnectionInfo?: EMailConnectionInfo;
|
|
11008
|
+
/**
|
|
11009
|
+
* If true, the appointment should be set to all day
|
|
11010
|
+
*/
|
|
11011
|
+
isAlldayEvent?: boolean;
|
|
11012
|
+
/**
|
|
11013
|
+
* If true, the time is free (not busy).
|
|
11014
|
+
*/
|
|
11015
|
+
isFree?: boolean;
|
|
11016
|
+
}
|
|
10675
11017
|
/**
|
|
10676
11018
|
* This class contains the updated appointment entity and a flag for if any emails were queued when saving
|
|
10677
11019
|
*/
|
|
@@ -11476,6 +11818,34 @@ export interface Appointment_GetTaskListItemsRequest {
|
|
|
11476
11818
|
*/
|
|
11477
11819
|
includeDeleted: boolean;
|
|
11478
11820
|
}
|
|
11821
|
+
/**
|
|
11822
|
+
* VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
|
|
11823
|
+
*/
|
|
11824
|
+
export interface VideoMeetingReservation extends Carrier {
|
|
11825
|
+
/**
|
|
11826
|
+
* The ID for the meeting, as considered from the central meeting service, not SO
|
|
11827
|
+
*/
|
|
11828
|
+
videoMeetingId?: string;
|
|
11829
|
+
/**
|
|
11830
|
+
* The URL for the meeting.
|
|
11831
|
+
*/
|
|
11832
|
+
videoMeetingUrl?: string;
|
|
11833
|
+
}
|
|
11834
|
+
/**
|
|
11835
|
+
* Create a VideoMeetingReservation. System users are not allowed to create video meeting reservations
|
|
11836
|
+
* Returns VideoMeetingReservation
|
|
11837
|
+
*/
|
|
11838
|
+
export interface Appointment_CreateVideoMeetingReservationRequest {
|
|
11839
|
+
}
|
|
11840
|
+
/**
|
|
11841
|
+
* Delete a VideoMeetingReservation.
|
|
11842
|
+
*/
|
|
11843
|
+
export interface Appointment_DeleteVideoMeetingReservationRequest {
|
|
11844
|
+
/**
|
|
11845
|
+
* The VideoMeetingReservation.VideoMeetingId to remove. System users are not allowed to delete video meeting reservations
|
|
11846
|
+
*/
|
|
11847
|
+
videoMeetingId: string;
|
|
11848
|
+
}
|
|
11479
11849
|
/**
|
|
11480
11850
|
*
|
|
11481
11851
|
*/
|
|
@@ -13289,6 +13659,24 @@ export interface Document_CopyDocumentToCsAttachmentRequest {
|
|
|
13289
13659
|
*/
|
|
13290
13660
|
documentId: number;
|
|
13291
13661
|
}
|
|
13662
|
+
/**
|
|
13663
|
+
* Saves a pdf stream, assigns file name, connects to given contact etc.
|
|
13664
|
+
* Returns number
|
|
13665
|
+
*/
|
|
13666
|
+
export interface Document_SavePrivacyReportPdfRequest {
|
|
13667
|
+
/**
|
|
13668
|
+
* The pdf document as a stream.
|
|
13669
|
+
*/
|
|
13670
|
+
stream: ArrayBuffer | string;
|
|
13671
|
+
/**
|
|
13672
|
+
* Title of report
|
|
13673
|
+
*/
|
|
13674
|
+
title: string;
|
|
13675
|
+
/**
|
|
13676
|
+
* Person id associated with the report
|
|
13677
|
+
*/
|
|
13678
|
+
personId: number;
|
|
13679
|
+
}
|
|
13292
13680
|
/**
|
|
13293
13681
|
* Get all documents that are linked to the appointment. I.e. the documents that are listed in the appointment dialog.
|
|
13294
13682
|
* Returns Document[]
|
|
@@ -17635,21 +18023,61 @@ export interface List_SetTicketStatusSortOrderRequest {
|
|
|
17635
18023
|
export interface List_GetTicketStatusesRequest {
|
|
17636
18024
|
}
|
|
17637
18025
|
/**
|
|
17638
|
-
*
|
|
18026
|
+
* Ticket Type - light read-only version of TicketTypeEntity.
|
|
17639
18027
|
*/
|
|
17640
18028
|
export interface TicketType extends Carrier {
|
|
17641
18029
|
/**
|
|
17642
|
-
*
|
|
18030
|
+
* Primary key
|
|
17643
18031
|
*/
|
|
17644
|
-
|
|
18032
|
+
ticketTypeId?: number;
|
|
17645
18033
|
/**
|
|
17646
|
-
* The list item
|
|
18034
|
+
* The list item
|
|
17647
18035
|
*/
|
|
17648
|
-
|
|
18036
|
+
name?: string;
|
|
17649
18037
|
/**
|
|
17650
|
-
*
|
|
18038
|
+
* Name of the icon
|
|
17651
18039
|
*/
|
|
17652
|
-
|
|
18040
|
+
icon?: string;
|
|
18041
|
+
/**
|
|
18042
|
+
* Default ticket status for new tickets
|
|
18043
|
+
*/
|
|
18044
|
+
defaultTicketStatus?: number;
|
|
18045
|
+
/**
|
|
18046
|
+
* Default ticket priority for new tickets
|
|
18047
|
+
*/
|
|
18048
|
+
defaultTicketPriority?: number;
|
|
18049
|
+
/**
|
|
18050
|
+
* Is this Ticket Type marked as default
|
|
18051
|
+
*/
|
|
18052
|
+
isDefault?: boolean;
|
|
18053
|
+
/**
|
|
18054
|
+
* Enables this request type to be accessible in +New in top bar
|
|
18055
|
+
*/
|
|
18056
|
+
showInNew?: boolean;
|
|
18057
|
+
/**
|
|
18058
|
+
* Do not insert user signature automatically
|
|
18059
|
+
*/
|
|
18060
|
+
excludeSignature?: boolean;
|
|
18061
|
+
/**
|
|
18062
|
+
* Create request without initially having to send outbound e-mail
|
|
18063
|
+
*/
|
|
18064
|
+
excludeEmailRecipients?: boolean;
|
|
18065
|
+
/**
|
|
18066
|
+
* Ability to set external access level for this request type
|
|
18067
|
+
*/
|
|
18068
|
+
externalAsDefault?: boolean;
|
|
18069
|
+
/**
|
|
18070
|
+
* Array of references to the visible for groups
|
|
18071
|
+
*/
|
|
18072
|
+
visibleForGroups?: number[];
|
|
18073
|
+
/**
|
|
18074
|
+
* Do not insert user signature when replying or forwarding the message
|
|
18075
|
+
*/
|
|
18076
|
+
replyForwardNoSignature?: boolean;
|
|
18077
|
+
/**
|
|
18078
|
+
* Set external access level when replying the message
|
|
18079
|
+
*/
|
|
18080
|
+
replyExternalAsDefault?: boolean;
|
|
17653
18081
|
}
|
|
17654
18082
|
/**
|
|
17655
18083
|
* Entity for a ticket (Request) type. This enables having diversified tickets needed for a specific process.
|
|
@@ -17703,12 +18131,34 @@ export interface TicketTypeEntity extends Carrier {
|
|
|
17703
18131
|
* Is this Ticket Type marked as default
|
|
17704
18132
|
*/
|
|
17705
18133
|
isDefault?: boolean;
|
|
17706
|
-
|
|
17707
|
-
|
|
17708
|
-
|
|
17709
|
-
|
|
17710
|
-
|
|
17711
|
-
|
|
18134
|
+
/**
|
|
18135
|
+
* Enables this request type to be accessible in +New in top bar
|
|
18136
|
+
*/
|
|
18137
|
+
showInNew?: boolean;
|
|
18138
|
+
/**
|
|
18139
|
+
* Do not insert user signature automatically
|
|
18140
|
+
*/
|
|
18141
|
+
excludeSignature?: boolean;
|
|
18142
|
+
/**
|
|
18143
|
+
* Create request without initially having to send outbound e-mail
|
|
18144
|
+
*/
|
|
18145
|
+
excludeEmailRecipients?: boolean;
|
|
18146
|
+
/**
|
|
18147
|
+
* Ability to set external access level for this request type
|
|
18148
|
+
*/
|
|
18149
|
+
externalAsDefault?: boolean;
|
|
18150
|
+
/**
|
|
18151
|
+
* Array of references to the visible for groups
|
|
18152
|
+
*/
|
|
18153
|
+
visibleForGroups?: number[];
|
|
18154
|
+
/**
|
|
18155
|
+
* Do not insert user signature when replying or forwarding the message
|
|
18156
|
+
*/
|
|
18157
|
+
replyForwardNoSignature?: boolean;
|
|
18158
|
+
/**
|
|
18159
|
+
* Set external access level when replying the message
|
|
18160
|
+
*/
|
|
18161
|
+
replyExternalAsDefault?: boolean;
|
|
17712
18162
|
}
|
|
17713
18163
|
/**
|
|
17714
18164
|
* Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
|
|
@@ -17723,9 +18173,22 @@ export interface List_GlobalChangeTicketTypeRequest {
|
|
|
17723
18173
|
*/
|
|
17724
18174
|
toTicketTypeId: number;
|
|
17725
18175
|
}
|
|
18176
|
+
/**
|
|
18177
|
+
* This method will set sort order of ticket type in a list
|
|
18178
|
+
*/
|
|
18179
|
+
export interface List_SetTicketTypeSortOrderRequest {
|
|
18180
|
+
/**
|
|
18181
|
+
* Id of ticket type
|
|
18182
|
+
*/
|
|
18183
|
+
ticketTypeId: number;
|
|
18184
|
+
/**
|
|
18185
|
+
* Indicates the sort order for this ticket type. 1 is first. Any records following this one will be renumbered automatically
|
|
18186
|
+
*/
|
|
18187
|
+
sortOrder: number;
|
|
18188
|
+
}
|
|
17726
18189
|
/**
|
|
17727
18190
|
* Get all TicketTypes
|
|
17728
|
-
* Returns
|
|
18191
|
+
* Returns TicketTypeEntity[]
|
|
17729
18192
|
*/
|
|
17730
18193
|
export interface List_GetTicketTypesRequest {
|
|
17731
18194
|
}
|
|
@@ -17817,6 +18280,10 @@ export interface WebPanelEntity extends Carrier {
|
|
|
17817
18280
|
* If set to true, the content will reload every time the panel is shown
|
|
17818
18281
|
*/
|
|
17819
18282
|
alwaysReloadOnShow?: boolean;
|
|
18283
|
+
/**
|
|
18284
|
+
* If set to true, the content will not reload on current changes, only applies to sidepanels
|
|
18285
|
+
*/
|
|
18286
|
+
neverReloadOnCurrentChange?: boolean;
|
|
17820
18287
|
}
|
|
17821
18288
|
/**
|
|
17822
18289
|
* This methods generates the navigation URL to be used to navigate to the panel
|
|
@@ -18419,7 +18886,7 @@ export interface MDO_GetListWithRestrictionRequest {
|
|
|
18419
18886
|
*/
|
|
18420
18887
|
export interface MDO_GetSimpleListRequest {
|
|
18421
18888
|
/**
|
|
18422
|
-
* Conceptual name of the MDO list
|
|
18889
|
+
* Conceptual name of the MDO list.
|
|
18423
18890
|
*/
|
|
18424
18891
|
name: string;
|
|
18425
18892
|
}
|
|
@@ -19687,6 +20154,29 @@ export interface Diagnostics_GetCacheStateRequest {
|
|
|
19687
20154
|
*/
|
|
19688
20155
|
cacheNames: string[];
|
|
19689
20156
|
}
|
|
20157
|
+
/**
|
|
20158
|
+
*
|
|
20159
|
+
*/
|
|
20160
|
+
export interface CacheInvalidation {
|
|
20161
|
+
/**
|
|
20162
|
+
* The (unique!) name of the cache, which is often, but not always, the same as a physical table name
|
|
20163
|
+
*/
|
|
20164
|
+
name?: string;
|
|
20165
|
+
/**
|
|
20166
|
+
* The 'generation number', starts at 1 and goes up for every registered change
|
|
20167
|
+
*/
|
|
20168
|
+
generation?: number;
|
|
20169
|
+
}
|
|
20170
|
+
/**
|
|
20171
|
+
* Get generation for provided names
|
|
20172
|
+
* Returns CacheInvalidation[]
|
|
20173
|
+
*/
|
|
20174
|
+
export interface Diagnostics_GetCacheInvalidationGenerationsRequest {
|
|
20175
|
+
/**
|
|
20176
|
+
* Name of caches
|
|
20177
|
+
*/
|
|
20178
|
+
names: string[];
|
|
20179
|
+
}
|
|
19690
20180
|
/**
|
|
19691
20181
|
*
|
|
19692
20182
|
*/
|
|
@@ -19793,6 +20283,109 @@ export interface Diagnostics_CollectTableSizesRequest {
|
|
|
19793
20283
|
*/
|
|
19794
20284
|
export interface Diagnostics_ResyncUsersRequest {
|
|
19795
20285
|
}
|
|
20286
|
+
/**
|
|
20287
|
+
* System Message to be displayed to a user
|
|
20288
|
+
*/
|
|
20289
|
+
export interface SystemMessage extends Carrier {
|
|
20290
|
+
/**
|
|
20291
|
+
* Primary key
|
|
20292
|
+
*/
|
|
20293
|
+
messageId?: number;
|
|
20294
|
+
/**
|
|
20295
|
+
* The associate that is the target of this message
|
|
20296
|
+
*/
|
|
20297
|
+
associateId?: number;
|
|
20298
|
+
/**
|
|
20299
|
+
* The online app that owns this message
|
|
20300
|
+
*/
|
|
20301
|
+
onlineappId?: number;
|
|
20302
|
+
/**
|
|
20303
|
+
* Message identifier, used for message update or removal
|
|
20304
|
+
*/
|
|
20305
|
+
systemMessageId?: string;
|
|
20306
|
+
/**
|
|
20307
|
+
* Markdown message to be displayed to user
|
|
20308
|
+
*/
|
|
20309
|
+
markdownMessage?: string;
|
|
20310
|
+
/**
|
|
20311
|
+
* The date and time the message expires
|
|
20312
|
+
*/
|
|
20313
|
+
expire?: Date;
|
|
20314
|
+
/**
|
|
20315
|
+
* Type of message, example: info, warning, error
|
|
20316
|
+
*/
|
|
20317
|
+
type?: enums.SystemMessageType;
|
|
20318
|
+
}
|
|
20319
|
+
/**
|
|
20320
|
+
* Adds a system message for a specific associate.
|
|
20321
|
+
*/
|
|
20322
|
+
export interface Diagnostics_SendSystemMessageRequest {
|
|
20323
|
+
/**
|
|
20324
|
+
* The message string id
|
|
20325
|
+
*/
|
|
20326
|
+
systemMessageId: string;
|
|
20327
|
+
/**
|
|
20328
|
+
* The associateId of the message target.
|
|
20329
|
+
*/
|
|
20330
|
+
associateId: number;
|
|
20331
|
+
/**
|
|
20332
|
+
* Markdown message to be displayed to the user
|
|
20333
|
+
*/
|
|
20334
|
+
markdownMessage: string;
|
|
20335
|
+
/**
|
|
20336
|
+
* When the message will no longer be available
|
|
20337
|
+
*/
|
|
20338
|
+
expire: Date;
|
|
20339
|
+
/**
|
|
20340
|
+
* Type of message, example: info, warning, error
|
|
20341
|
+
*/
|
|
20342
|
+
type: enums.SystemMessageType;
|
|
20343
|
+
}
|
|
20344
|
+
/**
|
|
20345
|
+
* Removes a system message for current associate
|
|
20346
|
+
*/
|
|
20347
|
+
export interface Diagnostics_RemoveSystemMessageRequest {
|
|
20348
|
+
/**
|
|
20349
|
+
* Id of the online app that owns this message
|
|
20350
|
+
*/
|
|
20351
|
+
onlineappId: number;
|
|
20352
|
+
/**
|
|
20353
|
+
* Message identifier, used for message removal
|
|
20354
|
+
*/
|
|
20355
|
+
systemMessageId: string;
|
|
20356
|
+
}
|
|
20357
|
+
/**
|
|
20358
|
+
* Removes a system message for specific associate.
|
|
20359
|
+
*/
|
|
20360
|
+
export interface Diagnostics_RemoveSystemMessageForAssociateRequest {
|
|
20361
|
+
/**
|
|
20362
|
+
* Id of the online app that owns this message
|
|
20363
|
+
*/
|
|
20364
|
+
onlineappId: number;
|
|
20365
|
+
/**
|
|
20366
|
+
* Message identifier, used for message update or removal
|
|
20367
|
+
*/
|
|
20368
|
+
systemMessageId: string;
|
|
20369
|
+
/**
|
|
20370
|
+
* The associateId of the message target.
|
|
20371
|
+
*/
|
|
20372
|
+
associateId: number;
|
|
20373
|
+
}
|
|
20374
|
+
/**
|
|
20375
|
+
* Retrieves a list of system messages for a specific associate.
|
|
20376
|
+
* Returns SystemMessage[]
|
|
20377
|
+
*/
|
|
20378
|
+
export interface Diagnostics_GetSystemMessagesRequest {
|
|
20379
|
+
/**
|
|
20380
|
+
* The associateId of the message target.
|
|
20381
|
+
*/
|
|
20382
|
+
associateId: number;
|
|
20383
|
+
}
|
|
20384
|
+
/**
|
|
20385
|
+
* Deletes expired system messages.
|
|
20386
|
+
*/
|
|
20387
|
+
export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
|
|
20388
|
+
}
|
|
19796
20389
|
/**
|
|
19797
20390
|
* Operations related to installation, upgrade and maintenance
|
|
19798
20391
|
*/
|
|
@@ -19804,6 +20397,15 @@ export interface Installation extends Carrier {
|
|
|
19804
20397
|
*/
|
|
19805
20398
|
export interface Diagnostics_PerformTasksAfterUpgradeRequest {
|
|
19806
20399
|
}
|
|
20400
|
+
/**
|
|
20401
|
+
* A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
|
|
20402
|
+
*/
|
|
20403
|
+
export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
|
|
20404
|
+
/**
|
|
20405
|
+
* Name of DB table of the custom object that was deleted. E.g., 'y_car'
|
|
20406
|
+
*/
|
|
20407
|
+
tableName: string;
|
|
20408
|
+
}
|
|
19807
20409
|
/**
|
|
19808
20410
|
*
|
|
19809
20411
|
*/
|
|
@@ -20825,6 +21427,15 @@ export interface Selection_SetDynamicSelectionCriteriaGroupsRequest {
|
|
|
20825
21427
|
*/
|
|
20826
21428
|
criteria: ArchiveRestrictionGroup[];
|
|
20827
21429
|
}
|
|
21430
|
+
/**
|
|
21431
|
+
* Deletes the SelectionEntity
|
|
21432
|
+
*/
|
|
21433
|
+
export interface Selection_DeleteSelectionEntityRequest {
|
|
21434
|
+
/**
|
|
21435
|
+
* The identity of the SelectionEntity
|
|
21436
|
+
*/
|
|
21437
|
+
selectionEntityId: number;
|
|
21438
|
+
}
|
|
20828
21439
|
/**
|
|
20829
21440
|
* Provider name and selection id for a Find temporary selection
|
|
20830
21441
|
*/
|
|
@@ -21056,6 +21667,14 @@ export interface EMailAccount extends Carrier {
|
|
|
21056
21667
|
* Sent email folder name if available in the db
|
|
21057
21668
|
*/
|
|
21058
21669
|
sentFolder?: string;
|
|
21670
|
+
/**
|
|
21671
|
+
* Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
|
|
21672
|
+
*/
|
|
21673
|
+
simpleMode?: number;
|
|
21674
|
+
/**
|
|
21675
|
+
* When we last fetched email
|
|
21676
|
+
*/
|
|
21677
|
+
lastFetch?: Date;
|
|
21059
21678
|
}
|
|
21060
21679
|
/**
|
|
21061
21680
|
* Returns the email account corresponding to this email address (for the current associate).
|
|
@@ -22171,6 +22790,38 @@ export interface EMail_SaveEmailToTmpDocumentRequest {
|
|
|
22171
22790
|
*/
|
|
22172
22791
|
stripAttachments: boolean;
|
|
22173
22792
|
}
|
|
22793
|
+
/**
|
|
22794
|
+
* Save the Email from the server as a document file connected to existing document
|
|
22795
|
+
* Returns DocumentEntity
|
|
22796
|
+
*/
|
|
22797
|
+
export interface EMail_CreateNewPhysicalDocumentFromEmailAttachmentRequest {
|
|
22798
|
+
/**
|
|
22799
|
+
* The document ID int the DB
|
|
22800
|
+
*/
|
|
22801
|
+
documentId: number;
|
|
22802
|
+
/**
|
|
22803
|
+
* The emails ID int the DB
|
|
22804
|
+
*/
|
|
22805
|
+
emailItemId: number;
|
|
22806
|
+
/**
|
|
22807
|
+
* Id string of the attachment
|
|
22808
|
+
*/
|
|
22809
|
+
attachmentId: string;
|
|
22810
|
+
}
|
|
22811
|
+
/**
|
|
22812
|
+
* Save the Email from the server as a document file connected to existing document
|
|
22813
|
+
* Returns DocumentEntity
|
|
22814
|
+
*/
|
|
22815
|
+
export interface EMail_CreateNewPhysicalDocumentFromEmailRequest {
|
|
22816
|
+
/**
|
|
22817
|
+
* The document ID int the DB
|
|
22818
|
+
*/
|
|
22819
|
+
documentId: number;
|
|
22820
|
+
/**
|
|
22821
|
+
* The emails ID in the DB
|
|
22822
|
+
*/
|
|
22823
|
+
emailItemId: number;
|
|
22824
|
+
}
|
|
22174
22825
|
/**
|
|
22175
22826
|
* Save the Email entity to the drafts folder
|
|
22176
22827
|
* Returns EMailEntity
|
|
@@ -23637,6 +24288,16 @@ export interface Sentry_CanCreateAppointmentInAssociateDiariesRequest {
|
|
|
23637
24288
|
*/
|
|
23638
24289
|
associateIds: number[];
|
|
23639
24290
|
}
|
|
24291
|
+
/**
|
|
24292
|
+
* CanCreateAppointmentInEachAssociateDiary will check if the current associate can create appointments in diaries belonging to the associates listed in associateIds. CanCreateAppointmentInEachAssociateDiary will only check against associates that are diary owners. If none of the associates listed in the associateIds parameter is a diary owner, the method will return true.
|
|
24293
|
+
* Returns boolean[]
|
|
24294
|
+
*/
|
|
24295
|
+
export interface Sentry_CanCreateAppointmentInEachAssociatesDiaryRequest {
|
|
24296
|
+
/**
|
|
24297
|
+
* Array of associate ids to check.
|
|
24298
|
+
*/
|
|
24299
|
+
associateIds: number[];
|
|
24300
|
+
}
|
|
23640
24301
|
/**
|
|
23641
24302
|
* CanCreateAppointmentInAllDiaries will check if the current associate can create appointments in diaries belonging all other associates. CanCreateAppointmentInAssociateDiaries will only check against associates that are diary owners.
|
|
23642
24303
|
* Returns boolean
|
|
@@ -23722,6 +24383,10 @@ export interface FieldInfoBase {
|
|
|
23722
24383
|
* Should this field be shown to external users via customer center?
|
|
23723
24384
|
*/
|
|
23724
24385
|
isExternal?: boolean;
|
|
24386
|
+
/**
|
|
24387
|
+
* Flag indicating that this field is chosen as DisplayField for a table it belongs
|
|
24388
|
+
*/
|
|
24389
|
+
isDisplayField?: boolean;
|
|
23725
24390
|
/**
|
|
23726
24391
|
* Tab order, ranking within the custom fields.
|
|
23727
24392
|
*/
|
|
@@ -27193,6 +27858,16 @@ export interface License_GetLicenseFromDBRequest {
|
|
|
27193
27858
|
*/
|
|
27194
27859
|
ownerName: string;
|
|
27195
27860
|
}
|
|
27861
|
+
/**
|
|
27862
|
+
* Get status values for user licenses and installation license that can be used for feedback to the user.
|
|
27863
|
+
* Returns UserAndInstallationLicenceStatus
|
|
27864
|
+
*/
|
|
27865
|
+
export interface License_GetUserAndInstallationLicenceStatusRequest {
|
|
27866
|
+
/**
|
|
27867
|
+
* Associate id to use when loading information about user licenses and installation license status.
|
|
27868
|
+
*/
|
|
27869
|
+
associateId: number;
|
|
27870
|
+
}
|
|
27196
27871
|
/**
|
|
27197
27872
|
* Change the new serial number for the installation. Requests a new license from SuperLicense, checks if change is authorized.
|
|
27198
27873
|
* Returns LicenseResult
|
|
@@ -27599,6 +28274,35 @@ export interface SignedPublicKey {
|
|
|
27599
28274
|
*/
|
|
27600
28275
|
signature?: string;
|
|
27601
28276
|
}
|
|
28277
|
+
/**
|
|
28278
|
+
* Result of GetUserAndInstallationLicenceStatus
|
|
28279
|
+
*/
|
|
28280
|
+
export interface UserAndInstallationLicenceStatus {
|
|
28281
|
+
/**
|
|
28282
|
+
* Installations license admin warning date
|
|
28283
|
+
*/
|
|
28284
|
+
adminWarningDate?: Date;
|
|
28285
|
+
/**
|
|
28286
|
+
* Installations license expiry date
|
|
28287
|
+
*/
|
|
28288
|
+
expiryDate?: Date;
|
|
28289
|
+
/**
|
|
28290
|
+
* Installations license grace date
|
|
28291
|
+
*/
|
|
28292
|
+
graceDate?: Date;
|
|
28293
|
+
/**
|
|
28294
|
+
* Database company name
|
|
28295
|
+
*/
|
|
28296
|
+
companyName?: string;
|
|
28297
|
+
/**
|
|
28298
|
+
* Database serial number
|
|
28299
|
+
*/
|
|
28300
|
+
serialNr?: string;
|
|
28301
|
+
/**
|
|
28302
|
+
* The users module licenses names
|
|
28303
|
+
*/
|
|
28304
|
+
userLicenses?: string[];
|
|
28305
|
+
}
|
|
27602
28306
|
/**
|
|
27603
28307
|
* Access gateway related data and operations
|
|
27604
28308
|
*/
|
|
@@ -30034,6 +30738,16 @@ export interface CustomerService_EventHandlerExistsRequest {
|
|
|
30034
30738
|
*/
|
|
30035
30739
|
eventHandlerType: enums.EventHandlerType;
|
|
30036
30740
|
}
|
|
30741
|
+
/**
|
|
30742
|
+
* Check if any given eventhandler exists
|
|
30743
|
+
* Returns EventHandlerType[]
|
|
30744
|
+
*/
|
|
30745
|
+
export interface CustomerService_EventHandlersExistsRequest {
|
|
30746
|
+
/**
|
|
30747
|
+
* The EventHandlerTypes we are checking
|
|
30748
|
+
*/
|
|
30749
|
+
eventHandlerTypes: enums.EventHandlerType[];
|
|
30750
|
+
}
|
|
30037
30751
|
/**
|
|
30038
30752
|
*
|
|
30039
30753
|
*/
|
|
@@ -30209,6 +30923,10 @@ export interface CustomerServiceStartup extends Carrier {
|
|
|
30209
30923
|
* A global recaptcha site key, used with the google recaptcha component. This value is taken from the web.config file
|
|
30210
30924
|
*/
|
|
30211
30925
|
recaptchaSiteKey?: string;
|
|
30926
|
+
/**
|
|
30927
|
+
* An array of selected preferences needed by Service
|
|
30928
|
+
*/
|
|
30929
|
+
selectedPreferences?: Preference[];
|
|
30212
30930
|
}
|
|
30213
30931
|
/**
|
|
30214
30932
|
* Get the carrier with data that Service needs when starting up
|
|
@@ -30216,6 +30934,16 @@ export interface CustomerServiceStartup extends Carrier {
|
|
|
30216
30934
|
*/
|
|
30217
30935
|
export interface CustomerService_GetCustomerServiceStartupRequest {
|
|
30218
30936
|
}
|
|
30937
|
+
/**
|
|
30938
|
+
* Get the carrier with data that Service needs when starting up for a specific user
|
|
30939
|
+
* Returns CustomerServiceStartup
|
|
30940
|
+
*/
|
|
30941
|
+
export interface CustomerService_GetCustomerServiceStartupByOwnerRequest {
|
|
30942
|
+
/**
|
|
30943
|
+
* The user for which we want to fetch the startup values for
|
|
30944
|
+
*/
|
|
30945
|
+
userId: number;
|
|
30946
|
+
}
|
|
30219
30947
|
/**
|
|
30220
30948
|
* EventData containing data related to event handlers
|
|
30221
30949
|
*/
|
|
@@ -30268,6 +30996,14 @@ export interface EventData extends Carrier {
|
|
|
30268
30996
|
* The Cgi content/body, sent by some events
|
|
30269
30997
|
*/
|
|
30270
30998
|
cgiContent?: string;
|
|
30999
|
+
/**
|
|
31000
|
+
* Incoming headers if sent by the context which the script is executed from
|
|
31001
|
+
*/
|
|
31002
|
+
headers?: StringDictionary;
|
|
31003
|
+
/**
|
|
31004
|
+
* If true, then the execution will be traced
|
|
31005
|
+
*/
|
|
31006
|
+
traceExecution?: boolean;
|
|
30271
31007
|
}
|
|
30272
31008
|
/**
|
|
30273
31009
|
* This method will execute event handlers in CRMScript for a given event.
|
|
@@ -31838,6 +32574,10 @@ export interface Dash_SaveDashTileHtmlListRequest {
|
|
|
31838
32574
|
* Dashboard preview
|
|
31839
32575
|
*/
|
|
31840
32576
|
export interface PreviewDash extends Carrier {
|
|
32577
|
+
/**
|
|
32578
|
+
* Primary key
|
|
32579
|
+
*/
|
|
32580
|
+
dashboardId?: number;
|
|
31841
32581
|
/**
|
|
31842
32582
|
* The name of this dashboard
|
|
31843
32583
|
*/
|
|
@@ -32808,6 +33548,10 @@ export interface FormEntity extends Carrier {
|
|
|
32808
33548
|
* Number of updates made to this record
|
|
32809
33549
|
*/
|
|
32810
33550
|
updatedCount?: number;
|
|
33551
|
+
/**
|
|
33552
|
+
* EmailFlows this form is used in (read-only)
|
|
33553
|
+
*/
|
|
33554
|
+
emailFlows?: number[];
|
|
32811
33555
|
/**
|
|
32812
33556
|
* The name of the folder for this form
|
|
32813
33557
|
*/
|
|
@@ -32925,6 +33669,10 @@ export interface PreviewMailing extends Carrier {
|
|
|
32925
33669
|
* Email address to put in the From header of the messages
|
|
32926
33670
|
*/
|
|
32927
33671
|
fromAddress?: string;
|
|
33672
|
+
/**
|
|
33673
|
+
* This field indicates what kind of shipment this is.
|
|
33674
|
+
*/
|
|
33675
|
+
configuration?: number;
|
|
32928
33676
|
/**
|
|
32929
33677
|
* Owning contact ID
|
|
32930
33678
|
*/
|
|
@@ -33000,6 +33748,10 @@ export interface PreviewMailingHeader extends Carrier {
|
|
|
33000
33748
|
* Email address to put in the From header of the messages
|
|
33001
33749
|
*/
|
|
33002
33750
|
fromAddress?: string;
|
|
33751
|
+
/**
|
|
33752
|
+
* This field indicates what kind of shipment this is.
|
|
33753
|
+
*/
|
|
33754
|
+
configuration?: number;
|
|
33003
33755
|
/**
|
|
33004
33756
|
* Primary key
|
|
33005
33757
|
*/
|
|
@@ -33187,6 +33939,28 @@ export interface ShipmentMessageEntity extends Carrier {
|
|
|
33187
33939
|
*/
|
|
33188
33940
|
updatedCount?: number;
|
|
33189
33941
|
}
|
|
33942
|
+
/**
|
|
33943
|
+
* Change the mailing name (shipment description) that the given message (MessageId) belongs to
|
|
33944
|
+
*/
|
|
33945
|
+
export interface Marketing_RenameMailingByMessageIdRequest {
|
|
33946
|
+
/**
|
|
33947
|
+
* Message id
|
|
33948
|
+
*/
|
|
33949
|
+
messageId: number;
|
|
33950
|
+
/**
|
|
33951
|
+
* The new name
|
|
33952
|
+
*/
|
|
33953
|
+
name: string;
|
|
33954
|
+
}
|
|
33955
|
+
/**
|
|
33956
|
+
* Delete the message and the shipment the message (MessageId) belongs to
|
|
33957
|
+
*/
|
|
33958
|
+
export interface Marketing_DeleteMessageAndShipmentRequest {
|
|
33959
|
+
/**
|
|
33960
|
+
* Message id
|
|
33961
|
+
*/
|
|
33962
|
+
messageId: number;
|
|
33963
|
+
}
|
|
33190
33964
|
/**
|
|
33191
33965
|
* The Script Service. The service implements all services working with the CRMScript object without reference to primary keys. Primarily used by VSCode integration.
|
|
33192
33966
|
*/
|
|
@@ -33289,6 +34063,10 @@ export interface CRMScriptEntity extends Carrier {
|
|
|
33289
34063
|
* A unique name used for including this script in another
|
|
33290
34064
|
*/
|
|
33291
34065
|
includeId?: string;
|
|
34066
|
+
/**
|
|
34067
|
+
* Access key used to run this script on the customer pages
|
|
34068
|
+
*/
|
|
34069
|
+
accessKey?: string;
|
|
33292
34070
|
/**
|
|
33293
34071
|
* The script is inside this hierarchy folder
|
|
33294
34072
|
*/
|
|
@@ -33297,6 +34075,30 @@ export interface CRMScriptEntity extends Carrier {
|
|
|
33297
34075
|
* The script
|
|
33298
34076
|
*/
|
|
33299
34077
|
source?: string;
|
|
34078
|
+
/**
|
|
34079
|
+
* Contains the source code of the script
|
|
34080
|
+
*/
|
|
34081
|
+
sourceCode?: string;
|
|
34082
|
+
/**
|
|
34083
|
+
* The type/language of this script
|
|
34084
|
+
*/
|
|
34085
|
+
scriptType?: enums.ScriptType;
|
|
34086
|
+
/**
|
|
34087
|
+
* True if this script will return HTML output
|
|
34088
|
+
*/
|
|
34089
|
+
htmlOutput?: number;
|
|
34090
|
+
/**
|
|
34091
|
+
* The unique ids of all depencies of this script (all resolved includes)
|
|
34092
|
+
*/
|
|
34093
|
+
includes?: number[];
|
|
34094
|
+
/**
|
|
34095
|
+
* The source maps for this script
|
|
34096
|
+
*/
|
|
34097
|
+
sourceMaps?: CRMScriptSourceMap[];
|
|
34098
|
+
/**
|
|
34099
|
+
* The result of a validation of a TypeScript when saving
|
|
34100
|
+
*/
|
|
34101
|
+
validationResult?: CRMScriptResult;
|
|
33300
34102
|
/**
|
|
33301
34103
|
* Registered when
|
|
33302
34104
|
*/
|
|
@@ -33314,6 +34116,16 @@ export interface CRMScriptEntity extends Carrier {
|
|
|
33314
34116
|
*/
|
|
33315
34117
|
updatedAssociateId?: number;
|
|
33316
34118
|
}
|
|
34119
|
+
/**
|
|
34120
|
+
* Save the script directly without compiling TypeScript
|
|
34121
|
+
* Returns CRMScriptEntity
|
|
34122
|
+
*/
|
|
34123
|
+
export interface CRMScript_SaveCRMScriptEntityWithoutCompileRequest {
|
|
34124
|
+
/**
|
|
34125
|
+
* The entity to save. Source and SourceCode should both be specified
|
|
34126
|
+
*/
|
|
34127
|
+
crmScriptEntity: CRMScriptEntity;
|
|
34128
|
+
}
|
|
33317
34129
|
/**
|
|
33318
34130
|
* Execute a CRMScript with parameters, returning printed output value.
|
|
33319
34131
|
* Returns string
|
|
@@ -33442,6 +34254,20 @@ export interface CRMScript_ValidateScriptByStringRequest {
|
|
|
33442
34254
|
*/
|
|
33443
34255
|
script: string;
|
|
33444
34256
|
}
|
|
34257
|
+
/**
|
|
34258
|
+
* Will resolve all includes for a TypeScript and return an array of the IDs
|
|
34259
|
+
* Returns number[]
|
|
34260
|
+
*/
|
|
34261
|
+
export interface CRMScript_ResolveIncludesRequest {
|
|
34262
|
+
/**
|
|
34263
|
+
* The script to resolve includes for
|
|
34264
|
+
*/
|
|
34265
|
+
script: string;
|
|
34266
|
+
/**
|
|
34267
|
+
* If true, then missing includes will be ignored
|
|
34268
|
+
*/
|
|
34269
|
+
ignoreErrors: boolean;
|
|
34270
|
+
}
|
|
33445
34271
|
/**
|
|
33446
34272
|
* Object containing error information for a CRMScript
|
|
33447
34273
|
*/
|
|
@@ -33450,14 +34276,18 @@ export interface CRMScriptErrorInfo extends Carrier {
|
|
|
33450
34276
|
* Descriptive message of the script failed
|
|
33451
34277
|
*/
|
|
33452
34278
|
errorMessage?: string;
|
|
34279
|
+
/**
|
|
34280
|
+
* The includeId of the source where the error occured
|
|
34281
|
+
*/
|
|
34282
|
+
includeId?: string;
|
|
33453
34283
|
/**
|
|
33454
34284
|
* The line number where the error occured
|
|
33455
34285
|
*/
|
|
33456
|
-
|
|
34286
|
+
lineNumber?: number;
|
|
33457
34287
|
/**
|
|
33458
34288
|
* The character position on the ErrorLine, if available
|
|
33459
34289
|
*/
|
|
33460
|
-
|
|
34290
|
+
characterPosition?: number;
|
|
33461
34291
|
}
|
|
33462
34292
|
/**
|
|
33463
34293
|
* Object for returning information when validating a CRMScript
|
|
@@ -33479,6 +34309,18 @@ export interface CRMScriptResult extends Carrier {
|
|
|
33479
34309
|
* Contains error information if the validation failed
|
|
33480
34310
|
*/
|
|
33481
34311
|
errorInformation?: CRMScriptErrorInfo;
|
|
34312
|
+
/**
|
|
34313
|
+
* This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
|
|
34314
|
+
*/
|
|
34315
|
+
transpiled?: string;
|
|
34316
|
+
/**
|
|
34317
|
+
* The unique ids of all depencies of this script (all resolved includes)
|
|
34318
|
+
*/
|
|
34319
|
+
includes?: number[];
|
|
34320
|
+
/**
|
|
34321
|
+
* Array of source maps showing where in the original code a specific line originated from
|
|
34322
|
+
*/
|
|
34323
|
+
sourceMaps?: CRMScriptSourceMap[];
|
|
33482
34324
|
}
|
|
33483
34325
|
/**
|
|
33484
34326
|
* Object for returning result from a CRMScript
|
|
@@ -33508,6 +34350,43 @@ export interface CRMScriptRunResult extends Carrier {
|
|
|
33508
34350
|
* Contains error information if the execution failed
|
|
33509
34351
|
*/
|
|
33510
34352
|
errorInformation?: CRMScriptErrorInfo;
|
|
34353
|
+
/**
|
|
34354
|
+
* The status code which is available to be returned from Typescript scripts
|
|
34355
|
+
*/
|
|
34356
|
+
statusCode?: number;
|
|
34357
|
+
/**
|
|
34358
|
+
* An additional status message that can be sent along with the status code
|
|
34359
|
+
*/
|
|
34360
|
+
statusMessage?: string;
|
|
34361
|
+
/**
|
|
34362
|
+
* Optional result headers for context that supports it
|
|
34363
|
+
*/
|
|
34364
|
+
headers?: StringDictionary;
|
|
34365
|
+
}
|
|
34366
|
+
/**
|
|
34367
|
+
* Object for returning source-map info when validating or executing a CRMScript
|
|
34368
|
+
*/
|
|
34369
|
+
export interface CRMScriptSourceMap extends Carrier {
|
|
34370
|
+
/**
|
|
34371
|
+
* The 1-based start line (inclusive) of this entry
|
|
34372
|
+
*/
|
|
34373
|
+
lineNumberFrom?: number;
|
|
34374
|
+
/**
|
|
34375
|
+
* The 1-based end line (inclusive) of this entry
|
|
34376
|
+
*/
|
|
34377
|
+
lineNumberTo?: number;
|
|
34378
|
+
/**
|
|
34379
|
+
* The delta between global line number and a line number inside this range
|
|
34380
|
+
*/
|
|
34381
|
+
delta?: number;
|
|
34382
|
+
/**
|
|
34383
|
+
* The includeId for this entry
|
|
34384
|
+
*/
|
|
34385
|
+
includeId?: string;
|
|
34386
|
+
/**
|
|
34387
|
+
* The list of IncludeId:linenum that leads to this source
|
|
34388
|
+
*/
|
|
34389
|
+
includedFrom?: string[];
|
|
33511
34390
|
}
|
|
33512
34391
|
/**
|
|
33513
34392
|
* Object for returning Trace run result from a CRMScript
|
|
@@ -33688,6 +34567,10 @@ export interface AttachmentEntity extends Carrier {
|
|
|
33688
34567
|
* The key used for authenticating access to this attachment.
|
|
33689
34568
|
*/
|
|
33690
34569
|
authKey?: string;
|
|
34570
|
+
/**
|
|
34571
|
+
* Is file considered to be safe (based on extension and settings)
|
|
34572
|
+
*/
|
|
34573
|
+
isSafeFileExtension?: boolean;
|
|
33691
34574
|
}
|
|
33692
34575
|
/**
|
|
33693
34576
|
* Copy CRM document to an attachment
|
|
@@ -33736,6 +34619,51 @@ export interface Ticket_GetAttachmentStreamRequest {
|
|
|
33736
34619
|
*/
|
|
33737
34620
|
attachmentId: number;
|
|
33738
34621
|
}
|
|
34622
|
+
/**
|
|
34623
|
+
* Service attachment data intended for preview purposes
|
|
34624
|
+
*/
|
|
34625
|
+
export interface AttachmentPreview extends Carrier {
|
|
34626
|
+
/**
|
|
34627
|
+
* Name of the attachment file
|
|
34628
|
+
*/
|
|
34629
|
+
name?: string;
|
|
34630
|
+
/**
|
|
34631
|
+
* The mimetype of the attachment
|
|
34632
|
+
*/
|
|
34633
|
+
mimeType?: string;
|
|
34634
|
+
/**
|
|
34635
|
+
* Size of the attachment in bytes
|
|
34636
|
+
*/
|
|
34637
|
+
size?: number;
|
|
34638
|
+
/**
|
|
34639
|
+
* Attachment data
|
|
34640
|
+
*/
|
|
34641
|
+
content?: ArrayBuffer | string;
|
|
34642
|
+
/**
|
|
34643
|
+
* Subject of the attached RFC822 email. Null for non-RFC822 attachment
|
|
34644
|
+
*/
|
|
34645
|
+
emailSubject?: string;
|
|
34646
|
+
/**
|
|
34647
|
+
* From field of the attached RFC822 email. Null for non-RFC822 attachment
|
|
34648
|
+
*/
|
|
34649
|
+
emailFrom?: string;
|
|
34650
|
+
/**
|
|
34651
|
+
* To field of the attached RFC822 email. Null for non-RFC822 attachment
|
|
34652
|
+
*/
|
|
34653
|
+
emailTo?: string;
|
|
34654
|
+
/**
|
|
34655
|
+
* Cc field of the attached RFC822 email. Null for non-RFC822 attachment
|
|
34656
|
+
*/
|
|
34657
|
+
emailCc?: string;
|
|
34658
|
+
/**
|
|
34659
|
+
* Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment
|
|
34660
|
+
*/
|
|
34661
|
+
emailDate?: Date;
|
|
34662
|
+
/**
|
|
34663
|
+
* The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment
|
|
34664
|
+
*/
|
|
34665
|
+
emailAttachmentsInfo?: AttachmentEntity[];
|
|
34666
|
+
}
|
|
33739
34667
|
/**
|
|
33740
34668
|
* Attachment validation info
|
|
33741
34669
|
*/
|
|
@@ -34001,6 +34929,14 @@ export interface Ticket extends Carrier {
|
|
|
34001
34929
|
* If this ticket was created from a form submission, this field will point to that record
|
|
34002
34930
|
*/
|
|
34003
34931
|
formSubmissionId?: number;
|
|
34932
|
+
/**
|
|
34933
|
+
* The id of the Request Type
|
|
34934
|
+
*/
|
|
34935
|
+
ticketTypeId?: number;
|
|
34936
|
+
/**
|
|
34937
|
+
* The name of the Request Type
|
|
34938
|
+
*/
|
|
34939
|
+
ticketTypeName?: string;
|
|
34004
34940
|
}
|
|
34005
34941
|
/**
|
|
34006
34942
|
* Get multiple tickets
|
|
@@ -34278,7 +35214,7 @@ export interface TicketEntity extends Carrier {
|
|
|
34278
35214
|
* Type of the Request
|
|
34279
35215
|
* Use MDO List name "TicketType" to get list items.
|
|
34280
35216
|
*/
|
|
34281
|
-
ticketType?:
|
|
35217
|
+
ticketType?: TicketType;
|
|
34282
35218
|
/**
|
|
34283
35219
|
* Active status monitor identity for related contact. This is a read-only property and is ignored on Save
|
|
34284
35220
|
*/
|
|
@@ -34597,6 +35533,51 @@ export interface Ticket_GetTicketMessageEntitiesRequest {
|
|
|
34597
35533
|
*/
|
|
34598
35534
|
messageIds: number[];
|
|
34599
35535
|
}
|
|
35536
|
+
/**
|
|
35537
|
+
* Create default ticket entity for particular TicketType
|
|
35538
|
+
* Returns TicketEntity
|
|
35539
|
+
*/
|
|
35540
|
+
export interface Ticket_CreateDefaultForTicketTypeRequest {
|
|
35541
|
+
/**
|
|
35542
|
+
* ID of ticket type
|
|
35543
|
+
*/
|
|
35544
|
+
ticketTypeId: number;
|
|
35545
|
+
}
|
|
35546
|
+
/**
|
|
35547
|
+
* Checks if the ticket should change its alert level based on the priority and action. If it is to change, the alert level and alert timeout for the ticket will be updated.
|
|
35548
|
+
*/
|
|
35549
|
+
export interface Ticket_DoEscalatingRequest {
|
|
35550
|
+
/**
|
|
35551
|
+
* The id of ticket
|
|
35552
|
+
*/
|
|
35553
|
+
ticketId: number;
|
|
35554
|
+
/**
|
|
35555
|
+
* The action to use when calculating the escalation
|
|
35556
|
+
*/
|
|
35557
|
+
action: enums.TicketPriorityEscalateAction;
|
|
35558
|
+
}
|
|
35559
|
+
/**
|
|
35560
|
+
* Get a list of ej_user ids who should receive hotlist notification based on request and notification type
|
|
35561
|
+
* Returns number[]
|
|
35562
|
+
*/
|
|
35563
|
+
export interface Ticket_GetHotlistEjUsersRequest {
|
|
35564
|
+
/**
|
|
35565
|
+
* The id of the ticket
|
|
35566
|
+
*/
|
|
35567
|
+
ticketId: number;
|
|
35568
|
+
/**
|
|
35569
|
+
* A list of associate ids to skip when calculating whom to get the notification
|
|
35570
|
+
*/
|
|
35571
|
+
skipAssociateIds: number[];
|
|
35572
|
+
/**
|
|
35573
|
+
* The notification type we want to check for
|
|
35574
|
+
*/
|
|
35575
|
+
notifyType: enums.NotifyType;
|
|
35576
|
+
/**
|
|
35577
|
+
* The channel which we should check for
|
|
35578
|
+
*/
|
|
35579
|
+
channel: enums.NotifyChannel;
|
|
35580
|
+
}
|
|
34600
35581
|
/**
|
|
34601
35582
|
* The TicketMessage carrier is used for representing a service ticket message
|
|
34602
35583
|
*/
|
|
@@ -34820,6 +35801,20 @@ export interface Ticket_SanitizeMailContentRequest {
|
|
|
34820
35801
|
*/
|
|
34821
35802
|
content: string;
|
|
34822
35803
|
}
|
|
35804
|
+
/**
|
|
35805
|
+
* Remove harmful HTML tags and attributes from an email, using specified options
|
|
35806
|
+
* Returns string
|
|
35807
|
+
*/
|
|
35808
|
+
export interface Ticket_SanitizeMailContentWithOptionsRequest {
|
|
35809
|
+
/**
|
|
35810
|
+
* The email content to sanitize
|
|
35811
|
+
*/
|
|
35812
|
+
content: string;
|
|
35813
|
+
/**
|
|
35814
|
+
* The options for the sanitizer engine
|
|
35815
|
+
*/
|
|
35816
|
+
options: enums.HtmlSanitizerOptions;
|
|
35817
|
+
}
|
|
34823
35818
|
/**
|
|
34824
35819
|
* Remove harmful HTML tags and attributes from an email
|
|
34825
35820
|
* Returns string[]
|
|
@@ -34888,6 +35883,16 @@ export interface Ticket_RemoveMessageAttachmentsRequest {
|
|
|
34888
35883
|
}
|
|
34889
35884
|
/**
|
|
34890
35885
|
* Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
|
|
35886
|
+
* Returns AttachmentPreview
|
|
35887
|
+
*/
|
|
35888
|
+
export interface Ticket_GetAttachmentPreviewRequest {
|
|
35889
|
+
/**
|
|
35890
|
+
* The id of the attachment to retrieve
|
|
35891
|
+
*/
|
|
35892
|
+
attachmentId: number;
|
|
35893
|
+
}
|
|
35894
|
+
/**
|
|
35895
|
+
* Deprecated, see GetPreviewAttachment instead. Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
|
|
34891
35896
|
* Returns DocumentPreview
|
|
34892
35897
|
*/
|
|
34893
35898
|
export interface Ticket_GetPreviewAttachmentStreamRequest {
|
|
@@ -34896,6 +35901,20 @@ export interface Ticket_GetPreviewAttachmentStreamRequest {
|
|
|
34896
35901
|
*/
|
|
34897
35902
|
attachmentId: number;
|
|
34898
35903
|
}
|
|
35904
|
+
/**
|
|
35905
|
+
* Get the content of an attachment which is part of RFC822 email attachment
|
|
35906
|
+
* Returns Blob
|
|
35907
|
+
*/
|
|
35908
|
+
export interface Ticket_GetRfcAttachmentStreamRequest {
|
|
35909
|
+
/**
|
|
35910
|
+
* The id of the root attachment
|
|
35911
|
+
*/
|
|
35912
|
+
attachmentId: number;
|
|
35913
|
+
/**
|
|
35914
|
+
* The position (index) of the attachment within the root attachment. Numbering starts from 0
|
|
35915
|
+
*/
|
|
35916
|
+
position: number;
|
|
35917
|
+
}
|
|
34899
35918
|
/**
|
|
34900
35919
|
* Send a message to recipients by email
|
|
34901
35920
|
*/
|
|
@@ -35053,6 +36072,32 @@ export interface Ticket_GetDefaultMessageContentFullRequest {
|
|
|
35053
36072
|
*/
|
|
35054
36073
|
ticketTypeId: number;
|
|
35055
36074
|
}
|
|
36075
|
+
/**
|
|
36076
|
+
* Generate a default message content with option to exclude signature: attachments and body as sanitized HTML
|
|
36077
|
+
* Returns TicketMessageContent
|
|
36078
|
+
*/
|
|
36079
|
+
export interface Ticket_GetDefaultMessageContentWithOptionsRequest {
|
|
36080
|
+
/**
|
|
36081
|
+
* The id of the ticket
|
|
36082
|
+
*/
|
|
36083
|
+
ticketId: number;
|
|
36084
|
+
/**
|
|
36085
|
+
* Message action type: None/Reply/ReplyAll/Forward
|
|
36086
|
+
*/
|
|
36087
|
+
messageActionType: enums.MessageActionType;
|
|
36088
|
+
/**
|
|
36089
|
+
* The id of the message to quote in the returned content. 0 to skip/ignore
|
|
36090
|
+
*/
|
|
36091
|
+
ticketMessageId: number;
|
|
36092
|
+
/**
|
|
36093
|
+
* The id of the ticket type to look for reply template. 0 to use current ticket type
|
|
36094
|
+
*/
|
|
36095
|
+
ticketTypeId: number;
|
|
36096
|
+
/**
|
|
36097
|
+
* Flag to exclude a signature when generating the return content
|
|
36098
|
+
*/
|
|
36099
|
+
excludeSignature: boolean;
|
|
36100
|
+
}
|
|
35056
36101
|
/**
|
|
35057
36102
|
* Get a ticket message entity with posibillity to change embedded images to be represented with inline data within the HTML body. If using inline data, be sure not to save this back to the database.
|
|
35058
36103
|
* Returns TicketMessageEntity
|
|
@@ -36268,6 +37313,20 @@ export interface AI_RephraseTextRequest {
|
|
|
36268
37313
|
*/
|
|
36269
37314
|
isoLangCode: string;
|
|
36270
37315
|
}
|
|
37316
|
+
/**
|
|
37317
|
+
* Generate agenda text for an appointment based on appointment's company category, title, person, etc.
|
|
37318
|
+
* Returns string
|
|
37319
|
+
*/
|
|
37320
|
+
export interface AI_CreateTextForAppointmentRequest {
|
|
37321
|
+
/**
|
|
37322
|
+
* The appointment object to generate text for.
|
|
37323
|
+
*/
|
|
37324
|
+
appointment: AppointmentEntity;
|
|
37325
|
+
/**
|
|
37326
|
+
* Language returned text should be in. Blank = do not specify language.
|
|
37327
|
+
*/
|
|
37328
|
+
isoLangCode: string;
|
|
37329
|
+
}
|
|
36271
37330
|
/**
|
|
36272
37331
|
* Details about a categorization model in HugoAI
|
|
36273
37332
|
*/
|
|
@@ -36783,6 +37842,12 @@ export interface DocumentMigration_MigrateDocumentToNewDocPluginRequest {
|
|
|
36783
37842
|
*/
|
|
36784
37843
|
export interface DocumentMigration_HasDocumentsToMigrateRequest {
|
|
36785
37844
|
}
|
|
37845
|
+
/**
|
|
37846
|
+
* Gets the total number of documents that is not visible to everyone
|
|
37847
|
+
* Returns number
|
|
37848
|
+
*/
|
|
37849
|
+
export interface DocumentMigration_GetNumberOfConfidentialDocumentsRequest {
|
|
37850
|
+
}
|
|
36786
37851
|
/**
|
|
36787
37852
|
*
|
|
36788
37853
|
*/
|
|
@@ -36973,6 +38038,18 @@ export interface EmailFlow extends Carrier {
|
|
|
36973
38038
|
* Persons in the given selections are not allowed to enter this workflow
|
|
36974
38039
|
*/
|
|
36975
38040
|
blockLists?: number[];
|
|
38041
|
+
/**
|
|
38042
|
+
* Info about workflow content like messages, links and forms (read-only)
|
|
38043
|
+
*/
|
|
38044
|
+
contentInfo?: WorkflowContentInfo[];
|
|
38045
|
+
/**
|
|
38046
|
+
* On exit with no success criteria met, we attempt to add the participant to the given flow
|
|
38047
|
+
*/
|
|
38048
|
+
exitFlowId?: number;
|
|
38049
|
+
/**
|
|
38050
|
+
* On exit with success criteria met, we attempt to add the participant to the given flow
|
|
38051
|
+
*/
|
|
38052
|
+
exitSuccessFlowId?: number;
|
|
36976
38053
|
/**
|
|
36977
38054
|
* The associate that first created the flow. The property is read-only.
|
|
36978
38055
|
*/
|
|
@@ -36995,7 +38072,7 @@ export interface EmailFlow extends Carrier {
|
|
|
36995
38072
|
visibleFor?: VisibleFor[];
|
|
36996
38073
|
}
|
|
36997
38074
|
/**
|
|
36998
|
-
* Try to add a participant to the EmailFlow
|
|
38075
|
+
* Try to add a participant to the EmailFlow. Same function available in PersonAgent
|
|
36999
38076
|
* Returns boolean[]
|
|
37000
38077
|
*/
|
|
37001
38078
|
export interface Workflow_TryAddPersonsToEmailFlowRequest {
|
|
@@ -37062,6 +38139,44 @@ export interface Workflow_CopyEmailFlowContentRequest {
|
|
|
37062
38139
|
*/
|
|
37063
38140
|
shipmentId: number;
|
|
37064
38141
|
}
|
|
38142
|
+
/**
|
|
38143
|
+
* Attempt to update stored field values for up to the given number of form submissions
|
|
38144
|
+
* Returns number
|
|
38145
|
+
*/
|
|
38146
|
+
export interface Workflow_UpdateFormSubmissionsRequest {
|
|
38147
|
+
/**
|
|
38148
|
+
* The maximum number of form submissions to attempt to save as form field values.
|
|
38149
|
+
*/
|
|
38150
|
+
maxCount: number;
|
|
38151
|
+
}
|
|
38152
|
+
/**
|
|
38153
|
+
* Set status on workflow, Run or pause flow
|
|
38154
|
+
* Returns WorkflowDefinitionStatus
|
|
38155
|
+
*/
|
|
38156
|
+
export interface Workflow_SetStatusOnWorkflowRequest {
|
|
38157
|
+
/**
|
|
38158
|
+
* The id of the email flow to run or pause
|
|
38159
|
+
*/
|
|
38160
|
+
emailFlowId: number;
|
|
38161
|
+
/**
|
|
38162
|
+
* The new status
|
|
38163
|
+
*/
|
|
38164
|
+
status: enums.WorkflowDefinitionStatus;
|
|
38165
|
+
}
|
|
38166
|
+
/**
|
|
38167
|
+
* Copy an email flow.
|
|
38168
|
+
* Returns number
|
|
38169
|
+
*/
|
|
38170
|
+
export interface Workflow_CopyEmailFlowRequest {
|
|
38171
|
+
/**
|
|
38172
|
+
* The EmailFlow to copy.
|
|
38173
|
+
*/
|
|
38174
|
+
emailFlowId: number;
|
|
38175
|
+
/**
|
|
38176
|
+
* The name of the new email flow
|
|
38177
|
+
*/
|
|
38178
|
+
newName: string;
|
|
38179
|
+
}
|
|
37065
38180
|
/**
|
|
37066
38181
|
* FieldValue carrier
|
|
37067
38182
|
*/
|
|
@@ -37075,6 +38190,23 @@ export interface FieldValue extends Carrier {
|
|
|
37075
38190
|
*/
|
|
37076
38191
|
values?: string[];
|
|
37077
38192
|
}
|
|
38193
|
+
/**
|
|
38194
|
+
* Info about workflow content like messages, forms and links.
|
|
38195
|
+
*/
|
|
38196
|
+
export interface WorkflowContentInfo extends Carrier {
|
|
38197
|
+
/**
|
|
38198
|
+
* The workflow content type
|
|
38199
|
+
*/
|
|
38200
|
+
workflowContentType?: enums.WorkflowContentType;
|
|
38201
|
+
/**
|
|
38202
|
+
* The id of the content row.
|
|
38203
|
+
*/
|
|
38204
|
+
id?: number;
|
|
38205
|
+
/**
|
|
38206
|
+
* True if the content (form, link) have associated actions.
|
|
38207
|
+
*/
|
|
38208
|
+
actions?: boolean;
|
|
38209
|
+
}
|
|
37078
38210
|
/**
|
|
37079
38211
|
* Workflow event carrier
|
|
37080
38212
|
*/
|
|
@@ -37156,7 +38288,7 @@ export interface WorkflowStepBase {
|
|
|
37156
38288
|
*/
|
|
37157
38289
|
workflowStepId?: number;
|
|
37158
38290
|
/**
|
|
37159
|
-
* The
|
|
38291
|
+
* The workflow to connect to
|
|
37160
38292
|
*/
|
|
37161
38293
|
workflowId?: number;
|
|
37162
38294
|
/**
|
|
@@ -37291,7 +38423,7 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
|
|
|
37291
38423
|
/**
|
|
37292
38424
|
* Request status
|
|
37293
38425
|
*/
|
|
37294
|
-
|
|
38426
|
+
ticketStatus?: number;
|
|
37295
38427
|
/**
|
|
37296
38428
|
* Message
|
|
37297
38429
|
*/
|
|
@@ -37353,16 +38485,52 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
|
|
|
37353
38485
|
* Sale owner
|
|
37354
38486
|
*/
|
|
37355
38487
|
owner?: number;
|
|
38488
|
+
/**
|
|
38489
|
+
* Source
|
|
38490
|
+
*/
|
|
38491
|
+
source?: number;
|
|
37356
38492
|
}
|
|
37357
38493
|
/**
|
|
37358
38494
|
* Step in workflow.
|
|
37359
38495
|
*/
|
|
37360
38496
|
export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
|
|
38497
|
+
/**
|
|
38498
|
+
* Recipient notified by Email
|
|
38499
|
+
*/
|
|
38500
|
+
to?: enums.WorkflowNotifyEmailType;
|
|
38501
|
+
/**
|
|
38502
|
+
* Recipient email addresses notified by Email
|
|
38503
|
+
*/
|
|
38504
|
+
specificEmailAddresses?: string[];
|
|
38505
|
+
/**
|
|
38506
|
+
* Email notification subject
|
|
38507
|
+
*/
|
|
38508
|
+
subject?: string;
|
|
38509
|
+
/**
|
|
38510
|
+
* Email notification text
|
|
38511
|
+
*/
|
|
38512
|
+
text?: string;
|
|
37361
38513
|
}
|
|
37362
38514
|
/**
|
|
37363
38515
|
* Step in workflow.
|
|
37364
38516
|
*/
|
|
37365
38517
|
export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
|
|
38518
|
+
/**
|
|
38519
|
+
* Recipient notified by SMS
|
|
38520
|
+
*/
|
|
38521
|
+
to?: enums.WorkflowNotifySMSType;
|
|
38522
|
+
/**
|
|
38523
|
+
* Recipient phone numbers notified by SMS
|
|
38524
|
+
*/
|
|
38525
|
+
specificPhoneNumbers?: string[];
|
|
38526
|
+
/**
|
|
38527
|
+
* SMS sender
|
|
38528
|
+
*/
|
|
38529
|
+
from?: string;
|
|
38530
|
+
/**
|
|
38531
|
+
* Notification SMS text
|
|
38532
|
+
*/
|
|
38533
|
+
text?: string;
|
|
37366
38534
|
}
|
|
37367
38535
|
/**
|
|
37368
38536
|
* Workflow step split option carrier base carrier class.
|
|
@@ -37381,7 +38549,7 @@ export interface WorkflowStepOptionBase {
|
|
|
37381
38549
|
*/
|
|
37382
38550
|
workflowStepId?: number;
|
|
37383
38551
|
/**
|
|
37384
|
-
*
|
|
38552
|
+
* Workflow id
|
|
37385
38553
|
*/
|
|
37386
38554
|
workflowId?: number;
|
|
37387
38555
|
/**
|
|
@@ -37389,7 +38557,7 @@ export interface WorkflowStepOptionBase {
|
|
|
37389
38557
|
*/
|
|
37390
38558
|
name?: string;
|
|
37391
38559
|
/**
|
|
37392
|
-
*
|
|
38560
|
+
* Step order
|
|
37393
38561
|
*/
|
|
37394
38562
|
rank?: number;
|
|
37395
38563
|
/**
|
|
@@ -37418,7 +38586,20 @@ export interface Workflow_GetWorkflowStepOptionRequest {
|
|
|
37418
38586
|
workflowStepOptionId: number;
|
|
37419
38587
|
}
|
|
37420
38588
|
/**
|
|
37421
|
-
* Option that splits on matching
|
|
38589
|
+
* Option that splits on matching data on a specific form submitted
|
|
38590
|
+
*/
|
|
38591
|
+
export interface WorkflowStepOptionFormData extends WorkflowStepOptionBase {
|
|
38592
|
+
/**
|
|
38593
|
+
* The id of the form submitted
|
|
38594
|
+
*/
|
|
38595
|
+
formId?: number;
|
|
38596
|
+
/**
|
|
38597
|
+
* The restrictions (can be multiple groups) that determines if this option is activated
|
|
38598
|
+
*/
|
|
38599
|
+
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
38600
|
+
}
|
|
38601
|
+
/**
|
|
38602
|
+
* Option that splits on a form is submitted or not
|
|
37422
38603
|
*/
|
|
37423
38604
|
export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
|
|
37424
38605
|
/**
|
|
@@ -37427,7 +38608,7 @@ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase
|
|
|
37427
38608
|
formId?: number;
|
|
37428
38609
|
}
|
|
37429
38610
|
/**
|
|
37430
|
-
* Option that splits on
|
|
38611
|
+
* Option that splits on if a link is clicked or not
|
|
37431
38612
|
*/
|
|
37432
38613
|
export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
|
|
37433
38614
|
/**
|
|
@@ -37445,7 +38626,7 @@ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
|
|
|
37445
38626
|
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
37446
38627
|
}
|
|
37447
38628
|
/**
|
|
37448
|
-
* Option that splits on
|
|
38629
|
+
* Option that splits on project membership
|
|
37449
38630
|
*/
|
|
37450
38631
|
export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
|
|
37451
38632
|
/**
|
|
@@ -37454,7 +38635,7 @@ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionB
|
|
|
37454
38635
|
projectId?: number;
|
|
37455
38636
|
}
|
|
37456
38637
|
/**
|
|
37457
|
-
* Option that splits on
|
|
38638
|
+
* Option that splits on selection membership
|
|
37458
38639
|
*/
|
|
37459
38640
|
export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
|
|
37460
38641
|
/**
|
|
@@ -37479,6 +38660,10 @@ export interface WorkflowStepRemoveFromList extends WorkflowStepBase {
|
|
|
37479
38660
|
* Step in workflow.
|
|
37480
38661
|
*/
|
|
37481
38662
|
export interface WorkflowStepRunScript extends WorkflowStepBase {
|
|
38663
|
+
/**
|
|
38664
|
+
* Script Id to run
|
|
38665
|
+
*/
|
|
38666
|
+
scriptId?: number;
|
|
37482
38667
|
}
|
|
37483
38668
|
/**
|
|
37484
38669
|
* Step in workflow that waits for time.
|
|
@@ -37535,23 +38720,67 @@ export interface WorkflowStepSplit extends WorkflowStepBase {
|
|
|
37535
38720
|
*/
|
|
37536
38721
|
options?: WorkflowStepOptionBase[];
|
|
37537
38722
|
/**
|
|
37538
|
-
* If set to true,
|
|
38723
|
+
* If set to true, participants descending the Everyone else branch will exit the flow on this step
|
|
37539
38724
|
*/
|
|
37540
38725
|
exitFlow?: boolean;
|
|
38726
|
+
/**
|
|
38727
|
+
* Flow to add participants to on exit
|
|
38728
|
+
*/
|
|
38729
|
+
exitToFlowId?: number;
|
|
38730
|
+
/**
|
|
38731
|
+
* Static selection to add participants to on exit
|
|
38732
|
+
*/
|
|
38733
|
+
exitToSelectionId?: number;
|
|
37541
38734
|
}
|
|
37542
38735
|
/**
|
|
37543
38736
|
* Step in workflow.
|
|
37544
38737
|
*/
|
|
37545
38738
|
export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
|
|
37546
38739
|
/**
|
|
37547
|
-
*
|
|
38740
|
+
* The name/description of this update participant step
|
|
38741
|
+
*/
|
|
38742
|
+
description?: string;
|
|
38743
|
+
/**
|
|
38744
|
+
* Fields and values to change for persons
|
|
38745
|
+
*/
|
|
38746
|
+
fieldValuesPerson?: FieldValueInfo[];
|
|
38747
|
+
/**
|
|
38748
|
+
* Fields and values to change for companies
|
|
37548
38749
|
*/
|
|
37549
|
-
|
|
38750
|
+
fieldValuesCompany?: FieldValueInfo[];
|
|
37550
38751
|
}
|
|
37551
38752
|
/**
|
|
37552
38753
|
* Step in workflow.
|
|
37553
38754
|
*/
|
|
37554
38755
|
export interface WorkflowStepWaitForAction extends WorkflowStepBase {
|
|
38756
|
+
/**
|
|
38757
|
+
* If set to true, participants timing out will exit the flow
|
|
38758
|
+
*/
|
|
38759
|
+
exitFlow?: boolean;
|
|
38760
|
+
/**
|
|
38761
|
+
* Flow to add participants to on exit
|
|
38762
|
+
*/
|
|
38763
|
+
exitToFlowId?: number;
|
|
38764
|
+
/**
|
|
38765
|
+
* Static selection to add participants to on exit
|
|
38766
|
+
*/
|
|
38767
|
+
exitToSelectionId?: number;
|
|
38768
|
+
/**
|
|
38769
|
+
* The given number of intervals to wait (timeout)
|
|
38770
|
+
*/
|
|
38771
|
+
actionTimeout?: number;
|
|
38772
|
+
/**
|
|
38773
|
+
* If set to false, participants will wait forever
|
|
38774
|
+
*/
|
|
38775
|
+
waitForTimeout?: boolean;
|
|
38776
|
+
/**
|
|
38777
|
+
* Interval type (Minutes, days, weeks...)
|
|
38778
|
+
*/
|
|
38779
|
+
timeoutIntervalType?: enums.WorkflowTimeWaitIntervalType;
|
|
38780
|
+
/**
|
|
38781
|
+
* The actions we are waiting for
|
|
38782
|
+
*/
|
|
38783
|
+
actions?: WorkflowWaitForAction[];
|
|
37555
38784
|
}
|
|
37556
38785
|
/**
|
|
37557
38786
|
* Step in workflow that waits for time.
|
|
@@ -37595,6 +38824,35 @@ export interface WorkflowTrigger extends Carrier {
|
|
|
37595
38824
|
*/
|
|
37596
38825
|
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
37597
38826
|
}
|
|
38827
|
+
/**
|
|
38828
|
+
* Workflow action info carrier
|
|
38829
|
+
*/
|
|
38830
|
+
export interface WorkflowWaitForAction extends Carrier {
|
|
38831
|
+
/**
|
|
38832
|
+
* Primary key
|
|
38833
|
+
*/
|
|
38834
|
+
workflowWaitForActionId?: number;
|
|
38835
|
+
/**
|
|
38836
|
+
* The workflow step this instance belongs to
|
|
38837
|
+
*/
|
|
38838
|
+
workflowStepId?: number;
|
|
38839
|
+
/**
|
|
38840
|
+
* Workflow id
|
|
38841
|
+
*/
|
|
38842
|
+
workflowId?: number;
|
|
38843
|
+
/**
|
|
38844
|
+
* The rank of this action
|
|
38845
|
+
*/
|
|
38846
|
+
rank?: number;
|
|
38847
|
+
/**
|
|
38848
|
+
* The type of action
|
|
38849
|
+
*/
|
|
38850
|
+
actionType?: enums.WorkflowWaitForActionType;
|
|
38851
|
+
/**
|
|
38852
|
+
* The restrictions (can be multiple groups) that make up the Workflow action criteria
|
|
38853
|
+
*/
|
|
38854
|
+
restrictionGroups?: ArchiveRestrictionGroup[];
|
|
38855
|
+
}
|
|
37598
38856
|
export interface DSAParameters {
|
|
37599
38857
|
Counter: number;
|
|
37600
38858
|
G: any;
|