@superoffice/webapi 10.5.5 → 11.2.694

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 (200) hide show
  1. package/dist/cjs/AIAgent.d.ts +83 -0
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +173 -0
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/BLOBAgent.d.ts +0 -31
  6. package/dist/cjs/BLOBAgent.d.ts.map +1 -1
  7. package/dist/cjs/BLOBAgent.js +0 -67
  8. package/dist/cjs/BLOBAgent.js.map +1 -1
  9. package/dist/cjs/Carriers.d.ts +257 -1075
  10. package/dist/cjs/Carriers.d.ts.map +1 -1
  11. package/dist/cjs/ConfigurationAgent.d.ts +14 -0
  12. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
  13. package/dist/cjs/ConfigurationAgent.js +48 -0
  14. package/dist/cjs/ConfigurationAgent.js.map +1 -1
  15. package/dist/cjs/ContactAgent.d.ts +33 -2
  16. package/dist/cjs/ContactAgent.d.ts.map +1 -1
  17. package/dist/cjs/ContactAgent.js +67 -0
  18. package/dist/cjs/ContactAgent.js.map +1 -1
  19. package/dist/cjs/Converters.d.ts +15 -39
  20. package/dist/cjs/Converters.d.ts.map +1 -1
  21. package/dist/cjs/Converters.js +174 -570
  22. package/dist/cjs/Converters.js.map +1 -1
  23. package/dist/cjs/CustomerServiceAgent.d.ts +0 -16
  24. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
  25. package/dist/cjs/CustomerServiceAgent.js +0 -44
  26. package/dist/cjs/CustomerServiceAgent.js.map +1 -1
  27. package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
  28. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  29. package/dist/cjs/DiagnosticsAgent.js +24 -0
  30. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  31. package/dist/cjs/EMailAgent.d.ts +5 -5
  32. package/dist/cjs/EMailAgent.js +1 -1
  33. package/dist/cjs/Enums.d.ts +34 -244
  34. package/dist/cjs/Enums.d.ts.map +1 -1
  35. package/dist/cjs/Enums.js +38 -254
  36. package/dist/cjs/Enums.js.map +1 -1
  37. package/dist/cjs/FreeTextAgent.d.ts +0 -67
  38. package/dist/cjs/FreeTextAgent.d.ts.map +1 -1
  39. package/dist/cjs/FreeTextAgent.js +0 -156
  40. package/dist/cjs/FreeTextAgent.js.map +1 -1
  41. package/dist/cjs/LicenseAgent.d.ts +22 -0
  42. package/dist/cjs/LicenseAgent.d.ts.map +1 -1
  43. package/dist/cjs/LicenseAgent.js +57 -0
  44. package/dist/cjs/LicenseAgent.js.map +1 -1
  45. package/dist/cjs/ListAgent.d.ts +18 -18
  46. package/dist/cjs/ListAgent.d.ts.map +1 -1
  47. package/dist/cjs/ListAgent.js +15 -15
  48. package/dist/cjs/ListAgent.js.map +1 -1
  49. package/dist/cjs/NavigatorAgent.d.ts +0 -8
  50. package/dist/cjs/NavigatorAgent.d.ts.map +1 -1
  51. package/dist/cjs/NavigatorAgent.js +0 -22
  52. package/dist/cjs/NavigatorAgent.js.map +1 -1
  53. package/dist/cjs/PersonAgent.d.ts +18 -0
  54. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  55. package/dist/cjs/PersonAgent.js +36 -0
  56. package/dist/cjs/PersonAgent.js.map +1 -1
  57. package/dist/cjs/QuoteAgent.d.ts +0 -48
  58. package/dist/cjs/QuoteAgent.d.ts.map +1 -1
  59. package/dist/cjs/QuoteAgent.js +0 -118
  60. package/dist/cjs/QuoteAgent.js.map +1 -1
  61. package/dist/cjs/ReportAgent.d.ts +0 -121
  62. package/dist/cjs/ReportAgent.d.ts.map +1 -1
  63. package/dist/cjs/ReportAgent.js +0 -271
  64. package/dist/cjs/ReportAgent.js.map +1 -1
  65. package/dist/cjs/SelectionAgent.d.ts +0 -46
  66. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  67. package/dist/cjs/SelectionAgent.js +0 -110
  68. package/dist/cjs/SelectionAgent.js.map +1 -1
  69. package/dist/cjs/ViewStateAgent.d.ts +22 -22
  70. package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
  71. package/dist/cjs/ViewStateAgent.js +57 -57
  72. package/dist/cjs/ViewStateAgent.js.map +1 -1
  73. package/dist/cjs/WebApi.d.ts +0 -18
  74. package/dist/cjs/WebApi.d.ts.map +1 -1
  75. package/dist/cjs/WebApi.js +2 -29
  76. package/dist/cjs/WebApi.js.map +1 -1
  77. package/dist/esm/AIAgent.d.ts +83 -0
  78. package/dist/esm/AIAgent.d.ts.map +1 -1
  79. package/dist/esm/AIAgent.js +173 -0
  80. package/dist/esm/AIAgent.js.map +1 -1
  81. package/dist/esm/BLOBAgent.d.ts +0 -31
  82. package/dist/esm/BLOBAgent.d.ts.map +1 -1
  83. package/dist/esm/BLOBAgent.js +0 -67
  84. package/dist/esm/BLOBAgent.js.map +1 -1
  85. package/dist/esm/Carriers.d.ts +257 -1075
  86. package/dist/esm/Carriers.d.ts.map +1 -1
  87. package/dist/esm/ConfigurationAgent.d.ts +14 -0
  88. package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
  89. package/dist/esm/ConfigurationAgent.js +48 -0
  90. package/dist/esm/ConfigurationAgent.js.map +1 -1
  91. package/dist/esm/ContactAgent.d.ts +33 -2
  92. package/dist/esm/ContactAgent.d.ts.map +1 -1
  93. package/dist/esm/ContactAgent.js +67 -0
  94. package/dist/esm/ContactAgent.js.map +1 -1
  95. package/dist/esm/Converters.d.ts +15 -39
  96. package/dist/esm/Converters.d.ts.map +1 -1
  97. package/dist/esm/Converters.js +134 -505
  98. package/dist/esm/Converters.js.map +1 -1
  99. package/dist/esm/CustomerServiceAgent.d.ts +0 -16
  100. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
  101. package/dist/esm/CustomerServiceAgent.js +0 -44
  102. package/dist/esm/CustomerServiceAgent.js.map +1 -1
  103. package/dist/esm/DiagnosticsAgent.d.ts +7 -0
  104. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  105. package/dist/esm/DiagnosticsAgent.js +24 -0
  106. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  107. package/dist/esm/EMailAgent.d.ts +5 -5
  108. package/dist/esm/EMailAgent.js +1 -1
  109. package/dist/esm/Enums.d.ts +34 -244
  110. package/dist/esm/Enums.d.ts.map +1 -1
  111. package/dist/esm/Enums.js +34 -250
  112. package/dist/esm/Enums.js.map +1 -1
  113. package/dist/esm/FreeTextAgent.d.ts +0 -67
  114. package/dist/esm/FreeTextAgent.d.ts.map +1 -1
  115. package/dist/esm/FreeTextAgent.js +0 -156
  116. package/dist/esm/FreeTextAgent.js.map +1 -1
  117. package/dist/esm/LicenseAgent.d.ts +22 -0
  118. package/dist/esm/LicenseAgent.d.ts.map +1 -1
  119. package/dist/esm/LicenseAgent.js +57 -0
  120. package/dist/esm/LicenseAgent.js.map +1 -1
  121. package/dist/esm/ListAgent.d.ts +18 -18
  122. package/dist/esm/ListAgent.d.ts.map +1 -1
  123. package/dist/esm/ListAgent.js +15 -15
  124. package/dist/esm/ListAgent.js.map +1 -1
  125. package/dist/esm/NavigatorAgent.d.ts +0 -8
  126. package/dist/esm/NavigatorAgent.d.ts.map +1 -1
  127. package/dist/esm/NavigatorAgent.js +0 -22
  128. package/dist/esm/NavigatorAgent.js.map +1 -1
  129. package/dist/esm/PersonAgent.d.ts +18 -0
  130. package/dist/esm/PersonAgent.d.ts.map +1 -1
  131. package/dist/esm/PersonAgent.js +36 -0
  132. package/dist/esm/PersonAgent.js.map +1 -1
  133. package/dist/esm/QuoteAgent.d.ts +0 -48
  134. package/dist/esm/QuoteAgent.d.ts.map +1 -1
  135. package/dist/esm/QuoteAgent.js +0 -118
  136. package/dist/esm/QuoteAgent.js.map +1 -1
  137. package/dist/esm/ReportAgent.d.ts +0 -121
  138. package/dist/esm/ReportAgent.d.ts.map +1 -1
  139. package/dist/esm/ReportAgent.js +0 -271
  140. package/dist/esm/ReportAgent.js.map +1 -1
  141. package/dist/esm/SelectionAgent.d.ts +0 -46
  142. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  143. package/dist/esm/SelectionAgent.js +0 -110
  144. package/dist/esm/SelectionAgent.js.map +1 -1
  145. package/dist/esm/ViewStateAgent.d.ts +22 -22
  146. package/dist/esm/ViewStateAgent.d.ts.map +1 -1
  147. package/dist/esm/ViewStateAgent.js +57 -57
  148. package/dist/esm/ViewStateAgent.js.map +1 -1
  149. package/dist/esm/WebApi.d.ts +0 -18
  150. package/dist/esm/WebApi.d.ts.map +1 -1
  151. package/dist/esm/WebApi.js +0 -27
  152. package/dist/esm/WebApi.js.map +1 -1
  153. package/package.json +3 -3
  154. package/src/AIAgent.ts +296 -0
  155. package/src/BLOBAgent.ts +0 -114
  156. package/src/Carriers.ts +357 -1459
  157. package/src/ConfigurationAgent.ts +60 -0
  158. package/src/ContactAgent.ts +116 -2
  159. package/src/Converters.ts +175 -622
  160. package/src/CustomerServiceAgent.ts +0 -47
  161. package/src/DiagnosticsAgent.ts +30 -0
  162. package/src/EMailAgent.ts +5 -5
  163. package/src/Enums.ts +35 -257
  164. package/src/FreeTextAgent.ts +0 -254
  165. package/src/LicenseAgent.ts +86 -0
  166. package/src/ListAgent.ts +34 -34
  167. package/src/NavigatorAgent.ts +0 -24
  168. package/src/PersonAgent.ts +62 -0
  169. package/src/QuoteAgent.ts +0 -193
  170. package/src/ReportAgent.ts +0 -421
  171. package/src/SelectionAgent.ts +0 -160
  172. package/src/ViewStateAgent.ts +86 -86
  173. package/src/WebApi.ts +0 -36
  174. package/dist/cjs/AudienceAgent.d.ts +0 -376
  175. package/dist/cjs/AudienceAgent.d.ts.map +0 -1
  176. package/dist/cjs/AudienceAgent.js +0 -888
  177. package/dist/cjs/AudienceAgent.js.map +0 -1
  178. package/dist/cjs/DashboardAgent.d.ts +0 -197
  179. package/dist/cjs/DashboardAgent.d.ts.map +0 -1
  180. package/dist/cjs/DashboardAgent.js +0 -436
  181. package/dist/cjs/DashboardAgent.js.map +0 -1
  182. package/dist/cjs/ReplicationAgent.d.ts +0 -101
  183. package/dist/cjs/ReplicationAgent.d.ts.map +0 -1
  184. package/dist/cjs/ReplicationAgent.js +0 -223
  185. package/dist/cjs/ReplicationAgent.js.map +0 -1
  186. package/dist/esm/AudienceAgent.d.ts +0 -376
  187. package/dist/esm/AudienceAgent.d.ts.map +0 -1
  188. package/dist/esm/AudienceAgent.js +0 -883
  189. package/dist/esm/AudienceAgent.js.map +0 -1
  190. package/dist/esm/DashboardAgent.d.ts +0 -197
  191. package/dist/esm/DashboardAgent.d.ts.map +0 -1
  192. package/dist/esm/DashboardAgent.js +0 -431
  193. package/dist/esm/DashboardAgent.js.map +0 -1
  194. package/dist/esm/ReplicationAgent.d.ts +0 -101
  195. package/dist/esm/ReplicationAgent.d.ts.map +0 -1
  196. package/dist/esm/ReplicationAgent.js +0 -218
  197. package/dist/esm/ReplicationAgent.js.map +0 -1
  198. package/src/AudienceAgent.ts +0 -1430
  199. package/src/DashboardAgent.ts +0 -658
  200. package/src/ReplicationAgent.ts +0 -325
package/src/Carriers.ts CHANGED
@@ -3723,43 +3723,6 @@ export interface Quote_RecalculateQuoteLineRequest {
3723
3723
 
3724
3724
  // response object: QuoteLine
3725
3725
 
3726
- /**
3727
- * Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
3728
- * Returns Blob
3729
- */
3730
- export interface Quote_GetQuoteLineImageRequest {
3731
- /**
3732
- * Primary key of the quoteline
3733
- */
3734
- quoteLineId: number;
3735
- /**
3736
- * The rank of the image.
3737
- */
3738
- rank: number;
3739
- }
3740
-
3741
- // response object: Blob
3742
-
3743
- /**
3744
- * Saves the image connected to a quoteline in the SuperOffice database
3745
- */
3746
- export interface Quote_SaveQuoteLineImageRequest {
3747
- /**
3748
- * Primary key of the quoteline
3749
- */
3750
- quoteLineId: number;
3751
- /**
3752
- * The image.
3753
- */
3754
- image: ArrayBuffer | string;
3755
- /**
3756
- * The rank of the image.
3757
- */
3758
- rank: number;
3759
- }
3760
-
3761
- // Void response...
3762
-
3763
3726
  /**
3764
3727
  * Converts an xml string into an object representation.
3765
3728
  * Returns ProductExtraDataField[]
@@ -3920,48 +3883,6 @@ export interface Quote_SaveQuoteLineConfigurationsRequest {
3920
3883
  // response object: QuoteLineConfiguration[]
3921
3884
 
3922
3885
 
3923
- /**
3924
- * One line in a list
3925
- */
3926
- export interface QuoteListItem extends Carrier {
3927
-
3928
-
3929
- /**
3930
- * Primary key for the item.
3931
- */
3932
- erpQuoteListItemKey?: string;
3933
-
3934
- /**
3935
- * List item text to display.
3936
- */
3937
- displayValue?: string;
3938
-
3939
- /**
3940
- * Typically used in a tooltip.
3941
- */
3942
- displayDescription?: string;
3943
-
3944
- }
3945
-
3946
-
3947
-
3948
-
3949
-
3950
-
3951
- /**
3952
- * Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
3953
- * Returns QuoteListItem[]
3954
- */
3955
- export interface Quote_GetQuoteListRequest {
3956
- /**
3957
- * The name of the requested list, for instance: ProductCategory, ProductFamily, ProductType, PaymentTerms, PaymentType, DeliveryTerms, DeliveryType.
3958
- */
3959
- quoteListType: string;
3960
- }
3961
-
3962
- // response object: QuoteListItem[]
3963
-
3964
-
3965
3886
  /**
3966
3887
  * Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments
3967
3888
  */
@@ -4858,7 +4779,6 @@ export interface QuoteVersionWorkflowState extends Carrier {
4858
4779
 
4859
4780
 
4860
4781
 
4861
-
4862
4782
 
4863
4783
 
4864
4784
  /**
@@ -7181,6 +7101,23 @@ export interface Contact_ValidateContactEntityRequest {
7181
7101
 
7182
7102
  // response object: StringDictionary
7183
7103
 
7104
+ /**
7105
+ * Enrich a contact with data from the AI Enrichment service. This will update the contact with address, phone number, and email.
7106
+ * Returns ContactEntity
7107
+ */
7108
+ export interface Contact_EnrichContactEntityRequest {
7109
+ /**
7110
+ * The contact entity to enrich.
7111
+ */
7112
+ contactEntity: ContactEntity;
7113
+ /**
7114
+ * Id from the EnrichContact provider
7115
+ */
7116
+ enrichId: string;
7117
+ }
7118
+
7119
+ // response object: ContactEntity
7120
+
7184
7121
 
7185
7122
  /**
7186
7123
  * Getting the contacts where the user currently logged in is set as contact owner.
@@ -7335,6 +7272,19 @@ export interface Contact_GetPreviewContactRequest {
7335
7272
 
7336
7273
  // response object: PreviewContact
7337
7274
 
7275
+ /**
7276
+ * Get a contact from its ID
7277
+ * Returns PreviewContact
7278
+ */
7279
+ export interface Contact_GetPreviewEnrichContactRequest {
7280
+ /**
7281
+ * Enrich Contact ID from the EnrichContact MDO list provider
7282
+ */
7283
+ enrichId: string;
7284
+ }
7285
+
7286
+ // response object: PreviewContact
7287
+
7338
7288
 
7339
7289
 
7340
7290
 
@@ -8701,6 +8651,30 @@ export interface Person_GetCustomerCentrePasswordReplyTemplateRequest {
8701
8651
 
8702
8652
  // response object: ReplyTemplateParsed
8703
8653
 
8654
+ /**
8655
+ * Sends a Customer Centre password email based on the reply template.
8656
+ */
8657
+ export interface Person_SendCustomerCentrePasswordEmailRequest {
8658
+ /**
8659
+ * Person id associated to email's reply template.
8660
+ */
8661
+ personId: number;
8662
+ /**
8663
+ * Sender's email address.
8664
+ */
8665
+ from: string;
8666
+ /**
8667
+ * Recipient's email address.
8668
+ */
8669
+ to: string;
8670
+ /**
8671
+ * Email's subject.
8672
+ */
8673
+ subject: string;
8674
+ }
8675
+
8676
+ // Void response...
8677
+
8704
8678
  /**
8705
8679
  * Inserts into outbox an email with specified details.
8706
8680
  */
@@ -15559,7 +15533,7 @@ export interface SuggestedAppointmentEntity extends Carrier {
15559
15533
  /**
15560
15534
  * Type of the suggested appointment
15561
15535
  */
15562
- type?: Task;
15536
+ type?: SoTask;
15563
15537
 
15564
15538
  }
15565
15539
 
@@ -23238,7 +23212,7 @@ export interface Tag extends Carrier {
23238
23212
  /**
23239
23213
  * Type of an appointment
23240
23214
  */
23241
- export interface Task extends Carrier {
23215
+ export interface SoTask extends Carrier {
23242
23216
 
23243
23217
 
23244
23218
  /**
@@ -23265,7 +23239,7 @@ export interface Task extends Carrier {
23265
23239
 
23266
23240
  /**
23267
23241
  * Returns a Document Template list item as a TaskListItem. The appointment's task is a Document template item when the appointment is a document.
23268
- * Returns Task
23242
+ * Returns SoTask
23269
23243
  */
23270
23244
  export interface List_GetDocumentTemplateTaskRequest {
23271
23245
  /**
@@ -23274,26 +23248,26 @@ export interface List_GetDocumentTemplateTaskRequest {
23274
23248
  documentTemplateId: number;
23275
23249
  }
23276
23250
 
23277
- // response object: Task
23251
+ // response object: SoTask
23278
23252
 
23279
23253
 
23280
23254
  /**
23281
23255
  * Returns all appointment tasks
23282
- * Returns Task[]
23256
+ * Returns SoTask[]
23283
23257
  */
23284
23258
  export interface List_GetTasksRequest {
23285
23259
  }
23286
23260
 
23287
- // response object: Task[]
23261
+ // response object: SoTask[]
23288
23262
 
23289
23263
  /**
23290
23264
  * The appointment's task is a Document template item when the appointment is a document.
23291
- * Returns Task[]
23265
+ * Returns SoTask[]
23292
23266
  */
23293
23267
  export interface List_GetDocumentTemplatesTasksRequest {
23294
23268
  }
23295
23269
 
23296
- // response object: Task[]
23270
+ // response object: SoTask[]
23297
23271
 
23298
23272
  /**
23299
23273
  * Returns all appointment tasks
@@ -24828,35 +24802,6 @@ export interface BLOB_GetQuoteLineImageRequest {
24828
24802
 
24829
24803
  // response object: Blob
24830
24804
 
24831
- /**
24832
- * 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
24833
- * Returns string
24834
- */
24835
- export interface BLOB_GetAppDataRequest {
24836
- /**
24837
- * The key string, less than 200 characters. Must be unique within each application.
24838
- */
24839
- key: string;
24840
- }
24841
-
24842
- // response object: string
24843
-
24844
- /**
24845
- * 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.
24846
- */
24847
- export interface BLOB_SetAppDataRequest {
24848
- /**
24849
- * The key string, less than 200 characters. Must be unique within each application.
24850
- */
24851
- key: string;
24852
- /**
24853
- * The applications value, suggested to be a JSON, XML or other readable structure
24854
- */
24855
- data: string;
24856
- }
24857
-
24858
- // Void response...
24859
-
24860
24805
  /**
24861
24806
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
24862
24807
  * Returns Blob
@@ -25504,8 +25449,6 @@ export interface SelectableMDOListItem extends Carrier {
25504
25449
 
25505
25450
 
25506
25451
 
25507
-
25508
-
25509
25452
 
25510
25453
 
25511
25454
 
@@ -25693,6 +25636,22 @@ export interface Configuration_GetRecipeAppliesToMappingsRequest {
25693
25636
 
25694
25637
  // response object: StringDictionary
25695
25638
 
25639
+ /**
25640
+ * Flush and rebuild CustomObjectArchivePanel deltas.
25641
+ */
25642
+ export interface Configuration_RebuildCustomObjectArchivePanelDeltasRequest {
25643
+ }
25644
+
25645
+ // Void response...
25646
+
25647
+ /**
25648
+ * Flush and rebuild TaskMenu deltas.
25649
+ */
25650
+ export interface Configuration_RebuildTaskMenuDeltasRequest {
25651
+ }
25652
+
25653
+ // Void response...
25654
+
25696
25655
 
25697
25656
  /**
25698
25657
  * 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.
@@ -26500,6 +26459,27 @@ export interface ViewState_DeleteHistoryRequest {
26500
26459
 
26501
26460
  // Void response...
26502
26461
 
26462
+ /**
26463
+ * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
26464
+ * Returns number
26465
+ */
26466
+ export interface ViewState_GetHistoryLengthPrefValueRequest {
26467
+ }
26468
+
26469
+ // response object: number
26470
+
26471
+ /**
26472
+ * Set the logged on user's preferred history list length.
26473
+ */
26474
+ export interface ViewState_SetHistoryLengthPrefValueRequest {
26475
+ /**
26476
+ * The new history list lenght
26477
+ */
26478
+ length: number;
26479
+ }
26480
+
26481
+ // Void response...
26482
+
26503
26483
 
26504
26484
  /**
26505
26485
  * Returns all history items that belong to the currently logged in user
@@ -26553,27 +26533,6 @@ export interface ViewState_SaveHistoriesRequest {
26553
26533
 
26554
26534
  // response object: History[]
26555
26535
 
26556
- /**
26557
- * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
26558
- * Returns number
26559
- */
26560
- export interface ViewState_GetHistoryLengthPrefValueRequest {
26561
- }
26562
-
26563
- // response object: number
26564
-
26565
- /**
26566
- * Set the logged on user's preferred history list length.
26567
- */
26568
- export interface ViewState_SetHistoryLengthPrefValueRequest {
26569
- /**
26570
- * The new history list lenght
26571
- */
26572
- length: number;
26573
- }
26574
-
26575
- // Void response...
26576
-
26577
26536
  /**
26578
26537
  * 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.
26579
26538
  * Returns History[]
@@ -27258,6 +27217,29 @@ export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
27258
27217
  // Void response...
27259
27218
 
27260
27219
 
27220
+ /**
27221
+ * Operations related to table management
27222
+ */
27223
+ export interface TableManager extends Carrier {
27224
+
27225
+
27226
+ }
27227
+
27228
+
27229
+
27230
+
27231
+
27232
+
27233
+ /**
27234
+ * Increment save and return NextTableNumber, to be used when creating new extra table
27235
+ * Returns number
27236
+ */
27237
+ export interface Diagnostics_GetNextTableNumberRequest {
27238
+ }
27239
+
27240
+ // response object: number
27241
+
27242
+
27261
27243
  /**
27262
27244
  * Operations related to installation, upgrade and maintenance
27263
27245
  */
@@ -27456,194 +27438,6 @@ export interface Previews_GetPreviewRequest {
27456
27438
  // response object: string
27457
27439
 
27458
27440
 
27459
- /**
27460
- * Settings specifying what selection to perform the mailmerge on, what merge document to use etc.
27461
- */
27462
- export interface MailMergeSettings extends Carrier {
27463
-
27464
-
27465
- /**
27466
- * Identity of selection to use as source for recipients.
27467
- */
27468
- selectionId?: number;
27469
-
27470
- /**
27471
- * Identity of document to be used as merge draft.
27472
- */
27473
- documentId?: number;
27474
-
27475
- /**
27476
- * How the merged document is delivered to the recipients.
27477
- */
27478
- mailMergeDeliveryType?: enums.EMailMergeTargetType;
27479
-
27480
- /**
27481
- * Custom value for attention.
27482
- */
27483
- customAttention?: string;
27484
-
27485
- /**
27486
- * Should custom attention always be used? If false, only use custom attention where there is no default.
27487
- */
27488
- alwaysUseCustomAttention?: boolean;
27489
-
27490
- /**
27491
- * Should we save a reference to the merge document on each recipient.
27492
- */
27493
- saveDocument?: boolean;
27494
-
27495
- /**
27496
- * If specified, use this value as default mail body.
27497
- */
27498
- customMailBody?: string;
27499
-
27500
- /**
27501
- * If specified, register a task on recipients using properties from this object.
27502
- */
27503
- taskEntity?: MailMergeTask;
27504
-
27505
- /**
27506
- * Add this company interest to each company recipient.
27507
- */
27508
- addCompanyInterest?: number;
27509
-
27510
- /**
27511
- * Add this person interest to each person recipient.
27512
- */
27513
- addPersonInterest?: number;
27514
-
27515
- /**
27516
- * Remove this company interest on each company recipient.
27517
- */
27518
- removeCompanyInterest?: number;
27519
-
27520
- /**
27521
- * Remove this person interest on each person recipient.
27522
- */
27523
- removePersonInterest?: number;
27524
-
27525
- /**
27526
- * Include recipients that are marked with NoMailings
27527
- */
27528
- includeNoMailingsRecipient?: boolean;
27529
-
27530
- /**
27531
- * If true, do the merge task, but use current user as target, instead of selection members
27532
- */
27533
- testOnly?: boolean;
27534
-
27535
- /**
27536
- * Identity of project to use as source for recipients.
27537
- */
27538
- projectId?: number;
27539
-
27540
- /**
27541
- * Include recipients that are marked as retired
27542
- */
27543
- includeRetiredRecipients?: boolean;
27544
-
27545
- /**
27546
- * Include recipients that are marked with stop
27547
- */
27548
- includeStoppedRecipients?: boolean;
27549
-
27550
- /**
27551
- * If specified, use this value as default mail subject.
27552
- */
27553
- customMailSubject?: string;
27554
-
27555
- /**
27556
- * Used to store additional information for the delivery systems.
27557
- */
27558
- extraInfo?: string;
27559
-
27560
- /**
27561
- *
27562
- */
27563
- synchronous?: boolean;
27564
-
27565
- /**
27566
- * If true, the selection is a temporary selection that can be deleted later.
27567
- */
27568
- isTemporarySelection?: boolean;
27569
-
27570
- }
27571
-
27572
-
27573
-
27574
-
27575
-
27576
-
27577
-
27578
- /**
27579
- * Properties describing a task to create on recipients of a mail merge
27580
- */
27581
- export interface MailMergeTask extends Carrier {
27582
-
27583
-
27584
- /**
27585
- * Project identity to set on task
27586
- */
27587
- projectId?: number;
27588
-
27589
- /**
27590
- * Type identity to set on task
27591
- */
27592
- typeId?: number;
27593
-
27594
- /**
27595
- * When the task should start
27596
- */
27597
- startDate?: Date;
27598
-
27599
- /**
27600
- * Duration of task
27601
- */
27602
- duration?: number;
27603
-
27604
- /**
27605
- * Text describing task
27606
- */
27607
- description?: string;
27608
-
27609
- /**
27610
- * Priority of task
27611
- */
27612
- priorityId?: number;
27613
-
27614
- /**
27615
- * Who the task should be visible for
27616
- */
27617
- visibleFor?: VisibleFor;
27618
-
27619
- /**
27620
- * Completed status for task
27621
- */
27622
- completed?: enums.ActivityStatus;
27623
-
27624
- /**
27625
- * Associate identity of who should be set as owner of the task. If value is 0, the recipient owner(our contact) will be used.
27626
- */
27627
- ownerAssociateId?: number;
27628
-
27629
- /**
27630
- * Should we only create one task on each company? If false, separate tasks will be created for all persons from the same company.
27631
- */
27632
- singleEntryOnEachCompany?: boolean;
27633
-
27634
- /**
27635
- * Sale identity to set on task
27636
- */
27637
- saleId?: number;
27638
-
27639
- }
27640
-
27641
-
27642
-
27643
-
27644
-
27645
-
27646
-
27647
27441
  /**
27648
27442
  *
27649
27443
  */
@@ -27915,19 +27709,6 @@ export interface Selection_CreateTemporaryContactSelectionFromContactPersonIdsRe
27915
27709
 
27916
27710
  // response object: SelectionEntity
27917
27711
 
27918
- /**
27919
- * Creates a temporary selection with members from an existing project.
27920
- * Returns SelectionEntity
27921
- */
27922
- export interface Selection_CreateTemporaryContactSelectionFromProjectMembersRequest {
27923
- /**
27924
- * The id of the project to add members from.
27925
- */
27926
- projectId: number;
27927
- }
27928
-
27929
- // response object: SelectionEntity
27930
-
27931
27712
  /**
27932
27713
  * Copy contact selection members from selection into an existing selection.
27933
27714
  */
@@ -28209,18 +27990,6 @@ export interface Selection_ExportSelectionMembersWithOrderByRequest {
28209
27990
 
28210
27991
  // response object: number[]
28211
27992
 
28212
- /**
28213
- * Start a mailmerge operation with specified settings.
28214
- */
28215
- export interface Selection_StartMailMergeRequest {
28216
- /**
28217
- * All settings needed to perform the mailmerge operation.
28218
- */
28219
- settings: MailMergeSettings;
28220
- }
28221
-
28222
- // Void response...
28223
-
28224
27993
  /**
28225
27994
  * Set which duplicate rules should be active or not
28226
27995
  */
@@ -30914,7 +30683,7 @@ export interface SyncUserAccount extends Carrier {
30914
30683
 
30915
30684
 
30916
30685
  /**
30917
- * Gets the list of SyncUserAccounts that should be synced.
30686
+ * Gets the list of SyncUserAccounts that should be synced, from mail server to SuperOffice database cache.
30918
30687
  * Returns SyncUserAccount[]
30919
30688
  */
30920
30689
  export interface EMail_GetReadySyncEmailAccountsRequest {
@@ -30923,7 +30692,7 @@ export interface EMail_GetReadySyncEmailAccountsRequest {
30923
30692
  // response object: SyncUserAccount[]
30924
30693
 
30925
30694
  /**
30926
- * Sync the given account
30695
+ * 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.
30927
30696
  */
30928
30697
  export interface EMail_SyncEmailAccountRequest {
30929
30698
  /**
@@ -30935,7 +30704,7 @@ export interface EMail_SyncEmailAccountRequest {
30935
30704
  // Void response...
30936
30705
 
30937
30706
  /**
30938
- * Start syncing of the given accounts
30707
+ * 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.
30939
30708
  */
30940
30709
  export interface EMail_SyncEmailAccountsRequest {
30941
30710
  /**
@@ -32330,7 +32099,6 @@ export interface VisibleFor extends Carrier {
32330
32099
 
32331
32100
 
32332
32101
 
32333
-
32334
32102
  /**
32335
32103
  * Abstract basic information about database fields. May be custom or user-defined fields. The information can be used to build a user interface.
32336
32104
  */
@@ -33435,165 +33203,6 @@ export interface UserDefinedFieldInfo_ClearCachesRequest {
33435
33203
 
33436
33204
 
33437
33205
 
33438
- /**
33439
- *
33440
- */
33441
- export interface ReportEntity extends Carrier {
33442
-
33443
-
33444
- /**
33445
- * The id of the report.
33446
- */
33447
- reportId?: number;
33448
-
33449
- /**
33450
- * The category of the report.
33451
- */
33452
- reportCategory?: enums.ReportCategory;
33453
-
33454
- /**
33455
- * The description of the report.
33456
- */
33457
- description?: string;
33458
-
33459
- /**
33460
- * The layout of the report.
33461
- */
33462
- reportLayout?: enums.ReportLayout;
33463
-
33464
- /**
33465
- * The name of the report
33466
- */
33467
- name?: string;
33468
-
33469
- /**
33470
- * The owner of the report.
33471
- */
33472
- associateId?: number;
33473
-
33474
- /**
33475
- * The id of report template.
33476
- */
33477
- templateId?: number;
33478
-
33479
- /**
33480
- * Is the report published?
33481
- */
33482
- published?: boolean;
33483
-
33484
- }
33485
-
33486
-
33487
-
33488
-
33489
-
33490
-
33491
- /**
33492
- * Creates the report as favorite. The sourceId is the key to the report that the favorite is based on.
33493
- * Returns ReportEntity
33494
- */
33495
- export interface Report_CreateFavoriteRequest {
33496
- /**
33497
- * The primary key to the report to make the favorite from.
33498
- */
33499
- sourceId: number;
33500
- /**
33501
- * The name of the new favorite.
33502
- */
33503
- name: string;
33504
- /**
33505
- * The description of the new favorite.
33506
- */
33507
- description: string;
33508
- }
33509
-
33510
- // response object: ReportEntity
33511
-
33512
- /**
33513
- * Deletes the report favorite.
33514
- */
33515
- export interface Report_DeleteFavoriteRequest {
33516
- /**
33517
- * The id of the report favorite to delete.
33518
- */
33519
- reportEntityId: number;
33520
- }
33521
-
33522
- // Void response...
33523
-
33524
- /**
33525
- * Updates the favorite.
33526
- * Returns ReportEntity
33527
- */
33528
- export interface Report_UpdateFavoriteRequest {
33529
- /**
33530
- * ReportEntity carrier containg updated data.
33531
- */
33532
- reportEntity: ReportEntity;
33533
- }
33534
-
33535
- // response object: ReportEntity
33536
-
33537
- /**
33538
- * Generates the report in PDF format
33539
- * Returns string
33540
- */
33541
- export interface Report_GenerateReportRequest {
33542
- /**
33543
- * The id of the report.
33544
- */
33545
- reportId: number;
33546
- /**
33547
- * The id of the labellayout. Use 0 if the report isn't of type label.
33548
- */
33549
- labelLayoutId: number;
33550
- /**
33551
- * Filename of the report.
33552
- */
33553
- filename: string;
33554
- /**
33555
- * Language to use when generating the report.
33556
- */
33557
- language: string;
33558
- /**
33559
- *
33560
- */
33561
- fileType: string;
33562
- /**
33563
- * Use restrictions to provide additional restrictions when generating the report.
33564
- */
33565
- restrictions: ArchiveRestrictionInfo[];
33566
- }
33567
-
33568
- // response object: string
33569
-
33570
- /**
33571
- * Takes the input stream and create a report. This stream must be on a valid xml format
33572
- * Returns number
33573
- */
33574
- export interface Report_ImportReportRequest {
33575
- /**
33576
- * The report to import in a correct xml format
33577
- */
33578
- report: string;
33579
- }
33580
-
33581
- // response object: number
33582
-
33583
- /**
33584
- * Delete the report with the given id
33585
- * Returns boolean
33586
- */
33587
- export interface Report_DeleteReportRequest {
33588
- /**
33589
- * The id of the report to delete
33590
- */
33591
- reportId: number;
33592
- }
33593
-
33594
- // response object: boolean
33595
-
33596
-
33597
33206
  /**
33598
33207
  *
33599
33208
  */
@@ -35780,423 +35389,6 @@ export interface Archive_GetRelatedData2Request {
35780
35389
 
35781
35390
 
35782
35391
 
35783
-
35784
-
35785
-
35786
-
35787
-
35788
-
35789
-
35790
- /**
35791
- * An Audience configuration parameter, used for handling Audience application or Web part settings.
35792
- */
35793
- export interface AudienceConfigParameter extends Carrier {
35794
-
35795
-
35796
- /**
35797
- * The id of the Audience layout this configuration setting belongs to
35798
- */
35799
- audienceLayoutId?: number;
35800
-
35801
- /**
35802
- * The name of the configuration parameter
35803
- */
35804
- name?: string;
35805
-
35806
- /**
35807
- * The value of the configuration parameter
35808
- */
35809
- value?: string;
35810
-
35811
- /**
35812
- * The date and time the configuration parameter was created
35813
- */
35814
- createdDate?: Date;
35815
-
35816
- /**
35817
- * The date and time the configuration parameter was last updated
35818
- */
35819
- updatedDate?: Date;
35820
-
35821
- /**
35822
- * Name of the person that created the configuration parameter
35823
- */
35824
- createdBy?: string;
35825
-
35826
- /**
35827
- * Name of the person that last updated the configuration parameter
35828
- */
35829
- updatedBy?: string;
35830
-
35831
- }
35832
-
35833
-
35834
-
35835
-
35836
-
35837
-
35838
- /**
35839
- * Saves an Audience configuration parameter belonging to a Audience layout
35840
- * Returns AudienceConfigParameter
35841
- */
35842
- export interface Audience_SaveConfigParameterRequest {
35843
- /**
35844
- * Name of the Audience layout instance
35845
- */
35846
- layoutName: string;
35847
- /**
35848
- * The Audience configuration parameter to save.
35849
- */
35850
- configParameter: AudienceConfigParameter;
35851
- }
35852
-
35853
- // response object: AudienceConfigParameter
35854
-
35855
- /**
35856
- * Gets the string value of an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
35857
- * Returns string
35858
- */
35859
- export interface Audience_GetConfigParameterValueRequest {
35860
- /**
35861
- * Name of the Audience layout instance
35862
- */
35863
- layoutName: string;
35864
- /**
35865
- * The name of the Audience configuration parameter
35866
- */
35867
- parameterName: string;
35868
- }
35869
-
35870
- // response object: string
35871
-
35872
- /**
35873
- * Gets an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
35874
- * Returns AudienceConfigParameter
35875
- */
35876
- export interface Audience_GetConfigParameterRequest {
35877
- /**
35878
- * Name of the Audience layout instance
35879
- */
35880
- layoutName: string;
35881
- /**
35882
- * The name of the Audience configuration parameter
35883
- */
35884
- parameterName: string;
35885
- }
35886
-
35887
- // response object: AudienceConfigParameter
35888
-
35889
- /**
35890
- * Deletes an Audience configuration parameter belonging to a Audience layout
35891
- */
35892
- export interface Audience_DeleteConfigParameterRequest {
35893
- /**
35894
- * Name of the Audience layout instance
35895
- */
35896
- layoutName: string;
35897
- /**
35898
- * The name of the Audience configuration parameter
35899
- */
35900
- parameterName: string;
35901
- }
35902
-
35903
- // Void response...
35904
-
35905
- /**
35906
- * Gets an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
35907
- * Returns AudienceConfigParameter
35908
- */
35909
- export interface Audience_GetMyConfigParameterRequest {
35910
- /**
35911
- * The name of the Audience configuration parameter
35912
- */
35913
- parameterName: string;
35914
- }
35915
-
35916
- // response object: AudienceConfigParameter
35917
-
35918
- /**
35919
- * Gets the string value of an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
35920
- * Returns string
35921
- */
35922
- export interface Audience_GetMyConfigParameterValueRequest {
35923
- /**
35924
- * The name of the Audience configuration parameter
35925
- */
35926
- parameterName: string;
35927
- }
35928
-
35929
- // response object: string
35930
-
35931
- /**
35932
- * Gets the string value of an Audience configuration parameter with the specified configuration parameter name on the person specified
35933
- * Returns string
35934
- */
35935
- export interface Audience_GetConfigParameterValueOnPersonRequest {
35936
- /**
35937
- * The name of the Audience configuration parameter
35938
- */
35939
- parameterName: string;
35940
- /**
35941
- * Id of the person the parameter belongs to
35942
- */
35943
- personId: number;
35944
- }
35945
-
35946
- // response object: string
35947
-
35948
- /**
35949
- * Gets an Audience configuration parameter with the specified configuration parameter name on the person specified
35950
- * Returns AudienceConfigParameter
35951
- */
35952
- export interface Audience_GetConfigParameterOnPersonRequest {
35953
- /**
35954
- * The name of the Audience configuration parameter
35955
- */
35956
- parameterName: string;
35957
- /**
35958
- * Id of the person the parameter belongs to
35959
- */
35960
- personId: number;
35961
- }
35962
-
35963
- // response object: AudienceConfigParameter
35964
-
35965
-
35966
- /**
35967
- * Gets the Audience configuration parameters belonging to a given Audience layout.
35968
- * Returns AudienceConfigParameter[]
35969
- */
35970
- export interface Audience_GetConfigParametersByLayoutNameRequest {
35971
- /**
35972
- * Name of the Audience layout instance
35973
- */
35974
- layoutName: string;
35975
- }
35976
-
35977
- // response object: AudienceConfigParameter[]
35978
-
35979
- /**
35980
- * Gets the Audience configuration parameters belonging to the currently logged on user.
35981
- * Returns AudienceConfigParameter[]
35982
- */
35983
- export interface Audience_GetMyConfigParametersRequest {
35984
- }
35985
-
35986
- // response object: AudienceConfigParameter[]
35987
-
35988
- /**
35989
- * Gets the Audience configuration parameters belonging to the person specified
35990
- * Returns AudienceConfigParameter[]
35991
- */
35992
- export interface Audience_GetConfigParametersOnPersonRequest {
35993
- /**
35994
- * Id of the person the parameter belongs to
35995
- */
35996
- personId: number;
35997
- }
35998
-
35999
- // response object: AudienceConfigParameter[]
36000
-
36001
-
36002
- /**
36003
- * 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
36004
- */
36005
- export interface AudienceLayoutEntity extends Carrier {
36006
-
36007
-
36008
- /**
36009
- * The Id of the Audience layout
36010
- */
36011
- audienceLayoutId?: number;
36012
-
36013
- /**
36014
- * The web part layout as a serialized string
36015
- */
36016
- instanceLayout?: string;
36017
-
36018
- /**
36019
- * Name of the layout instance
36020
- */
36021
- instanceName?: string;
36022
-
36023
- /**
36024
- * The date and time the Audience layout was created
36025
- */
36026
- createdDate?: Date;
36027
-
36028
- /**
36029
- * The date and time the Audience layout was last updated
36030
- */
36031
- updatedDate?: Date;
36032
-
36033
- /**
36034
- * Name of the person that created the Audience layout
36035
- */
36036
- createdBy?: Associate;
36037
-
36038
- /**
36039
- * Name of the person that last updated the Audience layout
36040
- */
36041
- updatedBy?: Associate;
36042
-
36043
- }
36044
-
36045
-
36046
-
36047
-
36048
-
36049
-
36050
- /**
36051
- * Gets an Audience layout by it's instance name
36052
- * Returns AudienceLayoutEntity
36053
- */
36054
- export interface Audience_GetAudienceLayoutByNameRequest {
36055
- /**
36056
- * Name of the Audience layout instance
36057
- */
36058
- layoutName: string;
36059
- }
36060
-
36061
- // response object: AudienceLayoutEntity
36062
-
36063
- /**
36064
- * Gets the Audience layout belonging to the currently logged on user.
36065
- * Returns AudienceLayoutEntity
36066
- */
36067
- export interface Audience_GetMyAudienceLayoutRequest {
36068
- }
36069
-
36070
- // response object: AudienceLayoutEntity
36071
-
36072
- /**
36073
- * Gets the Audience layout belonging to the person specified.
36074
- * Returns AudienceLayoutEntity
36075
- */
36076
- export interface Audience_GetAudienceLayoutOnPersonRequest {
36077
- /**
36078
- * The person id
36079
- */
36080
- personId: number;
36081
- }
36082
-
36083
- // response object: AudienceLayoutEntity
36084
-
36085
- /**
36086
- * 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.
36087
- * Returns Blob
36088
- */
36089
- export interface Audience_GetDefaultProjectImageRequest {
36090
- /**
36091
- * Name of the Audience layout instance
36092
- */
36093
- layoutName: string;
36094
- }
36095
-
36096
- // response object: Blob
36097
-
36098
- /**
36099
- * 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.
36100
- */
36101
- export interface Audience_SetDefaultProjectImageRequest {
36102
- /**
36103
- * Name of the Audience layout instance
36104
- */
36105
- layoutName: string;
36106
- /**
36107
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
36108
- */
36109
- image: ArrayBuffer | string;
36110
- }
36111
-
36112
- // Void response...
36113
-
36114
- /**
36115
- * 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.
36116
- */
36117
- export interface Audience_SetDefaultPersonImageRequest {
36118
- /**
36119
- * Name of the Audience layout instance
36120
- */
36121
- layoutName: string;
36122
- /**
36123
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
36124
- */
36125
- image: ArrayBuffer | string;
36126
- }
36127
-
36128
- // Void response...
36129
-
36130
- /**
36131
- * 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.
36132
- * Returns Blob
36133
- */
36134
- export interface Audience_GetDefaultPersonImageRequest {
36135
- /**
36136
- * Name of the Audience layout instance
36137
- */
36138
- layoutName: string;
36139
- }
36140
-
36141
- // response object: Blob
36142
-
36143
- /**
36144
- * 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.
36145
- */
36146
- export interface Audience_SetDefaultCountryFlagRequest {
36147
- /**
36148
- * Name of the Audience layout instance
36149
- */
36150
- layoutName: string;
36151
- /**
36152
- * The default country image to be stored for this Audience layout instance (System.Drawing.Image)
36153
- */
36154
- image: ArrayBuffer | string;
36155
- }
36156
-
36157
- // Void response...
36158
-
36159
- /**
36160
- * 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.
36161
- * Returns Blob
36162
- */
36163
- export interface Audience_GetDefaultCountryFlagRequest {
36164
- /**
36165
- * Name of the Audience layout instance
36166
- */
36167
- layoutName: string;
36168
- }
36169
-
36170
- // response object: Blob
36171
-
36172
- /**
36173
- *
36174
- * Returns Blob
36175
- */
36176
- export interface Audience_GetLogoImageRequest {
36177
- /**
36178
- *
36179
- */
36180
- layoutName: string;
36181
- }
36182
-
36183
- // response object: Blob
36184
-
36185
- /**
36186
- *
36187
- */
36188
- export interface Audience_SetLogoImageRequest {
36189
- /**
36190
- *
36191
- */
36192
- layoutName: string;
36193
- /**
36194
- *
36195
- */
36196
- image: ArrayBuffer | string;
36197
- }
36198
-
36199
- // Void response...
36200
35392
 
36201
35393
 
36202
35394
 
@@ -37334,6 +36526,28 @@ export interface License_UnassignThirdPartyLicensesRequest {
37334
36526
 
37335
36527
  // response object: ModuleLicenseLink[]
37336
36528
 
36529
+ /**
36530
+ *
36531
+ * Returns LicenseOwner[]
36532
+ */
36533
+ export interface License_GetCentralLicenseRequest {
36534
+ }
36535
+
36536
+ // response object: LicenseOwner[]
36537
+
36538
+ /**
36539
+ *
36540
+ * Returns LicenseOwner[]
36541
+ */
36542
+ export interface License_SaveCentralLicenseRequest {
36543
+ /**
36544
+ *
36545
+ */
36546
+ license: LicenseOwner[];
36547
+ }
36548
+
36549
+ // response object: LicenseOwner[]
36550
+
37337
36551
 
37338
36552
  /**
37339
36553
  * Represents all licenses for this owner at this site.
@@ -39889,143 +39103,6 @@ export interface UserValidationResult extends Carrier {
39889
39103
 
39890
39104
 
39891
39105
 
39892
- /**
39893
- *
39894
- */
39895
- export interface Area extends Carrier {
39896
-
39897
-
39898
- /**
39899
- * Primary key
39900
- */
39901
- areaId?: number;
39902
-
39903
- /**
39904
- * Area name
39905
- */
39906
- name?: string;
39907
-
39908
- /**
39909
- * Max age of data when generating db's based on this area
39910
- */
39911
- maxDataAge?: number;
39912
-
39913
- /**
39914
- *
39915
- */
39916
- numberOfUsers?: number;
39917
-
39918
- /**
39919
- *
39920
- */
39921
- numberOfLogins?: number;
39922
-
39923
- /**
39924
- *
39925
- */
39926
- freetextEnabeled?: boolean;
39927
-
39928
- }
39929
-
39930
-
39931
-
39932
-
39933
-
39934
-
39935
- /**
39936
- * Enable freetext search on this area
39937
- */
39938
- export interface Replication_SetFreetextSearchEnabledOnAreaRequest {
39939
- /**
39940
- * The id of the area
39941
- */
39942
- areaId: number;
39943
- /**
39944
- * True if freetextSearch on this area shall be enabled
39945
- */
39946
- freetextEnabled: boolean;
39947
- }
39948
-
39949
- // Void response...
39950
-
39951
-
39952
-
39953
- /**
39954
- *
39955
- */
39956
- export interface Satellite extends Carrier {
39957
-
39958
-
39959
- /**
39960
- * Primary key
39961
- */
39962
- satelliteId?: number;
39963
-
39964
- /**
39965
- * Registered when
39966
- */
39967
- created?: Date;
39968
-
39969
- /**
39970
- *
39971
- */
39972
- createdBy?: Associate;
39973
-
39974
- /**
39975
- * Last updated when
39976
- */
39977
- updated?: Date;
39978
-
39979
- /**
39980
- *
39981
- */
39982
- updatedBy?: Associate;
39983
-
39984
- /**
39985
- *
39986
- */
39987
- contact?: Contact;
39988
-
39989
- /**
39990
- *
39991
- */
39992
- area?: Area;
39993
-
39994
- /**
39995
- * The restricted and unrestricted module licenses grouped by license owner. These module licenses are either assigned or unassigned to this user
39996
- */
39997
- licenseOwners?: LicenseOwner[];
39998
-
39999
- }
40000
-
40001
-
40002
-
40003
-
40004
-
40005
-
40006
- /**
40007
- *
40008
- * Returns LicenseOwner[]
40009
- */
40010
- export interface Replication_GetCentralLicenseRequest {
40011
- }
40012
-
40013
- // response object: LicenseOwner[]
40014
-
40015
- /**
40016
- *
40017
- * Returns LicenseOwner[]
40018
- */
40019
- export interface Replication_SaveCentralLicenseRequest {
40020
- /**
40021
- *
40022
- */
40023
- license: LicenseOwner[];
40024
- }
40025
-
40026
- // response object: LicenseOwner[]
40027
-
40028
-
40029
39106
  /**
40030
39107
  * 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.
40031
39108
  */
@@ -40827,18 +39904,6 @@ export interface FreeText_SetEnabledRequest {
40827
39904
 
40828
39905
  // Void response...
40829
39906
 
40830
- /**
40831
- * Automatically enable freetext search for new travel areas? true or false
40832
- */
40833
- export interface FreeText_SetAutoEnableTravelAreasRequest {
40834
- /**
40835
- * If true, auto enable
40836
- */
40837
- autoEnable: boolean;
40838
- }
40839
-
40840
- // Void response...
40841
-
40842
39907
  /**
40843
39908
  * Sets the operator used when matching single words
40844
39909
  */
@@ -40863,52 +39928,6 @@ export interface FreeText_SetMultiWordOperatorRequest {
40863
39928
 
40864
39929
  // Void response...
40865
39930
 
40866
- /**
40867
- * Returns the list of stop words
40868
- * Returns string[]
40869
- */
40870
- export interface FreeText_GetStopWordListRequest {
40871
- }
40872
-
40873
- // response object: string[]
40874
-
40875
- /**
40876
- * Adds the words in the string to the stop word list
40877
- */
40878
- export interface FreeText_AddWordsRequest {
40879
- /**
40880
- * The stop words to add
40881
- */
40882
- stopWords: string;
40883
- }
40884
-
40885
- // Void response...
40886
-
40887
- /**
40888
- * Delete the stop words with these ids
40889
- */
40890
- export interface FreeText_DeleteStopWordsByIdRequest {
40891
- /**
40892
- * The ids of the stopwords to delete
40893
- */
40894
- stopWordIds: number[];
40895
- }
40896
-
40897
- // Void response...
40898
-
40899
- /**
40900
- * Returns the top used words in the freetext index table, sorted as most used first
40901
- * Returns MDOListItem[]
40902
- */
40903
- export interface FreeText_GetSuggestedStopWordsRequest {
40904
- /**
40905
- * The count of words that will be returned
40906
- */
40907
- countWords: number;
40908
- }
40909
-
40910
- // response object: MDOListItem[]
40911
-
40912
39931
  /**
40913
39932
  * Wipe and regenerate the freetext index by scanning the database (freetext search will be unavailable while this operation runs
40914
39933
  * Returns BatchTaskInfo
@@ -42816,336 +41835,6 @@ export interface Pocket_NotificationsHandledRequest {
42816
41835
 
42817
41836
 
42818
41837
 
42819
- /**
42820
- * Dashboard configuration
42821
- */
42822
- export interface Dashboard extends Carrier {
42823
-
42824
-
42825
- /**
42826
- * The dashboard id
42827
- */
42828
- dashboardId?: number;
42829
-
42830
- /**
42831
- * Id of the associate who owns this dashboard
42832
- */
42833
- associateId?: number;
42834
-
42835
- /**
42836
- * The caption for this dashboard
42837
- */
42838
- caption?: string;
42839
-
42840
- /**
42841
- * The dashboard layout, how the tiles are organized on the screen
42842
- */
42843
- layout?: enums.DashboardLayout;
42844
-
42845
- /**
42846
- * The tiles associated with this dashboard
42847
- */
42848
- tiles?: DashboardTile[];
42849
-
42850
- }
42851
-
42852
-
42853
-
42854
-
42855
-
42856
-
42857
- /**
42858
- * Gets all dashboards for an associate
42859
- * Returns Dashboard[]
42860
- */
42861
- export interface Dashboard_GetDashboardsRequest {
42862
- /**
42863
- * Associate Id
42864
- */
42865
- associateId: number;
42866
- }
42867
-
42868
- // response object: Dashboard[]
42869
-
42870
- /**
42871
- * Sets tile in the given dashboard position
42872
- * Returns Dashboard
42873
- */
42874
- export interface Dashboard_SetTileRequest {
42875
- /**
42876
- * Dashboard Id
42877
- */
42878
- dashboardId: number;
42879
- /**
42880
- * Tile Id
42881
- */
42882
- tileId: number;
42883
- /**
42884
- * Tile position in the dashboard
42885
- */
42886
- position: number;
42887
- }
42888
-
42889
- // response object: Dashboard
42890
-
42891
-
42892
- /**
42893
- * Dashboard Tile configuration
42894
- */
42895
- export interface DashboardTile extends Carrier {
42896
-
42897
-
42898
- /**
42899
- * The tile id
42900
- */
42901
- dashboardTileId?: number;
42902
-
42903
- /**
42904
- * The tile caption
42905
- */
42906
- caption?: string;
42907
-
42908
- /**
42909
- * The tile description
42910
- */
42911
- description?: string;
42912
-
42913
- /**
42914
- * The original chart name
42915
- */
42916
- chartName?: string;
42917
-
42918
- /**
42919
- * The original chart Id
42920
- */
42921
- chartId?: string;
42922
-
42923
- /**
42924
- * True if this is one of the default tiles
42925
- */
42926
- isDefault?: boolean;
42927
-
42928
- /**
42929
- * Id of the associate who owns this tile
42930
- */
42931
- associateId?: number;
42932
-
42933
- /**
42934
- * Id of the associates primary group at storage time
42935
- */
42936
- groupId?: number;
42937
-
42938
- /**
42939
- * The selection that defines the data filter/restrictions
42940
- */
42941
- selectionId?: number;
42942
-
42943
- /**
42944
- * The tile config
42945
- */
42946
- config?: string;
42947
-
42948
- /**
42949
- * The tile type, what kind of tile this is
42950
- */
42951
- type?: enums.DashboardTileType;
42952
-
42953
- /**
42954
- * The tile entity type
42955
- */
42956
- entityType?: enums.DashboardTileEntityType;
42957
-
42958
- /**
42959
- * The tile options
42960
- */
42961
- options?: DashboardTileOption[];
42962
-
42963
- /**
42964
- * The set of users or groups the record is visible for
42965
- */
42966
- visibleFor?: VisibleFor[];
42967
-
42968
-
42969
- }
42970
-
42971
-
42972
-
42973
-
42974
-
42975
-
42976
- /**
42977
- * Gets an array of dashboard tiles for the provided ids
42978
- * Returns DashboardTile[]
42979
- */
42980
- export interface Dashboard_GetDashboardTilesRequest {
42981
- /**
42982
- * The ids of the tiles to get
42983
- */
42984
- dashboardTileIds: number[];
42985
- }
42986
-
42987
- // response object: DashboardTile[]
42988
-
42989
- /**
42990
- * Gets the standard tile (not personal tile) corresponding to the given chart id
42991
- * Returns DashboardTile
42992
- */
42993
- export interface Dashboard_GetStandardDashboardTileFromChartIdRequest {
42994
- /**
42995
- * The ChartId of the wanted chart/tile
42996
- */
42997
- chartId: string;
42998
- }
42999
-
43000
- // response object: DashboardTile
43001
-
43002
- /**
43003
- * Get data for this tile
43004
- * Returns TileData[]
43005
- */
43006
- export interface Dashboard_GetDataRequest {
43007
- /**
43008
- * Tile Id
43009
- */
43010
- dashboardTileId: number;
43011
- /**
43012
- * Replacement restrictions
43013
- */
43014
- restrictions: string;
43015
- }
43016
-
43017
- // response object: TileData[]
43018
-
43019
- /**
43020
- * Create new tile from another tile used as template
43021
- * Returns DashboardTile
43022
- */
43023
- export interface Dashboard_CreateNewFromTemplateRequest {
43024
- /**
43025
- * Tile template Id
43026
- */
43027
- dashboardTileId: number;
43028
- /**
43029
- * Caption of new tile
43030
- */
43031
- caption: string;
43032
- /**
43033
- * Description of new tile
43034
- */
43035
- description: string;
43036
- /**
43037
- * Selection id of new tile
43038
- */
43039
- selectionId: number;
43040
- /**
43041
- * Who the tile should be visible for
43042
- */
43043
- visibleFor: VisibleFor[];
43044
- }
43045
-
43046
- // response object: DashboardTile
43047
-
43048
- /**
43049
- * Get data for this tile
43050
- * Returns TileData[]
43051
- */
43052
- export interface Dashboard_GetDataWithSelectionRequest {
43053
- /**
43054
- * Tile Id
43055
- */
43056
- dashboardTileId: number;
43057
- /**
43058
- * Selection Id
43059
- */
43060
- selectionId: number;
43061
- /**
43062
- * Replacement restrictions
43063
- */
43064
- restrictions: string;
43065
- }
43066
-
43067
- // response object: TileData[]
43068
-
43069
-
43070
- /**
43071
- * Dashboard Tile option
43072
- */
43073
- export interface DashboardTileOption extends Carrier {
43074
-
43075
-
43076
- /**
43077
- * Name of option, usually not visible to users
43078
- */
43079
- name?: string;
43080
-
43081
- /**
43082
- * Option description, visible to users
43083
- */
43084
- description?: string;
43085
-
43086
- /**
43087
- * The type of option - integer, list, boolean (checkbox) etc.
43088
- */
43089
- type?: enums.DashboardTileOptionType;
43090
-
43091
- /**
43092
- * An MDO list name, used if the type is list and no ListOptions are given
43093
- */
43094
- listName?: string;
43095
-
43096
- /**
43097
- * List options given directly, not via MDO list name
43098
- */
43099
- listItems?: MDOListItem[];
43100
-
43101
- /**
43102
- * The value, encoded as string, Id:Name of list item if type is list
43103
- */
43104
- value?: string;
43105
-
43106
- /**
43107
- * True if this option only applies to the default data source, not selections
43108
- */
43109
- defaultDataOption?: boolean;
43110
-
43111
- }
43112
-
43113
-
43114
-
43115
-
43116
-
43117
-
43118
-
43119
- /**
43120
- * Class representing data to be visualized in a dashboard tile.
43121
- */
43122
- export interface TileData {
43123
-
43124
-
43125
- /**
43126
- * Column information
43127
- */
43128
- columns?: ArchiveColumnInfo[];
43129
-
43130
- /**
43131
- * The result set
43132
- */
43133
- result?: ArchiveListResult;
43134
-
43135
- }
43136
-
43137
-
43138
-
43139
-
43140
-
43141
-
43142
-
43143
-
43144
-
43145
-
43146
-
43147
-
43148
-
43149
41838
  /**
43150
41839
  * Dashboard configuration
43151
41840
  */
@@ -50193,7 +48882,7 @@ export interface ChatbotTurn {
50193
48882
 
50194
48883
 
50195
48884
  /**
50196
- * UTC timestamp for turn - when response was generated
48885
+ * UTC timestamp for turn - when response was generated.
50197
48886
  */
50198
48887
  timestamp?: Date;
50199
48888
 
@@ -50397,6 +49086,174 @@ export interface AI_TranslateEntityRequest {
50397
49086
  // response object: string
50398
49087
 
50399
49088
 
49089
+ /**
49090
+ * Contains the answer to an AI search, with sources used.
49091
+ */
49092
+ export interface RagAnswer {
49093
+
49094
+
49095
+ /**
49096
+ * Response to the question
49097
+ */
49098
+ answer?: string;
49099
+
49100
+ /**
49101
+ * Array of sources used to ground the answer. Each source has a chunk of text, relevancy score, title.
49102
+ */
49103
+ source?: RagResult[];
49104
+
49105
+ /**
49106
+ * Unique identifier for this answer. Used for correlating feedback to answers
49107
+ */
49108
+ trackingId?: string;
49109
+
49110
+ }
49111
+
49112
+
49113
+
49114
+
49115
+
49116
+
49117
+ /**
49118
+ * Returns an answer.
49119
+ * Returns RagAnswer
49120
+ */
49121
+ export interface AI_AnswerRequest {
49122
+ /**
49123
+ * Defines the search domain used for generating answer. e.g. 'ServiceCopilot'
49124
+ */
49125
+ namespaceName: string;
49126
+ /**
49127
+ * Question. The search query to answer.
49128
+ */
49129
+ query: string;
49130
+ /**
49131
+ * Filter results based on content type. Default: None = no filtering
49132
+ */
49133
+ type: enums.RagType;
49134
+ /**
49135
+ * Max Number of results to use in generating answer.
49136
+ */
49137
+ top: number;
49138
+ }
49139
+
49140
+ // response object: RagAnswer
49141
+
49142
+ /**
49143
+ * Send feedback on answer - feedback is logged and used to improve the answer algorithm.
49144
+ */
49145
+ export interface AI_AnswerFeedbackRequest {
49146
+ /**
49147
+ * The id of the answer that you are giving feedback to.
49148
+ */
49149
+ trackingId: string;
49150
+ /**
49151
+ * True = Like, False = Dislike.
49152
+ */
49153
+ isThumbsUp: boolean;
49154
+ }
49155
+
49156
+ // Void response...
49157
+
49158
+ /**
49159
+ * Signal that answer was inserted into response- feedback is logged and used to improve the answer algorithm.
49160
+ */
49161
+ export interface AI_AnswerAcceptedRequest {
49162
+ /**
49163
+ * The id of the answer that you are giving feedback to.
49164
+ */
49165
+ trackingId: string;
49166
+ }
49167
+
49168
+ // Void response...
49169
+
49170
+
49171
+ /**
49172
+ * Contains the result of an AI search, with relevance score, document refernce, relevant text chunk.
49173
+ */
49174
+ export interface RagResult {
49175
+
49176
+
49177
+ /**
49178
+ * Markdown text that matched query.
49179
+ */
49180
+ chunk?: string;
49181
+
49182
+ /**
49183
+ * Title or filename of matched document, extracted from the Metadata
49184
+ */
49185
+ title?: string;
49186
+
49187
+ /**
49188
+ * Matched document's unique id. Typically a URI.
49189
+ */
49190
+ id?: string;
49191
+
49192
+ /**
49193
+ * Content type (web/faq/ticket/...)
49194
+ */
49195
+ type?: enums.RagType;
49196
+
49197
+ /**
49198
+ * Relevancy score (0-1). How close this chunk of the document matched the query.
49199
+ */
49200
+ score?: number;
49201
+
49202
+ /**
49203
+ * Dictionary of metadata for this result. Keys depend on the source of the document. e.g. 'Title', 'Filename', 'Url', etc.
49204
+ */
49205
+ metadata?: StringObjectDictionary;
49206
+
49207
+ }
49208
+
49209
+
49210
+
49211
+
49212
+
49213
+
49214
+ /**
49215
+ * Returns semantic search results from vector database.
49216
+ * Returns RagResult[]
49217
+ */
49218
+ export interface AI_SearchRequest {
49219
+ /**
49220
+ * Defines the search domain. e.g. 'ServiceCopilot'.
49221
+ */
49222
+ namespaceName: string;
49223
+ /**
49224
+ * Search query.
49225
+ */
49226
+ query: string;
49227
+ /**
49228
+ * Filter results based on a specific content type. Default: None = no filtering
49229
+ */
49230
+ type: enums.RagType;
49231
+ /**
49232
+ * Max Number of results to return.
49233
+ */
49234
+ top: number;
49235
+ }
49236
+
49237
+ // response object: RagResult[]
49238
+
49239
+ /**
49240
+ * Kicks off a batch task to update the RAG index
49241
+ * Returns number
49242
+ */
49243
+ export interface AI_StartRagIndexingRequest {
49244
+ /**
49245
+ * Defines the search domain. e.g. 'ServiceCopilot'.
49246
+ */
49247
+ namespaceName: string;
49248
+ /**
49249
+ * (Optional) Identifies the data source to update. Blank = all sources
49250
+ */
49251
+ sourceId: string;
49252
+ }
49253
+
49254
+ // response object: number
49255
+
49256
+
50400
49257
  /**
50401
49258
  * Summary functions for various entities
50402
49259
  */
@@ -50551,6 +49408,8 @@ export interface AI_GetSummarizeSalePromptRequest {
50551
49408
 
50552
49409
 
50553
49410
 
49411
+
49412
+
50554
49413
  /**
50555
49414
  * Class used to map relationship between AssociateId and the user's email.
50556
49415
  */
@@ -51670,6 +50529,45 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
51670
50529
 
51671
50530
 
51672
50531
 
50532
+ /**
50533
+ * Step in workflow.
50534
+ */
50535
+ export interface WorkflowStepDistributeToOwner extends WorkflowStepBase {
50536
+
50537
+
50538
+ /**
50539
+ * If set to true, participants will only get owner if no owner
50540
+ */
50541
+ onlyToUnassigned?: boolean;
50542
+
50543
+ /**
50544
+ * Selected associates to be owner of participants
50545
+ */
50546
+ associates?: number[];
50547
+
50548
+ /**
50549
+ * Selected usergroups to be
50550
+ */
50551
+ userGroups?: number[];
50552
+
50553
+ /**
50554
+ * The ordered queue of next new owners
50555
+ */
50556
+ distributeQueue?: number[];
50557
+
50558
+ /**
50559
+ * If no other available, assign to this associate
50560
+ */
50561
+ defaultAssociate?: number;
50562
+
50563
+ }
50564
+
50565
+
50566
+
50567
+
50568
+
50569
+
50570
+
51673
50571
  /**
51674
50572
  * Step in workflow.
51675
50573
  */