@superoffice/webapi 10.5.4 → 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.
Files changed (198) hide show
  1. package/dist/cjs/AIAgent.d.ts +16 -0
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +34 -0
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/AppointmentAgent.d.ts +117 -0
  6. package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
  7. package/dist/cjs/AppointmentAgent.js +242 -0
  8. package/dist/cjs/AppointmentAgent.js.map +1 -1
  9. package/dist/cjs/CRMScriptAgent.d.ts +31 -0
  10. package/dist/cjs/CRMScriptAgent.d.ts.map +1 -1
  11. package/dist/cjs/CRMScriptAgent.js +67 -0
  12. package/dist/cjs/CRMScriptAgent.js.map +1 -1
  13. package/dist/cjs/Carriers.d.ts +1289 -31
  14. package/dist/cjs/Carriers.d.ts.map +1 -1
  15. package/dist/cjs/Converters.d.ts +30 -0
  16. package/dist/cjs/Converters.d.ts.map +1 -1
  17. package/dist/cjs/Converters.js +635 -30
  18. package/dist/cjs/Converters.js.map +1 -1
  19. package/dist/cjs/CustomerServiceAgent.d.ts +30 -0
  20. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
  21. package/dist/cjs/CustomerServiceAgent.js +66 -0
  22. package/dist/cjs/CustomerServiceAgent.js.map +1 -1
  23. package/dist/cjs/DiagnosticsAgent.d.ts +105 -0
  24. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  25. package/dist/cjs/DiagnosticsAgent.js +229 -0
  26. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  27. package/dist/cjs/DocumentAgent.d.ts +17 -0
  28. package/dist/cjs/DocumentAgent.d.ts.map +1 -1
  29. package/dist/cjs/DocumentAgent.js +36 -0
  30. package/dist/cjs/DocumentAgent.js.map +1 -1
  31. package/dist/cjs/DocumentMigrationAgent.d.ts +7 -0
  32. package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -1
  33. package/dist/cjs/DocumentMigrationAgent.js +24 -0
  34. package/dist/cjs/DocumentMigrationAgent.js.map +1 -1
  35. package/dist/cjs/EMailAgent.d.ts +33 -0
  36. package/dist/cjs/EMailAgent.d.ts.map +1 -1
  37. package/dist/cjs/EMailAgent.js +69 -0
  38. package/dist/cjs/EMailAgent.js.map +1 -1
  39. package/dist/cjs/Enums.d.ts +299 -5
  40. package/dist/cjs/Enums.d.ts.map +1 -1
  41. package/dist/cjs/Enums.js +309 -4
  42. package/dist/cjs/Enums.js.map +1 -1
  43. package/dist/cjs/LicenseAgent.d.ts +15 -0
  44. package/dist/cjs/LicenseAgent.d.ts.map +1 -1
  45. package/dist/cjs/LicenseAgent.js +33 -0
  46. package/dist/cjs/LicenseAgent.js.map +1 -1
  47. package/dist/cjs/ListAgent.d.ts +23 -22
  48. package/dist/cjs/ListAgent.d.ts.map +1 -1
  49. package/dist/cjs/ListAgent.js +36 -48
  50. package/dist/cjs/ListAgent.js.map +1 -1
  51. package/dist/cjs/MDOAgent.d.ts +1 -1
  52. package/dist/cjs/MarketingAgent.d.ts +31 -0
  53. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  54. package/dist/cjs/MarketingAgent.js +67 -0
  55. package/dist/cjs/MarketingAgent.js.map +1 -1
  56. package/dist/cjs/PersonAgent.d.ts +35 -0
  57. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  58. package/dist/cjs/PersonAgent.js +71 -0
  59. package/dist/cjs/PersonAgent.js.map +1 -1
  60. package/dist/cjs/ProjectAgent.d.ts +16 -0
  61. package/dist/cjs/ProjectAgent.d.ts.map +1 -1
  62. package/dist/cjs/ProjectAgent.js +34 -0
  63. package/dist/cjs/ProjectAgent.js.map +1 -1
  64. package/dist/cjs/QuoteAgent.d.ts +16 -0
  65. package/dist/cjs/QuoteAgent.d.ts.map +1 -1
  66. package/dist/cjs/QuoteAgent.js +34 -0
  67. package/dist/cjs/QuoteAgent.js.map +1 -1
  68. package/dist/cjs/SaleAgent.d.ts +47 -0
  69. package/dist/cjs/SaleAgent.d.ts.map +1 -1
  70. package/dist/cjs/SaleAgent.js +101 -0
  71. package/dist/cjs/SaleAgent.js.map +1 -1
  72. package/dist/cjs/SelectionAgent.d.ts +15 -7
  73. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  74. package/dist/cjs/SelectionAgent.js +33 -21
  75. package/dist/cjs/SelectionAgent.js.map +1 -1
  76. package/dist/cjs/SentryAgent.d.ts +15 -0
  77. package/dist/cjs/SentryAgent.d.ts.map +1 -1
  78. package/dist/cjs/SentryAgent.js +33 -0
  79. package/dist/cjs/SentryAgent.js.map +1 -1
  80. package/dist/cjs/TicketAgent.d.ts +117 -2
  81. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  82. package/dist/cjs/TicketAgent.js +255 -0
  83. package/dist/cjs/TicketAgent.js.map +1 -1
  84. package/dist/cjs/WorkflowAgent.d.ts +80 -2
  85. package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
  86. package/dist/cjs/WorkflowAgent.js +188 -0
  87. package/dist/cjs/WorkflowAgent.js.map +1 -1
  88. package/dist/esm/AIAgent.d.ts +16 -0
  89. package/dist/esm/AIAgent.d.ts.map +1 -1
  90. package/dist/esm/AIAgent.js +34 -0
  91. package/dist/esm/AIAgent.js.map +1 -1
  92. package/dist/esm/AppointmentAgent.d.ts +117 -0
  93. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  94. package/dist/esm/AppointmentAgent.js +242 -0
  95. package/dist/esm/AppointmentAgent.js.map +1 -1
  96. package/dist/esm/CRMScriptAgent.d.ts +31 -0
  97. package/dist/esm/CRMScriptAgent.d.ts.map +1 -1
  98. package/dist/esm/CRMScriptAgent.js +67 -0
  99. package/dist/esm/CRMScriptAgent.js.map +1 -1
  100. package/dist/esm/Carriers.d.ts +1289 -31
  101. package/dist/esm/Carriers.d.ts.map +1 -1
  102. package/dist/esm/Converters.d.ts +30 -0
  103. package/dist/esm/Converters.d.ts.map +1 -1
  104. package/dist/esm/Converters.js +582 -8
  105. package/dist/esm/Converters.js.map +1 -1
  106. package/dist/esm/CustomerServiceAgent.d.ts +30 -0
  107. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
  108. package/dist/esm/CustomerServiceAgent.js +66 -0
  109. package/dist/esm/CustomerServiceAgent.js.map +1 -1
  110. package/dist/esm/DiagnosticsAgent.d.ts +105 -0
  111. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  112. package/dist/esm/DiagnosticsAgent.js +229 -0
  113. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  114. package/dist/esm/DocumentAgent.d.ts +17 -0
  115. package/dist/esm/DocumentAgent.d.ts.map +1 -1
  116. package/dist/esm/DocumentAgent.js +36 -0
  117. package/dist/esm/DocumentAgent.js.map +1 -1
  118. package/dist/esm/DocumentMigrationAgent.d.ts +7 -0
  119. package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -1
  120. package/dist/esm/DocumentMigrationAgent.js +24 -0
  121. package/dist/esm/DocumentMigrationAgent.js.map +1 -1
  122. package/dist/esm/EMailAgent.d.ts +33 -0
  123. package/dist/esm/EMailAgent.d.ts.map +1 -1
  124. package/dist/esm/EMailAgent.js +69 -0
  125. package/dist/esm/EMailAgent.js.map +1 -1
  126. package/dist/esm/Enums.d.ts +299 -5
  127. package/dist/esm/Enums.d.ts.map +1 -1
  128. package/dist/esm/Enums.js +305 -0
  129. package/dist/esm/Enums.js.map +1 -1
  130. package/dist/esm/LicenseAgent.d.ts +15 -0
  131. package/dist/esm/LicenseAgent.d.ts.map +1 -1
  132. package/dist/esm/LicenseAgent.js +33 -0
  133. package/dist/esm/LicenseAgent.js.map +1 -1
  134. package/dist/esm/ListAgent.d.ts +23 -22
  135. package/dist/esm/ListAgent.d.ts.map +1 -1
  136. package/dist/esm/ListAgent.js +36 -48
  137. package/dist/esm/ListAgent.js.map +1 -1
  138. package/dist/esm/MDOAgent.d.ts +1 -1
  139. package/dist/esm/MarketingAgent.d.ts +31 -0
  140. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  141. package/dist/esm/MarketingAgent.js +67 -0
  142. package/dist/esm/MarketingAgent.js.map +1 -1
  143. package/dist/esm/PersonAgent.d.ts +35 -0
  144. package/dist/esm/PersonAgent.d.ts.map +1 -1
  145. package/dist/esm/PersonAgent.js +71 -0
  146. package/dist/esm/PersonAgent.js.map +1 -1
  147. package/dist/esm/ProjectAgent.d.ts +16 -0
  148. package/dist/esm/ProjectAgent.d.ts.map +1 -1
  149. package/dist/esm/ProjectAgent.js +34 -0
  150. package/dist/esm/ProjectAgent.js.map +1 -1
  151. package/dist/esm/QuoteAgent.d.ts +16 -0
  152. package/dist/esm/QuoteAgent.d.ts.map +1 -1
  153. package/dist/esm/QuoteAgent.js +34 -0
  154. package/dist/esm/QuoteAgent.js.map +1 -1
  155. package/dist/esm/SaleAgent.d.ts +47 -0
  156. package/dist/esm/SaleAgent.d.ts.map +1 -1
  157. package/dist/esm/SaleAgent.js +101 -0
  158. package/dist/esm/SaleAgent.js.map +1 -1
  159. package/dist/esm/SelectionAgent.d.ts +15 -7
  160. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  161. package/dist/esm/SelectionAgent.js +33 -21
  162. package/dist/esm/SelectionAgent.js.map +1 -1
  163. package/dist/esm/SentryAgent.d.ts +15 -0
  164. package/dist/esm/SentryAgent.d.ts.map +1 -1
  165. package/dist/esm/SentryAgent.js +33 -0
  166. package/dist/esm/SentryAgent.js.map +1 -1
  167. package/dist/esm/TicketAgent.d.ts +117 -2
  168. package/dist/esm/TicketAgent.d.ts.map +1 -1
  169. package/dist/esm/TicketAgent.js +255 -0
  170. package/dist/esm/TicketAgent.js.map +1 -1
  171. package/dist/esm/WorkflowAgent.d.ts +80 -2
  172. package/dist/esm/WorkflowAgent.d.ts.map +1 -1
  173. package/dist/esm/WorkflowAgent.js +188 -0
  174. package/dist/esm/WorkflowAgent.js.map +1 -1
  175. package/package.json +5 -6
  176. package/src/AIAgent.ts +58 -0
  177. package/src/AppointmentAgent.ts +406 -0
  178. package/src/CRMScriptAgent.ts +114 -0
  179. package/src/Carriers.ts +1667 -34
  180. package/src/Converters.ts +677 -9
  181. package/src/CustomerServiceAgent.ts +112 -0
  182. package/src/DiagnosticsAgent.ts +380 -0
  183. package/src/DocumentAgent.ts +61 -0
  184. package/src/DocumentMigrationAgent.ts +30 -0
  185. package/src/EMailAgent.ts +118 -0
  186. package/src/Enums.ts +316 -0
  187. package/src/LicenseAgent.ts +56 -0
  188. package/src/ListAgent.ts +69 -65
  189. package/src/MDOAgent.ts +1 -1
  190. package/src/MarketingAgent.ts +114 -0
  191. package/src/PersonAgent.ts +122 -0
  192. package/src/ProjectAgent.ts +58 -0
  193. package/src/QuoteAgent.ts +58 -0
  194. package/src/SaleAgent.ts +172 -0
  195. package/src/SelectionAgent.ts +56 -23
  196. package/src/SentryAgent.ts +56 -0
  197. package/src/TicketAgent.ts +432 -2
  198. package/src/WorkflowAgent.ts +268 -2
package/src/Carriers.ts CHANGED
@@ -1248,7 +1248,7 @@ export interface SoPrincipalCarrier {
1248
1248
  categoryId?: number;
1249
1249
 
1250
1250
  /**
1251
- * Owner (AssocaiteId) of the company that the user belongs to.
1251
+ * Owner (AssociateId) of the company that the user belongs to.
1252
1252
  */
1253
1253
  contactOwner?: number;
1254
1254
 
@@ -3773,6 +3773,23 @@ export interface Quote_GetExtraInfoRequest {
3773
3773
 
3774
3774
  // response object: ProductExtraDataField[]
3775
3775
 
3776
+ /**
3777
+ * Create and save quotelines based on the product keys added
3778
+ * Returns number
3779
+ */
3780
+ export interface Quote_CreateAndSaveQuoteLinesRequest {
3781
+ /**
3782
+ * Primary key of the alternative
3783
+ */
3784
+ quoteAlternativeId: number;
3785
+ /**
3786
+ * Array of the product keys to add
3787
+ */
3788
+ erpProductKeys: string[];
3789
+ }
3790
+
3791
+ // response object: number
3792
+
3776
3793
 
3777
3794
  /**
3778
3795
  * QuoteLineConfiguration contains information about which configuration fields that is visible in the GUI. Read only and mandatory fields are also specified.
@@ -7661,6 +7678,11 @@ export interface Person extends Carrier {
7661
7678
  */
7662
7679
  categoryName?: string;
7663
7680
 
7681
+ /**
7682
+ * Alphanumeric user field
7683
+ */
7684
+ personNumber?: string;
7685
+
7664
7686
  }
7665
7687
 
7666
7688
 
@@ -7668,6 +7690,23 @@ export interface Person extends Carrier {
7668
7690
 
7669
7691
 
7670
7692
 
7693
+ /**
7694
+ * Try to add a participant to the EmailFlow, Same function available in WorkflowAgent
7695
+ * Returns boolean[]
7696
+ */
7697
+ export interface Person_TryAddPersonsToEmailFlowRequest {
7698
+ /**
7699
+ * Primary key of EmailFlow
7700
+ */
7701
+ emailFlowId: number;
7702
+ /**
7703
+ * Array of Person Ids
7704
+ */
7705
+ personIds: number[];
7706
+ }
7707
+
7708
+ // response object: boolean[]
7709
+
7671
7710
 
7672
7711
  /**
7673
7712
  * The Person Service. The service implements all services working with the Person object.
@@ -7987,6 +8026,11 @@ export interface PersonEntity extends Carrier {
7987
8026
  */
7988
8027
  activeStatusMonitorId?: number;
7989
8028
 
8029
+ /**
8030
+ * The form id of the form that created the person
8031
+ */
8032
+ createdByFormId?: number;
8033
+
7990
8034
  /**
7991
8035
  * Dictionary of user defined field data.
7992
8036
  * 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"
@@ -8424,6 +8468,35 @@ export interface Person_CreateTemporaryKeyRequest {
8424
8468
 
8425
8469
  // response object: string
8426
8470
 
8471
+ /**
8472
+ * 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.
8473
+ * Returns string
8474
+ */
8475
+ export interface Person_CreateTemporaryKeyWithPayloadRequest {
8476
+ /**
8477
+ * The domain this key is for
8478
+ */
8479
+ domain: enums.TemporaryKeyDomain;
8480
+ /**
8481
+ * The primary key of the entity this is for. Depends on domain.
8482
+ */
8483
+ targetId: number;
8484
+ /**
8485
+ * The person this key is for. May be null.
8486
+ */
8487
+ personId: number;
8488
+ /**
8489
+ * When the key will expire (servers local time)
8490
+ */
8491
+ expires: Date;
8492
+ /**
8493
+ * The payload for the temporary key
8494
+ */
8495
+ payload: string;
8496
+ }
8497
+
8498
+ // response object: string
8499
+
8427
8500
  /**
8428
8501
  * Check a temporary key for validity, and in case it is valid, return its domain, targetId and personId
8429
8502
  * Returns TemporaryKeyInfo
@@ -8950,6 +9023,11 @@ export interface TemporaryKeyInfo extends Carrier {
8950
9023
  */
8951
9024
  isExpired?: boolean;
8952
9025
 
9026
+ /**
9027
+ * The payload for this key. May be null or empty.
9028
+ */
9029
+ payload?: string;
9030
+
8953
9031
  }
8954
9032
 
8955
9033
 
@@ -9519,6 +9597,19 @@ export interface Sale_ValidateSaleEntityRequest {
9519
9597
 
9520
9598
  // response object: StringDictionary
9521
9599
 
9600
+ /**
9601
+ * Returns true is the sale has a quote
9602
+ * Returns boolean
9603
+ */
9604
+ export interface Sale_SaleHasQuoteRequest {
9605
+ /**
9606
+ * The id of the sale
9607
+ */
9608
+ saleId: number;
9609
+ }
9610
+
9611
+ // response object: boolean
9612
+
9522
9613
 
9523
9614
  /**
9524
9615
  * Returning the opportunities (open sales) belonging to the user currently logged on
@@ -9617,6 +9708,22 @@ export interface Sale_SetAsSoldRequest {
9617
9708
 
9618
9709
  // Void response...
9619
9710
 
9711
+ /**
9712
+ * Change the status of one or more Sales to Sold. Note that this does not mark them as Completed.
9713
+ */
9714
+ export interface Sale_SetAsSoldWithReasonRequest {
9715
+ /**
9716
+ * Array of sale ids to be marked as lost. All the normal write access rules apply.
9717
+ */
9718
+ saleIds: number[];
9719
+ /**
9720
+ * The ID of the sold reason.
9721
+ */
9722
+ reasonId: number;
9723
+ }
9724
+
9725
+ // Void response...
9726
+
9620
9727
  /**
9621
9728
  * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
9622
9729
  */
@@ -9629,6 +9736,22 @@ export interface Sale_SetAsLostRequest {
9629
9736
 
9630
9737
  // Void response...
9631
9738
 
9739
+ /**
9740
+ * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
9741
+ */
9742
+ export interface Sale_SetAsLostWithReasonRequest {
9743
+ /**
9744
+ * Array of sale ids to be marked as lost. All normal write access rules apply.
9745
+ */
9746
+ saleIds: number[];
9747
+ /**
9748
+ * The ID of the lost reason.
9749
+ */
9750
+ reasonId: number;
9751
+ }
9752
+
9753
+ // Void response...
9754
+
9632
9755
  /**
9633
9756
  * Returns all sales for the contact provided.
9634
9757
  * Returns Sale[]
@@ -11413,6 +11536,22 @@ export interface ProjectMember extends Carrier {
11413
11536
 
11414
11537
 
11415
11538
 
11539
+ /**
11540
+ * Update existing project members. Not creating new (only projectmember_id > 0 accepted)
11541
+ */
11542
+ export interface Project_UpdateProjectMembersRequest {
11543
+ /**
11544
+ * Project of which members will be updated
11545
+ */
11546
+ projectId: number;
11547
+ /**
11548
+ * Project members to update
11549
+ */
11550
+ projectMembers: ProjectMember[];
11551
+ }
11552
+
11553
+ // Void response...
11554
+
11416
11555
 
11417
11556
  /**
11418
11557
  * Returns an array of project members
@@ -11486,6 +11625,7 @@ export interface Project_SaveProjectMembersFunctionAndCommentRequest {
11486
11625
 
11487
11626
 
11488
11627
 
11628
+
11489
11629
  /**
11490
11630
  *
11491
11631
  */
@@ -12033,6 +12173,11 @@ export interface Appointment extends Carrier {
12033
12173
  */
12034
12174
  cautionWarning?: enums.AppointmentCautionWarning;
12035
12175
 
12176
+ /**
12177
+ * Set if an external system owns this appointment.
12178
+ */
12179
+ ownedExternally?: enums.AppointmentExternalOwner;
12180
+
12036
12181
  /**
12037
12182
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
12038
12183
  */
@@ -12393,6 +12538,11 @@ export interface AppointmentEntity extends Carrier {
12393
12538
  */
12394
12539
  cautionWarning?: enums.AppointmentCautionWarning;
12395
12540
 
12541
+ /**
12542
+ * Set if an external system owns this appointment.
12543
+ */
12544
+ ownedExternally?: enums.AppointmentExternalOwner;
12545
+
12396
12546
  /**
12397
12547
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
12398
12548
  */
@@ -12786,6 +12936,52 @@ export interface Appointment_MoveRequest {
12786
12936
 
12787
12937
  // response object: AppointmentEntity
12788
12938
 
12939
+ /**
12940
+ * Moving a booking to another start time.
12941
+ * Returns AppointmentEntity
12942
+ */
12943
+ export interface Appointment_MoveWithEmailRequest {
12944
+ /**
12945
+ * The appointmentId. Both master and child record ids are accepted.
12946
+ */
12947
+ appointmentId: number;
12948
+ /**
12949
+ * The new start time for the moved booking.
12950
+ */
12951
+ newStartTime: Date;
12952
+ /**
12953
+ * Update mode for a recurring appointment.
12954
+ */
12955
+ updateMode: enums.RecurrenceUpdateMode;
12956
+ /**
12957
+ * 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.
12958
+ */
12959
+ sendEmailToParticipants: boolean;
12960
+ /**
12961
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
12962
+ */
12963
+ smtpEMailConnectionInfo: EMailConnectionInfo;
12964
+ /**
12965
+ * Login information for imap server. Will be null if no login information is relevant.
12966
+ */
12967
+ imapEMailConnectionInfo: EMailConnectionInfo;
12968
+ }
12969
+
12970
+ // response object: AppointmentEntity
12971
+
12972
+ /**
12973
+ * Moving a booking to another start time and with new info and possibly notifications.
12974
+ * Returns AppointmentEntity
12975
+ */
12976
+ export interface Appointment_MoveExtendedRequest {
12977
+ /**
12978
+ * Move parameter data.
12979
+ */
12980
+ appointmentMoveData: AppointmentMoveData;
12981
+ }
12982
+
12983
+ // response object: AppointmentEntity
12984
+
12789
12985
  /**
12790
12986
  * Accept that an invited participant has rejected your invitation or assignment.
12791
12987
  * Returns AppointmentEntity
@@ -13194,6 +13390,19 @@ export interface Appointment_SaveWithCustomInvitationRequest {
13194
13390
 
13195
13391
  // response object: AppointmentSaveData
13196
13392
 
13393
+ /**
13394
+ * Convert appointment to task if certain criteria are met (participants < 2)
13395
+ * Returns AppointmentEntity
13396
+ */
13397
+ export interface Appointment_ConvertAppointmentToTaskRequest {
13398
+ /**
13399
+ * Appointment ID
13400
+ */
13401
+ appointmentId: number;
13402
+ }
13403
+
13404
+ // response object: AppointmentEntity
13405
+
13197
13406
 
13198
13407
  /**
13199
13408
  * Info about an appointment
@@ -13231,6 +13440,21 @@ export interface AppointmentInfo extends Carrier {
13231
13440
  */
13232
13441
  colorIndex?: enums.ColorIndex;
13233
13442
 
13443
+ /**
13444
+ * The name of the appointment task type
13445
+ */
13446
+ taskName?: string;
13447
+
13448
+ /**
13449
+ * The name of the appointment contact.
13450
+ */
13451
+ contactName?: string;
13452
+
13453
+ /**
13454
+ * The name of the appointment project
13455
+ */
13456
+ projectName?: string;
13457
+
13234
13458
  /**
13235
13459
  * The appointment title (first line of appointment description)
13236
13460
  */
@@ -13261,6 +13485,56 @@ export interface AppointmentInfo extends Carrier {
13261
13485
  */
13262
13486
  isVideoMeeting?: boolean;
13263
13487
 
13488
+ /**
13489
+ * True if the appointment has alarm
13490
+ */
13491
+ hasAlarm?: boolean;
13492
+
13493
+ /**
13494
+ * True if the appointment is completed
13495
+ */
13496
+ isCompleted?: boolean;
13497
+
13498
+ /**
13499
+ * True if the appointment is tentative
13500
+ */
13501
+ isTentative?: boolean;
13502
+
13503
+ /**
13504
+ * True if the appointment is a main booking
13505
+ */
13506
+ isBookingMain?: boolean;
13507
+
13508
+ /**
13509
+ * True if the appointment record has the email flag set
13510
+ */
13511
+ sendEmail?: boolean;
13512
+
13513
+ /**
13514
+ * True if any of the appointment records has the email flag set
13515
+ */
13516
+ anySendEmail?: boolean;
13517
+
13518
+ /**
13519
+ * True if only visible for the owner
13520
+ */
13521
+ isPrivate?: boolean;
13522
+
13523
+ /**
13524
+ * The recurrence info if the appointment is recurring
13525
+ */
13526
+ recurrenceInfo?: RecurrenceInfo;
13527
+
13528
+ /**
13529
+ * The name of the appointment person.
13530
+ */
13531
+ personName?: string;
13532
+
13533
+ /**
13534
+ * True if the appointment is part of a booking
13535
+ */
13536
+ isBooking?: boolean;
13537
+
13264
13538
  }
13265
13539
 
13266
13540
 
@@ -14098,6 +14372,92 @@ export interface Appointment_UpdateAppointmentRequest {
14098
14372
 
14099
14373
  // response object: Appointment
14100
14374
 
14375
+ /**
14376
+ * Updates an appointment record, taking the given recurrence update mode into account.
14377
+ * Returns Appointment
14378
+ */
14379
+ export interface Appointment_UpdateAppointmentWithModeRequest {
14380
+ /**
14381
+ *
14382
+ */
14383
+ id: number;
14384
+ /**
14385
+ *
14386
+ */
14387
+ startTime: Date;
14388
+ /**
14389
+ *
14390
+ */
14391
+ endTime: Date;
14392
+ /**
14393
+ *
14394
+ */
14395
+ status: enums.AppointmentStatus;
14396
+ /**
14397
+ *
14398
+ */
14399
+ type: enums.AppointmentType;
14400
+ /**
14401
+ * The appointment owner's id (associate id)
14402
+ */
14403
+ associateId: number;
14404
+ /**
14405
+ * Update mode for recurrence.
14406
+ */
14407
+ updateMode: enums.RecurrenceUpdateMode;
14408
+ }
14409
+
14410
+ // response object: Appointment
14411
+
14412
+ /**
14413
+ * Updates an appointment record, taking the given recurrence update mode into account, possibly sending notification emails.
14414
+ * Returns Appointment
14415
+ */
14416
+ export interface Appointment_UpdateAppointmentWithModeAndEmailRequest {
14417
+ /**
14418
+ *
14419
+ */
14420
+ id: number;
14421
+ /**
14422
+ *
14423
+ */
14424
+ startTime: Date;
14425
+ /**
14426
+ *
14427
+ */
14428
+ endTime: Date;
14429
+ /**
14430
+ *
14431
+ */
14432
+ status: enums.AppointmentStatus;
14433
+ /**
14434
+ *
14435
+ */
14436
+ type: enums.AppointmentType;
14437
+ /**
14438
+ * The appointment owner's id (associate id)
14439
+ */
14440
+ associateId: number;
14441
+ /**
14442
+ * Update mode for recurrence.
14443
+ */
14444
+ updateMode: enums.RecurrenceUpdateMode;
14445
+ /**
14446
+ * 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.
14447
+ */
14448
+ sendEmailToParticipants: boolean;
14449
+ /**
14450
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
14451
+ */
14452
+ smtpEMailConnectionInfo: EMailConnectionInfo;
14453
+ /**
14454
+ * Login information for imap server. Will be null if no login information is relevant.
14455
+ */
14456
+ imapEMailConnectionInfo: EMailConnectionInfo;
14457
+ }
14458
+
14459
+ // response object: Appointment
14460
+
14101
14461
  /**
14102
14462
  * Fetch appointments for given associates
14103
14463
  * Returns Appointment[]
@@ -14158,6 +14518,60 @@ export interface Appointment_GetAppointmentRecordsRequest {
14158
14518
  // response object: Appointment[]
14159
14519
 
14160
14520
 
14521
+ /**
14522
+ * Parameter data for moving an appointment.
14523
+ */
14524
+ export interface AppointmentMoveData extends Carrier {
14525
+
14526
+
14527
+ /**
14528
+ * The appointmentId. Both master and child record ids are accepted.
14529
+ */
14530
+ appointmentId?: number;
14531
+
14532
+ /**
14533
+ * The new start time for the moved booking.
14534
+ */
14535
+ newStartTime?: Date;
14536
+
14537
+ /**
14538
+ * Update mode for a recurring appointment.
14539
+ */
14540
+ updateMode?: enums.RecurrenceUpdateMode;
14541
+
14542
+ /**
14543
+ * 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.
14544
+ */
14545
+ sendEmailToParticipants?: boolean;
14546
+
14547
+ /**
14548
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
14549
+ */
14550
+ smtpEMailConnectionInfo?: EMailConnectionInfo;
14551
+
14552
+ /**
14553
+ * Login information for imap server. Will be null if no login information is relevant.
14554
+ */
14555
+ imapEMailConnectionInfo?: EMailConnectionInfo;
14556
+
14557
+ /**
14558
+ * If true, the appointment should be set to all day
14559
+ */
14560
+ isAlldayEvent?: boolean;
14561
+
14562
+ /**
14563
+ * If true, the time is free (not busy).
14564
+ */
14565
+ isFree?: boolean;
14566
+
14567
+ }
14568
+
14569
+
14570
+
14571
+
14572
+
14573
+
14574
+
14161
14575
  /**
14162
14576
  * This class contains the updated appointment entity and a flag for if any emails were queued when saving
14163
14577
  */
@@ -15247,6 +15661,51 @@ export interface Appointment_GetTaskListItemsRequest {
15247
15661
  // response object: TaskListItem[]
15248
15662
 
15249
15663
 
15664
+ /**
15665
+ * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
15666
+ */
15667
+ export interface VideoMeetingReservation extends Carrier {
15668
+
15669
+
15670
+ /**
15671
+ * The ID for the meeting, as considered from the central meeting service, not SO
15672
+ */
15673
+ videoMeetingId?: string;
15674
+
15675
+ /**
15676
+ * The URL for the meeting.
15677
+ */
15678
+ videoMeetingUrl?: string;
15679
+
15680
+ }
15681
+
15682
+
15683
+
15684
+
15685
+
15686
+
15687
+ /**
15688
+ * Create a VideoMeetingReservation. System users are not allowed to create video meeting reservations
15689
+ * Returns VideoMeetingReservation
15690
+ */
15691
+ export interface Appointment_CreateVideoMeetingReservationRequest {
15692
+ }
15693
+
15694
+ // response object: VideoMeetingReservation
15695
+
15696
+ /**
15697
+ * Delete a VideoMeetingReservation.
15698
+ */
15699
+ export interface Appointment_DeleteVideoMeetingReservationRequest {
15700
+ /**
15701
+ * The VideoMeetingReservation.VideoMeetingId to remove. System users are not allowed to delete video meeting reservations
15702
+ */
15703
+ videoMeetingId: string;
15704
+ }
15705
+
15706
+ // Void response...
15707
+
15708
+
15250
15709
 
15251
15710
 
15252
15711
 
@@ -17484,6 +17943,27 @@ export interface Document_CopyDocumentToCsAttachmentRequest {
17484
17943
 
17485
17944
  // response object: number
17486
17945
 
17946
+ /**
17947
+ * Saves a pdf stream, assigns file name, connects to given contact etc.
17948
+ * Returns number
17949
+ */
17950
+ export interface Document_SavePrivacyReportPdfRequest {
17951
+ /**
17952
+ * The pdf document as a stream.
17953
+ */
17954
+ stream: ArrayBuffer | string;
17955
+ /**
17956
+ * Title of report
17957
+ */
17958
+ title: string;
17959
+ /**
17960
+ * Person id associated with the report
17961
+ */
17962
+ personId: number;
17963
+ }
17964
+
17965
+ // response object: number
17966
+
17487
17967
 
17488
17968
  /**
17489
17969
  * Get all documents that are linked to the appointment. I.e. the documents that are listed in the appointment dialog.
@@ -23480,25 +23960,75 @@ export interface List_GetTicketStatusesRequest {
23480
23960
 
23481
23961
 
23482
23962
  /**
23483
- * Trivial TicketType information for filling selector values
23963
+ * Ticket Type - light read-only version of TicketTypeEntity.
23484
23964
  */
23485
23965
  export interface TicketType extends Carrier {
23486
23966
 
23487
23967
 
23488
23968
  /**
23489
- * The list item Id
23969
+ * Primary key
23490
23970
  */
23491
- id: number;
23971
+ ticketTypeId?: number;
23492
23972
 
23493
23973
  /**
23494
- * The list item Value
23974
+ * The list item
23495
23975
  */
23496
- value?: string;
23976
+ name?: string;
23497
23977
 
23498
23978
  /**
23499
- * The list item Tooltip
23979
+ * Name of the icon
23500
23980
  */
23501
- tooltip?: string;
23981
+ icon?: string;
23982
+
23983
+ /**
23984
+ * Default ticket status for new tickets
23985
+ */
23986
+ defaultTicketStatus?: number;
23987
+
23988
+ /**
23989
+ * Default ticket priority for new tickets
23990
+ */
23991
+ defaultTicketPriority?: number;
23992
+
23993
+ /**
23994
+ * Is this Ticket Type marked as default
23995
+ */
23996
+ isDefault?: boolean;
23997
+
23998
+ /**
23999
+ * Enables this request type to be accessible in +New in top bar
24000
+ */
24001
+ showInNew?: boolean;
24002
+
24003
+ /**
24004
+ * Do not insert user signature automatically
24005
+ */
24006
+ excludeSignature?: boolean;
24007
+
24008
+ /**
24009
+ * Create request without initially having to send outbound e-mail
24010
+ */
24011
+ excludeEmailRecipients?: boolean;
24012
+
24013
+ /**
24014
+ * Ability to set external access level for this request type
24015
+ */
24016
+ externalAsDefault?: boolean;
24017
+
24018
+ /**
24019
+ * Array of references to the visible for groups
24020
+ */
24021
+ visibleForGroups?: number[];
24022
+
24023
+ /**
24024
+ * Do not insert user signature when replying or forwarding the message
24025
+ */
24026
+ replyForwardNoSignature?: boolean;
24027
+
24028
+ /**
24029
+ * Set external access level when replying the message
24030
+ */
24031
+ replyExternalAsDefault?: boolean;
23502
24032
 
23503
24033
  }
23504
24034
 
@@ -23574,21 +24104,47 @@ export interface TicketTypeEntity extends Carrier {
23574
24104
  */
23575
24105
  isDefault?: boolean;
23576
24106
 
23577
- }
24107
+ /**
24108
+ * Enables this request type to be accessible in +New in top bar
24109
+ */
24110
+ showInNew?: boolean;
23578
24111
 
24112
+ /**
24113
+ * Do not insert user signature automatically
24114
+ */
24115
+ excludeSignature?: boolean;
23579
24116
 
24117
+ /**
24118
+ * Create request without initially having to send outbound e-mail
24119
+ */
24120
+ excludeEmailRecipients?: boolean;
23580
24121
 
24122
+ /**
24123
+ * Ability to set external access level for this request type
24124
+ */
24125
+ externalAsDefault?: boolean;
23581
24126
 
24127
+ /**
24128
+ * Array of references to the visible for groups
24129
+ */
24130
+ visibleForGroups?: number[];
23582
24131
 
24132
+ /**
24133
+ * Do not insert user signature when replying or forwarding the message
24134
+ */
24135
+ replyForwardNoSignature?: boolean;
24136
+
24137
+ /**
24138
+ * Set external access level when replying the message
24139
+ */
24140
+ replyExternalAsDefault?: boolean;
23583
24141
 
23584
- /**
23585
- * Get all TicketTypeEntities
23586
- * Returns TicketTypeEntity[]
23587
- */
23588
- export interface List_GetAllTicketTypeEntitiesRequest {
23589
24142
  }
23590
24143
 
23591
- // response object: TicketTypeEntity[]
24144
+
24145
+
24146
+
24147
+
23592
24148
 
23593
24149
  /**
23594
24150
  * Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
@@ -23606,15 +24162,31 @@ export interface List_GlobalChangeTicketTypeRequest {
23606
24162
 
23607
24163
  // Void response...
23608
24164
 
24165
+ /**
24166
+ * This method will set sort order of ticket type in a list
24167
+ */
24168
+ export interface List_SetTicketTypeSortOrderRequest {
24169
+ /**
24170
+ * Id of ticket type
24171
+ */
24172
+ ticketTypeId: number;
24173
+ /**
24174
+ * Indicates the sort order for this ticket type. 1 is first. Any records following this one will be renumbered automatically
24175
+ */
24176
+ sortOrder: number;
24177
+ }
24178
+
24179
+ // Void response...
24180
+
23609
24181
 
23610
24182
  /**
23611
24183
  * Get all TicketTypes
23612
- * Returns TicketType[]
24184
+ * Returns TicketTypeEntity[]
23613
24185
  */
23614
24186
  export interface List_GetTicketTypesRequest {
23615
24187
  }
23616
24188
 
23617
- // response object: TicketType[]
24189
+ // response object: TicketTypeEntity[]
23618
24190
 
23619
24191
 
23620
24192
  /**
@@ -23728,6 +24300,11 @@ export interface WebPanelEntity extends Carrier {
23728
24300
  */
23729
24301
  alwaysReloadOnShow?: boolean;
23730
24302
 
24303
+ /**
24304
+ * If set to true, the content will not reload on current changes, only applies to sidepanels
24305
+ */
24306
+ neverReloadOnCurrentChange?: boolean;
24307
+
23731
24308
  }
23732
24309
 
23733
24310
 
@@ -23876,7 +24453,6 @@ export interface List_GetWebPanelByProgIdRequest {
23876
24453
 
23877
24454
 
23878
24455
 
23879
-
23880
24456
 
23881
24457
 
23882
24458
  /**
@@ -24574,7 +25150,7 @@ export interface MDO_GetListWithRestrictionRequest {
24574
25150
  */
24575
25151
  export interface MDO_GetSimpleListRequest {
24576
25152
  /**
24577
- * Conceptual name of the MDO list-
25153
+ * Conceptual name of the MDO list.
24578
25154
  */
24579
25155
  name: string;
24580
25156
  }
@@ -26348,6 +26924,43 @@ export interface Diagnostics_GetCacheStateRequest {
26348
26924
  // response object: string
26349
26925
 
26350
26926
 
26927
+ /**
26928
+ *
26929
+ */
26930
+ export interface CacheInvalidation {
26931
+
26932
+
26933
+ /**
26934
+ * The (unique!) name of the cache, which is often, but not always, the same as a physical table name
26935
+ */
26936
+ name?: string;
26937
+
26938
+ /**
26939
+ * The 'generation number', starts at 1 and goes up for every registered change
26940
+ */
26941
+ generation?: number;
26942
+
26943
+ }
26944
+
26945
+
26946
+
26947
+
26948
+
26949
+
26950
+ /**
26951
+ * Get generation for provided names
26952
+ * Returns CacheInvalidation[]
26953
+ */
26954
+ export interface Diagnostics_GetCacheInvalidationGenerationsRequest {
26955
+ /**
26956
+ * Name of caches
26957
+ */
26958
+ names: string[];
26959
+ }
26960
+
26961
+ // response object: CacheInvalidation[]
26962
+
26963
+
26351
26964
  /**
26352
26965
  *
26353
26966
  */
@@ -26510,6 +27123,141 @@ export interface Diagnostics_ResyncUsersRequest {
26510
27123
  // Void response...
26511
27124
 
26512
27125
 
27126
+ /**
27127
+ * System Message to be displayed to a user
27128
+ */
27129
+ export interface SystemMessage extends Carrier {
27130
+
27131
+
27132
+ /**
27133
+ * Primary key
27134
+ */
27135
+ messageId?: number;
27136
+
27137
+ /**
27138
+ * The associate that is the target of this message
27139
+ */
27140
+ associateId?: number;
27141
+
27142
+ /**
27143
+ * The online app that owns this message
27144
+ */
27145
+ onlineappId?: number;
27146
+
27147
+ /**
27148
+ * Message identifier, used for message update or removal
27149
+ */
27150
+ systemMessageId?: string;
27151
+
27152
+ /**
27153
+ * Markdown message to be displayed to user
27154
+ */
27155
+ markdownMessage?: string;
27156
+
27157
+ /**
27158
+ * The date and time the message expires
27159
+ */
27160
+ expire?: Date;
27161
+
27162
+ /**
27163
+ * Type of message, example: info, warning, error
27164
+ */
27165
+ type?: enums.SystemMessageType;
27166
+
27167
+ }
27168
+
27169
+
27170
+
27171
+
27172
+
27173
+
27174
+
27175
+ /**
27176
+ * Adds a system message for a specific associate.
27177
+ */
27178
+ export interface Diagnostics_SendSystemMessageRequest {
27179
+ /**
27180
+ * The message string id
27181
+ */
27182
+ systemMessageId: string;
27183
+ /**
27184
+ * The associateId of the message target.
27185
+ */
27186
+ associateId: number;
27187
+ /**
27188
+ * Markdown message to be displayed to the user
27189
+ */
27190
+ markdownMessage: string;
27191
+ /**
27192
+ * When the message will no longer be available
27193
+ */
27194
+ expire: Date;
27195
+ /**
27196
+ * Type of message, example: info, warning, error
27197
+ */
27198
+ type: enums.SystemMessageType;
27199
+ }
27200
+
27201
+ // Void response...
27202
+
27203
+ /**
27204
+ * Removes a system message for current associate
27205
+ */
27206
+ export interface Diagnostics_RemoveSystemMessageRequest {
27207
+ /**
27208
+ * Id of the online app that owns this message
27209
+ */
27210
+ onlineappId: number;
27211
+ /**
27212
+ * Message identifier, used for message removal
27213
+ */
27214
+ systemMessageId: string;
27215
+ }
27216
+
27217
+ // Void response...
27218
+
27219
+ /**
27220
+ * Removes a system message for specific associate.
27221
+ */
27222
+ export interface Diagnostics_RemoveSystemMessageForAssociateRequest {
27223
+ /**
27224
+ * Id of the online app that owns this message
27225
+ */
27226
+ onlineappId: number;
27227
+ /**
27228
+ * Message identifier, used for message update or removal
27229
+ */
27230
+ systemMessageId: string;
27231
+ /**
27232
+ * The associateId of the message target.
27233
+ */
27234
+ associateId: number;
27235
+ }
27236
+
27237
+ // Void response...
27238
+
27239
+ /**
27240
+ * Retrieves a list of system messages for a specific associate.
27241
+ * Returns SystemMessage[]
27242
+ */
27243
+ export interface Diagnostics_GetSystemMessagesRequest {
27244
+ /**
27245
+ * The associateId of the message target.
27246
+ */
27247
+ associateId: number;
27248
+ }
27249
+
27250
+ // response object: SystemMessage[]
27251
+
27252
+ /**
27253
+ * Deletes expired system messages.
27254
+ */
27255
+ export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
27256
+ }
27257
+
27258
+ // Void response...
27259
+
27260
+
26513
27261
  /**
26514
27262
  * Operations related to installation, upgrade and maintenance
26515
27263
  */
@@ -26532,6 +27280,18 @@ export interface Diagnostics_PerformTasksAfterUpgradeRequest {
26532
27280
 
26533
27281
  // response object: string
26534
27282
 
27283
+ /**
27284
+ * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
27285
+ */
27286
+ export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
27287
+ /**
27288
+ * Name of DB table of the custom object that was deleted. E.g., 'y_car'
27289
+ */
27290
+ tableName: string;
27291
+ }
27292
+
27293
+ // Void response...
27294
+
26535
27295
 
26536
27296
  /**
26537
27297
  *
@@ -26640,6 +27400,8 @@ export interface Diagnostics_GetWebAppUsagesForPeriodRequest {
26640
27400
 
26641
27401
 
26642
27402
 
27403
+
27404
+
26643
27405
  /**
26644
27406
  * This service provides tooltips. It is based on 'tooltip hints', strings that may eiehter be a tooltip text (if provided by someone else), or a set of key/value pairs or other specification.<para />The tooltip implementation is plugin based, and tooltip hints are passed to all registered plugin providers according to certain rules. It is therefore up to providers to parse and process tooltip hints as they see fit.
26645
27407
  */
@@ -27845,6 +28607,18 @@ export interface Selection_SetDynamicSelectionCriteriaGroupsRequest {
27845
28607
 
27846
28608
  // response object: ArchiveRestrictionGroup[]
27847
28609
 
28610
+ /**
28611
+ * Deletes the SelectionEntity
28612
+ */
28613
+ export interface Selection_DeleteSelectionEntityRequest {
28614
+ /**
28615
+ * The identity of the SelectionEntity
28616
+ */
28617
+ selectionEntityId: number;
28618
+ }
28619
+
28620
+ // Void response...
28621
+
27848
28622
 
27849
28623
  /**
27850
28624
  * Provider name and selection id for a Find temporary selection
@@ -28177,6 +28951,16 @@ export interface EMailAccount extends Carrier {
28177
28951
  */
28178
28952
  sentFolder?: string;
28179
28953
 
28954
+ /**
28955
+ * Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
28956
+ */
28957
+ simpleMode?: number;
28958
+
28959
+ /**
28960
+ * When we last fetched email
28961
+ */
28962
+ lastFetch?: Date;
28963
+
28180
28964
  }
28181
28965
 
28182
28966
 
@@ -29619,6 +30403,44 @@ export interface EMail_SaveEmailToTmpDocumentRequest {
29619
30403
 
29620
30404
  // response object: string
29621
30405
 
30406
+ /**
30407
+ * Save the Email from the server as a document file connected to existing document
30408
+ * Returns DocumentEntity
30409
+ */
30410
+ export interface EMail_CreateNewPhysicalDocumentFromEmailAttachmentRequest {
30411
+ /**
30412
+ * The document ID int the DB
30413
+ */
30414
+ documentId: number;
30415
+ /**
30416
+ * The emails ID int the DB
30417
+ */
30418
+ emailItemId: number;
30419
+ /**
30420
+ * Id string of the attachment
30421
+ */
30422
+ attachmentId: string;
30423
+ }
30424
+
30425
+ // response object: DocumentEntity
30426
+
30427
+ /**
30428
+ * Save the Email from the server as a document file connected to existing document
30429
+ * Returns DocumentEntity
30430
+ */
30431
+ export interface EMail_CreateNewPhysicalDocumentFromEmailRequest {
30432
+ /**
30433
+ * The document ID int the DB
30434
+ */
30435
+ documentId: number;
30436
+ /**
30437
+ * The emails ID in the DB
30438
+ */
30439
+ emailItemId: number;
30440
+ }
30441
+
30442
+ // response object: DocumentEntity
30443
+
29622
30444
  /**
29623
30445
  * Save the Email entity to the drafts folder
29624
30446
  * Returns EMailEntity
@@ -31439,6 +32261,19 @@ export interface Sentry_CanCreateAppointmentInAssociateDiariesRequest {
31439
32261
 
31440
32262
  // response object: boolean
31441
32263
 
32264
+ /**
32265
+ * 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.
32266
+ * Returns boolean[]
32267
+ */
32268
+ export interface Sentry_CanCreateAppointmentInEachAssociatesDiaryRequest {
32269
+ /**
32270
+ * Array of associate ids to check.
32271
+ */
32272
+ associateIds: number[];
32273
+ }
32274
+
32275
+ // response object: boolean[]
32276
+
31442
32277
  /**
31443
32278
  * 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.
31444
32279
  * Returns boolean
@@ -31557,6 +32392,11 @@ export interface FieldInfoBase {
31557
32392
  */
31558
32393
  isExternal?: boolean;
31559
32394
 
32395
+ /**
32396
+ * Flag indicating that this field is chosen as DisplayField for a table it belongs
32397
+ */
32398
+ isDisplayField?: boolean;
32399
+
31560
32400
  /**
31561
32401
  * Tab order, ranking within the custom fields.
31562
32402
  */
@@ -34942,6 +35782,8 @@ export interface Archive_GetRelatedData2Request {
34942
35782
 
34943
35783
 
34944
35784
 
35785
+
35786
+
34945
35787
 
34946
35788
 
34947
35789
 
@@ -36065,6 +36907,7 @@ export interface TabOrder extends Carrier {
36065
36907
 
36066
36908
 
36067
36909
 
36910
+
36068
36911
 
36069
36912
 
36070
36913
  /**
@@ -36298,6 +37141,19 @@ export interface License_GetLicenseFromDBRequest {
36298
37141
 
36299
37142
  // response object: ExtendedLicenseInfo
36300
37143
 
37144
+ /**
37145
+ * Get status values for user licenses and installation license that can be used for feedback to the user.
37146
+ * Returns UserAndInstallationLicenceStatus
37147
+ */
37148
+ export interface License_GetUserAndInstallationLicenceStatusRequest {
37149
+ /**
37150
+ * Associate id to use when loading information about user licenses and installation license status.
37151
+ */
37152
+ associateId: number;
37153
+ }
37154
+
37155
+ // response object: UserAndInstallationLicenceStatus
37156
+
36301
37157
  /**
36302
37158
  * Change the new serial number for the installation. Requests a new license from SuperLicense, checks if change is authorized.
36303
37159
  * Returns LicenseResult
@@ -36855,6 +37711,50 @@ export interface SignedPublicKey {
36855
37711
 
36856
37712
 
36857
37713
 
37714
+ /**
37715
+ * Result of GetUserAndInstallationLicenceStatus
37716
+ */
37717
+ export interface UserAndInstallationLicenceStatus {
37718
+
37719
+
37720
+ /**
37721
+ * Installations license admin warning date
37722
+ */
37723
+ adminWarningDate?: Date;
37724
+
37725
+ /**
37726
+ * Installations license expiry date
37727
+ */
37728
+ expiryDate?: Date;
37729
+
37730
+ /**
37731
+ * Installations license grace date
37732
+ */
37733
+ graceDate?: Date;
37734
+
37735
+ /**
37736
+ * Database company name
37737
+ */
37738
+ companyName?: string;
37739
+
37740
+ /**
37741
+ * Database serial number
37742
+ */
37743
+ serialNr?: string;
37744
+
37745
+ /**
37746
+ * The users module licenses names
37747
+ */
37748
+ userLicenses?: string[];
37749
+
37750
+ }
37751
+
37752
+
37753
+
37754
+
37755
+
37756
+
37757
+
36858
37758
 
36859
37759
 
36860
37760
 
@@ -40229,6 +41129,19 @@ export interface CustomerService_EventHandlerExistsRequest {
40229
41129
 
40230
41130
  // response object: boolean
40231
41131
 
41132
+ /**
41133
+ * Check if any given eventhandler exists
41134
+ * Returns EventHandlerType[]
41135
+ */
41136
+ export interface CustomerService_EventHandlersExistsRequest {
41137
+ /**
41138
+ * The EventHandlerTypes we are checking
41139
+ */
41140
+ eventHandlerTypes: enums.EventHandlerType[];
41141
+ }
41142
+
41143
+ // response object: EventHandlerType[]
41144
+
40232
41145
 
40233
41146
  /**
40234
41147
  *
@@ -40481,6 +41394,11 @@ export interface CustomerServiceStartup extends Carrier {
40481
41394
  */
40482
41395
  recaptchaSiteKey?: string;
40483
41396
 
41397
+ /**
41398
+ * An array of selected preferences needed by Service
41399
+ */
41400
+ selectedPreferences?: Preference[];
41401
+
40484
41402
  }
40485
41403
 
40486
41404
 
@@ -40497,6 +41415,19 @@ export interface CustomerService_GetCustomerServiceStartupRequest {
40497
41415
 
40498
41416
  // response object: CustomerServiceStartup
40499
41417
 
41418
+ /**
41419
+ * Get the carrier with data that Service needs when starting up for a specific user
41420
+ * Returns CustomerServiceStartup
41421
+ */
41422
+ export interface CustomerService_GetCustomerServiceStartupByOwnerRequest {
41423
+ /**
41424
+ * The user for which we want to fetch the startup values for
41425
+ */
41426
+ userId: number;
41427
+ }
41428
+
41429
+ // response object: CustomerServiceStartup
41430
+
40500
41431
 
40501
41432
  /**
40502
41433
  * EventData containing data related to event handlers
@@ -40564,6 +41495,16 @@ export interface EventData extends Carrier {
40564
41495
  */
40565
41496
  cgiContent?: string;
40566
41497
 
41498
+ /**
41499
+ * Incoming headers if sent by the context which the script is executed from
41500
+ */
41501
+ headers?: StringDictionary;
41502
+
41503
+ /**
41504
+ * If true, then the execution will be traced
41505
+ */
41506
+ traceExecution?: boolean;
41507
+
40567
41508
  }
40568
41509
 
40569
41510
 
@@ -42784,6 +43725,11 @@ export interface Dash_SaveDashTileHtmlListRequest {
42784
43725
  export interface PreviewDash extends Carrier {
42785
43726
 
42786
43727
 
43728
+ /**
43729
+ * Primary key
43730
+ */
43731
+ dashboardId?: number;
43732
+
42787
43733
  /**
42788
43734
  * The name of this dashboard
42789
43735
  */
@@ -43993,6 +44939,8 @@ export interface OperationInfo extends Carrier {
43993
44939
 
43994
44940
 
43995
44941
 
44942
+
44943
+
43996
44944
  /**
43997
44945
  * Definition and configuration of a Form
43998
44946
  */
@@ -44104,6 +45052,11 @@ export interface FormEntity extends Carrier {
44104
45052
  */
44105
45053
  updatedCount?: number;
44106
45054
 
45055
+ /**
45056
+ * EmailFlows this form is used in (read-only)
45057
+ */
45058
+ emailFlows?: number[];
45059
+
44107
45060
  /**
44108
45061
  * The name of the folder for this form
44109
45062
  */
@@ -44273,6 +45226,11 @@ export interface PreviewMailing extends Carrier {
44273
45226
  */
44274
45227
  fromAddress?: string;
44275
45228
 
45229
+ /**
45230
+ * This field indicates what kind of shipment this is.
45231
+ */
45232
+ configuration?: number;
45233
+
44276
45234
  /**
44277
45235
  * Owning contact ID
44278
45236
  */
@@ -44375,6 +45333,11 @@ export interface PreviewMailingHeader extends Carrier {
44375
45333
  */
44376
45334
  fromAddress?: string;
44377
45335
 
45336
+ /**
45337
+ * This field indicates what kind of shipment this is.
45338
+ */
45339
+ configuration?: number;
45340
+
44378
45341
  /**
44379
45342
  * Primary key
44380
45343
  */
@@ -44631,6 +45594,34 @@ export interface ShipmentMessageEntity extends Carrier {
44631
45594
 
44632
45595
 
44633
45596
 
45597
+ /**
45598
+ * Change the mailing name (shipment description) that the given message (MessageId) belongs to
45599
+ */
45600
+ export interface Marketing_RenameMailingByMessageIdRequest {
45601
+ /**
45602
+ * Message id
45603
+ */
45604
+ messageId: number;
45605
+ /**
45606
+ * The new name
45607
+ */
45608
+ name: string;
45609
+ }
45610
+
45611
+ // Void response...
45612
+
45613
+ /**
45614
+ * Delete the message and the shipment the message (MessageId) belongs to
45615
+ */
45616
+ export interface Marketing_DeleteMessageAndShipmentRequest {
45617
+ /**
45618
+ * Message id
45619
+ */
45620
+ messageId: number;
45621
+ }
45622
+
45623
+ // Void response...
45624
+
44634
45625
 
44635
45626
 
44636
45627
  /**
@@ -44770,6 +45761,11 @@ export interface CRMScriptEntity extends Carrier {
44770
45761
  */
44771
45762
  includeId?: string;
44772
45763
 
45764
+ /**
45765
+ * Access key used to run this script on the customer pages
45766
+ */
45767
+ accessKey?: string;
45768
+
44773
45769
  /**
44774
45770
  * The script is inside this hierarchy folder
44775
45771
  */
@@ -44780,6 +45776,36 @@ export interface CRMScriptEntity extends Carrier {
44780
45776
  */
44781
45777
  source?: string;
44782
45778
 
45779
+ /**
45780
+ * Contains the source code of the script
45781
+ */
45782
+ sourceCode?: string;
45783
+
45784
+ /**
45785
+ * The type/language of this script
45786
+ */
45787
+ scriptType?: enums.ScriptType;
45788
+
45789
+ /**
45790
+ * True if this script will return HTML output
45791
+ */
45792
+ htmlOutput?: number;
45793
+
45794
+ /**
45795
+ * The unique ids of all depencies of this script (all resolved includes)
45796
+ */
45797
+ includes?: number[];
45798
+
45799
+ /**
45800
+ * The source maps for this script
45801
+ */
45802
+ sourceMaps?: CRMScriptSourceMap[];
45803
+
45804
+ /**
45805
+ * The result of a validation of a TypeScript when saving
45806
+ */
45807
+ validationResult?: CRMScriptResult;
45808
+
44783
45809
  /**
44784
45810
  * Registered when
44785
45811
  */
@@ -44807,6 +45833,19 @@ export interface CRMScriptEntity extends Carrier {
44807
45833
 
44808
45834
 
44809
45835
 
45836
+ /**
45837
+ * Save the script directly without compiling TypeScript
45838
+ * Returns CRMScriptEntity
45839
+ */
45840
+ export interface CRMScript_SaveCRMScriptEntityWithoutCompileRequest {
45841
+ /**
45842
+ * The entity to save. Source and SourceCode should both be specified
45843
+ */
45844
+ crmScriptEntity: CRMScriptEntity;
45845
+ }
45846
+
45847
+ // response object: CRMScriptEntity
45848
+
44810
45849
  /**
44811
45850
  * Execute a CRMScript with parameters, returning printed output value.
44812
45851
  * Returns string
@@ -44965,6 +46004,23 @@ export interface CRMScript_ValidateScriptByStringRequest {
44965
46004
 
44966
46005
  // response object: CRMScriptResult
44967
46006
 
46007
+ /**
46008
+ * Will resolve all includes for a TypeScript and return an array of the IDs
46009
+ * Returns number[]
46010
+ */
46011
+ export interface CRMScript_ResolveIncludesRequest {
46012
+ /**
46013
+ * The script to resolve includes for
46014
+ */
46015
+ script: string;
46016
+ /**
46017
+ * If true, then missing includes will be ignored
46018
+ */
46019
+ ignoreErrors: boolean;
46020
+ }
46021
+
46022
+ // response object: number[]
46023
+
44968
46024
 
44969
46025
  /**
44970
46026
  * Object containing error information for a CRMScript
@@ -44977,15 +46033,20 @@ export interface CRMScriptErrorInfo extends Carrier {
44977
46033
  */
44978
46034
  errorMessage?: string;
44979
46035
 
46036
+ /**
46037
+ * The includeId of the source where the error occured
46038
+ */
46039
+ includeId?: string;
46040
+
44980
46041
  /**
44981
46042
  * The line number where the error occured
44982
46043
  */
44983
- errorLine?: number;
46044
+ lineNumber?: number;
44984
46045
 
44985
46046
  /**
44986
46047
  * The character position on the ErrorLine, if available
44987
46048
  */
44988
- errorCharacterPosition?: number;
46049
+ characterPosition?: number;
44989
46050
 
44990
46051
  }
44991
46052
 
@@ -45021,6 +46082,21 @@ export interface CRMScriptResult extends Carrier {
45021
46082
  */
45022
46083
  errorInformation?: CRMScriptErrorInfo;
45023
46084
 
46085
+ /**
46086
+ * This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
46087
+ */
46088
+ transpiled?: string;
46089
+
46090
+ /**
46091
+ * The unique ids of all depencies of this script (all resolved includes)
46092
+ */
46093
+ includes?: number[];
46094
+
46095
+ /**
46096
+ * Array of source maps showing where in the original code a specific line originated from
46097
+ */
46098
+ sourceMaps?: CRMScriptSourceMap[];
46099
+
45024
46100
  }
45025
46101
 
45026
46102
 
@@ -45065,6 +46141,60 @@ export interface CRMScriptRunResult extends Carrier {
45065
46141
  */
45066
46142
  errorInformation?: CRMScriptErrorInfo;
45067
46143
 
46144
+ /**
46145
+ * The status code which is available to be returned from Typescript scripts
46146
+ */
46147
+ statusCode?: number;
46148
+
46149
+ /**
46150
+ * An additional status message that can be sent along with the status code
46151
+ */
46152
+ statusMessage?: string;
46153
+
46154
+ /**
46155
+ * Optional result headers for context that supports it
46156
+ */
46157
+ headers?: StringDictionary;
46158
+
46159
+ }
46160
+
46161
+
46162
+
46163
+
46164
+
46165
+
46166
+
46167
+ /**
46168
+ * Object for returning source-map info when validating or executing a CRMScript
46169
+ */
46170
+ export interface CRMScriptSourceMap extends Carrier {
46171
+
46172
+
46173
+ /**
46174
+ * The 1-based start line (inclusive) of this entry
46175
+ */
46176
+ lineNumberFrom?: number;
46177
+
46178
+ /**
46179
+ * The 1-based end line (inclusive) of this entry
46180
+ */
46181
+ lineNumberTo?: number;
46182
+
46183
+ /**
46184
+ * The delta between global line number and a line number inside this range
46185
+ */
46186
+ delta?: number;
46187
+
46188
+ /**
46189
+ * The includeId for this entry
46190
+ */
46191
+ includeId?: string;
46192
+
46193
+ /**
46194
+ * The list of IncludeId:linenum that leads to this source
46195
+ */
46196
+ includedFrom?: string[];
46197
+
45068
46198
  }
45069
46199
 
45070
46200
 
@@ -45274,6 +46404,8 @@ export interface CRMScript_ValidateTriggerScriptByUniqueIdRequest {
45274
46404
  // response object: CRMScriptResult
45275
46405
 
45276
46406
 
46407
+
46408
+
45277
46409
  /**
45278
46410
  * The Attachment carrier represent meta data for a Service attachment
45279
46411
  */
@@ -45315,6 +46447,11 @@ export interface AttachmentEntity extends Carrier {
45315
46447
  */
45316
46448
  authKey?: string;
45317
46449
 
46450
+ /**
46451
+ * Is file considered to be safe (based on extension and settings)
46452
+ */
46453
+ isSafeFileExtension?: boolean;
46454
+
45318
46455
  }
45319
46456
 
45320
46457
 
@@ -45382,6 +46519,70 @@ export interface Ticket_GetAttachmentStreamRequest {
45382
46519
  // response object: Blob
45383
46520
 
45384
46521
 
46522
+ /**
46523
+ * Service attachment data intended for preview purposes
46524
+ */
46525
+ export interface AttachmentPreview extends Carrier {
46526
+
46527
+
46528
+ /**
46529
+ * Name of the attachment file
46530
+ */
46531
+ name?: string;
46532
+
46533
+ /**
46534
+ * The mimetype of the attachment
46535
+ */
46536
+ mimeType?: string;
46537
+
46538
+ /**
46539
+ * Size of the attachment in bytes
46540
+ */
46541
+ size?: number;
46542
+
46543
+ /**
46544
+ * Attachment data
46545
+ */
46546
+ content?: ArrayBuffer | string;
46547
+
46548
+ /**
46549
+ * Subject of the attached RFC822 email. Null for non-RFC822 attachment
46550
+ */
46551
+ emailSubject?: string;
46552
+
46553
+ /**
46554
+ * From field of the attached RFC822 email. Null for non-RFC822 attachment
46555
+ */
46556
+ emailFrom?: string;
46557
+
46558
+ /**
46559
+ * To field of the attached RFC822 email. Null for non-RFC822 attachment
46560
+ */
46561
+ emailTo?: string;
46562
+
46563
+ /**
46564
+ * Cc field of the attached RFC822 email. Null for non-RFC822 attachment
46565
+ */
46566
+ emailCc?: string;
46567
+
46568
+ /**
46569
+ * Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment
46570
+ */
46571
+ emailDate?: Date;
46572
+
46573
+ /**
46574
+ * The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment
46575
+ */
46576
+ emailAttachmentsInfo?: AttachmentEntity[];
46577
+
46578
+ }
46579
+
46580
+
46581
+
46582
+
46583
+
46584
+
46585
+
45385
46586
  /**
45386
46587
  * Attachment validation info
45387
46588
  */
@@ -45722,6 +46923,16 @@ export interface Ticket extends Carrier {
45722
46923
  */
45723
46924
  formSubmissionId?: number;
45724
46925
 
46926
+ /**
46927
+ * The id of the Request Type
46928
+ */
46929
+ ticketTypeId?: number;
46930
+
46931
+ /**
46932
+ * The name of the Request Type
46933
+ */
46934
+ ticketTypeName?: string;
46935
+
45725
46936
  }
45726
46937
 
45727
46938
 
@@ -46081,7 +47292,7 @@ export interface TicketEntity extends Carrier {
46081
47292
  * Type of the Request
46082
47293
  * Use MDO List name "TicketType" to get list items.
46083
47294
  */
46084
- ticketType?: TicketTypeEntity;
47295
+ ticketType?: TicketType;
46085
47296
 
46086
47297
  /**
46087
47298
  * Active status monitor identity for related contact. This is a read-only property and is ignored on Save
@@ -46478,6 +47689,60 @@ export interface Ticket_GetTicketMessageEntitiesRequest {
46478
47689
 
46479
47690
  // response object: TicketMessageEntity[]
46480
47691
 
47692
+ /**
47693
+ * Create default ticket entity for particular TicketType
47694
+ * Returns TicketEntity
47695
+ */
47696
+ export interface Ticket_CreateDefaultForTicketTypeRequest {
47697
+ /**
47698
+ * ID of ticket type
47699
+ */
47700
+ ticketTypeId: number;
47701
+ }
47702
+
47703
+ // response object: TicketEntity
47704
+
47705
+ /**
47706
+ * 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.
47707
+ */
47708
+ export interface Ticket_DoEscalatingRequest {
47709
+ /**
47710
+ * The id of ticket
47711
+ */
47712
+ ticketId: number;
47713
+ /**
47714
+ * The action to use when calculating the escalation
47715
+ */
47716
+ action: enums.TicketPriorityEscalateAction;
47717
+ }
47718
+
47719
+ // Void response...
47720
+
47721
+ /**
47722
+ * Get a list of ej_user ids who should receive hotlist notification based on request and notification type
47723
+ * Returns number[]
47724
+ */
47725
+ export interface Ticket_GetHotlistEjUsersRequest {
47726
+ /**
47727
+ * The id of the ticket
47728
+ */
47729
+ ticketId: number;
47730
+ /**
47731
+ * A list of associate ids to skip when calculating whom to get the notification
47732
+ */
47733
+ skipAssociateIds: number[];
47734
+ /**
47735
+ * The notification type we want to check for
47736
+ */
47737
+ notifyType: enums.NotifyType;
47738
+ /**
47739
+ * The channel which we should check for
47740
+ */
47741
+ channel: enums.NotifyChannel;
47742
+ }
47743
+
47744
+ // response object: number[]
47745
+
46481
47746
 
46482
47747
  /**
46483
47748
  * The TicketMessage carrier is used for representing a service ticket message
@@ -46780,6 +48045,23 @@ export interface Ticket_SanitizeMailContentRequest {
46780
48045
 
46781
48046
  // response object: string
46782
48047
 
48048
+ /**
48049
+ * Remove harmful HTML tags and attributes from an email, using specified options
48050
+ * Returns string
48051
+ */
48052
+ export interface Ticket_SanitizeMailContentWithOptionsRequest {
48053
+ /**
48054
+ * The email content to sanitize
48055
+ */
48056
+ content: string;
48057
+ /**
48058
+ * The options for the sanitizer engine
48059
+ */
48060
+ options: enums.HtmlSanitizerOptions;
48061
+ }
48062
+
48063
+ // response object: string
48064
+
46783
48065
  /**
46784
48066
  * Remove harmful HTML tags and attributes from an email
46785
48067
  * Returns string[]
@@ -46866,6 +48148,19 @@ export interface Ticket_RemoveMessageAttachmentsRequest {
46866
48148
 
46867
48149
  /**
46868
48150
  * Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
48151
+ * Returns AttachmentPreview
48152
+ */
48153
+ export interface Ticket_GetAttachmentPreviewRequest {
48154
+ /**
48155
+ * The id of the attachment to retrieve
48156
+ */
48157
+ attachmentId: number;
48158
+ }
48159
+
48160
+ // response object: AttachmentPreview
48161
+
48162
+ /**
48163
+ * 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.
46869
48164
  * Returns DocumentPreview
46870
48165
  */
46871
48166
  export interface Ticket_GetPreviewAttachmentStreamRequest {
@@ -46877,6 +48172,23 @@ export interface Ticket_GetPreviewAttachmentStreamRequest {
46877
48172
 
46878
48173
  // response object: DocumentPreview
46879
48174
 
48175
+ /**
48176
+ * Get the content of an attachment which is part of RFC822 email attachment
48177
+ * Returns Blob
48178
+ */
48179
+ export interface Ticket_GetRfcAttachmentStreamRequest {
48180
+ /**
48181
+ * The id of the root attachment
48182
+ */
48183
+ attachmentId: number;
48184
+ /**
48185
+ * The position (index) of the attachment within the root attachment. Numbering starts from 0
48186
+ */
48187
+ position: number;
48188
+ }
48189
+
48190
+ // response object: Blob
48191
+
46880
48192
  /**
46881
48193
  * Send a message to recipients by email
46882
48194
  */
@@ -47058,6 +48370,35 @@ export interface Ticket_GetDefaultMessageContentFullRequest {
47058
48370
 
47059
48371
  // response object: TicketMessageContent
47060
48372
 
48373
+ /**
48374
+ * Generate a default message content with option to exclude signature: attachments and body as sanitized HTML
48375
+ * Returns TicketMessageContent
48376
+ */
48377
+ export interface Ticket_GetDefaultMessageContentWithOptionsRequest {
48378
+ /**
48379
+ * The id of the ticket
48380
+ */
48381
+ ticketId: number;
48382
+ /**
48383
+ * Message action type: None/Reply/ReplyAll/Forward
48384
+ */
48385
+ messageActionType: enums.MessageActionType;
48386
+ /**
48387
+ * The id of the message to quote in the returned content. 0 to skip/ignore
48388
+ */
48389
+ ticketMessageId: number;
48390
+ /**
48391
+ * The id of the ticket type to look for reply template. 0 to use current ticket type
48392
+ */
48393
+ ticketTypeId: number;
48394
+ /**
48395
+ * Flag to exclude a signature when generating the return content
48396
+ */
48397
+ excludeSignature: boolean;
48398
+ }
48399
+
48400
+ // response object: TicketMessageContent
48401
+
47061
48402
  /**
47062
48403
  * 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.
47063
48404
  * Returns TicketMessageEntity
@@ -47170,6 +48511,7 @@ export interface Ticket_GetTicketSummariesRequest {
47170
48511
 
47171
48512
 
47172
48513
 
48514
+
47173
48515
  /**
47174
48516
  * The extra table entity contains meta data for an extra table (not implemented yet)
47175
48517
  */
@@ -48701,6 +50043,23 @@ export interface AI_RephraseTextRequest {
48701
50043
 
48702
50044
  // response object: string
48703
50045
 
50046
+ /**
50047
+ * Generate agenda text for an appointment based on appointment's company category, title, person, etc.
50048
+ * Returns string
50049
+ */
50050
+ export interface AI_CreateTextForAppointmentRequest {
50051
+ /**
50052
+ * The appointment object to generate text for.
50053
+ */
50054
+ appointment: AppointmentEntity;
50055
+ /**
50056
+ * Language returned text should be in. Blank = do not specify language.
50057
+ */
50058
+ isoLangCode: string;
50059
+ }
50060
+
50061
+ // response object: string
50062
+
48704
50063
 
48705
50064
  /**
48706
50065
  * Details about a categorization model in HugoAI
@@ -49396,6 +50755,15 @@ export interface DocumentMigration_HasDocumentsToMigrateRequest {
49396
50755
 
49397
50756
  // response object: boolean
49398
50757
 
50758
+ /**
50759
+ * Gets the total number of documents that is not visible to everyone
50760
+ * Returns number
50761
+ */
50762
+ export interface DocumentMigration_GetNumberOfConfidentialDocumentsRequest {
50763
+ }
50764
+
50765
+ // response object: number
50766
+
49399
50767
 
49400
50768
  /**
49401
50769
  *
@@ -49644,6 +51012,21 @@ export interface EmailFlow extends Carrier {
49644
51012
  */
49645
51013
  blockLists?: number[];
49646
51014
 
51015
+ /**
51016
+ * Info about workflow content like messages, links and forms (read-only)
51017
+ */
51018
+ contentInfo?: WorkflowContentInfo[];
51019
+
51020
+ /**
51021
+ * On exit with no success criteria met, we attempt to add the participant to the given flow
51022
+ */
51023
+ exitFlowId?: number;
51024
+
51025
+ /**
51026
+ * On exit with success criteria met, we attempt to add the participant to the given flow
51027
+ */
51028
+ exitSuccessFlowId?: number;
51029
+
49647
51030
  /**
49648
51031
  * The associate that first created the flow. The property is read-only.
49649
51032
  */
@@ -49678,7 +51061,7 @@ export interface EmailFlow extends Carrier {
49678
51061
 
49679
51062
 
49680
51063
  /**
49681
- * Try to add a participant to the EmailFlow
51064
+ * Try to add a participant to the EmailFlow. Same function available in PersonAgent
49682
51065
  * Returns boolean[]
49683
51066
  */
49684
51067
  export interface Workflow_TryAddPersonsToEmailFlowRequest {
@@ -49760,6 +51143,53 @@ export interface Workflow_CopyEmailFlowContentRequest {
49760
51143
 
49761
51144
  // response object: number
49762
51145
 
51146
+ /**
51147
+ * Attempt to update stored field values for up to the given number of form submissions
51148
+ * Returns number
51149
+ */
51150
+ export interface Workflow_UpdateFormSubmissionsRequest {
51151
+ /**
51152
+ * The maximum number of form submissions to attempt to save as form field values.
51153
+ */
51154
+ maxCount: number;
51155
+ }
51156
+
51157
+ // response object: number
51158
+
51159
+ /**
51160
+ * Set status on workflow, Run or pause flow
51161
+ * Returns WorkflowDefinitionStatus
51162
+ */
51163
+ export interface Workflow_SetStatusOnWorkflowRequest {
51164
+ /**
51165
+ * The id of the email flow to run or pause
51166
+ */
51167
+ emailFlowId: number;
51168
+ /**
51169
+ * The new status
51170
+ */
51171
+ status: enums.WorkflowDefinitionStatus;
51172
+ }
51173
+
51174
+ // response object: WorkflowDefinitionStatus
51175
+
51176
+ /**
51177
+ * Copy an email flow.
51178
+ * Returns number
51179
+ */
51180
+ export interface Workflow_CopyEmailFlowRequest {
51181
+ /**
51182
+ * The EmailFlow to copy.
51183
+ */
51184
+ emailFlowId: number;
51185
+ /**
51186
+ * The name of the new email flow
51187
+ */
51188
+ newName: string;
51189
+ }
51190
+
51191
+ // response object: number
51192
+
49763
51193
 
49764
51194
  /**
49765
51195
  * FieldValue carrier
@@ -49785,6 +51215,35 @@ export interface FieldValue extends Carrier {
49785
51215
 
49786
51216
 
49787
51217
 
51218
+ /**
51219
+ * Info about workflow content like messages, forms and links.
51220
+ */
51221
+ export interface WorkflowContentInfo extends Carrier {
51222
+
51223
+
51224
+ /**
51225
+ * The workflow content type
51226
+ */
51227
+ workflowContentType?: enums.WorkflowContentType;
51228
+
51229
+ /**
51230
+ * The id of the content row.
51231
+ */
51232
+ id?: number;
51233
+
51234
+ /**
51235
+ * True if the content (form, link) have associated actions.
51236
+ */
51237
+ actions?: boolean;
51238
+
51239
+ }
51240
+
51241
+
51242
+
51243
+
51244
+
51245
+
51246
+
49788
51247
  /**
49789
51248
  * Workflow event carrier
49790
51249
  */
@@ -49920,7 +51379,7 @@ export interface WorkflowStepBase {
49920
51379
  workflowStepId?: number;
49921
51380
 
49922
51381
  /**
49923
- * The flow this step belongs to
51382
+ * The workflow to connect to
49924
51383
  */
49925
51384
  workflowId?: number;
49926
51385
 
@@ -50112,7 +51571,7 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
50112
51571
  /**
50113
51572
  * Request status
50114
51573
  */
50115
- status?: number;
51574
+ ticketStatus?: number;
50116
51575
 
50117
51576
  /**
50118
51577
  * Message
@@ -50198,6 +51657,11 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
50198
51657
  */
50199
51658
  owner?: number;
50200
51659
 
51660
+ /**
51661
+ * Source
51662
+ */
51663
+ source?: number;
51664
+
50201
51665
  }
50202
51666
 
50203
51667
 
@@ -50212,6 +51676,26 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
50212
51676
  export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
50213
51677
 
50214
51678
 
51679
+ /**
51680
+ * Recipient notified by Email
51681
+ */
51682
+ to?: enums.WorkflowNotifyEmailType;
51683
+
51684
+ /**
51685
+ * Recipient email addresses notified by Email
51686
+ */
51687
+ specificEmailAddresses?: string[];
51688
+
51689
+ /**
51690
+ * Email notification subject
51691
+ */
51692
+ subject?: string;
51693
+
51694
+ /**
51695
+ * Email notification text
51696
+ */
51697
+ text?: string;
51698
+
50215
51699
  }
50216
51700
 
50217
51701
 
@@ -50226,6 +51710,26 @@ export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
50226
51710
  export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
50227
51711
 
50228
51712
 
51713
+ /**
51714
+ * Recipient notified by SMS
51715
+ */
51716
+ to?: enums.WorkflowNotifySMSType;
51717
+
51718
+ /**
51719
+ * Recipient phone numbers notified by SMS
51720
+ */
51721
+ specificPhoneNumbers?: string[];
51722
+
51723
+ /**
51724
+ * SMS sender
51725
+ */
51726
+ from?: string;
51727
+
51728
+ /**
51729
+ * Notification SMS text
51730
+ */
51731
+ text?: string;
51732
+
50229
51733
  }
50230
51734
 
50231
51735
 
@@ -50256,7 +51760,7 @@ export interface WorkflowStepOptionBase {
50256
51760
  workflowStepId?: number;
50257
51761
 
50258
51762
  /**
50259
- * The flow this instance belongs to
51763
+ * Workflow id
50260
51764
  */
50261
51765
  workflowId?: number;
50262
51766
 
@@ -50266,7 +51770,7 @@ export interface WorkflowStepOptionBase {
50266
51770
  name?: string;
50267
51771
 
50268
51772
  /**
50269
- * The rank of this option
51773
+ * Step order
50270
51774
  */
50271
51775
  rank?: number;
50272
51776
 
@@ -50310,7 +51814,31 @@ export interface Workflow_GetWorkflowStepOptionRequest {
50310
51814
 
50311
51815
 
50312
51816
  /**
50313
- * Option that splits on matching person criteria
51817
+ * Option that splits on matching data on a specific form submitted
51818
+ */
51819
+ export interface WorkflowStepOptionFormData extends WorkflowStepOptionBase {
51820
+
51821
+
51822
+ /**
51823
+ * The id of the form submitted
51824
+ */
51825
+ formId?: number;
51826
+
51827
+ /**
51828
+ * The restrictions (can be multiple groups) that determines if this option is activated
51829
+ */
51830
+ restrictionGroups?: ArchiveRestrictionGroup[];
51831
+
51832
+ }
51833
+
51834
+
51835
+
51836
+
51837
+
51838
+
51839
+
51840
+ /**
51841
+ * Option that splits on a form is submitted or not
50314
51842
  */
50315
51843
  export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
50316
51844
 
@@ -50329,7 +51857,7 @@ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase
50329
51857
 
50330
51858
 
50331
51859
  /**
50332
- * Option that splits on matching person criteria
51860
+ * Option that splits on if a link is clicked or not
50333
51861
  */
50334
51862
  export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
50335
51863
 
@@ -50367,7 +51895,7 @@ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
50367
51895
 
50368
51896
 
50369
51897
  /**
50370
- * Option that splits on matching person criteria
51898
+ * Option that splits on project membership
50371
51899
  */
50372
51900
  export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
50373
51901
 
@@ -50386,7 +51914,7 @@ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionB
50386
51914
 
50387
51915
 
50388
51916
  /**
50389
- * Option that splits on matching person criteria
51917
+ * Option that splits on selection membership
50390
51918
  */
50391
51919
  export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
50392
51920
 
@@ -50434,6 +51962,11 @@ export interface WorkflowStepRemoveFromList extends WorkflowStepBase {
50434
51962
  export interface WorkflowStepRunScript extends WorkflowStepBase {
50435
51963
 
50436
51964
 
51965
+ /**
51966
+ * Script Id to run
51967
+ */
51968
+ scriptId?: number;
51969
+
50437
51970
  }
50438
51971
 
50439
51972
 
@@ -50527,10 +52060,20 @@ export interface WorkflowStepSplit extends WorkflowStepBase {
50527
52060
  options?: WorkflowStepOptionBase[];
50528
52061
 
50529
52062
  /**
50530
- * If set to true, particants descending the Everyone else branch will exit the flow on this step
52063
+ * If set to true, participants descending the Everyone else branch will exit the flow on this step
50531
52064
  */
50532
52065
  exitFlow?: boolean;
50533
52066
 
52067
+ /**
52068
+ * Flow to add participants to on exit
52069
+ */
52070
+ exitToFlowId?: number;
52071
+
52072
+ /**
52073
+ * Static selection to add participants to on exit
52074
+ */
52075
+ exitToSelectionId?: number;
52076
+
50534
52077
  }
50535
52078
 
50536
52079
 
@@ -50546,9 +52089,19 @@ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
50546
52089
 
50547
52090
 
50548
52091
  /**
50549
- * Fields and values to change
52092
+ * The name/description of this update participant step
50550
52093
  */
50551
- fieldValues?: FieldValue[];
52094
+ description?: string;
52095
+
52096
+ /**
52097
+ * Fields and values to change for persons
52098
+ */
52099
+ fieldValuesPerson?: FieldValueInfo[];
52100
+
52101
+ /**
52102
+ * Fields and values to change for companies
52103
+ */
52104
+ fieldValuesCompany?: FieldValueInfo[];
50552
52105
 
50553
52106
  }
50554
52107
 
@@ -50564,6 +52117,41 @@ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
50564
52117
  export interface WorkflowStepWaitForAction extends WorkflowStepBase {
50565
52118
 
50566
52119
 
52120
+ /**
52121
+ * If set to true, participants timing out will exit the flow
52122
+ */
52123
+ exitFlow?: boolean;
52124
+
52125
+ /**
52126
+ * Flow to add participants to on exit
52127
+ */
52128
+ exitToFlowId?: number;
52129
+
52130
+ /**
52131
+ * Static selection to add participants to on exit
52132
+ */
52133
+ exitToSelectionId?: number;
52134
+
52135
+ /**
52136
+ * The given number of intervals to wait (timeout)
52137
+ */
52138
+ actionTimeout?: number;
52139
+
52140
+ /**
52141
+ * If set to false, participants will wait forever
52142
+ */
52143
+ waitForTimeout?: boolean;
52144
+
52145
+ /**
52146
+ * Interval type (Minutes, days, weeks...)
52147
+ */
52148
+ timeoutIntervalType?: enums.WorkflowTimeWaitIntervalType;
52149
+
52150
+ /**
52151
+ * The actions we are waiting for
52152
+ */
52153
+ actions?: WorkflowWaitForAction[];
52154
+
50567
52155
  }
50568
52156
 
50569
52157
 
@@ -50640,6 +52228,51 @@ export interface WorkflowTrigger extends Carrier {
50640
52228
 
50641
52229
 
50642
52230
 
52231
+ /**
52232
+ * Workflow action info carrier
52233
+ */
52234
+ export interface WorkflowWaitForAction extends Carrier {
52235
+
52236
+
52237
+ /**
52238
+ * Primary key
52239
+ */
52240
+ workflowWaitForActionId?: number;
52241
+
52242
+ /**
52243
+ * The workflow step this instance belongs to
52244
+ */
52245
+ workflowStepId?: number;
52246
+
52247
+ /**
52248
+ * Workflow id
52249
+ */
52250
+ workflowId?: number;
52251
+
52252
+ /**
52253
+ * The rank of this action
52254
+ */
52255
+ rank?: number;
52256
+
52257
+ /**
52258
+ * The type of action
52259
+ */
52260
+ actionType?: enums.WorkflowWaitForActionType;
52261
+
52262
+ /**
52263
+ * The restrictions (can be multiple groups) that make up the Workflow action criteria
52264
+ */
52265
+ restrictionGroups?: ArchiveRestrictionGroup[];
52266
+
52267
+ }
52268
+
52269
+
52270
+
52271
+
52272
+
52273
+
52274
+
52275
+
50643
52276
 
50644
52277
 
50645
52278