@superoffice/webapi 10.3.4 → 10.3.6

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 (357) hide show
  1. package/dist/cjs/AIAgent.d.ts +97 -15
  2. package/dist/cjs/AIAgent.d.ts.map +1 -1
  3. package/dist/cjs/AIAgent.js +181 -10
  4. package/dist/cjs/AIAgent.js.map +1 -1
  5. package/dist/cjs/AppointmentAgent.d.ts +136 -2
  6. package/dist/cjs/AppointmentAgent.d.ts.map +1 -1
  7. package/dist/cjs/AppointmentAgent.js +157 -10
  8. package/dist/cjs/AppointmentAgent.js.map +1 -1
  9. package/dist/cjs/AppointmentRestApi.d.ts +34 -0
  10. package/dist/cjs/AppointmentRestApi.d.ts.map +1 -1
  11. package/dist/cjs/AppointmentRestApi.js +5 -5
  12. package/dist/cjs/AssociateAgent.d.ts +12 -0
  13. package/dist/cjs/AssociateAgent.d.ts.map +1 -1
  14. package/dist/cjs/AssociateAgent.js +2 -2
  15. package/dist/cjs/AudienceAgent.d.ts +17 -0
  16. package/dist/cjs/AudienceAgent.d.ts.map +1 -1
  17. package/dist/cjs/AudienceAgent.js +3 -3
  18. package/dist/cjs/BLOBAgent.d.ts +17 -0
  19. package/dist/cjs/BLOBAgent.d.ts.map +1 -1
  20. package/dist/cjs/BLOBAgent.js +3 -3
  21. package/dist/cjs/CRMScriptAgent.d.ts +34 -0
  22. package/dist/cjs/CRMScriptAgent.d.ts.map +1 -1
  23. package/dist/cjs/CRMScriptAgent.js +6 -6
  24. package/dist/cjs/Carriers.d.ts +680 -48
  25. package/dist/cjs/Carriers.d.ts.map +1 -1
  26. package/dist/cjs/ChatAgent.d.ts +34 -0
  27. package/dist/cjs/ChatAgent.d.ts.map +1 -1
  28. package/dist/cjs/ChatAgent.js +6 -6
  29. package/dist/cjs/ConfigurationAgent.d.ts +70 -0
  30. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
  31. package/dist/cjs/ConfigurationAgent.js +35 -11
  32. package/dist/cjs/ConfigurationAgent.js.map +1 -1
  33. package/dist/cjs/ContactAgent.d.ts +44 -0
  34. package/dist/cjs/ContactAgent.d.ts.map +1 -1
  35. package/dist/cjs/ContactAgent.js +38 -5
  36. package/dist/cjs/ContactAgent.js.map +1 -1
  37. package/dist/cjs/ContactRestApi.d.ts +34 -0
  38. package/dist/cjs/ContactRestApi.d.ts.map +1 -1
  39. package/dist/cjs/ContactRestApi.js +5 -5
  40. package/dist/cjs/ContactRestApi.js.map +1 -1
  41. package/dist/cjs/Converters.d.ts +40 -6
  42. package/dist/cjs/Converters.d.ts.map +1 -1
  43. package/dist/cjs/Converters.js +519 -55
  44. package/dist/cjs/Converters.js.map +1 -1
  45. package/dist/cjs/CustomerServiceAgent.d.ts +35 -0
  46. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -1
  47. package/dist/cjs/CustomerServiceAgent.js +6 -6
  48. package/dist/cjs/DashAgent.d.ts +68 -0
  49. package/dist/cjs/DashAgent.d.ts.map +1 -1
  50. package/dist/cjs/DashAgent.js +12 -12
  51. package/dist/cjs/DashboardAgent.d.ts +34 -0
  52. package/dist/cjs/DashboardAgent.d.ts.map +1 -1
  53. package/dist/cjs/DashboardAgent.js +6 -6
  54. package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
  55. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
  56. package/dist/cjs/DiagnosticsAgent.js +24 -0
  57. package/dist/cjs/DiagnosticsAgent.js.map +1 -1
  58. package/dist/cjs/DocumentAgent.d.ts +41 -0
  59. package/dist/cjs/DocumentAgent.d.ts.map +1 -1
  60. package/dist/cjs/DocumentAgent.js +7 -7
  61. package/dist/cjs/DocumentRestApi.d.ts +34 -0
  62. package/dist/cjs/DocumentRestApi.d.ts.map +1 -1
  63. package/dist/cjs/DocumentRestApi.js +5 -5
  64. package/dist/cjs/EMailAgent.d.ts +23 -0
  65. package/dist/cjs/EMailAgent.d.ts.map +1 -1
  66. package/dist/cjs/EMailAgent.js +4 -4
  67. package/dist/cjs/Enums.d.ts +167 -14
  68. package/dist/cjs/Enums.d.ts.map +1 -1
  69. package/dist/cjs/Enums.js +173 -16
  70. package/dist/cjs/Enums.js.map +1 -1
  71. package/dist/cjs/ErpSyncAgent.d.ts +17 -0
  72. package/dist/cjs/ErpSyncAgent.d.ts.map +1 -1
  73. package/dist/cjs/ErpSyncAgent.js +3 -3
  74. package/dist/cjs/ForeignSystemAgent.d.ts +23 -0
  75. package/dist/cjs/ForeignSystemAgent.d.ts.map +1 -1
  76. package/dist/cjs/ForeignSystemAgent.js +4 -4
  77. package/dist/cjs/ListAgent.d.ts +716 -0
  78. package/dist/cjs/ListAgent.d.ts.map +1 -1
  79. package/dist/cjs/ListAgent.js +152 -118
  80. package/dist/cjs/ListAgent.js.map +1 -1
  81. package/dist/cjs/MarketingAgent.d.ts +68 -0
  82. package/dist/cjs/MarketingAgent.d.ts.map +1 -1
  83. package/dist/cjs/MarketingAgent.js +12 -12
  84. package/dist/cjs/NavigatorAgent.d.ts +12 -0
  85. package/dist/cjs/NavigatorAgent.d.ts.map +1 -1
  86. package/dist/cjs/NavigatorAgent.js +2 -2
  87. package/dist/cjs/NumberAllocationAgent.d.ts +17 -0
  88. package/dist/cjs/NumberAllocationAgent.d.ts.map +1 -1
  89. package/dist/cjs/NumberAllocationAgent.js +3 -3
  90. package/dist/cjs/PersonAgent.d.ts +67 -0
  91. package/dist/cjs/PersonAgent.d.ts.map +1 -1
  92. package/dist/cjs/PersonAgent.js +47 -8
  93. package/dist/cjs/PersonAgent.js.map +1 -1
  94. package/dist/cjs/PersonRestApi.d.ts +34 -0
  95. package/dist/cjs/PersonRestApi.d.ts.map +1 -1
  96. package/dist/cjs/PersonRestApi.js +5 -5
  97. package/dist/cjs/PreferenceAgent.d.ts +34 -0
  98. package/dist/cjs/PreferenceAgent.d.ts.map +1 -1
  99. package/dist/cjs/PreferenceAgent.js +6 -6
  100. package/dist/cjs/ProjectAgent.d.ts +75 -0
  101. package/dist/cjs/ProjectAgent.d.ts.map +1 -1
  102. package/dist/cjs/ProjectAgent.js +13 -13
  103. package/dist/cjs/ProjectRestApi.d.ts +34 -0
  104. package/dist/cjs/ProjectRestApi.d.ts.map +1 -1
  105. package/dist/cjs/ProjectRestApi.js +5 -5
  106. package/dist/cjs/QuoteAgent.d.ts +40 -0
  107. package/dist/cjs/QuoteAgent.d.ts.map +1 -1
  108. package/dist/cjs/QuoteAgent.js +7 -7
  109. package/dist/cjs/RelationAgent.d.ts +6 -0
  110. package/dist/cjs/RelationAgent.d.ts.map +1 -1
  111. package/dist/cjs/RelationAgent.js +1 -1
  112. package/dist/cjs/ReplicationAgent.d.ts +24 -0
  113. package/dist/cjs/ReplicationAgent.d.ts.map +1 -1
  114. package/dist/cjs/ReplicationAgent.js +4 -4
  115. package/dist/cjs/ReportAgent.d.ts +29 -0
  116. package/dist/cjs/ReportAgent.d.ts.map +1 -1
  117. package/dist/cjs/ReportAgent.js +5 -5
  118. package/dist/cjs/SaintAgent.d.ts +18 -0
  119. package/dist/cjs/SaintAgent.d.ts.map +1 -1
  120. package/dist/cjs/SaintAgent.js +3 -3
  121. package/dist/cjs/SaleAgent.d.ts +52 -0
  122. package/dist/cjs/SaleAgent.d.ts.map +1 -1
  123. package/dist/cjs/SaleAgent.js +9 -9
  124. package/dist/cjs/SaleRestApi.d.ts +34 -0
  125. package/dist/cjs/SaleRestApi.d.ts.map +1 -1
  126. package/dist/cjs/SaleRestApi.js +5 -5
  127. package/dist/cjs/SelectionAgent.d.ts +17 -0
  128. package/dist/cjs/SelectionAgent.d.ts.map +1 -1
  129. package/dist/cjs/SelectionAgent.js +3 -3
  130. package/dist/cjs/TargetsAgent.d.ts +34 -0
  131. package/dist/cjs/TargetsAgent.d.ts.map +1 -1
  132. package/dist/cjs/TargetsAgent.js +6 -6
  133. package/dist/cjs/TicketAgent.d.ts +86 -4
  134. package/dist/cjs/TicketAgent.d.ts.map +1 -1
  135. package/dist/cjs/TicketAgent.js +78 -8
  136. package/dist/cjs/TicketAgent.js.map +1 -1
  137. package/dist/cjs/UserAgent.d.ts +88 -0
  138. package/dist/cjs/UserAgent.d.ts.map +1 -1
  139. package/dist/cjs/UserAgent.js +15 -15
  140. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +17 -0
  141. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts.map +1 -1
  142. package/dist/cjs/UserDefinedFieldInfoAgent.js +3 -3
  143. package/dist/cjs/ViewStateAgent.d.ts +6 -0
  144. package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
  145. package/dist/cjs/ViewStateAgent.js +1 -1
  146. package/dist/cjs/WebApi.d.ts +2 -2
  147. package/dist/cjs/WebApi.d.ts.map +1 -1
  148. package/dist/cjs/WebhookAgent.d.ts +17 -0
  149. package/dist/cjs/WebhookAgent.d.ts.map +1 -1
  150. package/dist/cjs/WebhookAgent.js +3 -3
  151. package/dist/cjs/WorkflowAgent.d.ts +79 -12
  152. package/dist/cjs/WorkflowAgent.d.ts.map +1 -1
  153. package/dist/cjs/WorkflowAgent.js +62 -83
  154. package/dist/cjs/WorkflowAgent.js.map +1 -1
  155. package/dist/esm/AIAgent.d.ts +97 -15
  156. package/dist/esm/AIAgent.d.ts.map +1 -1
  157. package/dist/esm/AIAgent.js +181 -10
  158. package/dist/esm/AIAgent.js.map +1 -1
  159. package/dist/esm/AppointmentAgent.d.ts +136 -2
  160. package/dist/esm/AppointmentAgent.d.ts.map +1 -1
  161. package/dist/esm/AppointmentAgent.js +157 -10
  162. package/dist/esm/AppointmentAgent.js.map +1 -1
  163. package/dist/esm/AppointmentRestApi.d.ts +34 -0
  164. package/dist/esm/AppointmentRestApi.d.ts.map +1 -1
  165. package/dist/esm/AppointmentRestApi.js +5 -5
  166. package/dist/esm/AssociateAgent.d.ts +12 -0
  167. package/dist/esm/AssociateAgent.d.ts.map +1 -1
  168. package/dist/esm/AssociateAgent.js +2 -2
  169. package/dist/esm/AudienceAgent.d.ts +17 -0
  170. package/dist/esm/AudienceAgent.d.ts.map +1 -1
  171. package/dist/esm/AudienceAgent.js +3 -3
  172. package/dist/esm/BLOBAgent.d.ts +17 -0
  173. package/dist/esm/BLOBAgent.d.ts.map +1 -1
  174. package/dist/esm/BLOBAgent.js +3 -3
  175. package/dist/esm/CRMScriptAgent.d.ts +34 -0
  176. package/dist/esm/CRMScriptAgent.d.ts.map +1 -1
  177. package/dist/esm/CRMScriptAgent.js +6 -6
  178. package/dist/esm/Carriers.d.ts +680 -48
  179. package/dist/esm/Carriers.d.ts.map +1 -1
  180. package/dist/esm/ChatAgent.d.ts +34 -0
  181. package/dist/esm/ChatAgent.d.ts.map +1 -1
  182. package/dist/esm/ChatAgent.js +6 -6
  183. package/dist/esm/ConfigurationAgent.d.ts +70 -0
  184. package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
  185. package/dist/esm/ConfigurationAgent.js +35 -11
  186. package/dist/esm/ConfigurationAgent.js.map +1 -1
  187. package/dist/esm/ContactAgent.d.ts +44 -0
  188. package/dist/esm/ContactAgent.d.ts.map +1 -1
  189. package/dist/esm/ContactAgent.js +38 -5
  190. package/dist/esm/ContactAgent.js.map +1 -1
  191. package/dist/esm/ContactRestApi.d.ts +34 -0
  192. package/dist/esm/ContactRestApi.d.ts.map +1 -1
  193. package/dist/esm/ContactRestApi.js +5 -5
  194. package/dist/esm/ContactRestApi.js.map +1 -1
  195. package/dist/esm/Converters.d.ts +40 -6
  196. package/dist/esm/Converters.d.ts.map +1 -1
  197. package/dist/esm/Converters.js +452 -22
  198. package/dist/esm/Converters.js.map +1 -1
  199. package/dist/esm/CustomerServiceAgent.d.ts +35 -0
  200. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -1
  201. package/dist/esm/CustomerServiceAgent.js +6 -6
  202. package/dist/esm/DashAgent.d.ts +68 -0
  203. package/dist/esm/DashAgent.d.ts.map +1 -1
  204. package/dist/esm/DashAgent.js +12 -12
  205. package/dist/esm/DashboardAgent.d.ts +34 -0
  206. package/dist/esm/DashboardAgent.d.ts.map +1 -1
  207. package/dist/esm/DashboardAgent.js +6 -6
  208. package/dist/esm/DiagnosticsAgent.d.ts +7 -0
  209. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
  210. package/dist/esm/DiagnosticsAgent.js +24 -0
  211. package/dist/esm/DiagnosticsAgent.js.map +1 -1
  212. package/dist/esm/DocumentAgent.d.ts +41 -0
  213. package/dist/esm/DocumentAgent.d.ts.map +1 -1
  214. package/dist/esm/DocumentAgent.js +7 -7
  215. package/dist/esm/DocumentRestApi.d.ts +34 -0
  216. package/dist/esm/DocumentRestApi.d.ts.map +1 -1
  217. package/dist/esm/DocumentRestApi.js +5 -5
  218. package/dist/esm/EMailAgent.d.ts +23 -0
  219. package/dist/esm/EMailAgent.d.ts.map +1 -1
  220. package/dist/esm/EMailAgent.js +4 -4
  221. package/dist/esm/Enums.d.ts +167 -14
  222. package/dist/esm/Enums.d.ts.map +1 -1
  223. package/dist/esm/Enums.js +169 -12
  224. package/dist/esm/Enums.js.map +1 -1
  225. package/dist/esm/ErpSyncAgent.d.ts +17 -0
  226. package/dist/esm/ErpSyncAgent.d.ts.map +1 -1
  227. package/dist/esm/ErpSyncAgent.js +3 -3
  228. package/dist/esm/ForeignSystemAgent.d.ts +23 -0
  229. package/dist/esm/ForeignSystemAgent.d.ts.map +1 -1
  230. package/dist/esm/ForeignSystemAgent.js +4 -4
  231. package/dist/esm/ListAgent.d.ts +716 -0
  232. package/dist/esm/ListAgent.d.ts.map +1 -1
  233. package/dist/esm/ListAgent.js +152 -118
  234. package/dist/esm/ListAgent.js.map +1 -1
  235. package/dist/esm/MarketingAgent.d.ts +68 -0
  236. package/dist/esm/MarketingAgent.d.ts.map +1 -1
  237. package/dist/esm/MarketingAgent.js +12 -12
  238. package/dist/esm/NavigatorAgent.d.ts +12 -0
  239. package/dist/esm/NavigatorAgent.d.ts.map +1 -1
  240. package/dist/esm/NavigatorAgent.js +2 -2
  241. package/dist/esm/NumberAllocationAgent.d.ts +17 -0
  242. package/dist/esm/NumberAllocationAgent.d.ts.map +1 -1
  243. package/dist/esm/NumberAllocationAgent.js +3 -3
  244. package/dist/esm/PersonAgent.d.ts +67 -0
  245. package/dist/esm/PersonAgent.d.ts.map +1 -1
  246. package/dist/esm/PersonAgent.js +47 -8
  247. package/dist/esm/PersonAgent.js.map +1 -1
  248. package/dist/esm/PersonRestApi.d.ts +34 -0
  249. package/dist/esm/PersonRestApi.d.ts.map +1 -1
  250. package/dist/esm/PersonRestApi.js +5 -5
  251. package/dist/esm/PreferenceAgent.d.ts +34 -0
  252. package/dist/esm/PreferenceAgent.d.ts.map +1 -1
  253. package/dist/esm/PreferenceAgent.js +6 -6
  254. package/dist/esm/ProjectAgent.d.ts +75 -0
  255. package/dist/esm/ProjectAgent.d.ts.map +1 -1
  256. package/dist/esm/ProjectAgent.js +13 -13
  257. package/dist/esm/ProjectRestApi.d.ts +34 -0
  258. package/dist/esm/ProjectRestApi.d.ts.map +1 -1
  259. package/dist/esm/ProjectRestApi.js +5 -5
  260. package/dist/esm/QuoteAgent.d.ts +40 -0
  261. package/dist/esm/QuoteAgent.d.ts.map +1 -1
  262. package/dist/esm/QuoteAgent.js +7 -7
  263. package/dist/esm/RelationAgent.d.ts +6 -0
  264. package/dist/esm/RelationAgent.d.ts.map +1 -1
  265. package/dist/esm/RelationAgent.js +1 -1
  266. package/dist/esm/ReplicationAgent.d.ts +24 -0
  267. package/dist/esm/ReplicationAgent.d.ts.map +1 -1
  268. package/dist/esm/ReplicationAgent.js +4 -4
  269. package/dist/esm/ReportAgent.d.ts +29 -0
  270. package/dist/esm/ReportAgent.d.ts.map +1 -1
  271. package/dist/esm/ReportAgent.js +5 -5
  272. package/dist/esm/SaintAgent.d.ts +18 -0
  273. package/dist/esm/SaintAgent.d.ts.map +1 -1
  274. package/dist/esm/SaintAgent.js +3 -3
  275. package/dist/esm/SaleAgent.d.ts +52 -0
  276. package/dist/esm/SaleAgent.d.ts.map +1 -1
  277. package/dist/esm/SaleAgent.js +9 -9
  278. package/dist/esm/SaleRestApi.d.ts +34 -0
  279. package/dist/esm/SaleRestApi.d.ts.map +1 -1
  280. package/dist/esm/SaleRestApi.js +5 -5
  281. package/dist/esm/SelectionAgent.d.ts +17 -0
  282. package/dist/esm/SelectionAgent.d.ts.map +1 -1
  283. package/dist/esm/SelectionAgent.js +3 -3
  284. package/dist/esm/TargetsAgent.d.ts +34 -0
  285. package/dist/esm/TargetsAgent.d.ts.map +1 -1
  286. package/dist/esm/TargetsAgent.js +6 -6
  287. package/dist/esm/TicketAgent.d.ts +86 -4
  288. package/dist/esm/TicketAgent.d.ts.map +1 -1
  289. package/dist/esm/TicketAgent.js +78 -8
  290. package/dist/esm/TicketAgent.js.map +1 -1
  291. package/dist/esm/UserAgent.d.ts +88 -0
  292. package/dist/esm/UserAgent.d.ts.map +1 -1
  293. package/dist/esm/UserAgent.js +15 -15
  294. package/dist/esm/UserDefinedFieldInfoAgent.d.ts +17 -0
  295. package/dist/esm/UserDefinedFieldInfoAgent.d.ts.map +1 -1
  296. package/dist/esm/UserDefinedFieldInfoAgent.js +3 -3
  297. package/dist/esm/ViewStateAgent.d.ts +6 -0
  298. package/dist/esm/ViewStateAgent.d.ts.map +1 -1
  299. package/dist/esm/ViewStateAgent.js +1 -1
  300. package/dist/esm/WebApi.d.ts +2 -2
  301. package/dist/esm/WebApi.d.ts.map +1 -1
  302. package/dist/esm/WebhookAgent.d.ts +17 -0
  303. package/dist/esm/WebhookAgent.d.ts.map +1 -1
  304. package/dist/esm/WebhookAgent.js +3 -3
  305. package/dist/esm/WorkflowAgent.d.ts +79 -12
  306. package/dist/esm/WorkflowAgent.d.ts.map +1 -1
  307. package/dist/esm/WorkflowAgent.js +62 -83
  308. package/dist/esm/WorkflowAgent.js.map +1 -1
  309. package/package.json +3 -3
  310. package/src/AIAgent.ts +317 -25
  311. package/src/AppointmentAgent.ts +266 -12
  312. package/src/AppointmentRestApi.ts +5 -5
  313. package/src/AssociateAgent.ts +2 -2
  314. package/src/AudienceAgent.ts +3 -3
  315. package/src/BLOBAgent.ts +3 -3
  316. package/src/CRMScriptAgent.ts +6 -6
  317. package/src/Carriers.ts +925 -54
  318. package/src/ChatAgent.ts +6 -6
  319. package/src/ConfigurationAgent.ts +41 -11
  320. package/src/ContactAgent.ts +61 -5
  321. package/src/ContactRestApi.ts +7 -5
  322. package/src/Converters.ts +557 -29
  323. package/src/CustomerServiceAgent.ts +6 -6
  324. package/src/DashAgent.ts +12 -12
  325. package/src/DashboardAgent.ts +6 -6
  326. package/src/DiagnosticsAgent.ts +30 -0
  327. package/src/DocumentAgent.ts +7 -7
  328. package/src/DocumentRestApi.ts +5 -5
  329. package/src/EMailAgent.ts +4 -4
  330. package/src/Enums.ts +173 -12
  331. package/src/ErpSyncAgent.ts +3 -3
  332. package/src/ForeignSystemAgent.ts +4 -4
  333. package/src/ListAgent.ts +176 -118
  334. package/src/MarketingAgent.ts +12 -12
  335. package/src/NavigatorAgent.ts +2 -2
  336. package/src/NumberAllocationAgent.ts +3 -3
  337. package/src/PersonAgent.ts +76 -8
  338. package/src/PersonRestApi.ts +5 -5
  339. package/src/PreferenceAgent.ts +6 -6
  340. package/src/ProjectAgent.ts +13 -13
  341. package/src/ProjectRestApi.ts +5 -5
  342. package/src/QuoteAgent.ts +7 -7
  343. package/src/RelationAgent.ts +1 -1
  344. package/src/ReplicationAgent.ts +4 -4
  345. package/src/ReportAgent.ts +5 -5
  346. package/src/SaintAgent.ts +3 -3
  347. package/src/SaleAgent.ts +9 -9
  348. package/src/SaleRestApi.ts +5 -5
  349. package/src/SelectionAgent.ts +3 -3
  350. package/src/TargetsAgent.ts +6 -6
  351. package/src/TicketAgent.ts +132 -12
  352. package/src/UserAgent.ts +15 -15
  353. package/src/UserDefinedFieldInfoAgent.ts +3 -3
  354. package/src/ViewStateAgent.ts +1 -1
  355. package/src/WebApi.ts +2 -2
  356. package/src/WebhookAgent.ts +3 -3
  357. package/src/WorkflowAgent.ts +107 -89
package/src/Carriers.ts CHANGED
@@ -1444,6 +1444,16 @@ export interface SoSystemInfoCarrier extends Carrier {
1444
1444
 
1445
1445
 
1446
1446
 
1447
+ /**
1448
+ * Serializable dictionary.
1449
+ */
1450
+ export interface StringBoolDictionary {
1451
+ [index: string]: boolean;
1452
+ }
1453
+
1454
+
1455
+
1456
+
1447
1457
  /**
1448
1458
  * Serializable dictionary.
1449
1459
  */
@@ -7048,6 +7058,19 @@ export interface Contact_GetNameDepartmentDuplicatesRequest {
7048
7058
 
7049
7059
  // response object: DuplicateEntry[]
7050
7060
 
7061
+ /**
7062
+ * Get duplicates based on the domain
7063
+ * Returns DuplicateEntry[]
7064
+ */
7065
+ export interface Contact_GetDomainDuplicatesRequest {
7066
+ /**
7067
+ * Domain used for lookup
7068
+ */
7069
+ domain: string;
7070
+ }
7071
+
7072
+ // response object: DuplicateEntry[]
7073
+
7051
7074
  /**
7052
7075
  * Checks if the number is unique or required. The setting is configured from admin under system options.
7053
7076
  * Returns boolean
@@ -8637,6 +8660,42 @@ export interface Person_SendEmailRequest {
8637
8660
 
8638
8661
  // Void response...
8639
8662
 
8663
+ /**
8664
+ * Inserts into outbox an email with specified details and event name.
8665
+ */
8666
+ export interface Person_SendEmailWithEventNameRequest {
8667
+ /**
8668
+ * Sender's email address.
8669
+ */
8670
+ from: string;
8671
+ /**
8672
+ * Recipient's email address.
8673
+ */
8674
+ to: string;
8675
+ /**
8676
+ * Email's subject.
8677
+ */
8678
+ subject: string;
8679
+ /**
8680
+ * Email's plain body.
8681
+ */
8682
+ plainBody: string;
8683
+ /**
8684
+ * Email's html body.
8685
+ */
8686
+ htmlBody: string;
8687
+ /**
8688
+ * Ids of email's attachments.
8689
+ */
8690
+ attachmentIds: number[];
8691
+ /**
8692
+ * Event name passed to outbound email trigger
8693
+ */
8694
+ eventName: string;
8695
+ }
8696
+
8697
+ // Void response...
8698
+
8640
8699
 
8641
8700
  /**
8642
8701
  * Scaled person image
@@ -11979,6 +12038,11 @@ export interface Appointment extends Carrier {
11979
12038
  */
11980
12039
  joinVideomeetUrl?: string;
11981
12040
 
12041
+ /**
12042
+ * Preferred timezone location to use when displaying/editing this appointment
12043
+ */
12044
+ preferredTZLocation?: number;
12045
+
11982
12046
  /**
11983
12047
  * The title of the appointment.
11984
12048
  */
@@ -12113,6 +12177,21 @@ export interface AppointmentEntity extends Carrier {
12113
12177
  */
12114
12178
  description?: string;
12115
12179
 
12180
+ /**
12181
+ * The title of the appointment.
12182
+ */
12183
+ title?: string;
12184
+
12185
+ /**
12186
+ * The agenda of the appointment.
12187
+ */
12188
+ agenda?: string;
12189
+
12190
+ /**
12191
+ * Internal notes for the appointment.
12192
+ */
12193
+ internalNotes?: string;
12194
+
12116
12195
  /**
12117
12196
  * date + start time planned
12118
12197
  */
@@ -12284,10 +12363,15 @@ export interface AppointmentEntity extends Carrier {
12284
12363
  task?: TaskListItem;
12285
12364
 
12286
12365
  /**
12287
- * Appoinmtments preferred timezone location.
12366
+ * Appointments preferred timezone location.
12288
12367
  */
12289
12368
  preferredTZLocation?: number;
12290
12369
 
12370
+ /**
12371
+ * Read-only timezone data for PreferredTZLocation.
12372
+ */
12373
+ preferredTZLocationData?: TimeZoneData;
12374
+
12291
12375
  /**
12292
12376
  * An appointment may also be connected to a sale, so you see the appointment on the company card, on the project card and on the sale card. This does not mean however that a sale is required.
12293
12377
  * Use MDO List name "sale" to get list items.
@@ -12319,21 +12403,6 @@ export interface AppointmentEntity extends Carrier {
12319
12403
  */
12320
12404
  centralserviceVideomeetId?: string;
12321
12405
 
12322
- /**
12323
- * The title of the appointment.
12324
- */
12325
- title?: string;
12326
-
12327
- /**
12328
- * The agenda of the appointment.
12329
- */
12330
- agenda?: string;
12331
-
12332
- /**
12333
- * Internal notes for the appointment.
12334
- */
12335
- internalNotes?: string;
12336
-
12337
12406
  /**
12338
12407
  * Dictionary of user defined field data.
12339
12408
  * The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
@@ -13063,6 +13132,142 @@ export interface Appointment_RejectWithSmtpEmailConfirmationRequest {
13063
13132
 
13064
13133
  // Void response...
13065
13134
 
13135
+ /**
13136
+ * Create an EMailEntity (without an ical attachment) with the email sent to participants when the appointment is saved
13137
+ * Returns EMailEntity
13138
+ */
13139
+ export interface Appointment_GetAppointmentEmailInvitationRequest {
13140
+ /**
13141
+ * The appointment carrier with changes made.
13142
+ */
13143
+ appointment: AppointmentEntity;
13144
+ /**
13145
+ * Filename of invitation template
13146
+ */
13147
+ templateName: string;
13148
+ /**
13149
+ * The desired SO-language for the template
13150
+ */
13151
+ language: string;
13152
+ }
13153
+
13154
+ // response object: EMailEntity
13155
+
13156
+ /**
13157
+ * Save a booking and send a custom invitation email to participants
13158
+ * Returns AppointmentSaveData
13159
+ */
13160
+ export interface Appointment_SaveWithCustomInvitationRequest {
13161
+ /**
13162
+ *
13163
+ */
13164
+ appointmentEntity: AppointmentEntity;
13165
+ /**
13166
+ * Update mode for a recurring appointment.
13167
+ */
13168
+ updateMode: enums.RecurrenceUpdateMode;
13169
+ /**
13170
+ * If true, emails will be sent to all participants that is marked with send email flag. If false no mails will be sent even if the send email flag is true.
13171
+ */
13172
+ sendEmailToParticipants: boolean;
13173
+ /**
13174
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
13175
+ */
13176
+ smtpEMailConnectionInfo: EMailConnectionInfo;
13177
+ /**
13178
+ * Login information for imap server. Will be null if no login information is relevant.
13179
+ */
13180
+ imapEMailConnectionInfo: EMailConnectionInfo;
13181
+ /**
13182
+ * The email-body to be used for new invitations
13183
+ */
13184
+ emailBody: string;
13185
+ /**
13186
+ * The email-subject to be used for new invitations
13187
+ */
13188
+ subject: string;
13189
+ /**
13190
+ * The template language to use for invitation updates
13191
+ */
13192
+ templateLanguage: string;
13193
+ }
13194
+
13195
+ // response object: AppointmentSaveData
13196
+
13197
+
13198
+ /**
13199
+ * Info about an appointment
13200
+ */
13201
+ export interface AppointmentInfo extends Carrier {
13202
+
13203
+
13204
+ /**
13205
+ * The id of the appointment
13206
+ */
13207
+ appointmentId?: number;
13208
+
13209
+ /**
13210
+ * The id of the associate this appointment belongs to
13211
+ */
13212
+ associateId?: number;
13213
+
13214
+ /**
13215
+ * The id of the mother appointment (participants point to this one)
13216
+ */
13217
+ motherId?: number;
13218
+
13219
+ /**
13220
+ * The start of the appointment
13221
+ */
13222
+ startDate?: Date;
13223
+
13224
+ /**
13225
+ * The end of the appointment
13226
+ */
13227
+ endDate?: Date;
13228
+
13229
+ /**
13230
+ * The color index of the appointment (task)
13231
+ */
13232
+ colorIndex?: enums.ColorIndex;
13233
+
13234
+ /**
13235
+ * The appointment title (first line of appointment description)
13236
+ */
13237
+ title?: string;
13238
+
13239
+ /**
13240
+ * The appointment agenda (the rest of appointment description)
13241
+ */
13242
+ agenda?: string;
13243
+
13244
+ /**
13245
+ * True if the appointment is an all day appointment
13246
+ */
13247
+ isAllDay?: boolean;
13248
+
13249
+ /**
13250
+ * True if the participant is marked as busy
13251
+ */
13252
+ isBusy?: boolean;
13253
+
13254
+ /**
13255
+ * True if the appointment is part of a recurring series
13256
+ */
13257
+ isRecurring?: boolean;
13258
+
13259
+ /**
13260
+ * True if the appointment has a video link
13261
+ */
13262
+ isVideoMeeting?: boolean;
13263
+
13264
+ }
13265
+
13266
+
13267
+
13268
+
13269
+
13270
+
13066
13271
 
13067
13272
  /**
13068
13273
  * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
@@ -13894,7 +14099,7 @@ export interface Appointment_UpdateAppointmentRequest {
13894
14099
  // response object: Appointment
13895
14100
 
13896
14101
  /**
13897
- *
14102
+ * Fetch appointments for given associates
13898
14103
  * Returns Appointment[]
13899
14104
  */
13900
14105
  export interface Appointment_GetAssociatesDiaryRequest {
@@ -13914,6 +14119,27 @@ export interface Appointment_GetAssociatesDiaryRequest {
13914
14119
 
13915
14120
  // response object: Appointment[]
13916
14121
 
14122
+ /**
14123
+ * Fetch appointment info for given associates
14124
+ * Returns AppointmentInfo[]
14125
+ */
14126
+ export interface Appointment_GetAssociatesDiaryInfoRequest {
14127
+ /**
14128
+ *
14129
+ */
14130
+ associateIds: number[];
14131
+ /**
14132
+ *
14133
+ */
14134
+ startTime: Date;
14135
+ /**
14136
+ *
14137
+ */
14138
+ endTime: Date;
14139
+ }
14140
+
14141
+ // response object: AppointmentInfo[]
14142
+
13917
14143
  /**
13918
14144
  * Get all records involved in a booking and/or recurring appointments. MotherId can be zero for repeating appointments or bookings, and recurrenceRuleId can be zero for bookings that are not repeating.
13919
14145
  * Returns Appointment[]
@@ -13932,6 +14158,30 @@ export interface Appointment_GetAppointmentRecordsRequest {
13932
14158
  // response object: Appointment[]
13933
14159
 
13934
14160
 
14161
+ /**
14162
+ * This class contains the updated appointment entity and a flag for if any emails were queued when saving
14163
+ */
14164
+ export interface AppointmentSaveData extends Carrier {
14165
+
14166
+
14167
+ /**
14168
+ * Updated AppointmentEntity
14169
+ */
14170
+ appointmentEntity?: AppointmentEntity;
14171
+
14172
+ /**
14173
+ * Flag for if an email was created for webtools, or if an email is queued on an smtp server
14174
+ */
14175
+ emailCreated?: boolean;
14176
+
14177
+ }
14178
+
14179
+
14180
+
14181
+
14182
+
14183
+
14184
+
13935
14185
  /**
13936
14186
  *
13937
14187
  */
@@ -14236,6 +14486,70 @@ export interface Appointment_GetAlarmsRequest {
14236
14486
  // response object: MultiAlarmData
14237
14487
 
14238
14488
 
14489
+ /**
14490
+ * The soonest-available working time slot
14491
+ */
14492
+ export interface NextAvailableTime extends Carrier {
14493
+
14494
+
14495
+ /**
14496
+ * The available start date time.
14497
+ */
14498
+ availableTimeStart?: Date;
14499
+
14500
+ /**
14501
+ * The available end date time.
14502
+ */
14503
+ availableTimeEnd?: Date;
14504
+
14505
+ /**
14506
+ * The recommended start date time.
14507
+ */
14508
+ recommendedTimeStart?: Date;
14509
+
14510
+ /**
14511
+ * The recomended end date time.
14512
+ */
14513
+ recommendedTimeEnd?: Date;
14514
+
14515
+ }
14516
+
14517
+
14518
+
14519
+
14520
+
14521
+
14522
+
14523
+ /**
14524
+ * An array of the soonest-available working time slots.
14525
+ * Returns NextAvailableTime[]
14526
+ */
14527
+ export interface Appointment_GetNextAvailableTimeRequest {
14528
+ /**
14529
+ * Associate participants we want to account for while finding the next available times.
14530
+ */
14531
+ associates: number[];
14532
+ /**
14533
+ * The start of the time interval we want appointments from.
14534
+ */
14535
+ startTime: Date;
14536
+ /**
14537
+ * The end of the time interval.
14538
+ */
14539
+ endTime: Date;
14540
+ /**
14541
+ * How many next-available date time slots should be returned.
14542
+ */
14543
+ count: number;
14544
+ /**
14545
+ * Is the appointment an all day event.
14546
+ */
14547
+ isAllDay: boolean;
14548
+ }
14549
+
14550
+ // response object: NextAvailableTime[]
14551
+
14552
+
14239
14553
  /**
14240
14554
  * Class representing an appointment participant.
14241
14555
  */
@@ -14272,6 +14586,16 @@ export interface ParticipantInfo {
14272
14586
  */
14273
14587
  invitationStatus?: enums.InvitationStatus;
14274
14588
 
14589
+ /**
14590
+ * The email address to be used as a participant if neither person id nor associate id has been set.
14591
+ */
14592
+ emailAddress?: string;
14593
+
14594
+ /**
14595
+ * Description added for the email address participant, added to the email-table's description field if present.
14596
+ */
14597
+ description?: string;
14598
+
14275
14599
  }
14276
14600
 
14277
14601
 
@@ -14965,6 +15289,8 @@ export interface Appointment_GetTaskListItemsRequest {
14965
15289
 
14966
15290
 
14967
15291
 
15292
+
15293
+
14968
15294
 
14969
15295
 
14970
15296
 
@@ -23239,10 +23565,15 @@ export interface TicketTypeEntity extends Carrier {
23239
23565
  replyTemplate?: number;
23240
23566
 
23241
23567
  /**
23242
- * Is this requesty type visible to external people and they can submit requests of this type
23568
+ * Is this request type visible to external people and they can submit requests of this type
23243
23569
  */
23244
23570
  isExternalVisible?: boolean;
23245
23571
 
23572
+ /**
23573
+ * Is this Ticket Type marked as default
23574
+ */
23575
+ isDefault?: boolean;
23576
+
23246
23577
  }
23247
23578
 
23248
23579
 
@@ -23259,6 +23590,22 @@ export interface List_GetAllTicketTypeEntitiesRequest {
23259
23590
 
23260
23591
  // response object: TicketTypeEntity[]
23261
23592
 
23593
+ /**
23594
+ * Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
23595
+ */
23596
+ export interface List_GlobalChangeTicketTypeRequest {
23597
+ /**
23598
+ * The id of the ticket type to change from
23599
+ */
23600
+ fromTicketTypeId: number;
23601
+ /**
23602
+ * The id of the ticket type to change to
23603
+ */
23604
+ toTicketTypeId: number;
23605
+ }
23606
+
23607
+ // Void response...
23608
+
23262
23609
 
23263
23610
  /**
23264
23611
  * Get all TicketTypes
@@ -25095,6 +25442,15 @@ export interface Configuration_GetSpfDomainRequest {
25095
25442
 
25096
25443
  // response object: string
25097
25444
 
25445
+ /**
25446
+ * Get all the feature toggles with their state (on/off)
25447
+ * Returns StringBoolDictionary
25448
+ */
25449
+ export interface Configuration_GetAllFeatureTogglesRequest {
25450
+ }
25451
+
25452
+ // response object: StringBoolDictionary
25453
+
25098
25454
 
25099
25455
  /**
25100
25456
  * Query object to use to fetch configruablescreendeltas matching this object
@@ -26024,6 +26380,15 @@ export interface Diagnostics_GetEntityCountsForCurrentUserRequest {
26024
26380
 
26025
26381
  // response object: EntityCounts[]
26026
26382
 
26383
+ /**
26384
+ * Get an array of entities and number of entities created for all associates.
26385
+ * Returns EntityCounts[]
26386
+ */
26387
+ export interface Diagnostics_GetEntityCountsForAllUsersRequest {
26388
+ }
26389
+
26390
+ // response object: EntityCounts[]
26391
+
26027
26392
 
26028
26393
  /**
26029
26394
  * Change NetServer logging settings
@@ -26274,6 +26639,7 @@ export interface Diagnostics_GetWebAppUsagesForPeriodRequest {
26274
26639
 
26275
26640
 
26276
26641
 
26642
+
26277
26643
  /**
26278
26644
  * This service provides tooltips. It is based on 'tooltip hints', strings that may eiehter be a tooltip text (if provided by someone else), or a set of key/value pairs or other specification.<para />The tooltip implementation is plugin based, and tooltip hints are passed to all registered plugin providers according to certain rules. It is therefore up to providers to parse and process tooltip hints as they see fit.
26279
26645
  */
@@ -34576,6 +34942,7 @@ export interface Archive_GetRelatedData2Request {
34576
34942
 
34577
34943
 
34578
34944
 
34945
+
34579
34946
 
34580
34947
 
34581
34948
  /**
@@ -37527,7 +37894,7 @@ export interface User extends Carrier {
37527
37894
 
37528
37895
 
37529
37896
 
37530
- /***
37897
+ /**
37531
37898
  * Get registered custom commands for a User entity.
37532
37899
  */
37533
37900
  export interface GetUserCommandsRequest {
@@ -40187,6 +40554,16 @@ export interface EventData extends Carrier {
40187
40554
  */
40188
40555
  parserValues?: StringDictionary;
40189
40556
 
40557
+ /**
40558
+ * Cgi variables sent by some events
40559
+ */
40560
+ cgiVariables?: StringDictionary;
40561
+
40562
+ /**
40563
+ * The Cgi content/body, sent by some events
40564
+ */
40565
+ cgiContent?: string;
40566
+
40190
40567
  }
40191
40568
 
40192
40569
 
@@ -44669,9 +45046,9 @@ export interface CRMScriptRunResult extends Carrier {
44669
45046
  parameters?: StringDictionary;
44670
45047
 
44671
45048
  /**
44672
- * Contains the trace information from the script execution, as a json
45049
+ * Contains the trace information from the script execution
44673
45050
  */
44674
- trace?: string;
45051
+ traceRun?: CRMScriptTraceRun;
44675
45052
 
44676
45053
  /**
44677
45054
  * The EventData instance after script execution with output values
@@ -44696,6 +45073,75 @@ export interface CRMScriptRunResult extends Carrier {
44696
45073
 
44697
45074
 
44698
45075
 
45076
+ /**
45077
+ * Object for returning Trace run result from a CRMScript
45078
+ */
45079
+ export interface CRMScriptTraceRun extends Carrier {
45080
+
45081
+
45082
+ /**
45083
+ * When the trace was started
45084
+ */
45085
+ startedAt?: Date;
45086
+
45087
+ /**
45088
+ * When the trace was ended
45089
+ */
45090
+ endedAt?: Date;
45091
+
45092
+ /**
45093
+ * Real seconds spent executing
45094
+ */
45095
+ executionTime?: number;
45096
+
45097
+ /**
45098
+ * CPU seconds spent executing
45099
+ */
45100
+ userExecutionTime?: number;
45101
+
45102
+ /**
45103
+ * The maximum amount of used memory during execution (in kB)
45104
+ */
45105
+ peakMemory?: number;
45106
+
45107
+ /**
45108
+ * The number of frames saved
45109
+ */
45110
+ numFrames?: number;
45111
+
45112
+ /**
45113
+ * The size of the trace file
45114
+ */
45115
+ fileSize?: number;
45116
+
45117
+ /**
45118
+ * Associate who the script was executed as
45119
+ */
45120
+ associateId?: number;
45121
+
45122
+ /**
45123
+ * The status of the script, or exception if it fails
45124
+ */
45125
+ status?: string;
45126
+
45127
+ /**
45128
+ * The frames of the the trace
45129
+ */
45130
+ frames?: string;
45131
+
45132
+ /**
45133
+ * This trace should be saved even if script_trace.exception_only is true.
45134
+ */
45135
+ forceSaveTrace?: boolean;
45136
+
45137
+ }
45138
+
45139
+
45140
+
45141
+
45142
+
45143
+
45144
+
44699
45145
  /**
44700
45146
  * CRM Trigger Script - The script runs when a given event fires.
44701
45147
  */
@@ -45636,6 +46082,11 @@ export interface TicketEntity extends Carrier {
45636
46082
  * Use MDO List name "TicketType" to get list items.
45637
46083
  */
45638
46084
  ticketType?: TicketTypeEntity;
46085
+
46086
+ /**
46087
+ * Active status monitor identity for related contact. This is a read-only property and is ignored on Save
46088
+ */
46089
+ activeStatusMonitorId?: number;
45639
46090
  /**
45640
46091
  * Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
45641
46092
  */
@@ -46010,6 +46461,23 @@ export interface Ticket_ClearNotifyRequest {
46010
46461
 
46011
46462
  // Void response...
46012
46463
 
46464
+ /**
46465
+ * Get ticket message entities with attachment info for given ticket
46466
+ * Returns TicketMessageEntity[]
46467
+ */
46468
+ export interface Ticket_GetTicketMessageEntitiesRequest {
46469
+ /**
46470
+ * The id of the ticket to get message entities from
46471
+ */
46472
+ ticketId: number;
46473
+ /**
46474
+ * Optional ids of message entities to get. If not provided, all ticket message entities will be returned.
46475
+ */
46476
+ messageIds: number[];
46477
+ }
46478
+
46479
+ // response object: TicketMessageEntity[]
46480
+
46013
46481
 
46014
46482
  /**
46015
46483
  * The TicketMessage carrier is used for representing a service ticket message
@@ -46120,6 +46588,30 @@ export interface TicketMessage extends Carrier {
46120
46588
 
46121
46589
 
46122
46590
 
46591
+ /**
46592
+ * Message content to fill a new message.
46593
+ */
46594
+ export interface TicketMessageContent {
46595
+
46596
+
46597
+ /**
46598
+ * Body (including default editor content, content from template, user signature, quoted message content) as sanitized HTML
46599
+ */
46600
+ body?: string;
46601
+
46602
+ /**
46603
+ * Message attachments information
46604
+ */
46605
+ attachmentsInfo?: AttachmentEntity[];
46606
+
46607
+ }
46608
+
46609
+
46610
+
46611
+
46612
+
46613
+
46614
+
46123
46615
  /**
46124
46616
  * The ticket messages are e-mails, SMS or other messages attached to a ticket (aka request).
46125
46617
  */
@@ -46521,7 +47013,7 @@ export interface Ticket_SaveTicketMessageEntityWithOptionsRequest {
46521
47013
  // response object: TicketMessageEntity
46522
47014
 
46523
47015
  /**
46524
- * Generate a default message body (possibly including user signature, quoted message content) as sanitized HTML
47016
+ * Obsolete, use GetDefaultMessageContentFull instead
46525
47017
  * Returns string
46526
47018
  */
46527
47019
  export interface Ticket_GetDefaultMessageContentRequest {
@@ -46541,6 +47033,31 @@ export interface Ticket_GetDefaultMessageContentRequest {
46541
47033
 
46542
47034
  // response object: string
46543
47035
 
47036
+ /**
47037
+ * Generate a default message content: attachments and body as sanitized HTML
47038
+ * Returns TicketMessageContent
47039
+ */
47040
+ export interface Ticket_GetDefaultMessageContentFullRequest {
47041
+ /**
47042
+ * The id of the ticket
47043
+ */
47044
+ ticketId: number;
47045
+ /**
47046
+ * Message action type: None/Reply/ReplyAll/Forward
47047
+ */
47048
+ messageActionType: enums.MessageActionType;
47049
+ /**
47050
+ * The id of the message to quote in the returned content. 0 to skip/ignore
47051
+ */
47052
+ ticketMessageId: number;
47053
+ /**
47054
+ * The id of the ticket type to look for reply template. 0 to use current ticket type
47055
+ */
47056
+ ticketTypeId: number;
47057
+ }
47058
+
47059
+ // response object: TicketMessageContent
47060
+
46544
47061
  /**
46545
47062
  * Get a ticket message entity with posibillity to change embedded images to be represented with inline data within the HTML body. If using inline data, be sure not to save this back to the database.
46546
47063
  * Returns TicketMessageEntity
@@ -46651,6 +47168,8 @@ export interface Ticket_GetTicketSummariesRequest {
46651
47168
 
46652
47169
 
46653
47170
 
47171
+
47172
+
46654
47173
  /**
46655
47174
  * The extra table entity contains meta data for an extra table (not implemented yet)
46656
47175
  */
@@ -48352,10 +48871,14 @@ export interface ChatbotTurn {
48352
48871
 
48353
48872
 
48354
48873
  /**
48355
- * Return a chatbot response given prompt and previous turns
48874
+ * Return a chatbot response given prompt and previous turns. Stores the new turn in the history for the chatId
48356
48875
  * Returns ChatbotTurn
48357
48876
  */
48358
48877
  export interface AI_GetChatbotResponseRequest {
48878
+ /**
48879
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
48880
+ */
48881
+ chatId: string;
48359
48882
  /**
48360
48883
  * ISO2 Language code ('en', 'no', 'de'...) for suggestions in response
48361
48884
  */
@@ -48365,13 +48888,17 @@ export interface AI_GetChatbotResponseRequest {
48365
48888
  */
48366
48889
  userPrompt: string;
48367
48890
  /**
48368
- * User question for display - optional
48891
+ * User question for display - optional - null = use userPrompt
48369
48892
  */
48370
48893
  displayValue: string;
48371
48894
  /**
48372
- * Chat history - previous turns in chronological order
48895
+ * Chat history - all previous turns in chronological order
48373
48896
  */
48374
48897
  previousTurns: ChatbotTurn[];
48898
+ /**
48899
+ * CRM API endpoint URL for chatbot to make callbacks to. 'https://example.com/superoffice/api/'
48900
+ */
48901
+ apiUrl: string;
48375
48902
  }
48376
48903
 
48377
48904
  // response object: ChatbotTurn
@@ -48390,20 +48917,37 @@ export interface AI_GetChatbotPromptSuggestionsRequest {
48390
48917
  */
48391
48918
  soProtocol: string;
48392
48919
  /**
48393
- * current company id - used for context
48920
+ * current company/person/project id - used for context in suggestions
48394
48921
  */
48395
- currentContactId: number;
48922
+ currentId: number;
48923
+ }
48924
+
48925
+ // response object: ChatbotTurn
48926
+
48927
+ /**
48928
+ * Returns stored history of chat messages for a given chat_id. Chat_id is usually derived from soproto + current id, but could also be arbitrary name.
48929
+ * Returns ChatbotTurn[]
48930
+ */
48931
+ export interface AI_GetChatbotTurnsRequest {
48396
48932
  /**
48397
- * current person id - used for context
48933
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
48398
48934
  */
48399
- currentPersonId: number;
48935
+ chatId: string;
48936
+ }
48937
+
48938
+ // response object: ChatbotTurn[]
48939
+
48940
+ /**
48941
+ * Clears the stored history of chat messages for a given chat_id. Chat_id is usually derived from soproto + current id, but could also be arbitrary name
48942
+ */
48943
+ export interface AI_ClearChatbotTurnsRequest {
48400
48944
  /**
48401
- * current project id - used for context
48945
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
48402
48946
  */
48403
- currentProjectId: number;
48947
+ chatId: string;
48404
48948
  }
48405
48949
 
48406
- // response object: ChatbotTurn
48950
+ // Void response...
48407
48951
 
48408
48952
 
48409
48953
  /**
@@ -48647,6 +49191,7 @@ export interface AI_GetSummarizeSalePromptRequest {
48647
49191
 
48648
49192
 
48649
49193
 
49194
+
48650
49195
  /**
48651
49196
  * Class used to map relationship between AssociateId and the user's email.
48652
49197
  */
@@ -49099,6 +49644,26 @@ export interface EmailFlow extends Carrier {
49099
49644
  */
49100
49645
  blockLists?: number[];
49101
49646
 
49647
+ /**
49648
+ * The associate that first created the flow. The property is read-only.
49649
+ */
49650
+ createdBy?: Associate;
49651
+
49652
+ /**
49653
+ * The person that last updated the flow.
49654
+ */
49655
+ updatedBy?: Associate;
49656
+
49657
+ /**
49658
+ * Registered date
49659
+ */
49660
+ createdDate?: Date;
49661
+
49662
+ /**
49663
+ * Updated date
49664
+ */
49665
+ updatedDate?: Date;
49666
+
49102
49667
  /**
49103
49668
  * The set of users or groups the record is visible for
49104
49669
  */
@@ -49196,6 +49761,30 @@ export interface Workflow_CopyEmailFlowContentRequest {
49196
49761
  // response object: number
49197
49762
 
49198
49763
 
49764
+ /**
49765
+ * FieldValue carrier
49766
+ */
49767
+ export interface FieldValue extends Carrier {
49768
+
49769
+
49770
+ /**
49771
+ * Field key
49772
+ */
49773
+ key?: string;
49774
+
49775
+ /**
49776
+ * Values to change
49777
+ */
49778
+ values?: string[];
49779
+
49780
+ }
49781
+
49782
+
49783
+
49784
+
49785
+
49786
+
49787
+
49199
49788
  /**
49200
49789
  * Workflow event carrier
49201
49790
  */
@@ -49426,6 +50015,66 @@ export interface WorkflowStepAddToList extends WorkflowStepBase {
49426
50015
  export interface WorkflowStepCreateFollowUp extends WorkflowStepBase {
49427
50016
 
49428
50017
 
50018
+ /**
50019
+ * Follow-up title
50020
+ */
50021
+ title?: string;
50022
+
50023
+ /**
50024
+ * Follow-up type
50025
+ */
50026
+ followUpType?: number;
50027
+
50028
+ /**
50029
+ * Related project
50030
+ */
50031
+ project?: number;
50032
+
50033
+ /**
50034
+ * Follow-up status
50035
+ */
50036
+ completed?: boolean;
50037
+
50038
+ /**
50039
+ * Workflow action type
50040
+ */
50041
+ actionType?: enums.WorkflowActionType;
50042
+
50043
+ /**
50044
+ * Workflow action time to wait
50045
+ */
50046
+ actionTime?: number;
50047
+
50048
+ /**
50049
+ * Worflow action time unit
50050
+ */
50051
+ actionTimeUnit?: enums.WorkflowTimeWaitIntervalType;
50052
+
50053
+ /**
50054
+ * Duration in seconds
50055
+ */
50056
+ duration?: number;
50057
+
50058
+ /**
50059
+ * Availability, Free or Busy
50060
+ */
50061
+ availability?: enums.FreeBusy;
50062
+
50063
+ /**
50064
+ * Follow-up assignee type
50065
+ */
50066
+ ownerType?: enums.WorkflowOwnerType;
50067
+
50068
+ /**
50069
+ * Agenda
50070
+ */
50071
+ agenda?: string;
50072
+
50073
+ /**
50074
+ * Follow-up owner
50075
+ */
50076
+ owner?: number;
50077
+
49429
50078
  }
49430
50079
 
49431
50080
 
@@ -49441,39 +50090,39 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
49441
50090
 
49442
50091
 
49443
50092
  /**
49444
- * Title of request
50093
+ * Request title
49445
50094
  */
49446
50095
  title?: string;
49447
50096
 
49448
50097
  /**
49449
- * Category
50098
+ * Request type
49450
50099
  */
49451
- category?: number;
50100
+ requestType?: number;
49452
50101
 
49453
50102
  /**
49454
- * Priority
50103
+ * Request category
49455
50104
  */
49456
- priority?: number;
50105
+ category?: number;
49457
50106
 
49458
50107
  /**
49459
- * Owner
50108
+ * Request priority
49460
50109
  */
49461
- owner?: number;
50110
+ priority?: number;
49462
50111
 
49463
50112
  /**
49464
- * Message body
50113
+ * Request status
49465
50114
  */
49466
- message?: string;
50115
+ status?: number;
49467
50116
 
49468
50117
  /**
49469
- * Request type
50118
+ * Message
49470
50119
  */
49471
- requestType?: number;
50120
+ message?: string;
49472
50121
 
49473
50122
  /**
49474
- * Status, including self added statuses
50123
+ * Request owner
49475
50124
  */
49476
- status?: number;
50125
+ owner?: number;
49477
50126
 
49478
50127
  }
49479
50128
 
@@ -49489,6 +50138,66 @@ export interface WorkflowStepCreateRequest extends WorkflowStepBase {
49489
50138
  export interface WorkflowStepCreateSale extends WorkflowStepBase {
49490
50139
 
49491
50140
 
50141
+ /**
50142
+ * Sale title
50143
+ */
50144
+ title?: string;
50145
+
50146
+ /**
50147
+ * Sale type
50148
+ */
50149
+ saleType?: number;
50150
+
50151
+ /**
50152
+ * Sale stage
50153
+ */
50154
+ stage?: number;
50155
+
50156
+ /**
50157
+ * Sale amount
50158
+ */
50159
+ amount?: number;
50160
+
50161
+ /**
50162
+ * Sale currency
50163
+ */
50164
+ currency?: number;
50165
+
50166
+ /**
50167
+ * Sale description
50168
+ */
50169
+ description?: string;
50170
+
50171
+ /**
50172
+ * Related project
50173
+ */
50174
+ project?: number;
50175
+
50176
+ /**
50177
+ * Workflow action type
50178
+ */
50179
+ actionType?: enums.WorkflowActionType;
50180
+
50181
+ /**
50182
+ * Workflow action time to wait
50183
+ */
50184
+ actionTime?: number;
50185
+
50186
+ /**
50187
+ * Worflow action time unit
50188
+ */
50189
+ actionTimeUnit?: enums.WorkflowTimeWaitIntervalType;
50190
+
50191
+ /**
50192
+ * Sale date
50193
+ */
50194
+ date?: Date;
50195
+
50196
+ /**
50197
+ * Sale owner
50198
+ */
50199
+ owner?: number;
50200
+
49492
50201
  }
49493
50202
 
49494
50203
 
@@ -49526,11 +50235,16 @@ export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
49526
50235
 
49527
50236
 
49528
50237
  /**
49529
- * Workflow step option
50238
+ * Workflow step split option carrier base carrier class.
49530
50239
  */
49531
- export interface WorkflowStepOption extends Carrier {
50240
+ export interface WorkflowStepOptionBase {
49532
50241
 
49533
50242
 
50243
+ /**
50244
+ * Type of option
50245
+ */
50246
+ optionType?: enums.WorkflowSplitOptionType;
50247
+
49534
50248
  /**
49535
50249
  * Primary key
49536
50250
  */
@@ -49546,11 +50260,6 @@ export interface WorkflowStepOption extends Carrier {
49546
50260
  */
49547
50261
  workflowId?: number;
49548
50262
 
49549
- /**
49550
- * A key used to refer to this option
49551
- */
49552
- key?: string;
49553
-
49554
50263
  /**
49555
50264
  * The name of this option
49556
50265
  */
@@ -49573,6 +50282,127 @@ export interface WorkflowStepOption extends Carrier {
49573
50282
 
49574
50283
 
49575
50284
 
50285
+ /**
50286
+ * Creates a new carrier from the option type given, with the right kind of properties, defaults set.
50287
+ * Returns WorkflowStepOptionBase
50288
+ */
50289
+ export interface Workflow_CreateDefaultWorkflowStepOptionFromTypeRequest {
50290
+ /**
50291
+ * Option type to create
50292
+ */
50293
+ optionType: enums.WorkflowSplitOptionType;
50294
+ }
50295
+
50296
+ // response object: WorkflowStepOptionBase
50297
+
50298
+ /**
50299
+ * Get WorkflowStepOption by ID
50300
+ * Returns WorkflowStepOptionBase
50301
+ */
50302
+ export interface Workflow_GetWorkflowStepOptionRequest {
50303
+ /**
50304
+ * Primary key of WorkflowStep option
50305
+ */
50306
+ workflowStepOptionId: number;
50307
+ }
50308
+
50309
+ // response object: WorkflowStepOptionBase
50310
+
50311
+
50312
+ /**
50313
+ * Option that splits on matching person criteria
50314
+ */
50315
+ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
50316
+
50317
+
50318
+ /**
50319
+ * The id of the form submitted
50320
+ */
50321
+ formId?: number;
50322
+
50323
+ }
50324
+
50325
+
50326
+
50327
+
50328
+
50329
+
50330
+
50331
+ /**
50332
+ * Option that splits on matching person criteria
50333
+ */
50334
+ export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
50335
+
50336
+
50337
+ /**
50338
+ * The id of the clicked link in the s_link table
50339
+ */
50340
+ linkId?: number;
50341
+
50342
+ }
50343
+
50344
+
50345
+
50346
+
50347
+
50348
+
50349
+
50350
+ /**
50351
+ * Option that splits on matching person criteria
50352
+ */
50353
+ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
50354
+
50355
+
50356
+ /**
50357
+ * The restrictions (can be multiple groups) that determines if this option is activated
50358
+ */
50359
+ restrictionGroups?: ArchiveRestrictionGroup[];
50360
+
50361
+ }
50362
+
50363
+
50364
+
50365
+
50366
+
50367
+
50368
+
50369
+ /**
50370
+ * Option that splits on matching person criteria
50371
+ */
50372
+ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
50373
+
50374
+
50375
+ /**
50376
+ * The id of the project
50377
+ */
50378
+ projectId?: number;
50379
+
50380
+ }
50381
+
50382
+
50383
+
50384
+
50385
+
50386
+
50387
+
50388
+ /**
50389
+ * Option that splits on matching person criteria
50390
+ */
50391
+ export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
50392
+
50393
+
50394
+ /**
50395
+ * The id of the selection
50396
+ */
50397
+ selectionId?: number;
50398
+
50399
+ }
50400
+
50401
+
50402
+
50403
+
50404
+
50405
+
49576
50406
 
49577
50407
  /**
49578
50408
  * Step in workflow.
@@ -49647,6 +50477,21 @@ export interface WorkflowStepSendEmail extends WorkflowStepBase {
49647
50477
  export interface WorkflowStepSendSMS extends WorkflowStepBase {
49648
50478
 
49649
50479
 
50480
+ /**
50481
+ * SMS Sender
50482
+ */
50483
+ from?: string;
50484
+
50485
+ /**
50486
+ * SMS text message
50487
+ */
50488
+ text?: string;
50489
+
50490
+ /**
50491
+ * Exit flow if no mobile phone registered
50492
+ */
50493
+ exit?: boolean;
50494
+
49650
50495
  }
49651
50496
 
49652
50497
 
@@ -49661,10 +50506,30 @@ export interface WorkflowStepSendSMS extends WorkflowStepBase {
49661
50506
  export interface WorkflowStepSplit extends WorkflowStepBase {
49662
50507
 
49663
50508
 
50509
+ /**
50510
+ * The name of the split step
50511
+ */
50512
+ splitName?: string;
50513
+
50514
+ /**
50515
+ * What type of data to split on. Contact, Link clicked, etc
50516
+ */
50517
+ splitOptionType?: enums.WorkflowSplitOptionType;
50518
+
50519
+ /**
50520
+ * When splitting on link clicked, which shipmentId is the link in?
50521
+ */
50522
+ shipmentId?: number;
50523
+
49664
50524
  /**
49665
50525
  * What options are given by the split
49666
50526
  */
49667
- options?: WorkflowStepOption[];
50527
+ options?: WorkflowStepOptionBase[];
50528
+
50529
+ /**
50530
+ * If set to true, particants descending the Everyone else branch will exit the flow on this step
50531
+ */
50532
+ exitFlow?: boolean;
49668
50533
 
49669
50534
  }
49670
50535
 
@@ -49677,9 +50542,14 @@ export interface WorkflowStepSplit extends WorkflowStepBase {
49677
50542
  /**
49678
50543
  * Step in workflow.
49679
50544
  */
49680
- export interface WorkflowStepUpdateContact extends WorkflowStepBase {
50545
+ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
49681
50546
 
49682
50547
 
50548
+ /**
50549
+ * Fields and values to change
50550
+ */
50551
+ fieldValues?: FieldValue[];
50552
+
49683
50553
  }
49684
50554
 
49685
50555
 
@@ -49775,6 +50645,7 @@ export interface WorkflowTrigger extends Carrier {
49775
50645
 
49776
50646
 
49777
50647
 
50648
+
49778
50649
  // Misc
49779
50650
 
49780
50651
  export interface DSAParameters {