@spotto/contract 1.0.70-alpha.42 → 1.0.70-alpha.44

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 (821) hide show
  1. package/README.md +33 -33
  2. package/dist/actions/[id]/index.d.ts +1 -1
  3. package/dist/actions/[id]/index.js +17 -17
  4. package/dist/actions/[id]/patch/index.d.ts +2 -2
  5. package/dist/actions/[id]/patch/index.js +18 -18
  6. package/dist/actions/[id]/patch/request.d.ts +12 -12
  7. package/dist/actions/[id]/patch/request.js +2 -2
  8. package/dist/actions/[id]/patch/response.d.ts +1 -1
  9. package/dist/actions/[id]/patch/response.js +2 -2
  10. package/dist/actions/get/index.d.ts +2 -2
  11. package/dist/actions/get/index.js +18 -18
  12. package/dist/actions/get/query.d.ts +14 -14
  13. package/dist/actions/get/query.js +2 -2
  14. package/dist/actions/get/response.d.ts +25 -25
  15. package/dist/actions/get/response.js +2 -2
  16. package/dist/actions/index.d.ts +4 -4
  17. package/dist/actions/index.js +20 -20
  18. package/dist/actions/post/index.d.ts +2 -2
  19. package/dist/actions/post/index.js +18 -18
  20. package/dist/actions/post/request.d.ts +15 -15
  21. package/dist/actions/post/request.js +2 -2
  22. package/dist/actions/post/response.d.ts +1 -1
  23. package/dist/actions/post/response.js +2 -2
  24. package/dist/actions/shared.d.ts +63 -63
  25. package/dist/actions/shared.js +16 -16
  26. package/dist/ai/chat/index.d.ts +2 -2
  27. package/dist/ai/chat/index.js +18 -18
  28. package/dist/ai/chat/request.d.ts +42 -42
  29. package/dist/ai/chat/request.js +2 -2
  30. package/dist/ai/chat/response.d.ts +74 -74
  31. package/dist/ai/chat/response.js +10 -10
  32. package/dist/ai/expression/index.d.ts +2 -2
  33. package/dist/ai/expression/index.js +18 -18
  34. package/dist/ai/expression/request.d.ts +29 -29
  35. package/dist/ai/expression/request.js +2 -2
  36. package/dist/ai/expression/response.d.ts +23 -23
  37. package/dist/ai/expression/response.js +2 -2
  38. package/dist/ai/index.d.ts +4 -4
  39. package/dist/ai/index.js +20 -20
  40. package/dist/ai/semantic-query/index.d.ts +2 -2
  41. package/dist/ai/semantic-query/index.js +18 -18
  42. package/dist/ai/semantic-query/request.d.ts +43 -43
  43. package/dist/ai/semantic-query/request.js +2 -2
  44. package/dist/ai/semantic-query/response.d.ts +40 -40
  45. package/dist/ai/semantic-query/response.js +2 -2
  46. package/dist/ai/shared.d.ts +22 -22
  47. package/dist/ai/shared.js +10 -10
  48. package/dist/assets/[id]/get.d.ts +98 -98
  49. package/dist/assets/[id]/get.js +2 -2
  50. package/dist/assets/[id]/index.d.ts +4 -4
  51. package/dist/assets/[id]/index.js +20 -20
  52. package/dist/assets/[id]/location.d.ts +6 -6
  53. package/dist/assets/[id]/location.js +2 -2
  54. package/dist/assets/[id]/patch/index.d.ts +2 -2
  55. package/dist/assets/[id]/patch/index.js +18 -18
  56. package/dist/assets/[id]/patch/request.d.ts +16 -16
  57. package/dist/assets/[id]/patch/request.js +2 -2
  58. package/dist/assets/[id]/patch/response.d.ts +7 -7
  59. package/dist/assets/[id]/patch/response.js +2 -2
  60. package/dist/assets/[id]/readers.d.ts +9 -9
  61. package/dist/assets/[id]/readers.js +2 -2
  62. package/dist/assets/count/index.d.ts +2 -2
  63. package/dist/assets/count/index.js +18 -18
  64. package/dist/assets/count/query.d.ts +16 -16
  65. package/dist/assets/count/query.js +2 -2
  66. package/dist/assets/count/response.d.ts +15 -15
  67. package/dist/assets/count/response.js +2 -2
  68. package/dist/assets/count-filtered/index.d.ts +1 -1
  69. package/dist/assets/count-filtered/index.js +17 -17
  70. package/dist/assets/count-filtered/response.d.ts +5 -5
  71. package/dist/assets/count-filtered/response.js +2 -2
  72. package/dist/assets/download/index.d.ts +2 -2
  73. package/dist/assets/download/index.js +18 -18
  74. package/dist/assets/download/query.d.ts +17 -17
  75. package/dist/assets/download/query.js +2 -2
  76. package/dist/assets/download/response.d.ts +3 -3
  77. package/dist/assets/download/response.js +2 -2
  78. package/dist/assets/errors.d.ts +3 -3
  79. package/dist/assets/errors.js +2 -2
  80. package/dist/assets/get/index.d.ts +2 -2
  81. package/dist/assets/get/index.js +18 -18
  82. package/dist/assets/get/query.d.ts +138 -138
  83. package/dist/assets/get/query.js +5 -5
  84. package/dist/assets/get/response.d.ts +12 -12
  85. package/dist/assets/get/response.js +2 -2
  86. package/dist/assets/index.d.ts +14 -14
  87. package/dist/assets/index.js +30 -30
  88. package/dist/assets/location/index.d.ts +2 -2
  89. package/dist/assets/location/index.js +18 -18
  90. package/dist/assets/location/request.d.ts +23 -23
  91. package/dist/assets/location/request.js +2 -2
  92. package/dist/assets/location/response.d.ts +2 -2
  93. package/dist/assets/location/response.js +2 -2
  94. package/dist/assets/partitions/index.d.ts +2 -2
  95. package/dist/assets/partitions/index.js +18 -18
  96. package/dist/assets/partitions/query.d.ts +16 -16
  97. package/dist/assets/partitions/query.js +2 -2
  98. package/dist/assets/partitions/response.d.ts +10 -10
  99. package/dist/assets/partitions/response.js +2 -2
  100. package/dist/assets/post/index.d.ts +2 -2
  101. package/dist/assets/post/index.js +18 -18
  102. package/dist/assets/post/request.d.ts +15 -15
  103. package/dist/assets/post/request.js +9 -9
  104. package/dist/assets/post/response.d.ts +11 -11
  105. package/dist/assets/post/response.js +2 -2
  106. package/dist/assets/readiness/index.d.ts +2 -2
  107. package/dist/assets/readiness/index.js +18 -18
  108. package/dist/assets/readiness/query.d.ts +7 -7
  109. package/dist/assets/readiness/query.js +2 -2
  110. package/dist/assets/readiness/response.d.ts +24 -24
  111. package/dist/assets/readiness/response.js +2 -2
  112. package/dist/assets/rollup/index.d.ts +2 -2
  113. package/dist/assets/rollup/index.js +18 -18
  114. package/dist/assets/rollup/query.d.ts +12 -12
  115. package/dist/assets/rollup/query.js +4 -4
  116. package/dist/assets/rollup/response.d.ts +58 -58
  117. package/dist/assets/rollup/response.js +2 -2
  118. package/dist/assets/suggestions/index.d.ts +2 -2
  119. package/dist/assets/suggestions/index.js +18 -18
  120. package/dist/assets/suggestions/query.d.ts +5 -5
  121. package/dist/assets/suggestions/query.js +2 -2
  122. package/dist/assets/suggestions/response.d.ts +15 -15
  123. package/dist/assets/suggestions/response.js +2 -2
  124. package/dist/assets/summary/index.d.ts +2 -2
  125. package/dist/assets/summary/index.js +18 -18
  126. package/dist/assets/summary/response.d.ts +7 -7
  127. package/dist/assets/summary/response.js +2 -2
  128. package/dist/assets/summary/summary.d.ts +9 -9
  129. package/dist/assets/summary/summary.js +2 -2
  130. package/dist/assets/upload/index.d.ts +2 -2
  131. package/dist/assets/upload/index.js +18 -18
  132. package/dist/assets/upload/request.d.ts +3 -3
  133. package/dist/assets/upload/request.js +2 -2
  134. package/dist/assets/upload/response.d.ts +7 -7
  135. package/dist/assets/upload/response.js +2 -2
  136. package/dist/errors.d.ts +4 -4
  137. package/dist/errors.js +2 -2
  138. package/dist/events/constants.d.ts +61 -61
  139. package/dist/events/constants.js +78 -78
  140. package/dist/events/count/index.d.ts +2 -2
  141. package/dist/events/count/index.js +18 -18
  142. package/dist/events/count/query.d.ts +5 -5
  143. package/dist/events/count/query.js +2 -2
  144. package/dist/events/count/response.d.ts +18 -18
  145. package/dist/events/count/response.js +2 -2
  146. package/dist/events/download/index.d.ts +2 -2
  147. package/dist/events/download/index.js +18 -18
  148. package/dist/events/download/query.d.ts +9 -9
  149. package/dist/events/download/query.js +2 -2
  150. package/dist/events/download/response.d.ts +3 -3
  151. package/dist/events/download/response.js +2 -2
  152. package/dist/events/get/index.d.ts +2 -2
  153. package/dist/events/get/index.js +18 -18
  154. package/dist/events/get/query.d.ts +40 -40
  155. package/dist/events/get/query.js +2 -2
  156. package/dist/events/get/response.d.ts +250 -250
  157. package/dist/events/get/response.js +2 -2
  158. package/dist/events/index.d.ts +5 -5
  159. package/dist/events/index.js +21 -21
  160. package/dist/events/post.d.ts +9 -9
  161. package/dist/events/post.js +2 -2
  162. package/dist/fields/[id]/get.d.ts +28 -28
  163. package/dist/fields/[id]/get.js +2 -2
  164. package/dist/fields/[id]/index.d.ts +2 -2
  165. package/dist/fields/[id]/index.js +18 -18
  166. package/dist/fields/[id]/patch/index.d.ts +2 -2
  167. package/dist/fields/[id]/patch/index.js +18 -18
  168. package/dist/fields/[id]/patch/request.d.ts +32 -32
  169. package/dist/fields/[id]/patch/request.js +2 -2
  170. package/dist/fields/[id]/patch/response.d.ts +1 -1
  171. package/dist/fields/[id]/patch/response.js +2 -2
  172. package/dist/fields/constants.d.ts +72 -72
  173. package/dist/fields/constants.js +55 -55
  174. package/dist/fields/get/index.d.ts +2 -2
  175. package/dist/fields/get/index.js +18 -18
  176. package/dist/fields/get/query.d.ts +9 -9
  177. package/dist/fields/get/query.js +2 -2
  178. package/dist/fields/get/response.d.ts +5 -5
  179. package/dist/fields/get/response.js +2 -2
  180. package/dist/fields/index.d.ts +5 -5
  181. package/dist/fields/index.js +21 -21
  182. package/dist/fields/post/index.d.ts +2 -2
  183. package/dist/fields/post/index.js +18 -18
  184. package/dist/fields/post/request.d.ts +24 -24
  185. package/dist/fields/post/request.js +8 -8
  186. package/dist/fields/post/response.d.ts +5 -5
  187. package/dist/fields/post/response.js +2 -2
  188. package/dist/fields/suggestions/index.d.ts +2 -2
  189. package/dist/fields/suggestions/index.js +18 -18
  190. package/dist/fields/suggestions/query.d.ts +5 -5
  191. package/dist/fields/suggestions/query.js +2 -2
  192. package/dist/fields/suggestions/response.d.ts +15 -15
  193. package/dist/fields/suggestions/response.js +2 -2
  194. package/dist/forms/[id]/index.d.ts +1 -1
  195. package/dist/forms/[id]/index.js +17 -17
  196. package/dist/forms/[id]/patch/index.d.ts +2 -2
  197. package/dist/forms/[id]/patch/index.js +18 -18
  198. package/dist/forms/[id]/patch/request.d.ts +14 -14
  199. package/dist/forms/[id]/patch/request.js +2 -2
  200. package/dist/forms/[id]/patch/response.d.ts +1 -1
  201. package/dist/forms/[id]/patch/response.js +2 -2
  202. package/dist/forms/constants.d.ts +19 -19
  203. package/dist/forms/constants.js +32 -32
  204. package/dist/forms/get/index.d.ts +2 -2
  205. package/dist/forms/get/index.js +18 -18
  206. package/dist/forms/get/query.d.ts +18 -18
  207. package/dist/forms/get/query.js +2 -2
  208. package/dist/forms/get/response.d.ts +23 -23
  209. package/dist/forms/get/response.js +2 -2
  210. package/dist/forms/index.d.ts +6 -6
  211. package/dist/forms/index.js +22 -22
  212. package/dist/forms/post/index.d.ts +2 -2
  213. package/dist/forms/post/index.js +18 -18
  214. package/dist/forms/post/request.d.ts +9 -9
  215. package/dist/forms/post/request.js +2 -2
  216. package/dist/forms/post/response.d.ts +1 -1
  217. package/dist/forms/post/response.js +2 -2
  218. package/dist/forms/shared.d.ts +136 -136
  219. package/dist/forms/shared.js +2 -2
  220. package/dist/forms/versions/index.d.ts +2 -2
  221. package/dist/forms/versions/index.js +18 -18
  222. package/dist/forms/versions/path.d.ts +8 -8
  223. package/dist/forms/versions/path.js +2 -2
  224. package/dist/forms/versions/response.d.ts +1 -1
  225. package/dist/forms/versions/response.js +2 -2
  226. package/dist/index.d.ts +31 -29
  227. package/dist/index.js +47 -45
  228. package/dist/index.js.map +1 -1
  229. package/dist/integrations/constants.d.ts +43 -43
  230. package/dist/integrations/constants.js +7 -7
  231. package/dist/integrations/index.d.ts +3 -3
  232. package/dist/integrations/index.js +19 -19
  233. package/dist/integrations/mqtt/get.d.ts +1 -1
  234. package/dist/integrations/mqtt/get.js +2 -2
  235. package/dist/integrations/mqtt/index.d.ts +2 -2
  236. package/dist/integrations/mqtt/index.js +18 -18
  237. package/dist/integrations/mqtt/patch/index.d.ts +2 -2
  238. package/dist/integrations/mqtt/patch/index.js +18 -18
  239. package/dist/integrations/mqtt/patch/request.d.ts +3 -3
  240. package/dist/integrations/mqtt/patch/request.js +2 -2
  241. package/dist/integrations/mqtt/patch/response.d.ts +1 -1
  242. package/dist/integrations/mqtt/patch/response.js +2 -2
  243. package/dist/integrations/oneblink/index.d.ts +2 -2
  244. package/dist/integrations/oneblink/index.js +18 -18
  245. package/dist/integrations/oneblink/patch/index.d.ts +1 -1
  246. package/dist/integrations/oneblink/patch/index.js +17 -17
  247. package/dist/integrations/oneblink/patch/request.d.ts +8 -8
  248. package/dist/integrations/oneblink/patch/request.js +2 -2
  249. package/dist/integrations/oneblink/token.d.ts +6 -6
  250. package/dist/integrations/oneblink/token.js +2 -2
  251. package/dist/labels/[id]/get.d.ts +6 -6
  252. package/dist/labels/[id]/get.js +2 -2
  253. package/dist/labels/[id]/index.d.ts +2 -2
  254. package/dist/labels/[id]/index.js +18 -18
  255. package/dist/labels/[id]/patch/index.d.ts +2 -2
  256. package/dist/labels/[id]/patch/index.js +18 -18
  257. package/dist/labels/[id]/patch/request.d.ts +3 -3
  258. package/dist/labels/[id]/patch/request.js +2 -2
  259. package/dist/labels/[id]/patch/response.d.ts +1 -1
  260. package/dist/labels/[id]/patch/response.js +2 -2
  261. package/dist/labels/constants.d.ts +4 -4
  262. package/dist/labels/constants.js +2 -2
  263. package/dist/labels/get/index.d.ts +2 -2
  264. package/dist/labels/get/index.js +18 -18
  265. package/dist/labels/get/query.d.ts +11 -11
  266. package/dist/labels/get/query.js +2 -2
  267. package/dist/labels/get/response.d.ts +7 -7
  268. package/dist/labels/get/response.js +2 -2
  269. package/dist/labels/index.d.ts +4 -4
  270. package/dist/labels/index.js +20 -20
  271. package/dist/labels/post/index.d.ts +2 -2
  272. package/dist/labels/post/index.js +18 -18
  273. package/dist/labels/post/request.d.ts +4 -4
  274. package/dist/labels/post/request.js +2 -2
  275. package/dist/labels/post/response.d.ts +5 -5
  276. package/dist/labels/post/response.js +2 -2
  277. package/dist/locations/[id]/get.d.ts +39 -39
  278. package/dist/locations/[id]/get.js +2 -2
  279. package/dist/locations/[id]/index.d.ts +4 -4
  280. package/dist/locations/[id]/index.js +20 -20
  281. package/dist/locations/[id]/inventory.d.ts +9 -9
  282. package/dist/locations/[id]/inventory.js +2 -2
  283. package/dist/locations/[id]/patch/index.d.ts +2 -2
  284. package/dist/locations/[id]/patch/index.js +18 -18
  285. package/dist/locations/[id]/patch/request.d.ts +12 -12
  286. package/dist/locations/[id]/patch/request.js +2 -2
  287. package/dist/locations/[id]/patch/response.d.ts +7 -7
  288. package/dist/locations/[id]/patch/response.js +2 -2
  289. package/dist/locations/[id]/status.d.ts +4 -4
  290. package/dist/locations/[id]/status.js +2 -2
  291. package/dist/locations/constants.d.ts +13 -13
  292. package/dist/locations/constants.js +23 -23
  293. package/dist/locations/count/index.d.ts +2 -2
  294. package/dist/locations/count/index.js +18 -18
  295. package/dist/locations/count/query.d.ts +1 -1
  296. package/dist/locations/count/query.js +2 -2
  297. package/dist/locations/count/response.d.ts +6 -6
  298. package/dist/locations/count/response.js +2 -2
  299. package/dist/locations/download/index.d.ts +2 -2
  300. package/dist/locations/download/index.js +18 -18
  301. package/dist/locations/download/query.d.ts +10 -10
  302. package/dist/locations/download/query.js +2 -2
  303. package/dist/locations/download/response.d.ts +3 -3
  304. package/dist/locations/download/response.js +2 -2
  305. package/dist/locations/errors.d.ts +3 -3
  306. package/dist/locations/errors.js +2 -2
  307. package/dist/locations/get/index.d.ts +2 -2
  308. package/dist/locations/get/index.js +18 -18
  309. package/dist/locations/get/query.d.ts +54 -54
  310. package/dist/locations/get/query.js +2 -2
  311. package/dist/locations/get/response.d.ts +7 -7
  312. package/dist/locations/get/response.js +2 -2
  313. package/dist/locations/index.d.ts +8 -8
  314. package/dist/locations/index.js +24 -24
  315. package/dist/locations/post/index.d.ts +2 -2
  316. package/dist/locations/post/index.js +18 -18
  317. package/dist/locations/post/request.d.ts +13 -13
  318. package/dist/locations/post/request.js +2 -2
  319. package/dist/locations/post/response.d.ts +11 -11
  320. package/dist/locations/post/response.js +2 -2
  321. package/dist/locations/suggestions/index.d.ts +2 -2
  322. package/dist/locations/suggestions/index.js +18 -18
  323. package/dist/locations/suggestions/query.d.ts +7 -7
  324. package/dist/locations/suggestions/query.js +2 -2
  325. package/dist/locations/suggestions/response.d.ts +15 -15
  326. package/dist/locations/suggestions/response.js +2 -2
  327. package/dist/manifests/[id]/delete.d.ts +9 -0
  328. package/dist/manifests/[id]/delete.js +3 -0
  329. package/dist/manifests/[id]/delete.js.map +1 -0
  330. package/dist/manifests/[id]/get.d.ts +57 -57
  331. package/dist/manifests/[id]/get.js +38 -38
  332. package/dist/manifests/[id]/index.d.ts +3 -2
  333. package/dist/manifests/[id]/index.js +19 -18
  334. package/dist/manifests/[id]/index.js.map +1 -1
  335. package/dist/manifests/[id]/patch/index.d.ts +2 -2
  336. package/dist/manifests/[id]/patch/index.js +18 -18
  337. package/dist/manifests/[id]/patch/request.d.ts +15 -15
  338. package/dist/manifests/[id]/patch/request.js +45 -45
  339. package/dist/manifests/[id]/patch/response.d.ts +1 -1
  340. package/dist/manifests/[id]/patch/response.js +2 -2
  341. package/dist/manifests/formItems.d.ts +62 -62
  342. package/dist/manifests/formItems.js +2 -2
  343. package/dist/manifests/get/index.d.ts +2 -2
  344. package/dist/manifests/get/index.js +18 -18
  345. package/dist/manifests/get/query.d.ts +11 -11
  346. package/dist/manifests/get/query.js +2 -2
  347. package/dist/manifests/get/response.d.ts +7 -7
  348. package/dist/manifests/get/response.js +2 -2
  349. package/dist/manifests/index.d.ts +6 -6
  350. package/dist/manifests/index.js +22 -22
  351. package/dist/manifests/post/index.d.ts +2 -2
  352. package/dist/manifests/post/index.js +18 -18
  353. package/dist/manifests/post/request.d.ts +22 -22
  354. package/dist/manifests/post/request.js +51 -51
  355. package/dist/manifests/post/response.d.ts +5 -5
  356. package/dist/manifests/post/response.js +2 -2
  357. package/dist/manifests/rules.d.ts +131 -131
  358. package/dist/manifests/rules.js +2 -2
  359. package/dist/manifests/suggestions/index.d.ts +2 -2
  360. package/dist/manifests/suggestions/index.js +18 -18
  361. package/dist/manifests/suggestions/query.d.ts +5 -5
  362. package/dist/manifests/suggestions/query.js +2 -2
  363. package/dist/manifests/suggestions/response.d.ts +15 -15
  364. package/dist/manifests/suggestions/response.js +2 -2
  365. package/dist/networks/constants.d.ts +6 -6
  366. package/dist/networks/constants.js +2 -2
  367. package/dist/networks/index.d.ts +1 -1
  368. package/dist/networks/index.js +17 -17
  369. package/dist/organisations/[id]/delete/index.d.ts +2 -2
  370. package/dist/organisations/[id]/delete/index.js +18 -18
  371. package/dist/organisations/[id]/delete/query.d.ts +3 -3
  372. package/dist/organisations/[id]/delete/query.js +2 -2
  373. package/dist/organisations/[id]/delete/response.d.ts +13 -13
  374. package/dist/organisations/[id]/delete/response.js +2 -2
  375. package/dist/organisations/[id]/get.d.ts +36 -36
  376. package/dist/organisations/[id]/get.js +2 -2
  377. package/dist/organisations/[id]/index.d.ts +4 -4
  378. package/dist/organisations/[id]/index.js +20 -20
  379. package/dist/organisations/[id]/patch/index.d.ts +2 -2
  380. package/dist/organisations/[id]/patch/index.js +18 -18
  381. package/dist/organisations/[id]/patch/request.d.ts +13 -13
  382. package/dist/organisations/[id]/patch/request.js +2 -2
  383. package/dist/organisations/[id]/patch/response.d.ts +1 -1
  384. package/dist/organisations/[id]/patch/response.js +2 -2
  385. package/dist/organisations/[id]/wifi/index.d.ts +2 -2
  386. package/dist/organisations/[id]/wifi/index.js +18 -18
  387. package/dist/organisations/[id]/wifi/query.d.ts +3 -3
  388. package/dist/organisations/[id]/wifi/query.js +2 -2
  389. package/dist/organisations/[id]/wifi/response.d.ts +4 -4
  390. package/dist/organisations/[id]/wifi/response.js +2 -2
  391. package/dist/organisations/constants.d.ts +64 -55
  392. package/dist/organisations/constants.js +12 -12
  393. package/dist/organisations/constants.js.map +1 -1
  394. package/dist/organisations/get/index.d.ts +2 -2
  395. package/dist/organisations/get/index.js +18 -18
  396. package/dist/organisations/get/query.d.ts +11 -11
  397. package/dist/organisations/get/query.js +2 -2
  398. package/dist/organisations/get/response.d.ts +7 -7
  399. package/dist/organisations/get/response.js +2 -2
  400. package/dist/organisations/index.d.ts +5 -5
  401. package/dist/organisations/index.js +21 -21
  402. package/dist/organisations/post/index.d.ts +2 -2
  403. package/dist/organisations/post/index.js +18 -18
  404. package/dist/organisations/post/request.d.ts +6 -6
  405. package/dist/organisations/post/request.js +2 -2
  406. package/dist/organisations/post/response.d.ts +1 -1
  407. package/dist/organisations/post/response.js +2 -2
  408. package/dist/organisations/sso/constants.d.ts +63 -63
  409. package/dist/organisations/sso/constants.js +65 -65
  410. package/dist/organisations/sso/index.d.ts +2 -2
  411. package/dist/organisations/sso/index.js +18 -18
  412. package/dist/organisations/sso/types.d.ts +162 -162
  413. package/dist/organisations/sso/types.js +12 -12
  414. package/dist/readers/[id]/get.d.ts +41 -41
  415. package/dist/readers/[id]/get.js +2 -2
  416. package/dist/readers/[id]/index.d.ts +4 -4
  417. package/dist/readers/[id]/index.js +20 -20
  418. package/dist/readers/[id]/inventory/index.d.ts +1 -1
  419. package/dist/readers/[id]/inventory/index.js +17 -17
  420. package/dist/readers/[id]/inventory/response.d.ts +5 -5
  421. package/dist/readers/[id]/inventory/response.js +2 -2
  422. package/dist/readers/[id]/patch/index.d.ts +2 -2
  423. package/dist/readers/[id]/patch/index.js +18 -18
  424. package/dist/readers/[id]/patch/request.d.ts +13 -13
  425. package/dist/readers/[id]/patch/request.js +2 -2
  426. package/dist/readers/[id]/patch/response.d.ts +1 -1
  427. package/dist/readers/[id]/patch/response.js +2 -2
  428. package/dist/readers/[id]/status.d.ts +4 -4
  429. package/dist/readers/[id]/status.js +2 -2
  430. package/dist/readers/constants/deviceTypes.d.ts +43 -43
  431. package/dist/readers/constants/deviceTypes.js +198 -198
  432. package/dist/readers/constants/index.d.ts +2 -2
  433. package/dist/readers/constants/index.js +18 -18
  434. package/dist/readers/constants/types.d.ts +10 -10
  435. package/dist/readers/constants/types.js +24 -24
  436. package/dist/readers/count/index.d.ts +2 -2
  437. package/dist/readers/count/index.js +18 -18
  438. package/dist/readers/count/query.d.ts +1 -1
  439. package/dist/readers/count/query.js +2 -2
  440. package/dist/readers/count/response.d.ts +5 -5
  441. package/dist/readers/count/response.js +2 -2
  442. package/dist/readers/download/index.d.ts +2 -2
  443. package/dist/readers/download/index.js +18 -18
  444. package/dist/readers/download/query.d.ts +10 -10
  445. package/dist/readers/download/query.js +2 -2
  446. package/dist/readers/download/response.d.ts +3 -3
  447. package/dist/readers/download/response.js +2 -2
  448. package/dist/readers/get/index.d.ts +2 -2
  449. package/dist/readers/get/index.js +18 -18
  450. package/dist/readers/get/query.d.ts +36 -36
  451. package/dist/readers/get/query.js +2 -2
  452. package/dist/readers/get/response.d.ts +7 -7
  453. package/dist/readers/get/response.js +2 -2
  454. package/dist/readers/index.d.ts +8 -8
  455. package/dist/readers/index.js +24 -24
  456. package/dist/readers/post/index.d.ts +2 -2
  457. package/dist/readers/post/index.js +18 -18
  458. package/dist/readers/post/request.d.ts +14 -14
  459. package/dist/readers/post/request.js +2 -2
  460. package/dist/readers/post/response.d.ts +5 -5
  461. package/dist/readers/post/response.js +2 -2
  462. package/dist/readers/suggestions/index.d.ts +2 -2
  463. package/dist/readers/suggestions/index.js +18 -18
  464. package/dist/readers/suggestions/query.d.ts +5 -5
  465. package/dist/readers/suggestions/query.js +2 -2
  466. package/dist/readers/suggestions/response.d.ts +15 -15
  467. package/dist/readers/suggestions/response.js +2 -2
  468. package/dist/readers/user/index.d.ts +2 -2
  469. package/dist/readers/user/index.js +18 -18
  470. package/dist/readers/user/request.d.ts +3 -3
  471. package/dist/readers/user/request.js +2 -2
  472. package/dist/readers/user/response.d.ts +8 -8
  473. package/dist/readers/user/response.js +2 -2
  474. package/dist/reports.d.ts +38 -38
  475. package/dist/reports.js +2 -2
  476. package/dist/roles/[id]/get.d.ts +6 -6
  477. package/dist/roles/[id]/get.js +2 -2
  478. package/dist/roles/[id]/index.d.ts +1 -1
  479. package/dist/roles/[id]/index.js +17 -17
  480. package/dist/roles/get/index.d.ts +2 -2
  481. package/dist/roles/get/index.js +18 -18
  482. package/dist/roles/get/query.d.ts +7 -7
  483. package/dist/roles/get/query.js +2 -2
  484. package/dist/roles/get/response.d.ts +7 -7
  485. package/dist/roles/get/response.js +2 -2
  486. package/dist/roles/index.d.ts +3 -3
  487. package/dist/roles/index.js +19 -19
  488. package/dist/roles/post/index.d.ts +2 -2
  489. package/dist/roles/post/index.js +18 -18
  490. package/dist/roles/post/request.d.ts +6 -6
  491. package/dist/roles/post/request.js +2 -2
  492. package/dist/roles/post/response.d.ts +1 -1
  493. package/dist/roles/post/response.js +2 -2
  494. package/dist/semantic-queries/[id]/index.d.ts +1 -1
  495. package/dist/semantic-queries/[id]/index.js +17 -17
  496. package/dist/semantic-queries/[id]/patch/index.d.ts +2 -2
  497. package/dist/semantic-queries/[id]/patch/index.js +18 -18
  498. package/dist/semantic-queries/[id]/patch/request.d.ts +20 -20
  499. package/dist/semantic-queries/[id]/patch/request.js +2 -2
  500. package/dist/semantic-queries/[id]/patch/response.d.ts +1 -1
  501. package/dist/semantic-queries/[id]/patch/response.js +2 -2
  502. package/dist/semantic-queries/get/index.d.ts +2 -2
  503. package/dist/semantic-queries/get/index.js +18 -18
  504. package/dist/semantic-queries/get/query.d.ts +18 -18
  505. package/dist/semantic-queries/get/query.js +2 -2
  506. package/dist/semantic-queries/get/response.d.ts +40 -40
  507. package/dist/semantic-queries/get/response.js +2 -2
  508. package/dist/semantic-queries/index.d.ts +4 -4
  509. package/dist/semantic-queries/index.js +20 -20
  510. package/dist/semantic-queries/post/index.d.ts +2 -2
  511. package/dist/semantic-queries/post/index.js +18 -18
  512. package/dist/semantic-queries/post/request.d.ts +56 -56
  513. package/dist/semantic-queries/post/request.js +2 -2
  514. package/dist/semantic-queries/post/response.d.ts +1 -1
  515. package/dist/semantic-queries/post/response.js +2 -2
  516. package/dist/semantic-queries/shared.d.ts +876 -876
  517. package/dist/semantic-queries/shared.js +318 -318
  518. package/dist/shared/attachments.d.ts +29 -29
  519. package/dist/shared/attachments.js +10 -10
  520. package/dist/shared/body.d.ts +6 -6
  521. package/dist/shared/body.js +2 -2
  522. package/dist/shared/delete.d.ts +3 -3
  523. package/dist/shared/delete.js +2 -2
  524. package/dist/shared/embed.d.ts +22 -22
  525. package/dist/shared/embed.js +2 -2
  526. package/dist/shared/errors.d.ts +3 -3
  527. package/dist/shared/errors.js +2 -2
  528. package/dist/shared/headers.d.ts +3 -3
  529. package/dist/shared/headers.js +2 -2
  530. package/dist/shared/index.d.ts +13 -13
  531. package/dist/shared/index.js +29 -29
  532. package/dist/shared/path.d.ts +3 -3
  533. package/dist/shared/path.js +2 -2
  534. package/dist/shared/query.d.ts +12 -12
  535. package/dist/shared/query.js +2 -2
  536. package/dist/shared/readiness.d.ts +123 -123
  537. package/dist/shared/readiness.js +10 -10
  538. package/dist/shared/relative-date.d.ts +17 -17
  539. package/dist/shared/relative-date.js +11 -11
  540. package/dist/shared/sort.d.ts +12 -12
  541. package/dist/shared/sort.js +13 -13
  542. package/dist/shared/timestamp.d.ts +2 -2
  543. package/dist/shared/timestamp.js +4 -4
  544. package/dist/shared/timezone.d.ts +4 -4
  545. package/dist/shared/timezone.js +357 -357
  546. package/dist/snapshots/[id]/get.d.ts +305 -303
  547. package/dist/snapshots/[id]/get.js +34 -34
  548. package/dist/snapshots/[id]/get.js.map +1 -1
  549. package/dist/snapshots/[id]/index.d.ts +1 -1
  550. package/dist/snapshots/[id]/index.js +17 -17
  551. package/dist/snapshots/get/index.d.ts +2 -2
  552. package/dist/snapshots/get/index.js +18 -18
  553. package/dist/snapshots/get/query.d.ts +64 -64
  554. package/dist/snapshots/get/query.js +26 -26
  555. package/dist/snapshots/get/response.d.ts +7 -7
  556. package/dist/snapshots/get/response.js +2 -2
  557. package/dist/snapshots/index.d.ts +3 -3
  558. package/dist/snapshots/index.js +19 -19
  559. package/dist/snapshots/post/index.d.ts +2 -2
  560. package/dist/snapshots/post/index.js +18 -18
  561. package/dist/snapshots/post/request.d.ts +102 -95
  562. package/dist/snapshots/post/request.js +239 -239
  563. package/dist/snapshots/post/request.js.map +1 -1
  564. package/dist/snapshots/post/response.d.ts +25 -16
  565. package/dist/snapshots/post/response.js +2 -2
  566. package/dist/sso/discover/index.d.ts +2 -2
  567. package/dist/sso/discover/index.js +18 -18
  568. package/dist/sso/discover/request.d.ts +9 -9
  569. package/dist/sso/discover/request.js +2 -2
  570. package/dist/sso/discover/response.d.ts +17 -17
  571. package/dist/sso/discover/response.js +2 -2
  572. package/dist/sso/get/index.d.ts +1 -1
  573. package/dist/sso/get/index.js +17 -17
  574. package/dist/sso/get/response.d.ts +22 -22
  575. package/dist/sso/get/response.js +2 -2
  576. package/dist/sso/idp-setup.d.ts +32 -32
  577. package/dist/sso/idp-setup.js +2 -2
  578. package/dist/sso/index.d.ts +7 -7
  579. package/dist/sso/index.js +23 -23
  580. package/dist/sso/offboard/index.d.ts +1 -1
  581. package/dist/sso/offboard/index.js +17 -17
  582. package/dist/sso/offboard/response.d.ts +9 -9
  583. package/dist/sso/offboard/response.js +2 -2
  584. package/dist/sso/onboard/index.d.ts +2 -2
  585. package/dist/sso/onboard/index.js +18 -18
  586. package/dist/sso/onboard/request.d.ts +70 -70
  587. package/dist/sso/onboard/request.js +2 -2
  588. package/dist/sso/onboard/response.d.ts +25 -25
  589. package/dist/sso/onboard/response.js +2 -2
  590. package/dist/sso/revert/index.d.ts +1 -1
  591. package/dist/sso/revert/index.js +17 -17
  592. package/dist/sso/revert/response.d.ts +33 -33
  593. package/dist/sso/revert/response.js +2 -2
  594. package/dist/sso/sso-mappings/index.d.ts +2 -2
  595. package/dist/sso/sso-mappings/index.js +18 -18
  596. package/dist/sso/sso-mappings/request.d.ts +19 -19
  597. package/dist/sso/sso-mappings/request.js +2 -2
  598. package/dist/sso/sso-mappings/response.d.ts +9 -9
  599. package/dist/sso/sso-mappings/response.js +2 -2
  600. package/dist/submissions/[id]/index.d.ts +1 -1
  601. package/dist/submissions/[id]/index.js +17 -17
  602. package/dist/submissions/[id]/void/post.d.ts +6 -6
  603. package/dist/submissions/[id]/void/post.js +2 -2
  604. package/dist/submissions/constants.d.ts +14 -14
  605. package/dist/submissions/constants.js +20 -20
  606. package/dist/submissions/get/index.d.ts +2 -2
  607. package/dist/submissions/get/index.js +18 -18
  608. package/dist/submissions/get/query.d.ts +14 -14
  609. package/dist/submissions/get/query.js +2 -2
  610. package/dist/submissions/get/response.d.ts +6 -6
  611. package/dist/submissions/get/response.js +2 -2
  612. package/dist/submissions/index.d.ts +6 -6
  613. package/dist/submissions/index.js +22 -22
  614. package/dist/submissions/post/index.d.ts +2 -2
  615. package/dist/submissions/post/index.js +18 -18
  616. package/dist/submissions/post/request.d.ts +24 -17
  617. package/dist/submissions/post/request.js +2 -2
  618. package/dist/submissions/post/response.d.ts +30 -22
  619. package/dist/submissions/post/response.js +2 -2
  620. package/dist/submissions/shared.d.ts +135 -133
  621. package/dist/submissions/shared.js +2 -2
  622. package/dist/submissions/uploads/[fileId]/get.d.ts +11 -11
  623. package/dist/submissions/uploads/[fileId]/get.js +2 -2
  624. package/dist/submissions/uploads/[fileId]/index.d.ts +1 -1
  625. package/dist/submissions/uploads/[fileId]/index.js +17 -17
  626. package/dist/submissions/uploads/index.d.ts +2 -2
  627. package/dist/submissions/uploads/index.js +18 -18
  628. package/dist/submissions/uploads/post/index.d.ts +2 -2
  629. package/dist/submissions/uploads/post/index.js +18 -18
  630. package/dist/submissions/uploads/post/request.d.ts +9 -9
  631. package/dist/submissions/uploads/post/request.js +2 -2
  632. package/dist/submissions/uploads/post/response.d.ts +18 -18
  633. package/dist/submissions/uploads/post/response.js +2 -2
  634. package/dist/system/index.d.ts +5 -5
  635. package/dist/system/index.js +2 -2
  636. package/dist/tags/constants.d.ts +9 -9
  637. package/dist/tags/constants.js +2 -2
  638. package/dist/tags/errors.d.ts +19 -19
  639. package/dist/tags/errors.js +2 -2
  640. package/dist/tags/get/index.d.ts +2 -2
  641. package/dist/tags/get/index.js +18 -18
  642. package/dist/tags/get/query.d.ts +3 -3
  643. package/dist/tags/get/query.js +2 -2
  644. package/dist/tags/get/response.d.ts +7 -7
  645. package/dist/tags/get/response.js +2 -2
  646. package/dist/tags/index.d.ts +3 -3
  647. package/dist/tags/index.js +19 -19
  648. package/dist/tasks/[id]/index.d.ts +39 -0
  649. package/dist/tasks/[id]/index.js +3 -0
  650. package/dist/tasks/[id]/index.js.map +1 -0
  651. package/dist/tasks/access.d.ts +24 -0
  652. package/dist/tasks/access.js +3 -0
  653. package/dist/tasks/access.js.map +1 -0
  654. package/dist/tasks/get.d.ts +39 -0
  655. package/dist/tasks/get.js +5 -0
  656. package/dist/tasks/get.js.map +1 -0
  657. package/dist/tasks/index.d.ts +6 -0
  658. package/dist/tasks/index.js +23 -0
  659. package/dist/tasks/index.js.map +1 -0
  660. package/dist/tasks/post.d.ts +47 -0
  661. package/dist/tasks/post.js +3 -0
  662. package/dist/tasks/post.js.map +1 -0
  663. package/dist/tasks/settlement.d.ts +59 -0
  664. package/dist/tasks/settlement.js +18 -0
  665. package/dist/tasks/settlement.js.map +1 -0
  666. package/dist/tasks/shared.d.ts +219 -0
  667. package/dist/tasks/shared.js +36 -0
  668. package/dist/tasks/shared.js.map +1 -0
  669. package/dist/tasktemplates/index.d.ts +82 -0
  670. package/dist/tasktemplates/index.js +3 -0
  671. package/dist/tasktemplates/index.js.map +1 -0
  672. package/dist/telemetry.d.ts +10 -10
  673. package/dist/telemetry.js +2 -2
  674. package/dist/types/[id]/get.d.ts +69 -69
  675. package/dist/types/[id]/get.js +2 -2
  676. package/dist/types/[id]/index.d.ts +2 -2
  677. package/dist/types/[id]/index.js +18 -18
  678. package/dist/types/[id]/patch/index.d.ts +2 -2
  679. package/dist/types/[id]/patch/index.js +18 -18
  680. package/dist/types/[id]/patch/request.d.ts +33 -33
  681. package/dist/types/[id]/patch/request.js +2 -2
  682. package/dist/types/[id]/patch/response.d.ts +1 -1
  683. package/dist/types/[id]/patch/response.js +2 -2
  684. package/dist/types/constants.d.ts +9 -9
  685. package/dist/types/constants.js +12 -12
  686. package/dist/types/get/index.d.ts +2 -2
  687. package/dist/types/get/index.js +18 -18
  688. package/dist/types/get/query.d.ts +10 -10
  689. package/dist/types/get/query.js +2 -2
  690. package/dist/types/get/response.d.ts +7 -7
  691. package/dist/types/get/response.js +2 -2
  692. package/dist/types/hierarchy/index.d.ts +1 -1
  693. package/dist/types/hierarchy/index.js +17 -17
  694. package/dist/types/hierarchy/response.d.ts +8 -8
  695. package/dist/types/hierarchy/response.js +27 -27
  696. package/dist/types/index.d.ts +6 -6
  697. package/dist/types/index.js +22 -22
  698. package/dist/types/post/index.d.ts +2 -2
  699. package/dist/types/post/index.js +18 -18
  700. package/dist/types/post/request.d.ts +110 -110
  701. package/dist/types/post/request.js +24 -24
  702. package/dist/types/post/response.d.ts +5 -5
  703. package/dist/types/post/response.js +2 -2
  704. package/dist/types/suggestions/index.d.ts +2 -2
  705. package/dist/types/suggestions/index.js +18 -18
  706. package/dist/types/suggestions/query.d.ts +5 -5
  707. package/dist/types/suggestions/query.js +2 -2
  708. package/dist/types/suggestions/response.d.ts +15 -15
  709. package/dist/types/suggestions/response.js +2 -2
  710. package/dist/usergroups/[id]/index.d.ts +1 -1
  711. package/dist/usergroups/[id]/index.js +17 -17
  712. package/dist/usergroups/[id]/patch/index.d.ts +2 -2
  713. package/dist/usergroups/[id]/patch/index.js +18 -18
  714. package/dist/usergroups/[id]/patch/request.d.ts +23 -23
  715. package/dist/usergroups/[id]/patch/request.js +2 -2
  716. package/dist/usergroups/[id]/patch/response.d.ts +1 -1
  717. package/dist/usergroups/[id]/patch/response.js +2 -2
  718. package/dist/usergroups/access.d.ts +100 -100
  719. package/dist/usergroups/access.js +23 -23
  720. package/dist/usergroups/get/index.d.ts +2 -2
  721. package/dist/usergroups/get/index.js +18 -18
  722. package/dist/usergroups/get/query.d.ts +12 -12
  723. package/dist/usergroups/get/query.js +2 -2
  724. package/dist/usergroups/get/response.d.ts +44 -44
  725. package/dist/usergroups/get/response.js +2 -2
  726. package/dist/usergroups/index.d.ts +5 -5
  727. package/dist/usergroups/index.js +21 -21
  728. package/dist/usergroups/post/index.d.ts +2 -2
  729. package/dist/usergroups/post/index.js +18 -18
  730. package/dist/usergroups/post/request.d.ts +17 -17
  731. package/dist/usergroups/post/request.js +2 -2
  732. package/dist/usergroups/post/response.d.ts +1 -1
  733. package/dist/usergroups/post/response.js +2 -2
  734. package/dist/usergroups/shared.d.ts +8 -8
  735. package/dist/usergroups/shared.js +10 -10
  736. package/dist/users/[id]/disable.d.ts +7 -7
  737. package/dist/users/[id]/disable.js +2 -2
  738. package/dist/users/[id]/enable.d.ts +6 -6
  739. package/dist/users/[id]/enable.js +2 -2
  740. package/dist/users/[id]/get/index.d.ts +2 -2
  741. package/dist/users/[id]/get/index.js +18 -18
  742. package/dist/users/[id]/get/query.d.ts +3 -3
  743. package/dist/users/[id]/get/query.js +2 -2
  744. package/dist/users/[id]/get/response.d.ts +39 -39
  745. package/dist/users/[id]/get/response.js +2 -2
  746. package/dist/users/[id]/index.d.ts +5 -5
  747. package/dist/users/[id]/index.js +21 -21
  748. package/dist/users/[id]/key.d.ts +3 -3
  749. package/dist/users/[id]/key.js +2 -2
  750. package/dist/users/[id]/patch/index.d.ts +2 -2
  751. package/dist/users/[id]/patch/index.js +18 -18
  752. package/dist/users/[id]/patch/request.d.ts +10 -10
  753. package/dist/users/[id]/patch/request.js +2 -2
  754. package/dist/users/[id]/patch/response.d.ts +1 -1
  755. package/dist/users/[id]/patch/response.js +2 -2
  756. package/dist/users/console.d.ts +15 -15
  757. package/dist/users/console.js +4 -4
  758. package/dist/users/constants.d.ts +2 -2
  759. package/dist/users/constants.js +4 -4
  760. package/dist/users/current.d.ts +115 -108
  761. package/dist/users/current.js +2 -2
  762. package/dist/users/get/index.d.ts +2 -2
  763. package/dist/users/get/index.js +18 -18
  764. package/dist/users/get/query.d.ts +15 -15
  765. package/dist/users/get/query.js +2 -2
  766. package/dist/users/get/response.d.ts +7 -7
  767. package/dist/users/get/response.js +2 -2
  768. package/dist/users/home-layout/index.d.ts +3 -3
  769. package/dist/users/home-layout/index.js +19 -19
  770. package/dist/users/home-layout/request.d.ts +5 -5
  771. package/dist/users/home-layout/request.js +2 -2
  772. package/dist/users/home-layout/response.d.ts +5 -5
  773. package/dist/users/home-layout/response.js +2 -2
  774. package/dist/users/home-layout/shared.d.ts +288 -288
  775. package/dist/users/home-layout/shared.js +29 -29
  776. package/dist/users/index.d.ts +9 -9
  777. package/dist/users/index.js +25 -25
  778. package/dist/users/invites.d.ts +19 -19
  779. package/dist/users/invites.js +2 -2
  780. package/dist/users/password-reset.d.ts +33 -33
  781. package/dist/users/password-reset.js +2 -2
  782. package/dist/users/post/index.d.ts +2 -2
  783. package/dist/users/post/index.js +18 -18
  784. package/dist/users/post/request.d.ts +25 -25
  785. package/dist/users/post/request.js +2 -2
  786. package/dist/users/post/response.d.ts +1 -1
  787. package/dist/users/post/response.js +2 -2
  788. package/dist/views/[id]/index.d.ts +1 -1
  789. package/dist/views/[id]/index.js +17 -17
  790. package/dist/views/[id]/patch/index.d.ts +2 -2
  791. package/dist/views/[id]/patch/index.js +18 -18
  792. package/dist/views/[id]/patch/request.d.ts +9 -9
  793. package/dist/views/[id]/patch/request.js +2 -2
  794. package/dist/views/[id]/patch/response.d.ts +1 -1
  795. package/dist/views/[id]/patch/response.js +2 -2
  796. package/dist/views/get/index.d.ts +2 -2
  797. package/dist/views/get/index.js +18 -18
  798. package/dist/views/get/query.d.ts +12 -12
  799. package/dist/views/get/query.js +2 -2
  800. package/dist/views/get/response.d.ts +20 -20
  801. package/dist/views/get/response.js +2 -2
  802. package/dist/views/index.d.ts +4 -4
  803. package/dist/views/index.js +20 -20
  804. package/dist/views/post/index.d.ts +2 -2
  805. package/dist/views/post/index.js +18 -18
  806. package/dist/views/post/request.d.ts +10 -10
  807. package/dist/views/post/request.js +2 -2
  808. package/dist/views/post/response.d.ts +1 -1
  809. package/dist/views/post/response.js +2 -2
  810. package/dist/views/shared.d.ts +27 -27
  811. package/dist/views/shared.js +2 -2
  812. package/dist/workflows/index.d.ts +2 -44
  813. package/dist/workflows/index.js +18 -2
  814. package/dist/workflows/index.js.map +1 -1
  815. package/dist/workflows/legacy.d.ts +60 -0
  816. package/dist/workflows/legacy.js +3 -0
  817. package/dist/workflows/legacy.js.map +1 -0
  818. package/dist/workflows/workflow.d.ts +398 -0
  819. package/dist/workflows/workflow.js +69 -0
  820. package/dist/workflows/workflow.js.map +1 -0
  821. package/package.json +2 -2
@@ -1,138 +1,138 @@
1
- import { DateCondition, ReadinessState, SearchableSortFields, SortOrders } from '../../shared';
2
- import { LocationStatus } from '../../locations/constants';
3
- import { ListScope } from '../../usergroups/access';
4
- export declare type AssetSearchField = 'name' | 'tagIds';
5
- /**
6
- * How the space-separated pieces of a search term combine: `any`, the
7
- * default, matches an asset holding any one of them; `every` matches only an
8
- * asset holding all of them, each piece found as it would be if searched for
9
- * alone. One addition under `every` with `searchFuzzy: false`: a piece with
10
- * punctuation in it must also be found as typed, which a search of that
11
- * piece alone does not ask.
12
- */
13
- export declare type AssetSearchMatch = 'any' | 'every';
14
- export declare type AssetEmbedField = 'meta' | 'tagIds' | 'candidateLocations' | 'telemetry' | 'readers' | 'readiness';
15
- export declare type AssetSortField = SearchableSortFields | 'battery' | 'ready';
16
- export declare type AssetBatteryStatus = 'critical' | 'low' | 'ok';
17
- /** The `treeLevel` value for the top of the kit tree; any other value is a kit's id. */
18
- export declare const TREE_LEVEL_ROOT = "root";
19
- declare type _CustomFieldsAssetFilterBase = {
20
- id: string;
21
- };
22
- export declare type CustomFieldsAssetFilterValue = _CustomFieldsAssetFilterBase & {
23
- values: any[];
24
- };
25
- export declare type CustomFieldsAssetFilterDateCondition = _CustomFieldsAssetFilterBase & {
26
- conditions: DateCondition[];
27
- };
28
- export declare type CustomFieldsAssetFilterNumberRange = _CustomFieldsAssetFilterBase & {
29
- from: number;
30
- to: number;
31
- };
32
- export declare type CustomFieldsAssetFilterBoolean = _CustomFieldsAssetFilterBase & {
33
- value: boolean;
34
- };
35
- export declare type CustomFieldsAssetFilter = CustomFieldsAssetFilterValue | CustomFieldsAssetFilterDateCondition | CustomFieldsAssetFilterNumberRange | CustomFieldsAssetFilterBoolean;
36
- export declare type CustomFieldValues = {
37
- values?: Array<CustomFieldsAssetFilterValue>;
38
- integerRanges?: Array<CustomFieldsAssetFilterNumberRange>;
39
- decimalRanges?: Array<CustomFieldsAssetFilterNumberRange>;
40
- dateConditions?: Array<CustomFieldsAssetFilterDateCondition>;
41
- dateTimeConditions?: Array<CustomFieldsAssetFilterDateCondition>;
42
- booleanValues?: Array<CustomFieldsAssetFilterBoolean>;
43
- };
44
- export interface AssetFilters {
45
- labels?: string[];
46
- ids?: string[];
47
- tagIds?: string[];
48
- hasTags?: boolean;
49
- hasReported?: boolean;
50
- hasGeolocationState?: boolean;
51
- /** At a named location (true) or not at any (false) — tested on the stored location path. */
52
- hasLocation?: boolean;
53
- /** Seen (a status other than never-seen) and not at any named location — the location view's "Seen, without a location" row. */
54
- seenWithoutLocation?: boolean;
55
- locationStatus?: Array<LocationStatus>;
56
- visiting?: boolean;
57
- battery?: AssetBatteryStatus;
58
- search?: string;
59
- searchFuzzy?: boolean;
60
- /**
61
- * `every` asks that every space-separated piece of `search` be found on
62
- * the asset, in any order and in any of the places the search looks;
63
- * absent or `any`, one piece is enough, as it always was. A term of one
64
- * piece is the same search either way.
65
- */
66
- searchMatch?: AssetSearchMatch;
67
- searchFields?: Array<AssetSearchField>;
68
- typeIds?: string[];
69
- typePathBeginsWith?: string[];
70
- locationIds?: string[];
71
- locationPathBeginsWith?: string[];
72
- homeLocationIds?: string[];
73
- homeLocationPathBeginsWith?: string[];
74
- customFieldValues?: CustomFieldValues;
75
- locationWithIds?: string[];
76
- manifestIds?: string[];
77
- supportsWith?: boolean;
78
- withAsset?: boolean;
79
- dispatched?: boolean;
80
- timeSensitive?: boolean;
81
- ready?: ReadinessState[];
82
- hasReadyIssues?: boolean;
83
- createdAt?: DateCondition[];
84
- updatedAt?: DateCondition[];
85
- lastSeen?: DateCondition[];
86
- /** Offline-sync delta read: matches records whose `lastChanged` >= this ms-epoch. */
87
- updatedAfter?: number;
88
- }
89
- export interface GetAssetsQuery extends AssetFilters {
90
- page?: number;
91
- limit?: number;
92
- /**
93
- * Keyed reads (a first download, resumable and partitionable): return the
94
- * records with an id after this one, ascending by id. Replaces `page`;
95
- * the response carries `next` to continue from, null once the window is
96
- * exhausted. `sort` is ignored in this mode — the order IS the position.
97
- */
98
- after?: string;
99
- /**
100
- * Keyed reads: the upper bound of a window, inclusive — a slice's last id
101
- * from `GET /assets/partitions`. Several windows can be walked at once.
102
- */
103
- before?: string;
104
- sort?: AssetSortField;
105
- sortOrder?: SortOrders;
106
- embed?: Array<AssetEmbedField>;
107
- timezone?: string;
108
- /**
109
- * Execute a stored semantic query by reference — the new-client read path.
110
- * Must NOT be combined with any of the `AssetFilters` members above: the
111
- * stored query is the whole filter, and the controller rejects the
112
- * combination rather than silently merging two filter systems. Pagination,
113
- * sort, embed and timezone still apply. An expired or unknown id returns a
114
- * distinct "gone" error, never an empty page.
115
- */
116
- semanticQueryId?: string;
117
- /**
118
- * `caller`, the default, applies the caller's user groups. `organisation`
119
- * ignores them and lists the whole organisation, for a client that filters
120
- * locally. Any signed-in user may pass it. Not a filter: it combines with a
121
- * stored query.
122
- */
123
- scope?: ListScope;
124
- /**
125
- * One level of the kit tree under the caller's groups: `root` for the top
126
- * level, or a kit's id for its direct members. The level's visible rows,
127
- * plus the level's hidden kits that hold a visible asset somewhere beneath
128
- * them, flagged `context: true` (`GetAssetResponse.context`): the tree a
129
- * device with a copy draws (specification consequence 20). Combines with
130
- * sort, page, limit, embed and scope; under the `organisation` scope every
131
- * row is visible and none is flagged. Refused with a 400 beside a stored
132
- * query, free text, the flat filters or a keyed read. Honoured by
133
- * `GET /assets` and `GET /assets/count-filtered`, whose count includes the
134
- * context rows, for the pager beside the list.
135
- */
136
- treeLevel?: string;
137
- }
138
- export {};
1
+ import { DateCondition, ReadinessState, SearchableSortFields, SortOrders } from '../../shared';
2
+ import { LocationStatus } from '../../locations/constants';
3
+ import { ListScope } from '../../usergroups/access';
4
+ export declare type AssetSearchField = 'name' | 'tagIds';
5
+ /**
6
+ * How the space-separated pieces of a search term combine: `any`, the
7
+ * default, matches an asset holding any one of them; `every` matches only an
8
+ * asset holding all of them, each piece found as it would be if searched for
9
+ * alone. One addition under `every` with `searchFuzzy: false`: a piece with
10
+ * punctuation in it must also be found as typed, which a search of that
11
+ * piece alone does not ask.
12
+ */
13
+ export declare type AssetSearchMatch = 'any' | 'every';
14
+ export declare type AssetEmbedField = 'meta' | 'tagIds' | 'candidateLocations' | 'telemetry' | 'readers' | 'readiness';
15
+ export declare type AssetSortField = SearchableSortFields | 'battery' | 'ready';
16
+ export declare type AssetBatteryStatus = 'critical' | 'low' | 'ok';
17
+ /** The `treeLevel` value for the top of the kit tree; any other value is a kit's id. */
18
+ export declare const TREE_LEVEL_ROOT = "root";
19
+ declare type _CustomFieldsAssetFilterBase = {
20
+ id: string;
21
+ };
22
+ export declare type CustomFieldsAssetFilterValue = _CustomFieldsAssetFilterBase & {
23
+ values: any[];
24
+ };
25
+ export declare type CustomFieldsAssetFilterDateCondition = _CustomFieldsAssetFilterBase & {
26
+ conditions: DateCondition[];
27
+ };
28
+ export declare type CustomFieldsAssetFilterNumberRange = _CustomFieldsAssetFilterBase & {
29
+ from: number;
30
+ to: number;
31
+ };
32
+ export declare type CustomFieldsAssetFilterBoolean = _CustomFieldsAssetFilterBase & {
33
+ value: boolean;
34
+ };
35
+ export declare type CustomFieldsAssetFilter = CustomFieldsAssetFilterValue | CustomFieldsAssetFilterDateCondition | CustomFieldsAssetFilterNumberRange | CustomFieldsAssetFilterBoolean;
36
+ export declare type CustomFieldValues = {
37
+ values?: Array<CustomFieldsAssetFilterValue>;
38
+ integerRanges?: Array<CustomFieldsAssetFilterNumberRange>;
39
+ decimalRanges?: Array<CustomFieldsAssetFilterNumberRange>;
40
+ dateConditions?: Array<CustomFieldsAssetFilterDateCondition>;
41
+ dateTimeConditions?: Array<CustomFieldsAssetFilterDateCondition>;
42
+ booleanValues?: Array<CustomFieldsAssetFilterBoolean>;
43
+ };
44
+ export interface AssetFilters {
45
+ labels?: string[];
46
+ ids?: string[];
47
+ tagIds?: string[];
48
+ hasTags?: boolean;
49
+ hasReported?: boolean;
50
+ hasGeolocationState?: boolean;
51
+ /** At a named location (true) or not at any (false) — tested on the stored location path. */
52
+ hasLocation?: boolean;
53
+ /** Seen (a status other than never-seen) and not at any named location — the location view's "Seen, without a location" row. */
54
+ seenWithoutLocation?: boolean;
55
+ locationStatus?: Array<LocationStatus>;
56
+ visiting?: boolean;
57
+ battery?: AssetBatteryStatus;
58
+ search?: string;
59
+ searchFuzzy?: boolean;
60
+ /**
61
+ * `every` asks that every space-separated piece of `search` be found on
62
+ * the asset, in any order and in any of the places the search looks;
63
+ * absent or `any`, one piece is enough, as it always was. A term of one
64
+ * piece is the same search either way.
65
+ */
66
+ searchMatch?: AssetSearchMatch;
67
+ searchFields?: Array<AssetSearchField>;
68
+ typeIds?: string[];
69
+ typePathBeginsWith?: string[];
70
+ locationIds?: string[];
71
+ locationPathBeginsWith?: string[];
72
+ homeLocationIds?: string[];
73
+ homeLocationPathBeginsWith?: string[];
74
+ customFieldValues?: CustomFieldValues;
75
+ locationWithIds?: string[];
76
+ manifestIds?: string[];
77
+ supportsWith?: boolean;
78
+ withAsset?: boolean;
79
+ dispatched?: boolean;
80
+ timeSensitive?: boolean;
81
+ ready?: ReadinessState[];
82
+ hasReadyIssues?: boolean;
83
+ createdAt?: DateCondition[];
84
+ updatedAt?: DateCondition[];
85
+ lastSeen?: DateCondition[];
86
+ /** Offline-sync delta read: matches records whose `lastChanged` >= this ms-epoch. */
87
+ updatedAfter?: number;
88
+ }
89
+ export interface GetAssetsQuery extends AssetFilters {
90
+ page?: number;
91
+ limit?: number;
92
+ /**
93
+ * Keyed reads (a first download, resumable and partitionable): return the
94
+ * records with an id after this one, ascending by id. Replaces `page`;
95
+ * the response carries `next` to continue from, null once the window is
96
+ * exhausted. `sort` is ignored in this mode — the order IS the position.
97
+ */
98
+ after?: string;
99
+ /**
100
+ * Keyed reads: the upper bound of a window, inclusive — a slice's last id
101
+ * from `GET /assets/partitions`. Several windows can be walked at once.
102
+ */
103
+ before?: string;
104
+ sort?: AssetSortField;
105
+ sortOrder?: SortOrders;
106
+ embed?: Array<AssetEmbedField>;
107
+ timezone?: string;
108
+ /**
109
+ * Execute a stored semantic query by reference — the new-client read path.
110
+ * Must NOT be combined with any of the `AssetFilters` members above: the
111
+ * stored query is the whole filter, and the controller rejects the
112
+ * combination rather than silently merging two filter systems. Pagination,
113
+ * sort, embed and timezone still apply. An expired or unknown id returns a
114
+ * distinct "gone" error, never an empty page.
115
+ */
116
+ semanticQueryId?: string;
117
+ /**
118
+ * `caller`, the default, applies the caller's user groups. `organisation`
119
+ * ignores them and lists the whole organisation, for a client that filters
120
+ * locally. Any signed-in user may pass it. Not a filter: it combines with a
121
+ * stored query.
122
+ */
123
+ scope?: ListScope;
124
+ /**
125
+ * One level of the kit tree under the caller's groups: `root` for the top
126
+ * level, or a kit's id for its direct members. The level's visible rows,
127
+ * plus the level's hidden kits that hold a visible asset somewhere beneath
128
+ * them, flagged `context: true` (`GetAssetResponse.context`): the tree a
129
+ * device with a copy draws (specification consequence 20). Combines with
130
+ * sort, page, limit, embed and scope; under the `organisation` scope every
131
+ * row is visible and none is flagged. Refused with a 400 beside a stored
132
+ * query, free text, the flat filters or a keyed read. Honoured by
133
+ * `GET /assets` and `GET /assets/count-filtered`, whose count includes the
134
+ * context rows, for the pager beside the list.
135
+ */
136
+ treeLevel?: string;
137
+ }
138
+ export {};
@@ -1,6 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TREE_LEVEL_ROOT = void 0;
4
- /** The `treeLevel` value for the top of the kit tree; any other value is a kit's id. */
5
- exports.TREE_LEVEL_ROOT = 'root';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TREE_LEVEL_ROOT = void 0;
4
+ /** The `treeLevel` value for the top of the kit tree; any other value is a kit's id. */
5
+ exports.TREE_LEVEL_ROOT = 'root';
6
6
  //# sourceMappingURL=query.js.map
@@ -1,12 +1,12 @@
1
- import { GetAssetsQuery } from './query';
2
- import { GetAssetResponse } from '../[id]/get';
3
- export interface GetAssetsResponse {
4
- query: GetAssetsQuery | null;
5
- items: GetAssetResponse[];
6
- /**
7
- * Keyed reads only (`after`/`before` given): the id to continue from —
8
- * the last item's — or null once the window is exhausted. Absent on a
9
- * paged read.
10
- */
11
- next?: string | null;
12
- }
1
+ import { GetAssetsQuery } from './query';
2
+ import { GetAssetResponse } from '../[id]/get';
3
+ export interface GetAssetsResponse {
4
+ query: GetAssetsQuery | null;
5
+ items: GetAssetResponse[];
6
+ /**
7
+ * Keyed reads only (`after`/`before` given): the id to continue from —
8
+ * the last item's — or null once the window is exhausted. Absent on a
9
+ * paged read.
10
+ */
11
+ next?: string | null;
12
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=response.js.map
@@ -1,14 +1,14 @@
1
- export * from './[id]';
2
- export * from './count';
3
- export * from './partitions';
4
- export * from './count-filtered';
5
- export * from './download';
6
- export * from './get';
7
- export * from './location';
8
- export * from './post';
9
- export * from './suggestions';
10
- export * from './upload';
11
- export * from './errors';
12
- export * from './summary';
13
- export * from './readiness';
14
- export * from './rollup';
1
+ export * from './[id]';
2
+ export * from './count';
3
+ export * from './partitions';
4
+ export * from './count-filtered';
5
+ export * from './download';
6
+ export * from './get';
7
+ export * from './location';
8
+ export * from './post';
9
+ export * from './suggestions';
10
+ export * from './upload';
11
+ export * from './errors';
12
+ export * from './summary';
13
+ export * from './readiness';
14
+ export * from './rollup';
@@ -1,31 +1,31 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./[id]"), exports);
18
- __exportStar(require("./count"), exports);
19
- __exportStar(require("./partitions"), exports);
20
- __exportStar(require("./count-filtered"), exports);
21
- __exportStar(require("./download"), exports);
22
- __exportStar(require("./get"), exports);
23
- __exportStar(require("./location"), exports);
24
- __exportStar(require("./post"), exports);
25
- __exportStar(require("./suggestions"), exports);
26
- __exportStar(require("./upload"), exports);
27
- __exportStar(require("./errors"), exports);
28
- __exportStar(require("./summary"), exports);
29
- __exportStar(require("./readiness"), exports);
30
- __exportStar(require("./rollup"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./[id]"), exports);
18
+ __exportStar(require("./count"), exports);
19
+ __exportStar(require("./partitions"), exports);
20
+ __exportStar(require("./count-filtered"), exports);
21
+ __exportStar(require("./download"), exports);
22
+ __exportStar(require("./get"), exports);
23
+ __exportStar(require("./location"), exports);
24
+ __exportStar(require("./post"), exports);
25
+ __exportStar(require("./suggestions"), exports);
26
+ __exportStar(require("./upload"), exports);
27
+ __exportStar(require("./errors"), exports);
28
+ __exportStar(require("./summary"), exports);
29
+ __exportStar(require("./readiness"), exports);
30
+ __exportStar(require("./rollup"), exports);
31
31
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from './request';
2
- export * from './response';
1
+ export * from './request';
2
+ export * from './response';
@@ -1,19 +1,19 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./request"), exports);
18
- __exportStar(require("./response"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./request"), exports);
18
+ __exportStar(require("./response"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1,23 +1,23 @@
1
- export interface UpdateAssetsLocationRequest {
2
- ids?: string[];
3
- tagIds?: string[];
4
- locationId?: string;
5
- lat?: number;
6
- lon?: number;
7
- readerId?: string;
8
- timestamp?: number;
9
- /** The asset these assets are now "with" (the durable carrier pointer).
10
- * An explicit `null` clears an existing with-link — sent when an asset
11
- * leaves its group (regrouping plan §5 layer 1); advisory until Slate
12
- * honours the clear. */
13
- withAssetId?: string | null;
14
- /** Subset of `ids` that were located by inference (kit-subtree expansion)
15
- * rather than physically read — these should be located WITHOUT bumping
16
- * `lastSeen` (regrouping plan §5 layer 2). Advisory until Slate honours
17
- * the distinction. */
18
- inferredAssetIds?: string[];
19
- dispatchLocationId?: string;
20
- dispatchWithAssetId?: string;
21
- dispatchData?: Record<string, unknown>;
22
- dispatchExpires?: number;
23
- }
1
+ export interface UpdateAssetsLocationRequest {
2
+ ids?: string[];
3
+ tagIds?: string[];
4
+ locationId?: string;
5
+ lat?: number;
6
+ lon?: number;
7
+ readerId?: string;
8
+ timestamp?: number;
9
+ /** The asset these assets are now "with" (the durable carrier pointer).
10
+ * An explicit `null` clears an existing with-link — sent when an asset
11
+ * leaves its group (regrouping plan §5 layer 1); advisory until Slate
12
+ * honours the clear. */
13
+ withAssetId?: string | null;
14
+ /** Subset of `ids` that were located by inference (kit-subtree expansion)
15
+ * rather than physically read — these should be located WITHOUT bumping
16
+ * `lastSeen` (regrouping plan §5 layer 2). Advisory until Slate honours
17
+ * the distinction. */
18
+ inferredAssetIds?: string[];
19
+ dispatchLocationId?: string;
20
+ dispatchWithAssetId?: string;
21
+ dispatchData?: Record<string, unknown>;
22
+ dispatchExpires?: number;
23
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=request.js.map
@@ -1,2 +1,2 @@
1
- export interface UpdateAssetsLocationResponse {
2
- }
1
+ export interface UpdateAssetsLocationResponse {
2
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=response.js.map
@@ -1,2 +1,2 @@
1
- export * from './query';
2
- export * from './response';
1
+ export * from './query';
2
+ export * from './response';
@@ -1,19 +1,19 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./query"), exports);
18
- __exportStar(require("./response"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./query"), exports);
18
+ __exportStar(require("./response"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1,16 +1,16 @@
1
- import { ListScope } from '../../usergroups/access';
2
- export interface GetAssetPartitionsQuery {
3
- /**
4
- * How many near-equal slices to split the caller's assets into, in id
5
- * order. The response carries `parts − 1` boundary ids; a client walks
6
- * each slice with `GET /assets?after=…&before=…` and can run them side by
7
- * side. Default 4, at most 16.
8
- */
9
- parts?: number;
10
- /**
11
- * `caller`, the default, slices the assets the caller's groups grant.
12
- * `organisation` slices the whole organisation, which a client that
13
- * downloads everything and filters locally passes on its first download.
14
- */
15
- scope?: ListScope;
16
- }
1
+ import { ListScope } from '../../usergroups/access';
2
+ export interface GetAssetPartitionsQuery {
3
+ /**
4
+ * How many near-equal slices to split the caller's assets into, in id
5
+ * order. The response carries `parts − 1` boundary ids; a client walks
6
+ * each slice with `GET /assets?after=…&before=…` and can run them side by
7
+ * side. Default 4, at most 16.
8
+ */
9
+ parts?: number;
10
+ /**
11
+ * `caller`, the default, slices the assets the caller's groups grant.
12
+ * `organisation` slices the whole organisation, which a client that
13
+ * downloads everything and filters locally passes on its first download.
14
+ */
15
+ scope?: ListScope;
16
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=query.js.map
@@ -1,10 +1,10 @@
1
- export interface GetAssetPartitionsResponse {
2
- /**
3
- * The last id of each slice but the last, ascending: `parts − 1` ids,
4
- * fewer when there are not enough assets to fill every slice. Slice k
5
- * runs from the previous boundary (exclusive; open for the first slice)
6
- * up to and including boundary k (open for the last slice): walk it with
7
- * `after` = the previous boundary and `before` = boundary k.
8
- */
9
- boundaries: string[];
10
- }
1
+ export interface GetAssetPartitionsResponse {
2
+ /**
3
+ * The last id of each slice but the last, ascending: `parts − 1` ids,
4
+ * fewer when there are not enough assets to fill every slice. Slice k
5
+ * runs from the previous boundary (exclusive; open for the first slice)
6
+ * up to and including boundary k (open for the last slice): walk it with
7
+ * `after` = the previous boundary and `before` = boundary k.
8
+ */
9
+ boundaries: string[];
10
+ }