@revenexx/node 0.4.0 → 0.5.0

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 (327) hide show
  1. package/dist/client.d.mts +1 -0
  2. package/dist/client.d.ts +1 -0
  3. package/dist/client.js +3 -3
  4. package/dist/client.js.map +1 -1
  5. package/dist/client.mjs +3 -3
  6. package/dist/client.mjs.map +1 -1
  7. package/dist/enums/market-readiness-report-warning-reasons.d.mts +9 -0
  8. package/dist/enums/market-readiness-report-warning-reasons.d.ts +9 -0
  9. package/dist/enums/market-readiness-report-warning-reasons.js +14 -0
  10. package/dist/enums/market-readiness-report-warning-reasons.js.map +1 -0
  11. package/dist/enums/market-readiness-report-warning-reasons.mjs +13 -0
  12. package/dist/enums/market-readiness-report-warning-reasons.mjs.map +1 -0
  13. package/dist/enums/market-readiness-warning-reasons.d.mts +9 -0
  14. package/dist/enums/market-readiness-warning-reasons.d.ts +9 -0
  15. package/dist/enums/market-readiness-warning-reasons.js +14 -0
  16. package/dist/enums/market-readiness-warning-reasons.js.map +1 -0
  17. package/dist/enums/market-readiness-warning-reasons.mjs +13 -0
  18. package/dist/enums/market-readiness-warning-reasons.mjs.map +1 -0
  19. package/dist/enums/product-defaults-result-reason.d.mts +6 -0
  20. package/dist/enums/product-defaults-result-reason.d.ts +6 -0
  21. package/dist/enums/product-defaults-result-reason.js +11 -0
  22. package/dist/enums/product-defaults-result-reason.js.map +1 -0
  23. package/dist/enums/product-defaults-result-reason.mjs +10 -0
  24. package/dist/enums/product-defaults-result-reason.mjs.map +1 -0
  25. package/dist/enums/punchout-vocabularies-get-name.d.mts +1 -0
  26. package/dist/enums/punchout-vocabularies-get-name.d.ts +1 -0
  27. package/dist/enums/punchout-vocabularies-get-name.js +1 -0
  28. package/dist/enums/punchout-vocabularies-get-name.js.map +1 -1
  29. package/dist/enums/punchout-vocabularies-get-name.mjs +1 -0
  30. package/dist/enums/punchout-vocabularies-get-name.mjs.map +1 -1
  31. package/dist/index.d.mts +3 -0
  32. package/dist/index.d.ts +3 -0
  33. package/dist/index.js +15 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +3 -0
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/models.d.mts +160 -12
  38. package/dist/models.d.ts +160 -12
  39. package/dist/services/ads-accounts.d.mts +1 -0
  40. package/dist/services/ads-accounts.d.ts +1 -0
  41. package/dist/services/ads-conversions.d.mts +1 -0
  42. package/dist/services/ads-conversions.d.ts +1 -0
  43. package/dist/services/ads-feeds.d.mts +1 -0
  44. package/dist/services/ads-feeds.d.ts +1 -0
  45. package/dist/services/ads-jobs.d.mts +1 -0
  46. package/dist/services/ads-jobs.d.ts +1 -0
  47. package/dist/services/ads-links.d.mts +1 -0
  48. package/dist/services/ads-links.d.ts +1 -0
  49. package/dist/services/ads-rules.d.mts +1 -0
  50. package/dist/services/ads-rules.d.ts +1 -0
  51. package/dist/services/ads-spend.d.mts +1 -0
  52. package/dist/services/ads-spend.d.ts +1 -0
  53. package/dist/services/ads-syncs.d.mts +1 -0
  54. package/dist/services/ads-syncs.d.ts +1 -0
  55. package/dist/services/ads-vocabularies.d.mts +1 -0
  56. package/dist/services/ads-vocabularies.d.ts +1 -0
  57. package/dist/services/apps.d.mts +1 -0
  58. package/dist/services/apps.d.ts +1 -0
  59. package/dist/services/audiences-audiences.d.mts +1 -0
  60. package/dist/services/audiences-audiences.d.ts +1 -0
  61. package/dist/services/audiences-members.d.mts +1 -0
  62. package/dist/services/audiences-members.d.ts +1 -0
  63. package/dist/services/audiences-rules.d.mts +1 -0
  64. package/dist/services/audiences-rules.d.ts +1 -0
  65. package/dist/services/audit.d.mts +1 -0
  66. package/dist/services/audit.d.ts +1 -0
  67. package/dist/services/avatars.d.mts +1 -0
  68. package/dist/services/avatars.d.ts +1 -0
  69. package/dist/services/campaigns-assets.d.mts +1 -0
  70. package/dist/services/campaigns-assets.d.ts +1 -0
  71. package/dist/services/campaigns-attribution.d.mts +1 -0
  72. package/dist/services/campaigns-attribution.d.ts +1 -0
  73. package/dist/services/campaigns-budgets.d.mts +1 -0
  74. package/dist/services/campaigns-budgets.d.ts +1 -0
  75. package/dist/services/campaigns-calendar.d.mts +1 -0
  76. package/dist/services/campaigns-calendar.d.ts +1 -0
  77. package/dist/services/campaigns-campaigns.d.mts +1 -0
  78. package/dist/services/campaigns-campaigns.d.ts +1 -0
  79. package/dist/services/campaigns-spend.d.mts +1 -0
  80. package/dist/services/campaigns-spend.d.ts +1 -0
  81. package/dist/services/campaigns-tasks.d.mts +1 -0
  82. package/dist/services/campaigns-tasks.d.ts +1 -0
  83. package/dist/services/campaigns-touches.d.mts +1 -0
  84. package/dist/services/campaigns-touches.d.ts +1 -0
  85. package/dist/services/campaigns-vocabularies.d.mts +1 -0
  86. package/dist/services/campaigns-vocabularies.d.ts +1 -0
  87. package/dist/services/carts-io.d.mts +1 -0
  88. package/dist/services/carts-io.d.ts +1 -0
  89. package/dist/services/carts-items.d.mts +1 -0
  90. package/dist/services/carts-items.d.ts +1 -0
  91. package/dist/services/carts.d.mts +1 -0
  92. package/dist/services/carts.d.ts +1 -0
  93. package/dist/services/channels.d.mts +1 -0
  94. package/dist/services/channels.d.ts +1 -0
  95. package/dist/services/consent-manager-delivery.d.mts +1 -0
  96. package/dist/services/consent-manager-delivery.d.ts +1 -0
  97. package/dist/services/consent-manager-policy.d.mts +1 -0
  98. package/dist/services/consent-manager-policy.d.ts +1 -0
  99. package/dist/services/consent-manager-records.d.mts +1 -0
  100. package/dist/services/consent-manager-records.d.ts +1 -0
  101. package/dist/services/consent-manager-registry.d.mts +1 -0
  102. package/dist/services/consent-manager-registry.d.ts +1 -0
  103. package/dist/services/cost-centers.d.mts +9 -8
  104. package/dist/services/cost-centers.d.ts +9 -8
  105. package/dist/services/cost-centers.js +19 -13
  106. package/dist/services/cost-centers.js.map +1 -1
  107. package/dist/services/cost-centers.mjs +19 -13
  108. package/dist/services/cost-centers.mjs.map +1 -1
  109. package/dist/services/customers-contacts.d.mts +1 -0
  110. package/dist/services/customers-contacts.d.ts +1 -0
  111. package/dist/services/customers-follow-ups.d.mts +1 -0
  112. package/dist/services/customers-follow-ups.d.ts +1 -0
  113. package/dist/services/customers-leads.d.mts +1 -0
  114. package/dist/services/customers-leads.d.ts +1 -0
  115. package/dist/services/customers-organizations.d.mts +1 -0
  116. package/dist/services/customers-organizations.d.ts +1 -0
  117. package/dist/services/customers-roles.d.mts +1 -0
  118. package/dist/services/customers-roles.d.ts +1 -0
  119. package/dist/services/customers-segments.d.mts +1 -0
  120. package/dist/services/customers-segments.d.ts +1 -0
  121. package/dist/services/customers-value-lists.d.mts +1 -0
  122. package/dist/services/customers-value-lists.d.ts +1 -0
  123. package/dist/services/customers.d.mts +1 -0
  124. package/dist/services/customers.d.ts +1 -0
  125. package/dist/services/documents-kinds.d.mts +1 -0
  126. package/dist/services/documents-kinds.d.ts +1 -0
  127. package/dist/services/documents-register.d.mts +1 -0
  128. package/dist/services/documents-register.d.ts +1 -0
  129. package/dist/services/events.d.mts +1 -0
  130. package/dist/services/events.d.ts +1 -0
  131. package/dist/services/forms.d.mts +1 -0
  132. package/dist/services/forms.d.ts +1 -0
  133. package/dist/services/health.d.mts +1 -0
  134. package/dist/services/health.d.ts +1 -0
  135. package/dist/services/inventories-locations.d.mts +1 -0
  136. package/dist/services/inventories-locations.d.ts +1 -0
  137. package/dist/services/inventories-reservations.d.mts +1 -0
  138. package/dist/services/inventories-reservations.d.ts +1 -0
  139. package/dist/services/inventories-stock.d.mts +1 -0
  140. package/dist/services/inventories-stock.d.ts +1 -0
  141. package/dist/services/io.d.mts +1 -0
  142. package/dist/services/io.d.ts +1 -0
  143. package/dist/services/journeys-enrollments.d.mts +1 -0
  144. package/dist/services/journeys-enrollments.d.ts +1 -0
  145. package/dist/services/journeys-jobs.d.mts +1 -0
  146. package/dist/services/journeys-jobs.d.ts +1 -0
  147. package/dist/services/journeys-journeys.d.mts +1 -0
  148. package/dist/services/journeys-journeys.d.ts +1 -0
  149. package/dist/services/journeys-stats.d.mts +1 -0
  150. package/dist/services/journeys-stats.d.ts +1 -0
  151. package/dist/services/journeys-steps.d.mts +1 -0
  152. package/dist/services/journeys-steps.d.ts +1 -0
  153. package/dist/services/journeys-templates.d.mts +1 -0
  154. package/dist/services/journeys-templates.d.ts +1 -0
  155. package/dist/services/journeys-timeline.d.mts +1 -0
  156. package/dist/services/journeys-timeline.d.ts +1 -0
  157. package/dist/services/journeys-versions.d.mts +1 -0
  158. package/dist/services/journeys-versions.d.ts +1 -0
  159. package/dist/services/journeys-vocabularies.d.mts +1 -0
  160. package/dist/services/journeys-vocabularies.d.ts +1 -0
  161. package/dist/services/journeys-watches.d.mts +1 -0
  162. package/dist/services/journeys-watches.d.ts +1 -0
  163. package/dist/services/locale.d.mts +1 -0
  164. package/dist/services/locale.d.ts +1 -0
  165. package/dist/services/loyalty-bonus.d.mts +1 -0
  166. package/dist/services/loyalty-bonus.d.ts +1 -0
  167. package/dist/services/loyalty-jobs.d.mts +1 -0
  168. package/dist/services/loyalty-jobs.d.ts +1 -0
  169. package/dist/services/loyalty-memberships.d.mts +1 -0
  170. package/dist/services/loyalty-memberships.d.ts +1 -0
  171. package/dist/services/loyalty-points.d.mts +1 -0
  172. package/dist/services/loyalty-points.d.ts +1 -0
  173. package/dist/services/loyalty-programs.d.mts +1 -0
  174. package/dist/services/loyalty-programs.d.ts +1 -0
  175. package/dist/services/loyalty-referrals.d.mts +1 -0
  176. package/dist/services/loyalty-referrals.d.ts +1 -0
  177. package/dist/services/loyalty-rewards.d.mts +1 -0
  178. package/dist/services/loyalty-rewards.d.ts +1 -0
  179. package/dist/services/loyalty-tiers.d.mts +1 -0
  180. package/dist/services/loyalty-tiers.d.ts +1 -0
  181. package/dist/services/loyalty-vocabularies.d.mts +1 -0
  182. package/dist/services/loyalty-vocabularies.d.ts +1 -0
  183. package/dist/services/mailings-analysis.d.mts +1 -0
  184. package/dist/services/mailings-analysis.d.ts +1 -0
  185. package/dist/services/mailings-blocks.d.mts +1 -0
  186. package/dist/services/mailings-blocks.d.ts +1 -0
  187. package/dist/services/mailings-health.d.mts +1 -0
  188. package/dist/services/mailings-health.d.ts +1 -0
  189. package/dist/services/mailings-mailings.d.mts +1 -0
  190. package/dist/services/mailings-mailings.d.ts +1 -0
  191. package/dist/services/mailings-recipients.d.mts +1 -0
  192. package/dist/services/mailings-recipients.d.ts +1 -0
  193. package/dist/services/mailings-send.d.mts +1 -0
  194. package/dist/services/mailings-send.d.ts +1 -0
  195. package/dist/services/mailings-variants.d.mts +1 -0
  196. package/dist/services/mailings-variants.d.ts +1 -0
  197. package/dist/services/mailings-vocabularies.d.mts +1 -0
  198. package/dist/services/mailings-vocabularies.d.ts +1 -0
  199. package/dist/services/marketing-consents-evidence.d.mts +1 -0
  200. package/dist/services/marketing-consents-evidence.d.ts +1 -0
  201. package/dist/services/marketing-consents-subscriptions.d.mts +1 -0
  202. package/dist/services/marketing-consents-subscriptions.d.ts +1 -0
  203. package/dist/services/marketing-consents-types.d.mts +1 -0
  204. package/dist/services/marketing-consents-types.d.ts +1 -0
  205. package/dist/services/markets.d.mts +5 -4
  206. package/dist/services/markets.d.ts +5 -4
  207. package/dist/services/markets.js.map +1 -1
  208. package/dist/services/markets.mjs.map +1 -1
  209. package/dist/services/messaging.d.mts +1 -0
  210. package/dist/services/messaging.d.ts +1 -0
  211. package/dist/services/orderlists.d.mts +1 -0
  212. package/dist/services/orderlists.d.ts +1 -0
  213. package/dist/services/orders.d.mts +1 -0
  214. package/dist/services/orders.d.ts +1 -0
  215. package/dist/services/pages-collaboration.d.mts +1 -0
  216. package/dist/services/pages-collaboration.d.ts +1 -0
  217. package/dist/services/pages-delivery.d.mts +1 -0
  218. package/dist/services/pages-delivery.d.ts +1 -0
  219. package/dist/services/pages-editor.d.mts +1 -0
  220. package/dist/services/pages-editor.d.ts +1 -0
  221. package/dist/services/pages.d.mts +1 -0
  222. package/dist/services/pages.d.ts +1 -0
  223. package/dist/services/payments-ledger.d.mts +1 -0
  224. package/dist/services/payments-ledger.d.ts +1 -0
  225. package/dist/services/payments-methods.d.mts +20 -0
  226. package/dist/services/payments-methods.d.ts +20 -0
  227. package/dist/services/payments-methods.js +24 -0
  228. package/dist/services/payments-methods.js.map +1 -1
  229. package/dist/services/payments-methods.mjs +24 -0
  230. package/dist/services/payments-methods.mjs.map +1 -1
  231. package/dist/services/payments-providers.d.mts +3 -2
  232. package/dist/services/payments-providers.d.ts +3 -2
  233. package/dist/services/payments-providers.js.map +1 -1
  234. package/dist/services/payments-providers.mjs.map +1 -1
  235. package/dist/services/prices.d.mts +1 -0
  236. package/dist/services/prices.d.ts +1 -0
  237. package/dist/services/procurement.d.mts +1 -0
  238. package/dist/services/procurement.d.ts +1 -0
  239. package/dist/services/products-assets.d.mts +1 -0
  240. package/dist/services/products-assets.d.ts +1 -0
  241. package/dist/services/products-categories.d.mts +1 -0
  242. package/dist/services/products-categories.d.ts +1 -0
  243. package/dist/services/products-data-model.d.mts +20 -0
  244. package/dist/services/products-data-model.d.ts +20 -0
  245. package/dist/services/products-data-model.js +29 -0
  246. package/dist/services/products-data-model.js.map +1 -1
  247. package/dist/services/products-data-model.mjs +29 -0
  248. package/dist/services/products-data-model.mjs.map +1 -1
  249. package/dist/services/products-manufacturers.d.mts +1 -0
  250. package/dist/services/products-manufacturers.d.ts +1 -0
  251. package/dist/services/products-references.d.mts +1 -0
  252. package/dist/services/products-references.d.ts +1 -0
  253. package/dist/services/products.d.mts +20 -0
  254. package/dist/services/products.d.ts +20 -0
  255. package/dist/services/products.js +24 -0
  256. package/dist/services/products.js.map +1 -1
  257. package/dist/services/products.mjs +24 -0
  258. package/dist/services/products.mjs.map +1 -1
  259. package/dist/services/promotions-evaluation.d.mts +1 -0
  260. package/dist/services/promotions-evaluation.d.ts +1 -0
  261. package/dist/services/promotions-promotions.d.mts +1 -0
  262. package/dist/services/promotions-promotions.d.ts +1 -0
  263. package/dist/services/promotions-redemptions.d.mts +1 -0
  264. package/dist/services/promotions-redemptions.d.ts +1 -0
  265. package/dist/services/promotions-vouchers.d.mts +1 -0
  266. package/dist/services/promotions-vouchers.d.ts +1 -0
  267. package/dist/services/punchout.d.mts +4 -3
  268. package/dist/services/punchout.d.ts +4 -3
  269. package/dist/services/punchout.js +1 -1
  270. package/dist/services/punchout.js.map +1 -1
  271. package/dist/services/punchout.mjs +1 -1
  272. package/dist/services/punchout.mjs.map +1 -1
  273. package/dist/services/quotes-acceptance.d.mts +1 -0
  274. package/dist/services/quotes-acceptance.d.ts +1 -0
  275. package/dist/services/quotes-pricing.d.mts +1 -0
  276. package/dist/services/quotes-pricing.d.ts +1 -0
  277. package/dist/services/quotes-quotes.d.mts +1 -0
  278. package/dist/services/quotes-quotes.d.ts +1 -0
  279. package/dist/services/quotes-ranges.d.mts +1 -0
  280. package/dist/services/quotes-ranges.d.ts +1 -0
  281. package/dist/services/quotes-trail.d.mts +1 -0
  282. package/dist/services/quotes-trail.d.ts +1 -0
  283. package/dist/services/reviews-aggregates.d.mts +1 -0
  284. package/dist/services/reviews-aggregates.d.ts +1 -0
  285. package/dist/services/reviews-jobs.d.mts +1 -0
  286. package/dist/services/reviews-jobs.d.ts +1 -0
  287. package/dist/services/reviews-moderation.d.mts +1 -0
  288. package/dist/services/reviews-moderation.d.ts +1 -0
  289. package/dist/services/reviews-privacy.d.mts +1 -0
  290. package/dist/services/reviews-privacy.d.ts +1 -0
  291. package/dist/services/reviews-products.d.mts +1 -0
  292. package/dist/services/reviews-products.d.ts +1 -0
  293. package/dist/services/reviews-requests.d.mts +1 -0
  294. package/dist/services/reviews-requests.d.ts +1 -0
  295. package/dist/services/reviews-reviews.d.mts +1 -0
  296. package/dist/services/reviews-reviews.d.ts +1 -0
  297. package/dist/services/reviews-vocabularies.d.mts +1 -0
  298. package/dist/services/reviews-vocabularies.d.ts +1 -0
  299. package/dist/services/sales-reps-acting-for.d.mts +1 -0
  300. package/dist/services/sales-reps-acting-for.d.ts +1 -0
  301. package/dist/services/sales-reps-coverage.d.mts +1 -0
  302. package/dist/services/sales-reps-coverage.d.ts +1 -0
  303. package/dist/services/sales-reps-roster.d.mts +1 -0
  304. package/dist/services/sales-reps-roster.d.ts +1 -0
  305. package/dist/services/search.d.mts +1 -0
  306. package/dist/services/search.d.ts +1 -0
  307. package/dist/services/settings.d.mts +1 -0
  308. package/dist/services/settings.d.ts +1 -0
  309. package/dist/services/shipping-carriers.d.mts +1 -0
  310. package/dist/services/shipping-carriers.d.ts +1 -0
  311. package/dist/services/shipping-methods.d.mts +5 -4
  312. package/dist/services/shipping-methods.d.ts +5 -4
  313. package/dist/services/shipping-methods.js.map +1 -1
  314. package/dist/services/shipping-methods.mjs.map +1 -1
  315. package/dist/services/shipping-value-lists.d.mts +1 -0
  316. package/dist/services/shipping-value-lists.d.ts +1 -0
  317. package/dist/services/sites.d.mts +1 -0
  318. package/dist/services/sites.d.ts +1 -0
  319. package/dist/services/storage.d.mts +1 -0
  320. package/dist/services/storage.d.ts +1 -0
  321. package/dist/services/tag-manager-container.d.mts +1 -0
  322. package/dist/services/tag-manager-container.d.ts +1 -0
  323. package/dist/services/tag-manager-delivery.d.mts +1 -0
  324. package/dist/services/tag-manager-delivery.d.ts +1 -0
  325. package/dist/services/tag-manager-tags.d.mts +1 -0
  326. package/dist/services/tag-manager-tags.d.ts +1 -0
  327. package/package.json +3 -2
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
382
382
  import '../enums/procurement-vocabulary-value-tone.mjs';
383
383
  import '../enums/product-categories-source.mjs';
384
384
  import '../enums/product-channels-assign-request-mode.mjs';
385
+ import '../enums/product-defaults-result-reason.mjs';
385
386
  import '../enums/product-grid-column-source.mjs';
386
387
  import '../enums/product-label-source.mjs';
387
388
  import '../enums/product-label-attribute-source.mjs';
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
382
382
  import '../enums/procurement-vocabulary-value-tone.js';
383
383
  import '../enums/product-categories-source.js';
384
384
  import '../enums/product-channels-assign-request-mode.js';
385
+ import '../enums/product-defaults-result-reason.js';
385
386
  import '../enums/product-grid-column-source.js';
386
387
  import '../enums/product-label-source.js';
387
388
  import '../enums/product-label-attribute-source.js';
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
388
388
  import '../enums/procurement-vocabulary-value-tone.mjs';
389
389
  import '../enums/product-categories-source.mjs';
390
390
  import '../enums/product-channels-assign-request-mode.mjs';
391
+ import '../enums/product-defaults-result-reason.mjs';
391
392
  import '../enums/product-grid-column-source.mjs';
392
393
  import '../enums/product-label-source.mjs';
393
394
  import '../enums/product-label-attribute-source.mjs';
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
388
388
  import '../enums/procurement-vocabulary-value-tone.js';
389
389
  import '../enums/product-categories-source.js';
390
390
  import '../enums/product-channels-assign-request-mode.js';
391
+ import '../enums/product-defaults-result-reason.js';
391
392
  import '../enums/product-grid-column-source.js';
392
393
  import '../enums/product-label-source.js';
393
394
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
382
382
  import '../enums/procurement-vocabulary-value-tone.mjs';
383
383
  import '../enums/product-categories-source.mjs';
384
384
  import '../enums/product-channels-assign-request-mode.mjs';
385
+ import '../enums/product-defaults-result-reason.mjs';
385
386
  import '../enums/product-grid-column-source.mjs';
386
387
  import '../enums/product-label-source.mjs';
387
388
  import '../enums/product-label-attribute-source.mjs';
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
382
382
  import '../enums/procurement-vocabulary-value-tone.js';
383
383
  import '../enums/product-categories-source.js';
384
384
  import '../enums/product-channels-assign-request-mode.js';
385
+ import '../enums/product-defaults-result-reason.js';
385
386
  import '../enums/product-grid-column-source.js';
386
387
  import '../enums/product-label-source.js';
387
388
  import '../enums/product-label-attribute-source.js';
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
385
385
  import '../enums/procurement-vocabulary-value-tone.mjs';
386
386
  import '../enums/product-categories-source.mjs';
387
387
  import '../enums/product-channels-assign-request-mode.mjs';
388
+ import '../enums/product-defaults-result-reason.mjs';
388
389
  import '../enums/product-grid-column-source.mjs';
389
390
  import '../enums/product-label-source.mjs';
390
391
  import '../enums/product-label-attribute-source.mjs';
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
385
385
  import '../enums/procurement-vocabulary-value-tone.js';
386
386
  import '../enums/product-categories-source.js';
387
387
  import '../enums/product-channels-assign-request-mode.js';
388
+ import '../enums/product-defaults-result-reason.js';
388
389
  import '../enums/product-grid-column-source.js';
389
390
  import '../enums/product-label-source.js';
390
391
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
384
384
  import '../enums/procurement-vocabulary-value-tone.mjs';
385
385
  import '../enums/product-categories-source.mjs';
386
386
  import '../enums/product-channels-assign-request-mode.mjs';
387
+ import '../enums/product-defaults-result-reason.mjs';
387
388
  import '../enums/product-grid-column-source.mjs';
388
389
  import '../enums/product-label-source.mjs';
389
390
  import '../enums/product-label-attribute-source.mjs';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
384
384
  import '../enums/procurement-vocabulary-value-tone.js';
385
385
  import '../enums/product-categories-source.js';
386
386
  import '../enums/product-channels-assign-request-mode.js';
387
+ import '../enums/product-defaults-result-reason.js';
387
388
  import '../enums/product-grid-column-source.js';
388
389
  import '../enums/product-label-source.js';
389
390
  import '../enums/product-label-attribute-source.js';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
384
384
  import '../enums/procurement-vocabulary-value-tone.mjs';
385
385
  import '../enums/product-categories-source.mjs';
386
386
  import '../enums/product-channels-assign-request-mode.mjs';
387
+ import '../enums/product-defaults-result-reason.mjs';
387
388
  import '../enums/product-grid-column-source.mjs';
388
389
  import '../enums/product-label-source.mjs';
389
390
  import '../enums/product-label-attribute-source.mjs';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
384
384
  import '../enums/procurement-vocabulary-value-tone.js';
385
385
  import '../enums/product-categories-source.js';
386
386
  import '../enums/product-channels-assign-request-mode.js';
387
+ import '../enums/product-defaults-result-reason.js';
387
388
  import '../enums/product-grid-column-source.js';
388
389
  import '../enums/product-label-source.js';
389
390
  import '../enums/product-label-attribute-source.js';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
383
383
  import '../enums/procurement-vocabulary-value-tone.mjs';
384
384
  import '../enums/product-categories-source.mjs';
385
385
  import '../enums/product-channels-assign-request-mode.mjs';
386
+ import '../enums/product-defaults-result-reason.mjs';
386
387
  import '../enums/product-grid-column-source.mjs';
387
388
  import '../enums/product-label-source.mjs';
388
389
  import '../enums/product-label-attribute-source.mjs';
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
383
383
  import '../enums/procurement-vocabulary-value-tone.js';
384
384
  import '../enums/product-categories-source.js';
385
385
  import '../enums/product-channels-assign-request-mode.js';
386
+ import '../enums/product-defaults-result-reason.js';
386
387
  import '../enums/product-grid-column-source.js';
387
388
  import '../enums/product-label-source.js';
388
389
  import '../enums/product-label-attribute-source.js';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
384
384
  import '../enums/procurement-vocabulary-value-tone.mjs';
385
385
  import '../enums/product-categories-source.mjs';
386
386
  import '../enums/product-channels-assign-request-mode.mjs';
387
+ import '../enums/product-defaults-result-reason.mjs';
387
388
  import '../enums/product-grid-column-source.mjs';
388
389
  import '../enums/product-label-source.mjs';
389
390
  import '../enums/product-label-attribute-source.mjs';
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
384
384
  import '../enums/procurement-vocabulary-value-tone.js';
385
385
  import '../enums/product-categories-source.js';
386
386
  import '../enums/product-channels-assign-request-mode.js';
387
+ import '../enums/product-defaults-result-reason.js';
387
388
  import '../enums/product-grid-column-source.js';
388
389
  import '../enums/product-label-source.js';
389
390
  import '../enums/product-label-attribute-source.js';
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
385
385
  import '../enums/procurement-vocabulary-value-tone.mjs';
386
386
  import '../enums/product-categories-source.mjs';
387
387
  import '../enums/product-channels-assign-request-mode.mjs';
388
+ import '../enums/product-defaults-result-reason.mjs';
388
389
  import '../enums/product-grid-column-source.mjs';
389
390
  import '../enums/product-label-source.mjs';
390
391
  import '../enums/product-label-attribute-source.mjs';
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
385
385
  import '../enums/procurement-vocabulary-value-tone.js';
386
386
  import '../enums/product-categories-source.js';
387
387
  import '../enums/product-channels-assign-request-mode.js';
388
+ import '../enums/product-defaults-result-reason.js';
388
389
  import '../enums/product-grid-column-source.js';
389
390
  import '../enums/product-label-source.js';
390
391
  import '../enums/product-label-attribute-source.js';
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
388
388
  import '../enums/procurement-vocabulary-value-tone.mjs';
389
389
  import '../enums/product-categories-source.mjs';
390
390
  import '../enums/product-channels-assign-request-mode.mjs';
391
+ import '../enums/product-defaults-result-reason.mjs';
391
392
  import '../enums/product-grid-column-source.mjs';
392
393
  import '../enums/product-label-source.mjs';
393
394
  import '../enums/product-label-attribute-source.mjs';
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
388
388
  import '../enums/procurement-vocabulary-value-tone.js';
389
389
  import '../enums/product-categories-source.js';
390
390
  import '../enums/product-channels-assign-request-mode.js';
391
+ import '../enums/product-defaults-result-reason.js';
391
392
  import '../enums/product-grid-column-source.js';
392
393
  import '../enums/product-label-source.js';
393
394
  import '../enums/product-label-attribute-source.js';
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
387
387
  import '../enums/procurement-vocabulary-value-tone.mjs';
388
388
  import '../enums/product-categories-source.mjs';
389
389
  import '../enums/product-channels-assign-request-mode.mjs';
390
+ import '../enums/product-defaults-result-reason.mjs';
390
391
  import '../enums/product-grid-column-source.mjs';
391
392
  import '../enums/product-label-source.mjs';
392
393
  import '../enums/product-label-attribute-source.mjs';
@@ -1049,6 +1050,7 @@ declare class CostCenters {
1049
1050
  *
1050
1051
  * @param {string} params.code -
1051
1052
  * @param {string} params.name -
1053
+ * @param {string} params.organizationId -
1052
1054
  * @param {string} params.accountableContactId -
1053
1055
  * @param {boolean} params.active -
1054
1056
  * @param {BudgetType} params.budgetType -
@@ -1056,7 +1058,6 @@ declare class CostCenters {
1056
1058
  * @param {string} params.externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
1057
1059
  * @param {object} params.externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
1058
1060
  * @param {object} params.metadata -
1059
- * @param {string} params.organizationId -
1060
1061
  * @param {object} params.sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
1061
1062
  * @param {string} params.sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
1062
1063
  * @throws {RevenexxException}
@@ -1065,6 +1066,7 @@ declare class CostCenters {
1065
1066
  costCentersCostCentersCreate(params: {
1066
1067
  code: string;
1067
1068
  name: string;
1069
+ organizationId: string;
1068
1070
  accountableContactId?: string;
1069
1071
  active?: boolean;
1070
1072
  budgetType?: BudgetType;
@@ -1072,7 +1074,6 @@ declare class CostCenters {
1072
1074
  externalId?: string;
1073
1075
  externalRefs?: object;
1074
1076
  metadata?: object;
1075
- organizationId?: string;
1076
1077
  sourceData?: object;
1077
1078
  sourceSyncedAt?: string;
1078
1079
  }): Promise<Models.CostCenter>;
@@ -1080,6 +1081,7 @@ declare class CostCenters {
1080
1081
  *
1081
1082
  * @param {string} code -
1082
1083
  * @param {string} name -
1084
+ * @param {string} organizationId -
1083
1085
  * @param {string} accountableContactId -
1084
1086
  * @param {boolean} active -
1085
1087
  * @param {BudgetType} budgetType -
@@ -1087,14 +1089,13 @@ declare class CostCenters {
1087
1089
  * @param {string} externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
1088
1090
  * @param {object} externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
1089
1091
  * @param {object} metadata -
1090
- * @param {string} organizationId -
1091
1092
  * @param {object} sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
1092
1093
  * @param {string} sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
1093
1094
  * @throws {RevenexxException}
1094
1095
  * @returns {Promise<Models.CostCenter>}
1095
1096
  * @deprecated Use the object parameter style method for a better developer experience.
1096
1097
  */
1097
- costCentersCostCentersCreate(code: string, name: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, organizationId?: string, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
1098
+ costCentersCostCentersCreate(code: string, name: string, organizationId: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
1098
1099
  /**
1099
1100
  *
1100
1101
  * @param {string} params.id -
@@ -1474,8 +1475,8 @@ declare class CostCenters {
1474
1475
  /**
1475
1476
  *
1476
1477
  * @param {object[]} params.lines -
1477
- * @param {string} params.contactId -
1478
1478
  * @param {string} params.organizationId -
1479
+ * @param {string} params.contactId -
1479
1480
  * @param {string} params.punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
1480
1481
  * @param {string[]} params.roles -
1481
1482
  * @throws {RevenexxException}
@@ -1483,23 +1484,23 @@ declare class CostCenters {
1483
1484
  */
1484
1485
  costCentersUsable(params: {
1485
1486
  lines: object[];
1487
+ organizationId: string;
1486
1488
  contactId?: string;
1487
- organizationId?: string;
1488
1489
  punchoutAccountCode?: string;
1489
1490
  roles?: string[];
1490
1491
  }): Promise<Models.UsableResult>;
1491
1492
  /**
1492
1493
  *
1493
1494
  * @param {object[]} lines -
1494
- * @param {string} contactId -
1495
1495
  * @param {string} organizationId -
1496
+ * @param {string} contactId -
1496
1497
  * @param {string} punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
1497
1498
  * @param {string[]} roles -
1498
1499
  * @throws {RevenexxException}
1499
1500
  * @returns {Promise<Models.UsableResult>}
1500
1501
  * @deprecated Use the object parameter style method for a better developer experience.
1501
1502
  */
1502
- costCentersUsable(lines: object[], contactId?: string, organizationId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
1503
+ costCentersUsable(lines: object[], organizationId: string, contactId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
1503
1504
  /**
1504
1505
  *
1505
1506
  * @throws {RevenexxException}
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
387
387
  import '../enums/procurement-vocabulary-value-tone.js';
388
388
  import '../enums/product-categories-source.js';
389
389
  import '../enums/product-channels-assign-request-mode.js';
390
+ import '../enums/product-defaults-result-reason.js';
390
391
  import '../enums/product-grid-column-source.js';
391
392
  import '../enums/product-label-source.js';
392
393
  import '../enums/product-label-attribute-source.js';
@@ -1049,6 +1050,7 @@ declare class CostCenters {
1049
1050
  *
1050
1051
  * @param {string} params.code -
1051
1052
  * @param {string} params.name -
1053
+ * @param {string} params.organizationId -
1052
1054
  * @param {string} params.accountableContactId -
1053
1055
  * @param {boolean} params.active -
1054
1056
  * @param {BudgetType} params.budgetType -
@@ -1056,7 +1058,6 @@ declare class CostCenters {
1056
1058
  * @param {string} params.externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
1057
1059
  * @param {object} params.externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
1058
1060
  * @param {object} params.metadata -
1059
- * @param {string} params.organizationId -
1060
1061
  * @param {object} params.sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
1061
1062
  * @param {string} params.sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
1062
1063
  * @throws {RevenexxException}
@@ -1065,6 +1066,7 @@ declare class CostCenters {
1065
1066
  costCentersCostCentersCreate(params: {
1066
1067
  code: string;
1067
1068
  name: string;
1069
+ organizationId: string;
1068
1070
  accountableContactId?: string;
1069
1071
  active?: boolean;
1070
1072
  budgetType?: BudgetType;
@@ -1072,7 +1074,6 @@ declare class CostCenters {
1072
1074
  externalId?: string;
1073
1075
  externalRefs?: object;
1074
1076
  metadata?: object;
1075
- organizationId?: string;
1076
1077
  sourceData?: object;
1077
1078
  sourceSyncedAt?: string;
1078
1079
  }): Promise<Models.CostCenter>;
@@ -1080,6 +1081,7 @@ declare class CostCenters {
1080
1081
  *
1081
1082
  * @param {string} code -
1082
1083
  * @param {string} name -
1084
+ * @param {string} organizationId -
1083
1085
  * @param {string} accountableContactId -
1084
1086
  * @param {boolean} active -
1085
1087
  * @param {BudgetType} budgetType -
@@ -1087,14 +1089,13 @@ declare class CostCenters {
1087
1089
  * @param {string} externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
1088
1090
  * @param {object} externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
1089
1091
  * @param {object} metadata -
1090
- * @param {string} organizationId -
1091
1092
  * @param {object} sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
1092
1093
  * @param {string} sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
1093
1094
  * @throws {RevenexxException}
1094
1095
  * @returns {Promise<Models.CostCenter>}
1095
1096
  * @deprecated Use the object parameter style method for a better developer experience.
1096
1097
  */
1097
- costCentersCostCentersCreate(code: string, name: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, organizationId?: string, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
1098
+ costCentersCostCentersCreate(code: string, name: string, organizationId: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
1098
1099
  /**
1099
1100
  *
1100
1101
  * @param {string} params.id -
@@ -1474,8 +1475,8 @@ declare class CostCenters {
1474
1475
  /**
1475
1476
  *
1476
1477
  * @param {object[]} params.lines -
1477
- * @param {string} params.contactId -
1478
1478
  * @param {string} params.organizationId -
1479
+ * @param {string} params.contactId -
1479
1480
  * @param {string} params.punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
1480
1481
  * @param {string[]} params.roles -
1481
1482
  * @throws {RevenexxException}
@@ -1483,23 +1484,23 @@ declare class CostCenters {
1483
1484
  */
1484
1485
  costCentersUsable(params: {
1485
1486
  lines: object[];
1487
+ organizationId: string;
1486
1488
  contactId?: string;
1487
- organizationId?: string;
1488
1489
  punchoutAccountCode?: string;
1489
1490
  roles?: string[];
1490
1491
  }): Promise<Models.UsableResult>;
1491
1492
  /**
1492
1493
  *
1493
1494
  * @param {object[]} lines -
1494
- * @param {string} contactId -
1495
1495
  * @param {string} organizationId -
1496
+ * @param {string} contactId -
1496
1497
  * @param {string} punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
1497
1498
  * @param {string[]} roles -
1498
1499
  * @throws {RevenexxException}
1499
1500
  * @returns {Promise<Models.UsableResult>}
1500
1501
  * @deprecated Use the object parameter style method for a better developer experience.
1501
1502
  */
1502
- costCentersUsable(lines: object[], contactId?: string, organizationId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
1503
+ costCentersUsable(lines: object[], organizationId: string, contactId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
1503
1504
  /**
1504
1505
  *
1505
1506
  * @throws {RevenexxException}
@@ -723,20 +723,21 @@ class CostCenters {
723
723
  params = {
724
724
  code: paramsOrFirst,
725
725
  name: rest[0],
726
- accountableContactId: rest[1],
727
- active: rest[2],
728
- budgetType: rest[3],
729
- currency: rest[4],
730
- externalId: rest[5],
731
- externalRefs: rest[6],
732
- metadata: rest[7],
733
- organizationId: rest[8],
726
+ organizationId: rest[1],
727
+ accountableContactId: rest[2],
728
+ active: rest[3],
729
+ budgetType: rest[4],
730
+ currency: rest[5],
731
+ externalId: rest[6],
732
+ externalRefs: rest[7],
733
+ metadata: rest[8],
734
734
  sourceData: rest[9],
735
735
  sourceSyncedAt: rest[10]
736
736
  };
737
737
  }
738
738
  const code = params.code;
739
739
  const name = params.name;
740
+ const organizationId = params.organizationId;
740
741
  const accountableContactId = params.accountableContactId;
741
742
  const active = params.active;
742
743
  const budgetType = params.budgetType;
@@ -744,7 +745,6 @@ class CostCenters {
744
745
  const externalId = params.externalId;
745
746
  const externalRefs = params.externalRefs;
746
747
  const metadata = params.metadata;
747
- const organizationId = params.organizationId;
748
748
  const sourceData = params.sourceData;
749
749
  const sourceSyncedAt = params.sourceSyncedAt;
750
750
  if (typeof code === "undefined") {
@@ -753,6 +753,9 @@ class CostCenters {
753
753
  if (typeof name === "undefined") {
754
754
  throw new client.RevenexxException('Missing required parameter: "name"');
755
755
  }
756
+ if (typeof organizationId === "undefined") {
757
+ throw new client.RevenexxException('Missing required parameter: "organizationId"');
758
+ }
756
759
  const apiPath = "/v1/cost-centers/cost-centers";
757
760
  const apiPayload = {};
758
761
  if (typeof accountableContactId !== "undefined") {
@@ -1416,25 +1419,28 @@ class CostCenters {
1416
1419
  }
1417
1420
  costCentersUsable(paramsOrFirst, ...rest) {
1418
1421
  let params;
1419
- if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst) && ("lines" in paramsOrFirst || "contactId" in paramsOrFirst || "organizationId" in paramsOrFirst || "punchoutAccountCode" in paramsOrFirst || "roles" in paramsOrFirst)) {
1422
+ if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst) && ("lines" in paramsOrFirst || "organizationId" in paramsOrFirst || "contactId" in paramsOrFirst || "punchoutAccountCode" in paramsOrFirst || "roles" in paramsOrFirst)) {
1420
1423
  params = paramsOrFirst || {};
1421
1424
  } else {
1422
1425
  params = {
1423
1426
  lines: paramsOrFirst,
1424
- contactId: rest[0],
1425
- organizationId: rest[1],
1427
+ organizationId: rest[0],
1428
+ contactId: rest[1],
1426
1429
  punchoutAccountCode: rest[2],
1427
1430
  roles: rest[3]
1428
1431
  };
1429
1432
  }
1430
1433
  const lines = params.lines;
1431
- const contactId = params.contactId;
1432
1434
  const organizationId = params.organizationId;
1435
+ const contactId = params.contactId;
1433
1436
  const punchoutAccountCode = params.punchoutAccountCode;
1434
1437
  const roles = params.roles;
1435
1438
  if (typeof lines === "undefined") {
1436
1439
  throw new client.RevenexxException('Missing required parameter: "lines"');
1437
1440
  }
1441
+ if (typeof organizationId === "undefined") {
1442
+ throw new client.RevenexxException('Missing required parameter: "organizationId"');
1443
+ }
1438
1444
  const apiPath = "/v1/cost-centers/usable";
1439
1445
  const apiPayload = {};
1440
1446
  if (typeof contactId !== "undefined") {