@superoffice/webapi 10.5.4 → 11.1.447

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 (288) 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/BLOBAgent.d.ts +0 -31
  10. package/dist/cjs/BLOBAgent.d.ts.map +1 -1
  11. package/dist/cjs/BLOBAgent.js +0 -67
  12. package/dist/cjs/BLOBAgent.js.map +1 -1
  13. package/dist/cjs/CRMScriptAgent.d.ts +31 -0
  14. package/dist/cjs/CRMScriptAgent.d.ts.map +1 -1
  15. package/dist/cjs/CRMScriptAgent.js +67 -0
  16. package/dist/cjs/CRMScriptAgent.js.map +1 -1
  17. package/dist/cjs/Carriers.d.ts +1357 -1103
  18. package/dist/cjs/Carriers.d.ts.map +1 -1
  19. package/dist/cjs/ConfigurationAgent.d.ts +14 -0
  20. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
  21. package/dist/cjs/ConfigurationAgent.js +48 -0
  22. package/dist/cjs/ConfigurationAgent.js.map +1 -1
  23. package/dist/cjs/Converters.d.ts +33 -39
  24. package/dist/cjs/Converters.d.ts.map +1 -1
  25. package/dist/cjs/Converters.js +664 -595
  26. package/dist/cjs/Converters.js.map +1 -1
  27. package/dist/cjs/CustomerServiceAgent.d.ts +30 -16
  28. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
  29. package/dist/cjs/CustomerServiceAgent.js +66 -44
  30. package/dist/cjs/CustomerServiceAgent.js.map +1 -1
  31. package/dist/cjs/DiagnosticsAgent.d.ts +105 -0
  32. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  33. package/dist/cjs/DiagnosticsAgent.js +229 -0
  34. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  35. package/dist/cjs/DocumentAgent.d.ts +17 -0
  36. package/dist/cjs/DocumentAgent.d.ts.map +1 -1
  37. package/dist/cjs/DocumentAgent.js +36 -0
  38. package/dist/cjs/DocumentAgent.js.map +1 -1
  39. package/dist/cjs/DocumentMigrationAgent.d.ts +7 -0
  40. package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -1
  41. package/dist/cjs/DocumentMigrationAgent.js +24 -0
  42. package/dist/cjs/DocumentMigrationAgent.js.map +1 -1
  43. package/dist/cjs/EMailAgent.d.ts +38 -5
  44. package/dist/cjs/EMailAgent.d.ts.map +1 -1
  45. package/dist/cjs/EMailAgent.js +70 -1
  46. package/dist/cjs/EMailAgent.js.map +1 -1
  47. package/dist/cjs/Enums.d.ts +297 -246
  48. package/dist/cjs/Enums.d.ts.map +1 -1
  49. package/dist/cjs/Enums.js +308 -253
  50. package/dist/cjs/Enums.js.map +1 -1
  51. package/dist/cjs/FreeTextAgent.d.ts +0 -67
  52. package/dist/cjs/FreeTextAgent.d.ts.map +1 -1
  53. package/dist/cjs/FreeTextAgent.js +0 -156
  54. package/dist/cjs/FreeTextAgent.js.map +1 -1
  55. package/dist/cjs/LicenseAgent.d.ts +37 -0
  56. package/dist/cjs/LicenseAgent.d.ts.map +1 -1
  57. package/dist/cjs/LicenseAgent.js +90 -0
  58. package/dist/cjs/LicenseAgent.js.map +1 -1
  59. package/dist/cjs/ListAgent.d.ts +41 -40
  60. package/dist/cjs/ListAgent.d.ts.map +1 -1
  61. package/dist/cjs/ListAgent.js +51 -63
  62. package/dist/cjs/ListAgent.js.map +1 -1
  63. package/dist/cjs/MDOAgent.d.ts +1 -1
  64. package/dist/cjs/MarketingAgent.d.ts +31 -0
  65. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  66. package/dist/cjs/MarketingAgent.js +67 -0
  67. package/dist/cjs/MarketingAgent.js.map +1 -1
  68. package/dist/cjs/NavigatorAgent.d.ts +0 -8
  69. package/dist/cjs/NavigatorAgent.d.ts.map +1 -1
  70. package/dist/cjs/NavigatorAgent.js +0 -22
  71. package/dist/cjs/NavigatorAgent.js.map +1 -1
  72. package/dist/cjs/PersonAgent.d.ts +53 -0
  73. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  74. package/dist/cjs/PersonAgent.js +107 -0
  75. package/dist/cjs/PersonAgent.js.map +1 -1
  76. package/dist/cjs/ProjectAgent.d.ts +16 -0
  77. package/dist/cjs/ProjectAgent.d.ts.map +1 -1
  78. package/dist/cjs/ProjectAgent.js +34 -0
  79. package/dist/cjs/ProjectAgent.js.map +1 -1
  80. package/dist/cjs/QuoteAgent.d.ts +16 -48
  81. package/dist/cjs/QuoteAgent.d.ts.map +1 -1
  82. package/dist/cjs/QuoteAgent.js +21 -105
  83. package/dist/cjs/QuoteAgent.js.map +1 -1
  84. package/dist/cjs/ReportAgent.d.ts +0 -121
  85. package/dist/cjs/ReportAgent.d.ts.map +1 -1
  86. package/dist/cjs/ReportAgent.js +0 -271
  87. package/dist/cjs/ReportAgent.js.map +1 -1
  88. package/dist/cjs/SaleAgent.d.ts +47 -0
  89. package/dist/cjs/SaleAgent.d.ts.map +1 -1
  90. package/dist/cjs/SaleAgent.js +101 -0
  91. package/dist/cjs/SaleAgent.js.map +1 -1
  92. package/dist/cjs/SelectionAgent.d.ts +15 -53
  93. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  94. package/dist/cjs/SelectionAgent.js +33 -131
  95. package/dist/cjs/SelectionAgent.js.map +1 -1
  96. package/dist/cjs/SentryAgent.d.ts +15 -0
  97. package/dist/cjs/SentryAgent.d.ts.map +1 -1
  98. package/dist/cjs/SentryAgent.js +33 -0
  99. package/dist/cjs/SentryAgent.js.map +1 -1
  100. package/dist/cjs/TicketAgent.d.ts +117 -2
  101. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  102. package/dist/cjs/TicketAgent.js +255 -0
  103. package/dist/cjs/TicketAgent.js.map +1 -1
  104. package/dist/cjs/ViewStateAgent.d.ts +22 -22
  105. package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
  106. package/dist/cjs/ViewStateAgent.js +57 -57
  107. package/dist/cjs/ViewStateAgent.js.map +1 -1
  108. package/dist/cjs/WebApi.d.ts +0 -18
  109. package/dist/cjs/WebApi.d.ts.map +1 -1
  110. package/dist/cjs/WebApi.js +2 -29
  111. package/dist/cjs/WebApi.js.map +1 -1
  112. package/dist/cjs/WorkflowAgent.d.ts +80 -2
  113. package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
  114. package/dist/cjs/WorkflowAgent.js +188 -0
  115. package/dist/cjs/WorkflowAgent.js.map +1 -1
  116. package/dist/esm/AIAgent.d.ts +16 -0
  117. package/dist/esm/AIAgent.d.ts.map +1 -1
  118. package/dist/esm/AIAgent.js +34 -0
  119. package/dist/esm/AIAgent.js.map +1 -1
  120. package/dist/esm/AppointmentAgent.d.ts +117 -0
  121. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  122. package/dist/esm/AppointmentAgent.js +242 -0
  123. package/dist/esm/AppointmentAgent.js.map +1 -1
  124. package/dist/esm/BLOBAgent.d.ts +0 -31
  125. package/dist/esm/BLOBAgent.d.ts.map +1 -1
  126. package/dist/esm/BLOBAgent.js +0 -67
  127. package/dist/esm/BLOBAgent.js.map +1 -1
  128. package/dist/esm/CRMScriptAgent.d.ts +31 -0
  129. package/dist/esm/CRMScriptAgent.d.ts.map +1 -1
  130. package/dist/esm/CRMScriptAgent.js +67 -0
  131. package/dist/esm/CRMScriptAgent.js.map +1 -1
  132. package/dist/esm/Carriers.d.ts +1357 -1103
  133. package/dist/esm/Carriers.d.ts.map +1 -1
  134. package/dist/esm/ConfigurationAgent.d.ts +14 -0
  135. package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
  136. package/dist/esm/ConfigurationAgent.js +48 -0
  137. package/dist/esm/ConfigurationAgent.js.map +1 -1
  138. package/dist/esm/Converters.d.ts +33 -39
  139. package/dist/esm/Converters.d.ts.map +1 -1
  140. package/dist/esm/Converters.js +604 -529
  141. package/dist/esm/Converters.js.map +1 -1
  142. package/dist/esm/CustomerServiceAgent.d.ts +30 -16
  143. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
  144. package/dist/esm/CustomerServiceAgent.js +66 -44
  145. package/dist/esm/CustomerServiceAgent.js.map +1 -1
  146. package/dist/esm/DiagnosticsAgent.d.ts +105 -0
  147. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  148. package/dist/esm/DiagnosticsAgent.js +229 -0
  149. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  150. package/dist/esm/DocumentAgent.d.ts +17 -0
  151. package/dist/esm/DocumentAgent.d.ts.map +1 -1
  152. package/dist/esm/DocumentAgent.js +36 -0
  153. package/dist/esm/DocumentAgent.js.map +1 -1
  154. package/dist/esm/DocumentMigrationAgent.d.ts +7 -0
  155. package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -1
  156. package/dist/esm/DocumentMigrationAgent.js +24 -0
  157. package/dist/esm/DocumentMigrationAgent.js.map +1 -1
  158. package/dist/esm/EMailAgent.d.ts +38 -5
  159. package/dist/esm/EMailAgent.d.ts.map +1 -1
  160. package/dist/esm/EMailAgent.js +70 -1
  161. package/dist/esm/EMailAgent.js.map +1 -1
  162. package/dist/esm/Enums.d.ts +297 -246
  163. package/dist/esm/Enums.d.ts.map +1 -1
  164. package/dist/esm/Enums.js +304 -249
  165. package/dist/esm/Enums.js.map +1 -1
  166. package/dist/esm/FreeTextAgent.d.ts +0 -67
  167. package/dist/esm/FreeTextAgent.d.ts.map +1 -1
  168. package/dist/esm/FreeTextAgent.js +0 -156
  169. package/dist/esm/FreeTextAgent.js.map +1 -1
  170. package/dist/esm/LicenseAgent.d.ts +37 -0
  171. package/dist/esm/LicenseAgent.d.ts.map +1 -1
  172. package/dist/esm/LicenseAgent.js +90 -0
  173. package/dist/esm/LicenseAgent.js.map +1 -1
  174. package/dist/esm/ListAgent.d.ts +41 -40
  175. package/dist/esm/ListAgent.d.ts.map +1 -1
  176. package/dist/esm/ListAgent.js +51 -63
  177. package/dist/esm/ListAgent.js.map +1 -1
  178. package/dist/esm/MDOAgent.d.ts +1 -1
  179. package/dist/esm/MarketingAgent.d.ts +31 -0
  180. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  181. package/dist/esm/MarketingAgent.js +67 -0
  182. package/dist/esm/MarketingAgent.js.map +1 -1
  183. package/dist/esm/NavigatorAgent.d.ts +0 -8
  184. package/dist/esm/NavigatorAgent.d.ts.map +1 -1
  185. package/dist/esm/NavigatorAgent.js +0 -22
  186. package/dist/esm/NavigatorAgent.js.map +1 -1
  187. package/dist/esm/PersonAgent.d.ts +53 -0
  188. package/dist/esm/PersonAgent.d.ts.map +1 -1
  189. package/dist/esm/PersonAgent.js +107 -0
  190. package/dist/esm/PersonAgent.js.map +1 -1
  191. package/dist/esm/ProjectAgent.d.ts +16 -0
  192. package/dist/esm/ProjectAgent.d.ts.map +1 -1
  193. package/dist/esm/ProjectAgent.js +34 -0
  194. package/dist/esm/ProjectAgent.js.map +1 -1
  195. package/dist/esm/QuoteAgent.d.ts +16 -48
  196. package/dist/esm/QuoteAgent.d.ts.map +1 -1
  197. package/dist/esm/QuoteAgent.js +21 -105
  198. package/dist/esm/QuoteAgent.js.map +1 -1
  199. package/dist/esm/ReportAgent.d.ts +0 -121
  200. package/dist/esm/ReportAgent.d.ts.map +1 -1
  201. package/dist/esm/ReportAgent.js +0 -271
  202. package/dist/esm/ReportAgent.js.map +1 -1
  203. package/dist/esm/SaleAgent.d.ts +47 -0
  204. package/dist/esm/SaleAgent.d.ts.map +1 -1
  205. package/dist/esm/SaleAgent.js +101 -0
  206. package/dist/esm/SaleAgent.js.map +1 -1
  207. package/dist/esm/SelectionAgent.d.ts +15 -53
  208. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  209. package/dist/esm/SelectionAgent.js +33 -131
  210. package/dist/esm/SelectionAgent.js.map +1 -1
  211. package/dist/esm/SentryAgent.d.ts +15 -0
  212. package/dist/esm/SentryAgent.d.ts.map +1 -1
  213. package/dist/esm/SentryAgent.js +33 -0
  214. package/dist/esm/SentryAgent.js.map +1 -1
  215. package/dist/esm/TicketAgent.d.ts +117 -2
  216. package/dist/esm/TicketAgent.d.ts.map +1 -1
  217. package/dist/esm/TicketAgent.js +255 -0
  218. package/dist/esm/TicketAgent.js.map +1 -1
  219. package/dist/esm/ViewStateAgent.d.ts +22 -22
  220. package/dist/esm/ViewStateAgent.d.ts.map +1 -1
  221. package/dist/esm/ViewStateAgent.js +57 -57
  222. package/dist/esm/ViewStateAgent.js.map +1 -1
  223. package/dist/esm/WebApi.d.ts +0 -18
  224. package/dist/esm/WebApi.d.ts.map +1 -1
  225. package/dist/esm/WebApi.js +0 -27
  226. package/dist/esm/WebApi.js.map +1 -1
  227. package/dist/esm/WorkflowAgent.d.ts +80 -2
  228. package/dist/esm/WorkflowAgent.d.ts.map +1 -1
  229. package/dist/esm/WorkflowAgent.js +188 -0
  230. package/dist/esm/WorkflowAgent.js.map +1 -1
  231. package/package.json +5 -6
  232. package/src/AIAgent.ts +58 -0
  233. package/src/AppointmentAgent.ts +406 -0
  234. package/src/BLOBAgent.ts +0 -114
  235. package/src/CRMScriptAgent.ts +114 -0
  236. package/src/Carriers.ts +1874 -1605
  237. package/src/ConfigurationAgent.ts +60 -0
  238. package/src/Converters.ts +704 -643
  239. package/src/CustomerServiceAgent.ts +112 -47
  240. package/src/DiagnosticsAgent.ts +380 -0
  241. package/src/DocumentAgent.ts +61 -0
  242. package/src/DocumentMigrationAgent.ts +30 -0
  243. package/src/EMailAgent.ts +123 -5
  244. package/src/Enums.ts +314 -255
  245. package/src/FreeTextAgent.ts +0 -254
  246. package/src/LicenseAgent.ts +142 -0
  247. package/src/ListAgent.ts +103 -99
  248. package/src/MDOAgent.ts +1 -1
  249. package/src/MarketingAgent.ts +114 -0
  250. package/src/NavigatorAgent.ts +0 -24
  251. package/src/PersonAgent.ts +184 -0
  252. package/src/ProjectAgent.ts +58 -0
  253. package/src/QuoteAgent.ts +44 -179
  254. package/src/ReportAgent.ts +0 -421
  255. package/src/SaleAgent.ts +172 -0
  256. package/src/SelectionAgent.ts +56 -183
  257. package/src/SentryAgent.ts +56 -0
  258. package/src/TicketAgent.ts +432 -2
  259. package/src/ViewStateAgent.ts +86 -86
  260. package/src/WebApi.ts +0 -36
  261. package/src/WorkflowAgent.ts +268 -2
  262. package/dist/cjs/AudienceAgent.d.ts +0 -376
  263. package/dist/cjs/AudienceAgent.d.ts.map +0 -1
  264. package/dist/cjs/AudienceAgent.js +0 -888
  265. package/dist/cjs/AudienceAgent.js.map +0 -1
  266. package/dist/cjs/DashboardAgent.d.ts +0 -197
  267. package/dist/cjs/DashboardAgent.d.ts.map +0 -1
  268. package/dist/cjs/DashboardAgent.js +0 -436
  269. package/dist/cjs/DashboardAgent.js.map +0 -1
  270. package/dist/cjs/ReplicationAgent.d.ts +0 -101
  271. package/dist/cjs/ReplicationAgent.d.ts.map +0 -1
  272. package/dist/cjs/ReplicationAgent.js +0 -223
  273. package/dist/cjs/ReplicationAgent.js.map +0 -1
  274. package/dist/esm/AudienceAgent.d.ts +0 -376
  275. package/dist/esm/AudienceAgent.d.ts.map +0 -1
  276. package/dist/esm/AudienceAgent.js +0 -883
  277. package/dist/esm/AudienceAgent.js.map +0 -1
  278. package/dist/esm/DashboardAgent.d.ts +0 -197
  279. package/dist/esm/DashboardAgent.d.ts.map +0 -1
  280. package/dist/esm/DashboardAgent.js +0 -431
  281. package/dist/esm/DashboardAgent.js.map +0 -1
  282. package/dist/esm/ReplicationAgent.d.ts +0 -101
  283. package/dist/esm/ReplicationAgent.d.ts.map +0 -1
  284. package/dist/esm/ReplicationAgent.js +0 -218
  285. package/dist/esm/ReplicationAgent.js.map +0 -1
  286. package/src/AudienceAgent.ts +0 -1430
  287. package/src/DashboardAgent.ts +0 -658
  288. package/src/ReplicationAgent.ts +0 -325
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
 
@@ -3724,54 +3724,34 @@ export interface Quote_RecalculateQuoteLineRequest {
3724
3724
  // response object: QuoteLine
3725
3725
 
3726
3726
  /**
3727
- * Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
3728
- * Returns Blob
3727
+ * Converts an xml string into an object representation.
3728
+ * Returns ProductExtraDataField[]
3729
3729
  */
3730
- export interface Quote_GetQuoteLineImageRequest {
3731
- /**
3732
- * Primary key of the quoteline
3733
- */
3734
- quoteLineId: number;
3730
+ export interface Quote_GetExtraInfoRequest {
3735
3731
  /**
3736
- * The rank of the image.
3732
+ * The extra data as xml.
3737
3733
  */
3738
- rank: number;
3734
+ quoteLineExtraData: string;
3739
3735
  }
3740
3736
 
3741
- // response object: Blob
3737
+ // response object: ProductExtraDataField[]
3742
3738
 
3743
3739
  /**
3744
- * Saves the image connected to a quoteline in the SuperOffice database
3740
+ * Create and save quotelines based on the product keys added
3741
+ * Returns number
3745
3742
  */
3746
- export interface Quote_SaveQuoteLineImageRequest {
3747
- /**
3748
- * Primary key of the quoteline
3749
- */
3750
- quoteLineId: number;
3743
+ export interface Quote_CreateAndSaveQuoteLinesRequest {
3751
3744
  /**
3752
- * The image.
3745
+ * Primary key of the alternative
3753
3746
  */
3754
- image: ArrayBuffer | string;
3747
+ quoteAlternativeId: number;
3755
3748
  /**
3756
- * The rank of the image.
3749
+ * Array of the product keys to add
3757
3750
  */
3758
- rank: number;
3751
+ erpProductKeys: string[];
3759
3752
  }
3760
3753
 
3761
- // Void response...
3762
-
3763
- /**
3764
- * Converts an xml string into an object representation.
3765
- * Returns ProductExtraDataField[]
3766
- */
3767
- export interface Quote_GetExtraInfoRequest {
3768
- /**
3769
- * The extra data as xml.
3770
- */
3771
- quoteLineExtraData: string;
3772
- }
3773
-
3774
- // response object: ProductExtraDataField[]
3754
+ // response object: number
3775
3755
 
3776
3756
 
3777
3757
  /**
@@ -3903,48 +3883,6 @@ export interface Quote_SaveQuoteLineConfigurationsRequest {
3903
3883
  // response object: QuoteLineConfiguration[]
3904
3884
 
3905
3885
 
3906
- /**
3907
- * One line in a list
3908
- */
3909
- export interface QuoteListItem extends Carrier {
3910
-
3911
-
3912
- /**
3913
- * Primary key for the item.
3914
- */
3915
- erpQuoteListItemKey?: string;
3916
-
3917
- /**
3918
- * List item text to display.
3919
- */
3920
- displayValue?: string;
3921
-
3922
- /**
3923
- * Typically used in a tooltip.
3924
- */
3925
- displayDescription?: string;
3926
-
3927
- }
3928
-
3929
-
3930
-
3931
-
3932
-
3933
-
3934
- /**
3935
- * Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
3936
- * Returns QuoteListItem[]
3937
- */
3938
- export interface Quote_GetQuoteListRequest {
3939
- /**
3940
- * The name of the requested list, for instance: ProductCategory, ProductFamily, ProductType, PaymentTerms, PaymentType, DeliveryTerms, DeliveryType.
3941
- */
3942
- quoteListType: string;
3943
- }
3944
-
3945
- // response object: QuoteListItem[]
3946
-
3947
-
3948
3886
  /**
3949
3887
  * Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments
3950
3888
  */
@@ -4841,7 +4779,6 @@ export interface QuoteVersionWorkflowState extends Carrier {
4841
4779
 
4842
4780
 
4843
4781
 
4844
-
4845
4782
 
4846
4783
 
4847
4784
  /**
@@ -7661,6 +7598,11 @@ export interface Person extends Carrier {
7661
7598
  */
7662
7599
  categoryName?: string;
7663
7600
 
7601
+ /**
7602
+ * Alphanumeric user field
7603
+ */
7604
+ personNumber?: string;
7605
+
7664
7606
  }
7665
7607
 
7666
7608
 
@@ -7668,6 +7610,23 @@ export interface Person extends Carrier {
7668
7610
 
7669
7611
 
7670
7612
 
7613
+ /**
7614
+ * Try to add a participant to the EmailFlow, Same function available in WorkflowAgent
7615
+ * Returns boolean[]
7616
+ */
7617
+ export interface Person_TryAddPersonsToEmailFlowRequest {
7618
+ /**
7619
+ * Primary key of EmailFlow
7620
+ */
7621
+ emailFlowId: number;
7622
+ /**
7623
+ * Array of Person Ids
7624
+ */
7625
+ personIds: number[];
7626
+ }
7627
+
7628
+ // response object: boolean[]
7629
+
7671
7630
 
7672
7631
  /**
7673
7632
  * The Person Service. The service implements all services working with the Person object.
@@ -7987,6 +7946,11 @@ export interface PersonEntity extends Carrier {
7987
7946
  */
7988
7947
  activeStatusMonitorId?: number;
7989
7948
 
7949
+ /**
7950
+ * The form id of the form that created the person
7951
+ */
7952
+ createdByFormId?: number;
7953
+
7990
7954
  /**
7991
7955
  * Dictionary of user defined field data.
7992
7956
  * 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 +8388,35 @@ export interface Person_CreateTemporaryKeyRequest {
8424
8388
 
8425
8389
  // response object: string
8426
8390
 
8391
+ /**
8392
+ * 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.
8393
+ * Returns string
8394
+ */
8395
+ export interface Person_CreateTemporaryKeyWithPayloadRequest {
8396
+ /**
8397
+ * The domain this key is for
8398
+ */
8399
+ domain: enums.TemporaryKeyDomain;
8400
+ /**
8401
+ * The primary key of the entity this is for. Depends on domain.
8402
+ */
8403
+ targetId: number;
8404
+ /**
8405
+ * The person this key is for. May be null.
8406
+ */
8407
+ personId: number;
8408
+ /**
8409
+ * When the key will expire (servers local time)
8410
+ */
8411
+ expires: Date;
8412
+ /**
8413
+ * The payload for the temporary key
8414
+ */
8415
+ payload: string;
8416
+ }
8417
+
8418
+ // response object: string
8419
+
8427
8420
  /**
8428
8421
  * Check a temporary key for validity, and in case it is valid, return its domain, targetId and personId
8429
8422
  * Returns TemporaryKeyInfo
@@ -8628,6 +8621,30 @@ export interface Person_GetCustomerCentrePasswordReplyTemplateRequest {
8628
8621
 
8629
8622
  // response object: ReplyTemplateParsed
8630
8623
 
8624
+ /**
8625
+ * Sends a Customer Centre password email based on the reply template.
8626
+ */
8627
+ export interface Person_SendCustomerCentrePasswordEmailRequest {
8628
+ /**
8629
+ * Person id associated to email's reply template.
8630
+ */
8631
+ personId: number;
8632
+ /**
8633
+ * Sender's email address.
8634
+ */
8635
+ from: string;
8636
+ /**
8637
+ * Recipient's email address.
8638
+ */
8639
+ to: string;
8640
+ /**
8641
+ * Email's subject.
8642
+ */
8643
+ subject: string;
8644
+ }
8645
+
8646
+ // Void response...
8647
+
8631
8648
  /**
8632
8649
  * Inserts into outbox an email with specified details.
8633
8650
  */
@@ -8950,6 +8967,11 @@ export interface TemporaryKeyInfo extends Carrier {
8950
8967
  */
8951
8968
  isExpired?: boolean;
8952
8969
 
8970
+ /**
8971
+ * The payload for this key. May be null or empty.
8972
+ */
8973
+ payload?: string;
8974
+
8953
8975
  }
8954
8976
 
8955
8977
 
@@ -9519,6 +9541,19 @@ export interface Sale_ValidateSaleEntityRequest {
9519
9541
 
9520
9542
  // response object: StringDictionary
9521
9543
 
9544
+ /**
9545
+ * Returns true is the sale has a quote
9546
+ * Returns boolean
9547
+ */
9548
+ export interface Sale_SaleHasQuoteRequest {
9549
+ /**
9550
+ * The id of the sale
9551
+ */
9552
+ saleId: number;
9553
+ }
9554
+
9555
+ // response object: boolean
9556
+
9522
9557
 
9523
9558
  /**
9524
9559
  * Returning the opportunities (open sales) belonging to the user currently logged on
@@ -9617,6 +9652,22 @@ export interface Sale_SetAsSoldRequest {
9617
9652
 
9618
9653
  // Void response...
9619
9654
 
9655
+ /**
9656
+ * Change the status of one or more Sales to Sold. Note that this does not mark them as Completed.
9657
+ */
9658
+ export interface Sale_SetAsSoldWithReasonRequest {
9659
+ /**
9660
+ * Array of sale ids to be marked as lost. All the normal write access rules apply.
9661
+ */
9662
+ saleIds: number[];
9663
+ /**
9664
+ * The ID of the sold reason.
9665
+ */
9666
+ reasonId: number;
9667
+ }
9668
+
9669
+ // Void response...
9670
+
9620
9671
  /**
9621
9672
  * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
9622
9673
  */
@@ -9629,6 +9680,22 @@ export interface Sale_SetAsLostRequest {
9629
9680
 
9630
9681
  // Void response...
9631
9682
 
9683
+ /**
9684
+ * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
9685
+ */
9686
+ export interface Sale_SetAsLostWithReasonRequest {
9687
+ /**
9688
+ * Array of sale ids to be marked as lost. All normal write access rules apply.
9689
+ */
9690
+ saleIds: number[];
9691
+ /**
9692
+ * The ID of the lost reason.
9693
+ */
9694
+ reasonId: number;
9695
+ }
9696
+
9697
+ // Void response...
9698
+
9632
9699
  /**
9633
9700
  * Returns all sales for the contact provided.
9634
9701
  * Returns Sale[]
@@ -11413,6 +11480,22 @@ export interface ProjectMember extends Carrier {
11413
11480
 
11414
11481
 
11415
11482
 
11483
+ /**
11484
+ * Update existing project members. Not creating new (only projectmember_id > 0 accepted)
11485
+ */
11486
+ export interface Project_UpdateProjectMembersRequest {
11487
+ /**
11488
+ * Project of which members will be updated
11489
+ */
11490
+ projectId: number;
11491
+ /**
11492
+ * Project members to update
11493
+ */
11494
+ projectMembers: ProjectMember[];
11495
+ }
11496
+
11497
+ // Void response...
11498
+
11416
11499
 
11417
11500
  /**
11418
11501
  * Returns an array of project members
@@ -11486,6 +11569,7 @@ export interface Project_SaveProjectMembersFunctionAndCommentRequest {
11486
11569
 
11487
11570
 
11488
11571
 
11572
+
11489
11573
  /**
11490
11574
  *
11491
11575
  */
@@ -12033,6 +12117,11 @@ export interface Appointment extends Carrier {
12033
12117
  */
12034
12118
  cautionWarning?: enums.AppointmentCautionWarning;
12035
12119
 
12120
+ /**
12121
+ * Set if an external system owns this appointment.
12122
+ */
12123
+ ownedExternally?: enums.AppointmentExternalOwner;
12124
+
12036
12125
  /**
12037
12126
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
12038
12127
  */
@@ -12393,6 +12482,11 @@ export interface AppointmentEntity extends Carrier {
12393
12482
  */
12394
12483
  cautionWarning?: enums.AppointmentCautionWarning;
12395
12484
 
12485
+ /**
12486
+ * Set if an external system owns this appointment.
12487
+ */
12488
+ ownedExternally?: enums.AppointmentExternalOwner;
12489
+
12396
12490
  /**
12397
12491
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
12398
12492
  */
@@ -12786,6 +12880,52 @@ export interface Appointment_MoveRequest {
12786
12880
 
12787
12881
  // response object: AppointmentEntity
12788
12882
 
12883
+ /**
12884
+ * Moving a booking to another start time.
12885
+ * Returns AppointmentEntity
12886
+ */
12887
+ export interface Appointment_MoveWithEmailRequest {
12888
+ /**
12889
+ * The appointmentId. Both master and child record ids are accepted.
12890
+ */
12891
+ appointmentId: number;
12892
+ /**
12893
+ * The new start time for the moved booking.
12894
+ */
12895
+ newStartTime: Date;
12896
+ /**
12897
+ * Update mode for a recurring appointment.
12898
+ */
12899
+ updateMode: enums.RecurrenceUpdateMode;
12900
+ /**
12901
+ * 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.
12902
+ */
12903
+ sendEmailToParticipants: boolean;
12904
+ /**
12905
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
12906
+ */
12907
+ smtpEMailConnectionInfo: EMailConnectionInfo;
12908
+ /**
12909
+ * Login information for imap server. Will be null if no login information is relevant.
12910
+ */
12911
+ imapEMailConnectionInfo: EMailConnectionInfo;
12912
+ }
12913
+
12914
+ // response object: AppointmentEntity
12915
+
12916
+ /**
12917
+ * Moving a booking to another start time and with new info and possibly notifications.
12918
+ * Returns AppointmentEntity
12919
+ */
12920
+ export interface Appointment_MoveExtendedRequest {
12921
+ /**
12922
+ * Move parameter data.
12923
+ */
12924
+ appointmentMoveData: AppointmentMoveData;
12925
+ }
12926
+
12927
+ // response object: AppointmentEntity
12928
+
12789
12929
  /**
12790
12930
  * Accept that an invited participant has rejected your invitation or assignment.
12791
12931
  * Returns AppointmentEntity
@@ -13194,6 +13334,19 @@ export interface Appointment_SaveWithCustomInvitationRequest {
13194
13334
 
13195
13335
  // response object: AppointmentSaveData
13196
13336
 
13337
+ /**
13338
+ * Convert appointment to task if certain criteria are met (participants < 2)
13339
+ * Returns AppointmentEntity
13340
+ */
13341
+ export interface Appointment_ConvertAppointmentToTaskRequest {
13342
+ /**
13343
+ * Appointment ID
13344
+ */
13345
+ appointmentId: number;
13346
+ }
13347
+
13348
+ // response object: AppointmentEntity
13349
+
13197
13350
 
13198
13351
  /**
13199
13352
  * Info about an appointment
@@ -13231,6 +13384,21 @@ export interface AppointmentInfo extends Carrier {
13231
13384
  */
13232
13385
  colorIndex?: enums.ColorIndex;
13233
13386
 
13387
+ /**
13388
+ * The name of the appointment task type
13389
+ */
13390
+ taskName?: string;
13391
+
13392
+ /**
13393
+ * The name of the appointment contact.
13394
+ */
13395
+ contactName?: string;
13396
+
13397
+ /**
13398
+ * The name of the appointment project
13399
+ */
13400
+ projectName?: string;
13401
+
13234
13402
  /**
13235
13403
  * The appointment title (first line of appointment description)
13236
13404
  */
@@ -13261,6 +13429,56 @@ export interface AppointmentInfo extends Carrier {
13261
13429
  */
13262
13430
  isVideoMeeting?: boolean;
13263
13431
 
13432
+ /**
13433
+ * True if the appointment has alarm
13434
+ */
13435
+ hasAlarm?: boolean;
13436
+
13437
+ /**
13438
+ * True if the appointment is completed
13439
+ */
13440
+ isCompleted?: boolean;
13441
+
13442
+ /**
13443
+ * True if the appointment is tentative
13444
+ */
13445
+ isTentative?: boolean;
13446
+
13447
+ /**
13448
+ * True if the appointment is a main booking
13449
+ */
13450
+ isBookingMain?: boolean;
13451
+
13452
+ /**
13453
+ * True if the appointment record has the email flag set
13454
+ */
13455
+ sendEmail?: boolean;
13456
+
13457
+ /**
13458
+ * True if any of the appointment records has the email flag set
13459
+ */
13460
+ anySendEmail?: boolean;
13461
+
13462
+ /**
13463
+ * True if only visible for the owner
13464
+ */
13465
+ isPrivate?: boolean;
13466
+
13467
+ /**
13468
+ * The recurrence info if the appointment is recurring
13469
+ */
13470
+ recurrenceInfo?: RecurrenceInfo;
13471
+
13472
+ /**
13473
+ * The name of the appointment person.
13474
+ */
13475
+ personName?: string;
13476
+
13477
+ /**
13478
+ * True if the appointment is part of a booking
13479
+ */
13480
+ isBooking?: boolean;
13481
+
13264
13482
  }
13265
13483
 
13266
13484
 
@@ -14098,6 +14316,92 @@ export interface Appointment_UpdateAppointmentRequest {
14098
14316
 
14099
14317
  // response object: Appointment
14100
14318
 
14319
+ /**
14320
+ * Updates an appointment record, taking the given recurrence update mode into account.
14321
+ * Returns Appointment
14322
+ */
14323
+ export interface Appointment_UpdateAppointmentWithModeRequest {
14324
+ /**
14325
+ *
14326
+ */
14327
+ id: number;
14328
+ /**
14329
+ *
14330
+ */
14331
+ startTime: Date;
14332
+ /**
14333
+ *
14334
+ */
14335
+ endTime: Date;
14336
+ /**
14337
+ *
14338
+ */
14339
+ status: enums.AppointmentStatus;
14340
+ /**
14341
+ *
14342
+ */
14343
+ type: enums.AppointmentType;
14344
+ /**
14345
+ * The appointment owner's id (associate id)
14346
+ */
14347
+ associateId: number;
14348
+ /**
14349
+ * Update mode for recurrence.
14350
+ */
14351
+ updateMode: enums.RecurrenceUpdateMode;
14352
+ }
14353
+
14354
+ // response object: Appointment
14355
+
14356
+ /**
14357
+ * Updates an appointment record, taking the given recurrence update mode into account, possibly sending notification emails.
14358
+ * Returns Appointment
14359
+ */
14360
+ export interface Appointment_UpdateAppointmentWithModeAndEmailRequest {
14361
+ /**
14362
+ *
14363
+ */
14364
+ id: number;
14365
+ /**
14366
+ *
14367
+ */
14368
+ startTime: Date;
14369
+ /**
14370
+ *
14371
+ */
14372
+ endTime: Date;
14373
+ /**
14374
+ *
14375
+ */
14376
+ status: enums.AppointmentStatus;
14377
+ /**
14378
+ *
14379
+ */
14380
+ type: enums.AppointmentType;
14381
+ /**
14382
+ * The appointment owner's id (associate id)
14383
+ */
14384
+ associateId: number;
14385
+ /**
14386
+ * Update mode for recurrence.
14387
+ */
14388
+ updateMode: enums.RecurrenceUpdateMode;
14389
+ /**
14390
+ * 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.
14391
+ */
14392
+ sendEmailToParticipants: boolean;
14393
+ /**
14394
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
14395
+ */
14396
+ smtpEMailConnectionInfo: EMailConnectionInfo;
14397
+ /**
14398
+ * Login information for imap server. Will be null if no login information is relevant.
14399
+ */
14400
+ imapEMailConnectionInfo: EMailConnectionInfo;
14401
+ }
14402
+
14403
+ // response object: Appointment
14404
+
14101
14405
  /**
14102
14406
  * Fetch appointments for given associates
14103
14407
  * Returns Appointment[]
@@ -14158,6 +14462,60 @@ export interface Appointment_GetAppointmentRecordsRequest {
14158
14462
  // response object: Appointment[]
14159
14463
 
14160
14464
 
14465
+ /**
14466
+ * Parameter data for moving an appointment.
14467
+ */
14468
+ export interface AppointmentMoveData extends Carrier {
14469
+
14470
+
14471
+ /**
14472
+ * The appointmentId. Both master and child record ids are accepted.
14473
+ */
14474
+ appointmentId?: number;
14475
+
14476
+ /**
14477
+ * The new start time for the moved booking.
14478
+ */
14479
+ newStartTime?: Date;
14480
+
14481
+ /**
14482
+ * Update mode for a recurring appointment.
14483
+ */
14484
+ updateMode?: enums.RecurrenceUpdateMode;
14485
+
14486
+ /**
14487
+ * 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.
14488
+ */
14489
+ sendEmailToParticipants?: boolean;
14490
+
14491
+ /**
14492
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
14493
+ */
14494
+ smtpEMailConnectionInfo?: EMailConnectionInfo;
14495
+
14496
+ /**
14497
+ * Login information for imap server. Will be null if no login information is relevant.
14498
+ */
14499
+ imapEMailConnectionInfo?: EMailConnectionInfo;
14500
+
14501
+ /**
14502
+ * If true, the appointment should be set to all day
14503
+ */
14504
+ isAlldayEvent?: boolean;
14505
+
14506
+ /**
14507
+ * If true, the time is free (not busy).
14508
+ */
14509
+ isFree?: boolean;
14510
+
14511
+ }
14512
+
14513
+
14514
+
14515
+
14516
+
14517
+
14518
+
14161
14519
  /**
14162
14520
  * This class contains the updated appointment entity and a flag for if any emails were queued when saving
14163
14521
  */
@@ -15145,7 +15503,7 @@ export interface SuggestedAppointmentEntity extends Carrier {
15145
15503
  /**
15146
15504
  * Type of the suggested appointment
15147
15505
  */
15148
- type?: Task;
15506
+ type?: SoTask;
15149
15507
 
15150
15508
  }
15151
15509
 
@@ -15247,6 +15605,51 @@ export interface Appointment_GetTaskListItemsRequest {
15247
15605
  // response object: TaskListItem[]
15248
15606
 
15249
15607
 
15608
+ /**
15609
+ * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
15610
+ */
15611
+ export interface VideoMeetingReservation extends Carrier {
15612
+
15613
+
15614
+ /**
15615
+ * The ID for the meeting, as considered from the central meeting service, not SO
15616
+ */
15617
+ videoMeetingId?: string;
15618
+
15619
+ /**
15620
+ * The URL for the meeting.
15621
+ */
15622
+ videoMeetingUrl?: string;
15623
+
15624
+ }
15625
+
15626
+
15627
+
15628
+
15629
+
15630
+
15631
+ /**
15632
+ * Create a VideoMeetingReservation. System users are not allowed to create video meeting reservations
15633
+ * Returns VideoMeetingReservation
15634
+ */
15635
+ export interface Appointment_CreateVideoMeetingReservationRequest {
15636
+ }
15637
+
15638
+ // response object: VideoMeetingReservation
15639
+
15640
+ /**
15641
+ * Delete a VideoMeetingReservation.
15642
+ */
15643
+ export interface Appointment_DeleteVideoMeetingReservationRequest {
15644
+ /**
15645
+ * The VideoMeetingReservation.VideoMeetingId to remove. System users are not allowed to delete video meeting reservations
15646
+ */
15647
+ videoMeetingId: string;
15648
+ }
15649
+
15650
+ // Void response...
15651
+
15652
+
15250
15653
 
15251
15654
 
15252
15655
 
@@ -17484,6 +17887,27 @@ export interface Document_CopyDocumentToCsAttachmentRequest {
17484
17887
 
17485
17888
  // response object: number
17486
17889
 
17890
+ /**
17891
+ * Saves a pdf stream, assigns file name, connects to given contact etc.
17892
+ * Returns number
17893
+ */
17894
+ export interface Document_SavePrivacyReportPdfRequest {
17895
+ /**
17896
+ * The pdf document as a stream.
17897
+ */
17898
+ stream: ArrayBuffer | string;
17899
+ /**
17900
+ * Title of report
17901
+ */
17902
+ title: string;
17903
+ /**
17904
+ * Person id associated with the report
17905
+ */
17906
+ personId: number;
17907
+ }
17908
+
17909
+ // response object: number
17910
+
17487
17911
 
17488
17912
  /**
17489
17913
  * Get all documents that are linked to the appointment. I.e. the documents that are listed in the appointment dialog.
@@ -22758,7 +23182,7 @@ export interface Tag extends Carrier {
22758
23182
  /**
22759
23183
  * Type of an appointment
22760
23184
  */
22761
- export interface Task extends Carrier {
23185
+ export interface SoTask extends Carrier {
22762
23186
 
22763
23187
 
22764
23188
  /**
@@ -22785,7 +23209,7 @@ export interface Task extends Carrier {
22785
23209
 
22786
23210
  /**
22787
23211
  * Returns a Document Template list item as a TaskListItem. The appointment's task is a Document template item when the appointment is a document.
22788
- * Returns Task
23212
+ * Returns SoTask
22789
23213
  */
22790
23214
  export interface List_GetDocumentTemplateTaskRequest {
22791
23215
  /**
@@ -22794,26 +23218,26 @@ export interface List_GetDocumentTemplateTaskRequest {
22794
23218
  documentTemplateId: number;
22795
23219
  }
22796
23220
 
22797
- // response object: Task
23221
+ // response object: SoTask
22798
23222
 
22799
23223
 
22800
23224
  /**
22801
23225
  * Returns all appointment tasks
22802
- * Returns Task[]
23226
+ * Returns SoTask[]
22803
23227
  */
22804
23228
  export interface List_GetTasksRequest {
22805
23229
  }
22806
23230
 
22807
- // response object: Task[]
23231
+ // response object: SoTask[]
22808
23232
 
22809
23233
  /**
22810
23234
  * The appointment's task is a Document template item when the appointment is a document.
22811
- * Returns Task[]
23235
+ * Returns SoTask[]
22812
23236
  */
22813
23237
  export interface List_GetDocumentTemplatesTasksRequest {
22814
23238
  }
22815
23239
 
22816
- // response object: Task[]
23240
+ // response object: SoTask[]
22817
23241
 
22818
23242
  /**
22819
23243
  * Returns all appointment tasks
@@ -23480,25 +23904,75 @@ export interface List_GetTicketStatusesRequest {
23480
23904
 
23481
23905
 
23482
23906
  /**
23483
- * Trivial TicketType information for filling selector values
23907
+ * Ticket Type - light read-only version of TicketTypeEntity.
23484
23908
  */
23485
23909
  export interface TicketType extends Carrier {
23486
23910
 
23487
23911
 
23488
23912
  /**
23489
- * The list item Id
23913
+ * Primary key
23490
23914
  */
23491
- id: number;
23915
+ ticketTypeId?: number;
23492
23916
 
23493
23917
  /**
23494
- * The list item Value
23918
+ * The list item
23495
23919
  */
23496
- value?: string;
23920
+ name?: string;
23497
23921
 
23498
23922
  /**
23499
- * The list item Tooltip
23923
+ * Name of the icon
23500
23924
  */
23501
- tooltip?: string;
23925
+ icon?: string;
23926
+
23927
+ /**
23928
+ * Default ticket status for new tickets
23929
+ */
23930
+ defaultTicketStatus?: number;
23931
+
23932
+ /**
23933
+ * Default ticket priority for new tickets
23934
+ */
23935
+ defaultTicketPriority?: number;
23936
+
23937
+ /**
23938
+ * Is this Ticket Type marked as default
23939
+ */
23940
+ isDefault?: boolean;
23941
+
23942
+ /**
23943
+ * Enables this request type to be accessible in +New in top bar
23944
+ */
23945
+ showInNew?: boolean;
23946
+
23947
+ /**
23948
+ * Do not insert user signature automatically
23949
+ */
23950
+ excludeSignature?: boolean;
23951
+
23952
+ /**
23953
+ * Create request without initially having to send outbound e-mail
23954
+ */
23955
+ excludeEmailRecipients?: boolean;
23956
+
23957
+ /**
23958
+ * Ability to set external access level for this request type
23959
+ */
23960
+ externalAsDefault?: boolean;
23961
+
23962
+ /**
23963
+ * Array of references to the visible for groups
23964
+ */
23965
+ visibleForGroups?: number[];
23966
+
23967
+ /**
23968
+ * Do not insert user signature when replying or forwarding the message
23969
+ */
23970
+ replyForwardNoSignature?: boolean;
23971
+
23972
+ /**
23973
+ * Set external access level when replying the message
23974
+ */
23975
+ replyExternalAsDefault?: boolean;
23502
23976
 
23503
23977
  }
23504
23978
 
@@ -23574,21 +24048,47 @@ export interface TicketTypeEntity extends Carrier {
23574
24048
  */
23575
24049
  isDefault?: boolean;
23576
24050
 
23577
- }
24051
+ /**
24052
+ * Enables this request type to be accessible in +New in top bar
24053
+ */
24054
+ showInNew?: boolean;
23578
24055
 
24056
+ /**
24057
+ * Do not insert user signature automatically
24058
+ */
24059
+ excludeSignature?: boolean;
23579
24060
 
24061
+ /**
24062
+ * Create request without initially having to send outbound e-mail
24063
+ */
24064
+ excludeEmailRecipients?: boolean;
23580
24065
 
24066
+ /**
24067
+ * Ability to set external access level for this request type
24068
+ */
24069
+ externalAsDefault?: boolean;
24070
+
24071
+ /**
24072
+ * Array of references to the visible for groups
24073
+ */
24074
+ visibleForGroups?: number[];
23581
24075
 
24076
+ /**
24077
+ * Do not insert user signature when replying or forwarding the message
24078
+ */
24079
+ replyForwardNoSignature?: boolean;
23582
24080
 
24081
+ /**
24082
+ * Set external access level when replying the message
24083
+ */
24084
+ replyExternalAsDefault?: boolean;
23583
24085
 
23584
- /**
23585
- * Get all TicketTypeEntities
23586
- * Returns TicketTypeEntity[]
23587
- */
23588
- export interface List_GetAllTicketTypeEntitiesRequest {
23589
24086
  }
23590
24087
 
23591
- // response object: TicketTypeEntity[]
24088
+
24089
+
24090
+
24091
+
23592
24092
 
23593
24093
  /**
23594
24094
  * Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
@@ -23606,15 +24106,31 @@ export interface List_GlobalChangeTicketTypeRequest {
23606
24106
 
23607
24107
  // Void response...
23608
24108
 
24109
+ /**
24110
+ * This method will set sort order of ticket type in a list
24111
+ */
24112
+ export interface List_SetTicketTypeSortOrderRequest {
24113
+ /**
24114
+ * Id of ticket type
24115
+ */
24116
+ ticketTypeId: number;
24117
+ /**
24118
+ * Indicates the sort order for this ticket type. 1 is first. Any records following this one will be renumbered automatically
24119
+ */
24120
+ sortOrder: number;
24121
+ }
24122
+
24123
+ // Void response...
24124
+
23609
24125
 
23610
24126
  /**
23611
24127
  * Get all TicketTypes
23612
- * Returns TicketType[]
24128
+ * Returns TicketTypeEntity[]
23613
24129
  */
23614
24130
  export interface List_GetTicketTypesRequest {
23615
24131
  }
23616
24132
 
23617
- // response object: TicketType[]
24133
+ // response object: TicketTypeEntity[]
23618
24134
 
23619
24135
 
23620
24136
  /**
@@ -23728,6 +24244,11 @@ export interface WebPanelEntity extends Carrier {
23728
24244
  */
23729
24245
  alwaysReloadOnShow?: boolean;
23730
24246
 
24247
+ /**
24248
+ * If set to true, the content will not reload on current changes, only applies to sidepanels
24249
+ */
24250
+ neverReloadOnCurrentChange?: boolean;
24251
+
23731
24252
  }
23732
24253
 
23733
24254
 
@@ -23876,7 +24397,6 @@ export interface List_GetWebPanelByProgIdRequest {
23876
24397
 
23877
24398
 
23878
24399
 
23879
-
23880
24400
 
23881
24401
 
23882
24402
  /**
@@ -24252,35 +24772,6 @@ export interface BLOB_GetQuoteLineImageRequest {
24252
24772
 
24253
24773
  // response object: Blob
24254
24774
 
24255
- /**
24256
- * Get a CLOB (limited to a reasonable size by the mechanics of Web Services) according to a string key; ALSO limits to the current ApplicationToken if any
24257
- * Returns string
24258
- */
24259
- export interface BLOB_GetAppDataRequest {
24260
- /**
24261
- * The key string, less than 200 characters. Must be unique within each application.
24262
- */
24263
- key: string;
24264
- }
24265
-
24266
- // response object: string
24267
-
24268
- /**
24269
- * Get a CLOB (limited to a reasonable size by the mechanics of Web Services) according to a string key; ALSO limits to the current ApplicationToken if any. Existing data, if any, will be overwritten. Overwrite with a blank value to delete.
24270
- */
24271
- export interface BLOB_SetAppDataRequest {
24272
- /**
24273
- * The key string, less than 200 characters. Must be unique within each application.
24274
- */
24275
- key: string;
24276
- /**
24277
- * The applications value, suggested to be a JSON, XML or other readable structure
24278
- */
24279
- data: string;
24280
- }
24281
-
24282
- // Void response...
24283
-
24284
24775
  /**
24285
24776
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
24286
24777
  * Returns Blob
@@ -24574,7 +25065,7 @@ export interface MDO_GetListWithRestrictionRequest {
24574
25065
  */
24575
25066
  export interface MDO_GetSimpleListRequest {
24576
25067
  /**
24577
- * Conceptual name of the MDO list-
25068
+ * Conceptual name of the MDO list.
24578
25069
  */
24579
25070
  name: string;
24580
25071
  }
@@ -24928,8 +25419,6 @@ export interface SelectableMDOListItem extends Carrier {
24928
25419
 
24929
25420
 
24930
25421
 
24931
-
24932
-
24933
25422
 
24934
25423
 
24935
25424
 
@@ -25117,6 +25606,22 @@ export interface Configuration_GetRecipeAppliesToMappingsRequest {
25117
25606
 
25118
25607
  // response object: StringDictionary
25119
25608
 
25609
+ /**
25610
+ * Flush and rebuild CustomObjectArchivePanel deltas.
25611
+ */
25612
+ export interface Configuration_RebuildCustomObjectArchivePanelDeltasRequest {
25613
+ }
25614
+
25615
+ // Void response...
25616
+
25617
+ /**
25618
+ * Flush and rebuild TaskMenu deltas.
25619
+ */
25620
+ export interface Configuration_RebuildTaskMenuDeltasRequest {
25621
+ }
25622
+
25623
+ // Void response...
25624
+
25120
25625
 
25121
25626
  /**
25122
25627
  * This service supports fetching of client interface configuration data. Client configuration data include Application configuration, which defines how an application is composed out of pages; and page configuration that defines how a page is built out of panels, cards, views and controls. <para/> Separate access points also exist for fetching object mappings and filter lists.
@@ -25924,6 +26429,27 @@ export interface ViewState_DeleteHistoryRequest {
25924
26429
 
25925
26430
  // Void response...
25926
26431
 
26432
+ /**
26433
+ * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
26434
+ * Returns number
26435
+ */
26436
+ export interface ViewState_GetHistoryLengthPrefValueRequest {
26437
+ }
26438
+
26439
+ // response object: number
26440
+
26441
+ /**
26442
+ * Set the logged on user's preferred history list length.
26443
+ */
26444
+ export interface ViewState_SetHistoryLengthPrefValueRequest {
26445
+ /**
26446
+ * The new history list lenght
26447
+ */
26448
+ length: number;
26449
+ }
26450
+
26451
+ // Void response...
26452
+
25927
26453
 
25928
26454
  /**
25929
26455
  * Returns all history items that belong to the currently logged in user
@@ -25977,27 +26503,6 @@ export interface ViewState_SaveHistoriesRequest {
25977
26503
 
25978
26504
  // response object: History[]
25979
26505
 
25980
- /**
25981
- * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
25982
- * Returns number
25983
- */
25984
- export interface ViewState_GetHistoryLengthPrefValueRequest {
25985
- }
25986
-
25987
- // response object: number
25988
-
25989
- /**
25990
- * Set the logged on user's preferred history list length.
25991
- */
25992
- export interface ViewState_SetHistoryLengthPrefValueRequest {
25993
- /**
25994
- * The new history list lenght
25995
- */
25996
- length: number;
25997
- }
25998
-
25999
- // Void response...
26000
-
26001
26506
  /**
26002
26507
  * Saves the history elements as the current value for their respective lists. If more than one item is submitted for the same list, they are added sequently, meaning that the last one is the most current.
26003
26508
  * Returns History[]
@@ -26348,6 +26853,43 @@ export interface Diagnostics_GetCacheStateRequest {
26348
26853
  // response object: string
26349
26854
 
26350
26855
 
26856
+ /**
26857
+ *
26858
+ */
26859
+ export interface CacheInvalidation {
26860
+
26861
+
26862
+ /**
26863
+ * The (unique!) name of the cache, which is often, but not always, the same as a physical table name
26864
+ */
26865
+ name?: string;
26866
+
26867
+ /**
26868
+ * The 'generation number', starts at 1 and goes up for every registered change
26869
+ */
26870
+ generation?: number;
26871
+
26872
+ }
26873
+
26874
+
26875
+
26876
+
26877
+
26878
+
26879
+ /**
26880
+ * Get generation for provided names
26881
+ * Returns CacheInvalidation[]
26882
+ */
26883
+ export interface Diagnostics_GetCacheInvalidationGenerationsRequest {
26884
+ /**
26885
+ * Name of caches
26886
+ */
26887
+ names: string[];
26888
+ }
26889
+
26890
+ // response object: CacheInvalidation[]
26891
+
26892
+
26351
26893
  /**
26352
26894
  *
26353
26895
  */
@@ -26510,6 +27052,141 @@ export interface Diagnostics_ResyncUsersRequest {
26510
27052
  // Void response...
26511
27053
 
26512
27054
 
27055
+ /**
27056
+ * System Message to be displayed to a user
27057
+ */
27058
+ export interface SystemMessage extends Carrier {
27059
+
27060
+
27061
+ /**
27062
+ * Primary key
27063
+ */
27064
+ messageId?: number;
27065
+
27066
+ /**
27067
+ * The associate that is the target of this message
27068
+ */
27069
+ associateId?: number;
27070
+
27071
+ /**
27072
+ * The online app that owns this message
27073
+ */
27074
+ onlineappId?: number;
27075
+
27076
+ /**
27077
+ * Message identifier, used for message update or removal
27078
+ */
27079
+ systemMessageId?: string;
27080
+
27081
+ /**
27082
+ * Markdown message to be displayed to user
27083
+ */
27084
+ markdownMessage?: string;
27085
+
27086
+ /**
27087
+ * The date and time the message expires
27088
+ */
27089
+ expire?: Date;
27090
+
27091
+ /**
27092
+ * Type of message, example: info, warning, error
27093
+ */
27094
+ type?: enums.SystemMessageType;
27095
+
27096
+ }
27097
+
27098
+
27099
+
27100
+
27101
+
27102
+
27103
+
27104
+ /**
27105
+ * Adds a system message for a specific associate.
27106
+ */
27107
+ export interface Diagnostics_SendSystemMessageRequest {
27108
+ /**
27109
+ * The message string id
27110
+ */
27111
+ systemMessageId: string;
27112
+ /**
27113
+ * The associateId of the message target.
27114
+ */
27115
+ associateId: number;
27116
+ /**
27117
+ * Markdown message to be displayed to the user
27118
+ */
27119
+ markdownMessage: string;
27120
+ /**
27121
+ * When the message will no longer be available
27122
+ */
27123
+ expire: Date;
27124
+ /**
27125
+ * Type of message, example: info, warning, error
27126
+ */
27127
+ type: enums.SystemMessageType;
27128
+ }
27129
+
27130
+ // Void response...
27131
+
27132
+ /**
27133
+ * Removes a system message for current associate
27134
+ */
27135
+ export interface Diagnostics_RemoveSystemMessageRequest {
27136
+ /**
27137
+ * Id of the online app that owns this message
27138
+ */
27139
+ onlineappId: number;
27140
+ /**
27141
+ * Message identifier, used for message removal
27142
+ */
27143
+ systemMessageId: string;
27144
+ }
27145
+
27146
+ // Void response...
27147
+
27148
+ /**
27149
+ * Removes a system message for specific associate.
27150
+ */
27151
+ export interface Diagnostics_RemoveSystemMessageForAssociateRequest {
27152
+ /**
27153
+ * Id of the online app that owns this message
27154
+ */
27155
+ onlineappId: number;
27156
+ /**
27157
+ * Message identifier, used for message update or removal
27158
+ */
27159
+ systemMessageId: string;
27160
+ /**
27161
+ * The associateId of the message target.
27162
+ */
27163
+ associateId: number;
27164
+ }
27165
+
27166
+ // Void response...
27167
+
27168
+ /**
27169
+ * Retrieves a list of system messages for a specific associate.
27170
+ * Returns SystemMessage[]
27171
+ */
27172
+ export interface Diagnostics_GetSystemMessagesRequest {
27173
+ /**
27174
+ * The associateId of the message target.
27175
+ */
27176
+ associateId: number;
27177
+ }
27178
+
27179
+ // response object: SystemMessage[]
27180
+
27181
+ /**
27182
+ * Deletes expired system messages.
27183
+ */
27184
+ export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
27185
+ }
27186
+
27187
+ // Void response...
27188
+
27189
+
26513
27190
  /**
26514
27191
  * Operations related to installation, upgrade and maintenance
26515
27192
  */
@@ -26532,6 +27209,18 @@ export interface Diagnostics_PerformTasksAfterUpgradeRequest {
26532
27209
 
26533
27210
  // response object: string
26534
27211
 
27212
+ /**
27213
+ * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
27214
+ */
27215
+ export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
27216
+ /**
27217
+ * Name of DB table of the custom object that was deleted. E.g., 'y_car'
27218
+ */
27219
+ tableName: string;
27220
+ }
27221
+
27222
+ // Void response...
27223
+
26535
27224
 
26536
27225
  /**
26537
27226
  *
@@ -26640,6 +27329,8 @@ export interface Diagnostics_GetWebAppUsagesForPeriodRequest {
26640
27329
 
26641
27330
 
26642
27331
 
27332
+
27333
+
26643
27334
  /**
26644
27335
  * 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
27336
  */
@@ -26694,194 +27385,6 @@ export interface Previews_GetPreviewRequest {
26694
27385
  // response object: string
26695
27386
 
26696
27387
 
26697
- /**
26698
- * Settings specifying what selection to perform the mailmerge on, what merge document to use etc.
26699
- */
26700
- export interface MailMergeSettings extends Carrier {
26701
-
26702
-
26703
- /**
26704
- * Identity of selection to use as source for recipients.
26705
- */
26706
- selectionId?: number;
26707
-
26708
- /**
26709
- * Identity of document to be used as merge draft.
26710
- */
26711
- documentId?: number;
26712
-
26713
- /**
26714
- * How the merged document is delivered to the recipients.
26715
- */
26716
- mailMergeDeliveryType?: enums.EMailMergeTargetType;
26717
-
26718
- /**
26719
- * Custom value for attention.
26720
- */
26721
- customAttention?: string;
26722
-
26723
- /**
26724
- * Should custom attention always be used? If false, only use custom attention where there is no default.
26725
- */
26726
- alwaysUseCustomAttention?: boolean;
26727
-
26728
- /**
26729
- * Should we save a reference to the merge document on each recipient.
26730
- */
26731
- saveDocument?: boolean;
26732
-
26733
- /**
26734
- * If specified, use this value as default mail body.
26735
- */
26736
- customMailBody?: string;
26737
-
26738
- /**
26739
- * If specified, register a task on recipients using properties from this object.
26740
- */
26741
- taskEntity?: MailMergeTask;
26742
-
26743
- /**
26744
- * Add this company interest to each company recipient.
26745
- */
26746
- addCompanyInterest?: number;
26747
-
26748
- /**
26749
- * Add this person interest to each person recipient.
26750
- */
26751
- addPersonInterest?: number;
26752
-
26753
- /**
26754
- * Remove this company interest on each company recipient.
26755
- */
26756
- removeCompanyInterest?: number;
26757
-
26758
- /**
26759
- * Remove this person interest on each person recipient.
26760
- */
26761
- removePersonInterest?: number;
26762
-
26763
- /**
26764
- * Include recipients that are marked with NoMailings
26765
- */
26766
- includeNoMailingsRecipient?: boolean;
26767
-
26768
- /**
26769
- * If true, do the merge task, but use current user as target, instead of selection members
26770
- */
26771
- testOnly?: boolean;
26772
-
26773
- /**
26774
- * Identity of project to use as source for recipients.
26775
- */
26776
- projectId?: number;
26777
-
26778
- /**
26779
- * Include recipients that are marked as retired
26780
- */
26781
- includeRetiredRecipients?: boolean;
26782
-
26783
- /**
26784
- * Include recipients that are marked with stop
26785
- */
26786
- includeStoppedRecipients?: boolean;
26787
-
26788
- /**
26789
- * If specified, use this value as default mail subject.
26790
- */
26791
- customMailSubject?: string;
26792
-
26793
- /**
26794
- * Used to store additional information for the delivery systems.
26795
- */
26796
- extraInfo?: string;
26797
-
26798
- /**
26799
- *
26800
- */
26801
- synchronous?: boolean;
26802
-
26803
- /**
26804
- * If true, the selection is a temporary selection that can be deleted later.
26805
- */
26806
- isTemporarySelection?: boolean;
26807
-
26808
- }
26809
-
26810
-
26811
-
26812
-
26813
-
26814
-
26815
-
26816
- /**
26817
- * Properties describing a task to create on recipients of a mail merge
26818
- */
26819
- export interface MailMergeTask extends Carrier {
26820
-
26821
-
26822
- /**
26823
- * Project identity to set on task
26824
- */
26825
- projectId?: number;
26826
-
26827
- /**
26828
- * Type identity to set on task
26829
- */
26830
- typeId?: number;
26831
-
26832
- /**
26833
- * When the task should start
26834
- */
26835
- startDate?: Date;
26836
-
26837
- /**
26838
- * Duration of task
26839
- */
26840
- duration?: number;
26841
-
26842
- /**
26843
- * Text describing task
26844
- */
26845
- description?: string;
26846
-
26847
- /**
26848
- * Priority of task
26849
- */
26850
- priorityId?: number;
26851
-
26852
- /**
26853
- * Who the task should be visible for
26854
- */
26855
- visibleFor?: VisibleFor;
26856
-
26857
- /**
26858
- * Completed status for task
26859
- */
26860
- completed?: enums.ActivityStatus;
26861
-
26862
- /**
26863
- * Associate identity of who should be set as owner of the task. If value is 0, the recipient owner(our contact) will be used.
26864
- */
26865
- ownerAssociateId?: number;
26866
-
26867
- /**
26868
- * Should we only create one task on each company? If false, separate tasks will be created for all persons from the same company.
26869
- */
26870
- singleEntryOnEachCompany?: boolean;
26871
-
26872
- /**
26873
- * Sale identity to set on task
26874
- */
26875
- saleId?: number;
26876
-
26877
- }
26878
-
26879
-
26880
-
26881
-
26882
-
26883
-
26884
-
26885
27388
  /**
26886
27389
  *
26887
27390
  */
@@ -27153,19 +27656,6 @@ export interface Selection_CreateTemporaryContactSelectionFromContactPersonIdsRe
27153
27656
 
27154
27657
  // response object: SelectionEntity
27155
27658
 
27156
- /**
27157
- * Creates a temporary selection with members from an existing project.
27158
- * Returns SelectionEntity
27159
- */
27160
- export interface Selection_CreateTemporaryContactSelectionFromProjectMembersRequest {
27161
- /**
27162
- * The id of the project to add members from.
27163
- */
27164
- projectId: number;
27165
- }
27166
-
27167
- // response object: SelectionEntity
27168
-
27169
27659
  /**
27170
27660
  * Copy contact selection members from selection into an existing selection.
27171
27661
  */
@@ -27447,18 +27937,6 @@ export interface Selection_ExportSelectionMembersWithOrderByRequest {
27447
27937
 
27448
27938
  // response object: number[]
27449
27939
 
27450
- /**
27451
- * Start a mailmerge operation with specified settings.
27452
- */
27453
- export interface Selection_StartMailMergeRequest {
27454
- /**
27455
- * All settings needed to perform the mailmerge operation.
27456
- */
27457
- settings: MailMergeSettings;
27458
- }
27459
-
27460
- // Void response...
27461
-
27462
27940
  /**
27463
27941
  * Set which duplicate rules should be active or not
27464
27942
  */
@@ -27845,6 +28323,18 @@ export interface Selection_SetDynamicSelectionCriteriaGroupsRequest {
27845
28323
 
27846
28324
  // response object: ArchiveRestrictionGroup[]
27847
28325
 
28326
+ /**
28327
+ * Deletes the SelectionEntity
28328
+ */
28329
+ export interface Selection_DeleteSelectionEntityRequest {
28330
+ /**
28331
+ * The identity of the SelectionEntity
28332
+ */
28333
+ selectionEntityId: number;
28334
+ }
28335
+
28336
+ // Void response...
28337
+
27848
28338
 
27849
28339
  /**
27850
28340
  * Provider name and selection id for a Find temporary selection
@@ -28177,6 +28667,16 @@ export interface EMailAccount extends Carrier {
28177
28667
  */
28178
28668
  sentFolder?: string;
28179
28669
 
28670
+ /**
28671
+ * Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
28672
+ */
28673
+ simpleMode?: number;
28674
+
28675
+ /**
28676
+ * When we last fetched email
28677
+ */
28678
+ lastFetch?: Date;
28679
+
28180
28680
  }
28181
28681
 
28182
28682
 
@@ -29619,6 +30119,44 @@ export interface EMail_SaveEmailToTmpDocumentRequest {
29619
30119
 
29620
30120
  // response object: string
29621
30121
 
30122
+ /**
30123
+ * Save the Email from the server as a document file connected to existing document
30124
+ * Returns DocumentEntity
30125
+ */
30126
+ export interface EMail_CreateNewPhysicalDocumentFromEmailAttachmentRequest {
30127
+ /**
30128
+ * The document ID int the DB
30129
+ */
30130
+ documentId: number;
30131
+ /**
30132
+ * The emails ID int the DB
30133
+ */
30134
+ emailItemId: number;
30135
+ /**
30136
+ * Id string of the attachment
30137
+ */
30138
+ attachmentId: string;
30139
+ }
30140
+
30141
+ // response object: DocumentEntity
30142
+
30143
+ /**
30144
+ * Save the Email from the server as a document file connected to existing document
30145
+ * Returns DocumentEntity
30146
+ */
30147
+ export interface EMail_CreateNewPhysicalDocumentFromEmailRequest {
30148
+ /**
30149
+ * The document ID int the DB
30150
+ */
30151
+ documentId: number;
30152
+ /**
30153
+ * The emails ID in the DB
30154
+ */
30155
+ emailItemId: number;
30156
+ }
30157
+
30158
+ // response object: DocumentEntity
30159
+
29622
30160
  /**
29623
30161
  * Save the Email entity to the drafts folder
29624
30162
  * Returns EMailEntity
@@ -30092,7 +30630,7 @@ export interface SyncUserAccount extends Carrier {
30092
30630
 
30093
30631
 
30094
30632
  /**
30095
- * Gets the list of SyncUserAccounts that should be synced.
30633
+ * Gets the list of SyncUserAccounts that should be synced, from mail server to SuperOffice database cache.
30096
30634
  * Returns SyncUserAccount[]
30097
30635
  */
30098
30636
  export interface EMail_GetReadySyncEmailAccountsRequest {
@@ -30101,7 +30639,7 @@ export interface EMail_GetReadySyncEmailAccountsRequest {
30101
30639
  // response object: SyncUserAccount[]
30102
30640
 
30103
30641
  /**
30104
- * Sync the given account
30642
+ * Sync the given account, from mail server to SuperOffice database cache. This API has no throttling, so please be careful with multiple concurrent calls. Mail servers may become angry.
30105
30643
  */
30106
30644
  export interface EMail_SyncEmailAccountRequest {
30107
30645
  /**
@@ -30113,7 +30651,7 @@ export interface EMail_SyncEmailAccountRequest {
30113
30651
  // Void response...
30114
30652
 
30115
30653
  /**
30116
- * Start syncing of the given accounts
30654
+ * Start syncing of the given accounts, from mail server to SuperOffice database cache. Only one of these API calls may run at a time. If one is already active, we return after 1 (one) second, with no indication that the sync was not really started. This is a way to throttle sync'ing to avoid making the mail servers angry at us. <br/> There is an <b>additional</b> level of throttling within the implementation as well, limiting us to a maximum of 10 tasks, regardless of how many associates are to to be sync'ed. The outer, API-level lock is released when all those tasks are done.
30117
30655
  */
30118
30656
  export interface EMail_SyncEmailAccountsRequest {
30119
30657
  /**
@@ -31439,6 +31977,19 @@ export interface Sentry_CanCreateAppointmentInAssociateDiariesRequest {
31439
31977
 
31440
31978
  // response object: boolean
31441
31979
 
31980
+ /**
31981
+ * 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.
31982
+ * Returns boolean[]
31983
+ */
31984
+ export interface Sentry_CanCreateAppointmentInEachAssociatesDiaryRequest {
31985
+ /**
31986
+ * Array of associate ids to check.
31987
+ */
31988
+ associateIds: number[];
31989
+ }
31990
+
31991
+ // response object: boolean[]
31992
+
31442
31993
  /**
31443
31994
  * 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
31995
  * Returns boolean
@@ -31495,7 +32046,6 @@ export interface VisibleFor extends Carrier {
31495
32046
 
31496
32047
 
31497
32048
 
31498
-
31499
32049
  /**
31500
32050
  * Abstract basic information about database fields. May be custom or user-defined fields. The information can be used to build a user interface.
31501
32051
  */
@@ -31557,6 +32107,11 @@ export interface FieldInfoBase {
31557
32107
  */
31558
32108
  isExternal?: boolean;
31559
32109
 
32110
+ /**
32111
+ * Flag indicating that this field is chosen as DisplayField for a table it belongs
32112
+ */
32113
+ isDisplayField?: boolean;
32114
+
31560
32115
  /**
31561
32116
  * Tab order, ranking within the custom fields.
31562
32117
  */
@@ -32595,165 +33150,6 @@ export interface UserDefinedFieldInfo_ClearCachesRequest {
32595
33150
 
32596
33151
 
32597
33152
 
32598
- /**
32599
- *
32600
- */
32601
- export interface ReportEntity extends Carrier {
32602
-
32603
-
32604
- /**
32605
- * The id of the report.
32606
- */
32607
- reportId?: number;
32608
-
32609
- /**
32610
- * The category of the report.
32611
- */
32612
- reportCategory?: enums.ReportCategory;
32613
-
32614
- /**
32615
- * The description of the report.
32616
- */
32617
- description?: string;
32618
-
32619
- /**
32620
- * The layout of the report.
32621
- */
32622
- reportLayout?: enums.ReportLayout;
32623
-
32624
- /**
32625
- * The name of the report
32626
- */
32627
- name?: string;
32628
-
32629
- /**
32630
- * The owner of the report.
32631
- */
32632
- associateId?: number;
32633
-
32634
- /**
32635
- * The id of report template.
32636
- */
32637
- templateId?: number;
32638
-
32639
- /**
32640
- * Is the report published?
32641
- */
32642
- published?: boolean;
32643
-
32644
- }
32645
-
32646
-
32647
-
32648
-
32649
-
32650
-
32651
- /**
32652
- * Creates the report as favorite. The sourceId is the key to the report that the favorite is based on.
32653
- * Returns ReportEntity
32654
- */
32655
- export interface Report_CreateFavoriteRequest {
32656
- /**
32657
- * The primary key to the report to make the favorite from.
32658
- */
32659
- sourceId: number;
32660
- /**
32661
- * The name of the new favorite.
32662
- */
32663
- name: string;
32664
- /**
32665
- * The description of the new favorite.
32666
- */
32667
- description: string;
32668
- }
32669
-
32670
- // response object: ReportEntity
32671
-
32672
- /**
32673
- * Deletes the report favorite.
32674
- */
32675
- export interface Report_DeleteFavoriteRequest {
32676
- /**
32677
- * The id of the report favorite to delete.
32678
- */
32679
- reportEntityId: number;
32680
- }
32681
-
32682
- // Void response...
32683
-
32684
- /**
32685
- * Updates the favorite.
32686
- * Returns ReportEntity
32687
- */
32688
- export interface Report_UpdateFavoriteRequest {
32689
- /**
32690
- * ReportEntity carrier containg updated data.
32691
- */
32692
- reportEntity: ReportEntity;
32693
- }
32694
-
32695
- // response object: ReportEntity
32696
-
32697
- /**
32698
- * Generates the report in PDF format
32699
- * Returns string
32700
- */
32701
- export interface Report_GenerateReportRequest {
32702
- /**
32703
- * The id of the report.
32704
- */
32705
- reportId: number;
32706
- /**
32707
- * The id of the labellayout. Use 0 if the report isn't of type label.
32708
- */
32709
- labelLayoutId: number;
32710
- /**
32711
- * Filename of the report.
32712
- */
32713
- filename: string;
32714
- /**
32715
- * Language to use when generating the report.
32716
- */
32717
- language: string;
32718
- /**
32719
- *
32720
- */
32721
- fileType: string;
32722
- /**
32723
- * Use restrictions to provide additional restrictions when generating the report.
32724
- */
32725
- restrictions: ArchiveRestrictionInfo[];
32726
- }
32727
-
32728
- // response object: string
32729
-
32730
- /**
32731
- * Takes the input stream and create a report. This stream must be on a valid xml format
32732
- * Returns number
32733
- */
32734
- export interface Report_ImportReportRequest {
32735
- /**
32736
- * The report to import in a correct xml format
32737
- */
32738
- report: string;
32739
- }
32740
-
32741
- // response object: number
32742
-
32743
- /**
32744
- * Delete the report with the given id
32745
- * Returns boolean
32746
- */
32747
- export interface Report_DeleteReportRequest {
32748
- /**
32749
- * The id of the report to delete
32750
- */
32751
- reportId: number;
32752
- }
32753
-
32754
- // response object: boolean
32755
-
32756
-
32757
33153
  /**
32758
33154
  *
32759
33155
  */
@@ -34940,421 +35336,6 @@ export interface Archive_GetRelatedData2Request {
34940
35336
 
34941
35337
 
34942
35338
 
34943
-
34944
-
34945
-
34946
-
34947
-
34948
- /**
34949
- * An Audience configuration parameter, used for handling Audience application or Web part settings.
34950
- */
34951
- export interface AudienceConfigParameter extends Carrier {
34952
-
34953
-
34954
- /**
34955
- * The id of the Audience layout this configuration setting belongs to
34956
- */
34957
- audienceLayoutId?: number;
34958
-
34959
- /**
34960
- * The name of the configuration parameter
34961
- */
34962
- name?: string;
34963
-
34964
- /**
34965
- * The value of the configuration parameter
34966
- */
34967
- value?: string;
34968
-
34969
- /**
34970
- * The date and time the configuration parameter was created
34971
- */
34972
- createdDate?: Date;
34973
-
34974
- /**
34975
- * The date and time the configuration parameter was last updated
34976
- */
34977
- updatedDate?: Date;
34978
-
34979
- /**
34980
- * Name of the person that created the configuration parameter
34981
- */
34982
- createdBy?: string;
34983
-
34984
- /**
34985
- * Name of the person that last updated the configuration parameter
34986
- */
34987
- updatedBy?: string;
34988
-
34989
- }
34990
-
34991
-
34992
-
34993
-
34994
-
34995
-
34996
- /**
34997
- * Saves an Audience configuration parameter belonging to a Audience layout
34998
- * Returns AudienceConfigParameter
34999
- */
35000
- export interface Audience_SaveConfigParameterRequest {
35001
- /**
35002
- * Name of the Audience layout instance
35003
- */
35004
- layoutName: string;
35005
- /**
35006
- * The Audience configuration parameter to save.
35007
- */
35008
- configParameter: AudienceConfigParameter;
35009
- }
35010
-
35011
- // response object: AudienceConfigParameter
35012
-
35013
- /**
35014
- * Gets the string value of an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
35015
- * Returns string
35016
- */
35017
- export interface Audience_GetConfigParameterValueRequest {
35018
- /**
35019
- * Name of the Audience layout instance
35020
- */
35021
- layoutName: string;
35022
- /**
35023
- * The name of the Audience configuration parameter
35024
- */
35025
- parameterName: string;
35026
- }
35027
-
35028
- // response object: string
35029
-
35030
- /**
35031
- * Gets an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
35032
- * Returns AudienceConfigParameter
35033
- */
35034
- export interface Audience_GetConfigParameterRequest {
35035
- /**
35036
- * Name of the Audience layout instance
35037
- */
35038
- layoutName: string;
35039
- /**
35040
- * The name of the Audience configuration parameter
35041
- */
35042
- parameterName: string;
35043
- }
35044
-
35045
- // response object: AudienceConfigParameter
35046
-
35047
- /**
35048
- * Deletes an Audience configuration parameter belonging to a Audience layout
35049
- */
35050
- export interface Audience_DeleteConfigParameterRequest {
35051
- /**
35052
- * Name of the Audience layout instance
35053
- */
35054
- layoutName: string;
35055
- /**
35056
- * The name of the Audience configuration parameter
35057
- */
35058
- parameterName: string;
35059
- }
35060
-
35061
- // Void response...
35062
-
35063
- /**
35064
- * Gets an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
35065
- * Returns AudienceConfigParameter
35066
- */
35067
- export interface Audience_GetMyConfigParameterRequest {
35068
- /**
35069
- * The name of the Audience configuration parameter
35070
- */
35071
- parameterName: string;
35072
- }
35073
-
35074
- // response object: AudienceConfigParameter
35075
-
35076
- /**
35077
- * Gets the string value of an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
35078
- * Returns string
35079
- */
35080
- export interface Audience_GetMyConfigParameterValueRequest {
35081
- /**
35082
- * The name of the Audience configuration parameter
35083
- */
35084
- parameterName: string;
35085
- }
35086
-
35087
- // response object: string
35088
-
35089
- /**
35090
- * Gets the string value of an Audience configuration parameter with the specified configuration parameter name on the person specified
35091
- * Returns string
35092
- */
35093
- export interface Audience_GetConfigParameterValueOnPersonRequest {
35094
- /**
35095
- * The name of the Audience configuration parameter
35096
- */
35097
- parameterName: string;
35098
- /**
35099
- * Id of the person the parameter belongs to
35100
- */
35101
- personId: number;
35102
- }
35103
-
35104
- // response object: string
35105
-
35106
- /**
35107
- * Gets an Audience configuration parameter with the specified configuration parameter name on the person specified
35108
- * Returns AudienceConfigParameter
35109
- */
35110
- export interface Audience_GetConfigParameterOnPersonRequest {
35111
- /**
35112
- * The name of the Audience configuration parameter
35113
- */
35114
- parameterName: string;
35115
- /**
35116
- * Id of the person the parameter belongs to
35117
- */
35118
- personId: number;
35119
- }
35120
-
35121
- // response object: AudienceConfigParameter
35122
-
35123
-
35124
- /**
35125
- * Gets the Audience configuration parameters belonging to a given Audience layout.
35126
- * Returns AudienceConfigParameter[]
35127
- */
35128
- export interface Audience_GetConfigParametersByLayoutNameRequest {
35129
- /**
35130
- * Name of the Audience layout instance
35131
- */
35132
- layoutName: string;
35133
- }
35134
-
35135
- // response object: AudienceConfigParameter[]
35136
-
35137
- /**
35138
- * Gets the Audience configuration parameters belonging to the currently logged on user.
35139
- * Returns AudienceConfigParameter[]
35140
- */
35141
- export interface Audience_GetMyConfigParametersRequest {
35142
- }
35143
-
35144
- // response object: AudienceConfigParameter[]
35145
-
35146
- /**
35147
- * Gets the Audience configuration parameters belonging to the person specified
35148
- * Returns AudienceConfigParameter[]
35149
- */
35150
- export interface Audience_GetConfigParametersOnPersonRequest {
35151
- /**
35152
- * Id of the person the parameter belongs to
35153
- */
35154
- personId: number;
35155
- }
35156
-
35157
- // response object: AudienceConfigParameter[]
35158
-
35159
-
35160
- /**
35161
- * Audience layout. Each instance of Audience has at least one layout. The layout is connected to the instance by it's instance name or is linked to the currently logged on user. The web part layout and the Audience configuration parameters belongs to an Audience layout
35162
- */
35163
- export interface AudienceLayoutEntity extends Carrier {
35164
-
35165
-
35166
- /**
35167
- * The Id of the Audience layout
35168
- */
35169
- audienceLayoutId?: number;
35170
-
35171
- /**
35172
- * The web part layout as a serialized string
35173
- */
35174
- instanceLayout?: string;
35175
-
35176
- /**
35177
- * Name of the layout instance
35178
- */
35179
- instanceName?: string;
35180
-
35181
- /**
35182
- * The date and time the Audience layout was created
35183
- */
35184
- createdDate?: Date;
35185
-
35186
- /**
35187
- * The date and time the Audience layout was last updated
35188
- */
35189
- updatedDate?: Date;
35190
-
35191
- /**
35192
- * Name of the person that created the Audience layout
35193
- */
35194
- createdBy?: Associate;
35195
-
35196
- /**
35197
- * Name of the person that last updated the Audience layout
35198
- */
35199
- updatedBy?: Associate;
35200
-
35201
- }
35202
-
35203
-
35204
-
35205
-
35206
-
35207
-
35208
- /**
35209
- * Gets an Audience layout by it's instance name
35210
- * Returns AudienceLayoutEntity
35211
- */
35212
- export interface Audience_GetAudienceLayoutByNameRequest {
35213
- /**
35214
- * Name of the Audience layout instance
35215
- */
35216
- layoutName: string;
35217
- }
35218
-
35219
- // response object: AudienceLayoutEntity
35220
-
35221
- /**
35222
- * Gets the Audience layout belonging to the currently logged on user.
35223
- * Returns AudienceLayoutEntity
35224
- */
35225
- export interface Audience_GetMyAudienceLayoutRequest {
35226
- }
35227
-
35228
- // response object: AudienceLayoutEntity
35229
-
35230
- /**
35231
- * Gets the Audience layout belonging to the person specified.
35232
- * Returns AudienceLayoutEntity
35233
- */
35234
- export interface Audience_GetAudienceLayoutOnPersonRequest {
35235
- /**
35236
- * The person id
35237
- */
35238
- personId: number;
35239
- }
35240
-
35241
- // response object: AudienceLayoutEntity
35242
-
35243
- /**
35244
- * Returns the default project or event image that is displayed in Audience when no project/event image is found. The image belongs to a specific Audience layout instance.
35245
- * Returns Blob
35246
- */
35247
- export interface Audience_GetDefaultProjectImageRequest {
35248
- /**
35249
- * Name of the Audience layout instance
35250
- */
35251
- layoutName: string;
35252
- }
35253
-
35254
- // response object: Blob
35255
-
35256
- /**
35257
- * Stores the default project or event image that is displayed in Audience when no project/event image is found. The image is set on a specific Audience layout instance.
35258
- */
35259
- export interface Audience_SetDefaultProjectImageRequest {
35260
- /**
35261
- * Name of the Audience layout instance
35262
- */
35263
- layoutName: string;
35264
- /**
35265
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
35266
- */
35267
- image: ArrayBuffer | string;
35268
- }
35269
-
35270
- // Void response...
35271
-
35272
- /**
35273
- * Stores the default person (sales rep) image that is displayed in Audience when no person image is found. The image is set on a specific Audience layout instance.
35274
- */
35275
- export interface Audience_SetDefaultPersonImageRequest {
35276
- /**
35277
- * Name of the Audience layout instance
35278
- */
35279
- layoutName: string;
35280
- /**
35281
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
35282
- */
35283
- image: ArrayBuffer | string;
35284
- }
35285
-
35286
- // Void response...
35287
-
35288
- /**
35289
- * Returns the default person (sales rep) image that is displayed in Audience when no person image is found. The image belongs to a specific Audience layout instance.
35290
- * Returns Blob
35291
- */
35292
- export interface Audience_GetDefaultPersonImageRequest {
35293
- /**
35294
- * Name of the Audience layout instance
35295
- */
35296
- layoutName: string;
35297
- }
35298
-
35299
- // response object: Blob
35300
-
35301
- /**
35302
- * Stores the default country flag image that is displayed in Audience when no person image is found. The image is set on a specific Audience layout instance.
35303
- */
35304
- export interface Audience_SetDefaultCountryFlagRequest {
35305
- /**
35306
- * Name of the Audience layout instance
35307
- */
35308
- layoutName: string;
35309
- /**
35310
- * The default country image to be stored for this Audience layout instance (System.Drawing.Image)
35311
- */
35312
- image: ArrayBuffer | string;
35313
- }
35314
-
35315
- // Void response...
35316
-
35317
- /**
35318
- * Returns the default country flag image that is displayed in Audience when no person image is found. The image belongs to a specific Audience layout instance.
35319
- * Returns Blob
35320
- */
35321
- export interface Audience_GetDefaultCountryFlagRequest {
35322
- /**
35323
- * Name of the Audience layout instance
35324
- */
35325
- layoutName: string;
35326
- }
35327
-
35328
- // response object: Blob
35329
-
35330
- /**
35331
- *
35332
- * Returns Blob
35333
- */
35334
- export interface Audience_GetLogoImageRequest {
35335
- /**
35336
- *
35337
- */
35338
- layoutName: string;
35339
- }
35340
-
35341
- // response object: Blob
35342
-
35343
- /**
35344
- *
35345
- */
35346
- export interface Audience_SetLogoImageRequest {
35347
- /**
35348
- *
35349
- */
35350
- layoutName: string;
35351
- /**
35352
- *
35353
- */
35354
- image: ArrayBuffer | string;
35355
- }
35356
-
35357
- // Void response...
35358
35339
 
35359
35340
 
35360
35341
 
@@ -36065,6 +36046,7 @@ export interface TabOrder extends Carrier {
36065
36046
 
36066
36047
 
36067
36048
 
36049
+
36068
36050
 
36069
36051
 
36070
36052
  /**
@@ -36298,6 +36280,19 @@ export interface License_GetLicenseFromDBRequest {
36298
36280
 
36299
36281
  // response object: ExtendedLicenseInfo
36300
36282
 
36283
+ /**
36284
+ * Get status values for user licenses and installation license that can be used for feedback to the user.
36285
+ * Returns UserAndInstallationLicenceStatus
36286
+ */
36287
+ export interface License_GetUserAndInstallationLicenceStatusRequest {
36288
+ /**
36289
+ * Associate id to use when loading information about user licenses and installation license status.
36290
+ */
36291
+ associateId: number;
36292
+ }
36293
+
36294
+ // response object: UserAndInstallationLicenceStatus
36295
+
36301
36296
  /**
36302
36297
  * Change the new serial number for the installation. Requests a new license from SuperLicense, checks if change is authorized.
36303
36298
  * Returns LicenseResult
@@ -36478,6 +36473,28 @@ export interface License_UnassignThirdPartyLicensesRequest {
36478
36473
 
36479
36474
  // response object: ModuleLicenseLink[]
36480
36475
 
36476
+ /**
36477
+ *
36478
+ * Returns LicenseOwner[]
36479
+ */
36480
+ export interface License_GetCentralLicenseRequest {
36481
+ }
36482
+
36483
+ // response object: LicenseOwner[]
36484
+
36485
+ /**
36486
+ *
36487
+ * Returns LicenseOwner[]
36488
+ */
36489
+ export interface License_SaveCentralLicenseRequest {
36490
+ /**
36491
+ *
36492
+ */
36493
+ license: LicenseOwner[];
36494
+ }
36495
+
36496
+ // response object: LicenseOwner[]
36497
+
36481
36498
 
36482
36499
  /**
36483
36500
  * Represents all licenses for this owner at this site.
@@ -36855,6 +36872,50 @@ export interface SignedPublicKey {
36855
36872
 
36856
36873
 
36857
36874
 
36875
+ /**
36876
+ * Result of GetUserAndInstallationLicenceStatus
36877
+ */
36878
+ export interface UserAndInstallationLicenceStatus {
36879
+
36880
+
36881
+ /**
36882
+ * Installations license admin warning date
36883
+ */
36884
+ adminWarningDate?: Date;
36885
+
36886
+ /**
36887
+ * Installations license expiry date
36888
+ */
36889
+ expiryDate?: Date;
36890
+
36891
+ /**
36892
+ * Installations license grace date
36893
+ */
36894
+ graceDate?: Date;
36895
+
36896
+ /**
36897
+ * Database company name
36898
+ */
36899
+ companyName?: string;
36900
+
36901
+ /**
36902
+ * Database serial number
36903
+ */
36904
+ serialNr?: string;
36905
+
36906
+ /**
36907
+ * The users module licenses names
36908
+ */
36909
+ userLicenses?: string[];
36910
+
36911
+ }
36912
+
36913
+
36914
+
36915
+
36916
+
36917
+
36918
+
36858
36919
 
36859
36920
 
36860
36921
 
@@ -38989,143 +39050,6 @@ export interface UserValidationResult extends Carrier {
38989
39050
 
38990
39051
 
38991
39052
 
38992
- /**
38993
- *
38994
- */
38995
- export interface Area extends Carrier {
38996
-
38997
-
38998
- /**
38999
- * Primary key
39000
- */
39001
- areaId?: number;
39002
-
39003
- /**
39004
- * Area name
39005
- */
39006
- name?: string;
39007
-
39008
- /**
39009
- * Max age of data when generating db's based on this area
39010
- */
39011
- maxDataAge?: number;
39012
-
39013
- /**
39014
- *
39015
- */
39016
- numberOfUsers?: number;
39017
-
39018
- /**
39019
- *
39020
- */
39021
- numberOfLogins?: number;
39022
-
39023
- /**
39024
- *
39025
- */
39026
- freetextEnabeled?: boolean;
39027
-
39028
- }
39029
-
39030
-
39031
-
39032
-
39033
-
39034
-
39035
- /**
39036
- * Enable freetext search on this area
39037
- */
39038
- export interface Replication_SetFreetextSearchEnabledOnAreaRequest {
39039
- /**
39040
- * The id of the area
39041
- */
39042
- areaId: number;
39043
- /**
39044
- * True if freetextSearch on this area shall be enabled
39045
- */
39046
- freetextEnabled: boolean;
39047
- }
39048
-
39049
- // Void response...
39050
-
39051
-
39052
-
39053
- /**
39054
- *
39055
- */
39056
- export interface Satellite extends Carrier {
39057
-
39058
-
39059
- /**
39060
- * Primary key
39061
- */
39062
- satelliteId?: number;
39063
-
39064
- /**
39065
- * Registered when
39066
- */
39067
- created?: Date;
39068
-
39069
- /**
39070
- *
39071
- */
39072
- createdBy?: Associate;
39073
-
39074
- /**
39075
- * Last updated when
39076
- */
39077
- updated?: Date;
39078
-
39079
- /**
39080
- *
39081
- */
39082
- updatedBy?: Associate;
39083
-
39084
- /**
39085
- *
39086
- */
39087
- contact?: Contact;
39088
-
39089
- /**
39090
- *
39091
- */
39092
- area?: Area;
39093
-
39094
- /**
39095
- * The restricted and unrestricted module licenses grouped by license owner. These module licenses are either assigned or unassigned to this user
39096
- */
39097
- licenseOwners?: LicenseOwner[];
39098
-
39099
- }
39100
-
39101
-
39102
-
39103
-
39104
-
39105
-
39106
- /**
39107
- *
39108
- * Returns LicenseOwner[]
39109
- */
39110
- export interface Replication_GetCentralLicenseRequest {
39111
- }
39112
-
39113
- // response object: LicenseOwner[]
39114
-
39115
- /**
39116
- *
39117
- * Returns LicenseOwner[]
39118
- */
39119
- export interface Replication_SaveCentralLicenseRequest {
39120
- /**
39121
- *
39122
- */
39123
- license: LicenseOwner[];
39124
- }
39125
-
39126
- // response object: LicenseOwner[]
39127
-
39128
-
39129
39053
  /**
39130
39054
  * This service support fetching of client interface configuration data. <para/> Client configuration data include Application configuration, which defines how an application is composed out of pages; and page configuration that defines how a page is built out of panels, cards, views and controls. <para/> Separate access points also exist for fetching object mappings and filter lists.
39131
39055
  */
@@ -39927,18 +39851,6 @@ export interface FreeText_SetEnabledRequest {
39927
39851
 
39928
39852
  // Void response...
39929
39853
 
39930
- /**
39931
- * Automatically enable freetext search for new travel areas? true or false
39932
- */
39933
- export interface FreeText_SetAutoEnableTravelAreasRequest {
39934
- /**
39935
- * If true, auto enable
39936
- */
39937
- autoEnable: boolean;
39938
- }
39939
-
39940
- // Void response...
39941
-
39942
39854
  /**
39943
39855
  * Sets the operator used when matching single words
39944
39856
  */
@@ -39963,52 +39875,6 @@ export interface FreeText_SetMultiWordOperatorRequest {
39963
39875
 
39964
39876
  // Void response...
39965
39877
 
39966
- /**
39967
- * Returns the list of stop words
39968
- * Returns string[]
39969
- */
39970
- export interface FreeText_GetStopWordListRequest {
39971
- }
39972
-
39973
- // response object: string[]
39974
-
39975
- /**
39976
- * Adds the words in the string to the stop word list
39977
- */
39978
- export interface FreeText_AddWordsRequest {
39979
- /**
39980
- * The stop words to add
39981
- */
39982
- stopWords: string;
39983
- }
39984
-
39985
- // Void response...
39986
-
39987
- /**
39988
- * Delete the stop words with these ids
39989
- */
39990
- export interface FreeText_DeleteStopWordsByIdRequest {
39991
- /**
39992
- * The ids of the stopwords to delete
39993
- */
39994
- stopWordIds: number[];
39995
- }
39996
-
39997
- // Void response...
39998
-
39999
- /**
40000
- * Returns the top used words in the freetext index table, sorted as most used first
40001
- * Returns MDOListItem[]
40002
- */
40003
- export interface FreeText_GetSuggestedStopWordsRequest {
40004
- /**
40005
- * The count of words that will be returned
40006
- */
40007
- countWords: number;
40008
- }
40009
-
40010
- // response object: MDOListItem[]
40011
-
40012
39878
  /**
40013
39879
  * Wipe and regenerate the freetext index by scanning the database (freetext search will be unavailable while this operation runs
40014
39880
  * Returns BatchTaskInfo
@@ -40229,6 +40095,19 @@ export interface CustomerService_EventHandlerExistsRequest {
40229
40095
 
40230
40096
  // response object: boolean
40231
40097
 
40098
+ /**
40099
+ * Check if any given eventhandler exists
40100
+ * Returns EventHandlerType[]
40101
+ */
40102
+ export interface CustomerService_EventHandlersExistsRequest {
40103
+ /**
40104
+ * The EventHandlerTypes we are checking
40105
+ */
40106
+ eventHandlerTypes: enums.EventHandlerType[];
40107
+ }
40108
+
40109
+ // response object: EventHandlerType[]
40110
+
40232
40111
 
40233
40112
  /**
40234
40113
  *
@@ -40481,6 +40360,11 @@ export interface CustomerServiceStartup extends Carrier {
40481
40360
  */
40482
40361
  recaptchaSiteKey?: string;
40483
40362
 
40363
+ /**
40364
+ * An array of selected preferences needed by Service
40365
+ */
40366
+ selectedPreferences?: Preference[];
40367
+
40484
40368
  }
40485
40369
 
40486
40370
 
@@ -40497,6 +40381,19 @@ export interface CustomerService_GetCustomerServiceStartupRequest {
40497
40381
 
40498
40382
  // response object: CustomerServiceStartup
40499
40383
 
40384
+ /**
40385
+ * Get the carrier with data that Service needs when starting up for a specific user
40386
+ * Returns CustomerServiceStartup
40387
+ */
40388
+ export interface CustomerService_GetCustomerServiceStartupByOwnerRequest {
40389
+ /**
40390
+ * The user for which we want to fetch the startup values for
40391
+ */
40392
+ userId: number;
40393
+ }
40394
+
40395
+ // response object: CustomerServiceStartup
40396
+
40500
40397
 
40501
40398
  /**
40502
40399
  * EventData containing data related to event handlers
@@ -40564,6 +40461,16 @@ export interface EventData extends Carrier {
40564
40461
  */
40565
40462
  cgiContent?: string;
40566
40463
 
40464
+ /**
40465
+ * Incoming headers if sent by the context which the script is executed from
40466
+ */
40467
+ headers?: StringDictionary;
40468
+
40469
+ /**
40470
+ * If true, then the execution will be traced
40471
+ */
40472
+ traceExecution?: boolean;
40473
+
40567
40474
  }
40568
40475
 
40569
40476
 
@@ -41875,336 +41782,6 @@ export interface Pocket_NotificationsHandledRequest {
41875
41782
 
41876
41783
 
41877
41784
 
41878
- /**
41879
- * Dashboard configuration
41880
- */
41881
- export interface Dashboard extends Carrier {
41882
-
41883
-
41884
- /**
41885
- * The dashboard id
41886
- */
41887
- dashboardId?: number;
41888
-
41889
- /**
41890
- * Id of the associate who owns this dashboard
41891
- */
41892
- associateId?: number;
41893
-
41894
- /**
41895
- * The caption for this dashboard
41896
- */
41897
- caption?: string;
41898
-
41899
- /**
41900
- * The dashboard layout, how the tiles are organized on the screen
41901
- */
41902
- layout?: enums.DashboardLayout;
41903
-
41904
- /**
41905
- * The tiles associated with this dashboard
41906
- */
41907
- tiles?: DashboardTile[];
41908
-
41909
- }
41910
-
41911
-
41912
-
41913
-
41914
-
41915
-
41916
- /**
41917
- * Gets all dashboards for an associate
41918
- * Returns Dashboard[]
41919
- */
41920
- export interface Dashboard_GetDashboardsRequest {
41921
- /**
41922
- * Associate Id
41923
- */
41924
- associateId: number;
41925
- }
41926
-
41927
- // response object: Dashboard[]
41928
-
41929
- /**
41930
- * Sets tile in the given dashboard position
41931
- * Returns Dashboard
41932
- */
41933
- export interface Dashboard_SetTileRequest {
41934
- /**
41935
- * Dashboard Id
41936
- */
41937
- dashboardId: number;
41938
- /**
41939
- * Tile Id
41940
- */
41941
- tileId: number;
41942
- /**
41943
- * Tile position in the dashboard
41944
- */
41945
- position: number;
41946
- }
41947
-
41948
- // response object: Dashboard
41949
-
41950
-
41951
- /**
41952
- * Dashboard Tile configuration
41953
- */
41954
- export interface DashboardTile extends Carrier {
41955
-
41956
-
41957
- /**
41958
- * The tile id
41959
- */
41960
- dashboardTileId?: number;
41961
-
41962
- /**
41963
- * The tile caption
41964
- */
41965
- caption?: string;
41966
-
41967
- /**
41968
- * The tile description
41969
- */
41970
- description?: string;
41971
-
41972
- /**
41973
- * The original chart name
41974
- */
41975
- chartName?: string;
41976
-
41977
- /**
41978
- * The original chart Id
41979
- */
41980
- chartId?: string;
41981
-
41982
- /**
41983
- * True if this is one of the default tiles
41984
- */
41985
- isDefault?: boolean;
41986
-
41987
- /**
41988
- * Id of the associate who owns this tile
41989
- */
41990
- associateId?: number;
41991
-
41992
- /**
41993
- * Id of the associates primary group at storage time
41994
- */
41995
- groupId?: number;
41996
-
41997
- /**
41998
- * The selection that defines the data filter/restrictions
41999
- */
42000
- selectionId?: number;
42001
-
42002
- /**
42003
- * The tile config
42004
- */
42005
- config?: string;
42006
-
42007
- /**
42008
- * The tile type, what kind of tile this is
42009
- */
42010
- type?: enums.DashboardTileType;
42011
-
42012
- /**
42013
- * The tile entity type
42014
- */
42015
- entityType?: enums.DashboardTileEntityType;
42016
-
42017
- /**
42018
- * The tile options
42019
- */
42020
- options?: DashboardTileOption[];
42021
-
42022
- /**
42023
- * The set of users or groups the record is visible for
42024
- */
42025
- visibleFor?: VisibleFor[];
42026
-
42027
-
42028
- }
42029
-
42030
-
42031
-
42032
-
42033
-
42034
-
42035
- /**
42036
- * Gets an array of dashboard tiles for the provided ids
42037
- * Returns DashboardTile[]
42038
- */
42039
- export interface Dashboard_GetDashboardTilesRequest {
42040
- /**
42041
- * The ids of the tiles to get
42042
- */
42043
- dashboardTileIds: number[];
42044
- }
42045
-
42046
- // response object: DashboardTile[]
42047
-
42048
- /**
42049
- * Gets the standard tile (not personal tile) corresponding to the given chart id
42050
- * Returns DashboardTile
42051
- */
42052
- export interface Dashboard_GetStandardDashboardTileFromChartIdRequest {
42053
- /**
42054
- * The ChartId of the wanted chart/tile
42055
- */
42056
- chartId: string;
42057
- }
42058
-
42059
- // response object: DashboardTile
42060
-
42061
- /**
42062
- * Get data for this tile
42063
- * Returns TileData[]
42064
- */
42065
- export interface Dashboard_GetDataRequest {
42066
- /**
42067
- * Tile Id
42068
- */
42069
- dashboardTileId: number;
42070
- /**
42071
- * Replacement restrictions
42072
- */
42073
- restrictions: string;
42074
- }
42075
-
42076
- // response object: TileData[]
42077
-
42078
- /**
42079
- * Create new tile from another tile used as template
42080
- * Returns DashboardTile
42081
- */
42082
- export interface Dashboard_CreateNewFromTemplateRequest {
42083
- /**
42084
- * Tile template Id
42085
- */
42086
- dashboardTileId: number;
42087
- /**
42088
- * Caption of new tile
42089
- */
42090
- caption: string;
42091
- /**
42092
- * Description of new tile
42093
- */
42094
- description: string;
42095
- /**
42096
- * Selection id of new tile
42097
- */
42098
- selectionId: number;
42099
- /**
42100
- * Who the tile should be visible for
42101
- */
42102
- visibleFor: VisibleFor[];
42103
- }
42104
-
42105
- // response object: DashboardTile
42106
-
42107
- /**
42108
- * Get data for this tile
42109
- * Returns TileData[]
42110
- */
42111
- export interface Dashboard_GetDataWithSelectionRequest {
42112
- /**
42113
- * Tile Id
42114
- */
42115
- dashboardTileId: number;
42116
- /**
42117
- * Selection Id
42118
- */
42119
- selectionId: number;
42120
- /**
42121
- * Replacement restrictions
42122
- */
42123
- restrictions: string;
42124
- }
42125
-
42126
- // response object: TileData[]
42127
-
42128
-
42129
- /**
42130
- * Dashboard Tile option
42131
- */
42132
- export interface DashboardTileOption extends Carrier {
42133
-
42134
-
42135
- /**
42136
- * Name of option, usually not visible to users
42137
- */
42138
- name?: string;
42139
-
42140
- /**
42141
- * Option description, visible to users
42142
- */
42143
- description?: string;
42144
-
42145
- /**
42146
- * The type of option - integer, list, boolean (checkbox) etc.
42147
- */
42148
- type?: enums.DashboardTileOptionType;
42149
-
42150
- /**
42151
- * An MDO list name, used if the type is list and no ListOptions are given
42152
- */
42153
- listName?: string;
42154
-
42155
- /**
42156
- * List options given directly, not via MDO list name
42157
- */
42158
- listItems?: MDOListItem[];
42159
-
42160
- /**
42161
- * The value, encoded as string, Id:Name of list item if type is list
42162
- */
42163
- value?: string;
42164
-
42165
- /**
42166
- * True if this option only applies to the default data source, not selections
42167
- */
42168
- defaultDataOption?: boolean;
42169
-
42170
- }
42171
-
42172
-
42173
-
42174
-
42175
-
42176
-
42177
-
42178
- /**
42179
- * Class representing data to be visualized in a dashboard tile.
42180
- */
42181
- export interface TileData {
42182
-
42183
-
42184
- /**
42185
- * Column information
42186
- */
42187
- columns?: ArchiveColumnInfo[];
42188
-
42189
- /**
42190
- * The result set
42191
- */
42192
- result?: ArchiveListResult;
42193
-
42194
- }
42195
-
42196
-
42197
-
42198
-
42199
-
42200
-
42201
-
42202
-
42203
-
42204
-
42205
-
42206
-
42207
-
42208
41785
  /**
42209
41786
  * Dashboard configuration
42210
41787
  */
@@ -42784,6 +42361,11 @@ export interface Dash_SaveDashTileHtmlListRequest {
42784
42361
  export interface PreviewDash extends Carrier {
42785
42362
 
42786
42363
 
42364
+ /**
42365
+ * Primary key
42366
+ */
42367
+ dashboardId?: number;
42368
+
42787
42369
  /**
42788
42370
  * The name of this dashboard
42789
42371
  */
@@ -43993,6 +43575,8 @@ export interface OperationInfo extends Carrier {
43993
43575
 
43994
43576
 
43995
43577
 
43578
+
43579
+
43996
43580
  /**
43997
43581
  * Definition and configuration of a Form
43998
43582
  */
@@ -44104,6 +43688,11 @@ export interface FormEntity extends Carrier {
44104
43688
  */
44105
43689
  updatedCount?: number;
44106
43690
 
43691
+ /**
43692
+ * EmailFlows this form is used in (read-only)
43693
+ */
43694
+ emailFlows?: number[];
43695
+
44107
43696
  /**
44108
43697
  * The name of the folder for this form
44109
43698
  */
@@ -44273,6 +43862,11 @@ export interface PreviewMailing extends Carrier {
44273
43862
  */
44274
43863
  fromAddress?: string;
44275
43864
 
43865
+ /**
43866
+ * This field indicates what kind of shipment this is.
43867
+ */
43868
+ configuration?: number;
43869
+
44276
43870
  /**
44277
43871
  * Owning contact ID
44278
43872
  */
@@ -44375,6 +43969,11 @@ export interface PreviewMailingHeader extends Carrier {
44375
43969
  */
44376
43970
  fromAddress?: string;
44377
43971
 
43972
+ /**
43973
+ * This field indicates what kind of shipment this is.
43974
+ */
43975
+ configuration?: number;
43976
+
44378
43977
  /**
44379
43978
  * Primary key
44380
43979
  */
@@ -44500,136 +44099,164 @@ export interface ShipmentMessageBlockEntity extends Carrier {
44500
44099
 
44501
44100
 
44502
44101
  /**
44503
- * Get the saved user blocks to be used in a shipment/mailing message
44504
- * Returns ShipmentMessageBlockEntity[]
44102
+ * Get the saved user blocks to be used in a shipment/mailing message
44103
+ * Returns ShipmentMessageBlockEntity[]
44104
+ */
44105
+ export interface Marketing_GetUserBlocksRequest {
44106
+ /**
44107
+ * The associate id to get the user blocks. 0 will get all saved blocks
44108
+ */
44109
+ associateId: number;
44110
+ }
44111
+
44112
+ // response object: ShipmentMessageBlockEntity[]
44113
+
44114
+
44115
+ /**
44116
+ * A shipment message, that contains the actual message being sent out in a mailing
44117
+ */
44118
+ export interface ShipmentMessageEntity extends Carrier {
44119
+
44120
+
44121
+ /**
44122
+ * Primary key
44123
+ */
44124
+ shipmentMessageId?: number;
44125
+
44126
+ /**
44127
+ * Plain message text of this message
44128
+ */
44129
+ plainMessage?: string;
44130
+
44131
+ /**
44132
+ * HTML formatted text of this message
44133
+ */
44134
+ htmlMessage?: string;
44135
+
44136
+ /**
44137
+ * SMS version of this message
44138
+ */
44139
+ smsMessage?: string;
44140
+
44141
+ /**
44142
+ * Describes this message
44143
+ */
44144
+ description?: string;
44145
+
44146
+ /**
44147
+ * The mail subject field of the message
44148
+ */
44149
+ subject?: string;
44150
+
44151
+ /**
44152
+ * The folder which this message belongs to. -1 indicates that the message is on the root
44153
+ */
44154
+ folderId?: number;
44155
+
44156
+ /**
44157
+ * Extra header fields added to mail. Must be formatted correctly
44158
+ */
44159
+ headerField?: string;
44160
+
44161
+ /**
44162
+ * Will contain the design part of a message. The format will vary based on the type of designer used to create the message
44163
+ */
44164
+ design?: string;
44165
+
44166
+ /**
44167
+ * Enum containing the type of the design
44168
+ */
44169
+ designtype?: enums.DesignType;
44170
+
44171
+ /**
44172
+ * Identifies if HTML or plain message is included in message.
44173
+ */
44174
+ flags?: enums.ShipmentMessageType;
44175
+
44176
+ /**
44177
+ * Register message views?
44178
+ */
44179
+ registerViews?: boolean;
44180
+
44181
+ /**
44182
+ * Should images be included inline?
44183
+ */
44184
+ inlineImages?: boolean;
44185
+
44186
+ /**
44187
+ * A field for a long description of this template
44188
+ */
44189
+ longDescription?: string;
44190
+
44191
+ /**
44192
+ * Key used for access verification
44193
+ */
44194
+ accessKey?: string;
44195
+
44196
+ /**
44197
+ * The SM document used as template for this mailing
44198
+ */
44199
+ documentMessage?: number;
44200
+
44201
+ /**
44202
+ * Registered when
44203
+ */
44204
+ registered?: Date;
44205
+
44206
+ /**
44207
+ * Registered by whom
44208
+ */
44209
+ registeredAssociateId?: number;
44210
+
44211
+ /**
44212
+ * Last updated when
44213
+ */
44214
+ updated?: Date;
44215
+
44216
+ /**
44217
+ * Last updated by whom
44218
+ */
44219
+ updatedAssociateId?: number;
44220
+
44221
+ /**
44222
+ * Number of updates made to this record
44223
+ */
44224
+ updatedCount?: number;
44225
+
44226
+ }
44227
+
44228
+
44229
+
44230
+
44231
+
44232
+
44233
+ /**
44234
+ * Change the mailing name (shipment description) that the given message (MessageId) belongs to
44505
44235
  */
44506
- export interface Marketing_GetUserBlocksRequest {
44236
+ export interface Marketing_RenameMailingByMessageIdRequest {
44507
44237
  /**
44508
- * The associate id to get the user blocks. 0 will get all saved blocks
44238
+ * Message id
44509
44239
  */
44510
- associateId: number;
44240
+ messageId: number;
44241
+ /**
44242
+ * The new name
44243
+ */
44244
+ name: string;
44511
44245
  }
44512
44246
 
44513
- // response object: ShipmentMessageBlockEntity[]
44514
-
44247
+ // Void response...
44515
44248
 
44516
44249
  /**
44517
- * A shipment message, that contains the actual message being sent out in a mailing
44250
+ * Delete the message and the shipment the message (MessageId) belongs to
44518
44251
  */
44519
- export interface ShipmentMessageEntity extends Carrier {
44520
-
44521
-
44522
- /**
44523
- * Primary key
44524
- */
44525
- shipmentMessageId?: number;
44526
-
44252
+ export interface Marketing_DeleteMessageAndShipmentRequest {
44527
44253
  /**
44528
- * Plain message text of this message
44529
- */
44530
- plainMessage?: string;
44531
-
44532
- /**
44533
- * HTML formatted text of this message
44534
- */
44535
- htmlMessage?: string;
44536
-
44537
- /**
44538
- * SMS version of this message
44539
- */
44540
- smsMessage?: string;
44541
-
44542
- /**
44543
- * Describes this message
44544
- */
44545
- description?: string;
44546
-
44547
- /**
44548
- * The mail subject field of the message
44254
+ * Message id
44549
44255
  */
44550
- subject?: string;
44551
-
44552
- /**
44553
- * The folder which this message belongs to. -1 indicates that the message is on the root
44554
- */
44555
- folderId?: number;
44556
-
44557
- /**
44558
- * Extra header fields added to mail. Must be formatted correctly
44559
- */
44560
- headerField?: string;
44561
-
44562
- /**
44563
- * Will contain the design part of a message. The format will vary based on the type of designer used to create the message
44564
- */
44565
- design?: string;
44566
-
44567
- /**
44568
- * Enum containing the type of the design
44569
- */
44570
- designtype?: enums.DesignType;
44571
-
44572
- /**
44573
- * Identifies if HTML or plain message is included in message.
44574
- */
44575
- flags?: enums.ShipmentMessageType;
44576
-
44577
- /**
44578
- * Register message views?
44579
- */
44580
- registerViews?: boolean;
44581
-
44582
- /**
44583
- * Should images be included inline?
44584
- */
44585
- inlineImages?: boolean;
44586
-
44587
- /**
44588
- * A field for a long description of this template
44589
- */
44590
- longDescription?: string;
44591
-
44592
- /**
44593
- * Key used for access verification
44594
- */
44595
- accessKey?: string;
44596
-
44597
- /**
44598
- * The SM document used as template for this mailing
44599
- */
44600
- documentMessage?: number;
44601
-
44602
- /**
44603
- * Registered when
44604
- */
44605
- registered?: Date;
44606
-
44607
- /**
44608
- * Registered by whom
44609
- */
44610
- registeredAssociateId?: number;
44611
-
44612
- /**
44613
- * Last updated when
44614
- */
44615
- updated?: Date;
44616
-
44617
- /**
44618
- * Last updated by whom
44619
- */
44620
- updatedAssociateId?: number;
44621
-
44622
- /**
44623
- * Number of updates made to this record
44624
- */
44625
- updatedCount?: number;
44626
-
44256
+ messageId: number;
44627
44257
  }
44628
44258
 
44629
-
44630
-
44631
-
44632
-
44259
+ // Void response...
44633
44260
 
44634
44261
 
44635
44262
 
@@ -44770,6 +44397,11 @@ export interface CRMScriptEntity extends Carrier {
44770
44397
  */
44771
44398
  includeId?: string;
44772
44399
 
44400
+ /**
44401
+ * Access key used to run this script on the customer pages
44402
+ */
44403
+ accessKey?: string;
44404
+
44773
44405
  /**
44774
44406
  * The script is inside this hierarchy folder
44775
44407
  */
@@ -44780,6 +44412,36 @@ export interface CRMScriptEntity extends Carrier {
44780
44412
  */
44781
44413
  source?: string;
44782
44414
 
44415
+ /**
44416
+ * Contains the source code of the script
44417
+ */
44418
+ sourceCode?: string;
44419
+
44420
+ /**
44421
+ * The type/language of this script
44422
+ */
44423
+ scriptType?: enums.ScriptType;
44424
+
44425
+ /**
44426
+ * True if this script will return HTML output
44427
+ */
44428
+ htmlOutput?: number;
44429
+
44430
+ /**
44431
+ * The unique ids of all depencies of this script (all resolved includes)
44432
+ */
44433
+ includes?: number[];
44434
+
44435
+ /**
44436
+ * The source maps for this script
44437
+ */
44438
+ sourceMaps?: CRMScriptSourceMap[];
44439
+
44440
+ /**
44441
+ * The result of a validation of a TypeScript when saving
44442
+ */
44443
+ validationResult?: CRMScriptResult;
44444
+
44783
44445
  /**
44784
44446
  * Registered when
44785
44447
  */
@@ -44807,6 +44469,19 @@ export interface CRMScriptEntity extends Carrier {
44807
44469
 
44808
44470
 
44809
44471
 
44472
+ /**
44473
+ * Save the script directly without compiling TypeScript
44474
+ * Returns CRMScriptEntity
44475
+ */
44476
+ export interface CRMScript_SaveCRMScriptEntityWithoutCompileRequest {
44477
+ /**
44478
+ * The entity to save. Source and SourceCode should both be specified
44479
+ */
44480
+ crmScriptEntity: CRMScriptEntity;
44481
+ }
44482
+
44483
+ // response object: CRMScriptEntity
44484
+
44810
44485
  /**
44811
44486
  * Execute a CRMScript with parameters, returning printed output value.
44812
44487
  * Returns string
@@ -44965,6 +44640,23 @@ export interface CRMScript_ValidateScriptByStringRequest {
44965
44640
 
44966
44641
  // response object: CRMScriptResult
44967
44642
 
44643
+ /**
44644
+ * Will resolve all includes for a TypeScript and return an array of the IDs
44645
+ * Returns number[]
44646
+ */
44647
+ export interface CRMScript_ResolveIncludesRequest {
44648
+ /**
44649
+ * The script to resolve includes for
44650
+ */
44651
+ script: string;
44652
+ /**
44653
+ * If true, then missing includes will be ignored
44654
+ */
44655
+ ignoreErrors: boolean;
44656
+ }
44657
+
44658
+ // response object: number[]
44659
+
44968
44660
 
44969
44661
  /**
44970
44662
  * Object containing error information for a CRMScript
@@ -44977,15 +44669,20 @@ export interface CRMScriptErrorInfo extends Carrier {
44977
44669
  */
44978
44670
  errorMessage?: string;
44979
44671
 
44672
+ /**
44673
+ * The includeId of the source where the error occured
44674
+ */
44675
+ includeId?: string;
44676
+
44980
44677
  /**
44981
44678
  * The line number where the error occured
44982
44679
  */
44983
- errorLine?: number;
44680
+ lineNumber?: number;
44984
44681
 
44985
44682
  /**
44986
44683
  * The character position on the ErrorLine, if available
44987
44684
  */
44988
- errorCharacterPosition?: number;
44685
+ characterPosition?: number;
44989
44686
 
44990
44687
  }
44991
44688
 
@@ -45021,6 +44718,21 @@ export interface CRMScriptResult extends Carrier {
45021
44718
  */
45022
44719
  errorInformation?: CRMScriptErrorInfo;
45023
44720
 
44721
+ /**
44722
+ * This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
44723
+ */
44724
+ transpiled?: string;
44725
+
44726
+ /**
44727
+ * The unique ids of all depencies of this script (all resolved includes)
44728
+ */
44729
+ includes?: number[];
44730
+
44731
+ /**
44732
+ * Array of source maps showing where in the original code a specific line originated from
44733
+ */
44734
+ sourceMaps?: CRMScriptSourceMap[];
44735
+
45024
44736
  }
45025
44737
 
45026
44738
 
@@ -45065,6 +44777,60 @@ export interface CRMScriptRunResult extends Carrier {
45065
44777
  */
45066
44778
  errorInformation?: CRMScriptErrorInfo;
45067
44779
 
44780
+ /**
44781
+ * The status code which is available to be returned from Typescript scripts
44782
+ */
44783
+ statusCode?: number;
44784
+
44785
+ /**
44786
+ * An additional status message that can be sent along with the status code
44787
+ */
44788
+ statusMessage?: string;
44789
+
44790
+ /**
44791
+ * Optional result headers for context that supports it
44792
+ */
44793
+ headers?: StringDictionary;
44794
+
44795
+ }
44796
+
44797
+
44798
+
44799
+
44800
+
44801
+
44802
+
44803
+ /**
44804
+ * Object for returning source-map info when validating or executing a CRMScript
44805
+ */
44806
+ export interface CRMScriptSourceMap extends Carrier {
44807
+
44808
+
44809
+ /**
44810
+ * The 1-based start line (inclusive) of this entry
44811
+ */
44812
+ lineNumberFrom?: number;
44813
+
44814
+ /**
44815
+ * The 1-based end line (inclusive) of this entry
44816
+ */
44817
+ lineNumberTo?: number;
44818
+
44819
+ /**
44820
+ * The delta between global line number and a line number inside this range
44821
+ */
44822
+ delta?: number;
44823
+
44824
+ /**
44825
+ * The includeId for this entry
44826
+ */
44827
+ includeId?: string;
44828
+
44829
+ /**
44830
+ * The list of IncludeId:linenum that leads to this source
44831
+ */
44832
+ includedFrom?: string[];
44833
+
45068
44834
  }
45069
44835
 
45070
44836
 
@@ -45274,6 +45040,8 @@ export interface CRMScript_ValidateTriggerScriptByUniqueIdRequest {
45274
45040
  // response object: CRMScriptResult
45275
45041
 
45276
45042
 
45043
+
45044
+
45277
45045
  /**
45278
45046
  * The Attachment carrier represent meta data for a Service attachment
45279
45047
  */
@@ -45315,6 +45083,11 @@ export interface AttachmentEntity extends Carrier {
45315
45083
  */
45316
45084
  authKey?: string;
45317
45085
 
45086
+ /**
45087
+ * Is file considered to be safe (based on extension and settings)
45088
+ */
45089
+ isSafeFileExtension?: boolean;
45090
+
45318
45091
  }
45319
45092
 
45320
45093
 
@@ -45382,6 +45155,70 @@ export interface Ticket_GetAttachmentStreamRequest {
45382
45155
  // response object: Blob
45383
45156
 
45384
45157
 
45158
+ /**
45159
+ * Service attachment data intended for preview purposes
45160
+ */
45161
+ export interface AttachmentPreview extends Carrier {
45162
+
45163
+
45164
+ /**
45165
+ * Name of the attachment file
45166
+ */
45167
+ name?: string;
45168
+
45169
+ /**
45170
+ * The mimetype of the attachment
45171
+ */
45172
+ mimeType?: string;
45173
+
45174
+ /**
45175
+ * Size of the attachment in bytes
45176
+ */
45177
+ size?: number;
45178
+
45179
+ /**
45180
+ * Attachment data
45181
+ */
45182
+ content?: ArrayBuffer | string;
45183
+
45184
+ /**
45185
+ * Subject of the attached RFC822 email. Null for non-RFC822 attachment
45186
+ */
45187
+ emailSubject?: string;
45188
+
45189
+ /**
45190
+ * From field of the attached RFC822 email. Null for non-RFC822 attachment
45191
+ */
45192
+ emailFrom?: string;
45193
+
45194
+ /**
45195
+ * To field of the attached RFC822 email. Null for non-RFC822 attachment
45196
+ */
45197
+ emailTo?: string;
45198
+
45199
+ /**
45200
+ * Cc field of the attached RFC822 email. Null for non-RFC822 attachment
45201
+ */
45202
+ emailCc?: string;
45203
+
45204
+ /**
45205
+ * Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment
45206
+ */
45207
+ emailDate?: Date;
45208
+
45209
+ /**
45210
+ * The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment
45211
+ */
45212
+ emailAttachmentsInfo?: AttachmentEntity[];
45213
+
45214
+ }
45215
+
45216
+
45217
+
45218
+
45219
+
45220
+
45221
+
45385
45222
  /**
45386
45223
  * Attachment validation info
45387
45224
  */
@@ -45722,6 +45559,16 @@ export interface Ticket extends Carrier {
45722
45559
  */
45723
45560
  formSubmissionId?: number;
45724
45561
 
45562
+ /**
45563
+ * The id of the Request Type
45564
+ */
45565
+ ticketTypeId?: number;
45566
+
45567
+ /**
45568
+ * The name of the Request Type
45569
+ */
45570
+ ticketTypeName?: string;
45571
+
45725
45572
  }
45726
45573
 
45727
45574
 
@@ -46081,7 +45928,7 @@ export interface TicketEntity extends Carrier {
46081
45928
  * Type of the Request
46082
45929
  * Use MDO List name "TicketType" to get list items.
46083
45930
  */
46084
- ticketType?: TicketTypeEntity;
45931
+ ticketType?: TicketType;
46085
45932
 
46086
45933
  /**
46087
45934
  * Active status monitor identity for related contact. This is a read-only property and is ignored on Save
@@ -46478,6 +46325,60 @@ export interface Ticket_GetTicketMessageEntitiesRequest {
46478
46325
 
46479
46326
  // response object: TicketMessageEntity[]
46480
46327
 
46328
+ /**
46329
+ * Create default ticket entity for particular TicketType
46330
+ * Returns TicketEntity
46331
+ */
46332
+ export interface Ticket_CreateDefaultForTicketTypeRequest {
46333
+ /**
46334
+ * ID of ticket type
46335
+ */
46336
+ ticketTypeId: number;
46337
+ }
46338
+
46339
+ // response object: TicketEntity
46340
+
46341
+ /**
46342
+ * 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.
46343
+ */
46344
+ export interface Ticket_DoEscalatingRequest {
46345
+ /**
46346
+ * The id of ticket
46347
+ */
46348
+ ticketId: number;
46349
+ /**
46350
+ * The action to use when calculating the escalation
46351
+ */
46352
+ action: enums.TicketPriorityEscalateAction;
46353
+ }
46354
+
46355
+ // Void response...
46356
+
46357
+ /**
46358
+ * Get a list of ej_user ids who should receive hotlist notification based on request and notification type
46359
+ * Returns number[]
46360
+ */
46361
+ export interface Ticket_GetHotlistEjUsersRequest {
46362
+ /**
46363
+ * The id of the ticket
46364
+ */
46365
+ ticketId: number;
46366
+ /**
46367
+ * A list of associate ids to skip when calculating whom to get the notification
46368
+ */
46369
+ skipAssociateIds: number[];
46370
+ /**
46371
+ * The notification type we want to check for
46372
+ */
46373
+ notifyType: enums.NotifyType;
46374
+ /**
46375
+ * The channel which we should check for
46376
+ */
46377
+ channel: enums.NotifyChannel;
46378
+ }
46379
+
46380
+ // response object: number[]
46381
+
46481
46382
 
46482
46383
  /**
46483
46384
  * The TicketMessage carrier is used for representing a service ticket message
@@ -46780,6 +46681,23 @@ export interface Ticket_SanitizeMailContentRequest {
46780
46681
 
46781
46682
  // response object: string
46782
46683
 
46684
+ /**
46685
+ * Remove harmful HTML tags and attributes from an email, using specified options
46686
+ * Returns string
46687
+ */
46688
+ export interface Ticket_SanitizeMailContentWithOptionsRequest {
46689
+ /**
46690
+ * The email content to sanitize
46691
+ */
46692
+ content: string;
46693
+ /**
46694
+ * The options for the sanitizer engine
46695
+ */
46696
+ options: enums.HtmlSanitizerOptions;
46697
+ }
46698
+
46699
+ // response object: string
46700
+
46783
46701
  /**
46784
46702
  * Remove harmful HTML tags and attributes from an email
46785
46703
  * Returns string[]
@@ -46866,6 +46784,19 @@ export interface Ticket_RemoveMessageAttachmentsRequest {
46866
46784
 
46867
46785
  /**
46868
46786
  * Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
46787
+ * Returns AttachmentPreview
46788
+ */
46789
+ export interface Ticket_GetAttachmentPreviewRequest {
46790
+ /**
46791
+ * The id of the attachment to retrieve
46792
+ */
46793
+ attachmentId: number;
46794
+ }
46795
+
46796
+ // response object: AttachmentPreview
46797
+
46798
+ /**
46799
+ * 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
46800
  * Returns DocumentPreview
46870
46801
  */
46871
46802
  export interface Ticket_GetPreviewAttachmentStreamRequest {
@@ -46877,6 +46808,23 @@ export interface Ticket_GetPreviewAttachmentStreamRequest {
46877
46808
 
46878
46809
  // response object: DocumentPreview
46879
46810
 
46811
+ /**
46812
+ * Get the content of an attachment which is part of RFC822 email attachment
46813
+ * Returns Blob
46814
+ */
46815
+ export interface Ticket_GetRfcAttachmentStreamRequest {
46816
+ /**
46817
+ * The id of the root attachment
46818
+ */
46819
+ attachmentId: number;
46820
+ /**
46821
+ * The position (index) of the attachment within the root attachment. Numbering starts from 0
46822
+ */
46823
+ position: number;
46824
+ }
46825
+
46826
+ // response object: Blob
46827
+
46880
46828
  /**
46881
46829
  * Send a message to recipients by email
46882
46830
  */
@@ -47058,6 +47006,35 @@ export interface Ticket_GetDefaultMessageContentFullRequest {
47058
47006
 
47059
47007
  // response object: TicketMessageContent
47060
47008
 
47009
+ /**
47010
+ * Generate a default message content with option to exclude signature: attachments and body as sanitized HTML
47011
+ * Returns TicketMessageContent
47012
+ */
47013
+ export interface Ticket_GetDefaultMessageContentWithOptionsRequest {
47014
+ /**
47015
+ * The id of the ticket
47016
+ */
47017
+ ticketId: number;
47018
+ /**
47019
+ * Message action type: None/Reply/ReplyAll/Forward
47020
+ */
47021
+ messageActionType: enums.MessageActionType;
47022
+ /**
47023
+ * The id of the message to quote in the returned content. 0 to skip/ignore
47024
+ */
47025
+ ticketMessageId: number;
47026
+ /**
47027
+ * The id of the ticket type to look for reply template. 0 to use current ticket type
47028
+ */
47029
+ ticketTypeId: number;
47030
+ /**
47031
+ * Flag to exclude a signature when generating the return content
47032
+ */
47033
+ excludeSignature: boolean;
47034
+ }
47035
+
47036
+ // response object: TicketMessageContent
47037
+
47061
47038
  /**
47062
47039
  * 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
47040
  * Returns TicketMessageEntity
@@ -47170,6 +47147,7 @@ export interface Ticket_GetTicketSummariesRequest {
47170
47147
 
47171
47148
 
47172
47149
 
47150
+
47173
47151
  /**
47174
47152
  * The extra table entity contains meta data for an extra table (not implemented yet)
47175
47153
  */
@@ -48701,6 +48679,23 @@ export interface AI_RephraseTextRequest {
48701
48679
 
48702
48680
  // response object: string
48703
48681
 
48682
+ /**
48683
+ * Generate agenda text for an appointment based on appointment's company category, title, person, etc.
48684
+ * Returns string
48685
+ */
48686
+ export interface AI_CreateTextForAppointmentRequest {
48687
+ /**
48688
+ * The appointment object to generate text for.
48689
+ */
48690
+ appointment: AppointmentEntity;
48691
+ /**
48692
+ * Language returned text should be in. Blank = do not specify language.
48693
+ */
48694
+ isoLangCode: string;
48695
+ }
48696
+
48697
+ // response object: string
48698
+
48704
48699
 
48705
48700
  /**
48706
48701
  * Details about a categorization model in HugoAI
@@ -49396,6 +49391,15 @@ export interface DocumentMigration_HasDocumentsToMigrateRequest {
49396
49391
 
49397
49392
  // response object: boolean
49398
49393
 
49394
+ /**
49395
+ * Gets the total number of documents that is not visible to everyone
49396
+ * Returns number
49397
+ */
49398
+ export interface DocumentMigration_GetNumberOfConfidentialDocumentsRequest {
49399
+ }
49400
+
49401
+ // response object: number
49402
+
49399
49403
 
49400
49404
  /**
49401
49405
  *
@@ -49644,6 +49648,21 @@ export interface EmailFlow extends Carrier {
49644
49648
  */
49645
49649
  blockLists?: number[];
49646
49650
 
49651
+ /**
49652
+ * Info about workflow content like messages, links and forms (read-only)
49653
+ */
49654
+ contentInfo?: WorkflowContentInfo[];
49655
+
49656
+ /**
49657
+ * On exit with no success criteria met, we attempt to add the participant to the given flow
49658
+ */
49659
+ exitFlowId?: number;
49660
+
49661
+ /**
49662
+ * On exit with success criteria met, we attempt to add the participant to the given flow
49663
+ */
49664
+ exitSuccessFlowId?: number;
49665
+
49647
49666
  /**
49648
49667
  * The associate that first created the flow. The property is read-only.
49649
49668
  */
@@ -49678,7 +49697,7 @@ export interface EmailFlow extends Carrier {
49678
49697
 
49679
49698
 
49680
49699
  /**
49681
- * Try to add a participant to the EmailFlow
49700
+ * Try to add a participant to the EmailFlow. Same function available in PersonAgent
49682
49701
  * Returns boolean[]
49683
49702
  */
49684
49703
  export interface Workflow_TryAddPersonsToEmailFlowRequest {
@@ -49760,6 +49779,53 @@ export interface Workflow_CopyEmailFlowContentRequest {
49760
49779
 
49761
49780
  // response object: number
49762
49781
 
49782
+ /**
49783
+ * Attempt to update stored field values for up to the given number of form submissions
49784
+ * Returns number
49785
+ */
49786
+ export interface Workflow_UpdateFormSubmissionsRequest {
49787
+ /**
49788
+ * The maximum number of form submissions to attempt to save as form field values.
49789
+ */
49790
+ maxCount: number;
49791
+ }
49792
+
49793
+ // response object: number
49794
+
49795
+ /**
49796
+ * Set status on workflow, Run or pause flow
49797
+ * Returns WorkflowDefinitionStatus
49798
+ */
49799
+ export interface Workflow_SetStatusOnWorkflowRequest {
49800
+ /**
49801
+ * The id of the email flow to run or pause
49802
+ */
49803
+ emailFlowId: number;
49804
+ /**
49805
+ * The new status
49806
+ */
49807
+ status: enums.WorkflowDefinitionStatus;
49808
+ }
49809
+
49810
+ // response object: WorkflowDefinitionStatus
49811
+
49812
+ /**
49813
+ * Copy an email flow.
49814
+ * Returns number
49815
+ */
49816
+ export interface Workflow_CopyEmailFlowRequest {
49817
+ /**
49818
+ * The EmailFlow to copy.
49819
+ */
49820
+ emailFlowId: number;
49821
+ /**
49822
+ * The name of the new email flow
49823
+ */
49824
+ newName: string;
49825
+ }
49826
+
49827
+ // response object: number
49828
+
49763
49829
 
49764
49830
  /**
49765
49831
  * FieldValue carrier
@@ -49785,6 +49851,35 @@ export interface FieldValue extends Carrier {
49785
49851
 
49786
49852
 
49787
49853
 
49854
+ /**
49855
+ * Info about workflow content like messages, forms and links.
49856
+ */
49857
+ export interface WorkflowContentInfo extends Carrier {
49858
+
49859
+
49860
+ /**
49861
+ * The workflow content type
49862
+ */
49863
+ workflowContentType?: enums.WorkflowContentType;
49864
+
49865
+ /**
49866
+ * The id of the content row.
49867
+ */
49868
+ id?: number;
49869
+
49870
+ /**
49871
+ * True if the content (form, link) have associated actions.
49872
+ */
49873
+ actions?: boolean;
49874
+
49875
+ }
49876
+
49877
+
49878
+
49879
+
49880
+
49881
+
49882
+
49788
49883
  /**
49789
49884
  * Workflow event carrier
49790
49885
  */
@@ -49920,7 +50015,7 @@ export interface WorkflowStepBase {
49920
50015
  workflowStepId?: number;
49921
50016
 
49922
50017
  /**
49923
- * The flow this step belongs to
50018
+ * The workflow to connect to
49924
50019
  */
49925
50020
  workflowId?: number;
49926
50021
 
@@ -50112,7 +50207,7 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
50112
50207
  /**
50113
50208
  * Request status
50114
50209
  */
50115
- status?: number;
50210
+ ticketStatus?: number;
50116
50211
 
50117
50212
  /**
50118
50213
  * Message
@@ -50198,6 +50293,11 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
50198
50293
  */
50199
50294
  owner?: number;
50200
50295
 
50296
+ /**
50297
+ * Source
50298
+ */
50299
+ source?: number;
50300
+
50201
50301
  }
50202
50302
 
50203
50303
 
@@ -50212,6 +50312,26 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
50212
50312
  export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
50213
50313
 
50214
50314
 
50315
+ /**
50316
+ * Recipient notified by Email
50317
+ */
50318
+ to?: enums.WorkflowNotifyEmailType;
50319
+
50320
+ /**
50321
+ * Recipient email addresses notified by Email
50322
+ */
50323
+ specificEmailAddresses?: string[];
50324
+
50325
+ /**
50326
+ * Email notification subject
50327
+ */
50328
+ subject?: string;
50329
+
50330
+ /**
50331
+ * Email notification text
50332
+ */
50333
+ text?: string;
50334
+
50215
50335
  }
50216
50336
 
50217
50337
 
@@ -50226,6 +50346,26 @@ export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
50226
50346
  export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
50227
50347
 
50228
50348
 
50349
+ /**
50350
+ * Recipient notified by SMS
50351
+ */
50352
+ to?: enums.WorkflowNotifySMSType;
50353
+
50354
+ /**
50355
+ * Recipient phone numbers notified by SMS
50356
+ */
50357
+ specificPhoneNumbers?: string[];
50358
+
50359
+ /**
50360
+ * SMS sender
50361
+ */
50362
+ from?: string;
50363
+
50364
+ /**
50365
+ * Notification SMS text
50366
+ */
50367
+ text?: string;
50368
+
50229
50369
  }
50230
50370
 
50231
50371
 
@@ -50256,7 +50396,7 @@ export interface WorkflowStepOptionBase {
50256
50396
  workflowStepId?: number;
50257
50397
 
50258
50398
  /**
50259
- * The flow this instance belongs to
50399
+ * Workflow id
50260
50400
  */
50261
50401
  workflowId?: number;
50262
50402
 
@@ -50266,7 +50406,7 @@ export interface WorkflowStepOptionBase {
50266
50406
  name?: string;
50267
50407
 
50268
50408
  /**
50269
- * The rank of this option
50409
+ * Step order
50270
50410
  */
50271
50411
  rank?: number;
50272
50412
 
@@ -50310,7 +50450,31 @@ export interface Workflow_GetWorkflowStepOptionRequest {
50310
50450
 
50311
50451
 
50312
50452
  /**
50313
- * Option that splits on matching person criteria
50453
+ * Option that splits on matching data on a specific form submitted
50454
+ */
50455
+ export interface WorkflowStepOptionFormData extends WorkflowStepOptionBase {
50456
+
50457
+
50458
+ /**
50459
+ * The id of the form submitted
50460
+ */
50461
+ formId?: number;
50462
+
50463
+ /**
50464
+ * The restrictions (can be multiple groups) that determines if this option is activated
50465
+ */
50466
+ restrictionGroups?: ArchiveRestrictionGroup[];
50467
+
50468
+ }
50469
+
50470
+
50471
+
50472
+
50473
+
50474
+
50475
+
50476
+ /**
50477
+ * Option that splits on a form is submitted or not
50314
50478
  */
50315
50479
  export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
50316
50480
 
@@ -50329,7 +50493,7 @@ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase
50329
50493
 
50330
50494
 
50331
50495
  /**
50332
- * Option that splits on matching person criteria
50496
+ * Option that splits on if a link is clicked or not
50333
50497
  */
50334
50498
  export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
50335
50499
 
@@ -50367,7 +50531,7 @@ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
50367
50531
 
50368
50532
 
50369
50533
  /**
50370
- * Option that splits on matching person criteria
50534
+ * Option that splits on project membership
50371
50535
  */
50372
50536
  export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
50373
50537
 
@@ -50386,7 +50550,7 @@ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionB
50386
50550
 
50387
50551
 
50388
50552
  /**
50389
- * Option that splits on matching person criteria
50553
+ * Option that splits on selection membership
50390
50554
  */
50391
50555
  export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
50392
50556
 
@@ -50434,6 +50598,11 @@ export interface WorkflowStepRemoveFromList extends WorkflowStepBase {
50434
50598
  export interface WorkflowStepRunScript extends WorkflowStepBase {
50435
50599
 
50436
50600
 
50601
+ /**
50602
+ * Script Id to run
50603
+ */
50604
+ scriptId?: number;
50605
+
50437
50606
  }
50438
50607
 
50439
50608
 
@@ -50527,10 +50696,20 @@ export interface WorkflowStepSplit extends WorkflowStepBase {
50527
50696
  options?: WorkflowStepOptionBase[];
50528
50697
 
50529
50698
  /**
50530
- * If set to true, particants descending the Everyone else branch will exit the flow on this step
50699
+ * If set to true, participants descending the Everyone else branch will exit the flow on this step
50531
50700
  */
50532
50701
  exitFlow?: boolean;
50533
50702
 
50703
+ /**
50704
+ * Flow to add participants to on exit
50705
+ */
50706
+ exitToFlowId?: number;
50707
+
50708
+ /**
50709
+ * Static selection to add participants to on exit
50710
+ */
50711
+ exitToSelectionId?: number;
50712
+
50534
50713
  }
50535
50714
 
50536
50715
 
@@ -50546,9 +50725,19 @@ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
50546
50725
 
50547
50726
 
50548
50727
  /**
50549
- * Fields and values to change
50728
+ * The name/description of this update participant step
50550
50729
  */
50551
- fieldValues?: FieldValue[];
50730
+ description?: string;
50731
+
50732
+ /**
50733
+ * Fields and values to change for persons
50734
+ */
50735
+ fieldValuesPerson?: FieldValueInfo[];
50736
+
50737
+ /**
50738
+ * Fields and values to change for companies
50739
+ */
50740
+ fieldValuesCompany?: FieldValueInfo[];
50552
50741
 
50553
50742
  }
50554
50743
 
@@ -50564,6 +50753,41 @@ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
50564
50753
  export interface WorkflowStepWaitForAction extends WorkflowStepBase {
50565
50754
 
50566
50755
 
50756
+ /**
50757
+ * If set to true, participants timing out will exit the flow
50758
+ */
50759
+ exitFlow?: boolean;
50760
+
50761
+ /**
50762
+ * Flow to add participants to on exit
50763
+ */
50764
+ exitToFlowId?: number;
50765
+
50766
+ /**
50767
+ * Static selection to add participants to on exit
50768
+ */
50769
+ exitToSelectionId?: number;
50770
+
50771
+ /**
50772
+ * The given number of intervals to wait (timeout)
50773
+ */
50774
+ actionTimeout?: number;
50775
+
50776
+ /**
50777
+ * If set to false, participants will wait forever
50778
+ */
50779
+ waitForTimeout?: boolean;
50780
+
50781
+ /**
50782
+ * Interval type (Minutes, days, weeks...)
50783
+ */
50784
+ timeoutIntervalType?: enums.WorkflowTimeWaitIntervalType;
50785
+
50786
+ /**
50787
+ * The actions we are waiting for
50788
+ */
50789
+ actions?: WorkflowWaitForAction[];
50790
+
50567
50791
  }
50568
50792
 
50569
50793
 
@@ -50640,6 +50864,51 @@ export interface WorkflowTrigger extends Carrier {
50640
50864
 
50641
50865
 
50642
50866
 
50867
+ /**
50868
+ * Workflow action info carrier
50869
+ */
50870
+ export interface WorkflowWaitForAction extends Carrier {
50871
+
50872
+
50873
+ /**
50874
+ * Primary key
50875
+ */
50876
+ workflowWaitForActionId?: number;
50877
+
50878
+ /**
50879
+ * The workflow step this instance belongs to
50880
+ */
50881
+ workflowStepId?: number;
50882
+
50883
+ /**
50884
+ * Workflow id
50885
+ */
50886
+ workflowId?: number;
50887
+
50888
+ /**
50889
+ * The rank of this action
50890
+ */
50891
+ rank?: number;
50892
+
50893
+ /**
50894
+ * The type of action
50895
+ */
50896
+ actionType?: enums.WorkflowWaitForActionType;
50897
+
50898
+ /**
50899
+ * The restrictions (can be multiple groups) that make up the Workflow action criteria
50900
+ */
50901
+ restrictionGroups?: ArchiveRestrictionGroup[];
50902
+
50903
+ }
50904
+
50905
+
50906
+
50907
+
50908
+
50909
+
50910
+
50911
+
50643
50912
 
50644
50913
 
50645
50914