@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
@@ -9,6 +9,15 @@ import '../query.js';
9
9
  import '../enums/address-type-row-tone.js';
10
10
  import '../enums/address-type-row-create-request-tone.js';
11
11
  import '../enums/address-type-row-update-request-tone.js';
12
+ import '../enums/approval-rule-approver-type.js';
13
+ import '../enums/approval-rule-condition.js';
14
+ import '../enums/approval-rule-effect.js';
15
+ import '../enums/approval-rule-create-request-approver-type.js';
16
+ import '../enums/approval-rule-create-request-condition.js';
17
+ import '../enums/approval-rule-create-request-effect.js';
18
+ import '../enums/approval-rule-update-request-approver-type.js';
19
+ import '../enums/approval-rule-update-request-condition.js';
20
+ import '../enums/approval-rule-update-request-effect.js';
12
21
  import '../enums/assets-source.js';
13
22
  import '../enums/attribute-value-bucket.js';
14
23
  import '../enums/auth-mail-source.js';
@@ -122,6 +131,8 @@ import '../enums/payment-term-tone.js';
122
131
  import '../enums/payment-term-create-request-tone.js';
123
132
  import '../enums/payment-term-update-request-tone.js';
124
133
  import '../enums/payment-vocabulary-tone.js';
134
+ import '../enums/pending-approval-approver-type.js';
135
+ import '../enums/pending-approval-status.js';
125
136
  import '../enums/price-ending-rule.js';
126
137
  import '../enums/price-entries-adjust-response-rounding.js';
127
138
  import '../enums/price-entries-adjust-response-rounding-mode.js';
@@ -144,6 +155,11 @@ import '../enums/product-grid-column-source.js';
144
155
  import '../enums/product-label-source.js';
145
156
  import '../enums/product-label-attribute-source.js';
146
157
  import '../enums/products-kind.js';
158
+ import '../enums/purchase-request-status.js';
159
+ import '../enums/purchase-request-event-name.js';
160
+ import '../enums/purchase-request-item-type.js';
161
+ import '../enums/purchase-request-item-create-request-type.js';
162
+ import '../enums/purchase-request-item-update-request-type.js';
147
163
  import '../enums/reorder-point-source.js';
148
164
  import '../enums/reservation-status.js';
149
165
  import '../enums/price-on-request-reason.js';
@@ -179,6 +195,8 @@ import '../enums/shipping-weight-unit-row-tone.js';
179
195
  import '../enums/shipping-weight-unit-update-request-tone.js';
180
196
  import '../enums/stock-movement-type.js';
181
197
  import '../enums/store-asset-request-visibility.js';
198
+ import '../enums/submit-item-type.js';
199
+ import '../enums/submit-result-outcome.js';
182
200
  import '../enums/validation-failed-response-status.js';
183
201
  import '../enums/vocabulary-default-tone.js';
184
202
  import '../enums/vocabulary-source.js';
@@ -276,13 +294,13 @@ declare class CustomersSegments {
276
294
  * @param {string} params.segmentId - The segment.
277
295
  * @param {SegmentMemberSource} params.source - How this membership came about: 'manual' is hand-picked, 'rule' was materialized by a recompute. The distinction is load-bearing — a recompute only ever inserts and deletes 'rule' rows, so a hand-picked member survives every rule change. Default 'manual'.
278
296
  * @throws {RevenexxException}
279
- * @returns {Promise<Models.Error>}
297
+ * @returns {Promise<Models.SegmentMember>}
280
298
  */
281
299
  customersSegmentMembersCreate(params: {
282
300
  organizationId: string;
283
301
  segmentId: string;
284
302
  source?: SegmentMemberSource;
285
- }): Promise<Models.Error>;
303
+ }): Promise<Models.SegmentMember>;
286
304
  /**
287
305
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. Adds a company to a segment BY HAND. The row is `source: "manual"`, which is what protects it: a rule recompute rewrites the rule-derived rows of that segment and never touches this one. A create cannot omit `segment_id` and `organization_id`; everything else is optional or defaulted by the database. Two rows of this tenant may not share the combination of `segment_id` + `organization_id`.
288
306
  *
@@ -290,48 +308,48 @@ declare class CustomersSegments {
290
308
  * @param {string} segmentId - The segment.
291
309
  * @param {SegmentMemberSource} source - How this membership came about: 'manual' is hand-picked, 'rule' was materialized by a recompute. The distinction is load-bearing — a recompute only ever inserts and deletes 'rule' rows, so a hand-picked member survives every rule change. Default 'manual'.
292
310
  * @throws {RevenexxException}
293
- * @returns {Promise<Models.Error>}
311
+ * @returns {Promise<Models.SegmentMember>}
294
312
  * @deprecated Use the object parameter style method for a better developer experience.
295
313
  */
296
- customersSegmentMembersCreate(organizationId: string, segmentId: string, source?: SegmentMemberSource): Promise<Models.Error>;
314
+ customersSegmentMembersCreate(organizationId: string, segmentId: string, source?: SegmentMemberSource): Promise<Models.SegmentMember>;
297
315
  /**
298
316
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. Takes the company out of the segment. If the segment carries rules and the company still matches them, the next recompute puts it back; remove it from the rule, not from the list. Nothing else in this app points at it, so nothing else goes with it.
299
317
  *
300
318
  * @param {string} params.id - The segment membership to delete.
301
319
  * @throws {RevenexxException}
302
- * @returns {Promise<Models.Error>}
320
+ * @returns {Promise<{}>}
303
321
  */
304
322
  customersSegmentMembersDelete(params: {
305
323
  id: string;
306
- }): Promise<Models.Error>;
324
+ }): Promise<{}>;
307
325
  /**
308
326
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. Takes the company out of the segment. If the segment carries rules and the company still matches them, the next recompute puts it back; remove it from the rule, not from the list. Nothing else in this app points at it, so nothing else goes with it.
309
327
  *
310
328
  * @param {string} id - The segment membership to delete.
311
329
  * @throws {RevenexxException}
312
- * @returns {Promise<Models.Error>}
330
+ * @returns {Promise<{}>}
313
331
  * @deprecated Use the object parameter style method for a better developer experience.
314
332
  */
315
- customersSegmentMembersDelete(id: string): Promise<Models.Error>;
333
+ customersSegmentMembersDelete(id: string): Promise<{}>;
316
334
  /**
317
335
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. One membership row by id, with the `source` that says how it came about.
318
336
  *
319
337
  * @param {string} params.id - The segment membership to read.
320
338
  * @throws {RevenexxException}
321
- * @returns {Promise<Models.Error>}
339
+ * @returns {Promise<Models.SegmentMember>}
322
340
  */
323
341
  customersSegmentMembersGet(params: {
324
342
  id: string;
325
- }): Promise<Models.Error>;
343
+ }): Promise<Models.SegmentMember>;
326
344
  /**
327
345
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. One membership row by id, with the `source` that says how it came about.
328
346
  *
329
347
  * @param {string} id - The segment membership to read.
330
348
  * @throws {RevenexxException}
331
- * @returns {Promise<Models.Error>}
349
+ * @returns {Promise<Models.SegmentMember>}
332
350
  * @deprecated Use the object parameter style method for a better developer experience.
333
351
  */
334
- customersSegmentMembersGet(id: string): Promise<Models.Error>;
352
+ customersSegmentMembersGet(id: string): Promise<Models.SegmentMember>;
335
353
  /**
336
354
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. A partial update. In practice there is little to change — a membership is a pair of ids — so this exists for the `source` correction rather than as the normal path. Two rows of this tenant may not share the combination of `segment_id` + `organization_id`.
337
355
  *
@@ -340,14 +358,14 @@ declare class CustomersSegments {
340
358
  * @param {string} params.segmentId - The segment.
341
359
  * @param {SegmentMemberSource} params.source - How this membership came about: 'manual' is hand-picked, 'rule' was materialized by a recompute. The distinction is load-bearing — a recompute only ever inserts and deletes 'rule' rows, so a hand-picked member survives every rule change. Default 'manual'.
342
360
  * @throws {RevenexxException}
343
- * @returns {Promise<Models.Error>}
361
+ * @returns {Promise<Models.SegmentMember>}
344
362
  */
345
363
  customersSegmentMembersUpdate(params: {
346
364
  id: string;
347
365
  organizationId?: string;
348
366
  segmentId?: string;
349
367
  source?: SegmentMemberSource;
350
- }): Promise<Models.Error>;
368
+ }): Promise<Models.SegmentMember>;
351
369
  /**
352
370
  * One organization inside one segment, plus the record of how it got there: `source: "manual"` for a company somebody put in, `source: "rule"` for one the rule engine matched. That distinction is what lets a recompute rewrite its own rows and leave every hand-picked one alone. A partial update. In practice there is little to change — a membership is a pair of ids — so this exists for the `source` correction rather than as the normal path. Two rows of this tenant may not share the combination of `segment_id` + `organization_id`.
353
371
  *
@@ -356,10 +374,10 @@ declare class CustomersSegments {
356
374
  * @param {string} segmentId - The segment.
357
375
  * @param {SegmentMemberSource} source - How this membership came about: 'manual' is hand-picked, 'rule' was materialized by a recompute. The distinction is load-bearing — a recompute only ever inserts and deletes 'rule' rows, so a hand-picked member survives every rule change. Default 'manual'.
358
376
  * @throws {RevenexxException}
359
- * @returns {Promise<Models.Error>}
377
+ * @returns {Promise<Models.SegmentMember>}
360
378
  * @deprecated Use the object parameter style method for a better developer experience.
361
379
  */
362
- customersSegmentMembersUpdate(id: string, organizationId?: string, segmentId?: string, source?: SegmentMemberSource): Promise<Models.Error>;
380
+ customersSegmentMembersUpdate(id: string, organizationId?: string, segmentId?: string, source?: SegmentMemberSource): Promise<Models.SegmentMember>;
363
381
  /**
364
382
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". Every segment this tenant keeps, with its stored rules. Any column filters and the page is `limit`/`offset`/`order`. Which companies are actually IN one is `segment_members`, because the rule half is materialized rather than evaluated on read.
365
383
  *
@@ -415,7 +433,7 @@ declare class CustomersSegments {
415
433
  * @param {SegmentRuleMatch} params.ruleMatch - How the conditions combine: 'all' (default) is AND, 'any' is OR. Null means the same as 'all'.
416
434
  * @param {object} params.rules - The selector that decides membership, stored verbatim. Null means the segment is manual-only. The same rule language product categories use, evaluated over organization columns, `setting:<key>` entries and the organization_metrics projection — so 'no order in 365 days' is expressible without joining the orders app. Null makes the segment manual-only. Changing it does not move a single membership — run the recompute.
417
435
  * @throws {RevenexxException}
418
- * @returns {Promise<Models.Error>}
436
+ * @returns {Promise<Models.Segment>}
419
437
  */
420
438
  customersSegmentsCreate(params: {
421
439
  code: string;
@@ -423,7 +441,7 @@ declare class CustomersSegments {
423
441
  position?: number;
424
442
  ruleMatch?: SegmentRuleMatch;
425
443
  rules?: object;
426
- }): Promise<Models.Error>;
444
+ }): Promise<Models.Segment>;
427
445
  /**
428
446
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". Creates the group. Rules are optional: leave them out for a hand-picked list, or store a rule document and let the recompute keep the membership up to date. The `code` is what other apps point at, so pick it deliberately. `code` is the only field a create cannot omit; everything else is optional or defaulted by the database. Two rows of this tenant may not share `code`.
429
447
  *
@@ -433,67 +451,67 @@ declare class CustomersSegments {
433
451
  * @param {SegmentRuleMatch} ruleMatch - How the conditions combine: 'all' (default) is AND, 'any' is OR. Null means the same as 'all'.
434
452
  * @param {object} rules - The selector that decides membership, stored verbatim. Null means the segment is manual-only. The same rule language product categories use, evaluated over organization columns, `setting:<key>` entries and the organization_metrics projection — so 'no order in 365 days' is expressible without joining the orders app. Null makes the segment manual-only. Changing it does not move a single membership — run the recompute.
435
453
  * @throws {RevenexxException}
436
- * @returns {Promise<Models.Error>}
454
+ * @returns {Promise<Models.Segment>}
437
455
  * @deprecated Use the object parameter style method for a better developer experience.
438
456
  */
439
- customersSegmentsCreate(code: string, labels?: object, position?: number, ruleMatch?: SegmentRuleMatch, rules?: object): Promise<Models.Error>;
457
+ customersSegmentsCreate(code: string, labels?: object, position?: number, ruleMatch?: SegmentRuleMatch, rules?: object): Promise<Models.Segment>;
440
458
  /**
441
459
  * Same sync as the single-segment recompute, applied to every segment with non-null rules. A failing segment is reported in its result entry instead of aborting the run. The run shares one budget: a segment that does not fit reports done:false (or skipped:true) and keeps rules_computed_at null, so the next call resumes it from its own data. Repeat until the top-level done is true.
442
460
  *
443
461
  * @param {object} params.data - Request body
444
462
  * @throws {RevenexxException}
445
- * @returns {Promise<Models.Error>}
463
+ * @returns {Promise<Models.SegmentRuleRecomputeAllResponse>}
446
464
  */
447
465
  customersSegmentsRulesRecomputeAll(params: {
448
466
  data: object;
449
- }): Promise<Models.Error>;
467
+ }): Promise<Models.SegmentRuleRecomputeAllResponse>;
450
468
  /**
451
469
  * Same sync as the single-segment recompute, applied to every segment with non-null rules. A failing segment is reported in its result entry instead of aborting the run. The run shares one budget: a segment that does not fit reports done:false (or skipped:true) and keeps rules_computed_at null, so the next call resumes it from its own data. Repeat until the top-level done is true.
452
470
  *
453
471
  * @param {object} data - Request body
454
472
  * @throws {RevenexxException}
455
- * @returns {Promise<Models.Error>}
473
+ * @returns {Promise<Models.SegmentRuleRecomputeAllResponse>}
456
474
  * @deprecated Use the object parameter style method for a better developer experience.
457
475
  */
458
- customersSegmentsRulesRecomputeAll(data: object): Promise<Models.Error>;
476
+ customersSegmentsRulesRecomputeAll(data: object): Promise<Models.SegmentRuleRecomputeAllResponse>;
459
477
  /**
460
478
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". Removes the segment. Anything in another app that points at its `code` — a price list, a campaign — is left pointing at nothing, because no app may hold a foreign key into another (ADR-0055). Deleting one takes every `segment_members` row that points at it with it — the foreign keys decide, not this route.
461
479
  *
462
480
  * @param {string} params.id - The segment to delete.
463
481
  * @throws {RevenexxException}
464
- * @returns {Promise<Models.Error>}
482
+ * @returns {Promise<{}>}
465
483
  */
466
484
  customersSegmentsDelete(params: {
467
485
  id: string;
468
- }): Promise<Models.Error>;
486
+ }): Promise<{}>;
469
487
  /**
470
488
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". Removes the segment. Anything in another app that points at its `code` — a price list, a campaign — is left pointing at nothing, because no app may hold a foreign key into another (ADR-0055). Deleting one takes every `segment_members` row that points at it with it — the foreign keys decide, not this route.
471
489
  *
472
490
  * @param {string} id - The segment to delete.
473
491
  * @throws {RevenexxException}
474
- * @returns {Promise<Models.Error>}
492
+ * @returns {Promise<{}>}
475
493
  * @deprecated Use the object parameter style method for a better developer experience.
476
494
  */
477
- customersSegmentsDelete(id: string): Promise<Models.Error>;
495
+ customersSegmentsDelete(id: string): Promise<{}>;
478
496
  /**
479
497
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". One segment by id, including the rule document it carries. A segment with no rules is hand-picked and completely valid.
480
498
  *
481
499
  * @param {string} params.id - The segment to read.
482
500
  * @throws {RevenexxException}
483
- * @returns {Promise<Models.Error>}
501
+ * @returns {Promise<Models.Segment>}
484
502
  */
485
503
  customersSegmentsGet(params: {
486
504
  id: string;
487
- }): Promise<Models.Error>;
505
+ }): Promise<Models.Segment>;
488
506
  /**
489
507
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". One segment by id, including the rule document it carries. A segment with no rules is hand-picked and completely valid.
490
508
  *
491
509
  * @param {string} id - The segment to read.
492
510
  * @throws {RevenexxException}
493
- * @returns {Promise<Models.Error>}
511
+ * @returns {Promise<Models.Segment>}
494
512
  * @deprecated Use the object parameter style method for a better developer experience.
495
513
  */
496
- customersSegmentsGet(id: string): Promise<Models.Error>;
514
+ customersSegmentsGet(id: string): Promise<Models.Segment>;
497
515
  /**
498
516
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". A partial update — send only what changes. Editing the rules does NOT re-evaluate them: that is `POST /customers/segments/{segment_id}/rules/recompute`, so a half-typed rule never silently empties a live segment. Two rows of this tenant may not share `code`.
499
517
  *
@@ -504,7 +522,7 @@ declare class CustomersSegments {
504
522
  * @param {SegmentRuleMatch} params.ruleMatch - How the conditions combine: 'all' (default) is AND, 'any' is OR. Null means the same as 'all'.
505
523
  * @param {object} params.rules - The selector that decides membership, stored verbatim. Null means the segment is manual-only. The same rule language product categories use, evaluated over organization columns, `setting:<key>` entries and the organization_metrics projection — so 'no order in 365 days' is expressible without joining the orders app. Null makes the segment manual-only. Changing it does not move a single membership — run the recompute.
506
524
  * @throws {RevenexxException}
507
- * @returns {Promise<Models.Error>}
525
+ * @returns {Promise<Models.Segment>}
508
526
  */
509
527
  customersSegmentsUpdate(params: {
510
528
  id: string;
@@ -513,7 +531,7 @@ declare class CustomersSegments {
513
531
  position?: number;
514
532
  ruleMatch?: SegmentRuleMatch;
515
533
  rules?: object;
516
- }): Promise<Models.Error>;
534
+ }): Promise<Models.Segment>;
517
535
  /**
518
536
  * A segment is a named group of ORGANIZATIONS — never of people — built by hand, by rule, or both at once. It is what a price list, a campaign or a shipping option is pointed at when the answer is "these customers, not those". A partial update — send only what changes. Editing the rules does NOT re-evaluate them: that is `POST /customers/segments/{segment_id}/rules/recompute`, so a half-typed rule never silently empties a live segment. Two rows of this tenant may not share `code`.
519
537
  *
@@ -524,10 +542,10 @@ declare class CustomersSegments {
524
542
  * @param {SegmentRuleMatch} ruleMatch - How the conditions combine: 'all' (default) is AND, 'any' is OR. Null means the same as 'all'.
525
543
  * @param {object} rules - The selector that decides membership, stored verbatim. Null means the segment is manual-only. The same rule language product categories use, evaluated over organization columns, `setting:<key>` entries and the organization_metrics projection — so 'no order in 365 days' is expressible without joining the orders app. Null makes the segment manual-only. Changing it does not move a single membership — run the recompute.
526
544
  * @throws {RevenexxException}
527
- * @returns {Promise<Models.Error>}
545
+ * @returns {Promise<Models.Segment>}
528
546
  * @deprecated Use the object parameter style method for a better developer experience.
529
547
  */
530
- customersSegmentsUpdate(id: string, code?: string, labels?: object, position?: number, ruleMatch?: SegmentRuleMatch, rules?: object): Promise<Models.Error>;
548
+ customersSegmentsUpdate(id: string, code?: string, labels?: object, position?: number, ruleMatch?: SegmentRuleMatch, rules?: object): Promise<Models.Segment>;
531
549
  /**
532
550
  * A dry run: it answers how many organizations the rule would select, with a handful of them by name, and writes nothing at all. Evaluates the rule document in the REQUEST BODY (not the stored segments.rules), so the cockpit can preview an unsaved rule. Costs a single count query for the common single-query rule; 'any' rules and rules repeating a column are combined in the app and capped at 5000 ids, in which case 'capped' is true and 'count' is a LOWER bound. Membership is never touched.
533
551
  *
@@ -536,14 +554,14 @@ declare class CustomersSegments {
536
554
  * @param {RuleMatch} params.ruleMatch - How the conditions combine. Default 'all'.
537
555
  * @param {Target} params.target - Only 'organizations' is supported; any other value is rejected. A segment groups COMPANIES — the people are reached through them.
538
556
  * @throws {RevenexxException}
539
- * @returns {Promise<Models.Error>}
557
+ * @returns {Promise<Models.SegmentRulePreviewResponse>}
540
558
  */
541
559
  customersSegmentsRulesPreview(params: {
542
560
  segmentId: string;
543
561
  conditions: Models.SegmentRuleCondition[];
544
562
  ruleMatch?: RuleMatch;
545
563
  target?: Target;
546
- }): Promise<Models.Error>;
564
+ }): Promise<Models.SegmentRulePreviewResponse>;
547
565
  /**
548
566
  * A dry run: it answers how many organizations the rule would select, with a handful of them by name, and writes nothing at all. Evaluates the rule document in the REQUEST BODY (not the stored segments.rules), so the cockpit can preview an unsaved rule. Costs a single count query for the common single-query rule; 'any' rules and rules repeating a column are combined in the app and capped at 5000 ids, in which case 'capped' is true and 'count' is a LOWER bound. Membership is never touched.
549
567
  *
@@ -552,32 +570,32 @@ declare class CustomersSegments {
552
570
  * @param {RuleMatch} ruleMatch - How the conditions combine. Default 'all'.
553
571
  * @param {Target} target - Only 'organizations' is supported; any other value is rejected. A segment groups COMPANIES — the people are reached through them.
554
572
  * @throws {RevenexxException}
555
- * @returns {Promise<Models.Error>}
573
+ * @returns {Promise<Models.SegmentRulePreviewResponse>}
556
574
  * @deprecated Use the object parameter style method for a better developer experience.
557
575
  */
558
- customersSegmentsRulesPreview(segmentId: string, conditions: Models.SegmentRuleCondition[], ruleMatch?: RuleMatch, target?: Target): Promise<Models.Error>;
576
+ customersSegmentsRulesPreview(segmentId: string, conditions: Models.SegmentRuleCondition[], ruleMatch?: RuleMatch, target?: Target): Promise<Models.SegmentRulePreviewResponse>;
559
577
  /**
560
578
  * Evaluates segments.rules (NOT the request body), then inserts the newly matching organizations as source='rule' rows and deletes the rule rows that no longer match. Manual (source='manual') memberships are never inserted, deleted or shadowed. Bounded by a wall-clock budget below the gateway's upstream timeout: when 'done' is false, POST again with the returned 'cursor' until it is true. added/removed/processed count THIS call only. Omitting 'cursor' resumes an unfinished pass and starts a fresh one after a completed pass; an explicit null always restarts. segments.rules_computed_at is stamped only when the pass completes.
561
579
  *
562
580
  * @param {string} params.segmentId - The segment whose stored rules are evaluated.
563
581
  * @param {string} params.cursor - Continuation token from a previous response — the id of the last organization the pass touched. Omit to resume or start automatically; pass null to force a restart from the beginning.
564
582
  * @throws {RevenexxException}
565
- * @returns {Promise<Models.Error>}
583
+ * @returns {Promise<Models.SegmentRuleRecomputeResponse>}
566
584
  */
567
585
  customersSegmentsRulesRecompute(params: {
568
586
  segmentId: string;
569
587
  cursor?: string;
570
- }): Promise<Models.Error>;
588
+ }): Promise<Models.SegmentRuleRecomputeResponse>;
571
589
  /**
572
590
  * Evaluates segments.rules (NOT the request body), then inserts the newly matching organizations as source='rule' rows and deletes the rule rows that no longer match. Manual (source='manual') memberships are never inserted, deleted or shadowed. Bounded by a wall-clock budget below the gateway's upstream timeout: when 'done' is false, POST again with the returned 'cursor' until it is true. added/removed/processed count THIS call only. Omitting 'cursor' resumes an unfinished pass and starts a fresh one after a completed pass; an explicit null always restarts. segments.rules_computed_at is stamped only when the pass completes.
573
591
  *
574
592
  * @param {string} segmentId - The segment whose stored rules are evaluated.
575
593
  * @param {string} cursor - Continuation token from a previous response — the id of the last organization the pass touched. Omit to resume or start automatically; pass null to force a restart from the beginning.
576
594
  * @throws {RevenexxException}
577
- * @returns {Promise<Models.Error>}
595
+ * @returns {Promise<Models.SegmentRuleRecomputeResponse>}
578
596
  * @deprecated Use the object parameter style method for a better developer experience.
579
597
  */
580
- customersSegmentsRulesRecompute(segmentId: string, cursor?: string): Promise<Models.Error>;
598
+ customersSegmentsRulesRecompute(segmentId: string, cursor?: string): Promise<Models.SegmentRuleRecomputeResponse>;
581
599
  }
582
600
 
583
601
  export { CustomersSegments };