@superoffice/webapi 10.2.9

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 (692) hide show
  1. package/LICENSE.md +15 -0
  2. package/README.md +184 -0
  3. package/__tests__/Appointment63-notz.json +1925 -0
  4. package/__tests__/Appointment63-utctz.json +1925 -0
  5. package/__tests__/Appointment63.json +1925 -0
  6. package/__tests__/AppointmentTzTest.ts +114 -0
  7. package/__tests__/AxiosNockTest.ts +28 -0
  8. package/__tests__/ContactDefault.json +699 -0
  9. package/__tests__/ContactEntity.json +273 -0
  10. package/__tests__/ContactRestTest.ts +144 -0
  11. package/__tests__/ContactTest.ts +395 -0
  12. package/__tests__/ConvertersTest.ts +97 -0
  13. package/__tests__/DocumentGetTemplateStream.json +1 -0
  14. package/__tests__/DocumentGetTemplateStreamBinary.json +1 -0
  15. package/__tests__/DocumentTest.ts +101 -0
  16. package/__tests__/Person210-notz.json +1932 -0
  17. package/__tests__/Person210-utctz.json +1932 -0
  18. package/__tests__/Person210.json +1932 -0
  19. package/__tests__/PersonImageData.nock +23 -0
  20. package/__tests__/PersonTest.ts +41 -0
  21. package/__tests__/PersonTzTest.ts +113 -0
  22. package/__tests__/RecurrenceInfo.json +55 -0
  23. package/__tests__/TableRights.json +441 -0
  24. package/__tests__/WebapiTest.ts +264 -0
  25. package/__tests__/Webhook.json +17 -0
  26. package/__tests__/WebhookTest.ts +209 -0
  27. package/dist/cjs/AIAgent.d.ts +265 -0
  28. package/dist/cjs/AIAgent.d.ts.map +1 -0
  29. package/dist/cjs/AIAgent.js +535 -0
  30. package/dist/cjs/AIAgent.js.map +1 -0
  31. package/dist/cjs/AppointmentAgent.d.ts +1539 -0
  32. package/dist/cjs/AppointmentAgent.d.ts.map +1 -0
  33. package/dist/cjs/AppointmentAgent.js +3363 -0
  34. package/dist/cjs/AppointmentAgent.js.map +1 -0
  35. package/dist/cjs/AppointmentRestApi.d.ts +46 -0
  36. package/dist/cjs/AppointmentRestApi.d.ts.map +1 -0
  37. package/dist/cjs/AppointmentRestApi.js +168 -0
  38. package/dist/cjs/AppointmentRestApi.js.map +1 -0
  39. package/dist/cjs/ArchiveAgent.d.ts +582 -0
  40. package/dist/cjs/ArchiveAgent.d.ts.map +1 -0
  41. package/dist/cjs/ArchiveAgent.js +1135 -0
  42. package/dist/cjs/ArchiveAgent.js.map +1 -0
  43. package/dist/cjs/AssociateAgent.d.ts +109 -0
  44. package/dist/cjs/AssociateAgent.d.ts.map +1 -0
  45. package/dist/cjs/AssociateAgent.js +257 -0
  46. package/dist/cjs/AssociateAgent.js.map +1 -0
  47. package/dist/cjs/AudienceAgent.d.ts +359 -0
  48. package/dist/cjs/AudienceAgent.d.ts.map +1 -0
  49. package/dist/cjs/AudienceAgent.js +888 -0
  50. package/dist/cjs/AudienceAgent.js.map +1 -0
  51. package/dist/cjs/AxiosCacheHandler.d.ts +20 -0
  52. package/dist/cjs/AxiosCacheHandler.d.ts.map +1 -0
  53. package/dist/cjs/AxiosCacheHandler.js +68 -0
  54. package/dist/cjs/AxiosCacheHandler.js.map +1 -0
  55. package/dist/cjs/BLOBAgent.d.ts +538 -0
  56. package/dist/cjs/BLOBAgent.d.ts.map +1 -0
  57. package/dist/cjs/BLOBAgent.js +1364 -0
  58. package/dist/cjs/BLOBAgent.js.map +1 -0
  59. package/dist/cjs/Base64.d.ts +4 -0
  60. package/dist/cjs/Base64.d.ts.map +1 -0
  61. package/dist/cjs/Base64.js +233 -0
  62. package/dist/cjs/Base64.js.map +1 -0
  63. package/dist/cjs/BatchAgent.d.ts +252 -0
  64. package/dist/cjs/BatchAgent.d.ts.map +1 -0
  65. package/dist/cjs/BatchAgent.js +522 -0
  66. package/dist/cjs/BatchAgent.js.map +1 -0
  67. package/dist/cjs/BulkUpdateAgent.d.ts +144 -0
  68. package/dist/cjs/BulkUpdateAgent.d.ts.map +1 -0
  69. package/dist/cjs/BulkUpdateAgent.js +288 -0
  70. package/dist/cjs/BulkUpdateAgent.js.map +1 -0
  71. package/dist/cjs/CRMScriptAgent.d.ts +330 -0
  72. package/dist/cjs/CRMScriptAgent.d.ts.map +1 -0
  73. package/dist/cjs/CRMScriptAgent.js +799 -0
  74. package/dist/cjs/CRMScriptAgent.js.map +1 -0
  75. package/dist/cjs/Carriers.d.ts +36976 -0
  76. package/dist/cjs/Carriers.d.ts.map +1 -0
  77. package/dist/cjs/Carriers.js +8 -0
  78. package/dist/cjs/Carriers.js.map +1 -0
  79. package/dist/cjs/ChatAgent.d.ts +366 -0
  80. package/dist/cjs/ChatAgent.d.ts.map +1 -0
  81. package/dist/cjs/ChatAgent.js +919 -0
  82. package/dist/cjs/ChatAgent.js.map +1 -0
  83. package/dist/cjs/ConfigurationAgent.d.ts +534 -0
  84. package/dist/cjs/ConfigurationAgent.d.ts.map +1 -0
  85. package/dist/cjs/ConfigurationAgent.js +1429 -0
  86. package/dist/cjs/ConfigurationAgent.js.map +1 -0
  87. package/dist/cjs/ContactAgent.d.ts +415 -0
  88. package/dist/cjs/ContactAgent.d.ts.map +1 -0
  89. package/dist/cjs/ContactAgent.js +1005 -0
  90. package/dist/cjs/ContactAgent.js.map +1 -0
  91. package/dist/cjs/ContactRestApi.d.ts +46 -0
  92. package/dist/cjs/ContactRestApi.d.ts.map +1 -0
  93. package/dist/cjs/ContactRestApi.js +168 -0
  94. package/dist/cjs/ContactRestApi.js.map +1 -0
  95. package/dist/cjs/Converters.d.ts +1359 -0
  96. package/dist/cjs/Converters.d.ts.map +1 -0
  97. package/dist/cjs/Converters.js +18996 -0
  98. package/dist/cjs/Converters.js.map +1 -0
  99. package/dist/cjs/CustomerServiceAgent.d.ts +447 -0
  100. package/dist/cjs/CustomerServiceAgent.d.ts.map +1 -0
  101. package/dist/cjs/CustomerServiceAgent.js +1123 -0
  102. package/dist/cjs/CustomerServiceAgent.js.map +1 -0
  103. package/dist/cjs/DashAgent.d.ts +370 -0
  104. package/dist/cjs/DashAgent.d.ts.map +1 -0
  105. package/dist/cjs/DashAgent.js +1028 -0
  106. package/dist/cjs/DashAgent.js.map +1 -0
  107. package/dist/cjs/DashboardAgent.d.ts +163 -0
  108. package/dist/cjs/DashboardAgent.d.ts.map +1 -0
  109. package/dist/cjs/DashboardAgent.js +436 -0
  110. package/dist/cjs/DashboardAgent.js.map +1 -0
  111. package/dist/cjs/DatabaseAgent.d.ts +35 -0
  112. package/dist/cjs/DatabaseAgent.d.ts.map +1 -0
  113. package/dist/cjs/DatabaseAgent.js +70 -0
  114. package/dist/cjs/DatabaseAgent.js.map +1 -0
  115. package/dist/cjs/DatabaseTableAgent.d.ts +155 -0
  116. package/dist/cjs/DatabaseTableAgent.d.ts.map +1 -0
  117. package/dist/cjs/DatabaseTableAgent.js +299 -0
  118. package/dist/cjs/DatabaseTableAgent.js.map +1 -0
  119. package/dist/cjs/Day_js.d.ts +4 -0
  120. package/dist/cjs/Day_js.d.ts.map +1 -0
  121. package/dist/cjs/Day_js.js +44 -0
  122. package/dist/cjs/Day_js.js.map +1 -0
  123. package/dist/cjs/DiagnosticsAgent.d.ts +200 -0
  124. package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -0
  125. package/dist/cjs/DiagnosticsAgent.js +480 -0
  126. package/dist/cjs/DiagnosticsAgent.js.map +1 -0
  127. package/dist/cjs/DocumentAgent.d.ts +1345 -0
  128. package/dist/cjs/DocumentAgent.d.ts.map +1 -0
  129. package/dist/cjs/DocumentAgent.js +3058 -0
  130. package/dist/cjs/DocumentAgent.js.map +1 -0
  131. package/dist/cjs/DocumentMigrationAgent.d.ts +145 -0
  132. package/dist/cjs/DocumentMigrationAgent.d.ts.map +1 -0
  133. package/dist/cjs/DocumentMigrationAgent.js +297 -0
  134. package/dist/cjs/DocumentMigrationAgent.js.map +1 -0
  135. package/dist/cjs/DocumentRestApi.d.ts +46 -0
  136. package/dist/cjs/DocumentRestApi.d.ts.map +1 -0
  137. package/dist/cjs/DocumentRestApi.js +168 -0
  138. package/dist/cjs/DocumentRestApi.js.map +1 -0
  139. package/dist/cjs/EMailAgent.d.ts +1417 -0
  140. package/dist/cjs/EMailAgent.d.ts.map +1 -0
  141. package/dist/cjs/EMailAgent.js +3202 -0
  142. package/dist/cjs/EMailAgent.js.map +1 -0
  143. package/dist/cjs/Enums.d.ts +6083 -0
  144. package/dist/cjs/Enums.d.ts.map +1 -0
  145. package/dist/cjs/Enums.js +6270 -0
  146. package/dist/cjs/Enums.js.map +1 -0
  147. package/dist/cjs/ErpSyncAgent.d.ts +725 -0
  148. package/dist/cjs/ErpSyncAgent.d.ts.map +1 -0
  149. package/dist/cjs/ErpSyncAgent.js +1601 -0
  150. package/dist/cjs/ErpSyncAgent.js.map +1 -0
  151. package/dist/cjs/FavouriteAgent.d.ts +208 -0
  152. package/dist/cjs/FavouriteAgent.d.ts.map +1 -0
  153. package/dist/cjs/FavouriteAgent.js +407 -0
  154. package/dist/cjs/FavouriteAgent.js.map +1 -0
  155. package/dist/cjs/FindAgent.d.ts +688 -0
  156. package/dist/cjs/FindAgent.d.ts.map +1 -0
  157. package/dist/cjs/FindAgent.js +1337 -0
  158. package/dist/cjs/FindAgent.js.map +1 -0
  159. package/dist/cjs/ForeignSystemAgent.d.ts +478 -0
  160. package/dist/cjs/ForeignSystemAgent.d.ts.map +1 -0
  161. package/dist/cjs/ForeignSystemAgent.js +1022 -0
  162. package/dist/cjs/ForeignSystemAgent.js.map +1 -0
  163. package/dist/cjs/FreeTextAgent.d.ts +172 -0
  164. package/dist/cjs/FreeTextAgent.d.ts.map +1 -0
  165. package/dist/cjs/FreeTextAgent.js +368 -0
  166. package/dist/cjs/FreeTextAgent.js.map +1 -0
  167. package/dist/cjs/ImportAgent.d.ts +92 -0
  168. package/dist/cjs/ImportAgent.d.ts.map +1 -0
  169. package/dist/cjs/ImportAgent.js +164 -0
  170. package/dist/cjs/ImportAgent.js.map +1 -0
  171. package/dist/cjs/LicenseAgent.d.ts +298 -0
  172. package/dist/cjs/LicenseAgent.d.ts.map +1 -0
  173. package/dist/cjs/LicenseAgent.js +639 -0
  174. package/dist/cjs/LicenseAgent.js.map +1 -0
  175. package/dist/cjs/ListAgent.d.ts +2423 -0
  176. package/dist/cjs/ListAgent.d.ts.map +1 -0
  177. package/dist/cjs/ListAgent.js +7813 -0
  178. package/dist/cjs/ListAgent.js.map +1 -0
  179. package/dist/cjs/MDOAgent.d.ts +214 -0
  180. package/dist/cjs/MDOAgent.d.ts.map +1 -0
  181. package/dist/cjs/MDOAgent.js +430 -0
  182. package/dist/cjs/MDOAgent.js.map +1 -0
  183. package/dist/cjs/MarketingAgent.d.ts +170 -0
  184. package/dist/cjs/MarketingAgent.d.ts.map +1 -0
  185. package/dist/cjs/MarketingAgent.js +570 -0
  186. package/dist/cjs/MarketingAgent.js.map +1 -0
  187. package/dist/cjs/MessagingAgent.d.ts +111 -0
  188. package/dist/cjs/MessagingAgent.d.ts.map +1 -0
  189. package/dist/cjs/MessagingAgent.js +217 -0
  190. package/dist/cjs/MessagingAgent.js.map +1 -0
  191. package/dist/cjs/NavigatorAgent.d.ts +40 -0
  192. package/dist/cjs/NavigatorAgent.d.ts.map +1 -0
  193. package/dist/cjs/NavigatorAgent.js +99 -0
  194. package/dist/cjs/NavigatorAgent.js.map +1 -0
  195. package/dist/cjs/NumberAllocationAgent.d.ts +72 -0
  196. package/dist/cjs/NumberAllocationAgent.d.ts.map +1 -0
  197. package/dist/cjs/NumberAllocationAgent.js +199 -0
  198. package/dist/cjs/NumberAllocationAgent.js.map +1 -0
  199. package/dist/cjs/PersonAgent.d.ts +774 -0
  200. package/dist/cjs/PersonAgent.d.ts.map +1 -0
  201. package/dist/cjs/PersonAgent.js +1814 -0
  202. package/dist/cjs/PersonAgent.js.map +1 -0
  203. package/dist/cjs/PersonRestApi.d.ts +46 -0
  204. package/dist/cjs/PersonRestApi.d.ts.map +1 -0
  205. package/dist/cjs/PersonRestApi.js +168 -0
  206. package/dist/cjs/PersonRestApi.js.map +1 -0
  207. package/dist/cjs/PhoneListAgent.d.ts +126 -0
  208. package/dist/cjs/PhoneListAgent.d.ts.map +1 -0
  209. package/dist/cjs/PhoneListAgent.js +269 -0
  210. package/dist/cjs/PhoneListAgent.js.map +1 -0
  211. package/dist/cjs/PocketAgent.d.ts +218 -0
  212. package/dist/cjs/PocketAgent.d.ts.map +1 -0
  213. package/dist/cjs/PocketAgent.js +451 -0
  214. package/dist/cjs/PocketAgent.js.map +1 -0
  215. package/dist/cjs/PreferenceAgent.d.ts +497 -0
  216. package/dist/cjs/PreferenceAgent.d.ts.map +1 -0
  217. package/dist/cjs/PreferenceAgent.js +1194 -0
  218. package/dist/cjs/PreferenceAgent.js.map +1 -0
  219. package/dist/cjs/PreviewsAgent.d.ts +36 -0
  220. package/dist/cjs/PreviewsAgent.d.ts.map +1 -0
  221. package/dist/cjs/PreviewsAgent.js +54 -0
  222. package/dist/cjs/PreviewsAgent.js.map +1 -0
  223. package/dist/cjs/ProjectAgent.d.ts +558 -0
  224. package/dist/cjs/ProjectAgent.d.ts.map +1 -0
  225. package/dist/cjs/ProjectAgent.js +1482 -0
  226. package/dist/cjs/ProjectAgent.js.map +1 -0
  227. package/dist/cjs/ProjectRestApi.d.ts +46 -0
  228. package/dist/cjs/ProjectRestApi.d.ts.map +1 -0
  229. package/dist/cjs/ProjectRestApi.js +168 -0
  230. package/dist/cjs/ProjectRestApi.js.map +1 -0
  231. package/dist/cjs/QuoteAgent.d.ts +1415 -0
  232. package/dist/cjs/QuoteAgent.d.ts.map +1 -0
  233. package/dist/cjs/QuoteAgent.js +3224 -0
  234. package/dist/cjs/QuoteAgent.js.map +1 -0
  235. package/dist/cjs/RelationAgent.d.ts +61 -0
  236. package/dist/cjs/RelationAgent.d.ts.map +1 -0
  237. package/dist/cjs/RelationAgent.js +132 -0
  238. package/dist/cjs/RelationAgent.js.map +1 -0
  239. package/dist/cjs/ReplicationAgent.d.ts +77 -0
  240. package/dist/cjs/ReplicationAgent.d.ts.map +1 -0
  241. package/dist/cjs/ReplicationAgent.js +223 -0
  242. package/dist/cjs/ReplicationAgent.js.map +1 -0
  243. package/dist/cjs/ReportAgent.d.ts +144 -0
  244. package/dist/cjs/ReportAgent.d.ts.map +1 -0
  245. package/dist/cjs/ReportAgent.js +380 -0
  246. package/dist/cjs/ReportAgent.js.map +1 -0
  247. package/dist/cjs/ResourceAgent.d.ts +105 -0
  248. package/dist/cjs/ResourceAgent.d.ts.map +1 -0
  249. package/dist/cjs/ResourceAgent.js +196 -0
  250. package/dist/cjs/ResourceAgent.js.map +1 -0
  251. package/dist/cjs/SaintAgent.d.ts +157 -0
  252. package/dist/cjs/SaintAgent.d.ts.map +1 -0
  253. package/dist/cjs/SaintAgent.js +402 -0
  254. package/dist/cjs/SaintAgent.js.map +1 -0
  255. package/dist/cjs/SaleAgent.d.ts +477 -0
  256. package/dist/cjs/SaleAgent.d.ts.map +1 -0
  257. package/dist/cjs/SaleAgent.js +1182 -0
  258. package/dist/cjs/SaleAgent.js.map +1 -0
  259. package/dist/cjs/SaleRestApi.d.ts +46 -0
  260. package/dist/cjs/SaleRestApi.d.ts.map +1 -0
  261. package/dist/cjs/SaleRestApi.js +168 -0
  262. package/dist/cjs/SaleRestApi.js.map +1 -0
  263. package/dist/cjs/SelectionAgent.d.ts +814 -0
  264. package/dist/cjs/SelectionAgent.d.ts.map +1 -0
  265. package/dist/cjs/SelectionAgent.js +1795 -0
  266. package/dist/cjs/SelectionAgent.js.map +1 -0
  267. package/dist/cjs/SentryAgent.d.ts +113 -0
  268. package/dist/cjs/SentryAgent.d.ts.map +1 -0
  269. package/dist/cjs/SentryAgent.js +238 -0
  270. package/dist/cjs/SentryAgent.js.map +1 -0
  271. package/dist/cjs/SoApiConstants.d.ts +8 -0
  272. package/dist/cjs/SoApiConstants.d.ts.map +1 -0
  273. package/dist/cjs/SoApiConstants.js +12 -0
  274. package/dist/cjs/SoApiConstants.js.map +1 -0
  275. package/dist/cjs/TargetsAgent.d.ts +289 -0
  276. package/dist/cjs/TargetsAgent.d.ts.map +1 -0
  277. package/dist/cjs/TargetsAgent.js +728 -0
  278. package/dist/cjs/TargetsAgent.js.map +1 -0
  279. package/dist/cjs/TicketAgent.d.ts +802 -0
  280. package/dist/cjs/TicketAgent.d.ts.map +1 -0
  281. package/dist/cjs/TicketAgent.js +1865 -0
  282. package/dist/cjs/TicketAgent.js.map +1 -0
  283. package/dist/cjs/TimeZoneAgent.d.ts +139 -0
  284. package/dist/cjs/TimeZoneAgent.d.ts.map +1 -0
  285. package/dist/cjs/TimeZoneAgent.js +348 -0
  286. package/dist/cjs/TimeZoneAgent.js.map +1 -0
  287. package/dist/cjs/TooltipsAgent.d.ts +36 -0
  288. package/dist/cjs/TooltipsAgent.d.ts.map +1 -0
  289. package/dist/cjs/TooltipsAgent.js +54 -0
  290. package/dist/cjs/TooltipsAgent.js.map +1 -0
  291. package/dist/cjs/UserAgent.d.ts +1260 -0
  292. package/dist/cjs/UserAgent.d.ts.map +1 -0
  293. package/dist/cjs/UserAgent.js +2978 -0
  294. package/dist/cjs/UserAgent.js.map +1 -0
  295. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts +474 -0
  296. package/dist/cjs/UserDefinedFieldInfoAgent.d.ts.map +1 -0
  297. package/dist/cjs/UserDefinedFieldInfoAgent.js +1067 -0
  298. package/dist/cjs/UserDefinedFieldInfoAgent.js.map +1 -0
  299. package/dist/cjs/ViewStateAgent.d.ts +230 -0
  300. package/dist/cjs/ViewStateAgent.d.ts.map +1 -0
  301. package/dist/cjs/ViewStateAgent.js +518 -0
  302. package/dist/cjs/ViewStateAgent.js.map +1 -0
  303. package/dist/cjs/WebApi.d.ts +427 -0
  304. package/dist/cjs/WebApi.d.ts.map +1 -0
  305. package/dist/cjs/WebApi.js +656 -0
  306. package/dist/cjs/WebApi.js.map +1 -0
  307. package/dist/cjs/WebApiBase.d.ts +152 -0
  308. package/dist/cjs/WebApiBase.d.ts.map +1 -0
  309. package/dist/cjs/WebApiBase.js +442 -0
  310. package/dist/cjs/WebApiBase.js.map +1 -0
  311. package/dist/cjs/WebhookAgent.d.ts +102 -0
  312. package/dist/cjs/WebhookAgent.d.ts.map +1 -0
  313. package/dist/cjs/WebhookAgent.js +245 -0
  314. package/dist/cjs/WebhookAgent.js.map +1 -0
  315. package/dist/cjs/WorkflowAgent.d.ts +250 -0
  316. package/dist/cjs/WorkflowAgent.d.ts.map +1 -0
  317. package/dist/cjs/WorkflowAgent.js +763 -0
  318. package/dist/cjs/WorkflowAgent.js.map +1 -0
  319. package/dist/cjs/package.json +1 -0
  320. package/dist/esm/AIAgent.d.ts +265 -0
  321. package/dist/esm/AIAgent.d.ts.map +1 -0
  322. package/dist/esm/AIAgent.js +530 -0
  323. package/dist/esm/AIAgent.js.map +1 -0
  324. package/dist/esm/AppointmentAgent.d.ts +1539 -0
  325. package/dist/esm/AppointmentAgent.d.ts.map +1 -0
  326. package/dist/esm/AppointmentAgent.js +3358 -0
  327. package/dist/esm/AppointmentAgent.js.map +1 -0
  328. package/dist/esm/AppointmentRestApi.d.ts +46 -0
  329. package/dist/esm/AppointmentRestApi.d.ts.map +1 -0
  330. package/dist/esm/AppointmentRestApi.js +163 -0
  331. package/dist/esm/AppointmentRestApi.js.map +1 -0
  332. package/dist/esm/ArchiveAgent.d.ts +582 -0
  333. package/dist/esm/ArchiveAgent.d.ts.map +1 -0
  334. package/dist/esm/ArchiveAgent.js +1130 -0
  335. package/dist/esm/ArchiveAgent.js.map +1 -0
  336. package/dist/esm/AssociateAgent.d.ts +109 -0
  337. package/dist/esm/AssociateAgent.d.ts.map +1 -0
  338. package/dist/esm/AssociateAgent.js +252 -0
  339. package/dist/esm/AssociateAgent.js.map +1 -0
  340. package/dist/esm/AudienceAgent.d.ts +359 -0
  341. package/dist/esm/AudienceAgent.d.ts.map +1 -0
  342. package/dist/esm/AudienceAgent.js +883 -0
  343. package/dist/esm/AudienceAgent.js.map +1 -0
  344. package/dist/esm/AxiosCacheHandler.d.ts +20 -0
  345. package/dist/esm/AxiosCacheHandler.d.ts.map +1 -0
  346. package/dist/esm/AxiosCacheHandler.js +64 -0
  347. package/dist/esm/AxiosCacheHandler.js.map +1 -0
  348. package/dist/esm/BLOBAgent.d.ts +538 -0
  349. package/dist/esm/BLOBAgent.d.ts.map +1 -0
  350. package/dist/esm/BLOBAgent.js +1359 -0
  351. package/dist/esm/BLOBAgent.js.map +1 -0
  352. package/dist/esm/Base64.d.ts +4 -0
  353. package/dist/esm/Base64.d.ts.map +1 -0
  354. package/dist/esm/Base64.js +228 -0
  355. package/dist/esm/Base64.js.map +1 -0
  356. package/dist/esm/BatchAgent.d.ts +252 -0
  357. package/dist/esm/BatchAgent.d.ts.map +1 -0
  358. package/dist/esm/BatchAgent.js +517 -0
  359. package/dist/esm/BatchAgent.js.map +1 -0
  360. package/dist/esm/BulkUpdateAgent.d.ts +144 -0
  361. package/dist/esm/BulkUpdateAgent.d.ts.map +1 -0
  362. package/dist/esm/BulkUpdateAgent.js +283 -0
  363. package/dist/esm/BulkUpdateAgent.js.map +1 -0
  364. package/dist/esm/CRMScriptAgent.d.ts +330 -0
  365. package/dist/esm/CRMScriptAgent.d.ts.map +1 -0
  366. package/dist/esm/CRMScriptAgent.js +794 -0
  367. package/dist/esm/CRMScriptAgent.js.map +1 -0
  368. package/dist/esm/Carriers.d.ts +36976 -0
  369. package/dist/esm/Carriers.d.ts.map +1 -0
  370. package/dist/esm/Carriers.js +6 -0
  371. package/dist/esm/Carriers.js.map +1 -0
  372. package/dist/esm/ChatAgent.d.ts +366 -0
  373. package/dist/esm/ChatAgent.d.ts.map +1 -0
  374. package/dist/esm/ChatAgent.js +914 -0
  375. package/dist/esm/ChatAgent.js.map +1 -0
  376. package/dist/esm/ConfigurationAgent.d.ts +534 -0
  377. package/dist/esm/ConfigurationAgent.d.ts.map +1 -0
  378. package/dist/esm/ConfigurationAgent.js +1424 -0
  379. package/dist/esm/ConfigurationAgent.js.map +1 -0
  380. package/dist/esm/ContactAgent.d.ts +415 -0
  381. package/dist/esm/ContactAgent.d.ts.map +1 -0
  382. package/dist/esm/ContactAgent.js +1000 -0
  383. package/dist/esm/ContactAgent.js.map +1 -0
  384. package/dist/esm/ContactRestApi.d.ts +46 -0
  385. package/dist/esm/ContactRestApi.d.ts.map +1 -0
  386. package/dist/esm/ContactRestApi.js +163 -0
  387. package/dist/esm/ContactRestApi.js.map +1 -0
  388. package/dist/esm/Converters.d.ts +1359 -0
  389. package/dist/esm/Converters.d.ts.map +1 -0
  390. package/dist/esm/Converters.js +17609 -0
  391. package/dist/esm/Converters.js.map +1 -0
  392. package/dist/esm/CustomerServiceAgent.d.ts +447 -0
  393. package/dist/esm/CustomerServiceAgent.d.ts.map +1 -0
  394. package/dist/esm/CustomerServiceAgent.js +1118 -0
  395. package/dist/esm/CustomerServiceAgent.js.map +1 -0
  396. package/dist/esm/DashAgent.d.ts +370 -0
  397. package/dist/esm/DashAgent.d.ts.map +1 -0
  398. package/dist/esm/DashAgent.js +1023 -0
  399. package/dist/esm/DashAgent.js.map +1 -0
  400. package/dist/esm/DashboardAgent.d.ts +163 -0
  401. package/dist/esm/DashboardAgent.d.ts.map +1 -0
  402. package/dist/esm/DashboardAgent.js +431 -0
  403. package/dist/esm/DashboardAgent.js.map +1 -0
  404. package/dist/esm/DatabaseAgent.d.ts +35 -0
  405. package/dist/esm/DatabaseAgent.d.ts.map +1 -0
  406. package/dist/esm/DatabaseAgent.js +65 -0
  407. package/dist/esm/DatabaseAgent.js.map +1 -0
  408. package/dist/esm/DatabaseTableAgent.d.ts +155 -0
  409. package/dist/esm/DatabaseTableAgent.d.ts.map +1 -0
  410. package/dist/esm/DatabaseTableAgent.js +294 -0
  411. package/dist/esm/DatabaseTableAgent.js.map +1 -0
  412. package/dist/esm/Day_js.d.ts +4 -0
  413. package/dist/esm/Day_js.d.ts.map +1 -0
  414. package/dist/esm/Day_js.js +38 -0
  415. package/dist/esm/Day_js.js.map +1 -0
  416. package/dist/esm/DiagnosticsAgent.d.ts +200 -0
  417. package/dist/esm/DiagnosticsAgent.d.ts.map +1 -0
  418. package/dist/esm/DiagnosticsAgent.js +475 -0
  419. package/dist/esm/DiagnosticsAgent.js.map +1 -0
  420. package/dist/esm/DocumentAgent.d.ts +1345 -0
  421. package/dist/esm/DocumentAgent.d.ts.map +1 -0
  422. package/dist/esm/DocumentAgent.js +3053 -0
  423. package/dist/esm/DocumentAgent.js.map +1 -0
  424. package/dist/esm/DocumentMigrationAgent.d.ts +145 -0
  425. package/dist/esm/DocumentMigrationAgent.d.ts.map +1 -0
  426. package/dist/esm/DocumentMigrationAgent.js +292 -0
  427. package/dist/esm/DocumentMigrationAgent.js.map +1 -0
  428. package/dist/esm/DocumentRestApi.d.ts +46 -0
  429. package/dist/esm/DocumentRestApi.d.ts.map +1 -0
  430. package/dist/esm/DocumentRestApi.js +163 -0
  431. package/dist/esm/DocumentRestApi.js.map +1 -0
  432. package/dist/esm/EMailAgent.d.ts +1417 -0
  433. package/dist/esm/EMailAgent.d.ts.map +1 -0
  434. package/dist/esm/EMailAgent.js +3197 -0
  435. package/dist/esm/EMailAgent.js.map +1 -0
  436. package/dist/esm/Enums.d.ts +6083 -0
  437. package/dist/esm/Enums.d.ts.map +1 -0
  438. package/dist/esm/Enums.js +6264 -0
  439. package/dist/esm/Enums.js.map +1 -0
  440. package/dist/esm/ErpSyncAgent.d.ts +725 -0
  441. package/dist/esm/ErpSyncAgent.d.ts.map +1 -0
  442. package/dist/esm/ErpSyncAgent.js +1596 -0
  443. package/dist/esm/ErpSyncAgent.js.map +1 -0
  444. package/dist/esm/FavouriteAgent.d.ts +208 -0
  445. package/dist/esm/FavouriteAgent.d.ts.map +1 -0
  446. package/dist/esm/FavouriteAgent.js +402 -0
  447. package/dist/esm/FavouriteAgent.js.map +1 -0
  448. package/dist/esm/FindAgent.d.ts +688 -0
  449. package/dist/esm/FindAgent.d.ts.map +1 -0
  450. package/dist/esm/FindAgent.js +1332 -0
  451. package/dist/esm/FindAgent.js.map +1 -0
  452. package/dist/esm/ForeignSystemAgent.d.ts +478 -0
  453. package/dist/esm/ForeignSystemAgent.d.ts.map +1 -0
  454. package/dist/esm/ForeignSystemAgent.js +1017 -0
  455. package/dist/esm/ForeignSystemAgent.js.map +1 -0
  456. package/dist/esm/FreeTextAgent.d.ts +172 -0
  457. package/dist/esm/FreeTextAgent.d.ts.map +1 -0
  458. package/dist/esm/FreeTextAgent.js +363 -0
  459. package/dist/esm/FreeTextAgent.js.map +1 -0
  460. package/dist/esm/ImportAgent.d.ts +92 -0
  461. package/dist/esm/ImportAgent.d.ts.map +1 -0
  462. package/dist/esm/ImportAgent.js +159 -0
  463. package/dist/esm/ImportAgent.js.map +1 -0
  464. package/dist/esm/LicenseAgent.d.ts +298 -0
  465. package/dist/esm/LicenseAgent.d.ts.map +1 -0
  466. package/dist/esm/LicenseAgent.js +634 -0
  467. package/dist/esm/LicenseAgent.js.map +1 -0
  468. package/dist/esm/ListAgent.d.ts +2423 -0
  469. package/dist/esm/ListAgent.d.ts.map +1 -0
  470. package/dist/esm/ListAgent.js +7808 -0
  471. package/dist/esm/ListAgent.js.map +1 -0
  472. package/dist/esm/MDOAgent.d.ts +214 -0
  473. package/dist/esm/MDOAgent.d.ts.map +1 -0
  474. package/dist/esm/MDOAgent.js +425 -0
  475. package/dist/esm/MDOAgent.js.map +1 -0
  476. package/dist/esm/MarketingAgent.d.ts +170 -0
  477. package/dist/esm/MarketingAgent.d.ts.map +1 -0
  478. package/dist/esm/MarketingAgent.js +565 -0
  479. package/dist/esm/MarketingAgent.js.map +1 -0
  480. package/dist/esm/MessagingAgent.d.ts +111 -0
  481. package/dist/esm/MessagingAgent.d.ts.map +1 -0
  482. package/dist/esm/MessagingAgent.js +212 -0
  483. package/dist/esm/MessagingAgent.js.map +1 -0
  484. package/dist/esm/NavigatorAgent.d.ts +40 -0
  485. package/dist/esm/NavigatorAgent.d.ts.map +1 -0
  486. package/dist/esm/NavigatorAgent.js +94 -0
  487. package/dist/esm/NavigatorAgent.js.map +1 -0
  488. package/dist/esm/NumberAllocationAgent.d.ts +72 -0
  489. package/dist/esm/NumberAllocationAgent.d.ts.map +1 -0
  490. package/dist/esm/NumberAllocationAgent.js +194 -0
  491. package/dist/esm/NumberAllocationAgent.js.map +1 -0
  492. package/dist/esm/PersonAgent.d.ts +774 -0
  493. package/dist/esm/PersonAgent.d.ts.map +1 -0
  494. package/dist/esm/PersonAgent.js +1809 -0
  495. package/dist/esm/PersonAgent.js.map +1 -0
  496. package/dist/esm/PersonRestApi.d.ts +46 -0
  497. package/dist/esm/PersonRestApi.d.ts.map +1 -0
  498. package/dist/esm/PersonRestApi.js +163 -0
  499. package/dist/esm/PersonRestApi.js.map +1 -0
  500. package/dist/esm/PhoneListAgent.d.ts +126 -0
  501. package/dist/esm/PhoneListAgent.d.ts.map +1 -0
  502. package/dist/esm/PhoneListAgent.js +264 -0
  503. package/dist/esm/PhoneListAgent.js.map +1 -0
  504. package/dist/esm/PocketAgent.d.ts +218 -0
  505. package/dist/esm/PocketAgent.d.ts.map +1 -0
  506. package/dist/esm/PocketAgent.js +446 -0
  507. package/dist/esm/PocketAgent.js.map +1 -0
  508. package/dist/esm/PreferenceAgent.d.ts +497 -0
  509. package/dist/esm/PreferenceAgent.d.ts.map +1 -0
  510. package/dist/esm/PreferenceAgent.js +1189 -0
  511. package/dist/esm/PreferenceAgent.js.map +1 -0
  512. package/dist/esm/PreviewsAgent.d.ts +36 -0
  513. package/dist/esm/PreviewsAgent.d.ts.map +1 -0
  514. package/dist/esm/PreviewsAgent.js +49 -0
  515. package/dist/esm/PreviewsAgent.js.map +1 -0
  516. package/dist/esm/ProjectAgent.d.ts +558 -0
  517. package/dist/esm/ProjectAgent.d.ts.map +1 -0
  518. package/dist/esm/ProjectAgent.js +1477 -0
  519. package/dist/esm/ProjectAgent.js.map +1 -0
  520. package/dist/esm/ProjectRestApi.d.ts +46 -0
  521. package/dist/esm/ProjectRestApi.d.ts.map +1 -0
  522. package/dist/esm/ProjectRestApi.js +163 -0
  523. package/dist/esm/ProjectRestApi.js.map +1 -0
  524. package/dist/esm/QuoteAgent.d.ts +1415 -0
  525. package/dist/esm/QuoteAgent.d.ts.map +1 -0
  526. package/dist/esm/QuoteAgent.js +3219 -0
  527. package/dist/esm/QuoteAgent.js.map +1 -0
  528. package/dist/esm/RelationAgent.d.ts +61 -0
  529. package/dist/esm/RelationAgent.d.ts.map +1 -0
  530. package/dist/esm/RelationAgent.js +127 -0
  531. package/dist/esm/RelationAgent.js.map +1 -0
  532. package/dist/esm/ReplicationAgent.d.ts +77 -0
  533. package/dist/esm/ReplicationAgent.d.ts.map +1 -0
  534. package/dist/esm/ReplicationAgent.js +218 -0
  535. package/dist/esm/ReplicationAgent.js.map +1 -0
  536. package/dist/esm/ReportAgent.d.ts +144 -0
  537. package/dist/esm/ReportAgent.d.ts.map +1 -0
  538. package/dist/esm/ReportAgent.js +375 -0
  539. package/dist/esm/ReportAgent.js.map +1 -0
  540. package/dist/esm/ResourceAgent.d.ts +105 -0
  541. package/dist/esm/ResourceAgent.d.ts.map +1 -0
  542. package/dist/esm/ResourceAgent.js +191 -0
  543. package/dist/esm/ResourceAgent.js.map +1 -0
  544. package/dist/esm/SaintAgent.d.ts +157 -0
  545. package/dist/esm/SaintAgent.d.ts.map +1 -0
  546. package/dist/esm/SaintAgent.js +397 -0
  547. package/dist/esm/SaintAgent.js.map +1 -0
  548. package/dist/esm/SaleAgent.d.ts +477 -0
  549. package/dist/esm/SaleAgent.d.ts.map +1 -0
  550. package/dist/esm/SaleAgent.js +1177 -0
  551. package/dist/esm/SaleAgent.js.map +1 -0
  552. package/dist/esm/SaleRestApi.d.ts +46 -0
  553. package/dist/esm/SaleRestApi.d.ts.map +1 -0
  554. package/dist/esm/SaleRestApi.js +163 -0
  555. package/dist/esm/SaleRestApi.js.map +1 -0
  556. package/dist/esm/SelectionAgent.d.ts +814 -0
  557. package/dist/esm/SelectionAgent.d.ts.map +1 -0
  558. package/dist/esm/SelectionAgent.js +1790 -0
  559. package/dist/esm/SelectionAgent.js.map +1 -0
  560. package/dist/esm/SentryAgent.d.ts +113 -0
  561. package/dist/esm/SentryAgent.d.ts.map +1 -0
  562. package/dist/esm/SentryAgent.js +233 -0
  563. package/dist/esm/SentryAgent.js.map +1 -0
  564. package/dist/esm/SoApiConstants.d.ts +8 -0
  565. package/dist/esm/SoApiConstants.d.ts.map +1 -0
  566. package/dist/esm/SoApiConstants.js +9 -0
  567. package/dist/esm/SoApiConstants.js.map +1 -0
  568. package/dist/esm/TargetsAgent.d.ts +289 -0
  569. package/dist/esm/TargetsAgent.d.ts.map +1 -0
  570. package/dist/esm/TargetsAgent.js +723 -0
  571. package/dist/esm/TargetsAgent.js.map +1 -0
  572. package/dist/esm/TicketAgent.d.ts +802 -0
  573. package/dist/esm/TicketAgent.d.ts.map +1 -0
  574. package/dist/esm/TicketAgent.js +1860 -0
  575. package/dist/esm/TicketAgent.js.map +1 -0
  576. package/dist/esm/TimeZoneAgent.d.ts +139 -0
  577. package/dist/esm/TimeZoneAgent.d.ts.map +1 -0
  578. package/dist/esm/TimeZoneAgent.js +343 -0
  579. package/dist/esm/TimeZoneAgent.js.map +1 -0
  580. package/dist/esm/TooltipsAgent.d.ts +36 -0
  581. package/dist/esm/TooltipsAgent.d.ts.map +1 -0
  582. package/dist/esm/TooltipsAgent.js +49 -0
  583. package/dist/esm/TooltipsAgent.js.map +1 -0
  584. package/dist/esm/UserAgent.d.ts +1260 -0
  585. package/dist/esm/UserAgent.d.ts.map +1 -0
  586. package/dist/esm/UserAgent.js +2973 -0
  587. package/dist/esm/UserAgent.js.map +1 -0
  588. package/dist/esm/UserDefinedFieldInfoAgent.d.ts +474 -0
  589. package/dist/esm/UserDefinedFieldInfoAgent.d.ts.map +1 -0
  590. package/dist/esm/UserDefinedFieldInfoAgent.js +1062 -0
  591. package/dist/esm/UserDefinedFieldInfoAgent.js.map +1 -0
  592. package/dist/esm/ViewStateAgent.d.ts +230 -0
  593. package/dist/esm/ViewStateAgent.d.ts.map +1 -0
  594. package/dist/esm/ViewStateAgent.js +513 -0
  595. package/dist/esm/ViewStateAgent.js.map +1 -0
  596. package/dist/esm/WebApi.d.ts +427 -0
  597. package/dist/esm/WebApi.d.ts.map +1 -0
  598. package/dist/esm/WebApi.js +649 -0
  599. package/dist/esm/WebApi.js.map +1 -0
  600. package/dist/esm/WebApiBase.d.ts +152 -0
  601. package/dist/esm/WebApiBase.d.ts.map +1 -0
  602. package/dist/esm/WebApiBase.js +437 -0
  603. package/dist/esm/WebApiBase.js.map +1 -0
  604. package/dist/esm/WebhookAgent.d.ts +102 -0
  605. package/dist/esm/WebhookAgent.d.ts.map +1 -0
  606. package/dist/esm/WebhookAgent.js +240 -0
  607. package/dist/esm/WebhookAgent.js.map +1 -0
  608. package/dist/esm/WorkflowAgent.d.ts +250 -0
  609. package/dist/esm/WorkflowAgent.d.ts.map +1 -0
  610. package/dist/esm/WorkflowAgent.js +758 -0
  611. package/dist/esm/WorkflowAgent.js.map +1 -0
  612. package/dist/esm/package.json +1 -0
  613. package/examples-js/hello.js +12 -0
  614. package/examples-ts/hello.ts +8 -0
  615. package/package.json +89 -0
  616. package/scripts/setVersion.js +46 -0
  617. package/src/AIAgent.ts +928 -0
  618. package/src/AppointmentAgent.ts +5573 -0
  619. package/src/AppointmentRestApi.ts +225 -0
  620. package/src/ArchiveAgent.ts +1950 -0
  621. package/src/AssociateAgent.ts +422 -0
  622. package/src/AudienceAgent.ts +1430 -0
  623. package/src/AxiosCacheHandler.ts +74 -0
  624. package/src/BLOBAgent.ts +2214 -0
  625. package/src/Base64.ts +285 -0
  626. package/src/BatchAgent.ts +910 -0
  627. package/src/BulkUpdateAgent.ts +504 -0
  628. package/src/CRMScriptAgent.ts +1276 -0
  629. package/src/Carriers.ts +49791 -0
  630. package/src/ChatAgent.ts +1422 -0
  631. package/src/ConfigurationAgent.ts +2138 -0
  632. package/src/ContactAgent.ts +1586 -0
  633. package/src/ContactRestApi.ts +235 -0
  634. package/src/Converters.ts +21633 -0
  635. package/src/CustomerServiceAgent.ts +1734 -0
  636. package/src/DashAgent.ts +1504 -0
  637. package/src/DashboardAgent.ts +658 -0
  638. package/src/DatabaseAgent.ts +120 -0
  639. package/src/DatabaseTableAgent.ts +534 -0
  640. package/src/Day_js.ts +41 -0
  641. package/src/DiagnosticsAgent.ts +744 -0
  642. package/src/DocumentAgent.ts +5018 -0
  643. package/src/DocumentMigrationAgent.ts +494 -0
  644. package/src/DocumentRestApi.ts +259 -0
  645. package/src/EMailAgent.ts +5210 -0
  646. package/src/Enums.ts +6438 -0
  647. package/src/ErpSyncAgent.ts +2658 -0
  648. package/src/FavouriteAgent.ts +720 -0
  649. package/src/FindAgent.ts +2330 -0
  650. package/src/ForeignSystemAgent.ts +1710 -0
  651. package/src/FreeTextAgent.ts +626 -0
  652. package/src/ImportAgent.ts +304 -0
  653. package/src/LicenseAgent.ts +1088 -0
  654. package/src/ListAgent.ts +10894 -0
  655. package/src/MDOAgent.ts +748 -0
  656. package/src/MarketingAgent.ts +776 -0
  657. package/src/MessagingAgent.ts +384 -0
  658. package/src/NavigatorAgent.ts +164 -0
  659. package/src/NumberAllocationAgent.ts +296 -0
  660. package/src/PersonAgent.ts +2919 -0
  661. package/src/PersonRestApi.ts +239 -0
  662. package/src/PhoneListAgent.ts +458 -0
  663. package/src/PocketAgent.ts +780 -0
  664. package/src/PreferenceAgent.ts +1900 -0
  665. package/src/PreviewsAgent.ts +116 -0
  666. package/src/ProjectAgent.ts +2275 -0
  667. package/src/ProjectRestApi.ts +239 -0
  668. package/src/QuoteAgent.ts +5294 -0
  669. package/src/RelationAgent.ts +220 -0
  670. package/src/ReplicationAgent.ts +325 -0
  671. package/src/ReportAgent.ts +575 -0
  672. package/src/ResourceAgent.ts +358 -0
  673. package/src/SaintAgent.ts +601 -0
  674. package/src/SaleAgent.ts +1862 -0
  675. package/src/SaleRestApi.ts +233 -0
  676. package/src/SelectionAgent.ts +2980 -0
  677. package/src/SentryAgent.ts +406 -0
  678. package/src/SoApiConstants.ts +8 -0
  679. package/src/TargetsAgent.ts +1104 -0
  680. package/src/TicketAgent.ts +3032 -0
  681. package/src/TimeZoneAgent.ts +528 -0
  682. package/src/TooltipsAgent.ts +116 -0
  683. package/src/UserAgent.ts +4798 -0
  684. package/src/UserDefinedFieldInfoAgent.ts +1764 -0
  685. package/src/ViewStateAgent.ts +858 -0
  686. package/src/WebApi.ts +908 -0
  687. package/src/WebApiBase.ts +562 -0
  688. package/src/WebhookAgent.ts +388 -0
  689. package/src/WorkflowAgent.ts +1054 -0
  690. package/tsconfig.esm.json +8 -0
  691. package/tsconfig.jest.json +12 -0
  692. package/tsconfig.json +35 -0
@@ -0,0 +1,582 @@
1
+ import { AxiosRequestConfig } from 'axios';
2
+ import * as base from './WebApiBase.js';
3
+ import * as carriers from './Carriers.js';
4
+ /**
5
+ * ArchiveList functions of all kinds
6
+ */
7
+ export interface IArchiveAgent {
8
+ createDefaultArchiveListResultAsync(): Promise<carriers.ArchiveListResult>;
9
+ getActivityFilterAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityFilter>;
10
+ setActivityFilterAsync(request: carriers.Archive_SetActivityFilterRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
11
+ setActivityFilterAsync(activityFilter: carriers.ActivityFilter, webapi_options?: base.WebApiRequestOptions): Promise<void>;
12
+ getGroupAssociateIdsAsync(request: carriers.Archive_GetGroupAssociateIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
13
+ getGroupAssociateIdsAsync(groupIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
14
+ getArchiveConfigurationAsync(request: carriers.Archive_GetArchiveConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
15
+ getArchiveConfigurationAsync(guiName: string, providerName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
16
+ getArchiveConfigurationWithContextAsync(request: carriers.Archive_GetArchiveConfigurationWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
17
+ getArchiveConfigurationWithContextAsync(guiName: string, providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
18
+ setColumnWidthsAsync(request: carriers.Archive_SetColumnWidthsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
19
+ setColumnWidthsAsync(guiName: string, columnWidths: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
20
+ setChosenEntitiesAsync(request: carriers.Archive_SetChosenEntitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
21
+ setChosenEntitiesAsync(guiName: string, providerName: string, entities: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
22
+ setChosenColumnsAsync(request: carriers.Archive_SetChosenColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
23
+ setChosenColumnsAsync(guiName: string, providerName: string, chosenColumns: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
24
+ getArchiveConfigurationV2Async(request: carriers.Archive_GetArchiveConfigurationV2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
25
+ getArchiveConfigurationV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
26
+ setColumnWidthsV2Async(request: carriers.Archive_SetColumnWidthsV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
27
+ setColumnWidthsV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, columnWidths: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
28
+ setChosenEntitiesV2Async(request: carriers.Archive_SetChosenEntitiesV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
29
+ setChosenEntitiesV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, entities: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
30
+ setChosenColumnsV2Async(request: carriers.Archive_SetChosenColumnsV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
31
+ setChosenColumnsV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, chosenColumns: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
32
+ getArchiveListByColumnsAsync(request: carriers.Archive_GetArchiveListByColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
33
+ getArchiveListByColumnsAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
34
+ getArchiveListByColumnsWithContextAsync(request: carriers.Archive_GetArchiveListByColumnsWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
35
+ getArchiveListByColumnsWithContextAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
36
+ getArchiveListAsync(request: carriers.Archive_GetArchiveListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
37
+ getArchiveListAsync(guiName: string, providerName: string, sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
38
+ getArchiveListWithContextAsync(request: carriers.Archive_GetArchiveListWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
39
+ getArchiveListWithContextAsync(guiName: string, providerName: string, sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
40
+ getArchiveListByColumnsWithHeaderAsync(request: carriers.Archive_GetArchiveListByColumnsWithHeaderRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
41
+ getArchiveListByColumnsWithHeaderAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, options: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
42
+ getProviderNamesAsync(webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
43
+ getArchiveListByColumnsWithHeaderWithContextAsync(request: carriers.Archive_GetArchiveListByColumnsWithHeaderWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
44
+ getArchiveListByColumnsWithHeaderWithContextAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, options: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
45
+ getAvailableColumnsAsync(request: carriers.Archive_GetAvailableColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveColumnInfo[]>;
46
+ getAvailableColumnsAsync(providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveColumnInfo[]>;
47
+ getAvailableEntitiesAsync(request: carriers.Archive_GetAvailableEntitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
48
+ getAvailableEntitiesAsync(providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
49
+ getArchiveListByColumns2Async(request: carriers.Archive_GetArchiveListByColumns2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
50
+ getArchiveListByColumns2Async(providerName: string, columns: string, sortOrder: string, restrictions: string, entities: string, page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
51
+ getArchiveListByColumnsWithContext2Async(request: carriers.Archive_GetArchiveListByColumnsWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
52
+ getArchiveListByColumnsWithContext2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
53
+ getArchiveList2Async(request: carriers.Archive_GetArchiveList2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
54
+ getArchiveList2Async(guiName: string, providerName: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
55
+ getArchiveListWithContext2Async(request: carriers.Archive_GetArchiveListWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
56
+ getArchiveListWithContext2Async(guiName: string, providerName: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
57
+ getArchiveListByColumnsWithHeader2Async(request: carriers.Archive_GetArchiveListByColumnsWithHeader2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
58
+ getArchiveListByColumnsWithHeader2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, options: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
59
+ getArchiveListByColumnsWithHeaderWithContext2Async(request: carriers.Archive_GetArchiveListByColumnsWithHeaderWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
60
+ getArchiveListByColumnsWithHeaderWithContext2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, options: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
61
+ exportArchiveAsync(request: carriers.Archive_ExportArchiveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ExportArchiveResult>;
62
+ exportArchiveAsync(providerName: string, context: string, desiredEntities: string[], columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restrictions: carriers.ArchiveRestrictionInfo[], exportType: string, selectedRowIds: string[], estimatedRowCount: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ExportArchiveResult>;
63
+ getRelatedDataAsync(request: carriers.Archive_GetRelatedDataRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
64
+ getRelatedDataAsync(table: string, recordId: number, fields: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
65
+ getRelatedData2Async(request: carriers.Archive_GetRelatedData2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
66
+ getRelatedData2Async(table: string, recordId: number, fields: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
67
+ }
68
+ /**
69
+ * ArchiveList functions of all kinds
70
+ */
71
+ export declare class ArchiveAgent extends base.WebApiBase implements IArchiveAgent {
72
+ constructor(baseUrl?: string, languageCode?: string, cultureCode?: string);
73
+ constructor(baseUrl?: string, resourceParsing?: base.ResourceParsing);
74
+ constructor(baseUrl: string, resourceManager: any);
75
+ constructor(baseUrl: string, config: AxiosRequestConfig, resourceManager: any);
76
+ constructor(baseUrl: string, config: AxiosRequestConfig, resourceParsing?: base.ResourceParsing);
77
+ constructor(baseUrl: string, config: AxiosRequestConfig, languageCode?: string, cultureCode?: string);
78
+ constructor(options: base.WebApiOptions);
79
+ /**
80
+ * Set default values into a new ArchiveListResult.
81
+ * NetServer calculates default values on the entity, which is required when creating/storing a new instance
82
+ * @param options - Override language/culture codes on this request. Provide cancellation and request status values.
83
+ * @returns A blank entity.
84
+ */
85
+ createDefaultArchiveListResultAsync(options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
86
+ private _getActivityFilterAsync;
87
+ /**
88
+ * Get activity filter for the specified list.
89
+ * @returns The activity filter for the specified list
90
+ */
91
+ getActivityFilterAsync(webapi_options?: base.WebApiRequestOptions): Promise<carriers.ActivityFilter>;
92
+ private _setActivityFilterAsync;
93
+ /**
94
+ * Set activity filter for the specified list.
95
+ * @param request - ActivityFilter
96
+ * @returns
97
+ */
98
+ setActivityFilterAsync(request: carriers.Archive_SetActivityFilterRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
99
+ /**
100
+ * Set activity filter for the specified list.
101
+ * @param activityFilter - New activity filter
102
+ * @returns
103
+ */
104
+ setActivityFilterAsync(activityFilter: carriers.ActivityFilter, webapi_options?: base.WebApiRequestOptions): Promise<void>;
105
+ private _getGroupAssociateIdsAsync;
106
+ /**
107
+ * Returns the associate ids that belongs to the given groups
108
+ * @param request - GroupIds
109
+ * @returns Array of associate ids
110
+ */
111
+ getGroupAssociateIdsAsync(request: carriers.Archive_GetGroupAssociateIdsRequest, webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
112
+ /**
113
+ * Returns the associate ids that belongs to the given groups
114
+ * @param groupIds - Array of group ids
115
+ * @returns Array of associate ids
116
+ */
117
+ getGroupAssociateIdsAsync(groupIds: number[], webapi_options?: base.WebApiRequestOptions): Promise<number[]>;
118
+ private _getArchiveConfigurationAsync;
119
+ /**
120
+ * Get the configuration for one archive. The configuration is keyed by a combination of archive provider name and gui name. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
121
+ * @param request - GuiName, ProviderName
122
+ * @returns Archive configuration consisting of column information, orderby information and entities
123
+ */
124
+ getArchiveConfigurationAsync(request: carriers.Archive_GetArchiveConfigurationRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
125
+ /**
126
+ * Get the configuration for one archive. The configuration is keyed by a combination of archive provider name and gui name. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
127
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
128
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
129
+ * @returns Archive configuration consisting of column information, orderby information and entities
130
+ */
131
+ getArchiveConfigurationAsync(guiName: string, providerName: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
132
+ private _getArchiveConfigurationWithContextAsync;
133
+ /**
134
+ * Get the configuration for one archive, with context parameter. The configuration is keyed by a combination of archive provider name and gui name. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
135
+ * @param request - GuiName, ProviderName, Context
136
+ * @returns Archive configuration consisting of column information, orderby information and entities
137
+ */
138
+ getArchiveConfigurationWithContextAsync(request: carriers.Archive_GetArchiveConfigurationWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
139
+ /**
140
+ * Get the configuration for one archive, with context parameter. The configuration is keyed by a combination of archive provider name and gui name. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
141
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
142
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
143
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
144
+ * @returns Archive configuration consisting of column information, orderby information and entities
145
+ */
146
+ getArchiveConfigurationWithContextAsync(guiName: string, providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
147
+ private _setColumnWidthsAsync;
148
+ /**
149
+ * Set the column widths for the given set of columns and GUI name.
150
+ * @param request - GuiName, ColumnWidths
151
+ * @returns
152
+ */
153
+ setColumnWidthsAsync(request: carriers.Archive_SetColumnWidthsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
154
+ /**
155
+ * Set the column widths for the given set of columns and GUI name.
156
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
157
+ * @param columnWidths - Array of column widths. A column width is specified either as a fixed number of character (10c) or as a percentage (10%). Percentages will be recalculated so that they add up to exactly 100 when the configuration is fetched again.
158
+ * @returns
159
+ */
160
+ setColumnWidthsAsync(guiName: string, columnWidths: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
161
+ private _setChosenEntitiesAsync;
162
+ /**
163
+ * Set the currently chosen entities for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.
164
+ * @param request - GuiName, ProviderName, Entities
165
+ * @returns
166
+ */
167
+ setChosenEntitiesAsync(request: carriers.Archive_SetChosenEntitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
168
+ /**
169
+ * Set the currently chosen entities for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.
170
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
171
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
172
+ * @param entities - Array of entity names
173
+ * @returns
174
+ */
175
+ setChosenEntitiesAsync(guiName: string, providerName: string, entities: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
176
+ private _setChosenColumnsAsync;
177
+ /**
178
+ * Set the currently chosen columns for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.
179
+ * @param request - GuiName, ProviderName, ChosenColumns
180
+ * @returns
181
+ */
182
+ setChosenColumnsAsync(request: carriers.Archive_SetChosenColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<void>;
183
+ /**
184
+ * Set the currently chosen columns for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.
185
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
186
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
187
+ * @param chosenColumns - Array of column names, where array order indicates left to right order in the archive.
188
+ * @returns
189
+ */
190
+ setChosenColumnsAsync(guiName: string, providerName: string, chosenColumns: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
191
+ private _getArchiveConfigurationV2Async;
192
+ /**
193
+ * Get the configuration for one archive. The configuration is keyed by a combination of archive provider name (plus optional context), gui name, and optional table binding. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
194
+ * @param request - GuiName, ProviderName, Context, OwnerKeys
195
+ * @returns Archive configuration consisting of column information, orderby information and entities
196
+ */
197
+ getArchiveConfigurationV2Async(request: carriers.Archive_GetArchiveConfigurationV2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
198
+ /**
199
+ * Get the configuration for one archive. The configuration is keyed by a combination of archive provider name (plus optional context), gui name, and optional table binding. The archive provider name must match an archive provider plugin; the gui name is an arbitrary string used to distinguish multiple occurrences of the same underlying provider in a gui.
200
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
201
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
202
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor. Optional, but required for archives that depend on a context - for instance Quote archives that need to know their QuoteConnectionId to be meaningful
203
+ * @param ownerKeys - Name/value string containing ownership binding information. The first should resolve to a table/primarykey, such as selection=123. Future functionality may allow multiple/extended keys
204
+ * @returns Archive configuration consisting of column information, orderby information and entities
205
+ */
206
+ getArchiveConfigurationV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveConfiguration>;
207
+ private _setColumnWidthsV2Async;
208
+ /**
209
+ * Set the column widths for the given set of columns and GUI name.
210
+ * @param request - GuiName, ProviderName, Context, OwnerKeys, ColumnWidths
211
+ * @returns
212
+ */
213
+ setColumnWidthsV2Async(request: carriers.Archive_SetColumnWidthsV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
214
+ /**
215
+ * Set the column widths for the given set of columns and GUI name.
216
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
217
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
218
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor. Optional, but required for archives that depend on a context - for instance Quote archives that need to know their QuoteConnectionId to be meaningful
219
+ * @param ownerKeys - Name/value string containing ownership binding information. The first should resolve to a table/primarykey, such as selection=123. Future functionality may allow multiple/extended keys
220
+ * @param columnWidths - Array of column widths. A column width is specified either as a fixed number of character (10c) or as a percentage (10%). Percentages will be recalculated so that they add up to exactly 100 when the configuration is fetched again.
221
+ * @returns
222
+ */
223
+ setColumnWidthsV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, columnWidths: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
224
+ private _setChosenEntitiesV2Async;
225
+ /**
226
+ * Set the currently chosen entities for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.
227
+ * @param request - GuiName, ProviderName, Context, OwnerKeys, Entities
228
+ * @returns
229
+ */
230
+ setChosenEntitiesV2Async(request: carriers.Archive_SetChosenEntitiesV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
231
+ /**
232
+ * Set the currently chosen entities for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveEntities: plus the archive provider name and gui name as its additionalInfo.
233
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
234
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
235
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor. Optional, but required for archives that depend on a context - for instance Quote archives that need to know their QuoteConnectionId to be meaningful
236
+ * @param ownerKeys - Name/value string containing ownership binding information. The first should resolve to a table/primarykey, such as selection=123. Future functionality may allow multiple/extended keys
237
+ * @param entities - Array of entity names
238
+ * @returns
239
+ */
240
+ setChosenEntitiesV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, entities: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
241
+ private _setChosenColumnsV2Async;
242
+ /**
243
+ * Set the currently chosen columns for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.
244
+ * @param request - GuiName, ProviderName, Context, OwnerKeys, ChosenColumns
245
+ * @returns
246
+ */
247
+ setChosenColumnsV2Async(request: carriers.Archive_SetChosenColumnsV2Request, webapi_options?: base.WebApiRequestOptions): Promise<void>;
248
+ /**
249
+ * Set the currently chosen columns for the given gui name/provider name combination. This service corresponds to the SetSelected method of the SelectableMDOList service, for a list called archiveColumns: plus the archive provider name and gui name as its additionalInfo.
250
+ * @param guiName - String that identifies the archive in the GUI, must be the same when fetching and storing configurations, but does not otherwise have to match anything.
251
+ * @param providerName - Name of archive provider, must match one of the plugins known to the ArchiveProviderFactory.
252
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor. Optional, but required for archives that depend on a context - for instance Quote archives that need to know their QuoteConnectionId to be meaningful
253
+ * @param ownerKeys - Name/value string containing ownership binding information. The first should resolve to a table/primarykey, such as selection=123. Future functionality may allow multiple/extended keys
254
+ * @param chosenColumns - Array of column names, where array order indicates left to right order in the archive.
255
+ * @returns
256
+ */
257
+ setChosenColumnsV2Async(guiName: string, providerName: string, context: string, ownerKeys: string, chosenColumns: string[], webapi_options?: base.WebApiRequestOptions): Promise<void>;
258
+ private _getArchiveListByColumnsAsync;
259
+ /**
260
+ * Get a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns.
261
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize
262
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
263
+ */
264
+ getArchiveListByColumnsAsync(request: carriers.Archive_GetArchiveListByColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
265
+ /**
266
+ * Get a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns.
267
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
268
+ * @param columns - An array of the names of the columns wanted.
269
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
270
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
271
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
272
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
273
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
274
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
275
+ */
276
+ getArchiveListByColumnsAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
277
+ private _getArchiveListByColumnsWithContextAsync;
278
+ /**
279
+ * Get a page of results for an archive list with context parameter, explicitly specifying the restrictions, orderby and chosen columns.
280
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Context
281
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
282
+ */
283
+ getArchiveListByColumnsWithContextAsync(request: carriers.Archive_GetArchiveListByColumnsWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
284
+ /**
285
+ * Get a page of results for an archive list with context parameter, explicitly specifying the restrictions, orderby and chosen columns.
286
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
287
+ * @param columns - An array of the names of the columns wanted.
288
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
289
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
290
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
291
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
292
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
293
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
294
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
295
+ */
296
+ getArchiveListByColumnsWithContextAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
297
+ private _getArchiveListAsync;
298
+ /**
299
+ * Get a page of data for an archive. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
300
+ * @param request - GuiName, ProviderName, SortOrder, Restriction, Entities, Page, PageSize
301
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
302
+ */
303
+ getArchiveListAsync(request: carriers.Archive_GetArchiveListRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
304
+ /**
305
+ * Get a page of data for an archive. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
306
+ * @param guiName - The GUI name of the archive list, used to retrieve the currently configured set of columns (otherwise manipulated using the ArchiveConfiguration service)
307
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
308
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
309
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
310
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
311
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
312
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
313
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
314
+ */
315
+ getArchiveListAsync(guiName: string, providerName: string, sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
316
+ private _getArchiveListWithContextAsync;
317
+ /**
318
+ * Get a page of data for an archive, with context parameter. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
319
+ * @param request - GuiName, ProviderName, SortOrder, Restriction, Entities, Page, PageSize, Context
320
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
321
+ */
322
+ getArchiveListWithContextAsync(request: carriers.Archive_GetArchiveListWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
323
+ /**
324
+ * Get a page of data for an archive, with context parameter. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
325
+ * @param guiName - The GUI name of the archive list, used to retrieve the currently configured set of columns (otherwise manipulated using the ArchiveConfiguration service)
326
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
327
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
328
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
329
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
330
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
331
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
332
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
333
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
334
+ */
335
+ getArchiveListWithContextAsync(guiName: string, providerName: string, sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
336
+ private _getArchiveListByColumnsWithHeaderAsync;
337
+ /**
338
+ * Get a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
339
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Options
340
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
341
+ */
342
+ getArchiveListByColumnsWithHeaderAsync(request: carriers.Archive_GetArchiveListByColumnsWithHeaderRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
343
+ /**
344
+ * Get a page of results for an archive list, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
345
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
346
+ * @param columns - An array of the names of the columns wanted.
347
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
348
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
349
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
350
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
351
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
352
+ * @param options - name=value&amp;... formatted set of options. "rowcount=true" will cause the rowcount to be calculated and populated.
353
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
354
+ */
355
+ getArchiveListByColumnsWithHeaderAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, options: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
356
+ private _getProviderNamesAsync;
357
+ /**
358
+ * Return list of all archive provider names
359
+ * @returns Array of all archive provider names.
360
+ */
361
+ getProviderNamesAsync(webapi_options?: base.WebApiRequestOptions): Promise<string[]>;
362
+ private _getArchiveListByColumnsWithHeaderWithContextAsync;
363
+ /**
364
+ * Get a page of results for an archive list, with context parameter, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
365
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Options, Context
366
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
367
+ */
368
+ getArchiveListByColumnsWithHeaderWithContextAsync(request: carriers.Archive_GetArchiveListByColumnsWithHeaderWithContextRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
369
+ /**
370
+ * Get a page of results for an archive list, with context parameter, explicitly specifying the restrictions, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
371
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
372
+ * @param columns - An array of the names of the columns wanted.
373
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
374
+ * @param restriction - Archive restrictions. Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
375
+ * @param entities - Which entities to include. Can be null, which indicates 'include all entities'
376
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
377
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
378
+ * @param options - name=value&amp;... formatted set of options. "rowcount=true" will cause the rowcount to be calculated and populated.
379
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
380
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
381
+ */
382
+ getArchiveListByColumnsWithHeaderWithContextAsync(providerName: string, columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restriction: carriers.ArchiveRestrictionInfo[], entities: string[], page: number, pageSize: number, options: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
383
+ private _getAvailableColumnsAsync;
384
+ /**
385
+ * Return list of all columns supported by an archive provider. See also GetArchiveConfiguration.
386
+ * @param request - ProviderName, Context
387
+ * @returns Array of all columns supported by the archive provider.
388
+ */
389
+ getAvailableColumnsAsync(request: carriers.Archive_GetAvailableColumnsRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveColumnInfo[]>;
390
+ /**
391
+ * Return list of all columns supported by an archive provider. See also GetArchiveConfiguration.
392
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
393
+ * @param context - Optional context parameter, url-encoded string context parameter for ArchiveProvider constructor
394
+ * @returns Array of all columns supported by the archive provider.
395
+ */
396
+ getAvailableColumnsAsync(providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveColumnInfo[]>;
397
+ private _getAvailableEntitiesAsync;
398
+ /**
399
+ * Return list of all entities supported by an archive provider. See also GetArchiveConfiguration.
400
+ * @param request - ProviderName, Context
401
+ * @returns Array of all entity types supported by the archive provider. MDOListItem.Name = DisplayName, Tooltip = DisplayTooltip, Type = code name, StyleHint = optional/mandatory, IconHint=DefaultShow
402
+ */
403
+ getAvailableEntitiesAsync(request: carriers.Archive_GetAvailableEntitiesRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
404
+ /**
405
+ * Return list of all entities supported by an archive provider. See also GetArchiveConfiguration.
406
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
407
+ * @param context - Optional context parameter, url-encoded string context parameter for ArchiveProvider constructor
408
+ * @returns Array of all entity types supported by the archive provider. MDOListItem.Name = DisplayName, Tooltip = DisplayTooltip, Type = code name, StyleHint = optional/mandatory, IconHint=DefaultShow
409
+ */
410
+ getAvailableEntitiesAsync(providerName: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.MDOListItem[]>;
411
+ private _getArchiveListByColumns2Async;
412
+ /**
413
+ * Get a page of results for an archive list, explicitly specifying the restrictions as a string, orderby and chosen columns.
414
+ * @param request - ProviderName, Columns, SortOrder, Restrictions, Entities, Page, PageSize
415
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
416
+ */
417
+ getArchiveListByColumns2Async(request: carriers.Archive_GetArchiveListByColumns2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
418
+ /**
419
+ * Get a page of results for an archive list, explicitly specifying the restrictions as a string, orderby and chosen columns.
420
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
421
+ * @param columns - An array of the names of the columns wanted.
422
+ * @param sortOrder - Sort order for the archive as string ('name asc, dept desc'). Can be null, which indicates 'no particular order'
423
+ * @param restrictions - Archive restrictions as string ('category = 1 and business oneOf (1,2,3)'). Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
424
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
425
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
426
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
427
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
428
+ */
429
+ getArchiveListByColumns2Async(providerName: string, columns: string, sortOrder: string, restrictions: string, entities: string, page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
430
+ private _getArchiveListByColumnsWithContext2Async;
431
+ /**
432
+ * Get a page of results for an archive list with context parameter, explicitly specifying the restrictions as a string, orderby and chosen columns.
433
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Context
434
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
435
+ */
436
+ getArchiveListByColumnsWithContext2Async(request: carriers.Archive_GetArchiveListByColumnsWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
437
+ /**
438
+ * Get a page of results for an archive list with context parameter, explicitly specifying the restrictions as a string, orderby and chosen columns.
439
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
440
+ * @param columns - Comma separated names of the columns wanted.
441
+ * @param sortOrder - Comma separated list of columns to sort order for the archive. e.g.: "name asc, dept desc, registeredBy" Can be null, which indicates 'no particular order'
442
+ * @param restriction - Archive restrictions as string. e.g. "name startsWith 'foo' and (dept = 'bar' or dept = 'baz')" Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
443
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
444
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
445
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
446
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
447
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
448
+ */
449
+ getArchiveListByColumnsWithContext2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
450
+ private _getArchiveList2Async;
451
+ /**
452
+ * Get a page of data for an archive using a restriction string. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
453
+ * @param request - GuiName, ProviderName, SortOrder, Restriction, Entities, Page, PageSize
454
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
455
+ */
456
+ getArchiveList2Async(request: carriers.Archive_GetArchiveList2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
457
+ /**
458
+ * Get a page of data for an archive using a restriction string. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
459
+ * @param guiName - The GUI name of the archive list, used to retrieve the currently configured set of columns (otherwise manipulated using the ArchiveConfiguration service)
460
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
461
+ * @param sortOrder - Sort order for the archive. Can be null, which indicates 'no particular order'
462
+ * @param restriction - Archive restrictions as string. e.g. "name = 'baz' or category oneOf (1,2,3)". Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
463
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
464
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
465
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
466
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
467
+ */
468
+ getArchiveList2Async(guiName: string, providerName: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
469
+ private _getArchiveListWithContext2Async;
470
+ /**
471
+ * Get a page of data for an archive using restrictions as strings, with context parameter. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
472
+ * @param request - GuiName, ProviderName, SortOrder, Restriction, Entities, Page, PageSize, Context
473
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
474
+ */
475
+ getArchiveListWithContext2Async(request: carriers.Archive_GetArchiveListWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
476
+ /**
477
+ * Get a page of data for an archive using restrictions as strings, with context parameter. The columns returned will be those set as chosen columns, using either the SetChosenColumns service or the corresponding SelectableMDOList.SetSelected.
478
+ * @param guiName - The GUI name of the archive list, used to retrieve the currently configured set of columns (otherwise manipulated using the ArchiveConfiguration service)
479
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
480
+ * @param sortOrder - Sort order for the archive. e.g. "name asc, dept desc" Can be null, which indicates 'no particular order'
481
+ * @param restriction - Archive restrictions as string. e.g. "name gt 'B' or dept = 'baz'" Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
482
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
483
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
484
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
485
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
486
+ * @returns Array of archive list items, where each item represents one row of data (row level data + the requested columns)
487
+ */
488
+ getArchiveListWithContext2Async(guiName: string, providerName: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListItem[]>;
489
+ private _getArchiveListByColumnsWithHeader2Async;
490
+ /**
491
+ * Get a page of results for an archive list, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
492
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Options
493
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
494
+ */
495
+ getArchiveListByColumnsWithHeader2Async(request: carriers.Archive_GetArchiveListByColumnsWithHeader2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
496
+ /**
497
+ * Get a page of results for an archive list, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
498
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
499
+ * @param columns - Comma separated string of the names of the columns wanted.
500
+ * @param sortOrder - Comma separated string of sort order for the archive. e.g. "name asc, dept desc" Can be null, which indicates 'no particular order'
501
+ * @param restriction - Archive restrictions. e.g. "category = 2 or business oneOf (2,3,4)" Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
502
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
503
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
504
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
505
+ * @param options - name=value&amp;... formatted set of options. "rowcount=true" will cause the rowcount to be calculated and populated.
506
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
507
+ */
508
+ getArchiveListByColumnsWithHeader2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, options: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
509
+ private _getArchiveListByColumnsWithHeaderWithContext2Async;
510
+ /**
511
+ * Get a page of results for an archive list, with context parameter, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
512
+ * @param request - ProviderName, Columns, SortOrder, Restriction, Entities, Page, PageSize, Options, Context
513
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
514
+ */
515
+ getArchiveListByColumnsWithHeaderWithContext2Async(request: carriers.Archive_GetArchiveListByColumnsWithHeaderWithContext2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
516
+ /**
517
+ * Get a page of results for an archive list, with context parameter, explicitly specifying the restrictions as strings, orderby and chosen columns; as well as a name/value string formatted set of options. The return value includes a header that has various extra information, in addition to the actual rows.
518
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
519
+ * @param columns - Comma separated list of the names of the columns wanted.
520
+ * @param sortOrder - Sort order for the archive. "name asc, dept desc" Can be null, which indicates 'no particular order'
521
+ * @param restriction - Archive restrictions as string. "updated > '2009.1.1' and registeredBy = 2" Archives will generally throw an exception if no restrictions are set. Pass in an empty array if you really do not want restrictions, but remember that you may end up fetching the first page of millions of rows.
522
+ * @param entities - Comma separated list of entities to include. Can be null, which indicates 'include all entities'
523
+ * @param page - Page number, page 0 is the first page. Negative page numbers are interpreted as number of rows to skip.
524
+ * @param pageSize - Page size, which should be kept reasonable (say, no more than 1000 rows at a time)
525
+ * @param options - name=value&amp;... formatted set of options. "rowcount=true" will cause the rowcount to be calculated and populated.
526
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
527
+ * @returns Header with optional row count, plus array of archive list items, where each item represents one row of data (row level data + the requested columns)
528
+ */
529
+ getArchiveListByColumnsWithHeaderWithContext2Async(providerName: string, columns: string, sortOrder: string, restriction: string, entities: string, page: number, pageSize: number, options: string, context: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ArchiveListResult>;
530
+ private _exportArchiveAsync;
531
+ /**
532
+ * Exports the target archive to a downloadable format.
533
+ * @param request - ProviderName, Context, DesiredEntities, Columns, SortOrder, Restrictions, ExportType, SelectedRowIds, EstimatedRowCount
534
+ * @returns
535
+ */
536
+ exportArchiveAsync(request: carriers.Archive_ExportArchiveRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ExportArchiveResult>;
537
+ /**
538
+ * Exports the target archive to a downloadable format.
539
+ * @param providerName - The name of the archive provider to use; it will be created via the ArchiveProviderFactory from a plugin
540
+ * @param context - Context parameter, url-encoded string context parameter for ArchiveProvider constructor
541
+ * @param desiredEntities - Comma separated list of the names of the desired entities.
542
+ * @param columns - Comma separated list of the names of the columns wanted; supports display names
543
+ * @param sortOrder -
544
+ * @param restrictions -
545
+ * @param exportType - To what format the archive should be exported; Excel, etc.
546
+ * @param selectedRowIds -
547
+ * @param estimatedRowCount - The estimated amount of rows to be exported. Used to determine if the operation should be run as a batch task or immediately.
548
+ * @returns
549
+ */
550
+ exportArchiveAsync(providerName: string, context: string, desiredEntities: string[], columns: string[], sortOrder: carriers.ArchiveOrderByInfo[], restrictions: carriers.ArchiveRestrictionInfo[], exportType: string, selectedRowIds: string[], estimatedRowCount: number, webapi_options?: base.WebApiRequestOptions): Promise<carriers.ExportArchiveResult>;
551
+ private _getRelatedDataAsync;
552
+ /**
553
+ * Get data for fields related to a table record. While this method /can/ be used to fetch plain fields, that is not the intended usage and it does not replace the Entity.Get methods available for that purpose. Nor does it replace the generic DotSyntax/Dynamic archive provider.
554
+ * @param request - Table, RecordId, Fields
555
+ * @returns Array of field => ArchiveColumnData objects
556
+ */
557
+ getRelatedDataAsync(request: carriers.Archive_GetRelatedDataRequest, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
558
+ /**
559
+ * Get data for fields related to a table record. While this method /can/ be used to fetch plain fields, that is not the intended usage and it does not replace the Entity.Get methods available for that purpose. Nor does it replace the generic DotSyntax/Dynamic archive provider.
560
+ * @param table - The root table to get related data for, such as 'ticket' or 'y_car'
561
+ * @param recordId - The primary key of the root table to get related data for
562
+ * @param fields - Names of fields - these need to be valid in the DotSyntax for this table, and can be arbitrarily deep. Examples: 'title', 'created_by.associate_id.person.fullName', 'x_comment'. Do not start with the root table name.
563
+ * @returns Array of field => ArchiveColumnData objects
564
+ */
565
+ getRelatedDataAsync(table: string, recordId: number, fields: string[], webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
566
+ private _getRelatedData2Async;
567
+ /**
568
+ * Get data for fields related to a table record. While this method /can/ be used to fetch plain fields, that is not the intended usage and it does not replace the Entity.Get methods available for that purpose. Nor does it replace the generic DotSyntax/Dynamic archive provider.
569
+ * @param request - Table, RecordId, Fields
570
+ * @returns Array of field => ArchiveColumnData objects
571
+ */
572
+ getRelatedData2Async(request: carriers.Archive_GetRelatedData2Request, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
573
+ /**
574
+ * Get data for fields related to a table record. While this method /can/ be used to fetch plain fields, that is not the intended usage and it does not replace the Entity.Get methods available for that purpose. Nor does it replace the generic DotSyntax/Dynamic archive provider.
575
+ * @param table - The root table to get related data for, such as 'ticket' or 'y_car'
576
+ * @param recordId - The primary key of the root table to get related data for
577
+ * @param fields - Names of fields as a comma-separated list - these need to be valid in the DotSyntax for this table, and can be arbitrarily deep. Example: 'title,created_by.associate_id.person.fullName, x_comment'. Do not start with the root table name.
578
+ * @returns Array of field => ArchiveColumnData objects
579
+ */
580
+ getRelatedData2Async(table: string, recordId: number, fields: string, webapi_options?: base.WebApiRequestOptions): Promise<carriers.RelatedData[]>;
581
+ }
582
+ //# sourceMappingURL=ArchiveAgent.d.ts.map