@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
@@ -807,7 +807,7 @@ export interface SoPrincipalCarrier {
807
807
  */
808
808
  categoryId?: number;
809
809
  /**
810
- * Owner (AssocaiteId) of the company that the user belongs to.
810
+ * Owner (AssociateId) of the company that the user belongs to.
811
811
  */
812
812
  contactOwner?: number;
813
813
  /**
@@ -2637,45 +2637,28 @@ export interface Quote_RecalculateQuoteLineRequest {
2637
2637
  changedFields: string[];
2638
2638
  }
2639
2639
  /**
2640
- * Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
2641
- * Returns Blob
2640
+ * Converts an xml string into an object representation.
2641
+ * Returns ProductExtraDataField[]
2642
2642
  */
2643
- export interface Quote_GetQuoteLineImageRequest {
2644
- /**
2645
- * Primary key of the quoteline
2646
- */
2647
- quoteLineId: number;
2643
+ export interface Quote_GetExtraInfoRequest {
2648
2644
  /**
2649
- * The rank of the image.
2645
+ * The extra data as xml.
2650
2646
  */
2651
- rank: number;
2647
+ quoteLineExtraData: string;
2652
2648
  }
2653
2649
  /**
2654
- * Saves the image connected to a quoteline in the SuperOffice database
2650
+ * Create and save quotelines based on the product keys added
2651
+ * Returns number
2655
2652
  */
2656
- export interface Quote_SaveQuoteLineImageRequest {
2657
- /**
2658
- * Primary key of the quoteline
2659
- */
2660
- quoteLineId: number;
2653
+ export interface Quote_CreateAndSaveQuoteLinesRequest {
2661
2654
  /**
2662
- * The image.
2663
- */
2664
- image: ArrayBuffer | string;
2665
- /**
2666
- * The rank of the image.
2655
+ * Primary key of the alternative
2667
2656
  */
2668
- rank: number;
2669
- }
2670
- /**
2671
- * Converts an xml string into an object representation.
2672
- * Returns ProductExtraDataField[]
2673
- */
2674
- export interface Quote_GetExtraInfoRequest {
2657
+ quoteAlternativeId: number;
2675
2658
  /**
2676
- * The extra data as xml.
2659
+ * Array of the product keys to add
2677
2660
  */
2678
- quoteLineExtraData: string;
2661
+ erpProductKeys: string[];
2679
2662
  }
2680
2663
  /**
2681
2664
  * QuoteLineConfiguration contains information about which configuration fields that is visible in the GUI. Read only and mandatory fields are also specified.
@@ -2770,33 +2753,6 @@ export interface Quote_SaveQuoteLineConfigurationsRequest {
2770
2753
  */
2771
2754
  quoteLineConfigurations: QuoteLineConfiguration[];
2772
2755
  }
2773
- /**
2774
- * One line in a list
2775
- */
2776
- export interface QuoteListItem extends Carrier {
2777
- /**
2778
- * Primary key for the item.
2779
- */
2780
- erpQuoteListItemKey?: string;
2781
- /**
2782
- * List item text to display.
2783
- */
2784
- displayValue?: string;
2785
- /**
2786
- * Typically used in a tooltip.
2787
- */
2788
- displayDescription?: string;
2789
- }
2790
- /**
2791
- * Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
2792
- * Returns QuoteListItem[]
2793
- */
2794
- export interface Quote_GetQuoteListRequest {
2795
- /**
2796
- * The name of the requested list, for instance: ProductCategory, ProductFamily, ProductType, PaymentTerms, PaymentType, DeliveryTerms, DeliveryType.
2797
- */
2798
- quoteListType: string;
2799
- }
2800
2756
  /**
2801
2757
  * Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments
2802
2758
  */
@@ -5574,6 +5530,24 @@ export interface Person extends Carrier {
5574
5530
  * The category list item name
5575
5531
  */
5576
5532
  categoryName?: string;
5533
+ /**
5534
+ * Alphanumeric user field
5535
+ */
5536
+ personNumber?: string;
5537
+ }
5538
+ /**
5539
+ * Try to add a participant to the EmailFlow, Same function available in WorkflowAgent
5540
+ * Returns boolean[]
5541
+ */
5542
+ export interface Person_TryAddPersonsToEmailFlowRequest {
5543
+ /**
5544
+ * Primary key of EmailFlow
5545
+ */
5546
+ emailFlowId: number;
5547
+ /**
5548
+ * Array of Person Ids
5549
+ */
5550
+ personIds: number[];
5577
5551
  }
5578
5552
  /**
5579
5553
  * The Person Service. The service implements all services working with the Person object.
@@ -5831,6 +5805,10 @@ export interface PersonEntity extends Carrier {
5831
5805
  * Active status monitor identity with the lowest rank for person
5832
5806
  */
5833
5807
  activeStatusMonitorId?: number;
5808
+ /**
5809
+ * The form id of the form that created the person
5810
+ */
5811
+ createdByFormId?: number;
5834
5812
  /**
5835
5813
  * Dictionary of user defined field data.
5836
5814
  * The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
@@ -6193,6 +6171,32 @@ export interface Person_CreateTemporaryKeyRequest {
6193
6171
  */
6194
6172
  expires: Date;
6195
6173
  }
6174
+ /**
6175
+ * 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.
6176
+ * Returns string
6177
+ */
6178
+ export interface Person_CreateTemporaryKeyWithPayloadRequest {
6179
+ /**
6180
+ * The domain this key is for
6181
+ */
6182
+ domain: enums.TemporaryKeyDomain;
6183
+ /**
6184
+ * The primary key of the entity this is for. Depends on domain.
6185
+ */
6186
+ targetId: number;
6187
+ /**
6188
+ * The person this key is for. May be null.
6189
+ */
6190
+ personId: number;
6191
+ /**
6192
+ * When the key will expire (servers local time)
6193
+ */
6194
+ expires: Date;
6195
+ /**
6196
+ * The payload for the temporary key
6197
+ */
6198
+ payload: string;
6199
+ }
6196
6200
  /**
6197
6201
  * Check a temporary key for validity, and in case it is valid, return its domain, targetId and personId
6198
6202
  * Returns TemporaryKeyInfo
@@ -6358,6 +6362,27 @@ export interface Person_GetCustomerCentrePasswordReplyTemplateRequest {
6358
6362
  */
6359
6363
  personId: number;
6360
6364
  }
6365
+ /**
6366
+ * Sends a Customer Centre password email based on the reply template.
6367
+ */
6368
+ export interface Person_SendCustomerCentrePasswordEmailRequest {
6369
+ /**
6370
+ * Person id associated to email's reply template.
6371
+ */
6372
+ personId: number;
6373
+ /**
6374
+ * Sender's email address.
6375
+ */
6376
+ from: string;
6377
+ /**
6378
+ * Recipient's email address.
6379
+ */
6380
+ to: string;
6381
+ /**
6382
+ * Email's subject.
6383
+ */
6384
+ subject: string;
6385
+ }
6361
6386
  /**
6362
6387
  * Inserts into outbox an email with specified details.
6363
6388
  */
@@ -6599,6 +6624,10 @@ export interface TemporaryKeyInfo extends Carrier {
6599
6624
  * Whether the key is expired or not.
6600
6625
  */
6601
6626
  isExpired?: boolean;
6627
+ /**
6628
+ * The payload for this key. May be null or empty.
6629
+ */
6630
+ payload?: string;
6602
6631
  }
6603
6632
  /**
6604
6633
  *
@@ -7025,6 +7054,16 @@ export interface Sale_ValidateSaleEntityRequest {
7025
7054
  */
7026
7055
  saleEntity: SaleEntity;
7027
7056
  }
7057
+ /**
7058
+ * Returns true is the sale has a quote
7059
+ * Returns boolean
7060
+ */
7061
+ export interface Sale_SaleHasQuoteRequest {
7062
+ /**
7063
+ * The id of the sale
7064
+ */
7065
+ saleId: number;
7066
+ }
7028
7067
  /**
7029
7068
  * Returning the opportunities (open sales) belonging to the user currently logged on
7030
7069
  * Returns Sale[]
@@ -7104,6 +7143,19 @@ export interface Sale_SetAsSoldRequest {
7104
7143
  */
7105
7144
  saleIds: number[];
7106
7145
  }
7146
+ /**
7147
+ * Change the status of one or more Sales to Sold. Note that this does not mark them as Completed.
7148
+ */
7149
+ export interface Sale_SetAsSoldWithReasonRequest {
7150
+ /**
7151
+ * Array of sale ids to be marked as lost. All the normal write access rules apply.
7152
+ */
7153
+ saleIds: number[];
7154
+ /**
7155
+ * The ID of the sold reason.
7156
+ */
7157
+ reasonId: number;
7158
+ }
7107
7159
  /**
7108
7160
  * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
7109
7161
  */
@@ -7113,6 +7165,19 @@ export interface Sale_SetAsLostRequest {
7113
7165
  */
7114
7166
  saleIds: number[];
7115
7167
  }
7168
+ /**
7169
+ * Change the status of one or more sales to Lost. Note that this does not affect the Completed state of the sale.
7170
+ */
7171
+ export interface Sale_SetAsLostWithReasonRequest {
7172
+ /**
7173
+ * Array of sale ids to be marked as lost. All normal write access rules apply.
7174
+ */
7175
+ saleIds: number[];
7176
+ /**
7177
+ * The ID of the lost reason.
7178
+ */
7179
+ reasonId: number;
7180
+ }
7116
7181
  /**
7117
7182
  * Returns all sales for the contact provided.
7118
7183
  * Returns Sale[]
@@ -8448,6 +8513,19 @@ export interface ProjectMember extends Carrier {
8448
8513
  */
8449
8514
  fullName?: string;
8450
8515
  }
8516
+ /**
8517
+ * Update existing project members. Not creating new (only projectmember_id > 0 accepted)
8518
+ */
8519
+ export interface Project_UpdateProjectMembersRequest {
8520
+ /**
8521
+ * Project of which members will be updated
8522
+ */
8523
+ projectId: number;
8524
+ /**
8525
+ * Project members to update
8526
+ */
8527
+ projectMembers: ProjectMember[];
8528
+ }
8451
8529
  /**
8452
8530
  * Returns an array of project members
8453
8531
  * Returns ProjectMember[]
@@ -8900,6 +8978,10 @@ export interface Appointment extends Carrier {
8900
8978
  * Status field to indicate appointments that have some sort of problem
8901
8979
  */
8902
8980
  cautionWarning?: enums.AppointmentCautionWarning;
8981
+ /**
8982
+ * Set if an external system owns this appointment.
8983
+ */
8984
+ ownedExternally?: enums.AppointmentExternalOwner;
8903
8985
  /**
8904
8986
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
8905
8987
  */
@@ -9182,6 +9264,10 @@ export interface AppointmentEntity extends Carrier {
9182
9264
  * Status field to indicate appointments that have some sort of problem
9183
9265
  */
9184
9266
  cautionWarning?: enums.AppointmentCautionWarning;
9267
+ /**
9268
+ * Set if an external system owns this appointment.
9269
+ */
9270
+ ownedExternally?: enums.AppointmentExternalOwner;
9185
9271
  /**
9186
9272
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
9187
9273
  */
@@ -9500,6 +9586,46 @@ export interface Appointment_MoveRequest {
9500
9586
  */
9501
9587
  updateMode: enums.RecurrenceUpdateMode;
9502
9588
  }
9589
+ /**
9590
+ * Moving a booking to another start time.
9591
+ * Returns AppointmentEntity
9592
+ */
9593
+ export interface Appointment_MoveWithEmailRequest {
9594
+ /**
9595
+ * The appointmentId. Both master and child record ids are accepted.
9596
+ */
9597
+ appointmentId: number;
9598
+ /**
9599
+ * The new start time for the moved booking.
9600
+ */
9601
+ newStartTime: Date;
9602
+ /**
9603
+ * Update mode for a recurring appointment.
9604
+ */
9605
+ updateMode: enums.RecurrenceUpdateMode;
9606
+ /**
9607
+ * 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.
9608
+ */
9609
+ sendEmailToParticipants: boolean;
9610
+ /**
9611
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
9612
+ */
9613
+ smtpEMailConnectionInfo: EMailConnectionInfo;
9614
+ /**
9615
+ * Login information for imap server. Will be null if no login information is relevant.
9616
+ */
9617
+ imapEMailConnectionInfo: EMailConnectionInfo;
9618
+ }
9619
+ /**
9620
+ * Moving a booking to another start time and with new info and possibly notifications.
9621
+ * Returns AppointmentEntity
9622
+ */
9623
+ export interface Appointment_MoveExtendedRequest {
9624
+ /**
9625
+ * Move parameter data.
9626
+ */
9627
+ appointmentMoveData: AppointmentMoveData;
9628
+ }
9503
9629
  /**
9504
9630
  * Accept that an invited participant has rejected your invitation or assignment.
9505
9631
  * Returns AppointmentEntity
@@ -9839,6 +9965,16 @@ export interface Appointment_SaveWithCustomInvitationRequest {
9839
9965
  */
9840
9966
  templateLanguage: string;
9841
9967
  }
9968
+ /**
9969
+ * Convert appointment to task if certain criteria are met (participants < 2)
9970
+ * Returns AppointmentEntity
9971
+ */
9972
+ export interface Appointment_ConvertAppointmentToTaskRequest {
9973
+ /**
9974
+ * Appointment ID
9975
+ */
9976
+ appointmentId: number;
9977
+ }
9842
9978
  /**
9843
9979
  * Info about an appointment
9844
9980
  */
@@ -9867,6 +10003,18 @@ export interface AppointmentInfo extends Carrier {
9867
10003
  * The color index of the appointment (task)
9868
10004
  */
9869
10005
  colorIndex?: enums.ColorIndex;
10006
+ /**
10007
+ * The name of the appointment task type
10008
+ */
10009
+ taskName?: string;
10010
+ /**
10011
+ * The name of the appointment contact.
10012
+ */
10013
+ contactName?: string;
10014
+ /**
10015
+ * The name of the appointment project
10016
+ */
10017
+ projectName?: string;
9870
10018
  /**
9871
10019
  * The appointment title (first line of appointment description)
9872
10020
  */
@@ -9891,6 +10039,46 @@ export interface AppointmentInfo extends Carrier {
9891
10039
  * True if the appointment has a video link
9892
10040
  */
9893
10041
  isVideoMeeting?: boolean;
10042
+ /**
10043
+ * True if the appointment has alarm
10044
+ */
10045
+ hasAlarm?: boolean;
10046
+ /**
10047
+ * True if the appointment is completed
10048
+ */
10049
+ isCompleted?: boolean;
10050
+ /**
10051
+ * True if the appointment is tentative
10052
+ */
10053
+ isTentative?: boolean;
10054
+ /**
10055
+ * True if the appointment is a main booking
10056
+ */
10057
+ isBookingMain?: boolean;
10058
+ /**
10059
+ * True if the appointment record has the email flag set
10060
+ */
10061
+ sendEmail?: boolean;
10062
+ /**
10063
+ * True if any of the appointment records has the email flag set
10064
+ */
10065
+ anySendEmail?: boolean;
10066
+ /**
10067
+ * True if only visible for the owner
10068
+ */
10069
+ isPrivate?: boolean;
10070
+ /**
10071
+ * The recurrence info if the appointment is recurring
10072
+ */
10073
+ recurrenceInfo?: RecurrenceInfo;
10074
+ /**
10075
+ * The name of the appointment person.
10076
+ */
10077
+ personName?: string;
10078
+ /**
10079
+ * True if the appointment is part of a booking
10080
+ */
10081
+ isBooking?: boolean;
9894
10082
  }
9895
10083
  /**
9896
10084
  * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
@@ -10622,6 +10810,86 @@ export interface Appointment_UpdateAppointmentRequest {
10622
10810
  */
10623
10811
  associateId: number;
10624
10812
  }
10813
+ /**
10814
+ * Updates an appointment record, taking the given recurrence update mode into account.
10815
+ * Returns Appointment
10816
+ */
10817
+ export interface Appointment_UpdateAppointmentWithModeRequest {
10818
+ /**
10819
+ *
10820
+ */
10821
+ id: number;
10822
+ /**
10823
+ *
10824
+ */
10825
+ startTime: Date;
10826
+ /**
10827
+ *
10828
+ */
10829
+ endTime: Date;
10830
+ /**
10831
+ *
10832
+ */
10833
+ status: enums.AppointmentStatus;
10834
+ /**
10835
+ *
10836
+ */
10837
+ type: enums.AppointmentType;
10838
+ /**
10839
+ * The appointment owner's id (associate id)
10840
+ */
10841
+ associateId: number;
10842
+ /**
10843
+ * Update mode for recurrence.
10844
+ */
10845
+ updateMode: enums.RecurrenceUpdateMode;
10846
+ }
10847
+ /**
10848
+ * Updates an appointment record, taking the given recurrence update mode into account, possibly sending notification emails.
10849
+ * Returns Appointment
10850
+ */
10851
+ export interface Appointment_UpdateAppointmentWithModeAndEmailRequest {
10852
+ /**
10853
+ *
10854
+ */
10855
+ id: number;
10856
+ /**
10857
+ *
10858
+ */
10859
+ startTime: Date;
10860
+ /**
10861
+ *
10862
+ */
10863
+ endTime: Date;
10864
+ /**
10865
+ *
10866
+ */
10867
+ status: enums.AppointmentStatus;
10868
+ /**
10869
+ *
10870
+ */
10871
+ type: enums.AppointmentType;
10872
+ /**
10873
+ * The appointment owner's id (associate id)
10874
+ */
10875
+ associateId: number;
10876
+ /**
10877
+ * Update mode for recurrence.
10878
+ */
10879
+ updateMode: enums.RecurrenceUpdateMode;
10880
+ /**
10881
+ * 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.
10882
+ */
10883
+ sendEmailToParticipants: boolean;
10884
+ /**
10885
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
10886
+ */
10887
+ smtpEMailConnectionInfo: EMailConnectionInfo;
10888
+ /**
10889
+ * Login information for imap server. Will be null if no login information is relevant.
10890
+ */
10891
+ imapEMailConnectionInfo: EMailConnectionInfo;
10892
+ }
10625
10893
  /**
10626
10894
  * Fetch appointments for given associates
10627
10895
  * Returns Appointment[]
@@ -10672,6 +10940,43 @@ export interface Appointment_GetAppointmentRecordsRequest {
10672
10940
  */
10673
10941
  recurrenceRuleId: number;
10674
10942
  }
10943
+ /**
10944
+ * Parameter data for moving an appointment.
10945
+ */
10946
+ export interface AppointmentMoveData extends Carrier {
10947
+ /**
10948
+ * The appointmentId. Both master and child record ids are accepted.
10949
+ */
10950
+ appointmentId?: number;
10951
+ /**
10952
+ * The new start time for the moved booking.
10953
+ */
10954
+ newStartTime?: Date;
10955
+ /**
10956
+ * Update mode for a recurring appointment.
10957
+ */
10958
+ updateMode?: enums.RecurrenceUpdateMode;
10959
+ /**
10960
+ * 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.
10961
+ */
10962
+ sendEmailToParticipants?: boolean;
10963
+ /**
10964
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
10965
+ */
10966
+ smtpEMailConnectionInfo?: EMailConnectionInfo;
10967
+ /**
10968
+ * Login information for imap server. Will be null if no login information is relevant.
10969
+ */
10970
+ imapEMailConnectionInfo?: EMailConnectionInfo;
10971
+ /**
10972
+ * If true, the appointment should be set to all day
10973
+ */
10974
+ isAlldayEvent?: boolean;
10975
+ /**
10976
+ * If true, the time is free (not busy).
10977
+ */
10978
+ isFree?: boolean;
10979
+ }
10675
10980
  /**
10676
10981
  * This class contains the updated appointment entity and a flag for if any emails were queued when saving
10677
10982
  */
@@ -11407,7 +11712,7 @@ export interface SuggestedAppointmentEntity extends Carrier {
11407
11712
  /**
11408
11713
  * Type of the suggested appointment
11409
11714
  */
11410
- type?: Task;
11715
+ type?: SoTask;
11411
11716
  }
11412
11717
  /**
11413
11718
  *
@@ -11476,6 +11781,34 @@ export interface Appointment_GetTaskListItemsRequest {
11476
11781
  */
11477
11782
  includeDeleted: boolean;
11478
11783
  }
11784
+ /**
11785
+ * VideoMeetingReservation - Create or delete a VideoMeetingReservation. The VideoMeetingReservation.MeetingId can be linked to an Appointment
11786
+ */
11787
+ export interface VideoMeetingReservation extends Carrier {
11788
+ /**
11789
+ * The ID for the meeting, as considered from the central meeting service, not SO
11790
+ */
11791
+ videoMeetingId?: string;
11792
+ /**
11793
+ * The URL for the meeting.
11794
+ */
11795
+ videoMeetingUrl?: string;
11796
+ }
11797
+ /**
11798
+ * Create a VideoMeetingReservation. System users are not allowed to create video meeting reservations
11799
+ * Returns VideoMeetingReservation
11800
+ */
11801
+ export interface Appointment_CreateVideoMeetingReservationRequest {
11802
+ }
11803
+ /**
11804
+ * Delete a VideoMeetingReservation.
11805
+ */
11806
+ export interface Appointment_DeleteVideoMeetingReservationRequest {
11807
+ /**
11808
+ * The VideoMeetingReservation.VideoMeetingId to remove. System users are not allowed to delete video meeting reservations
11809
+ */
11810
+ videoMeetingId: string;
11811
+ }
11479
11812
  /**
11480
11813
  *
11481
11814
  */
@@ -13289,6 +13622,24 @@ export interface Document_CopyDocumentToCsAttachmentRequest {
13289
13622
  */
13290
13623
  documentId: number;
13291
13624
  }
13625
+ /**
13626
+ * Saves a pdf stream, assigns file name, connects to given contact etc.
13627
+ * Returns number
13628
+ */
13629
+ export interface Document_SavePrivacyReportPdfRequest {
13630
+ /**
13631
+ * The pdf document as a stream.
13632
+ */
13633
+ stream: ArrayBuffer | string;
13634
+ /**
13635
+ * Title of report
13636
+ */
13637
+ title: string;
13638
+ /**
13639
+ * Person id associated with the report
13640
+ */
13641
+ personId: number;
13642
+ }
13292
13643
  /**
13293
13644
  * Get all documents that are linked to the appointment. I.e. the documents that are listed in the appointment dialog.
13294
13645
  * Returns Document[]
@@ -17116,7 +17467,7 @@ export interface Tag extends Carrier {
17116
17467
  /**
17117
17468
  * Type of an appointment
17118
17469
  */
17119
- export interface Task extends Carrier {
17470
+ export interface SoTask extends Carrier {
17120
17471
  /**
17121
17472
  * The list item Id
17122
17473
  */
@@ -17132,7 +17483,7 @@ export interface Task extends Carrier {
17132
17483
  }
17133
17484
  /**
17134
17485
  * Returns a Document Template list item as a TaskListItem. The appointment's task is a Document template item when the appointment is a document.
17135
- * Returns Task
17486
+ * Returns SoTask
17136
17487
  */
17137
17488
  export interface List_GetDocumentTemplateTaskRequest {
17138
17489
  /**
@@ -17142,13 +17493,13 @@ export interface List_GetDocumentTemplateTaskRequest {
17142
17493
  }
17143
17494
  /**
17144
17495
  * Returns all appointment tasks
17145
- * Returns Task[]
17496
+ * Returns SoTask[]
17146
17497
  */
17147
17498
  export interface List_GetTasksRequest {
17148
17499
  }
17149
17500
  /**
17150
17501
  * The appointment's task is a Document template item when the appointment is a document.
17151
- * Returns Task[]
17502
+ * Returns SoTask[]
17152
17503
  */
17153
17504
  export interface List_GetDocumentTemplatesTasksRequest {
17154
17505
  }
@@ -17635,21 +17986,61 @@ export interface List_SetTicketStatusSortOrderRequest {
17635
17986
  export interface List_GetTicketStatusesRequest {
17636
17987
  }
17637
17988
  /**
17638
- * Trivial TicketType information for filling selector values
17989
+ * Ticket Type - light read-only version of TicketTypeEntity.
17639
17990
  */
17640
17991
  export interface TicketType extends Carrier {
17641
17992
  /**
17642
- * The list item Id
17993
+ * Primary key
17643
17994
  */
17644
- id: number;
17995
+ ticketTypeId?: number;
17645
17996
  /**
17646
- * The list item Value
17997
+ * The list item
17647
17998
  */
17648
- value?: string;
17999
+ name?: string;
17649
18000
  /**
17650
- * The list item Tooltip
18001
+ * Name of the icon
17651
18002
  */
17652
- tooltip?: string;
18003
+ icon?: string;
18004
+ /**
18005
+ * Default ticket status for new tickets
18006
+ */
18007
+ defaultTicketStatus?: number;
18008
+ /**
18009
+ * Default ticket priority for new tickets
18010
+ */
18011
+ defaultTicketPriority?: number;
18012
+ /**
18013
+ * Is this Ticket Type marked as default
18014
+ */
18015
+ isDefault?: boolean;
18016
+ /**
18017
+ * Enables this request type to be accessible in +New in top bar
18018
+ */
18019
+ showInNew?: boolean;
18020
+ /**
18021
+ * Do not insert user signature automatically
18022
+ */
18023
+ excludeSignature?: boolean;
18024
+ /**
18025
+ * Create request without initially having to send outbound e-mail
18026
+ */
18027
+ excludeEmailRecipients?: boolean;
18028
+ /**
18029
+ * Ability to set external access level for this request type
18030
+ */
18031
+ externalAsDefault?: boolean;
18032
+ /**
18033
+ * Array of references to the visible for groups
18034
+ */
18035
+ visibleForGroups?: number[];
18036
+ /**
18037
+ * Do not insert user signature when replying or forwarding the message
18038
+ */
18039
+ replyForwardNoSignature?: boolean;
18040
+ /**
18041
+ * Set external access level when replying the message
18042
+ */
18043
+ replyExternalAsDefault?: boolean;
17653
18044
  }
17654
18045
  /**
17655
18046
  * Entity for a ticket (Request) type. This enables having diversified tickets needed for a specific process.
@@ -17703,12 +18094,34 @@ export interface TicketTypeEntity extends Carrier {
17703
18094
  * Is this Ticket Type marked as default
17704
18095
  */
17705
18096
  isDefault?: boolean;
17706
- }
17707
- /**
17708
- * Get all TicketTypeEntities
17709
- * Returns TicketTypeEntity[]
17710
- */
17711
- export interface List_GetAllTicketTypeEntitiesRequest {
18097
+ /**
18098
+ * Enables this request type to be accessible in +New in top bar
18099
+ */
18100
+ showInNew?: boolean;
18101
+ /**
18102
+ * Do not insert user signature automatically
18103
+ */
18104
+ excludeSignature?: boolean;
18105
+ /**
18106
+ * Create request without initially having to send outbound e-mail
18107
+ */
18108
+ excludeEmailRecipients?: boolean;
18109
+ /**
18110
+ * Ability to set external access level for this request type
18111
+ */
18112
+ externalAsDefault?: boolean;
18113
+ /**
18114
+ * Array of references to the visible for groups
18115
+ */
18116
+ visibleForGroups?: number[];
18117
+ /**
18118
+ * Do not insert user signature when replying or forwarding the message
18119
+ */
18120
+ replyForwardNoSignature?: boolean;
18121
+ /**
18122
+ * Set external access level when replying the message
18123
+ */
18124
+ replyExternalAsDefault?: boolean;
17712
18125
  }
17713
18126
  /**
17714
18127
  * Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
@@ -17723,9 +18136,22 @@ export interface List_GlobalChangeTicketTypeRequest {
17723
18136
  */
17724
18137
  toTicketTypeId: number;
17725
18138
  }
18139
+ /**
18140
+ * This method will set sort order of ticket type in a list
18141
+ */
18142
+ export interface List_SetTicketTypeSortOrderRequest {
18143
+ /**
18144
+ * Id of ticket type
18145
+ */
18146
+ ticketTypeId: number;
18147
+ /**
18148
+ * Indicates the sort order for this ticket type. 1 is first. Any records following this one will be renumbered automatically
18149
+ */
18150
+ sortOrder: number;
18151
+ }
17726
18152
  /**
17727
18153
  * Get all TicketTypes
17728
- * Returns TicketType[]
18154
+ * Returns TicketTypeEntity[]
17729
18155
  */
17730
18156
  export interface List_GetTicketTypesRequest {
17731
18157
  }
@@ -17817,6 +18243,10 @@ export interface WebPanelEntity extends Carrier {
17817
18243
  * If set to true, the content will reload every time the panel is shown
17818
18244
  */
17819
18245
  alwaysReloadOnShow?: boolean;
18246
+ /**
18247
+ * If set to true, the content will not reload on current changes, only applies to sidepanels
18248
+ */
18249
+ neverReloadOnCurrentChange?: boolean;
17820
18250
  }
17821
18251
  /**
17822
18252
  * This methods generates the navigation URL to be used to navigate to the panel
@@ -18160,29 +18590,6 @@ export interface BLOB_GetQuoteLineImageRequest {
18160
18590
  */
18161
18591
  quoteLineId: number;
18162
18592
  }
18163
- /**
18164
- * 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
18165
- * Returns string
18166
- */
18167
- export interface BLOB_GetAppDataRequest {
18168
- /**
18169
- * The key string, less than 200 characters. Must be unique within each application.
18170
- */
18171
- key: string;
18172
- }
18173
- /**
18174
- * 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.
18175
- */
18176
- export interface BLOB_SetAppDataRequest {
18177
- /**
18178
- * The key string, less than 200 characters. Must be unique within each application.
18179
- */
18180
- key: string;
18181
- /**
18182
- * The applications value, suggested to be a JSON, XML or other readable structure
18183
- */
18184
- data: string;
18185
- }
18186
18593
  /**
18187
18594
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
18188
18595
  * Returns Blob
@@ -18419,7 +18826,7 @@ export interface MDO_GetListWithRestrictionRequest {
18419
18826
  */
18420
18827
  export interface MDO_GetSimpleListRequest {
18421
18828
  /**
18422
- * Conceptual name of the MDO list-
18829
+ * Conceptual name of the MDO list.
18423
18830
  */
18424
18831
  name: string;
18425
18832
  }
@@ -18801,6 +19208,16 @@ export interface Configuration_SetAppliesToKeyRequest {
18801
19208
  */
18802
19209
  export interface Configuration_GetRecipeAppliesToMappingsRequest {
18803
19210
  }
19211
+ /**
19212
+ * Flush and rebuild CustomObjectArchivePanel deltas.
19213
+ */
19214
+ export interface Configuration_RebuildCustomObjectArchivePanelDeltasRequest {
19215
+ }
19216
+ /**
19217
+ * Flush and rebuild TaskMenu deltas.
19218
+ */
19219
+ export interface Configuration_RebuildTaskMenuDeltasRequest {
19220
+ }
18804
19221
  /**
18805
19222
  * 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.
18806
19223
  */
@@ -19393,6 +19810,21 @@ export interface ViewState_DeleteHistoryRequest {
19393
19810
  */
19394
19811
  id: number;
19395
19812
  }
19813
+ /**
19814
+ * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
19815
+ * Returns number
19816
+ */
19817
+ export interface ViewState_GetHistoryLengthPrefValueRequest {
19818
+ }
19819
+ /**
19820
+ * Set the logged on user's preferred history list length.
19821
+ */
19822
+ export interface ViewState_SetHistoryLengthPrefValueRequest {
19823
+ /**
19824
+ * The new history list lenght
19825
+ */
19826
+ length: number;
19827
+ }
19396
19828
  /**
19397
19829
  * Returns all history items that belong to the currently logged in user
19398
19830
  * Returns History[]
@@ -19433,21 +19865,6 @@ export interface ViewState_SaveHistoriesRequest {
19433
19865
  */
19434
19866
  history: History[];
19435
19867
  }
19436
- /**
19437
- * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
19438
- * Returns number
19439
- */
19440
- export interface ViewState_GetHistoryLengthPrefValueRequest {
19441
- }
19442
- /**
19443
- * Set the logged on user's preferred history list length.
19444
- */
19445
- export interface ViewState_SetHistoryLengthPrefValueRequest {
19446
- /**
19447
- * The new history list lenght
19448
- */
19449
- length: number;
19450
- }
19451
19868
  /**
19452
19869
  * 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.
19453
19870
  * Returns History[]
@@ -19687,6 +20104,29 @@ export interface Diagnostics_GetCacheStateRequest {
19687
20104
  */
19688
20105
  cacheNames: string[];
19689
20106
  }
20107
+ /**
20108
+ *
20109
+ */
20110
+ export interface CacheInvalidation {
20111
+ /**
20112
+ * The (unique!) name of the cache, which is often, but not always, the same as a physical table name
20113
+ */
20114
+ name?: string;
20115
+ /**
20116
+ * The 'generation number', starts at 1 and goes up for every registered change
20117
+ */
20118
+ generation?: number;
20119
+ }
20120
+ /**
20121
+ * Get generation for provided names
20122
+ * Returns CacheInvalidation[]
20123
+ */
20124
+ export interface Diagnostics_GetCacheInvalidationGenerationsRequest {
20125
+ /**
20126
+ * Name of caches
20127
+ */
20128
+ names: string[];
20129
+ }
19690
20130
  /**
19691
20131
  *
19692
20132
  */
@@ -19793,6 +20233,109 @@ export interface Diagnostics_CollectTableSizesRequest {
19793
20233
  */
19794
20234
  export interface Diagnostics_ResyncUsersRequest {
19795
20235
  }
20236
+ /**
20237
+ * System Message to be displayed to a user
20238
+ */
20239
+ export interface SystemMessage extends Carrier {
20240
+ /**
20241
+ * Primary key
20242
+ */
20243
+ messageId?: number;
20244
+ /**
20245
+ * The associate that is the target of this message
20246
+ */
20247
+ associateId?: number;
20248
+ /**
20249
+ * The online app that owns this message
20250
+ */
20251
+ onlineappId?: number;
20252
+ /**
20253
+ * Message identifier, used for message update or removal
20254
+ */
20255
+ systemMessageId?: string;
20256
+ /**
20257
+ * Markdown message to be displayed to user
20258
+ */
20259
+ markdownMessage?: string;
20260
+ /**
20261
+ * The date and time the message expires
20262
+ */
20263
+ expire?: Date;
20264
+ /**
20265
+ * Type of message, example: info, warning, error
20266
+ */
20267
+ type?: enums.SystemMessageType;
20268
+ }
20269
+ /**
20270
+ * Adds a system message for a specific associate.
20271
+ */
20272
+ export interface Diagnostics_SendSystemMessageRequest {
20273
+ /**
20274
+ * The message string id
20275
+ */
20276
+ systemMessageId: string;
20277
+ /**
20278
+ * The associateId of the message target.
20279
+ */
20280
+ associateId: number;
20281
+ /**
20282
+ * Markdown message to be displayed to the user
20283
+ */
20284
+ markdownMessage: string;
20285
+ /**
20286
+ * When the message will no longer be available
20287
+ */
20288
+ expire: Date;
20289
+ /**
20290
+ * Type of message, example: info, warning, error
20291
+ */
20292
+ type: enums.SystemMessageType;
20293
+ }
20294
+ /**
20295
+ * Removes a system message for current associate
20296
+ */
20297
+ export interface Diagnostics_RemoveSystemMessageRequest {
20298
+ /**
20299
+ * Id of the online app that owns this message
20300
+ */
20301
+ onlineappId: number;
20302
+ /**
20303
+ * Message identifier, used for message removal
20304
+ */
20305
+ systemMessageId: string;
20306
+ }
20307
+ /**
20308
+ * Removes a system message for specific associate.
20309
+ */
20310
+ export interface Diagnostics_RemoveSystemMessageForAssociateRequest {
20311
+ /**
20312
+ * Id of the online app that owns this message
20313
+ */
20314
+ onlineappId: number;
20315
+ /**
20316
+ * Message identifier, used for message update or removal
20317
+ */
20318
+ systemMessageId: string;
20319
+ /**
20320
+ * The associateId of the message target.
20321
+ */
20322
+ associateId: number;
20323
+ }
20324
+ /**
20325
+ * Retrieves a list of system messages for a specific associate.
20326
+ * Returns SystemMessage[]
20327
+ */
20328
+ export interface Diagnostics_GetSystemMessagesRequest {
20329
+ /**
20330
+ * The associateId of the message target.
20331
+ */
20332
+ associateId: number;
20333
+ }
20334
+ /**
20335
+ * Deletes expired system messages.
20336
+ */
20337
+ export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
20338
+ }
19796
20339
  /**
19797
20340
  * Operations related to installation, upgrade and maintenance
19798
20341
  */
@@ -19804,6 +20347,15 @@ export interface Installation extends Carrier {
19804
20347
  */
19805
20348
  export interface Diagnostics_PerformTasksAfterUpgradeRequest {
19806
20349
  }
20350
+ /**
20351
+ * A temporary method to be used from c++ until CustomObjectsAgent.DeleteTable implemented in NetServer
20352
+ */
20353
+ export interface Diagnostics_PerformTasksAfterCustomObjectTableDeletedRequest {
20354
+ /**
20355
+ * Name of DB table of the custom object that was deleted. E.g., 'y_car'
20356
+ */
20357
+ tableName: string;
20358
+ }
19807
20359
  /**
19808
20360
  *
19809
20361
  */
@@ -19912,144 +20464,6 @@ export interface Previews_GetPreviewRequest {
19912
20464
  */
19913
20465
  previewHint: string;
19914
20466
  }
19915
- /**
19916
- * Settings specifying what selection to perform the mailmerge on, what merge document to use etc.
19917
- */
19918
- export interface MailMergeSettings extends Carrier {
19919
- /**
19920
- * Identity of selection to use as source for recipients.
19921
- */
19922
- selectionId?: number;
19923
- /**
19924
- * Identity of document to be used as merge draft.
19925
- */
19926
- documentId?: number;
19927
- /**
19928
- * How the merged document is delivered to the recipients.
19929
- */
19930
- mailMergeDeliveryType?: enums.EMailMergeTargetType;
19931
- /**
19932
- * Custom value for attention.
19933
- */
19934
- customAttention?: string;
19935
- /**
19936
- * Should custom attention always be used? If false, only use custom attention where there is no default.
19937
- */
19938
- alwaysUseCustomAttention?: boolean;
19939
- /**
19940
- * Should we save a reference to the merge document on each recipient.
19941
- */
19942
- saveDocument?: boolean;
19943
- /**
19944
- * If specified, use this value as default mail body.
19945
- */
19946
- customMailBody?: string;
19947
- /**
19948
- * If specified, register a task on recipients using properties from this object.
19949
- */
19950
- taskEntity?: MailMergeTask;
19951
- /**
19952
- * Add this company interest to each company recipient.
19953
- */
19954
- addCompanyInterest?: number;
19955
- /**
19956
- * Add this person interest to each person recipient.
19957
- */
19958
- addPersonInterest?: number;
19959
- /**
19960
- * Remove this company interest on each company recipient.
19961
- */
19962
- removeCompanyInterest?: number;
19963
- /**
19964
- * Remove this person interest on each person recipient.
19965
- */
19966
- removePersonInterest?: number;
19967
- /**
19968
- * Include recipients that are marked with NoMailings
19969
- */
19970
- includeNoMailingsRecipient?: boolean;
19971
- /**
19972
- * If true, do the merge task, but use current user as target, instead of selection members
19973
- */
19974
- testOnly?: boolean;
19975
- /**
19976
- * Identity of project to use as source for recipients.
19977
- */
19978
- projectId?: number;
19979
- /**
19980
- * Include recipients that are marked as retired
19981
- */
19982
- includeRetiredRecipients?: boolean;
19983
- /**
19984
- * Include recipients that are marked with stop
19985
- */
19986
- includeStoppedRecipients?: boolean;
19987
- /**
19988
- * If specified, use this value as default mail subject.
19989
- */
19990
- customMailSubject?: string;
19991
- /**
19992
- * Used to store additional information for the delivery systems.
19993
- */
19994
- extraInfo?: string;
19995
- /**
19996
- *
19997
- */
19998
- synchronous?: boolean;
19999
- /**
20000
- * If true, the selection is a temporary selection that can be deleted later.
20001
- */
20002
- isTemporarySelection?: boolean;
20003
- }
20004
- /**
20005
- * Properties describing a task to create on recipients of a mail merge
20006
- */
20007
- export interface MailMergeTask extends Carrier {
20008
- /**
20009
- * Project identity to set on task
20010
- */
20011
- projectId?: number;
20012
- /**
20013
- * Type identity to set on task
20014
- */
20015
- typeId?: number;
20016
- /**
20017
- * When the task should start
20018
- */
20019
- startDate?: Date;
20020
- /**
20021
- * Duration of task
20022
- */
20023
- duration?: number;
20024
- /**
20025
- * Text describing task
20026
- */
20027
- description?: string;
20028
- /**
20029
- * Priority of task
20030
- */
20031
- priorityId?: number;
20032
- /**
20033
- * Who the task should be visible for
20034
- */
20035
- visibleFor?: VisibleFor;
20036
- /**
20037
- * Completed status for task
20038
- */
20039
- completed?: enums.ActivityStatus;
20040
- /**
20041
- * Associate identity of who should be set as owner of the task. If value is 0, the recipient owner(our contact) will be used.
20042
- */
20043
- ownerAssociateId?: number;
20044
- /**
20045
- * Should we only create one task on each company? If false, separate tasks will be created for all persons from the same company.
20046
- */
20047
- singleEntryOnEachCompany?: boolean;
20048
- /**
20049
- * Sale identity to set on task
20050
- */
20051
- saleId?: number;
20052
- }
20053
20467
  /**
20054
20468
  *
20055
20469
  */
@@ -20262,16 +20676,6 @@ export interface Selection_CreateTemporaryContactSelectionFromContactPersonIdsRe
20262
20676
  */
20263
20677
  contactPersonIds: ContactPersonId[];
20264
20678
  }
20265
- /**
20266
- * Creates a temporary selection with members from an existing project.
20267
- * Returns SelectionEntity
20268
- */
20269
- export interface Selection_CreateTemporaryContactSelectionFromProjectMembersRequest {
20270
- /**
20271
- * The id of the project to add members from.
20272
- */
20273
- projectId: number;
20274
- }
20275
20679
  /**
20276
20680
  * Copy contact selection members from selection into an existing selection.
20277
20681
  */
@@ -20505,15 +20909,6 @@ export interface Selection_ExportSelectionMembersWithOrderByRequest {
20505
20909
  */
20506
20910
  orderBy: string;
20507
20911
  }
20508
- /**
20509
- * Start a mailmerge operation with specified settings.
20510
- */
20511
- export interface Selection_StartMailMergeRequest {
20512
- /**
20513
- * All settings needed to perform the mailmerge operation.
20514
- */
20515
- settings: MailMergeSettings;
20516
- }
20517
20912
  /**
20518
20913
  * Set which duplicate rules should be active or not
20519
20914
  */
@@ -20825,6 +21220,15 @@ export interface Selection_SetDynamicSelectionCriteriaGroupsRequest {
20825
21220
  */
20826
21221
  criteria: ArchiveRestrictionGroup[];
20827
21222
  }
21223
+ /**
21224
+ * Deletes the SelectionEntity
21225
+ */
21226
+ export interface Selection_DeleteSelectionEntityRequest {
21227
+ /**
21228
+ * The identity of the SelectionEntity
21229
+ */
21230
+ selectionEntityId: number;
21231
+ }
20828
21232
  /**
20829
21233
  * Provider name and selection id for a Find temporary selection
20830
21234
  */
@@ -21056,6 +21460,14 @@ export interface EMailAccount extends Carrier {
21056
21460
  * Sent email folder name if available in the db
21057
21461
  */
21058
21462
  sentFolder?: string;
21463
+ /**
21464
+ * Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
21465
+ */
21466
+ simpleMode?: number;
21467
+ /**
21468
+ * When we last fetched email
21469
+ */
21470
+ lastFetch?: Date;
21059
21471
  }
21060
21472
  /**
21061
21473
  * Returns the email account corresponding to this email address (for the current associate).
@@ -22171,6 +22583,38 @@ export interface EMail_SaveEmailToTmpDocumentRequest {
22171
22583
  */
22172
22584
  stripAttachments: boolean;
22173
22585
  }
22586
+ /**
22587
+ * Save the Email from the server as a document file connected to existing document
22588
+ * Returns DocumentEntity
22589
+ */
22590
+ export interface EMail_CreateNewPhysicalDocumentFromEmailAttachmentRequest {
22591
+ /**
22592
+ * The document ID int the DB
22593
+ */
22594
+ documentId: number;
22595
+ /**
22596
+ * The emails ID int the DB
22597
+ */
22598
+ emailItemId: number;
22599
+ /**
22600
+ * Id string of the attachment
22601
+ */
22602
+ attachmentId: string;
22603
+ }
22604
+ /**
22605
+ * Save the Email from the server as a document file connected to existing document
22606
+ * Returns DocumentEntity
22607
+ */
22608
+ export interface EMail_CreateNewPhysicalDocumentFromEmailRequest {
22609
+ /**
22610
+ * The document ID int the DB
22611
+ */
22612
+ documentId: number;
22613
+ /**
22614
+ * The emails ID in the DB
22615
+ */
22616
+ emailItemId: number;
22617
+ }
22174
22618
  /**
22175
22619
  * Save the Email entity to the drafts folder
22176
22620
  * Returns EMailEntity
@@ -22526,13 +22970,13 @@ export interface SyncUserAccount extends Carrier {
22526
22970
  associateId?: number;
22527
22971
  }
22528
22972
  /**
22529
- * Gets the list of SyncUserAccounts that should be synced.
22973
+ * Gets the list of SyncUserAccounts that should be synced, from mail server to SuperOffice database cache.
22530
22974
  * Returns SyncUserAccount[]
22531
22975
  */
22532
22976
  export interface EMail_GetReadySyncEmailAccountsRequest {
22533
22977
  }
22534
22978
  /**
22535
- * Sync the given account
22979
+ * 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.
22536
22980
  */
22537
22981
  export interface EMail_SyncEmailAccountRequest {
22538
22982
  /**
@@ -22541,7 +22985,7 @@ export interface EMail_SyncEmailAccountRequest {
22541
22985
  syncUserAccount: SyncUserAccount;
22542
22986
  }
22543
22987
  /**
22544
- * Start syncing of the given accounts
22988
+ * 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.
22545
22989
  */
22546
22990
  export interface EMail_SyncEmailAccountsRequest {
22547
22991
  /**
@@ -23637,6 +24081,16 @@ export interface Sentry_CanCreateAppointmentInAssociateDiariesRequest {
23637
24081
  */
23638
24082
  associateIds: number[];
23639
24083
  }
24084
+ /**
24085
+ * 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.
24086
+ * Returns boolean[]
24087
+ */
24088
+ export interface Sentry_CanCreateAppointmentInEachAssociatesDiaryRequest {
24089
+ /**
24090
+ * Array of associate ids to check.
24091
+ */
24092
+ associateIds: number[];
24093
+ }
23640
24094
  /**
23641
24095
  * CanCreateAppointmentInAllDiaries will check if the current associate can create appointments in diaries belonging all other associates. CanCreateAppointmentInAssociateDiaries will only check against associates that are diary owners.
23642
24096
  * Returns boolean
@@ -23722,6 +24176,10 @@ export interface FieldInfoBase {
23722
24176
  * Should this field be shown to external users via customer center?
23723
24177
  */
23724
24178
  isExternal?: boolean;
24179
+ /**
24180
+ * Flag indicating that this field is chosen as DisplayField for a table it belongs
24181
+ */
24182
+ isDisplayField?: boolean;
23725
24183
  /**
23726
24184
  * Tab order, ranking within the custom fields.
23727
24185
  */
@@ -24442,130 +24900,6 @@ export interface UserDefinedFieldInfo_SetPublishStartSystemEventRequest {
24442
24900
  */
24443
24901
  export interface UserDefinedFieldInfo_ClearCachesRequest {
24444
24902
  }
24445
- /**
24446
- *
24447
- */
24448
- export interface ReportEntity extends Carrier {
24449
- /**
24450
- * The id of the report.
24451
- */
24452
- reportId?: number;
24453
- /**
24454
- * The category of the report.
24455
- */
24456
- reportCategory?: enums.ReportCategory;
24457
- /**
24458
- * The description of the report.
24459
- */
24460
- description?: string;
24461
- /**
24462
- * The layout of the report.
24463
- */
24464
- reportLayout?: enums.ReportLayout;
24465
- /**
24466
- * The name of the report
24467
- */
24468
- name?: string;
24469
- /**
24470
- * The owner of the report.
24471
- */
24472
- associateId?: number;
24473
- /**
24474
- * The id of report template.
24475
- */
24476
- templateId?: number;
24477
- /**
24478
- * Is the report published?
24479
- */
24480
- published?: boolean;
24481
- }
24482
- /**
24483
- * Creates the report as favorite. The sourceId is the key to the report that the favorite is based on.
24484
- * Returns ReportEntity
24485
- */
24486
- export interface Report_CreateFavoriteRequest {
24487
- /**
24488
- * The primary key to the report to make the favorite from.
24489
- */
24490
- sourceId: number;
24491
- /**
24492
- * The name of the new favorite.
24493
- */
24494
- name: string;
24495
- /**
24496
- * The description of the new favorite.
24497
- */
24498
- description: string;
24499
- }
24500
- /**
24501
- * Deletes the report favorite.
24502
- */
24503
- export interface Report_DeleteFavoriteRequest {
24504
- /**
24505
- * The id of the report favorite to delete.
24506
- */
24507
- reportEntityId: number;
24508
- }
24509
- /**
24510
- * Updates the favorite.
24511
- * Returns ReportEntity
24512
- */
24513
- export interface Report_UpdateFavoriteRequest {
24514
- /**
24515
- * ReportEntity carrier containg updated data.
24516
- */
24517
- reportEntity: ReportEntity;
24518
- }
24519
- /**
24520
- * Generates the report in PDF format
24521
- * Returns string
24522
- */
24523
- export interface Report_GenerateReportRequest {
24524
- /**
24525
- * The id of the report.
24526
- */
24527
- reportId: number;
24528
- /**
24529
- * The id of the labellayout. Use 0 if the report isn't of type label.
24530
- */
24531
- labelLayoutId: number;
24532
- /**
24533
- * Filename of the report.
24534
- */
24535
- filename: string;
24536
- /**
24537
- * Language to use when generating the report.
24538
- */
24539
- language: string;
24540
- /**
24541
- *
24542
- */
24543
- fileType: string;
24544
- /**
24545
- * Use restrictions to provide additional restrictions when generating the report.
24546
- */
24547
- restrictions: ArchiveRestrictionInfo[];
24548
- }
24549
- /**
24550
- * Takes the input stream and create a report. This stream must be on a valid xml format
24551
- * Returns number
24552
- */
24553
- export interface Report_ImportReportRequest {
24554
- /**
24555
- * The report to import in a correct xml format
24556
- */
24557
- report: string;
24558
- }
24559
- /**
24560
- * Delete the report with the given id
24561
- * Returns boolean
24562
- */
24563
- export interface Report_DeleteReportRequest {
24564
- /**
24565
- * The id of the report to delete
24566
- */
24567
- reportId: number;
24568
- }
24569
24903
  /**
24570
24904
  *
24571
24905
  */
@@ -26206,319 +26540,6 @@ export interface Archive_GetRelatedData2Request {
26206
26540
  */
26207
26541
  fields: string;
26208
26542
  }
26209
- /**
26210
- * An Audience configuration parameter, used for handling Audience application or Web part settings.
26211
- */
26212
- export interface AudienceConfigParameter extends Carrier {
26213
- /**
26214
- * The id of the Audience layout this configuration setting belongs to
26215
- */
26216
- audienceLayoutId?: number;
26217
- /**
26218
- * The name of the configuration parameter
26219
- */
26220
- name?: string;
26221
- /**
26222
- * The value of the configuration parameter
26223
- */
26224
- value?: string;
26225
- /**
26226
- * The date and time the configuration parameter was created
26227
- */
26228
- createdDate?: Date;
26229
- /**
26230
- * The date and time the configuration parameter was last updated
26231
- */
26232
- updatedDate?: Date;
26233
- /**
26234
- * Name of the person that created the configuration parameter
26235
- */
26236
- createdBy?: string;
26237
- /**
26238
- * Name of the person that last updated the configuration parameter
26239
- */
26240
- updatedBy?: string;
26241
- }
26242
- /**
26243
- * Saves an Audience configuration parameter belonging to a Audience layout
26244
- * Returns AudienceConfigParameter
26245
- */
26246
- export interface Audience_SaveConfigParameterRequest {
26247
- /**
26248
- * Name of the Audience layout instance
26249
- */
26250
- layoutName: string;
26251
- /**
26252
- * The Audience configuration parameter to save.
26253
- */
26254
- configParameter: AudienceConfigParameter;
26255
- }
26256
- /**
26257
- * Gets the string value of an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
26258
- * Returns string
26259
- */
26260
- export interface Audience_GetConfigParameterValueRequest {
26261
- /**
26262
- * Name of the Audience layout instance
26263
- */
26264
- layoutName: string;
26265
- /**
26266
- * The name of the Audience configuration parameter
26267
- */
26268
- parameterName: string;
26269
- }
26270
- /**
26271
- * Gets an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
26272
- * Returns AudienceConfigParameter
26273
- */
26274
- export interface Audience_GetConfigParameterRequest {
26275
- /**
26276
- * Name of the Audience layout instance
26277
- */
26278
- layoutName: string;
26279
- /**
26280
- * The name of the Audience configuration parameter
26281
- */
26282
- parameterName: string;
26283
- }
26284
- /**
26285
- * Deletes an Audience configuration parameter belonging to a Audience layout
26286
- */
26287
- export interface Audience_DeleteConfigParameterRequest {
26288
- /**
26289
- * Name of the Audience layout instance
26290
- */
26291
- layoutName: string;
26292
- /**
26293
- * The name of the Audience configuration parameter
26294
- */
26295
- parameterName: string;
26296
- }
26297
- /**
26298
- * Gets an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
26299
- * Returns AudienceConfigParameter
26300
- */
26301
- export interface Audience_GetMyConfigParameterRequest {
26302
- /**
26303
- * The name of the Audience configuration parameter
26304
- */
26305
- parameterName: string;
26306
- }
26307
- /**
26308
- * Gets the string value of an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
26309
- * Returns string
26310
- */
26311
- export interface Audience_GetMyConfigParameterValueRequest {
26312
- /**
26313
- * The name of the Audience configuration parameter
26314
- */
26315
- parameterName: string;
26316
- }
26317
- /**
26318
- * Gets the string value of an Audience configuration parameter with the specified configuration parameter name on the person specified
26319
- * Returns string
26320
- */
26321
- export interface Audience_GetConfigParameterValueOnPersonRequest {
26322
- /**
26323
- * The name of the Audience configuration parameter
26324
- */
26325
- parameterName: string;
26326
- /**
26327
- * Id of the person the parameter belongs to
26328
- */
26329
- personId: number;
26330
- }
26331
- /**
26332
- * Gets an Audience configuration parameter with the specified configuration parameter name on the person specified
26333
- * Returns AudienceConfigParameter
26334
- */
26335
- export interface Audience_GetConfigParameterOnPersonRequest {
26336
- /**
26337
- * The name of the Audience configuration parameter
26338
- */
26339
- parameterName: string;
26340
- /**
26341
- * Id of the person the parameter belongs to
26342
- */
26343
- personId: number;
26344
- }
26345
- /**
26346
- * Gets the Audience configuration parameters belonging to a given Audience layout.
26347
- * Returns AudienceConfigParameter[]
26348
- */
26349
- export interface Audience_GetConfigParametersByLayoutNameRequest {
26350
- /**
26351
- * Name of the Audience layout instance
26352
- */
26353
- layoutName: string;
26354
- }
26355
- /**
26356
- * Gets the Audience configuration parameters belonging to the currently logged on user.
26357
- * Returns AudienceConfigParameter[]
26358
- */
26359
- export interface Audience_GetMyConfigParametersRequest {
26360
- }
26361
- /**
26362
- * Gets the Audience configuration parameters belonging to the person specified
26363
- * Returns AudienceConfigParameter[]
26364
- */
26365
- export interface Audience_GetConfigParametersOnPersonRequest {
26366
- /**
26367
- * Id of the person the parameter belongs to
26368
- */
26369
- personId: number;
26370
- }
26371
- /**
26372
- * 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
26373
- */
26374
- export interface AudienceLayoutEntity extends Carrier {
26375
- /**
26376
- * The Id of the Audience layout
26377
- */
26378
- audienceLayoutId?: number;
26379
- /**
26380
- * The web part layout as a serialized string
26381
- */
26382
- instanceLayout?: string;
26383
- /**
26384
- * Name of the layout instance
26385
- */
26386
- instanceName?: string;
26387
- /**
26388
- * The date and time the Audience layout was created
26389
- */
26390
- createdDate?: Date;
26391
- /**
26392
- * The date and time the Audience layout was last updated
26393
- */
26394
- updatedDate?: Date;
26395
- /**
26396
- * Name of the person that created the Audience layout
26397
- */
26398
- createdBy?: Associate;
26399
- /**
26400
- * Name of the person that last updated the Audience layout
26401
- */
26402
- updatedBy?: Associate;
26403
- }
26404
- /**
26405
- * Gets an Audience layout by it's instance name
26406
- * Returns AudienceLayoutEntity
26407
- */
26408
- export interface Audience_GetAudienceLayoutByNameRequest {
26409
- /**
26410
- * Name of the Audience layout instance
26411
- */
26412
- layoutName: string;
26413
- }
26414
- /**
26415
- * Gets the Audience layout belonging to the currently logged on user.
26416
- * Returns AudienceLayoutEntity
26417
- */
26418
- export interface Audience_GetMyAudienceLayoutRequest {
26419
- }
26420
- /**
26421
- * Gets the Audience layout belonging to the person specified.
26422
- * Returns AudienceLayoutEntity
26423
- */
26424
- export interface Audience_GetAudienceLayoutOnPersonRequest {
26425
- /**
26426
- * The person id
26427
- */
26428
- personId: number;
26429
- }
26430
- /**
26431
- * 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.
26432
- * Returns Blob
26433
- */
26434
- export interface Audience_GetDefaultProjectImageRequest {
26435
- /**
26436
- * Name of the Audience layout instance
26437
- */
26438
- layoutName: string;
26439
- }
26440
- /**
26441
- * 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.
26442
- */
26443
- export interface Audience_SetDefaultProjectImageRequest {
26444
- /**
26445
- * Name of the Audience layout instance
26446
- */
26447
- layoutName: string;
26448
- /**
26449
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
26450
- */
26451
- image: ArrayBuffer | string;
26452
- }
26453
- /**
26454
- * 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.
26455
- */
26456
- export interface Audience_SetDefaultPersonImageRequest {
26457
- /**
26458
- * Name of the Audience layout instance
26459
- */
26460
- layoutName: string;
26461
- /**
26462
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
26463
- */
26464
- image: ArrayBuffer | string;
26465
- }
26466
- /**
26467
- * 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.
26468
- * Returns Blob
26469
- */
26470
- export interface Audience_GetDefaultPersonImageRequest {
26471
- /**
26472
- * Name of the Audience layout instance
26473
- */
26474
- layoutName: string;
26475
- }
26476
- /**
26477
- * 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.
26478
- */
26479
- export interface Audience_SetDefaultCountryFlagRequest {
26480
- /**
26481
- * Name of the Audience layout instance
26482
- */
26483
- layoutName: string;
26484
- /**
26485
- * The default country image to be stored for this Audience layout instance (System.Drawing.Image)
26486
- */
26487
- image: ArrayBuffer | string;
26488
- }
26489
- /**
26490
- * 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.
26491
- * Returns Blob
26492
- */
26493
- export interface Audience_GetDefaultCountryFlagRequest {
26494
- /**
26495
- * Name of the Audience layout instance
26496
- */
26497
- layoutName: string;
26498
- }
26499
- /**
26500
- *
26501
- * Returns Blob
26502
- */
26503
- export interface Audience_GetLogoImageRequest {
26504
- /**
26505
- *
26506
- */
26507
- layoutName: string;
26508
- }
26509
- /**
26510
- *
26511
- */
26512
- export interface Audience_SetLogoImageRequest {
26513
- /**
26514
- *
26515
- */
26516
- layoutName: string;
26517
- /**
26518
- *
26519
- */
26520
- image: ArrayBuffer | string;
26521
- }
26522
26543
  /**
26523
26544
  * One preference item, which contains a specification (section/key), the raw string value, and the level at which this value was found.
26524
26545
  */
@@ -27193,6 +27214,16 @@ export interface License_GetLicenseFromDBRequest {
27193
27214
  */
27194
27215
  ownerName: string;
27195
27216
  }
27217
+ /**
27218
+ * Get status values for user licenses and installation license that can be used for feedback to the user.
27219
+ * Returns UserAndInstallationLicenceStatus
27220
+ */
27221
+ export interface License_GetUserAndInstallationLicenceStatusRequest {
27222
+ /**
27223
+ * Associate id to use when loading information about user licenses and installation license status.
27224
+ */
27225
+ associateId: number;
27226
+ }
27196
27227
  /**
27197
27228
  * Change the new serial number for the installation. Requests a new license from SuperLicense, checks if change is authorized.
27198
27229
  * Returns LicenseResult
@@ -27337,6 +27368,22 @@ export interface License_UnassignThirdPartyLicensesRequest {
27337
27368
  */
27338
27369
  moduleLicenseNames: string[];
27339
27370
  }
27371
+ /**
27372
+ *
27373
+ * Returns LicenseOwner[]
27374
+ */
27375
+ export interface License_GetCentralLicenseRequest {
27376
+ }
27377
+ /**
27378
+ *
27379
+ * Returns LicenseOwner[]
27380
+ */
27381
+ export interface License_SaveCentralLicenseRequest {
27382
+ /**
27383
+ *
27384
+ */
27385
+ license: LicenseOwner[];
27386
+ }
27340
27387
  /**
27341
27388
  * Represents all licenses for this owner at this site.
27342
27389
  */
@@ -27599,6 +27646,35 @@ export interface SignedPublicKey {
27599
27646
  */
27600
27647
  signature?: string;
27601
27648
  }
27649
+ /**
27650
+ * Result of GetUserAndInstallationLicenceStatus
27651
+ */
27652
+ export interface UserAndInstallationLicenceStatus {
27653
+ /**
27654
+ * Installations license admin warning date
27655
+ */
27656
+ adminWarningDate?: Date;
27657
+ /**
27658
+ * Installations license expiry date
27659
+ */
27660
+ expiryDate?: Date;
27661
+ /**
27662
+ * Installations license grace date
27663
+ */
27664
+ graceDate?: Date;
27665
+ /**
27666
+ * Database company name
27667
+ */
27668
+ companyName?: string;
27669
+ /**
27670
+ * Database serial number
27671
+ */
27672
+ serialNr?: string;
27673
+ /**
27674
+ * The users module licenses names
27675
+ */
27676
+ userLicenses?: string[];
27677
+ }
27602
27678
  /**
27603
27679
  * Access gateway related data and operations
27604
27680
  */
@@ -29175,101 +29251,6 @@ export interface UserValidationResult extends Carrier {
29175
29251
  */
29176
29252
  result?: boolean;
29177
29253
  }
29178
- /**
29179
- *
29180
- */
29181
- export interface Area extends Carrier {
29182
- /**
29183
- * Primary key
29184
- */
29185
- areaId?: number;
29186
- /**
29187
- * Area name
29188
- */
29189
- name?: string;
29190
- /**
29191
- * Max age of data when generating db's based on this area
29192
- */
29193
- maxDataAge?: number;
29194
- /**
29195
- *
29196
- */
29197
- numberOfUsers?: number;
29198
- /**
29199
- *
29200
- */
29201
- numberOfLogins?: number;
29202
- /**
29203
- *
29204
- */
29205
- freetextEnabeled?: boolean;
29206
- }
29207
- /**
29208
- * Enable freetext search on this area
29209
- */
29210
- export interface Replication_SetFreetextSearchEnabledOnAreaRequest {
29211
- /**
29212
- * The id of the area
29213
- */
29214
- areaId: number;
29215
- /**
29216
- * True if freetextSearch on this area shall be enabled
29217
- */
29218
- freetextEnabled: boolean;
29219
- }
29220
- /**
29221
- *
29222
- */
29223
- export interface Satellite extends Carrier {
29224
- /**
29225
- * Primary key
29226
- */
29227
- satelliteId?: number;
29228
- /**
29229
- * Registered when
29230
- */
29231
- created?: Date;
29232
- /**
29233
- *
29234
- */
29235
- createdBy?: Associate;
29236
- /**
29237
- * Last updated when
29238
- */
29239
- updated?: Date;
29240
- /**
29241
- *
29242
- */
29243
- updatedBy?: Associate;
29244
- /**
29245
- *
29246
- */
29247
- contact?: Contact;
29248
- /**
29249
- *
29250
- */
29251
- area?: Area;
29252
- /**
29253
- * The restricted and unrestricted module licenses grouped by license owner. These module licenses are either assigned or unassigned to this user
29254
- */
29255
- licenseOwners?: LicenseOwner[];
29256
- }
29257
- /**
29258
- *
29259
- * Returns LicenseOwner[]
29260
- */
29261
- export interface Replication_GetCentralLicenseRequest {
29262
- }
29263
- /**
29264
- *
29265
- * Returns LicenseOwner[]
29266
- */
29267
- export interface Replication_SaveCentralLicenseRequest {
29268
- /**
29269
- *
29270
- */
29271
- license: LicenseOwner[];
29272
- }
29273
29254
  /**
29274
29255
  * 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.
29275
29256
  */
@@ -29821,15 +29802,6 @@ export interface FreeText_SetEnabledRequest {
29821
29802
  */
29822
29803
  enabled: boolean;
29823
29804
  }
29824
- /**
29825
- * Automatically enable freetext search for new travel areas? true or false
29826
- */
29827
- export interface FreeText_SetAutoEnableTravelAreasRequest {
29828
- /**
29829
- * If true, auto enable
29830
- */
29831
- autoEnable: boolean;
29832
- }
29833
29805
  /**
29834
29806
  * Sets the operator used when matching single words
29835
29807
  */
@@ -29848,40 +29820,6 @@ export interface FreeText_SetMultiWordOperatorRequest {
29848
29820
  */
29849
29821
  freeTextOperator: enums.FreeTextOperator;
29850
29822
  }
29851
- /**
29852
- * Returns the list of stop words
29853
- * Returns string[]
29854
- */
29855
- export interface FreeText_GetStopWordListRequest {
29856
- }
29857
- /**
29858
- * Adds the words in the string to the stop word list
29859
- */
29860
- export interface FreeText_AddWordsRequest {
29861
- /**
29862
- * The stop words to add
29863
- */
29864
- stopWords: string;
29865
- }
29866
- /**
29867
- * Delete the stop words with these ids
29868
- */
29869
- export interface FreeText_DeleteStopWordsByIdRequest {
29870
- /**
29871
- * The ids of the stopwords to delete
29872
- */
29873
- stopWordIds: number[];
29874
- }
29875
- /**
29876
- * Returns the top used words in the freetext index table, sorted as most used first
29877
- * Returns MDOListItem[]
29878
- */
29879
- export interface FreeText_GetSuggestedStopWordsRequest {
29880
- /**
29881
- * The count of words that will be returned
29882
- */
29883
- countWords: number;
29884
- }
29885
29823
  /**
29886
29824
  * Wipe and regenerate the freetext index by scanning the database (freetext search will be unavailable while this operation runs
29887
29825
  * Returns BatchTaskInfo
@@ -30034,6 +29972,16 @@ export interface CustomerService_EventHandlerExistsRequest {
30034
29972
  */
30035
29973
  eventHandlerType: enums.EventHandlerType;
30036
29974
  }
29975
+ /**
29976
+ * Check if any given eventhandler exists
29977
+ * Returns EventHandlerType[]
29978
+ */
29979
+ export interface CustomerService_EventHandlersExistsRequest {
29980
+ /**
29981
+ * The EventHandlerTypes we are checking
29982
+ */
29983
+ eventHandlerTypes: enums.EventHandlerType[];
29984
+ }
30037
29985
  /**
30038
29986
  *
30039
29987
  */
@@ -30209,6 +30157,10 @@ export interface CustomerServiceStartup extends Carrier {
30209
30157
  * A global recaptcha site key, used with the google recaptcha component. This value is taken from the web.config file
30210
30158
  */
30211
30159
  recaptchaSiteKey?: string;
30160
+ /**
30161
+ * An array of selected preferences needed by Service
30162
+ */
30163
+ selectedPreferences?: Preference[];
30212
30164
  }
30213
30165
  /**
30214
30166
  * Get the carrier with data that Service needs when starting up
@@ -30216,6 +30168,16 @@ export interface CustomerServiceStartup extends Carrier {
30216
30168
  */
30217
30169
  export interface CustomerService_GetCustomerServiceStartupRequest {
30218
30170
  }
30171
+ /**
30172
+ * Get the carrier with data that Service needs when starting up for a specific user
30173
+ * Returns CustomerServiceStartup
30174
+ */
30175
+ export interface CustomerService_GetCustomerServiceStartupByOwnerRequest {
30176
+ /**
30177
+ * The user for which we want to fetch the startup values for
30178
+ */
30179
+ userId: number;
30180
+ }
30219
30181
  /**
30220
30182
  * EventData containing data related to event handlers
30221
30183
  */
@@ -30268,6 +30230,14 @@ export interface EventData extends Carrier {
30268
30230
  * The Cgi content/body, sent by some events
30269
30231
  */
30270
30232
  cgiContent?: string;
30233
+ /**
30234
+ * Incoming headers if sent by the context which the script is executed from
30235
+ */
30236
+ headers?: StringDictionary;
30237
+ /**
30238
+ * If true, then the execution will be traced
30239
+ */
30240
+ traceExecution?: boolean;
30271
30241
  }
30272
30242
  /**
30273
30243
  * This method will execute event handlers in CRMScript for a given event.
@@ -31177,244 +31147,6 @@ export interface Pocket_NotificationsHandledRequest {
31177
31147
  */
31178
31148
  notificationEvents: NotificationEvent[];
31179
31149
  }
31180
- /**
31181
- * Dashboard configuration
31182
- */
31183
- export interface Dashboard extends Carrier {
31184
- /**
31185
- * The dashboard id
31186
- */
31187
- dashboardId?: number;
31188
- /**
31189
- * Id of the associate who owns this dashboard
31190
- */
31191
- associateId?: number;
31192
- /**
31193
- * The caption for this dashboard
31194
- */
31195
- caption?: string;
31196
- /**
31197
- * The dashboard layout, how the tiles are organized on the screen
31198
- */
31199
- layout?: enums.DashboardLayout;
31200
- /**
31201
- * The tiles associated with this dashboard
31202
- */
31203
- tiles?: DashboardTile[];
31204
- }
31205
- /**
31206
- * Gets all dashboards for an associate
31207
- * Returns Dashboard[]
31208
- */
31209
- export interface Dashboard_GetDashboardsRequest {
31210
- /**
31211
- * Associate Id
31212
- */
31213
- associateId: number;
31214
- }
31215
- /**
31216
- * Sets tile in the given dashboard position
31217
- * Returns Dashboard
31218
- */
31219
- export interface Dashboard_SetTileRequest {
31220
- /**
31221
- * Dashboard Id
31222
- */
31223
- dashboardId: number;
31224
- /**
31225
- * Tile Id
31226
- */
31227
- tileId: number;
31228
- /**
31229
- * Tile position in the dashboard
31230
- */
31231
- position: number;
31232
- }
31233
- /**
31234
- * Dashboard Tile configuration
31235
- */
31236
- export interface DashboardTile extends Carrier {
31237
- /**
31238
- * The tile id
31239
- */
31240
- dashboardTileId?: number;
31241
- /**
31242
- * The tile caption
31243
- */
31244
- caption?: string;
31245
- /**
31246
- * The tile description
31247
- */
31248
- description?: string;
31249
- /**
31250
- * The original chart name
31251
- */
31252
- chartName?: string;
31253
- /**
31254
- * The original chart Id
31255
- */
31256
- chartId?: string;
31257
- /**
31258
- * True if this is one of the default tiles
31259
- */
31260
- isDefault?: boolean;
31261
- /**
31262
- * Id of the associate who owns this tile
31263
- */
31264
- associateId?: number;
31265
- /**
31266
- * Id of the associates primary group at storage time
31267
- */
31268
- groupId?: number;
31269
- /**
31270
- * The selection that defines the data filter/restrictions
31271
- */
31272
- selectionId?: number;
31273
- /**
31274
- * The tile config
31275
- */
31276
- config?: string;
31277
- /**
31278
- * The tile type, what kind of tile this is
31279
- */
31280
- type?: enums.DashboardTileType;
31281
- /**
31282
- * The tile entity type
31283
- */
31284
- entityType?: enums.DashboardTileEntityType;
31285
- /**
31286
- * The tile options
31287
- */
31288
- options?: DashboardTileOption[];
31289
- /**
31290
- * The set of users or groups the record is visible for
31291
- */
31292
- visibleFor?: VisibleFor[];
31293
- }
31294
- /**
31295
- * Gets an array of dashboard tiles for the provided ids
31296
- * Returns DashboardTile[]
31297
- */
31298
- export interface Dashboard_GetDashboardTilesRequest {
31299
- /**
31300
- * The ids of the tiles to get
31301
- */
31302
- dashboardTileIds: number[];
31303
- }
31304
- /**
31305
- * Gets the standard tile (not personal tile) corresponding to the given chart id
31306
- * Returns DashboardTile
31307
- */
31308
- export interface Dashboard_GetStandardDashboardTileFromChartIdRequest {
31309
- /**
31310
- * The ChartId of the wanted chart/tile
31311
- */
31312
- chartId: string;
31313
- }
31314
- /**
31315
- * Get data for this tile
31316
- * Returns TileData[]
31317
- */
31318
- export interface Dashboard_GetDataRequest {
31319
- /**
31320
- * Tile Id
31321
- */
31322
- dashboardTileId: number;
31323
- /**
31324
- * Replacement restrictions
31325
- */
31326
- restrictions: string;
31327
- }
31328
- /**
31329
- * Create new tile from another tile used as template
31330
- * Returns DashboardTile
31331
- */
31332
- export interface Dashboard_CreateNewFromTemplateRequest {
31333
- /**
31334
- * Tile template Id
31335
- */
31336
- dashboardTileId: number;
31337
- /**
31338
- * Caption of new tile
31339
- */
31340
- caption: string;
31341
- /**
31342
- * Description of new tile
31343
- */
31344
- description: string;
31345
- /**
31346
- * Selection id of new tile
31347
- */
31348
- selectionId: number;
31349
- /**
31350
- * Who the tile should be visible for
31351
- */
31352
- visibleFor: VisibleFor[];
31353
- }
31354
- /**
31355
- * Get data for this tile
31356
- * Returns TileData[]
31357
- */
31358
- export interface Dashboard_GetDataWithSelectionRequest {
31359
- /**
31360
- * Tile Id
31361
- */
31362
- dashboardTileId: number;
31363
- /**
31364
- * Selection Id
31365
- */
31366
- selectionId: number;
31367
- /**
31368
- * Replacement restrictions
31369
- */
31370
- restrictions: string;
31371
- }
31372
- /**
31373
- * Dashboard Tile option
31374
- */
31375
- export interface DashboardTileOption extends Carrier {
31376
- /**
31377
- * Name of option, usually not visible to users
31378
- */
31379
- name?: string;
31380
- /**
31381
- * Option description, visible to users
31382
- */
31383
- description?: string;
31384
- /**
31385
- * The type of option - integer, list, boolean (checkbox) etc.
31386
- */
31387
- type?: enums.DashboardTileOptionType;
31388
- /**
31389
- * An MDO list name, used if the type is list and no ListOptions are given
31390
- */
31391
- listName?: string;
31392
- /**
31393
- * List options given directly, not via MDO list name
31394
- */
31395
- listItems?: MDOListItem[];
31396
- /**
31397
- * The value, encoded as string, Id:Name of list item if type is list
31398
- */
31399
- value?: string;
31400
- /**
31401
- * True if this option only applies to the default data source, not selections
31402
- */
31403
- defaultDataOption?: boolean;
31404
- }
31405
- /**
31406
- * Class representing data to be visualized in a dashboard tile.
31407
- */
31408
- export interface TileData {
31409
- /**
31410
- * Column information
31411
- */
31412
- columns?: ArchiveColumnInfo[];
31413
- /**
31414
- * The result set
31415
- */
31416
- result?: ArchiveListResult;
31417
- }
31418
31150
  /**
31419
31151
  * Dashboard configuration
31420
31152
  */
@@ -31838,6 +31570,10 @@ export interface Dash_SaveDashTileHtmlListRequest {
31838
31570
  * Dashboard preview
31839
31571
  */
31840
31572
  export interface PreviewDash extends Carrier {
31573
+ /**
31574
+ * Primary key
31575
+ */
31576
+ dashboardId?: number;
31841
31577
  /**
31842
31578
  * The name of this dashboard
31843
31579
  */
@@ -32808,6 +32544,10 @@ export interface FormEntity extends Carrier {
32808
32544
  * Number of updates made to this record
32809
32545
  */
32810
32546
  updatedCount?: number;
32547
+ /**
32548
+ * EmailFlows this form is used in (read-only)
32549
+ */
32550
+ emailFlows?: number[];
32811
32551
  /**
32812
32552
  * The name of the folder for this form
32813
32553
  */
@@ -32925,6 +32665,10 @@ export interface PreviewMailing extends Carrier {
32925
32665
  * Email address to put in the From header of the messages
32926
32666
  */
32927
32667
  fromAddress?: string;
32668
+ /**
32669
+ * This field indicates what kind of shipment this is.
32670
+ */
32671
+ configuration?: number;
32928
32672
  /**
32929
32673
  * Owning contact ID
32930
32674
  */
@@ -33000,6 +32744,10 @@ export interface PreviewMailingHeader extends Carrier {
33000
32744
  * Email address to put in the From header of the messages
33001
32745
  */
33002
32746
  fromAddress?: string;
32747
+ /**
32748
+ * This field indicates what kind of shipment this is.
32749
+ */
32750
+ configuration?: number;
33003
32751
  /**
33004
32752
  * Primary key
33005
32753
  */
@@ -33187,6 +32935,28 @@ export interface ShipmentMessageEntity extends Carrier {
33187
32935
  */
33188
32936
  updatedCount?: number;
33189
32937
  }
32938
+ /**
32939
+ * Change the mailing name (shipment description) that the given message (MessageId) belongs to
32940
+ */
32941
+ export interface Marketing_RenameMailingByMessageIdRequest {
32942
+ /**
32943
+ * Message id
32944
+ */
32945
+ messageId: number;
32946
+ /**
32947
+ * The new name
32948
+ */
32949
+ name: string;
32950
+ }
32951
+ /**
32952
+ * Delete the message and the shipment the message (MessageId) belongs to
32953
+ */
32954
+ export interface Marketing_DeleteMessageAndShipmentRequest {
32955
+ /**
32956
+ * Message id
32957
+ */
32958
+ messageId: number;
32959
+ }
33190
32960
  /**
33191
32961
  * The Script Service. The service implements all services working with the CRMScript object without reference to primary keys. Primarily used by VSCode integration.
33192
32962
  */
@@ -33289,6 +33059,10 @@ export interface CRMScriptEntity extends Carrier {
33289
33059
  * A unique name used for including this script in another
33290
33060
  */
33291
33061
  includeId?: string;
33062
+ /**
33063
+ * Access key used to run this script on the customer pages
33064
+ */
33065
+ accessKey?: string;
33292
33066
  /**
33293
33067
  * The script is inside this hierarchy folder
33294
33068
  */
@@ -33297,6 +33071,30 @@ export interface CRMScriptEntity extends Carrier {
33297
33071
  * The script
33298
33072
  */
33299
33073
  source?: string;
33074
+ /**
33075
+ * Contains the source code of the script
33076
+ */
33077
+ sourceCode?: string;
33078
+ /**
33079
+ * The type/language of this script
33080
+ */
33081
+ scriptType?: enums.ScriptType;
33082
+ /**
33083
+ * True if this script will return HTML output
33084
+ */
33085
+ htmlOutput?: number;
33086
+ /**
33087
+ * The unique ids of all depencies of this script (all resolved includes)
33088
+ */
33089
+ includes?: number[];
33090
+ /**
33091
+ * The source maps for this script
33092
+ */
33093
+ sourceMaps?: CRMScriptSourceMap[];
33094
+ /**
33095
+ * The result of a validation of a TypeScript when saving
33096
+ */
33097
+ validationResult?: CRMScriptResult;
33300
33098
  /**
33301
33099
  * Registered when
33302
33100
  */
@@ -33314,6 +33112,16 @@ export interface CRMScriptEntity extends Carrier {
33314
33112
  */
33315
33113
  updatedAssociateId?: number;
33316
33114
  }
33115
+ /**
33116
+ * Save the script directly without compiling TypeScript
33117
+ * Returns CRMScriptEntity
33118
+ */
33119
+ export interface CRMScript_SaveCRMScriptEntityWithoutCompileRequest {
33120
+ /**
33121
+ * The entity to save. Source and SourceCode should both be specified
33122
+ */
33123
+ crmScriptEntity: CRMScriptEntity;
33124
+ }
33317
33125
  /**
33318
33126
  * Execute a CRMScript with parameters, returning printed output value.
33319
33127
  * Returns string
@@ -33442,6 +33250,20 @@ export interface CRMScript_ValidateScriptByStringRequest {
33442
33250
  */
33443
33251
  script: string;
33444
33252
  }
33253
+ /**
33254
+ * Will resolve all includes for a TypeScript and return an array of the IDs
33255
+ * Returns number[]
33256
+ */
33257
+ export interface CRMScript_ResolveIncludesRequest {
33258
+ /**
33259
+ * The script to resolve includes for
33260
+ */
33261
+ script: string;
33262
+ /**
33263
+ * If true, then missing includes will be ignored
33264
+ */
33265
+ ignoreErrors: boolean;
33266
+ }
33445
33267
  /**
33446
33268
  * Object containing error information for a CRMScript
33447
33269
  */
@@ -33450,14 +33272,18 @@ export interface CRMScriptErrorInfo extends Carrier {
33450
33272
  * Descriptive message of the script failed
33451
33273
  */
33452
33274
  errorMessage?: string;
33275
+ /**
33276
+ * The includeId of the source where the error occured
33277
+ */
33278
+ includeId?: string;
33453
33279
  /**
33454
33280
  * The line number where the error occured
33455
33281
  */
33456
- errorLine?: number;
33282
+ lineNumber?: number;
33457
33283
  /**
33458
33284
  * The character position on the ErrorLine, if available
33459
33285
  */
33460
- errorCharacterPosition?: number;
33286
+ characterPosition?: number;
33461
33287
  }
33462
33288
  /**
33463
33289
  * Object for returning information when validating a CRMScript
@@ -33479,6 +33305,18 @@ export interface CRMScriptResult extends Carrier {
33479
33305
  * Contains error information if the validation failed
33480
33306
  */
33481
33307
  errorInformation?: CRMScriptErrorInfo;
33308
+ /**
33309
+ * This will contain transpiled code. In case of Typescript, this will then contain the executable JavaScript
33310
+ */
33311
+ transpiled?: string;
33312
+ /**
33313
+ * The unique ids of all depencies of this script (all resolved includes)
33314
+ */
33315
+ includes?: number[];
33316
+ /**
33317
+ * Array of source maps showing where in the original code a specific line originated from
33318
+ */
33319
+ sourceMaps?: CRMScriptSourceMap[];
33482
33320
  }
33483
33321
  /**
33484
33322
  * Object for returning result from a CRMScript
@@ -33508,6 +33346,43 @@ export interface CRMScriptRunResult extends Carrier {
33508
33346
  * Contains error information if the execution failed
33509
33347
  */
33510
33348
  errorInformation?: CRMScriptErrorInfo;
33349
+ /**
33350
+ * The status code which is available to be returned from Typescript scripts
33351
+ */
33352
+ statusCode?: number;
33353
+ /**
33354
+ * An additional status message that can be sent along with the status code
33355
+ */
33356
+ statusMessage?: string;
33357
+ /**
33358
+ * Optional result headers for context that supports it
33359
+ */
33360
+ headers?: StringDictionary;
33361
+ }
33362
+ /**
33363
+ * Object for returning source-map info when validating or executing a CRMScript
33364
+ */
33365
+ export interface CRMScriptSourceMap extends Carrier {
33366
+ /**
33367
+ * The 1-based start line (inclusive) of this entry
33368
+ */
33369
+ lineNumberFrom?: number;
33370
+ /**
33371
+ * The 1-based end line (inclusive) of this entry
33372
+ */
33373
+ lineNumberTo?: number;
33374
+ /**
33375
+ * The delta between global line number and a line number inside this range
33376
+ */
33377
+ delta?: number;
33378
+ /**
33379
+ * The includeId for this entry
33380
+ */
33381
+ includeId?: string;
33382
+ /**
33383
+ * The list of IncludeId:linenum that leads to this source
33384
+ */
33385
+ includedFrom?: string[];
33511
33386
  }
33512
33387
  /**
33513
33388
  * Object for returning Trace run result from a CRMScript
@@ -33688,6 +33563,10 @@ export interface AttachmentEntity extends Carrier {
33688
33563
  * The key used for authenticating access to this attachment.
33689
33564
  */
33690
33565
  authKey?: string;
33566
+ /**
33567
+ * Is file considered to be safe (based on extension and settings)
33568
+ */
33569
+ isSafeFileExtension?: boolean;
33691
33570
  }
33692
33571
  /**
33693
33572
  * Copy CRM document to an attachment
@@ -33736,6 +33615,51 @@ export interface Ticket_GetAttachmentStreamRequest {
33736
33615
  */
33737
33616
  attachmentId: number;
33738
33617
  }
33618
+ /**
33619
+ * Service attachment data intended for preview purposes
33620
+ */
33621
+ export interface AttachmentPreview extends Carrier {
33622
+ /**
33623
+ * Name of the attachment file
33624
+ */
33625
+ name?: string;
33626
+ /**
33627
+ * The mimetype of the attachment
33628
+ */
33629
+ mimeType?: string;
33630
+ /**
33631
+ * Size of the attachment in bytes
33632
+ */
33633
+ size?: number;
33634
+ /**
33635
+ * Attachment data
33636
+ */
33637
+ content?: ArrayBuffer | string;
33638
+ /**
33639
+ * Subject of the attached RFC822 email. Null for non-RFC822 attachment
33640
+ */
33641
+ emailSubject?: string;
33642
+ /**
33643
+ * From field of the attached RFC822 email. Null for non-RFC822 attachment
33644
+ */
33645
+ emailFrom?: string;
33646
+ /**
33647
+ * To field of the attached RFC822 email. Null for non-RFC822 attachment
33648
+ */
33649
+ emailTo?: string;
33650
+ /**
33651
+ * Cc field of the attached RFC822 email. Null for non-RFC822 attachment
33652
+ */
33653
+ emailCc?: string;
33654
+ /**
33655
+ * Date of the attached RFC822 email. Default DateTime value for non-RFC822 attachment
33656
+ */
33657
+ emailDate?: Date;
33658
+ /**
33659
+ * The attachments inside the attached RFC822 email. Empty array for non-RFC822 attachment
33660
+ */
33661
+ emailAttachmentsInfo?: AttachmentEntity[];
33662
+ }
33739
33663
  /**
33740
33664
  * Attachment validation info
33741
33665
  */
@@ -34001,6 +33925,14 @@ export interface Ticket extends Carrier {
34001
33925
  * If this ticket was created from a form submission, this field will point to that record
34002
33926
  */
34003
33927
  formSubmissionId?: number;
33928
+ /**
33929
+ * The id of the Request Type
33930
+ */
33931
+ ticketTypeId?: number;
33932
+ /**
33933
+ * The name of the Request Type
33934
+ */
33935
+ ticketTypeName?: string;
34004
33936
  }
34005
33937
  /**
34006
33938
  * Get multiple tickets
@@ -34278,7 +34210,7 @@ export interface TicketEntity extends Carrier {
34278
34210
  * Type of the Request
34279
34211
  * Use MDO List name "TicketType" to get list items.
34280
34212
  */
34281
- ticketType?: TicketTypeEntity;
34213
+ ticketType?: TicketType;
34282
34214
  /**
34283
34215
  * Active status monitor identity for related contact. This is a read-only property and is ignored on Save
34284
34216
  */
@@ -34597,6 +34529,51 @@ export interface Ticket_GetTicketMessageEntitiesRequest {
34597
34529
  */
34598
34530
  messageIds: number[];
34599
34531
  }
34532
+ /**
34533
+ * Create default ticket entity for particular TicketType
34534
+ * Returns TicketEntity
34535
+ */
34536
+ export interface Ticket_CreateDefaultForTicketTypeRequest {
34537
+ /**
34538
+ * ID of ticket type
34539
+ */
34540
+ ticketTypeId: number;
34541
+ }
34542
+ /**
34543
+ * 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.
34544
+ */
34545
+ export interface Ticket_DoEscalatingRequest {
34546
+ /**
34547
+ * The id of ticket
34548
+ */
34549
+ ticketId: number;
34550
+ /**
34551
+ * The action to use when calculating the escalation
34552
+ */
34553
+ action: enums.TicketPriorityEscalateAction;
34554
+ }
34555
+ /**
34556
+ * Get a list of ej_user ids who should receive hotlist notification based on request and notification type
34557
+ * Returns number[]
34558
+ */
34559
+ export interface Ticket_GetHotlistEjUsersRequest {
34560
+ /**
34561
+ * The id of the ticket
34562
+ */
34563
+ ticketId: number;
34564
+ /**
34565
+ * A list of associate ids to skip when calculating whom to get the notification
34566
+ */
34567
+ skipAssociateIds: number[];
34568
+ /**
34569
+ * The notification type we want to check for
34570
+ */
34571
+ notifyType: enums.NotifyType;
34572
+ /**
34573
+ * The channel which we should check for
34574
+ */
34575
+ channel: enums.NotifyChannel;
34576
+ }
34600
34577
  /**
34601
34578
  * The TicketMessage carrier is used for representing a service ticket message
34602
34579
  */
@@ -34820,6 +34797,20 @@ export interface Ticket_SanitizeMailContentRequest {
34820
34797
  */
34821
34798
  content: string;
34822
34799
  }
34800
+ /**
34801
+ * Remove harmful HTML tags and attributes from an email, using specified options
34802
+ * Returns string
34803
+ */
34804
+ export interface Ticket_SanitizeMailContentWithOptionsRequest {
34805
+ /**
34806
+ * The email content to sanitize
34807
+ */
34808
+ content: string;
34809
+ /**
34810
+ * The options for the sanitizer engine
34811
+ */
34812
+ options: enums.HtmlSanitizerOptions;
34813
+ }
34823
34814
  /**
34824
34815
  * Remove harmful HTML tags and attributes from an email
34825
34816
  * Returns string[]
@@ -34888,6 +34879,16 @@ export interface Ticket_RemoveMessageAttachmentsRequest {
34888
34879
  }
34889
34880
  /**
34890
34881
  * Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
34882
+ * Returns AttachmentPreview
34883
+ */
34884
+ export interface Ticket_GetAttachmentPreviewRequest {
34885
+ /**
34886
+ * The id of the attachment to retrieve
34887
+ */
34888
+ attachmentId: number;
34889
+ }
34890
+ /**
34891
+ * Deprecated, see GetPreviewAttachment instead. Retrieve an attachment from ticket message. The returned data is intended to be used for a preview. The returned data is sanitized.
34891
34892
  * Returns DocumentPreview
34892
34893
  */
34893
34894
  export interface Ticket_GetPreviewAttachmentStreamRequest {
@@ -34896,6 +34897,20 @@ export interface Ticket_GetPreviewAttachmentStreamRequest {
34896
34897
  */
34897
34898
  attachmentId: number;
34898
34899
  }
34900
+ /**
34901
+ * Get the content of an attachment which is part of RFC822 email attachment
34902
+ * Returns Blob
34903
+ */
34904
+ export interface Ticket_GetRfcAttachmentStreamRequest {
34905
+ /**
34906
+ * The id of the root attachment
34907
+ */
34908
+ attachmentId: number;
34909
+ /**
34910
+ * The position (index) of the attachment within the root attachment. Numbering starts from 0
34911
+ */
34912
+ position: number;
34913
+ }
34899
34914
  /**
34900
34915
  * Send a message to recipients by email
34901
34916
  */
@@ -35053,6 +35068,32 @@ export interface Ticket_GetDefaultMessageContentFullRequest {
35053
35068
  */
35054
35069
  ticketTypeId: number;
35055
35070
  }
35071
+ /**
35072
+ * Generate a default message content with option to exclude signature: attachments and body as sanitized HTML
35073
+ * Returns TicketMessageContent
35074
+ */
35075
+ export interface Ticket_GetDefaultMessageContentWithOptionsRequest {
35076
+ /**
35077
+ * The id of the ticket
35078
+ */
35079
+ ticketId: number;
35080
+ /**
35081
+ * Message action type: None/Reply/ReplyAll/Forward
35082
+ */
35083
+ messageActionType: enums.MessageActionType;
35084
+ /**
35085
+ * The id of the message to quote in the returned content. 0 to skip/ignore
35086
+ */
35087
+ ticketMessageId: number;
35088
+ /**
35089
+ * The id of the ticket type to look for reply template. 0 to use current ticket type
35090
+ */
35091
+ ticketTypeId: number;
35092
+ /**
35093
+ * Flag to exclude a signature when generating the return content
35094
+ */
35095
+ excludeSignature: boolean;
35096
+ }
35056
35097
  /**
35057
35098
  * Get a ticket message entity with posibillity to change embedded images to be represented with inline data within the HTML body. If using inline data, be sure not to save this back to the database.
35058
35099
  * Returns TicketMessageEntity
@@ -36268,6 +36309,20 @@ export interface AI_RephraseTextRequest {
36268
36309
  */
36269
36310
  isoLangCode: string;
36270
36311
  }
36312
+ /**
36313
+ * Generate agenda text for an appointment based on appointment's company category, title, person, etc.
36314
+ * Returns string
36315
+ */
36316
+ export interface AI_CreateTextForAppointmentRequest {
36317
+ /**
36318
+ * The appointment object to generate text for.
36319
+ */
36320
+ appointment: AppointmentEntity;
36321
+ /**
36322
+ * Language returned text should be in. Blank = do not specify language.
36323
+ */
36324
+ isoLangCode: string;
36325
+ }
36271
36326
  /**
36272
36327
  * Details about a categorization model in HugoAI
36273
36328
  */
@@ -36783,6 +36838,12 @@ export interface DocumentMigration_MigrateDocumentToNewDocPluginRequest {
36783
36838
  */
36784
36839
  export interface DocumentMigration_HasDocumentsToMigrateRequest {
36785
36840
  }
36841
+ /**
36842
+ * Gets the total number of documents that is not visible to everyone
36843
+ * Returns number
36844
+ */
36845
+ export interface DocumentMigration_GetNumberOfConfidentialDocumentsRequest {
36846
+ }
36786
36847
  /**
36787
36848
  *
36788
36849
  */
@@ -36973,6 +37034,18 @@ export interface EmailFlow extends Carrier {
36973
37034
  * Persons in the given selections are not allowed to enter this workflow
36974
37035
  */
36975
37036
  blockLists?: number[];
37037
+ /**
37038
+ * Info about workflow content like messages, links and forms (read-only)
37039
+ */
37040
+ contentInfo?: WorkflowContentInfo[];
37041
+ /**
37042
+ * On exit with no success criteria met, we attempt to add the participant to the given flow
37043
+ */
37044
+ exitFlowId?: number;
37045
+ /**
37046
+ * On exit with success criteria met, we attempt to add the participant to the given flow
37047
+ */
37048
+ exitSuccessFlowId?: number;
36976
37049
  /**
36977
37050
  * The associate that first created the flow. The property is read-only.
36978
37051
  */
@@ -36995,7 +37068,7 @@ export interface EmailFlow extends Carrier {
36995
37068
  visibleFor?: VisibleFor[];
36996
37069
  }
36997
37070
  /**
36998
- * Try to add a participant to the EmailFlow
37071
+ * Try to add a participant to the EmailFlow. Same function available in PersonAgent
36999
37072
  * Returns boolean[]
37000
37073
  */
37001
37074
  export interface Workflow_TryAddPersonsToEmailFlowRequest {
@@ -37062,6 +37135,44 @@ export interface Workflow_CopyEmailFlowContentRequest {
37062
37135
  */
37063
37136
  shipmentId: number;
37064
37137
  }
37138
+ /**
37139
+ * Attempt to update stored field values for up to the given number of form submissions
37140
+ * Returns number
37141
+ */
37142
+ export interface Workflow_UpdateFormSubmissionsRequest {
37143
+ /**
37144
+ * The maximum number of form submissions to attempt to save as form field values.
37145
+ */
37146
+ maxCount: number;
37147
+ }
37148
+ /**
37149
+ * Set status on workflow, Run or pause flow
37150
+ * Returns WorkflowDefinitionStatus
37151
+ */
37152
+ export interface Workflow_SetStatusOnWorkflowRequest {
37153
+ /**
37154
+ * The id of the email flow to run or pause
37155
+ */
37156
+ emailFlowId: number;
37157
+ /**
37158
+ * The new status
37159
+ */
37160
+ status: enums.WorkflowDefinitionStatus;
37161
+ }
37162
+ /**
37163
+ * Copy an email flow.
37164
+ * Returns number
37165
+ */
37166
+ export interface Workflow_CopyEmailFlowRequest {
37167
+ /**
37168
+ * The EmailFlow to copy.
37169
+ */
37170
+ emailFlowId: number;
37171
+ /**
37172
+ * The name of the new email flow
37173
+ */
37174
+ newName: string;
37175
+ }
37065
37176
  /**
37066
37177
  * FieldValue carrier
37067
37178
  */
@@ -37075,6 +37186,23 @@ export interface FieldValue extends Carrier {
37075
37186
  */
37076
37187
  values?: string[];
37077
37188
  }
37189
+ /**
37190
+ * Info about workflow content like messages, forms and links.
37191
+ */
37192
+ export interface WorkflowContentInfo extends Carrier {
37193
+ /**
37194
+ * The workflow content type
37195
+ */
37196
+ workflowContentType?: enums.WorkflowContentType;
37197
+ /**
37198
+ * The id of the content row.
37199
+ */
37200
+ id?: number;
37201
+ /**
37202
+ * True if the content (form, link) have associated actions.
37203
+ */
37204
+ actions?: boolean;
37205
+ }
37078
37206
  /**
37079
37207
  * Workflow event carrier
37080
37208
  */
@@ -37156,7 +37284,7 @@ export interface WorkflowStepBase {
37156
37284
  */
37157
37285
  workflowStepId?: number;
37158
37286
  /**
37159
- * The flow this step belongs to
37287
+ * The workflow to connect to
37160
37288
  */
37161
37289
  workflowId?: number;
37162
37290
  /**
@@ -37291,7 +37419,7 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
37291
37419
  /**
37292
37420
  * Request status
37293
37421
  */
37294
- status?: number;
37422
+ ticketStatus?: number;
37295
37423
  /**
37296
37424
  * Message
37297
37425
  */
@@ -37353,16 +37481,52 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
37353
37481
  * Sale owner
37354
37482
  */
37355
37483
  owner?: number;
37484
+ /**
37485
+ * Source
37486
+ */
37487
+ source?: number;
37356
37488
  }
37357
37489
  /**
37358
37490
  * Step in workflow.
37359
37491
  */
37360
37492
  export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
37493
+ /**
37494
+ * Recipient notified by Email
37495
+ */
37496
+ to?: enums.WorkflowNotifyEmailType;
37497
+ /**
37498
+ * Recipient email addresses notified by Email
37499
+ */
37500
+ specificEmailAddresses?: string[];
37501
+ /**
37502
+ * Email notification subject
37503
+ */
37504
+ subject?: string;
37505
+ /**
37506
+ * Email notification text
37507
+ */
37508
+ text?: string;
37361
37509
  }
37362
37510
  /**
37363
37511
  * Step in workflow.
37364
37512
  */
37365
37513
  export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
37514
+ /**
37515
+ * Recipient notified by SMS
37516
+ */
37517
+ to?: enums.WorkflowNotifySMSType;
37518
+ /**
37519
+ * Recipient phone numbers notified by SMS
37520
+ */
37521
+ specificPhoneNumbers?: string[];
37522
+ /**
37523
+ * SMS sender
37524
+ */
37525
+ from?: string;
37526
+ /**
37527
+ * Notification SMS text
37528
+ */
37529
+ text?: string;
37366
37530
  }
37367
37531
  /**
37368
37532
  * Workflow step split option carrier base carrier class.
@@ -37381,7 +37545,7 @@ export interface WorkflowStepOptionBase {
37381
37545
  */
37382
37546
  workflowStepId?: number;
37383
37547
  /**
37384
- * The flow this instance belongs to
37548
+ * Workflow id
37385
37549
  */
37386
37550
  workflowId?: number;
37387
37551
  /**
@@ -37389,7 +37553,7 @@ export interface WorkflowStepOptionBase {
37389
37553
  */
37390
37554
  name?: string;
37391
37555
  /**
37392
- * The rank of this option
37556
+ * Step order
37393
37557
  */
37394
37558
  rank?: number;
37395
37559
  /**
@@ -37418,7 +37582,20 @@ export interface Workflow_GetWorkflowStepOptionRequest {
37418
37582
  workflowStepOptionId: number;
37419
37583
  }
37420
37584
  /**
37421
- * Option that splits on matching person criteria
37585
+ * Option that splits on matching data on a specific form submitted
37586
+ */
37587
+ export interface WorkflowStepOptionFormData extends WorkflowStepOptionBase {
37588
+ /**
37589
+ * The id of the form submitted
37590
+ */
37591
+ formId?: number;
37592
+ /**
37593
+ * The restrictions (can be multiple groups) that determines if this option is activated
37594
+ */
37595
+ restrictionGroups?: ArchiveRestrictionGroup[];
37596
+ }
37597
+ /**
37598
+ * Option that splits on a form is submitted or not
37422
37599
  */
37423
37600
  export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
37424
37601
  /**
@@ -37427,7 +37604,7 @@ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase
37427
37604
  formId?: number;
37428
37605
  }
37429
37606
  /**
37430
- * Option that splits on matching person criteria
37607
+ * Option that splits on if a link is clicked or not
37431
37608
  */
37432
37609
  export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
37433
37610
  /**
@@ -37445,7 +37622,7 @@ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
37445
37622
  restrictionGroups?: ArchiveRestrictionGroup[];
37446
37623
  }
37447
37624
  /**
37448
- * Option that splits on matching person criteria
37625
+ * Option that splits on project membership
37449
37626
  */
37450
37627
  export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
37451
37628
  /**
@@ -37454,7 +37631,7 @@ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionB
37454
37631
  projectId?: number;
37455
37632
  }
37456
37633
  /**
37457
- * Option that splits on matching person criteria
37634
+ * Option that splits on selection membership
37458
37635
  */
37459
37636
  export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
37460
37637
  /**
@@ -37479,6 +37656,10 @@ export interface WorkflowStepRemoveFromList extends WorkflowStepBase {
37479
37656
  * Step in workflow.
37480
37657
  */
37481
37658
  export interface WorkflowStepRunScript extends WorkflowStepBase {
37659
+ /**
37660
+ * Script Id to run
37661
+ */
37662
+ scriptId?: number;
37482
37663
  }
37483
37664
  /**
37484
37665
  * Step in workflow that waits for time.
@@ -37535,23 +37716,67 @@ export interface WorkflowStepSplit extends WorkflowStepBase {
37535
37716
  */
37536
37717
  options?: WorkflowStepOptionBase[];
37537
37718
  /**
37538
- * If set to true, particants descending the Everyone else branch will exit the flow on this step
37719
+ * If set to true, participants descending the Everyone else branch will exit the flow on this step
37539
37720
  */
37540
37721
  exitFlow?: boolean;
37722
+ /**
37723
+ * Flow to add participants to on exit
37724
+ */
37725
+ exitToFlowId?: number;
37726
+ /**
37727
+ * Static selection to add participants to on exit
37728
+ */
37729
+ exitToSelectionId?: number;
37541
37730
  }
37542
37731
  /**
37543
37732
  * Step in workflow.
37544
37733
  */
37545
37734
  export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
37546
37735
  /**
37547
- * Fields and values to change
37736
+ * The name/description of this update participant step
37737
+ */
37738
+ description?: string;
37739
+ /**
37740
+ * Fields and values to change for persons
37741
+ */
37742
+ fieldValuesPerson?: FieldValueInfo[];
37743
+ /**
37744
+ * Fields and values to change for companies
37548
37745
  */
37549
- fieldValues?: FieldValue[];
37746
+ fieldValuesCompany?: FieldValueInfo[];
37550
37747
  }
37551
37748
  /**
37552
37749
  * Step in workflow.
37553
37750
  */
37554
37751
  export interface WorkflowStepWaitForAction extends WorkflowStepBase {
37752
+ /**
37753
+ * If set to true, participants timing out will exit the flow
37754
+ */
37755
+ exitFlow?: boolean;
37756
+ /**
37757
+ * Flow to add participants to on exit
37758
+ */
37759
+ exitToFlowId?: number;
37760
+ /**
37761
+ * Static selection to add participants to on exit
37762
+ */
37763
+ exitToSelectionId?: number;
37764
+ /**
37765
+ * The given number of intervals to wait (timeout)
37766
+ */
37767
+ actionTimeout?: number;
37768
+ /**
37769
+ * If set to false, participants will wait forever
37770
+ */
37771
+ waitForTimeout?: boolean;
37772
+ /**
37773
+ * Interval type (Minutes, days, weeks...)
37774
+ */
37775
+ timeoutIntervalType?: enums.WorkflowTimeWaitIntervalType;
37776
+ /**
37777
+ * The actions we are waiting for
37778
+ */
37779
+ actions?: WorkflowWaitForAction[];
37555
37780
  }
37556
37781
  /**
37557
37782
  * Step in workflow that waits for time.
@@ -37595,6 +37820,35 @@ export interface WorkflowTrigger extends Carrier {
37595
37820
  */
37596
37821
  restrictionGroups?: ArchiveRestrictionGroup[];
37597
37822
  }
37823
+ /**
37824
+ * Workflow action info carrier
37825
+ */
37826
+ export interface WorkflowWaitForAction extends Carrier {
37827
+ /**
37828
+ * Primary key
37829
+ */
37830
+ workflowWaitForActionId?: number;
37831
+ /**
37832
+ * The workflow step this instance belongs to
37833
+ */
37834
+ workflowStepId?: number;
37835
+ /**
37836
+ * Workflow id
37837
+ */
37838
+ workflowId?: number;
37839
+ /**
37840
+ * The rank of this action
37841
+ */
37842
+ rank?: number;
37843
+ /**
37844
+ * The type of action
37845
+ */
37846
+ actionType?: enums.WorkflowWaitForActionType;
37847
+ /**
37848
+ * The restrictions (can be multiple groups) that make up the Workflow action criteria
37849
+ */
37850
+ restrictionGroups?: ArchiveRestrictionGroup[];
37851
+ }
37598
37852
  export interface DSAParameters {
37599
37853
  Counter: number;
37600
37854
  G: any;