@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
@@ -2636,37 +2636,6 @@ export interface Quote_RecalculateQuoteLineRequest {
2636
2636
  */
2637
2637
  changedFields: string[];
2638
2638
  }
2639
- /**
2640
- * Gets an image connected to a quoteline, either from the ERPProvider or from the SuperOffice database
2641
- * Returns Blob
2642
- */
2643
- export interface Quote_GetQuoteLineImageRequest {
2644
- /**
2645
- * Primary key of the quoteline
2646
- */
2647
- quoteLineId: number;
2648
- /**
2649
- * The rank of the image.
2650
- */
2651
- rank: number;
2652
- }
2653
- /**
2654
- * Saves the image connected to a quoteline in the SuperOffice database
2655
- */
2656
- export interface Quote_SaveQuoteLineImageRequest {
2657
- /**
2658
- * Primary key of the quoteline
2659
- */
2660
- quoteLineId: number;
2661
- /**
2662
- * The image.
2663
- */
2664
- image: ArrayBuffer | string;
2665
- /**
2666
- * The rank of the image.
2667
- */
2668
- rank: number;
2669
- }
2670
2639
  /**
2671
2640
  * Converts an xml string into an object representation.
2672
2641
  * Returns ProductExtraDataField[]
@@ -2784,33 +2753,6 @@ export interface Quote_SaveQuoteLineConfigurationsRequest {
2784
2753
  */
2785
2754
  quoteLineConfigurations: QuoteLineConfiguration[];
2786
2755
  }
2787
- /**
2788
- * One line in a list
2789
- */
2790
- export interface QuoteListItem extends Carrier {
2791
- /**
2792
- * Primary key for the item.
2793
- */
2794
- erpQuoteListItemKey?: string;
2795
- /**
2796
- * List item text to display.
2797
- */
2798
- displayValue?: string;
2799
- /**
2800
- * Typically used in a tooltip.
2801
- */
2802
- displayDescription?: string;
2803
- }
2804
- /**
2805
- * Gets a named list from the connector Return array of QuoteListItems. Return NULL if the given list is not supported.
2806
- * Returns QuoteListItem[]
2807
- */
2808
- export interface Quote_GetQuoteListRequest {
2809
- /**
2810
- * The name of the requested list, for instance: ProductCategory, ProductFamily, ProductType, PaymentTerms, PaymentType, DeliveryTerms, DeliveryType.
2811
- */
2812
- quoteListType: string;
2813
- }
2814
2756
  /**
2815
2757
  * Prepare the documents required to publish a quote - Email, main document as pdf, quoted products as pdf, attachments
2816
2758
  */
@@ -5222,6 +5164,20 @@ export interface Contact_ValidateContactEntityRequest {
5222
5164
  */
5223
5165
  contactEntity: ContactEntity;
5224
5166
  }
5167
+ /**
5168
+ * Enrich a contact with data from the AI Enrichment service. This will update the contact with address, phone number, and email.
5169
+ * Returns ContactEntity
5170
+ */
5171
+ export interface Contact_EnrichContactEntityRequest {
5172
+ /**
5173
+ * The contact entity to enrich.
5174
+ */
5175
+ contactEntity: ContactEntity;
5176
+ /**
5177
+ * Id from the EnrichContact provider
5178
+ */
5179
+ enrichId: string;
5180
+ }
5225
5181
  /**
5226
5182
  * Getting the contacts where the user currently logged in is set as contact owner.
5227
5183
  * Returns Contact[]
@@ -5330,6 +5286,16 @@ export interface Contact_GetPreviewContactRequest {
5330
5286
  */
5331
5287
  contactId: number;
5332
5288
  }
5289
+ /**
5290
+ * Get a contact from its ID
5291
+ * Returns PreviewContact
5292
+ */
5293
+ export interface Contact_GetPreviewEnrichContactRequest {
5294
+ /**
5295
+ * Enrich Contact ID from the EnrichContact MDO list provider
5296
+ */
5297
+ enrichId: string;
5298
+ }
5333
5299
  /**
5334
5300
  * Consent information for a give person. Consents are for a particular Purpose, and may be withdrawn (see LegalBase).
5335
5301
  */
@@ -6420,6 +6386,27 @@ export interface Person_GetCustomerCentrePasswordReplyTemplateRequest {
6420
6386
  */
6421
6387
  personId: number;
6422
6388
  }
6389
+ /**
6390
+ * Sends a Customer Centre password email based on the reply template.
6391
+ */
6392
+ export interface Person_SendCustomerCentrePasswordEmailRequest {
6393
+ /**
6394
+ * Person id associated to email's reply template.
6395
+ */
6396
+ personId: number;
6397
+ /**
6398
+ * Sender's email address.
6399
+ */
6400
+ from: string;
6401
+ /**
6402
+ * Recipient's email address.
6403
+ */
6404
+ to: string;
6405
+ /**
6406
+ * Email's subject.
6407
+ */
6408
+ subject: string;
6409
+ }
6423
6410
  /**
6424
6411
  * Inserts into outbox an email with specified details.
6425
6412
  */
@@ -11749,7 +11736,7 @@ export interface SuggestedAppointmentEntity extends Carrier {
11749
11736
  /**
11750
11737
  * Type of the suggested appointment
11751
11738
  */
11752
- type?: Task;
11739
+ type?: SoTask;
11753
11740
  }
11754
11741
  /**
11755
11742
  *
@@ -17504,7 +17491,7 @@ export interface Tag extends Carrier {
17504
17491
  /**
17505
17492
  * Type of an appointment
17506
17493
  */
17507
- export interface Task extends Carrier {
17494
+ export interface SoTask extends Carrier {
17508
17495
  /**
17509
17496
  * The list item Id
17510
17497
  */
@@ -17520,7 +17507,7 @@ export interface Task extends Carrier {
17520
17507
  }
17521
17508
  /**
17522
17509
  * Returns a Document Template list item as a TaskListItem. The appointment's task is a Document template item when the appointment is a document.
17523
- * Returns Task
17510
+ * Returns SoTask
17524
17511
  */
17525
17512
  export interface List_GetDocumentTemplateTaskRequest {
17526
17513
  /**
@@ -17530,13 +17517,13 @@ export interface List_GetDocumentTemplateTaskRequest {
17530
17517
  }
17531
17518
  /**
17532
17519
  * Returns all appointment tasks
17533
- * Returns Task[]
17520
+ * Returns SoTask[]
17534
17521
  */
17535
17522
  export interface List_GetTasksRequest {
17536
17523
  }
17537
17524
  /**
17538
17525
  * The appointment's task is a Document template item when the appointment is a document.
17539
- * Returns Task[]
17526
+ * Returns SoTask[]
17540
17527
  */
17541
17528
  export interface List_GetDocumentTemplatesTasksRequest {
17542
17529
  }
@@ -18627,29 +18614,6 @@ export interface BLOB_GetQuoteLineImageRequest {
18627
18614
  */
18628
18615
  quoteLineId: number;
18629
18616
  }
18630
- /**
18631
- * 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
18632
- * Returns string
18633
- */
18634
- export interface BLOB_GetAppDataRequest {
18635
- /**
18636
- * The key string, less than 200 characters. Must be unique within each application.
18637
- */
18638
- key: string;
18639
- }
18640
- /**
18641
- * 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.
18642
- */
18643
- export interface BLOB_SetAppDataRequest {
18644
- /**
18645
- * The key string, less than 200 characters. Must be unique within each application.
18646
- */
18647
- key: string;
18648
- /**
18649
- * The applications value, suggested to be a JSON, XML or other readable structure
18650
- */
18651
- data: string;
18652
- }
18653
18617
  /**
18654
18618
  * Returns the person image that is displayed in the CRM application with a specified maximum size.
18655
18619
  * Returns Blob
@@ -19268,6 +19232,16 @@ export interface Configuration_SetAppliesToKeyRequest {
19268
19232
  */
19269
19233
  export interface Configuration_GetRecipeAppliesToMappingsRequest {
19270
19234
  }
19235
+ /**
19236
+ * Flush and rebuild CustomObjectArchivePanel deltas.
19237
+ */
19238
+ export interface Configuration_RebuildCustomObjectArchivePanelDeltasRequest {
19239
+ }
19240
+ /**
19241
+ * Flush and rebuild TaskMenu deltas.
19242
+ */
19243
+ export interface Configuration_RebuildTaskMenuDeltasRequest {
19244
+ }
19271
19245
  /**
19272
19246
  * 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.
19273
19247
  */
@@ -19860,6 +19834,21 @@ export interface ViewState_DeleteHistoryRequest {
19860
19834
  */
19861
19835
  id: number;
19862
19836
  }
19837
+ /**
19838
+ * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
19839
+ * Returns number
19840
+ */
19841
+ export interface ViewState_GetHistoryLengthPrefValueRequest {
19842
+ }
19843
+ /**
19844
+ * Set the logged on user's preferred history list length.
19845
+ */
19846
+ export interface ViewState_SetHistoryLengthPrefValueRequest {
19847
+ /**
19848
+ * The new history list lenght
19849
+ */
19850
+ length: number;
19851
+ }
19863
19852
  /**
19864
19853
  * Returns all history items that belong to the currently logged in user
19865
19854
  * Returns History[]
@@ -19900,21 +19889,6 @@ export interface ViewState_SaveHistoriesRequest {
19900
19889
  */
19901
19890
  history: History[];
19902
19891
  }
19903
- /**
19904
- * Get the logged on user's preferred history list length. Will return the system preference if no user preferences are available.
19905
- * Returns number
19906
- */
19907
- export interface ViewState_GetHistoryLengthPrefValueRequest {
19908
- }
19909
- /**
19910
- * Set the logged on user's preferred history list length.
19911
- */
19912
- export interface ViewState_SetHistoryLengthPrefValueRequest {
19913
- /**
19914
- * The new history list lenght
19915
- */
19916
- length: number;
19917
- }
19918
19892
  /**
19919
19893
  * 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.
19920
19894
  * Returns History[]
@@ -20386,6 +20360,17 @@ export interface Diagnostics_GetSystemMessagesRequest {
20386
20360
  */
20387
20361
  export interface Diagnostics_RemoveExpiredSystemMessagesRequest {
20388
20362
  }
20363
+ /**
20364
+ * Operations related to table management
20365
+ */
20366
+ export interface TableManager extends Carrier {
20367
+ }
20368
+ /**
20369
+ * Increment save and return NextTableNumber, to be used when creating new extra table
20370
+ * Returns number
20371
+ */
20372
+ export interface Diagnostics_GetNextTableNumberRequest {
20373
+ }
20389
20374
  /**
20390
20375
  * Operations related to installation, upgrade and maintenance
20391
20376
  */
@@ -20514,144 +20499,6 @@ export interface Previews_GetPreviewRequest {
20514
20499
  */
20515
20500
  previewHint: string;
20516
20501
  }
20517
- /**
20518
- * Settings specifying what selection to perform the mailmerge on, what merge document to use etc.
20519
- */
20520
- export interface MailMergeSettings extends Carrier {
20521
- /**
20522
- * Identity of selection to use as source for recipients.
20523
- */
20524
- selectionId?: number;
20525
- /**
20526
- * Identity of document to be used as merge draft.
20527
- */
20528
- documentId?: number;
20529
- /**
20530
- * How the merged document is delivered to the recipients.
20531
- */
20532
- mailMergeDeliveryType?: enums.EMailMergeTargetType;
20533
- /**
20534
- * Custom value for attention.
20535
- */
20536
- customAttention?: string;
20537
- /**
20538
- * Should custom attention always be used? If false, only use custom attention where there is no default.
20539
- */
20540
- alwaysUseCustomAttention?: boolean;
20541
- /**
20542
- * Should we save a reference to the merge document on each recipient.
20543
- */
20544
- saveDocument?: boolean;
20545
- /**
20546
- * If specified, use this value as default mail body.
20547
- */
20548
- customMailBody?: string;
20549
- /**
20550
- * If specified, register a task on recipients using properties from this object.
20551
- */
20552
- taskEntity?: MailMergeTask;
20553
- /**
20554
- * Add this company interest to each company recipient.
20555
- */
20556
- addCompanyInterest?: number;
20557
- /**
20558
- * Add this person interest to each person recipient.
20559
- */
20560
- addPersonInterest?: number;
20561
- /**
20562
- * Remove this company interest on each company recipient.
20563
- */
20564
- removeCompanyInterest?: number;
20565
- /**
20566
- * Remove this person interest on each person recipient.
20567
- */
20568
- removePersonInterest?: number;
20569
- /**
20570
- * Include recipients that are marked with NoMailings
20571
- */
20572
- includeNoMailingsRecipient?: boolean;
20573
- /**
20574
- * If true, do the merge task, but use current user as target, instead of selection members
20575
- */
20576
- testOnly?: boolean;
20577
- /**
20578
- * Identity of project to use as source for recipients.
20579
- */
20580
- projectId?: number;
20581
- /**
20582
- * Include recipients that are marked as retired
20583
- */
20584
- includeRetiredRecipients?: boolean;
20585
- /**
20586
- * Include recipients that are marked with stop
20587
- */
20588
- includeStoppedRecipients?: boolean;
20589
- /**
20590
- * If specified, use this value as default mail subject.
20591
- */
20592
- customMailSubject?: string;
20593
- /**
20594
- * Used to store additional information for the delivery systems.
20595
- */
20596
- extraInfo?: string;
20597
- /**
20598
- *
20599
- */
20600
- synchronous?: boolean;
20601
- /**
20602
- * If true, the selection is a temporary selection that can be deleted later.
20603
- */
20604
- isTemporarySelection?: boolean;
20605
- }
20606
- /**
20607
- * Properties describing a task to create on recipients of a mail merge
20608
- */
20609
- export interface MailMergeTask extends Carrier {
20610
- /**
20611
- * Project identity to set on task
20612
- */
20613
- projectId?: number;
20614
- /**
20615
- * Type identity to set on task
20616
- */
20617
- typeId?: number;
20618
- /**
20619
- * When the task should start
20620
- */
20621
- startDate?: Date;
20622
- /**
20623
- * Duration of task
20624
- */
20625
- duration?: number;
20626
- /**
20627
- * Text describing task
20628
- */
20629
- description?: string;
20630
- /**
20631
- * Priority of task
20632
- */
20633
- priorityId?: number;
20634
- /**
20635
- * Who the task should be visible for
20636
- */
20637
- visibleFor?: VisibleFor;
20638
- /**
20639
- * Completed status for task
20640
- */
20641
- completed?: enums.ActivityStatus;
20642
- /**
20643
- * Associate identity of who should be set as owner of the task. If value is 0, the recipient owner(our contact) will be used.
20644
- */
20645
- ownerAssociateId?: number;
20646
- /**
20647
- * Should we only create one task on each company? If false, separate tasks will be created for all persons from the same company.
20648
- */
20649
- singleEntryOnEachCompany?: boolean;
20650
- /**
20651
- * Sale identity to set on task
20652
- */
20653
- saleId?: number;
20654
- }
20655
20502
  /**
20656
20503
  *
20657
20504
  */
@@ -20864,16 +20711,6 @@ export interface Selection_CreateTemporaryContactSelectionFromContactPersonIdsRe
20864
20711
  */
20865
20712
  contactPersonIds: ContactPersonId[];
20866
20713
  }
20867
- /**
20868
- * Creates a temporary selection with members from an existing project.
20869
- * Returns SelectionEntity
20870
- */
20871
- export interface Selection_CreateTemporaryContactSelectionFromProjectMembersRequest {
20872
- /**
20873
- * The id of the project to add members from.
20874
- */
20875
- projectId: number;
20876
- }
20877
20714
  /**
20878
20715
  * Copy contact selection members from selection into an existing selection.
20879
20716
  */
@@ -21107,15 +20944,6 @@ export interface Selection_ExportSelectionMembersWithOrderByRequest {
21107
20944
  */
21108
20945
  orderBy: string;
21109
20946
  }
21110
- /**
21111
- * Start a mailmerge operation with specified settings.
21112
- */
21113
- export interface Selection_StartMailMergeRequest {
21114
- /**
21115
- * All settings needed to perform the mailmerge operation.
21116
- */
21117
- settings: MailMergeSettings;
21118
- }
21119
20947
  /**
21120
20948
  * Set which duplicate rules should be active or not
21121
20949
  */
@@ -23177,13 +23005,13 @@ export interface SyncUserAccount extends Carrier {
23177
23005
  associateId?: number;
23178
23006
  }
23179
23007
  /**
23180
- * Gets the list of SyncUserAccounts that should be synced.
23008
+ * Gets the list of SyncUserAccounts that should be synced, from mail server to SuperOffice database cache.
23181
23009
  * Returns SyncUserAccount[]
23182
23010
  */
23183
23011
  export interface EMail_GetReadySyncEmailAccountsRequest {
23184
23012
  }
23185
23013
  /**
23186
- * Sync the given account
23014
+ * 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.
23187
23015
  */
23188
23016
  export interface EMail_SyncEmailAccountRequest {
23189
23017
  /**
@@ -23192,7 +23020,7 @@ export interface EMail_SyncEmailAccountRequest {
23192
23020
  syncUserAccount: SyncUserAccount;
23193
23021
  }
23194
23022
  /**
23195
- * Start syncing of the given accounts
23023
+ * 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.
23196
23024
  */
23197
23025
  export interface EMail_SyncEmailAccountsRequest {
23198
23026
  /**
@@ -25107,130 +24935,6 @@ export interface UserDefinedFieldInfo_SetPublishStartSystemEventRequest {
25107
24935
  */
25108
24936
  export interface UserDefinedFieldInfo_ClearCachesRequest {
25109
24937
  }
25110
- /**
25111
- *
25112
- */
25113
- export interface ReportEntity extends Carrier {
25114
- /**
25115
- * The id of the report.
25116
- */
25117
- reportId?: number;
25118
- /**
25119
- * The category of the report.
25120
- */
25121
- reportCategory?: enums.ReportCategory;
25122
- /**
25123
- * The description of the report.
25124
- */
25125
- description?: string;
25126
- /**
25127
- * The layout of the report.
25128
- */
25129
- reportLayout?: enums.ReportLayout;
25130
- /**
25131
- * The name of the report
25132
- */
25133
- name?: string;
25134
- /**
25135
- * The owner of the report.
25136
- */
25137
- associateId?: number;
25138
- /**
25139
- * The id of report template.
25140
- */
25141
- templateId?: number;
25142
- /**
25143
- * Is the report published?
25144
- */
25145
- published?: boolean;
25146
- }
25147
- /**
25148
- * Creates the report as favorite. The sourceId is the key to the report that the favorite is based on.
25149
- * Returns ReportEntity
25150
- */
25151
- export interface Report_CreateFavoriteRequest {
25152
- /**
25153
- * The primary key to the report to make the favorite from.
25154
- */
25155
- sourceId: number;
25156
- /**
25157
- * The name of the new favorite.
25158
- */
25159
- name: string;
25160
- /**
25161
- * The description of the new favorite.
25162
- */
25163
- description: string;
25164
- }
25165
- /**
25166
- * Deletes the report favorite.
25167
- */
25168
- export interface Report_DeleteFavoriteRequest {
25169
- /**
25170
- * The id of the report favorite to delete.
25171
- */
25172
- reportEntityId: number;
25173
- }
25174
- /**
25175
- * Updates the favorite.
25176
- * Returns ReportEntity
25177
- */
25178
- export interface Report_UpdateFavoriteRequest {
25179
- /**
25180
- * ReportEntity carrier containg updated data.
25181
- */
25182
- reportEntity: ReportEntity;
25183
- }
25184
- /**
25185
- * Generates the report in PDF format
25186
- * Returns string
25187
- */
25188
- export interface Report_GenerateReportRequest {
25189
- /**
25190
- * The id of the report.
25191
- */
25192
- reportId: number;
25193
- /**
25194
- * The id of the labellayout. Use 0 if the report isn't of type label.
25195
- */
25196
- labelLayoutId: number;
25197
- /**
25198
- * Filename of the report.
25199
- */
25200
- filename: string;
25201
- /**
25202
- * Language to use when generating the report.
25203
- */
25204
- language: string;
25205
- /**
25206
- *
25207
- */
25208
- fileType: string;
25209
- /**
25210
- * Use restrictions to provide additional restrictions when generating the report.
25211
- */
25212
- restrictions: ArchiveRestrictionInfo[];
25213
- }
25214
- /**
25215
- * Takes the input stream and create a report. This stream must be on a valid xml format
25216
- * Returns number
25217
- */
25218
- export interface Report_ImportReportRequest {
25219
- /**
25220
- * The report to import in a correct xml format
25221
- */
25222
- report: string;
25223
- }
25224
- /**
25225
- * Delete the report with the given id
25226
- * Returns boolean
25227
- */
25228
- export interface Report_DeleteReportRequest {
25229
- /**
25230
- * The id of the report to delete
25231
- */
25232
- reportId: number;
25233
- }
25234
24938
  /**
25235
24939
  *
25236
24940
  */
@@ -26871,319 +26575,6 @@ export interface Archive_GetRelatedData2Request {
26871
26575
  */
26872
26576
  fields: string;
26873
26577
  }
26874
- /**
26875
- * An Audience configuration parameter, used for handling Audience application or Web part settings.
26876
- */
26877
- export interface AudienceConfigParameter extends Carrier {
26878
- /**
26879
- * The id of the Audience layout this configuration setting belongs to
26880
- */
26881
- audienceLayoutId?: number;
26882
- /**
26883
- * The name of the configuration parameter
26884
- */
26885
- name?: string;
26886
- /**
26887
- * The value of the configuration parameter
26888
- */
26889
- value?: string;
26890
- /**
26891
- * The date and time the configuration parameter was created
26892
- */
26893
- createdDate?: Date;
26894
- /**
26895
- * The date and time the configuration parameter was last updated
26896
- */
26897
- updatedDate?: Date;
26898
- /**
26899
- * Name of the person that created the configuration parameter
26900
- */
26901
- createdBy?: string;
26902
- /**
26903
- * Name of the person that last updated the configuration parameter
26904
- */
26905
- updatedBy?: string;
26906
- }
26907
- /**
26908
- * Saves an Audience configuration parameter belonging to a Audience layout
26909
- * Returns AudienceConfigParameter
26910
- */
26911
- export interface Audience_SaveConfigParameterRequest {
26912
- /**
26913
- * Name of the Audience layout instance
26914
- */
26915
- layoutName: string;
26916
- /**
26917
- * The Audience configuration parameter to save.
26918
- */
26919
- configParameter: AudienceConfigParameter;
26920
- }
26921
- /**
26922
- * Gets the string value of an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
26923
- * Returns string
26924
- */
26925
- export interface Audience_GetConfigParameterValueRequest {
26926
- /**
26927
- * Name of the Audience layout instance
26928
- */
26929
- layoutName: string;
26930
- /**
26931
- * The name of the Audience configuration parameter
26932
- */
26933
- parameterName: string;
26934
- }
26935
- /**
26936
- * Gets an Audience configuration parameter belonging to a given Audience layout with the specified configuration parameter name
26937
- * Returns AudienceConfigParameter
26938
- */
26939
- export interface Audience_GetConfigParameterRequest {
26940
- /**
26941
- * Name of the Audience layout instance
26942
- */
26943
- layoutName: string;
26944
- /**
26945
- * The name of the Audience configuration parameter
26946
- */
26947
- parameterName: string;
26948
- }
26949
- /**
26950
- * Deletes an Audience configuration parameter belonging to a Audience layout
26951
- */
26952
- export interface Audience_DeleteConfigParameterRequest {
26953
- /**
26954
- * Name of the Audience layout instance
26955
- */
26956
- layoutName: string;
26957
- /**
26958
- * The name of the Audience configuration parameter
26959
- */
26960
- parameterName: string;
26961
- }
26962
- /**
26963
- * Gets an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
26964
- * Returns AudienceConfigParameter
26965
- */
26966
- export interface Audience_GetMyConfigParameterRequest {
26967
- /**
26968
- * The name of the Audience configuration parameter
26969
- */
26970
- parameterName: string;
26971
- }
26972
- /**
26973
- * Gets the string value of an Audience configuration parameter belonging to the currently logged on user with the specified configuration parameter name.
26974
- * Returns string
26975
- */
26976
- export interface Audience_GetMyConfigParameterValueRequest {
26977
- /**
26978
- * The name of the Audience configuration parameter
26979
- */
26980
- parameterName: string;
26981
- }
26982
- /**
26983
- * Gets the string value of an Audience configuration parameter with the specified configuration parameter name on the person specified
26984
- * Returns string
26985
- */
26986
- export interface Audience_GetConfigParameterValueOnPersonRequest {
26987
- /**
26988
- * The name of the Audience configuration parameter
26989
- */
26990
- parameterName: string;
26991
- /**
26992
- * Id of the person the parameter belongs to
26993
- */
26994
- personId: number;
26995
- }
26996
- /**
26997
- * Gets an Audience configuration parameter with the specified configuration parameter name on the person specified
26998
- * Returns AudienceConfigParameter
26999
- */
27000
- export interface Audience_GetConfigParameterOnPersonRequest {
27001
- /**
27002
- * The name of the Audience configuration parameter
27003
- */
27004
- parameterName: string;
27005
- /**
27006
- * Id of the person the parameter belongs to
27007
- */
27008
- personId: number;
27009
- }
27010
- /**
27011
- * Gets the Audience configuration parameters belonging to a given Audience layout.
27012
- * Returns AudienceConfigParameter[]
27013
- */
27014
- export interface Audience_GetConfigParametersByLayoutNameRequest {
27015
- /**
27016
- * Name of the Audience layout instance
27017
- */
27018
- layoutName: string;
27019
- }
27020
- /**
27021
- * Gets the Audience configuration parameters belonging to the currently logged on user.
27022
- * Returns AudienceConfigParameter[]
27023
- */
27024
- export interface Audience_GetMyConfigParametersRequest {
27025
- }
27026
- /**
27027
- * Gets the Audience configuration parameters belonging to the person specified
27028
- * Returns AudienceConfigParameter[]
27029
- */
27030
- export interface Audience_GetConfigParametersOnPersonRequest {
27031
- /**
27032
- * Id of the person the parameter belongs to
27033
- */
27034
- personId: number;
27035
- }
27036
- /**
27037
- * 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
27038
- */
27039
- export interface AudienceLayoutEntity extends Carrier {
27040
- /**
27041
- * The Id of the Audience layout
27042
- */
27043
- audienceLayoutId?: number;
27044
- /**
27045
- * The web part layout as a serialized string
27046
- */
27047
- instanceLayout?: string;
27048
- /**
27049
- * Name of the layout instance
27050
- */
27051
- instanceName?: string;
27052
- /**
27053
- * The date and time the Audience layout was created
27054
- */
27055
- createdDate?: Date;
27056
- /**
27057
- * The date and time the Audience layout was last updated
27058
- */
27059
- updatedDate?: Date;
27060
- /**
27061
- * Name of the person that created the Audience layout
27062
- */
27063
- createdBy?: Associate;
27064
- /**
27065
- * Name of the person that last updated the Audience layout
27066
- */
27067
- updatedBy?: Associate;
27068
- }
27069
- /**
27070
- * Gets an Audience layout by it's instance name
27071
- * Returns AudienceLayoutEntity
27072
- */
27073
- export interface Audience_GetAudienceLayoutByNameRequest {
27074
- /**
27075
- * Name of the Audience layout instance
27076
- */
27077
- layoutName: string;
27078
- }
27079
- /**
27080
- * Gets the Audience layout belonging to the currently logged on user.
27081
- * Returns AudienceLayoutEntity
27082
- */
27083
- export interface Audience_GetMyAudienceLayoutRequest {
27084
- }
27085
- /**
27086
- * Gets the Audience layout belonging to the person specified.
27087
- * Returns AudienceLayoutEntity
27088
- */
27089
- export interface Audience_GetAudienceLayoutOnPersonRequest {
27090
- /**
27091
- * The person id
27092
- */
27093
- personId: number;
27094
- }
27095
- /**
27096
- * 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.
27097
- * Returns Blob
27098
- */
27099
- export interface Audience_GetDefaultProjectImageRequest {
27100
- /**
27101
- * Name of the Audience layout instance
27102
- */
27103
- layoutName: string;
27104
- }
27105
- /**
27106
- * 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.
27107
- */
27108
- export interface Audience_SetDefaultProjectImageRequest {
27109
- /**
27110
- * Name of the Audience layout instance
27111
- */
27112
- layoutName: string;
27113
- /**
27114
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
27115
- */
27116
- image: ArrayBuffer | string;
27117
- }
27118
- /**
27119
- * 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.
27120
- */
27121
- export interface Audience_SetDefaultPersonImageRequest {
27122
- /**
27123
- * Name of the Audience layout instance
27124
- */
27125
- layoutName: string;
27126
- /**
27127
- * The default project/event image to be stored for this Audience layout instance (System.Drawing.Image)
27128
- */
27129
- image: ArrayBuffer | string;
27130
- }
27131
- /**
27132
- * 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.
27133
- * Returns Blob
27134
- */
27135
- export interface Audience_GetDefaultPersonImageRequest {
27136
- /**
27137
- * Name of the Audience layout instance
27138
- */
27139
- layoutName: string;
27140
- }
27141
- /**
27142
- * 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.
27143
- */
27144
- export interface Audience_SetDefaultCountryFlagRequest {
27145
- /**
27146
- * Name of the Audience layout instance
27147
- */
27148
- layoutName: string;
27149
- /**
27150
- * The default country image to be stored for this Audience layout instance (System.Drawing.Image)
27151
- */
27152
- image: ArrayBuffer | string;
27153
- }
27154
- /**
27155
- * 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.
27156
- * Returns Blob
27157
- */
27158
- export interface Audience_GetDefaultCountryFlagRequest {
27159
- /**
27160
- * Name of the Audience layout instance
27161
- */
27162
- layoutName: string;
27163
- }
27164
- /**
27165
- *
27166
- * Returns Blob
27167
- */
27168
- export interface Audience_GetLogoImageRequest {
27169
- /**
27170
- *
27171
- */
27172
- layoutName: string;
27173
- }
27174
- /**
27175
- *
27176
- */
27177
- export interface Audience_SetLogoImageRequest {
27178
- /**
27179
- *
27180
- */
27181
- layoutName: string;
27182
- /**
27183
- *
27184
- */
27185
- image: ArrayBuffer | string;
27186
- }
27187
26578
  /**
27188
26579
  * One preference item, which contains a specification (section/key), the raw string value, and the level at which this value was found.
27189
26580
  */
@@ -28012,6 +27403,22 @@ export interface License_UnassignThirdPartyLicensesRequest {
28012
27403
  */
28013
27404
  moduleLicenseNames: string[];
28014
27405
  }
27406
+ /**
27407
+ *
27408
+ * Returns LicenseOwner[]
27409
+ */
27410
+ export interface License_GetCentralLicenseRequest {
27411
+ }
27412
+ /**
27413
+ *
27414
+ * Returns LicenseOwner[]
27415
+ */
27416
+ export interface License_SaveCentralLicenseRequest {
27417
+ /**
27418
+ *
27419
+ */
27420
+ license: LicenseOwner[];
27421
+ }
28015
27422
  /**
28016
27423
  * Represents all licenses for this owner at this site.
28017
27424
  */
@@ -29879,101 +29286,6 @@ export interface UserValidationResult extends Carrier {
29879
29286
  */
29880
29287
  result?: boolean;
29881
29288
  }
29882
- /**
29883
- *
29884
- */
29885
- export interface Area extends Carrier {
29886
- /**
29887
- * Primary key
29888
- */
29889
- areaId?: number;
29890
- /**
29891
- * Area name
29892
- */
29893
- name?: string;
29894
- /**
29895
- * Max age of data when generating db's based on this area
29896
- */
29897
- maxDataAge?: number;
29898
- /**
29899
- *
29900
- */
29901
- numberOfUsers?: number;
29902
- /**
29903
- *
29904
- */
29905
- numberOfLogins?: number;
29906
- /**
29907
- *
29908
- */
29909
- freetextEnabeled?: boolean;
29910
- }
29911
- /**
29912
- * Enable freetext search on this area
29913
- */
29914
- export interface Replication_SetFreetextSearchEnabledOnAreaRequest {
29915
- /**
29916
- * The id of the area
29917
- */
29918
- areaId: number;
29919
- /**
29920
- * True if freetextSearch on this area shall be enabled
29921
- */
29922
- freetextEnabled: boolean;
29923
- }
29924
- /**
29925
- *
29926
- */
29927
- export interface Satellite extends Carrier {
29928
- /**
29929
- * Primary key
29930
- */
29931
- satelliteId?: number;
29932
- /**
29933
- * Registered when
29934
- */
29935
- created?: Date;
29936
- /**
29937
- *
29938
- */
29939
- createdBy?: Associate;
29940
- /**
29941
- * Last updated when
29942
- */
29943
- updated?: Date;
29944
- /**
29945
- *
29946
- */
29947
- updatedBy?: Associate;
29948
- /**
29949
- *
29950
- */
29951
- contact?: Contact;
29952
- /**
29953
- *
29954
- */
29955
- area?: Area;
29956
- /**
29957
- * The restricted and unrestricted module licenses grouped by license owner. These module licenses are either assigned or unassigned to this user
29958
- */
29959
- licenseOwners?: LicenseOwner[];
29960
- }
29961
- /**
29962
- *
29963
- * Returns LicenseOwner[]
29964
- */
29965
- export interface Replication_GetCentralLicenseRequest {
29966
- }
29967
- /**
29968
- *
29969
- * Returns LicenseOwner[]
29970
- */
29971
- export interface Replication_SaveCentralLicenseRequest {
29972
- /**
29973
- *
29974
- */
29975
- license: LicenseOwner[];
29976
- }
29977
29289
  /**
29978
29290
  * 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.
29979
29291
  */
@@ -30525,15 +29837,6 @@ export interface FreeText_SetEnabledRequest {
30525
29837
  */
30526
29838
  enabled: boolean;
30527
29839
  }
30528
- /**
30529
- * Automatically enable freetext search for new travel areas? true or false
30530
- */
30531
- export interface FreeText_SetAutoEnableTravelAreasRequest {
30532
- /**
30533
- * If true, auto enable
30534
- */
30535
- autoEnable: boolean;
30536
- }
30537
29840
  /**
30538
29841
  * Sets the operator used when matching single words
30539
29842
  */
@@ -30552,40 +29855,6 @@ export interface FreeText_SetMultiWordOperatorRequest {
30552
29855
  */
30553
29856
  freeTextOperator: enums.FreeTextOperator;
30554
29857
  }
30555
- /**
30556
- * Returns the list of stop words
30557
- * Returns string[]
30558
- */
30559
- export interface FreeText_GetStopWordListRequest {
30560
- }
30561
- /**
30562
- * Adds the words in the string to the stop word list
30563
- */
30564
- export interface FreeText_AddWordsRequest {
30565
- /**
30566
- * The stop words to add
30567
- */
30568
- stopWords: string;
30569
- }
30570
- /**
30571
- * Delete the stop words with these ids
30572
- */
30573
- export interface FreeText_DeleteStopWordsByIdRequest {
30574
- /**
30575
- * The ids of the stopwords to delete
30576
- */
30577
- stopWordIds: number[];
30578
- }
30579
- /**
30580
- * Returns the top used words in the freetext index table, sorted as most used first
30581
- * Returns MDOListItem[]
30582
- */
30583
- export interface FreeText_GetSuggestedStopWordsRequest {
30584
- /**
30585
- * The count of words that will be returned
30586
- */
30587
- countWords: number;
30588
- }
30589
29858
  /**
30590
29859
  * Wipe and regenerate the freetext index by scanning the database (freetext search will be unavailable while this operation runs
30591
29860
  * Returns BatchTaskInfo
@@ -31913,244 +31182,6 @@ export interface Pocket_NotificationsHandledRequest {
31913
31182
  */
31914
31183
  notificationEvents: NotificationEvent[];
31915
31184
  }
31916
- /**
31917
- * Dashboard configuration
31918
- */
31919
- export interface Dashboard extends Carrier {
31920
- /**
31921
- * The dashboard id
31922
- */
31923
- dashboardId?: number;
31924
- /**
31925
- * Id of the associate who owns this dashboard
31926
- */
31927
- associateId?: number;
31928
- /**
31929
- * The caption for this dashboard
31930
- */
31931
- caption?: string;
31932
- /**
31933
- * The dashboard layout, how the tiles are organized on the screen
31934
- */
31935
- layout?: enums.DashboardLayout;
31936
- /**
31937
- * The tiles associated with this dashboard
31938
- */
31939
- tiles?: DashboardTile[];
31940
- }
31941
- /**
31942
- * Gets all dashboards for an associate
31943
- * Returns Dashboard[]
31944
- */
31945
- export interface Dashboard_GetDashboardsRequest {
31946
- /**
31947
- * Associate Id
31948
- */
31949
- associateId: number;
31950
- }
31951
- /**
31952
- * Sets tile in the given dashboard position
31953
- * Returns Dashboard
31954
- */
31955
- export interface Dashboard_SetTileRequest {
31956
- /**
31957
- * Dashboard Id
31958
- */
31959
- dashboardId: number;
31960
- /**
31961
- * Tile Id
31962
- */
31963
- tileId: number;
31964
- /**
31965
- * Tile position in the dashboard
31966
- */
31967
- position: number;
31968
- }
31969
- /**
31970
- * Dashboard Tile configuration
31971
- */
31972
- export interface DashboardTile extends Carrier {
31973
- /**
31974
- * The tile id
31975
- */
31976
- dashboardTileId?: number;
31977
- /**
31978
- * The tile caption
31979
- */
31980
- caption?: string;
31981
- /**
31982
- * The tile description
31983
- */
31984
- description?: string;
31985
- /**
31986
- * The original chart name
31987
- */
31988
- chartName?: string;
31989
- /**
31990
- * The original chart Id
31991
- */
31992
- chartId?: string;
31993
- /**
31994
- * True if this is one of the default tiles
31995
- */
31996
- isDefault?: boolean;
31997
- /**
31998
- * Id of the associate who owns this tile
31999
- */
32000
- associateId?: number;
32001
- /**
32002
- * Id of the associates primary group at storage time
32003
- */
32004
- groupId?: number;
32005
- /**
32006
- * The selection that defines the data filter/restrictions
32007
- */
32008
- selectionId?: number;
32009
- /**
32010
- * The tile config
32011
- */
32012
- config?: string;
32013
- /**
32014
- * The tile type, what kind of tile this is
32015
- */
32016
- type?: enums.DashboardTileType;
32017
- /**
32018
- * The tile entity type
32019
- */
32020
- entityType?: enums.DashboardTileEntityType;
32021
- /**
32022
- * The tile options
32023
- */
32024
- options?: DashboardTileOption[];
32025
- /**
32026
- * The set of users or groups the record is visible for
32027
- */
32028
- visibleFor?: VisibleFor[];
32029
- }
32030
- /**
32031
- * Gets an array of dashboard tiles for the provided ids
32032
- * Returns DashboardTile[]
32033
- */
32034
- export interface Dashboard_GetDashboardTilesRequest {
32035
- /**
32036
- * The ids of the tiles to get
32037
- */
32038
- dashboardTileIds: number[];
32039
- }
32040
- /**
32041
- * Gets the standard tile (not personal tile) corresponding to the given chart id
32042
- * Returns DashboardTile
32043
- */
32044
- export interface Dashboard_GetStandardDashboardTileFromChartIdRequest {
32045
- /**
32046
- * The ChartId of the wanted chart/tile
32047
- */
32048
- chartId: string;
32049
- }
32050
- /**
32051
- * Get data for this tile
32052
- * Returns TileData[]
32053
- */
32054
- export interface Dashboard_GetDataRequest {
32055
- /**
32056
- * Tile Id
32057
- */
32058
- dashboardTileId: number;
32059
- /**
32060
- * Replacement restrictions
32061
- */
32062
- restrictions: string;
32063
- }
32064
- /**
32065
- * Create new tile from another tile used as template
32066
- * Returns DashboardTile
32067
- */
32068
- export interface Dashboard_CreateNewFromTemplateRequest {
32069
- /**
32070
- * Tile template Id
32071
- */
32072
- dashboardTileId: number;
32073
- /**
32074
- * Caption of new tile
32075
- */
32076
- caption: string;
32077
- /**
32078
- * Description of new tile
32079
- */
32080
- description: string;
32081
- /**
32082
- * Selection id of new tile
32083
- */
32084
- selectionId: number;
32085
- /**
32086
- * Who the tile should be visible for
32087
- */
32088
- visibleFor: VisibleFor[];
32089
- }
32090
- /**
32091
- * Get data for this tile
32092
- * Returns TileData[]
32093
- */
32094
- export interface Dashboard_GetDataWithSelectionRequest {
32095
- /**
32096
- * Tile Id
32097
- */
32098
- dashboardTileId: number;
32099
- /**
32100
- * Selection Id
32101
- */
32102
- selectionId: number;
32103
- /**
32104
- * Replacement restrictions
32105
- */
32106
- restrictions: string;
32107
- }
32108
- /**
32109
- * Dashboard Tile option
32110
- */
32111
- export interface DashboardTileOption extends Carrier {
32112
- /**
32113
- * Name of option, usually not visible to users
32114
- */
32115
- name?: string;
32116
- /**
32117
- * Option description, visible to users
32118
- */
32119
- description?: string;
32120
- /**
32121
- * The type of option - integer, list, boolean (checkbox) etc.
32122
- */
32123
- type?: enums.DashboardTileOptionType;
32124
- /**
32125
- * An MDO list name, used if the type is list and no ListOptions are given
32126
- */
32127
- listName?: string;
32128
- /**
32129
- * List options given directly, not via MDO list name
32130
- */
32131
- listItems?: MDOListItem[];
32132
- /**
32133
- * The value, encoded as string, Id:Name of list item if type is list
32134
- */
32135
- value?: string;
32136
- /**
32137
- * True if this option only applies to the default data source, not selections
32138
- */
32139
- defaultDataOption?: boolean;
32140
- }
32141
- /**
32142
- * Class representing data to be visualized in a dashboard tile.
32143
- */
32144
- export interface TileData {
32145
- /**
32146
- * Column information
32147
- */
32148
- columns?: ArchiveColumnInfo[];
32149
- /**
32150
- * The result set
32151
- */
32152
- result?: ArchiveListResult;
32153
- }
32154
31185
  /**
32155
31186
  * Dashboard configuration
32156
31187
  */
@@ -37413,7 +36444,7 @@ export interface AI_TrainCategoryGuesserRequest {
37413
36444
  */
37414
36445
  export interface ChatbotTurn {
37415
36446
  /**
37416
- * UTC timestamp for turn - when response was generated
36447
+ * UTC timestamp for turn - when response was generated.
37417
36448
  */
37418
36449
  timestamp?: Date;
37419
36450
  /**
@@ -37569,6 +36600,132 @@ export interface AI_TranslateEntityRequest {
37569
36600
  */
37570
36601
  targetLanguage: string;
37571
36602
  }
36603
+ /**
36604
+ * Contains the answer to an AI search, with sources used.
36605
+ */
36606
+ export interface RagAnswer {
36607
+ /**
36608
+ * Response to the question
36609
+ */
36610
+ answer?: string;
36611
+ /**
36612
+ * Array of sources used to ground the answer. Each source has a chunk of text, relevancy score, title.
36613
+ */
36614
+ source?: RagResult[];
36615
+ /**
36616
+ * Unique identifier for this answer. Used for correlating feedback to answers
36617
+ */
36618
+ trackingId?: string;
36619
+ }
36620
+ /**
36621
+ * Returns an answer.
36622
+ * Returns RagAnswer
36623
+ */
36624
+ export interface AI_AnswerRequest {
36625
+ /**
36626
+ * Defines the search domain used for generating answer. e.g. 'ServiceCopilot'
36627
+ */
36628
+ namespaceName: string;
36629
+ /**
36630
+ * Question. The search query to answer.
36631
+ */
36632
+ query: string;
36633
+ /**
36634
+ * Filter results based on content type. Default: None = no filtering
36635
+ */
36636
+ type: enums.RagType;
36637
+ /**
36638
+ * Max Number of results to use in generating answer.
36639
+ */
36640
+ top: number;
36641
+ }
36642
+ /**
36643
+ * Send feedback on answer - feedback is logged and used to improve the answer algorithm.
36644
+ */
36645
+ export interface AI_AnswerFeedbackRequest {
36646
+ /**
36647
+ * The id of the answer that you are giving feedback to.
36648
+ */
36649
+ trackingId: string;
36650
+ /**
36651
+ * True = Like, False = Dislike.
36652
+ */
36653
+ isThumbsUp: boolean;
36654
+ }
36655
+ /**
36656
+ * Signal that answer was inserted into response- feedback is logged and used to improve the answer algorithm.
36657
+ */
36658
+ export interface AI_AnswerAcceptedRequest {
36659
+ /**
36660
+ * The id of the answer that you are giving feedback to.
36661
+ */
36662
+ trackingId: string;
36663
+ }
36664
+ /**
36665
+ * Contains the result of an AI search, with relevance score, document refernce, relevant text chunk.
36666
+ */
36667
+ export interface RagResult {
36668
+ /**
36669
+ * Markdown text that matched query.
36670
+ */
36671
+ chunk?: string;
36672
+ /**
36673
+ * Title or filename of matched document, extracted from the Metadata
36674
+ */
36675
+ title?: string;
36676
+ /**
36677
+ * Matched document's unique id. Typically a URI.
36678
+ */
36679
+ id?: string;
36680
+ /**
36681
+ * Content type (web/faq/ticket/...)
36682
+ */
36683
+ type?: enums.RagType;
36684
+ /**
36685
+ * Relevancy score (0-1). How close this chunk of the document matched the query.
36686
+ */
36687
+ score?: number;
36688
+ /**
36689
+ * Dictionary of metadata for this result. Keys depend on the source of the document. e.g. 'Title', 'Filename', 'Url', etc.
36690
+ */
36691
+ metadata?: StringObjectDictionary;
36692
+ }
36693
+ /**
36694
+ * Returns semantic search results from vector database.
36695
+ * Returns RagResult[]
36696
+ */
36697
+ export interface AI_SearchRequest {
36698
+ /**
36699
+ * Defines the search domain. e.g. 'ServiceCopilot'.
36700
+ */
36701
+ namespaceName: string;
36702
+ /**
36703
+ * Search query.
36704
+ */
36705
+ query: string;
36706
+ /**
36707
+ * Filter results based on a specific content type. Default: None = no filtering
36708
+ */
36709
+ type: enums.RagType;
36710
+ /**
36711
+ * Max Number of results to return.
36712
+ */
36713
+ top: number;
36714
+ }
36715
+ /**
36716
+ * Kicks off a batch task to update the RAG index
36717
+ * Returns number
36718
+ */
36719
+ export interface AI_StartRagIndexingRequest {
36720
+ /**
36721
+ * Defines the search domain. e.g. 'ServiceCopilot'.
36722
+ */
36723
+ namespaceName: string;
36724
+ /**
36725
+ * (Optional) Identifies the data source to update. Blank = all sources
36726
+ */
36727
+ sourceId: string;
36728
+ }
37572
36729
  /**
37573
36730
  * Summary functions for various entities
37574
36731
  */
@@ -38490,6 +37647,31 @@ export interface WorkflowStepCreateSale extends WorkflowStepBase {
38490
37647
  */
38491
37648
  source?: number;
38492
37649
  }
37650
+ /**
37651
+ * Step in workflow.
37652
+ */
37653
+ export interface WorkflowStepDistributeToOwner extends WorkflowStepBase {
37654
+ /**
37655
+ * If set to true, participants will only get owner if no owner
37656
+ */
37657
+ onlyToUnassigned?: boolean;
37658
+ /**
37659
+ * Selected associates to be owner of participants
37660
+ */
37661
+ associates?: number[];
37662
+ /**
37663
+ * Selected usergroups to be
37664
+ */
37665
+ userGroups?: number[];
37666
+ /**
37667
+ * The ordered queue of next new owners
37668
+ */
37669
+ distributeQueue?: number[];
37670
+ /**
37671
+ * If no other available, assign to this associate
37672
+ */
37673
+ defaultAssociate?: number;
37674
+ }
38493
37675
  /**
38494
37676
  * Step in workflow.
38495
37677
  */