@revenexx/node 0.1.0 → 0.1.1

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 (342) hide show
  1. package/README.md +3 -0
  2. package/dist/client.d.mts +25 -0
  3. package/dist/client.d.ts +25 -0
  4. package/dist/client.js +39 -18
  5. package/dist/client.js.map +1 -1
  6. package/dist/client.mjs +35 -14
  7. package/dist/client.mjs.map +1 -1
  8. package/dist/enums/approval-rule-approver-type.d.mts +7 -0
  9. package/dist/enums/approval-rule-approver-type.d.ts +7 -0
  10. package/dist/enums/approval-rule-approver-type.js +12 -0
  11. package/dist/enums/approval-rule-approver-type.js.map +1 -0
  12. package/dist/enums/approval-rule-approver-type.mjs +11 -0
  13. package/dist/enums/approval-rule-approver-type.mjs.map +1 -0
  14. package/dist/enums/approval-rule-condition.d.mts +10 -0
  15. package/dist/enums/approval-rule-condition.d.ts +10 -0
  16. package/dist/enums/approval-rule-condition.js +15 -0
  17. package/dist/enums/approval-rule-condition.js.map +1 -0
  18. package/dist/enums/approval-rule-condition.mjs +14 -0
  19. package/dist/enums/approval-rule-condition.mjs.map +1 -0
  20. package/dist/enums/approval-rule-create-request-approver-type.d.mts +7 -0
  21. package/dist/enums/approval-rule-create-request-approver-type.d.ts +7 -0
  22. package/dist/enums/approval-rule-create-request-approver-type.js +12 -0
  23. package/dist/enums/approval-rule-create-request-approver-type.js.map +1 -0
  24. package/dist/enums/approval-rule-create-request-approver-type.mjs +11 -0
  25. package/dist/enums/approval-rule-create-request-approver-type.mjs.map +1 -0
  26. package/dist/enums/approval-rule-create-request-condition.d.mts +10 -0
  27. package/dist/enums/approval-rule-create-request-condition.d.ts +10 -0
  28. package/dist/enums/approval-rule-create-request-condition.js +15 -0
  29. package/dist/enums/approval-rule-create-request-condition.js.map +1 -0
  30. package/dist/enums/approval-rule-create-request-condition.mjs +14 -0
  31. package/dist/enums/approval-rule-create-request-condition.mjs.map +1 -0
  32. package/dist/enums/approval-rule-create-request-effect.d.mts +7 -0
  33. package/dist/enums/approval-rule-create-request-effect.d.ts +7 -0
  34. package/dist/enums/approval-rule-create-request-effect.js +12 -0
  35. package/dist/enums/approval-rule-create-request-effect.js.map +1 -0
  36. package/dist/enums/approval-rule-create-request-effect.mjs +11 -0
  37. package/dist/enums/approval-rule-create-request-effect.mjs.map +1 -0
  38. package/dist/enums/approval-rule-effect.d.mts +7 -0
  39. package/dist/enums/approval-rule-effect.d.ts +7 -0
  40. package/dist/enums/approval-rule-effect.js +12 -0
  41. package/dist/enums/approval-rule-effect.js.map +1 -0
  42. package/dist/enums/approval-rule-effect.mjs +11 -0
  43. package/dist/enums/approval-rule-effect.mjs.map +1 -0
  44. package/dist/enums/approval-rule-update-request-approver-type.d.mts +7 -0
  45. package/dist/enums/approval-rule-update-request-approver-type.d.ts +7 -0
  46. package/dist/enums/approval-rule-update-request-approver-type.js +12 -0
  47. package/dist/enums/approval-rule-update-request-approver-type.js.map +1 -0
  48. package/dist/enums/approval-rule-update-request-approver-type.mjs +11 -0
  49. package/dist/enums/approval-rule-update-request-approver-type.mjs.map +1 -0
  50. package/dist/enums/approval-rule-update-request-condition.d.mts +10 -0
  51. package/dist/enums/approval-rule-update-request-condition.d.ts +10 -0
  52. package/dist/enums/approval-rule-update-request-condition.js +15 -0
  53. package/dist/enums/approval-rule-update-request-condition.js.map +1 -0
  54. package/dist/enums/approval-rule-update-request-condition.mjs +14 -0
  55. package/dist/enums/approval-rule-update-request-condition.mjs.map +1 -0
  56. package/dist/enums/approval-rule-update-request-effect.d.mts +7 -0
  57. package/dist/enums/approval-rule-update-request-effect.d.ts +7 -0
  58. package/dist/enums/approval-rule-update-request-effect.js +12 -0
  59. package/dist/enums/approval-rule-update-request-effect.js.map +1 -0
  60. package/dist/enums/approval-rule-update-request-effect.mjs +11 -0
  61. package/dist/enums/approval-rule-update-request-effect.mjs.map +1 -0
  62. package/dist/enums/approver-type.d.mts +7 -0
  63. package/dist/enums/approver-type.d.ts +7 -0
  64. package/dist/enums/approver-type.js +12 -0
  65. package/dist/enums/approver-type.js.map +1 -0
  66. package/dist/enums/approver-type.mjs +11 -0
  67. package/dist/enums/approver-type.mjs.map +1 -0
  68. package/dist/enums/condition.d.mts +10 -0
  69. package/dist/enums/condition.d.ts +10 -0
  70. package/dist/enums/condition.js +15 -0
  71. package/dist/enums/condition.js.map +1 -0
  72. package/dist/enums/condition.mjs +14 -0
  73. package/dist/enums/condition.mjs.map +1 -0
  74. package/dist/enums/effect.d.mts +7 -0
  75. package/dist/enums/effect.d.ts +7 -0
  76. package/dist/enums/effect.js +12 -0
  77. package/dist/enums/effect.js.map +1 -0
  78. package/dist/enums/effect.mjs +11 -0
  79. package/dist/enums/effect.mjs.map +1 -0
  80. package/dist/enums/pending-approval-approver-type.d.mts +7 -0
  81. package/dist/enums/pending-approval-approver-type.d.ts +7 -0
  82. package/dist/enums/pending-approval-approver-type.js +12 -0
  83. package/dist/enums/pending-approval-approver-type.js.map +1 -0
  84. package/dist/enums/pending-approval-approver-type.mjs +11 -0
  85. package/dist/enums/pending-approval-approver-type.mjs.map +1 -0
  86. package/dist/enums/pending-approval-status.d.mts +7 -0
  87. package/dist/enums/pending-approval-status.d.ts +7 -0
  88. package/dist/enums/pending-approval-status.js +12 -0
  89. package/dist/enums/pending-approval-status.js.map +1 -0
  90. package/dist/enums/pending-approval-status.mjs +11 -0
  91. package/dist/enums/pending-approval-status.mjs.map +1 -0
  92. package/dist/enums/procurement-purchase-request-items-create-type.d.mts +7 -0
  93. package/dist/enums/procurement-purchase-request-items-create-type.d.ts +7 -0
  94. package/dist/enums/procurement-purchase-request-items-create-type.js +12 -0
  95. package/dist/enums/procurement-purchase-request-items-create-type.js.map +1 -0
  96. package/dist/enums/procurement-purchase-request-items-create-type.mjs +11 -0
  97. package/dist/enums/procurement-purchase-request-items-create-type.mjs.map +1 -0
  98. package/dist/enums/purchase-request-event-name.d.mts +12 -0
  99. package/dist/enums/purchase-request-event-name.d.ts +12 -0
  100. package/dist/enums/purchase-request-event-name.js +17 -0
  101. package/dist/enums/purchase-request-event-name.js.map +1 -0
  102. package/dist/enums/purchase-request-event-name.mjs +16 -0
  103. package/dist/enums/purchase-request-event-name.mjs.map +1 -0
  104. package/dist/enums/purchase-request-item-create-request-type.d.mts +7 -0
  105. package/dist/enums/purchase-request-item-create-request-type.d.ts +7 -0
  106. package/dist/enums/purchase-request-item-create-request-type.js +12 -0
  107. package/dist/enums/purchase-request-item-create-request-type.js.map +1 -0
  108. package/dist/enums/purchase-request-item-create-request-type.mjs +11 -0
  109. package/dist/enums/purchase-request-item-create-request-type.mjs.map +1 -0
  110. package/dist/enums/purchase-request-item-type.d.mts +7 -0
  111. package/dist/enums/purchase-request-item-type.d.ts +7 -0
  112. package/dist/enums/purchase-request-item-type.js +12 -0
  113. package/dist/enums/purchase-request-item-type.js.map +1 -0
  114. package/dist/enums/purchase-request-item-type.mjs +11 -0
  115. package/dist/enums/purchase-request-item-type.mjs.map +1 -0
  116. package/dist/enums/purchase-request-item-update-request-type.d.mts +7 -0
  117. package/dist/enums/purchase-request-item-update-request-type.d.ts +7 -0
  118. package/dist/enums/purchase-request-item-update-request-type.js +12 -0
  119. package/dist/enums/purchase-request-item-update-request-type.js.map +1 -0
  120. package/dist/enums/purchase-request-item-update-request-type.mjs +11 -0
  121. package/dist/enums/purchase-request-item-update-request-type.mjs.map +1 -0
  122. package/dist/enums/purchase-request-status.d.mts +9 -0
  123. package/dist/enums/purchase-request-status.d.ts +9 -0
  124. package/dist/enums/purchase-request-status.js +14 -0
  125. package/dist/enums/purchase-request-status.js.map +1 -0
  126. package/dist/enums/purchase-request-status.mjs +13 -0
  127. package/dist/enums/purchase-request-status.mjs.map +1 -0
  128. package/dist/enums/submit-item-type.d.mts +7 -0
  129. package/dist/enums/submit-item-type.d.ts +7 -0
  130. package/dist/enums/submit-item-type.js +12 -0
  131. package/dist/enums/submit-item-type.js.map +1 -0
  132. package/dist/enums/submit-item-type.mjs +11 -0
  133. package/dist/enums/submit-item-type.mjs.map +1 -0
  134. package/dist/enums/submit-result-outcome.d.mts +9 -0
  135. package/dist/enums/submit-result-outcome.d.ts +9 -0
  136. package/dist/enums/submit-result-outcome.js +14 -0
  137. package/dist/enums/submit-result-outcome.js.map +1 -0
  138. package/dist/enums/submit-result-outcome.mjs +13 -0
  139. package/dist/enums/submit-result-outcome.mjs.map +1 -0
  140. package/dist/index.d.mts +23 -0
  141. package/dist/index.d.ts +23 -0
  142. package/dist/index.js +115 -0
  143. package/dist/index.js.map +1 -1
  144. package/dist/index.mjs +23 -0
  145. package/dist/index.mjs.map +1 -1
  146. package/dist/inputFile.js +1 -2
  147. package/dist/inputFile.js.map +1 -1
  148. package/dist/inputFile.mjs +0 -1
  149. package/dist/inputFile.mjs.map +1 -1
  150. package/dist/models.d.mts +1027 -36
  151. package/dist/models.d.ts +1027 -36
  152. package/dist/operator.js +243 -204
  153. package/dist/operator.js.map +1 -1
  154. package/dist/operator.mjs +242 -203
  155. package/dist/operator.mjs.map +1 -1
  156. package/dist/permission.js +58 -48
  157. package/dist/permission.js.map +1 -1
  158. package/dist/permission.mjs +58 -48
  159. package/dist/permission.mjs.map +1 -1
  160. package/dist/query.js +525 -422
  161. package/dist/query.js.map +1 -1
  162. package/dist/query.mjs +524 -421
  163. package/dist/query.mjs.map +1 -1
  164. package/dist/services/apps.d.mts +18 -0
  165. package/dist/services/apps.d.ts +18 -0
  166. package/dist/services/avatars.d.mts +18 -0
  167. package/dist/services/avatars.d.ts +18 -0
  168. package/dist/services/carts-io.d.mts +46 -28
  169. package/dist/services/carts-io.d.ts +46 -28
  170. package/dist/services/carts-io.js.map +1 -1
  171. package/dist/services/carts-io.mjs.map +1 -1
  172. package/dist/services/carts-items.d.mts +42 -24
  173. package/dist/services/carts-items.d.ts +42 -24
  174. package/dist/services/carts-items.js.map +1 -1
  175. package/dist/services/carts-items.mjs.map +1 -1
  176. package/dist/services/carts.d.mts +70 -52
  177. package/dist/services/carts.d.ts +70 -52
  178. package/dist/services/carts.js.map +1 -1
  179. package/dist/services/carts.mjs.map +1 -1
  180. package/dist/services/channels.d.mts +64 -46
  181. package/dist/services/channels.d.ts +64 -46
  182. package/dist/services/channels.js +1 -1
  183. package/dist/services/channels.js.map +1 -1
  184. package/dist/services/channels.mjs +1 -1
  185. package/dist/services/channels.mjs.map +1 -1
  186. package/dist/services/cost-centers.d.mts +18 -0
  187. package/dist/services/cost-centers.d.ts +18 -0
  188. package/dist/services/customers-contacts.d.mts +62 -44
  189. package/dist/services/customers-contacts.d.ts +62 -44
  190. package/dist/services/customers-contacts.js.map +1 -1
  191. package/dist/services/customers-contacts.mjs.map +1 -1
  192. package/dist/services/customers-organizations.d.mts +58 -40
  193. package/dist/services/customers-organizations.d.ts +58 -40
  194. package/dist/services/customers-organizations.js.map +1 -1
  195. package/dist/services/customers-organizations.mjs.map +1 -1
  196. package/dist/services/customers-roles.d.mts +26 -8
  197. package/dist/services/customers-roles.d.ts +26 -8
  198. package/dist/services/customers-roles.js.map +1 -1
  199. package/dist/services/customers-roles.mjs.map +1 -1
  200. package/dist/services/customers-segments.d.mts +62 -44
  201. package/dist/services/customers-segments.d.ts +62 -44
  202. package/dist/services/customers-segments.js.map +1 -1
  203. package/dist/services/customers-segments.mjs.map +1 -1
  204. package/dist/services/customers-value-lists.d.mts +90 -72
  205. package/dist/services/customers-value-lists.d.ts +90 -72
  206. package/dist/services/customers-value-lists.js.map +1 -1
  207. package/dist/services/customers-value-lists.mjs.map +1 -1
  208. package/dist/services/customers.d.mts +78 -60
  209. package/dist/services/customers.d.ts +78 -60
  210. package/dist/services/customers.js.map +1 -1
  211. package/dist/services/customers.mjs.map +1 -1
  212. package/dist/services/events.d.mts +18 -0
  213. package/dist/services/events.d.ts +18 -0
  214. package/dist/services/forms.d.mts +66 -48
  215. package/dist/services/forms.d.ts +66 -48
  216. package/dist/services/forms.js.map +1 -1
  217. package/dist/services/forms.mjs.map +1 -1
  218. package/dist/services/health.d.mts +18 -0
  219. package/dist/services/health.d.ts +18 -0
  220. package/dist/services/inventories-locations.d.mts +38 -20
  221. package/dist/services/inventories-locations.d.ts +38 -20
  222. package/dist/services/inventories-locations.js.map +1 -1
  223. package/dist/services/inventories-locations.mjs.map +1 -1
  224. package/dist/services/inventories-reservations.d.mts +38 -20
  225. package/dist/services/inventories-reservations.d.ts +38 -20
  226. package/dist/services/inventories-reservations.js.map +1 -1
  227. package/dist/services/inventories-reservations.mjs.map +1 -1
  228. package/dist/services/inventories-stock.d.mts +70 -52
  229. package/dist/services/inventories-stock.d.ts +70 -52
  230. package/dist/services/inventories-stock.js.map +1 -1
  231. package/dist/services/inventories-stock.mjs.map +1 -1
  232. package/dist/services/io.d.mts +66 -48
  233. package/dist/services/io.d.ts +66 -48
  234. package/dist/services/io.js +2 -2
  235. package/dist/services/io.js.map +1 -1
  236. package/dist/services/io.mjs +2 -2
  237. package/dist/services/io.mjs.map +1 -1
  238. package/dist/services/locale.d.mts +18 -0
  239. package/dist/services/locale.d.ts +18 -0
  240. package/dist/services/markets.d.mts +122 -104
  241. package/dist/services/markets.d.ts +122 -104
  242. package/dist/services/markets.js.map +1 -1
  243. package/dist/services/markets.mjs.map +1 -1
  244. package/dist/services/messaging.d.mts +194 -176
  245. package/dist/services/messaging.d.ts +194 -176
  246. package/dist/services/messaging.js +3 -3
  247. package/dist/services/messaging.js.map +1 -1
  248. package/dist/services/messaging.mjs +3 -3
  249. package/dist/services/messaging.mjs.map +1 -1
  250. package/dist/services/orderlists.d.mts +96 -78
  251. package/dist/services/orderlists.d.ts +96 -78
  252. package/dist/services/orderlists.js +1 -1
  253. package/dist/services/orderlists.js.map +1 -1
  254. package/dist/services/orderlists.mjs +1 -1
  255. package/dist/services/orderlists.mjs.map +1 -1
  256. package/dist/services/orders.d.mts +114 -96
  257. package/dist/services/orders.d.ts +114 -96
  258. package/dist/services/orders.js.map +1 -1
  259. package/dist/services/orders.mjs.map +1 -1
  260. package/dist/services/pages-collaboration.d.mts +34 -16
  261. package/dist/services/pages-collaboration.d.ts +34 -16
  262. package/dist/services/pages-collaboration.js.map +1 -1
  263. package/dist/services/pages-collaboration.mjs.map +1 -1
  264. package/dist/services/pages-delivery.d.mts +26 -8
  265. package/dist/services/pages-delivery.d.ts +26 -8
  266. package/dist/services/pages-delivery.js.map +1 -1
  267. package/dist/services/pages-delivery.mjs.map +1 -1
  268. package/dist/services/pages-editor.d.mts +34 -16
  269. package/dist/services/pages-editor.d.ts +34 -16
  270. package/dist/services/pages-editor.js.map +1 -1
  271. package/dist/services/pages-editor.mjs.map +1 -1
  272. package/dist/services/pages.d.mts +82 -64
  273. package/dist/services/pages.d.ts +82 -64
  274. package/dist/services/pages.js.map +1 -1
  275. package/dist/services/pages.mjs.map +1 -1
  276. package/dist/services/payments-ledger.d.mts +54 -36
  277. package/dist/services/payments-ledger.d.ts +54 -36
  278. package/dist/services/payments-ledger.js.map +1 -1
  279. package/dist/services/payments-ledger.mjs.map +1 -1
  280. package/dist/services/payments-methods.d.mts +34 -16
  281. package/dist/services/payments-methods.d.ts +34 -16
  282. package/dist/services/payments-methods.js.map +1 -1
  283. package/dist/services/payments-methods.mjs.map +1 -1
  284. package/dist/services/payments-providers.d.mts +38 -20
  285. package/dist/services/payments-providers.d.ts +38 -20
  286. package/dist/services/payments-providers.js.map +1 -1
  287. package/dist/services/payments-providers.mjs.map +1 -1
  288. package/dist/services/prices.d.mts +86 -68
  289. package/dist/services/prices.d.ts +86 -68
  290. package/dist/services/prices.js.map +1 -1
  291. package/dist/services/prices.mjs.map +1 -1
  292. package/dist/services/procurement.d.mts +991 -0
  293. package/dist/services/procurement.d.ts +991 -0
  294. package/dist/services/procurement.js +1185 -0
  295. package/dist/services/procurement.js.map +1 -0
  296. package/dist/services/procurement.mjs +1184 -0
  297. package/dist/services/procurement.mjs.map +1 -0
  298. package/dist/services/products-assets.d.mts +34 -16
  299. package/dist/services/products-assets.d.ts +34 -16
  300. package/dist/services/products-assets.js.map +1 -1
  301. package/dist/services/products-assets.mjs.map +1 -1
  302. package/dist/services/products-categories.d.mts +66 -48
  303. package/dist/services/products-categories.d.ts +66 -48
  304. package/dist/services/products-categories.js.map +1 -1
  305. package/dist/services/products-categories.mjs.map +1 -1
  306. package/dist/services/products-data-model.d.mts +166 -148
  307. package/dist/services/products-data-model.d.ts +166 -148
  308. package/dist/services/products-data-model.js.map +1 -1
  309. package/dist/services/products-data-model.mjs.map +1 -1
  310. package/dist/services/products-references.d.mts +50 -32
  311. package/dist/services/products-references.d.ts +50 -32
  312. package/dist/services/products-references.js.map +1 -1
  313. package/dist/services/products-references.mjs.map +1 -1
  314. package/dist/services/products.d.mts +70 -52
  315. package/dist/services/products.d.ts +70 -52
  316. package/dist/services/products.js.map +1 -1
  317. package/dist/services/products.mjs.map +1 -1
  318. package/dist/services/search.d.mts +40 -22
  319. package/dist/services/search.d.ts +40 -22
  320. package/dist/services/search.js +1 -1
  321. package/dist/services/search.js.map +1 -1
  322. package/dist/services/search.mjs +1 -1
  323. package/dist/services/search.mjs.map +1 -1
  324. package/dist/services/settings.d.mts +18 -0
  325. package/dist/services/settings.d.ts +18 -0
  326. package/dist/services/shipping-carriers.d.mts +42 -24
  327. package/dist/services/shipping-carriers.d.ts +42 -24
  328. package/dist/services/shipping-carriers.js.map +1 -1
  329. package/dist/services/shipping-carriers.mjs.map +1 -1
  330. package/dist/services/shipping-methods.d.mts +70 -52
  331. package/dist/services/shipping-methods.d.ts +70 -52
  332. package/dist/services/shipping-methods.js.map +1 -1
  333. package/dist/services/shipping-methods.mjs.map +1 -1
  334. package/dist/services/shipping-value-lists.d.mts +62 -44
  335. package/dist/services/shipping-value-lists.d.ts +62 -44
  336. package/dist/services/shipping-value-lists.js.map +1 -1
  337. package/dist/services/shipping-value-lists.mjs.map +1 -1
  338. package/dist/services/sites.d.mts +18 -0
  339. package/dist/services/sites.d.ts +18 -0
  340. package/dist/services/storage.d.mts +18 -0
  341. package/dist/services/storage.d.ts +18 -0
  342. package/package.json +6 -3
@@ -6,6 +6,15 @@ import '../query.js';
6
6
  import '../enums/address-type-row-tone.js';
7
7
  import '../enums/address-type-row-create-request-tone.js';
8
8
  import '../enums/address-type-row-update-request-tone.js';
9
+ import '../enums/approval-rule-approver-type.js';
10
+ import '../enums/approval-rule-condition.js';
11
+ import '../enums/approval-rule-effect.js';
12
+ import '../enums/approval-rule-create-request-approver-type.js';
13
+ import '../enums/approval-rule-create-request-condition.js';
14
+ import '../enums/approval-rule-create-request-effect.js';
15
+ import '../enums/approval-rule-update-request-approver-type.js';
16
+ import '../enums/approval-rule-update-request-condition.js';
17
+ import '../enums/approval-rule-update-request-effect.js';
9
18
  import '../enums/assets-source.js';
10
19
  import '../enums/attribute-value-bucket.js';
11
20
  import '../enums/auth-mail-source.js';
@@ -119,6 +128,8 @@ import '../enums/payment-term-tone.js';
119
128
  import '../enums/payment-term-create-request-tone.js';
120
129
  import '../enums/payment-term-update-request-tone.js';
121
130
  import '../enums/payment-vocabulary-tone.js';
131
+ import '../enums/pending-approval-approver-type.js';
132
+ import '../enums/pending-approval-status.js';
122
133
  import '../enums/price-ending-rule.js';
123
134
  import '../enums/price-entries-adjust-response-rounding.js';
124
135
  import '../enums/price-entries-adjust-response-rounding-mode.js';
@@ -141,6 +152,11 @@ import '../enums/product-grid-column-source.js';
141
152
  import '../enums/product-label-source.js';
142
153
  import '../enums/product-label-attribute-source.js';
143
154
  import '../enums/products-kind.js';
155
+ import '../enums/purchase-request-status.js';
156
+ import '../enums/purchase-request-event-name.js';
157
+ import '../enums/purchase-request-item-type.js';
158
+ import '../enums/purchase-request-item-create-request-type.js';
159
+ import '../enums/purchase-request-item-update-request-type.js';
144
160
  import '../enums/reorder-point-source.js';
145
161
  import '../enums/reservation-status.js';
146
162
  import '../enums/price-on-request-reason.js';
@@ -178,6 +194,8 @@ import '../enums/shipping-weight-unit-row-tone.js';
178
194
  import '../enums/shipping-weight-unit-update-request-tone.js';
179
195
  import '../enums/stock-movement-type.js';
180
196
  import '../enums/store-asset-request-visibility.js';
197
+ import '../enums/submit-item-type.js';
198
+ import '../enums/submit-result-outcome.js';
181
199
  import '../enums/validation-failed-response-status.js';
182
200
  import '../enums/vocabulary-default-tone.js';
183
201
  import '../enums/vocabulary-source.js';
@@ -262,7 +280,7 @@ declare class ShippingValueLists {
262
280
  * @param {number} params.position - Sort order in a select — the collection is returned in it.
263
281
  * @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
264
282
  * @throws {RevenexxException}
265
- * @returns {Promise<Models.Error>}
283
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
266
284
  */
267
285
  shippingServiceLevelsCreate(params: {
268
286
  code: string;
@@ -273,7 +291,7 @@ declare class ShippingValueLists {
273
291
  labels?: object;
274
292
  position?: number;
275
293
  tone?: Tone;
276
- }): Promise<Models.Error>;
294
+ }): Promise<Models.ShippingServiceLevelRow>;
277
295
  /**
278
296
  * A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. Reach for this when a merchant sells a class this app was not shipped with — a night courier, a two-man delivery, a same-day run. A create cannot omit `code` and `title`; every other column is optional or defaulted by the database. Two rows of this tenant may not share `code` — that is the 409. The code is lowercase and becomes what a carrier stores; it cannot be changed afterwards, because every carrier carrying it would be orphaned. Creating one changes nothing on its own: a carrier has to be moved onto it before it means anything.
279
297
  *
@@ -286,48 +304,48 @@ declare class ShippingValueLists {
286
304
  * @param {number} position - Sort order in a select — the collection is returned in it.
287
305
  * @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
288
306
  * @throws {RevenexxException}
289
- * @returns {Promise<Models.Error>}
307
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
290
308
  * @deprecated Use the object parameter style method for a better developer experience.
291
309
  */
292
- shippingServiceLevelsCreate(code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.Error>;
310
+ shippingServiceLevelsCreate(code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.ShippingServiceLevelRow>;
293
311
  /**
294
312
  * There is no foreign key doing this: adding one to a table that starts empty would fail the migration of every existing tenant. The refusal lives in the handler instead.
295
313
  *
296
314
  * @param {string} params.id - The row id.
297
315
  * @throws {RevenexxException}
298
- * @returns {Promise<Models.Error>}
316
+ * @returns {Promise<{}>}
299
317
  */
300
318
  shippingServiceLevelsDelete(params: {
301
319
  id: string;
302
- }): Promise<Models.Error>;
320
+ }): Promise<{}>;
303
321
  /**
304
322
  * There is no foreign key doing this: adding one to a table that starts empty would fail the migration of every existing tenant. The refusal lives in the handler instead.
305
323
  *
306
324
  * @param {string} id - The row id.
307
325
  * @throws {RevenexxException}
308
- * @returns {Promise<Models.Error>}
326
+ * @returns {Promise<{}>}
309
327
  * @deprecated Use the object parameter style method for a better developer experience.
310
328
  */
311
- shippingServiceLevelsDelete(id: string): Promise<Models.Error>;
329
+ shippingServiceLevelsDelete(id: string): Promise<{}>;
312
330
  /**
313
331
  * A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This reads one of them by ROW ID — which is what an editor holds after listing the set, and not what anything else in the platform stores. A caller holding the CODE (off a carrier row, or off a rate's `carrier_service_level`) cannot use this route: there is no `?code=` filter on the collection either, so read GET /shipping/vocabularies/service-levels, which is keyed the way the rest of the platform refers to these values.
314
332
  *
315
333
  * @param {string} params.id - The row id.
316
334
  * @throws {RevenexxException}
317
- * @returns {Promise<Models.Error>}
335
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
318
336
  */
319
337
  shippingServiceLevelsGet(params: {
320
338
  id: string;
321
- }): Promise<Models.Error>;
339
+ }): Promise<Models.ShippingServiceLevelRow>;
322
340
  /**
323
341
  * A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This reads one of them by ROW ID — which is what an editor holds after listing the set, and not what anything else in the platform stores. A caller holding the CODE (off a carrier row, or off a rate's `carrier_service_level`) cannot use this route: there is no `?code=` filter on the collection either, so read GET /shipping/vocabularies/service-levels, which is keyed the way the rest of the platform refers to these values.
324
342
  *
325
343
  * @param {string} id - The row id.
326
344
  * @throws {RevenexxException}
327
- * @returns {Promise<Models.Error>}
345
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
328
346
  * @deprecated Use the object parameter style method for a better developer experience.
329
347
  */
330
- shippingServiceLevelsGet(id: string): Promise<Models.Error>;
348
+ shippingServiceLevelsGet(id: string): Promise<Models.ShippingServiceLevelRow>;
331
349
  /**
332
350
  * A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This edits the DISPLAY half of one — title, description, their locale maps, badge tone, position, and the default flag. Everything a carrier or a filter joins on stays put: the code is immutable (a different one in the payload is a 400, not a silent no-op), and no carrier is moved onto or off this level by renaming it. Moving a row's `position` does not renumber its neighbours — the collection is returned in position order and ties fall back to whatever the database returns, so a deliberate order means writing every row's position.
333
351
  *
@@ -340,7 +358,7 @@ declare class ShippingValueLists {
340
358
  * @param {string} params.title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
341
359
  * @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
342
360
  * @throws {RevenexxException}
343
- * @returns {Promise<Models.Error>}
361
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
344
362
  */
345
363
  shippingServiceLevelsUpdate(params: {
346
364
  id: string;
@@ -351,7 +369,7 @@ declare class ShippingValueLists {
351
369
  position?: number;
352
370
  title?: string;
353
371
  tone?: Tone;
354
- }): Promise<Models.Error>;
372
+ }): Promise<Models.ShippingServiceLevelRow>;
355
373
  /**
356
374
  * A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This edits the DISPLAY half of one — title, description, their locale maps, badge tone, position, and the default flag. Everything a carrier or a filter joins on stays put: the code is immutable (a different one in the payload is a 400, not a silent no-op), and no carrier is moved onto or off this level by renaming it. Moving a row's `position` does not renumber its neighbours — the collection is returned in position order and ties fall back to whatever the database returns, so a deliberate order means writing every row's position.
357
375
  *
@@ -364,32 +382,32 @@ declare class ShippingValueLists {
364
382
  * @param {string} title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
365
383
  * @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
366
384
  * @throws {RevenexxException}
367
- * @returns {Promise<Models.Error>}
385
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
368
386
  * @deprecated Use the object parameter style method for a better developer experience.
369
387
  */
370
- shippingServiceLevelsUpdate(id: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.Error>;
388
+ shippingServiceLevelsUpdate(id: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.ShippingServiceLevelRow>;
371
389
  /**
372
390
  * The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
373
391
  *
374
392
  * @param {string} params.id - The row id.
375
393
  * @param {object} params.data - Request body
376
394
  * @throws {RevenexxException}
377
- * @returns {Promise<Models.Error>}
395
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
378
396
  */
379
397
  shippingServiceLevelsMakeDefault(params: {
380
398
  id: string;
381
399
  data: object;
382
- }): Promise<Models.Error>;
400
+ }): Promise<Models.ShippingServiceLevelRow>;
383
401
  /**
384
402
  * The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
385
403
  *
386
404
  * @param {string} id - The row id.
387
405
  * @param {object} data - Request body
388
406
  * @throws {RevenexxException}
389
- * @returns {Promise<Models.Error>}
407
+ * @returns {Promise<Models.ShippingServiceLevelRow>}
390
408
  * @deprecated Use the object parameter style method for a better developer experience.
391
409
  */
392
- shippingServiceLevelsMakeDefault(id: string, data: object): Promise<Models.Error>;
410
+ shippingServiceLevelsMakeDefault(id: string, data: object): Promise<Models.ShippingServiceLevelRow>;
393
411
  /**
394
412
  * Discovery for the vocabulary routes: every enum this app publishes, each with its name, its title and its description, and deliberately without its values — an index stays an index, and the set a value belongs to is one further call. Names: carrier-statuses, matrix-bases, pricing-types, service-levels, weight-units. Fetch one with GET /shipping/vocabularies/{name}; a client holding the qualified pair 'shipping.<name>' builds that URL from the pair alone. `title` and `description` are either one string or a locale map keyed by locale — every entry here carries the map, because every one of them is curated copy.
395
413
  *
@@ -402,20 +420,20 @@ declare class ShippingValueLists {
402
420
  *
403
421
  * @param {ShippingVocabulariesGetName} params.name - The vocabulary name — the part after the dot in the qualified id.
404
422
  * @throws {RevenexxException}
405
- * @returns {Promise<Models.Error>}
423
+ * @returns {Promise<Models.ShippingVocabulary>}
406
424
  */
407
425
  shippingVocabulariesGet(params: {
408
426
  name: ShippingVocabulariesGetName;
409
- }): Promise<Models.Error>;
427
+ }): Promise<Models.ShippingVocabulary>;
410
428
  /**
411
429
  * One vocabulary in full: every value it permits, each carrying the title to show, the description to explain it and the badge tone to draw it in — everything a select or a status chip needs, so nothing has to be labelled a second time in a client. Two sources, one guarantee: what is served is what is enforced, so no UI keeps a second copy. 'source: schema' means the values are read out of a CHECK constraint — a value added to the constraint appears here even before anyone labels it, titled from its own key, in constraint order. 'source: table' means the values are the TENANT's own rows (service-levels, weight-units), read per request and seeded on first use, so a merchant may add one without a release of this app; those values also carry labels/descriptions, is_system and is_default, and weight-units carries the conversion factor. 'closed' says the set is exhaustive either way, so a value outside it is stale data rather than a missing label. `title` and `description` — the vocabulary's and every value's — are either one string or a locale map keyed by locale: curated copy carries the map, a value titled from its own key carries the string. Names: carrier-statuses, matrix-bases, pricing-types, service-levels, weight-units.
412
430
  *
413
431
  * @param {ShippingVocabulariesGetName} name - The vocabulary name — the part after the dot in the qualified id.
414
432
  * @throws {RevenexxException}
415
- * @returns {Promise<Models.Error>}
433
+ * @returns {Promise<Models.ShippingVocabulary>}
416
434
  * @deprecated Use the object parameter style method for a better developer experience.
417
435
  */
418
- shippingVocabulariesGet(name: ShippingVocabulariesGetName): Promise<Models.Error>;
436
+ shippingVocabulariesGet(name: ShippingVocabulariesGetName): Promise<Models.ShippingVocabulary>;
419
437
  /**
420
438
  * Not a taxonomy: a unit is a code PLUS a factor, and the factor prices parcels. `factor` is how many kilograms one of this unit weighs, so a matrix keyed in one unit can price a request expressed in another. Exactly one row is the BASE (kg, factor 1) — the anchor every other factor and every stored rate tier is expressed in — and it is fixed at install. Seeded on first read, so this never answers empty. Like the service levels it is hand-rolled and honours limit/offset AND NOTHING ELSE: no column filter, no `order`, always `position` order, and a sort sent anyway is ignored rather than refused.
421
439
  *
@@ -451,7 +469,7 @@ declare class ShippingValueLists {
451
469
  * @param {number} params.position - Sort order in a select — the collection is returned in it.
452
470
  * @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
453
471
  * @throws {RevenexxException}
454
- * @returns {Promise<Models.Error>}
472
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
455
473
  */
456
474
  shippingWeightUnitsCreate(params: {
457
475
  code: string;
@@ -463,7 +481,7 @@ declare class ShippingValueLists {
463
481
  labels?: object;
464
482
  position?: number;
465
483
  tone?: Tone;
466
- }): Promise<Models.Error>;
484
+ }): Promise<Models.ShippingWeightUnitRow>;
467
485
  /**
468
486
  * Reach for this when a merchant weighs goods in something this app was not shipped with — a tonne for pallet freight, a carat for jewellery — and wants a rate matrix keyed in it. `factor` is required and must be greater than 0: zero does not convert a weight, it divides by it, and a negative factor turns a parcel into a credit. The new unit is never the base — which unit anchors the others is decided at install, and moving it would silently reprice every weight matrix in the shop.
469
487
  *
@@ -477,48 +495,48 @@ declare class ShippingValueLists {
477
495
  * @param {number} position - Sort order in a select — the collection is returned in it.
478
496
  * @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
479
497
  * @throws {RevenexxException}
480
- * @returns {Promise<Models.Error>}
498
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
481
499
  * @deprecated Use the object parameter style method for a better developer experience.
482
500
  */
483
- shippingWeightUnitsCreate(code: string, factor: number, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.Error>;
501
+ shippingWeightUnitsCreate(code: string, factor: number, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.ShippingWeightUnitRow>;
484
502
  /**
485
503
  * The market check is best effort by design — the setting is per market and this request carries one, so another market may still name the unit. That case degrades to the market falling back to the flagged unit rather than failing its quotes.
486
504
  *
487
505
  * @param {string} params.id - The row id.
488
506
  * @throws {RevenexxException}
489
- * @returns {Promise<Models.Error>}
507
+ * @returns {Promise<{}>}
490
508
  */
491
509
  shippingWeightUnitsDelete(params: {
492
510
  id: string;
493
- }): Promise<Models.Error>;
511
+ }): Promise<{}>;
494
512
  /**
495
513
  * The market check is best effort by design — the setting is per market and this request carries one, so another market may still name the unit. That case degrades to the market falling back to the flagged unit rather than failing its quotes.
496
514
  *
497
515
  * @param {string} id - The row id.
498
516
  * @throws {RevenexxException}
499
- * @returns {Promise<Models.Error>}
517
+ * @returns {Promise<{}>}
500
518
  * @deprecated Use the object parameter style method for a better developer experience.
501
519
  */
502
- shippingWeightUnitsDelete(id: string): Promise<Models.Error>;
520
+ shippingWeightUnitsDelete(id: string): Promise<{}>;
503
521
  /**
504
522
  * A weight unit is a code PLUS a factor — how many kilograms one of this unit weighs — and the factor is what prices parcels: a rate request expressed in one unit is converted through the two factors into the unit the market's tiers are keyed in. Exactly one row is the base (kg, factor 1), fixed at install. This reads one of them by ROW ID, which is what an editor holds after listing the set; a caller holding the CODE (a market's `weight_unit` setting, a rate request's `weight_unit`) has no filter for it here and should read GET /shipping/vocabularies/weight-units instead. Reading the factor back is NOT how a past quote is checked: a rate answer echoes the factors it applied in `basis.weight_unit_factor` and `basis.request_weight_unit_factor` precisely so it stays re-derivable after this row has been edited.
505
523
  *
506
524
  * @param {string} params.id - The row id.
507
525
  * @throws {RevenexxException}
508
- * @returns {Promise<Models.Error>}
526
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
509
527
  */
510
528
  shippingWeightUnitsGet(params: {
511
529
  id: string;
512
- }): Promise<Models.Error>;
530
+ }): Promise<Models.ShippingWeightUnitRow>;
513
531
  /**
514
532
  * A weight unit is a code PLUS a factor — how many kilograms one of this unit weighs — and the factor is what prices parcels: a rate request expressed in one unit is converted through the two factors into the unit the market's tiers are keyed in. Exactly one row is the base (kg, factor 1), fixed at install. This reads one of them by ROW ID, which is what an editor holds after listing the set; a caller holding the CODE (a market's `weight_unit` setting, a rate request's `weight_unit`) has no filter for it here and should read GET /shipping/vocabularies/weight-units instead. Reading the factor back is NOT how a past quote is checked: a rate answer echoes the factors it applied in `basis.weight_unit_factor` and `basis.request_weight_unit_factor` precisely so it stays re-derivable after this row has been edited.
515
533
  *
516
534
  * @param {string} id - The row id.
517
535
  * @throws {RevenexxException}
518
- * @returns {Promise<Models.Error>}
536
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
519
537
  * @deprecated Use the object parameter style method for a better developer experience.
520
538
  */
521
- shippingWeightUnitsGet(id: string): Promise<Models.Error>;
539
+ shippingWeightUnitsGet(id: string): Promise<Models.ShippingWeightUnitRow>;
522
540
  /**
523
541
  * Everything but the code and the base flag. A factor sent for the BASE unit is refused rather than silently ignored: it reads as 1 because every other factor is relative to it, so changing it would rescale the whole table without touching another row.
524
542
  *
@@ -532,7 +550,7 @@ declare class ShippingValueLists {
532
550
  * @param {string} params.title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
533
551
  * @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
534
552
  * @throws {RevenexxException}
535
- * @returns {Promise<Models.Error>}
553
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
536
554
  */
537
555
  shippingWeightUnitsUpdate(params: {
538
556
  id: string;
@@ -544,7 +562,7 @@ declare class ShippingValueLists {
544
562
  position?: number;
545
563
  title?: string;
546
564
  tone?: Tone;
547
- }): Promise<Models.Error>;
565
+ }): Promise<Models.ShippingWeightUnitRow>;
548
566
  /**
549
567
  * Everything but the code and the base flag. A factor sent for the BASE unit is refused rather than silently ignored: it reads as 1 because every other factor is relative to it, so changing it would rescale the whole table without touching another row.
550
568
  *
@@ -558,32 +576,32 @@ declare class ShippingValueLists {
558
576
  * @param {string} title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
559
577
  * @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
560
578
  * @throws {RevenexxException}
561
- * @returns {Promise<Models.Error>}
579
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
562
580
  * @deprecated Use the object parameter style method for a better developer experience.
563
581
  */
564
- shippingWeightUnitsUpdate(id: string, description?: string, descriptions?: object, factor?: number, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.Error>;
582
+ shippingWeightUnitsUpdate(id: string, description?: string, descriptions?: object, factor?: number, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.ShippingWeightUnitRow>;
565
583
  /**
566
584
  * The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
567
585
  *
568
586
  * @param {string} params.id - The row id.
569
587
  * @param {object} params.data - Request body
570
588
  * @throws {RevenexxException}
571
- * @returns {Promise<Models.Error>}
589
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
572
590
  */
573
591
  shippingWeightUnitsMakeDefault(params: {
574
592
  id: string;
575
593
  data: object;
576
- }): Promise<Models.Error>;
594
+ }): Promise<Models.ShippingWeightUnitRow>;
577
595
  /**
578
596
  * The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
579
597
  *
580
598
  * @param {string} id - The row id.
581
599
  * @param {object} data - Request body
582
600
  * @throws {RevenexxException}
583
- * @returns {Promise<Models.Error>}
601
+ * @returns {Promise<Models.ShippingWeightUnitRow>}
584
602
  * @deprecated Use the object parameter style method for a better developer experience.
585
603
  */
586
- shippingWeightUnitsMakeDefault(id: string, data: object): Promise<Models.Error>;
604
+ shippingWeightUnitsMakeDefault(id: string, data: object): Promise<Models.ShippingWeightUnitRow>;
587
605
  }
588
606
 
589
607
  export { ShippingValueLists };