@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
@@ -952,6 +952,12 @@ export interface SoSystemInfoCarrier extends Carrier {
952
952
  */
953
953
  isSatellite?: boolean;
954
954
  }
955
+ /**
956
+ * Serializable dictionary.
957
+ */
958
+ export interface StringBoolDictionary {
959
+ [index: string]: boolean;
960
+ }
955
961
  /**
956
962
  * Serializable dictionary.
957
963
  */
@@ -5117,6 +5123,16 @@ export interface Contact_GetNameDepartmentDuplicatesRequest {
5117
5123
  */
5118
5124
  department: string;
5119
5125
  }
5126
+ /**
5127
+ * Get duplicates based on the domain
5128
+ * Returns DuplicateEntry[]
5129
+ */
5130
+ export interface Contact_GetDomainDuplicatesRequest {
5131
+ /**
5132
+ * Domain used for lookup
5133
+ */
5134
+ domain: string;
5135
+ }
5120
5136
  /**
5121
5137
  * Checks if the number is unique or required. The setting is configured from admin under system options.
5122
5138
  * Returns boolean
@@ -6371,6 +6387,39 @@ export interface Person_SendEmailRequest {
6371
6387
  */
6372
6388
  attachmentIds: number[];
6373
6389
  }
6390
+ /**
6391
+ * Inserts into outbox an email with specified details and event name.
6392
+ */
6393
+ export interface Person_SendEmailWithEventNameRequest {
6394
+ /**
6395
+ * Sender's email address.
6396
+ */
6397
+ from: string;
6398
+ /**
6399
+ * Recipient's email address.
6400
+ */
6401
+ to: string;
6402
+ /**
6403
+ * Email's subject.
6404
+ */
6405
+ subject: string;
6406
+ /**
6407
+ * Email's plain body.
6408
+ */
6409
+ plainBody: string;
6410
+ /**
6411
+ * Email's html body.
6412
+ */
6413
+ htmlBody: string;
6414
+ /**
6415
+ * Ids of email's attachments.
6416
+ */
6417
+ attachmentIds: number[];
6418
+ /**
6419
+ * Event name passed to outbound email trigger
6420
+ */
6421
+ eventName: string;
6422
+ }
6374
6423
  /**
6375
6424
  * Scaled person image
6376
6425
  */
@@ -8855,6 +8904,10 @@ export interface Appointment extends Carrier {
8855
8904
  * Blank when not a video meeting. Filled with Join Meeting URL when created.
8856
8905
  */
8857
8906
  joinVideomeetUrl?: string;
8907
+ /**
8908
+ * Preferred timezone location to use when displaying/editing this appointment
8909
+ */
8910
+ preferredTZLocation?: number;
8858
8911
  /**
8859
8912
  * The title of the appointment.
8860
8913
  */
@@ -8955,6 +9008,18 @@ export interface AppointmentEntity extends Carrier {
8955
9008
  * Description of the appointment.
8956
9009
  */
8957
9010
  description?: string;
9011
+ /**
9012
+ * The title of the appointment.
9013
+ */
9014
+ title?: string;
9015
+ /**
9016
+ * The agenda of the appointment.
9017
+ */
9018
+ agenda?: string;
9019
+ /**
9020
+ * Internal notes for the appointment.
9021
+ */
9022
+ internalNotes?: string;
8958
9023
  /**
8959
9024
  * date + start time planned
8960
9025
  */
@@ -9093,9 +9158,13 @@ export interface AppointmentEntity extends Carrier {
9093
9158
  */
9094
9159
  task?: TaskListItem;
9095
9160
  /**
9096
- * Appoinmtments preferred timezone location.
9161
+ * Appointments preferred timezone location.
9097
9162
  */
9098
9163
  preferredTZLocation?: number;
9164
+ /**
9165
+ * Read-only timezone data for PreferredTZLocation.
9166
+ */
9167
+ preferredTZLocationData?: TimeZoneData;
9099
9168
  /**
9100
9169
  * 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.
9101
9170
  * Use MDO List name "sale" to get list items.
@@ -9121,18 +9190,6 @@ export interface AppointmentEntity extends Carrier {
9121
9190
  * GUID for video meeting in central services – this is set when we create meetings from SuperOffice. It is blank for incoming meetings created from inbox.
9122
9191
  */
9123
9192
  centralserviceVideomeetId?: string;
9124
- /**
9125
- * The title of the appointment.
9126
- */
9127
- title?: string;
9128
- /**
9129
- * The agenda of the appointment.
9130
- */
9131
- agenda?: string;
9132
- /**
9133
- * Internal notes for the appointment.
9134
- */
9135
- internalNotes?: string;
9136
9193
  /**
9137
9194
  * Dictionary of user defined field data.
9138
9195
  * 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"
@@ -9726,6 +9783,115 @@ export interface Appointment_RejectWithSmtpEmailConfirmationRequest {
9726
9783
  */
9727
9784
  smtpEMailConnectionInfo: EMailConnectionInfo;
9728
9785
  }
9786
+ /**
9787
+ * Create an EMailEntity (without an ical attachment) with the email sent to participants when the appointment is saved
9788
+ * Returns EMailEntity
9789
+ */
9790
+ export interface Appointment_GetAppointmentEmailInvitationRequest {
9791
+ /**
9792
+ * The appointment carrier with changes made.
9793
+ */
9794
+ appointment: AppointmentEntity;
9795
+ /**
9796
+ * Filename of invitation template
9797
+ */
9798
+ templateName: string;
9799
+ /**
9800
+ * The desired SO-language for the template
9801
+ */
9802
+ language: string;
9803
+ }
9804
+ /**
9805
+ * Save a booking and send a custom invitation email to participants
9806
+ * Returns AppointmentSaveData
9807
+ */
9808
+ export interface Appointment_SaveWithCustomInvitationRequest {
9809
+ /**
9810
+ *
9811
+ */
9812
+ appointmentEntity: AppointmentEntity;
9813
+ /**
9814
+ * Update mode for a recurring appointment.
9815
+ */
9816
+ updateMode: enums.RecurrenceUpdateMode;
9817
+ /**
9818
+ * 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.
9819
+ */
9820
+ sendEmailToParticipants: boolean;
9821
+ /**
9822
+ * Login information for outgoing smtp email server. Will be null if no login information is relevant.
9823
+ */
9824
+ smtpEMailConnectionInfo: EMailConnectionInfo;
9825
+ /**
9826
+ * Login information for imap server. Will be null if no login information is relevant.
9827
+ */
9828
+ imapEMailConnectionInfo: EMailConnectionInfo;
9829
+ /**
9830
+ * The email-body to be used for new invitations
9831
+ */
9832
+ emailBody: string;
9833
+ /**
9834
+ * The email-subject to be used for new invitations
9835
+ */
9836
+ subject: string;
9837
+ /**
9838
+ * The template language to use for invitation updates
9839
+ */
9840
+ templateLanguage: string;
9841
+ }
9842
+ /**
9843
+ * Info about an appointment
9844
+ */
9845
+ export interface AppointmentInfo extends Carrier {
9846
+ /**
9847
+ * The id of the appointment
9848
+ */
9849
+ appointmentId?: number;
9850
+ /**
9851
+ * The id of the associate this appointment belongs to
9852
+ */
9853
+ associateId?: number;
9854
+ /**
9855
+ * The id of the mother appointment (participants point to this one)
9856
+ */
9857
+ motherId?: number;
9858
+ /**
9859
+ * The start of the appointment
9860
+ */
9861
+ startDate?: Date;
9862
+ /**
9863
+ * The end of the appointment
9864
+ */
9865
+ endDate?: Date;
9866
+ /**
9867
+ * The color index of the appointment (task)
9868
+ */
9869
+ colorIndex?: enums.ColorIndex;
9870
+ /**
9871
+ * The appointment title (first line of appointment description)
9872
+ */
9873
+ title?: string;
9874
+ /**
9875
+ * The appointment agenda (the rest of appointment description)
9876
+ */
9877
+ agenda?: string;
9878
+ /**
9879
+ * True if the appointment is an all day appointment
9880
+ */
9881
+ isAllDay?: boolean;
9882
+ /**
9883
+ * True if the participant is marked as busy
9884
+ */
9885
+ isBusy?: boolean;
9886
+ /**
9887
+ * True if the appointment is part of a recurring series
9888
+ */
9889
+ isRecurring?: boolean;
9890
+ /**
9891
+ * True if the appointment has a video link
9892
+ */
9893
+ isVideoMeeting?: boolean;
9894
+ }
9729
9895
  /**
9730
9896
  * Method that returns a specified number of appointments within a time range. The appointments belong to the currently logged on user.
9731
9897
  * Returns Appointment[]
@@ -10457,7 +10623,7 @@ export interface Appointment_UpdateAppointmentRequest {
10457
10623
  associateId: number;
10458
10624
  }
10459
10625
  /**
10460
- *
10626
+ * Fetch appointments for given associates
10461
10627
  * Returns Appointment[]
10462
10628
  */
10463
10629
  export interface Appointment_GetAssociatesDiaryRequest {
@@ -10474,6 +10640,24 @@ export interface Appointment_GetAssociatesDiaryRequest {
10474
10640
  */
10475
10641
  endTime: Date;
10476
10642
  }
10643
+ /**
10644
+ * Fetch appointment info for given associates
10645
+ * Returns AppointmentInfo[]
10646
+ */
10647
+ export interface Appointment_GetAssociatesDiaryInfoRequest {
10648
+ /**
10649
+ *
10650
+ */
10651
+ associateIds: number[];
10652
+ /**
10653
+ *
10654
+ */
10655
+ startTime: Date;
10656
+ /**
10657
+ *
10658
+ */
10659
+ endTime: Date;
10660
+ }
10477
10661
  /**
10478
10662
  * 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.
10479
10663
  * Returns Appointment[]
@@ -10488,6 +10672,19 @@ export interface Appointment_GetAppointmentRecordsRequest {
10488
10672
  */
10489
10673
  recurrenceRuleId: number;
10490
10674
  }
10675
+ /**
10676
+ * This class contains the updated appointment entity and a flag for if any emails were queued when saving
10677
+ */
10678
+ export interface AppointmentSaveData extends Carrier {
10679
+ /**
10680
+ * Updated AppointmentEntity
10681
+ */
10682
+ appointmentEntity?: AppointmentEntity;
10683
+ /**
10684
+ * Flag for if an email was created for webtools, or if an email is queued on an smtp server
10685
+ */
10686
+ emailCreated?: boolean;
10687
+ }
10491
10688
  /**
10492
10689
  *
10493
10690
  */
@@ -10717,6 +10914,53 @@ export interface Appointment_GetAlarmsRequest {
10717
10914
  */
10718
10915
  defaultAlarmLeadTimeInMinutes: number;
10719
10916
  }
10917
+ /**
10918
+ * The soonest-available working time slot
10919
+ */
10920
+ export interface NextAvailableTime extends Carrier {
10921
+ /**
10922
+ * The available start date time.
10923
+ */
10924
+ availableTimeStart?: Date;
10925
+ /**
10926
+ * The available end date time.
10927
+ */
10928
+ availableTimeEnd?: Date;
10929
+ /**
10930
+ * The recommended start date time.
10931
+ */
10932
+ recommendedTimeStart?: Date;
10933
+ /**
10934
+ * The recomended end date time.
10935
+ */
10936
+ recommendedTimeEnd?: Date;
10937
+ }
10938
+ /**
10939
+ * An array of the soonest-available working time slots.
10940
+ * Returns NextAvailableTime[]
10941
+ */
10942
+ export interface Appointment_GetNextAvailableTimeRequest {
10943
+ /**
10944
+ * Associate participants we want to account for while finding the next available times.
10945
+ */
10946
+ associates: number[];
10947
+ /**
10948
+ * The start of the time interval we want appointments from.
10949
+ */
10950
+ startTime: Date;
10951
+ /**
10952
+ * The end of the time interval.
10953
+ */
10954
+ endTime: Date;
10955
+ /**
10956
+ * How many next-available date time slots should be returned.
10957
+ */
10958
+ count: number;
10959
+ /**
10960
+ * Is the appointment an all day event.
10961
+ */
10962
+ isAllDay: boolean;
10963
+ }
10720
10964
  /**
10721
10965
  * Class representing an appointment participant.
10722
10966
  */
@@ -10745,6 +10989,14 @@ export interface ParticipantInfo {
10745
10989
  * The participant status for the appointment
10746
10990
  */
10747
10991
  invitationStatus?: enums.InvitationStatus;
10992
+ /**
10993
+ * The email address to be used as a participant if neither person id nor associate id has been set.
10994
+ */
10995
+ emailAddress?: string;
10996
+ /**
10997
+ * Description added for the email address participant, added to the email-table's description field if present.
10998
+ */
10999
+ description?: string;
10748
11000
  }
10749
11001
  /**
10750
11002
  *
@@ -17444,9 +17696,13 @@ export interface TicketTypeEntity extends Carrier {
17444
17696
  */
17445
17697
  replyTemplate?: number;
17446
17698
  /**
17447
- * Is this requesty type visible to external people and they can submit requests of this type
17699
+ * Is this request type visible to external people and they can submit requests of this type
17448
17700
  */
17449
17701
  isExternalVisible?: boolean;
17702
+ /**
17703
+ * Is this Ticket Type marked as default
17704
+ */
17705
+ isDefault?: boolean;
17450
17706
  }
17451
17707
  /**
17452
17708
  * Get all TicketTypeEntities
@@ -17454,6 +17710,19 @@ export interface TicketTypeEntity extends Carrier {
17454
17710
  */
17455
17711
  export interface List_GetAllTicketTypeEntitiesRequest {
17456
17712
  }
17713
+ /**
17714
+ * Change all references from one ticket type to another. Typically used in conjuction with ticket type delete
17715
+ */
17716
+ export interface List_GlobalChangeTicketTypeRequest {
17717
+ /**
17718
+ * The id of the ticket type to change from
17719
+ */
17720
+ fromTicketTypeId: number;
17721
+ /**
17722
+ * The id of the ticket type to change to
17723
+ */
17724
+ toTicketTypeId: number;
17725
+ }
17457
17726
  /**
17458
17727
  * Get all TicketTypes
17459
17728
  * Returns TicketType[]
@@ -18788,6 +19057,12 @@ export interface Configuration_GetCustomerUrlRequest {
18788
19057
  */
18789
19058
  export interface Configuration_GetSpfDomainRequest {
18790
19059
  }
19060
+ /**
19061
+ * Get all the feature toggles with their state (on/off)
19062
+ * Returns StringBoolDictionary
19063
+ */
19064
+ export interface Configuration_GetAllFeatureTogglesRequest {
19065
+ }
18791
19066
  /**
18792
19067
  * Query object to use to fetch configruablescreendeltas matching this object
18793
19068
  */
@@ -19431,6 +19706,12 @@ export interface EntityCounts extends Carrier {
19431
19706
  */
19432
19707
  export interface Diagnostics_GetEntityCountsForCurrentUserRequest {
19433
19708
  }
19709
+ /**
19710
+ * Get an array of entities and number of entities created for all associates.
19711
+ * Returns EntityCounts[]
19712
+ */
19713
+ export interface Diagnostics_GetEntityCountsForAllUsersRequest {
19714
+ }
19434
19715
  /**
19435
19716
  * Change NetServer logging settings
19436
19717
  */
@@ -28032,7 +28313,7 @@ export interface User extends Carrier {
28032
28313
  */
28033
28314
  postSaveCommands?: CustomCommand[];
28034
28315
  }
28035
- /***
28316
+ /**
28036
28317
  * Get registered custom commands for a User entity.
28037
28318
  */
28038
28319
  export interface GetUserCommandsRequest {
@@ -29979,6 +30260,14 @@ export interface EventData extends Carrier {
29979
30260
  * Parser values sent to the event handler
29980
30261
  */
29981
30262
  parserValues?: StringDictionary;
30263
+ /**
30264
+ * Cgi variables sent by some events
30265
+ */
30266
+ cgiVariables?: StringDictionary;
30267
+ /**
30268
+ * The Cgi content/body, sent by some events
30269
+ */
30270
+ cgiContent?: string;
29982
30271
  }
29983
30272
  /**
29984
30273
  * This method will execute event handlers in CRMScript for a given event.
@@ -33204,9 +33493,9 @@ export interface CRMScriptRunResult extends Carrier {
33204
33493
  */
33205
33494
  parameters?: StringDictionary;
33206
33495
  /**
33207
- * Contains the trace information from the script execution, as a json
33496
+ * Contains the trace information from the script execution
33208
33497
  */
33209
- trace?: string;
33498
+ traceRun?: CRMScriptTraceRun;
33210
33499
  /**
33211
33500
  * The EventData instance after script execution with output values
33212
33501
  */
@@ -33220,6 +33509,55 @@ export interface CRMScriptRunResult extends Carrier {
33220
33509
  */
33221
33510
  errorInformation?: CRMScriptErrorInfo;
33222
33511
  }
33512
+ /**
33513
+ * Object for returning Trace run result from a CRMScript
33514
+ */
33515
+ export interface CRMScriptTraceRun extends Carrier {
33516
+ /**
33517
+ * When the trace was started
33518
+ */
33519
+ startedAt?: Date;
33520
+ /**
33521
+ * When the trace was ended
33522
+ */
33523
+ endedAt?: Date;
33524
+ /**
33525
+ * Real seconds spent executing
33526
+ */
33527
+ executionTime?: number;
33528
+ /**
33529
+ * CPU seconds spent executing
33530
+ */
33531
+ userExecutionTime?: number;
33532
+ /**
33533
+ * The maximum amount of used memory during execution (in kB)
33534
+ */
33535
+ peakMemory?: number;
33536
+ /**
33537
+ * The number of frames saved
33538
+ */
33539
+ numFrames?: number;
33540
+ /**
33541
+ * The size of the trace file
33542
+ */
33543
+ fileSize?: number;
33544
+ /**
33545
+ * Associate who the script was executed as
33546
+ */
33547
+ associateId?: number;
33548
+ /**
33549
+ * The status of the script, or exception if it fails
33550
+ */
33551
+ status?: string;
33552
+ /**
33553
+ * The frames of the the trace
33554
+ */
33555
+ frames?: string;
33556
+ /**
33557
+ * This trace should be saved even if script_trace.exception_only is true.
33558
+ */
33559
+ forceSaveTrace?: boolean;
33560
+ }
33223
33561
  /**
33224
33562
  * CRM Trigger Script - The script runs when a given event fires.
33225
33563
  */
@@ -33941,6 +34279,10 @@ export interface TicketEntity extends Carrier {
33941
34279
  * Use MDO List name "TicketType" to get list items.
33942
34280
  */
33943
34281
  ticketType?: TicketTypeEntity;
34282
+ /**
34283
+ * Active status monitor identity for related contact. This is a read-only property and is ignored on Save
34284
+ */
34285
+ activeStatusMonitorId?: number;
33944
34286
  /**
33945
34287
  * Extra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc.
33946
34288
  */
@@ -34241,6 +34583,20 @@ export interface Ticket_ClearNotifyRequest {
34241
34583
  */
34242
34584
  ids: number[];
34243
34585
  }
34586
+ /**
34587
+ * Get ticket message entities with attachment info for given ticket
34588
+ * Returns TicketMessageEntity[]
34589
+ */
34590
+ export interface Ticket_GetTicketMessageEntitiesRequest {
34591
+ /**
34592
+ * The id of the ticket to get message entities from
34593
+ */
34594
+ ticketId: number;
34595
+ /**
34596
+ * Optional ids of message entities to get. If not provided, all ticket message entities will be returned.
34597
+ */
34598
+ messageIds: number[];
34599
+ }
34244
34600
  /**
34245
34601
  * The TicketMessage carrier is used for representing a service ticket message
34246
34602
  */
@@ -34322,6 +34678,19 @@ export interface TicketMessage extends Carrier {
34322
34678
  */
34323
34679
  badge?: enums.BadgeType;
34324
34680
  }
34681
+ /**
34682
+ * Message content to fill a new message.
34683
+ */
34684
+ export interface TicketMessageContent {
34685
+ /**
34686
+ * Body (including default editor content, content from template, user signature, quoted message content) as sanitized HTML
34687
+ */
34688
+ body?: string;
34689
+ /**
34690
+ * Message attachments information
34691
+ */
34692
+ attachmentsInfo?: AttachmentEntity[];
34693
+ }
34325
34694
  /**
34326
34695
  * The ticket messages are e-mails, SMS or other messages attached to a ticket (aka request).
34327
34696
  */
@@ -34645,7 +35014,7 @@ export interface Ticket_SaveTicketMessageEntityWithOptionsRequest {
34645
35014
  updateRepliedAt: boolean;
34646
35015
  }
34647
35016
  /**
34648
- * Generate a default message body (possibly including user signature, quoted message content) as sanitized HTML
35017
+ * Obsolete, use GetDefaultMessageContentFull instead
34649
35018
  * Returns string
34650
35019
  */
34651
35020
  export interface Ticket_GetDefaultMessageContentRequest {
@@ -34662,6 +35031,28 @@ export interface Ticket_GetDefaultMessageContentRequest {
34662
35031
  */
34663
35032
  ticketMessageId: number;
34664
35033
  }
35034
+ /**
35035
+ * Generate a default message content: attachments and body as sanitized HTML
35036
+ * Returns TicketMessageContent
35037
+ */
35038
+ export interface Ticket_GetDefaultMessageContentFullRequest {
35039
+ /**
35040
+ * The id of the ticket
35041
+ */
35042
+ ticketId: number;
35043
+ /**
35044
+ * Message action type: None/Reply/ReplyAll/Forward
35045
+ */
35046
+ messageActionType: enums.MessageActionType;
35047
+ /**
35048
+ * The id of the message to quote in the returned content. 0 to skip/ignore
35049
+ */
35050
+ ticketMessageId: number;
35051
+ /**
35052
+ * The id of the ticket type to look for reply template. 0 to use current ticket type
35053
+ */
35054
+ ticketTypeId: number;
35055
+ }
34665
35056
  /**
34666
35057
  * 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.
34667
35058
  * Returns TicketMessageEntity
@@ -35988,10 +36379,14 @@ export interface ChatbotTurn {
35988
36379
  attachments?: string[];
35989
36380
  }
35990
36381
  /**
35991
- * Return a chatbot response given prompt and previous turns
36382
+ * Return a chatbot response given prompt and previous turns. Stores the new turn in the history for the chatId
35992
36383
  * Returns ChatbotTurn
35993
36384
  */
35994
36385
  export interface AI_GetChatbotResponseRequest {
36386
+ /**
36387
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
36388
+ */
36389
+ chatId: string;
35995
36390
  /**
35996
36391
  * ISO2 Language code ('en', 'no', 'de'...) for suggestions in response
35997
36392
  */
@@ -36001,13 +36396,17 @@ export interface AI_GetChatbotResponseRequest {
36001
36396
  */
36002
36397
  userPrompt: string;
36003
36398
  /**
36004
- * User question for display - optional
36399
+ * User question for display - optional - null = use userPrompt
36005
36400
  */
36006
36401
  displayValue: string;
36007
36402
  /**
36008
- * Chat history - previous turns in chronological order
36403
+ * Chat history - all previous turns in chronological order
36009
36404
  */
36010
36405
  previousTurns: ChatbotTurn[];
36406
+ /**
36407
+ * CRM API endpoint URL for chatbot to make callbacks to. 'https://example.com/superoffice/api/'
36408
+ */
36409
+ apiUrl: string;
36011
36410
  }
36012
36411
  /**
36013
36412
  * Return one or more suggested prompts as actions to display in an empty chat window
@@ -36023,17 +36422,28 @@ export interface AI_GetChatbotPromptSuggestionsRequest {
36023
36422
  */
36024
36423
  soProtocol: string;
36025
36424
  /**
36026
- * current company id - used for context
36425
+ * current company/person/project id - used for context in suggestions
36027
36426
  */
36028
- currentContactId: number;
36427
+ currentId: number;
36428
+ }
36429
+ /**
36430
+ * 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.
36431
+ * Returns ChatbotTurn[]
36432
+ */
36433
+ export interface AI_GetChatbotTurnsRequest {
36029
36434
  /**
36030
- * current person id - used for context
36435
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
36031
36436
  */
36032
- currentPersonId: number;
36437
+ chatId: string;
36438
+ }
36439
+ /**
36440
+ * 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
36441
+ */
36442
+ export interface AI_ClearChatbotTurnsRequest {
36033
36443
  /**
36034
- * current project id - used for context
36444
+ * identifies this chat = arbitrary name (e.g. user-defined) or the soprotocol + id (e.g. ticket-123, contact-43, diary)
36035
36445
  */
36036
- currentProjectId: number;
36446
+ chatId: string;
36037
36447
  }
36038
36448
  /**
36039
36449
  * Sentiment information: Score (-100 to 100) and Confidence (0 to 100)
@@ -36563,6 +36973,22 @@ export interface EmailFlow extends Carrier {
36563
36973
  * Persons in the given selections are not allowed to enter this workflow
36564
36974
  */
36565
36975
  blockLists?: number[];
36976
+ /**
36977
+ * The associate that first created the flow. The property is read-only.
36978
+ */
36979
+ createdBy?: Associate;
36980
+ /**
36981
+ * The person that last updated the flow.
36982
+ */
36983
+ updatedBy?: Associate;
36984
+ /**
36985
+ * Registered date
36986
+ */
36987
+ createdDate?: Date;
36988
+ /**
36989
+ * Updated date
36990
+ */
36991
+ updatedDate?: Date;
36566
36992
  /**
36567
36993
  * The set of users or groups the record is visible for
36568
36994
  */
@@ -36636,6 +37062,19 @@ export interface Workflow_CopyEmailFlowContentRequest {
36636
37062
  */
36637
37063
  shipmentId: number;
36638
37064
  }
37065
+ /**
37066
+ * FieldValue carrier
37067
+ */
37068
+ export interface FieldValue extends Carrier {
37069
+ /**
37070
+ * Field key
37071
+ */
37072
+ key?: string;
37073
+ /**
37074
+ * Values to change
37075
+ */
37076
+ values?: string[];
37077
+ }
36639
37078
  /**
36640
37079
  * Workflow event carrier
36641
37080
  */
@@ -36780,44 +37219,140 @@ export interface WorkflowStepAddToList extends WorkflowStepBase {
36780
37219
  * Step in workflow.
36781
37220
  */
36782
37221
  export interface WorkflowStepCreateFollowUp extends WorkflowStepBase {
37222
+ /**
37223
+ * Follow-up title
37224
+ */
37225
+ title?: string;
37226
+ /**
37227
+ * Follow-up type
37228
+ */
37229
+ followUpType?: number;
37230
+ /**
37231
+ * Related project
37232
+ */
37233
+ project?: number;
37234
+ /**
37235
+ * Follow-up status
37236
+ */
37237
+ completed?: boolean;
37238
+ /**
37239
+ * Workflow action type
37240
+ */
37241
+ actionType?: enums.WorkflowActionType;
37242
+ /**
37243
+ * Workflow action time to wait
37244
+ */
37245
+ actionTime?: number;
37246
+ /**
37247
+ * Worflow action time unit
37248
+ */
37249
+ actionTimeUnit?: enums.WorkflowTimeWaitIntervalType;
37250
+ /**
37251
+ * Duration in seconds
37252
+ */
37253
+ duration?: number;
37254
+ /**
37255
+ * Availability, Free or Busy
37256
+ */
37257
+ availability?: enums.FreeBusy;
37258
+ /**
37259
+ * Follow-up assignee type
37260
+ */
37261
+ ownerType?: enums.WorkflowOwnerType;
37262
+ /**
37263
+ * Agenda
37264
+ */
37265
+ agenda?: string;
37266
+ /**
37267
+ * Follow-up owner
37268
+ */
37269
+ owner?: number;
36783
37270
  }
36784
37271
  /**
36785
37272
  * Step in workflow.
36786
37273
  */
36787
37274
  export interface WorkflowStepCreateRequest extends WorkflowStepBase {
36788
37275
  /**
36789
- * Title of request
37276
+ * Request title
36790
37277
  */
36791
37278
  title?: string;
36792
37279
  /**
36793
- * Category
37280
+ * Request type
37281
+ */
37282
+ requestType?: number;
37283
+ /**
37284
+ * Request category
36794
37285
  */
36795
37286
  category?: number;
36796
37287
  /**
36797
- * Priority
37288
+ * Request priority
36798
37289
  */
36799
37290
  priority?: number;
36800
37291
  /**
36801
- * Owner
37292
+ * Request status
36802
37293
  */
36803
- owner?: number;
37294
+ status?: number;
36804
37295
  /**
36805
- * Message body
37296
+ * Message
36806
37297
  */
36807
37298
  message?: string;
36808
37299
  /**
36809
- * Request type
37300
+ * Request owner
36810
37301
  */
36811
- requestType?: number;
36812
- /**
36813
- * Status, including self added statuses
36814
- */
36815
- status?: number;
37302
+ owner?: number;
36816
37303
  }
36817
37304
  /**
36818
37305
  * Step in workflow.
36819
37306
  */
36820
37307
  export interface WorkflowStepCreateSale extends WorkflowStepBase {
37308
+ /**
37309
+ * Sale title
37310
+ */
37311
+ title?: string;
37312
+ /**
37313
+ * Sale type
37314
+ */
37315
+ saleType?: number;
37316
+ /**
37317
+ * Sale stage
37318
+ */
37319
+ stage?: number;
37320
+ /**
37321
+ * Sale amount
37322
+ */
37323
+ amount?: number;
37324
+ /**
37325
+ * Sale currency
37326
+ */
37327
+ currency?: number;
37328
+ /**
37329
+ * Sale description
37330
+ */
37331
+ description?: string;
37332
+ /**
37333
+ * Related project
37334
+ */
37335
+ project?: number;
37336
+ /**
37337
+ * Workflow action type
37338
+ */
37339
+ actionType?: enums.WorkflowActionType;
37340
+ /**
37341
+ * Workflow action time to wait
37342
+ */
37343
+ actionTime?: number;
37344
+ /**
37345
+ * Worflow action time unit
37346
+ */
37347
+ actionTimeUnit?: enums.WorkflowTimeWaitIntervalType;
37348
+ /**
37349
+ * Sale date
37350
+ */
37351
+ date?: Date;
37352
+ /**
37353
+ * Sale owner
37354
+ */
37355
+ owner?: number;
36821
37356
  }
36822
37357
  /**
36823
37358
  * Step in workflow.
@@ -36830,9 +37365,13 @@ export interface WorkflowStepNotifyByEmail extends WorkflowStepBase {
36830
37365
  export interface WorkflowStepNotifyBySMS extends WorkflowStepBase {
36831
37366
  }
36832
37367
  /**
36833
- * Workflow step option
37368
+ * Workflow step split option carrier base carrier class.
36834
37369
  */
36835
- export interface WorkflowStepOption extends Carrier {
37370
+ export interface WorkflowStepOptionBase {
37371
+ /**
37372
+ * Type of option
37373
+ */
37374
+ optionType?: enums.WorkflowSplitOptionType;
36836
37375
  /**
36837
37376
  * Primary key
36838
37377
  */
@@ -36845,10 +37384,6 @@ export interface WorkflowStepOption extends Carrier {
36845
37384
  * The flow this instance belongs to
36846
37385
  */
36847
37386
  workflowId?: number;
36848
- /**
36849
- * A key used to refer to this option
36850
- */
36851
- key?: string;
36852
37387
  /**
36853
37388
  * The name of this option
36854
37389
  */
@@ -36862,6 +37397,71 @@ export interface WorkflowStepOption extends Carrier {
36862
37397
  */
36863
37398
  steps?: WorkflowStepBase[];
36864
37399
  }
37400
+ /**
37401
+ * Creates a new carrier from the option type given, with the right kind of properties, defaults set.
37402
+ * Returns WorkflowStepOptionBase
37403
+ */
37404
+ export interface Workflow_CreateDefaultWorkflowStepOptionFromTypeRequest {
37405
+ /**
37406
+ * Option type to create
37407
+ */
37408
+ optionType: enums.WorkflowSplitOptionType;
37409
+ }
37410
+ /**
37411
+ * Get WorkflowStepOption by ID
37412
+ * Returns WorkflowStepOptionBase
37413
+ */
37414
+ export interface Workflow_GetWorkflowStepOptionRequest {
37415
+ /**
37416
+ * Primary key of WorkflowStep option
37417
+ */
37418
+ workflowStepOptionId: number;
37419
+ }
37420
+ /**
37421
+ * Option that splits on matching person criteria
37422
+ */
37423
+ export interface WorkflowStepOptionFormSubmission extends WorkflowStepOptionBase {
37424
+ /**
37425
+ * The id of the form submitted
37426
+ */
37427
+ formId?: number;
37428
+ }
37429
+ /**
37430
+ * Option that splits on matching person criteria
37431
+ */
37432
+ export interface WorkflowStepOptionLinkClicked extends WorkflowStepOptionBase {
37433
+ /**
37434
+ * The id of the clicked link in the s_link table
37435
+ */
37436
+ linkId?: number;
37437
+ }
37438
+ /**
37439
+ * Option that splits on matching person criteria
37440
+ */
37441
+ export interface WorkflowStepOptionPersonData extends WorkflowStepOptionBase {
37442
+ /**
37443
+ * The restrictions (can be multiple groups) that determines if this option is activated
37444
+ */
37445
+ restrictionGroups?: ArchiveRestrictionGroup[];
37446
+ }
37447
+ /**
37448
+ * Option that splits on matching person criteria
37449
+ */
37450
+ export interface WorkflowStepOptionProjectMembership extends WorkflowStepOptionBase {
37451
+ /**
37452
+ * The id of the project
37453
+ */
37454
+ projectId?: number;
37455
+ }
37456
+ /**
37457
+ * Option that splits on matching person criteria
37458
+ */
37459
+ export interface WorkflowStepOptionSelectionMembership extends WorkflowStepOptionBase {
37460
+ /**
37461
+ * The id of the selection
37462
+ */
37463
+ selectionId?: number;
37464
+ }
36865
37465
  /**
36866
37466
  * Step in workflow.
36867
37467
  */
@@ -36901,20 +37501,52 @@ export interface WorkflowStepSendEmail extends WorkflowStepBase {
36901
37501
  * Step in workflow.
36902
37502
  */
36903
37503
  export interface WorkflowStepSendSMS extends WorkflowStepBase {
37504
+ /**
37505
+ * SMS Sender
37506
+ */
37507
+ from?: string;
37508
+ /**
37509
+ * SMS text message
37510
+ */
37511
+ text?: string;
37512
+ /**
37513
+ * Exit flow if no mobile phone registered
37514
+ */
37515
+ exit?: boolean;
36904
37516
  }
36905
37517
  /**
36906
37518
  * Step in workflow.
36907
37519
  */
36908
37520
  export interface WorkflowStepSplit extends WorkflowStepBase {
37521
+ /**
37522
+ * The name of the split step
37523
+ */
37524
+ splitName?: string;
37525
+ /**
37526
+ * What type of data to split on. Contact, Link clicked, etc
37527
+ */
37528
+ splitOptionType?: enums.WorkflowSplitOptionType;
37529
+ /**
37530
+ * When splitting on link clicked, which shipmentId is the link in?
37531
+ */
37532
+ shipmentId?: number;
36909
37533
  /**
36910
37534
  * What options are given by the split
36911
37535
  */
36912
- options?: WorkflowStepOption[];
37536
+ options?: WorkflowStepOptionBase[];
37537
+ /**
37538
+ * If set to true, particants descending the Everyone else branch will exit the flow on this step
37539
+ */
37540
+ exitFlow?: boolean;
36913
37541
  }
36914
37542
  /**
36915
37543
  * Step in workflow.
36916
37544
  */
36917
- export interface WorkflowStepUpdateContact extends WorkflowStepBase {
37545
+ export interface WorkflowStepUpdateParticipant extends WorkflowStepBase {
37546
+ /**
37547
+ * Fields and values to change
37548
+ */
37549
+ fieldValues?: FieldValue[];
36918
37550
  }
36919
37551
  /**
36920
37552
  * Step in workflow.