@revenexx/node 0.1.1 → 0.2.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.
- package/README.md +1 -3
- package/dist/client.d.mts +142 -2
- package/dist/client.d.ts +142 -2
- package/dist/client.js +4 -4
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +4 -4
- package/dist/client.mjs.map +1 -1
- package/dist/enums/accept-line-decision.d.mts +6 -0
- package/dist/enums/accept-line-decision.d.ts +6 -0
- package/dist/enums/accept-line-decision.js +11 -0
- package/dist/enums/accept-line-decision.js.map +1 -0
- package/dist/enums/accept-line-decision.mjs +10 -0
- package/dist/enums/accept-line-decision.mjs.map +1 -0
- package/dist/enums/accept-result-origin.d.mts +6 -0
- package/dist/enums/accept-result-origin.d.ts +6 -0
- package/dist/enums/accept-result-origin.js +11 -0
- package/dist/enums/accept-result-origin.js.map +1 -0
- package/dist/enums/accept-result-origin.mjs +10 -0
- package/dist/enums/accept-result-origin.mjs.map +1 -0
- package/dist/enums/accept-result-status.d.mts +12 -0
- package/dist/enums/accept-result-status.d.ts +12 -0
- package/dist/enums/accept-result-status.js +17 -0
- package/dist/enums/accept-result-status.js.map +1 -0
- package/dist/enums/accept-result-status.mjs +16 -0
- package/dist/enums/accept-result-status.mjs.map +1 -0
- package/dist/enums/action.d.mts +10 -0
- package/dist/enums/action.d.ts +10 -0
- package/dist/enums/action.js +15 -0
- package/dist/enums/action.js.map +1 -0
- package/dist/enums/action.mjs +14 -0
- package/dist/enums/action.mjs.map +1 -0
- package/dist/enums/allocation.d.mts +6 -0
- package/dist/enums/allocation.d.ts +6 -0
- package/dist/enums/allocation.js +11 -0
- package/dist/enums/allocation.js.map +1 -0
- package/dist/enums/allocation.mjs +10 -0
- package/dist/enums/allocation.mjs.map +1 -0
- package/dist/enums/asset-store-visibility.d.mts +6 -0
- package/dist/enums/asset-store-visibility.d.ts +6 -0
- package/dist/enums/asset-store-visibility.js +11 -0
- package/dist/enums/asset-store-visibility.js.map +1 -0
- package/dist/enums/asset-store-visibility.mjs +10 -0
- package/dist/enums/asset-store-visibility.mjs.map +1 -0
- package/dist/enums/assignment-role-create-request-tone.d.mts +9 -0
- package/dist/enums/assignment-role-create-request-tone.d.ts +9 -0
- package/dist/enums/assignment-role-create-request-tone.js +14 -0
- package/dist/enums/assignment-role-create-request-tone.js.map +1 -0
- package/dist/enums/assignment-role-create-request-tone.mjs +13 -0
- package/dist/enums/assignment-role-create-request-tone.mjs.map +1 -0
- package/dist/enums/assignment-role-tone.d.mts +9 -0
- package/dist/enums/assignment-role-tone.d.ts +9 -0
- package/dist/enums/assignment-role-tone.js +14 -0
- package/dist/enums/assignment-role-tone.js.map +1 -0
- package/dist/enums/assignment-role-tone.mjs +13 -0
- package/dist/enums/assignment-role-tone.mjs.map +1 -0
- package/dist/enums/assignment-role-update-request-tone.d.mts +9 -0
- package/dist/enums/assignment-role-update-request-tone.d.ts +9 -0
- package/dist/enums/assignment-role-update-request-tone.js +14 -0
- package/dist/enums/assignment-role-update-request-tone.js.map +1 -0
- package/dist/enums/assignment-role-update-request-tone.mjs +13 -0
- package/dist/enums/assignment-role-update-request-tone.mjs.map +1 -0
- package/dist/enums/attach-request-direction.d.mts +6 -0
- package/dist/enums/attach-request-direction.d.ts +6 -0
- package/dist/enums/attach-request-direction.js +11 -0
- package/dist/enums/attach-request-direction.js.map +1 -0
- package/dist/enums/attach-request-direction.mjs +10 -0
- package/dist/enums/attach-request-direction.mjs.map +1 -0
- package/dist/enums/attach-request-visibility.d.mts +6 -0
- package/dist/enums/attach-request-visibility.d.ts +6 -0
- package/dist/enums/attach-request-visibility.js +11 -0
- package/dist/enums/attach-request-visibility.js.map +1 -0
- package/dist/enums/attach-request-visibility.mjs +10 -0
- package/dist/enums/attach-request-visibility.mjs.map +1 -0
- package/dist/enums/audience.d.mts +5 -0
- package/dist/enums/audience.d.ts +5 -0
- package/dist/enums/audience.js +10 -0
- package/dist/enums/audience.js.map +1 -0
- package/dist/enums/audience.mjs +9 -0
- package/dist/enums/audience.mjs.map +1 -0
- package/dist/enums/auth-mfa-challenge-request-factor.d.mts +5 -0
- package/dist/enums/auth-mfa-challenge-request-factor.d.ts +5 -0
- package/dist/enums/auth-mfa-challenge-request-factor.js +10 -0
- package/dist/enums/auth-mfa-challenge-request-factor.js.map +1 -0
- package/dist/enums/auth-mfa-challenge-request-factor.mjs +9 -0
- package/dist/enums/auth-mfa-challenge-request-factor.mjs.map +1 -0
- package/dist/enums/availability-state-tone.d.mts +9 -0
- package/dist/enums/availability-state-tone.d.ts +9 -0
- package/dist/enums/availability-state-tone.js +14 -0
- package/dist/enums/availability-state-tone.js.map +1 -0
- package/dist/enums/availability-state-tone.mjs +13 -0
- package/dist/enums/availability-state-tone.mjs.map +1 -0
- package/dist/enums/banner-draft-layout.d.mts +7 -0
- package/dist/enums/banner-draft-layout.d.ts +7 -0
- package/dist/enums/banner-draft-layout.js +12 -0
- package/dist/enums/banner-draft-layout.js.map +1 -0
- package/dist/enums/banner-draft-layout.mjs +11 -0
- package/dist/enums/banner-draft-layout.mjs.map +1 -0
- package/dist/enums/banner-draft-update-request-layout.d.mts +7 -0
- package/dist/enums/banner-draft-update-request-layout.d.ts +7 -0
- package/dist/enums/banner-draft-update-request-layout.js +12 -0
- package/dist/enums/banner-draft-update-request-layout.js.map +1 -0
- package/dist/enums/banner-draft-update-request-layout.mjs +11 -0
- package/dist/enums/banner-draft-update-request-layout.mjs.map +1 -0
- package/dist/enums/budget-change-reason.d.mts +2 -1
- package/dist/enums/budget-change-reason.d.ts +2 -1
- package/dist/enums/budget-change-reason.js +1 -0
- package/dist/enums/budget-change-reason.js.map +1 -1
- package/dist/enums/budget-change-reason.mjs +1 -0
- package/dist/enums/budget-change-reason.mjs.map +1 -1
- package/dist/enums/budget-movement-result-status.d.mts +2 -1
- package/dist/enums/budget-movement-result-status.d.ts +2 -1
- package/dist/enums/budget-movement-result-status.js +1 -0
- package/dist/enums/budget-movement-result-status.js.map +1 -1
- package/dist/enums/budget-movement-result-status.mjs +1 -0
- package/dist/enums/budget-movement-result-status.mjs.map +1 -1
- package/dist/enums/budget-release-scope.d.mts +6 -0
- package/dist/enums/budget-release-scope.d.ts +6 -0
- package/dist/enums/budget-release-scope.js +11 -0
- package/dist/enums/budget-release-scope.js.map +1 -0
- package/dist/enums/budget-release-scope.mjs +10 -0
- package/dist/enums/budget-release-scope.mjs.map +1 -0
- package/dist/enums/budget-release-status.d.mts +9 -0
- package/dist/enums/budget-release-status.d.ts +9 -0
- package/dist/enums/budget-release-status.js +14 -0
- package/dist/enums/budget-release-status.js.map +1 -0
- package/dist/enums/budget-release-status.mjs +13 -0
- package/dist/enums/budget-release-status.mjs.map +1 -0
- package/dist/enums/budget-type.d.mts +6 -0
- package/dist/enums/budget-type.d.ts +6 -0
- package/dist/enums/budget-type.js +11 -0
- package/dist/enums/budget-type.js.map +1 -0
- package/dist/enums/budget-type.mjs +10 -0
- package/dist/enums/budget-type.mjs.map +1 -0
- package/dist/enums/condition-match.d.mts +6 -0
- package/dist/enums/condition-match.d.ts +6 -0
- package/dist/enums/condition-match.js +11 -0
- package/dist/enums/condition-match.js.map +1 -0
- package/dist/enums/condition-match.mjs +10 -0
- package/dist/enums/condition-match.mjs.map +1 -0
- package/dist/enums/consent-manager-vocabularies-get-name.d.mts +10 -0
- package/dist/enums/consent-manager-vocabularies-get-name.d.ts +10 -0
- package/dist/enums/consent-manager-vocabularies-get-name.js +15 -0
- package/dist/enums/consent-manager-vocabularies-get-name.js.map +1 -0
- package/dist/enums/consent-manager-vocabularies-get-name.mjs +14 -0
- package/dist/enums/consent-manager-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/consent-record-action.d.mts +10 -0
- package/dist/enums/consent-record-action.d.ts +10 -0
- package/dist/enums/consent-record-action.js +15 -0
- package/dist/enums/consent-record-action.js.map +1 -0
- package/dist/enums/consent-record-action.mjs +14 -0
- package/dist/enums/consent-record-action.mjs.map +1 -0
- package/dist/enums/consent-record-create-request-action.d.mts +10 -0
- package/dist/enums/consent-record-create-request-action.d.ts +10 -0
- package/dist/enums/consent-record-create-request-action.js +15 -0
- package/dist/enums/consent-record-create-request-action.js.map +1 -0
- package/dist/enums/consent-record-create-request-action.mjs +14 -0
- package/dist/enums/consent-record-create-request-action.mjs.map +1 -0
- package/dist/enums/consent-record-create-request-surface.d.mts +8 -0
- package/dist/enums/consent-record-create-request-surface.d.ts +8 -0
- package/dist/enums/consent-record-create-request-surface.js +13 -0
- package/dist/enums/consent-record-create-request-surface.js.map +1 -0
- package/dist/enums/consent-record-create-request-surface.mjs +12 -0
- package/dist/enums/consent-record-create-request-surface.mjs.map +1 -0
- package/dist/enums/consent-record-surface.d.mts +8 -0
- package/dist/enums/consent-record-surface.d.ts +8 -0
- package/dist/enums/consent-record-surface.js +13 -0
- package/dist/enums/consent-record-surface.js.map +1 -0
- package/dist/enums/consent-record-surface.mjs +12 -0
- package/dist/enums/consent-record-surface.mjs.map +1 -0
- package/dist/enums/consent-vocabulary-source.d.mts +5 -0
- package/dist/enums/consent-vocabulary-source.d.ts +5 -0
- package/dist/enums/consent-vocabulary-source.js +10 -0
- package/dist/enums/consent-vocabulary-source.js.map +1 -0
- package/dist/enums/consent-vocabulary-source.mjs +9 -0
- package/dist/enums/consent-vocabulary-source.mjs.map +1 -0
- package/dist/enums/contact-order-approval-mode.d.mts +7 -0
- package/dist/enums/contact-order-approval-mode.d.ts +7 -0
- package/dist/enums/contact-order-approval-mode.js +12 -0
- package/dist/enums/contact-order-approval-mode.js.map +1 -0
- package/dist/enums/contact-order-approval-mode.mjs +11 -0
- package/dist/enums/contact-order-approval-mode.mjs.map +1 -0
- package/dist/enums/contact-point-kind-create-request-tone.d.mts +9 -0
- package/dist/enums/contact-point-kind-create-request-tone.d.ts +9 -0
- package/dist/enums/contact-point-kind-create-request-tone.js +14 -0
- package/dist/enums/contact-point-kind-create-request-tone.js.map +1 -0
- package/dist/enums/contact-point-kind-create-request-tone.mjs +13 -0
- package/dist/enums/contact-point-kind-create-request-tone.mjs.map +1 -0
- package/dist/enums/contact-point-kind-tone.d.mts +9 -0
- package/dist/enums/contact-point-kind-tone.d.ts +9 -0
- package/dist/enums/contact-point-kind-tone.js +14 -0
- package/dist/enums/contact-point-kind-tone.js.map +1 -0
- package/dist/enums/contact-point-kind-tone.mjs +13 -0
- package/dist/enums/contact-point-kind-tone.mjs.map +1 -0
- package/dist/enums/contact-point-kind-update-request-tone.d.mts +9 -0
- package/dist/enums/contact-point-kind-update-request-tone.d.ts +9 -0
- package/dist/enums/contact-point-kind-update-request-tone.js +14 -0
- package/dist/enums/contact-point-kind-update-request-tone.js.map +1 -0
- package/dist/enums/contact-point-kind-update-request-tone.mjs +13 -0
- package/dist/enums/contact-point-kind-update-request-tone.mjs.map +1 -0
- package/dist/enums/cookie-create-request-kind.d.mts +9 -0
- package/dist/enums/cookie-create-request-kind.d.ts +9 -0
- package/dist/enums/cookie-create-request-kind.js +14 -0
- package/dist/enums/cookie-create-request-kind.js.map +1 -0
- package/dist/enums/cookie-create-request-kind.mjs +13 -0
- package/dist/enums/cookie-create-request-kind.mjs.map +1 -0
- package/dist/enums/cookie-kind.d.mts +9 -0
- package/dist/enums/cookie-kind.d.ts +9 -0
- package/dist/enums/cookie-kind.js +14 -0
- package/dist/enums/cookie-kind.js.map +1 -0
- package/dist/enums/cookie-kind.mjs +13 -0
- package/dist/enums/cookie-kind.mjs.map +1 -0
- package/dist/enums/cookie-update-request-kind.d.mts +9 -0
- package/dist/enums/cookie-update-request-kind.d.ts +9 -0
- package/dist/enums/cookie-update-request-kind.js +14 -0
- package/dist/enums/cookie-update-request-kind.js.map +1 -0
- package/dist/enums/cookie-update-request-kind.mjs +13 -0
- package/dist/enums/cookie-update-request-kind.mjs.map +1 -0
- package/dist/enums/cost-center-budget-type.d.mts +2 -1
- package/dist/enums/cost-center-budget-type.d.ts +2 -1
- package/dist/enums/cost-center-budget-type.js +1 -0
- package/dist/enums/cost-center-budget-type.js.map +1 -1
- package/dist/enums/cost-center-budget-type.mjs +1 -0
- package/dist/enums/cost-center-budget-type.mjs.map +1 -1
- package/dist/enums/cost-center-create-request-budget-type.d.mts +6 -0
- package/dist/enums/cost-center-create-request-budget-type.d.ts +6 -0
- package/dist/enums/cost-center-create-request-budget-type.js +11 -0
- package/dist/enums/cost-center-create-request-budget-type.js.map +1 -0
- package/dist/enums/cost-center-create-request-budget-type.mjs +10 -0
- package/dist/enums/cost-center-create-request-budget-type.mjs.map +1 -0
- package/dist/enums/cost-center-restriction-create-request-type.d.mts +2 -1
- package/dist/enums/cost-center-restriction-create-request-type.d.ts +2 -1
- package/dist/enums/cost-center-restriction-create-request-type.js +1 -0
- package/dist/enums/cost-center-restriction-create-request-type.js.map +1 -1
- package/dist/enums/cost-center-restriction-create-request-type.mjs +1 -0
- package/dist/enums/cost-center-restriction-create-request-type.mjs.map +1 -1
- package/dist/enums/cost-center-restriction-type.d.mts +2 -1
- package/dist/enums/cost-center-restriction-type.d.ts +2 -1
- package/dist/enums/cost-center-restriction-type.js +1 -0
- package/dist/enums/cost-center-restriction-type.js.map +1 -1
- package/dist/enums/cost-center-restriction-type.mjs +1 -0
- package/dist/enums/cost-center-restriction-type.mjs.map +1 -1
- package/dist/enums/cost-center-restriction-update-request-type.d.mts +2 -1
- package/dist/enums/cost-center-restriction-update-request-type.d.ts +2 -1
- package/dist/enums/cost-center-restriction-update-request-type.js +1 -0
- package/dist/enums/cost-center-restriction-update-request-type.js.map +1 -1
- package/dist/enums/cost-center-restriction-update-request-type.mjs +1 -0
- package/dist/enums/cost-center-restriction-update-request-type.mjs.map +1 -1
- package/dist/enums/cost-center-update-request-budget-type.d.mts +6 -0
- package/dist/enums/cost-center-update-request-budget-type.d.ts +6 -0
- package/dist/enums/cost-center-update-request-budget-type.js +11 -0
- package/dist/enums/cost-center-update-request-budget-type.js.map +1 -0
- package/dist/enums/cost-center-update-request-budget-type.mjs +10 -0
- package/dist/enums/cost-center-update-request-budget-type.mjs.map +1 -0
- package/dist/enums/cost-centers-restrictions-create-type.d.mts +2 -1
- package/dist/enums/cost-centers-restrictions-create-type.d.ts +2 -1
- package/dist/enums/cost-centers-restrictions-create-type.js +1 -0
- package/dist/enums/cost-centers-restrictions-create-type.js.map +1 -1
- package/dist/enums/cost-centers-restrictions-create-type.mjs +1 -0
- package/dist/enums/cost-centers-restrictions-create-type.mjs.map +1 -1
- package/dist/enums/cost-centers-vocabulary-name.d.mts +8 -0
- package/dist/enums/cost-centers-vocabulary-name.d.ts +8 -0
- package/dist/enums/cost-centers-vocabulary-name.js +13 -0
- package/dist/enums/cost-centers-vocabulary-name.js.map +1 -0
- package/dist/enums/cost-centers-vocabulary-name.mjs +12 -0
- package/dist/enums/cost-centers-vocabulary-name.mjs.map +1 -0
- package/dist/enums/cost-centers-vocabulary-source.d.mts +5 -0
- package/dist/enums/cost-centers-vocabulary-source.d.ts +5 -0
- package/dist/enums/cost-centers-vocabulary-source.js +10 -0
- package/dist/enums/cost-centers-vocabulary-source.js.map +1 -0
- package/dist/enums/cost-centers-vocabulary-source.mjs +9 -0
- package/dist/enums/cost-centers-vocabulary-source.mjs.map +1 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.d.mts +8 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.d.ts +8 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.js +13 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.js.map +1 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.mjs +12 -0
- package/dist/enums/cost-centers-vocabulary-summary-name.mjs.map +1 -0
- package/dist/enums/cost-centers-vocabulary-tone.d.mts +9 -0
- package/dist/enums/cost-centers-vocabulary-tone.d.ts +9 -0
- package/dist/enums/cost-centers-vocabulary-tone.js +14 -0
- package/dist/enums/cost-centers-vocabulary-tone.js.map +1 -0
- package/dist/enums/cost-centers-vocabulary-tone.mjs +13 -0
- package/dist/enums/cost-centers-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/credit-limit-mode.d.mts +7 -0
- package/dist/enums/credit-limit-mode.d.ts +7 -0
- package/dist/enums/credit-limit-mode.js +12 -0
- package/dist/enums/credit-limit-mode.js.map +1 -0
- package/dist/enums/credit-limit-mode.mjs +11 -0
- package/dist/enums/credit-limit-mode.mjs.map +1 -0
- package/dist/enums/customers-vocabularies-get-name.d.mts +5 -1
- package/dist/enums/customers-vocabularies-get-name.d.ts +5 -1
- package/dist/enums/customers-vocabularies-get-name.js +4 -0
- package/dist/enums/customers-vocabularies-get-name.js.map +1 -1
- package/dist/enums/customers-vocabularies-get-name.mjs +4 -0
- package/dist/enums/customers-vocabularies-get-name.mjs.map +1 -1
- package/dist/enums/deleted.d.mts +5 -0
- package/dist/enums/deleted.d.ts +5 -0
- package/dist/enums/deleted.js +10 -0
- package/dist/enums/deleted.js.map +1 -0
- package/dist/enums/deleted.mjs +9 -0
- package/dist/enums/deleted.mjs.map +1 -0
- package/dist/enums/direct-order-status.d.mts +10 -0
- package/dist/enums/direct-order-status.d.ts +10 -0
- package/dist/enums/direct-order-status.js +15 -0
- package/dist/enums/direct-order-status.js.map +1 -0
- package/dist/enums/direct-order-status.mjs +14 -0
- package/dist/enums/direct-order-status.mjs.map +1 -0
- package/dist/enums/document-kind-tone.d.mts +9 -0
- package/dist/enums/document-kind-tone.d.ts +9 -0
- package/dist/enums/document-kind-tone.js +14 -0
- package/dist/enums/document-kind-tone.js.map +1 -0
- package/dist/enums/document-kind-tone.mjs +13 -0
- package/dist/enums/document-kind-tone.mjs.map +1 -0
- package/dist/enums/document-source.d.mts +6 -0
- package/dist/enums/document-source.d.ts +6 -0
- package/dist/enums/document-source.js +11 -0
- package/dist/enums/document-source.js.map +1 -0
- package/dist/enums/document-source.mjs +10 -0
- package/dist/enums/document-source.mjs.map +1 -0
- package/dist/enums/document-visibility.d.mts +6 -0
- package/dist/enums/document-visibility.d.ts +6 -0
- package/dist/enums/document-visibility.js +11 -0
- package/dist/enums/document-visibility.js.map +1 -0
- package/dist/enums/document-visibility.mjs +10 -0
- package/dist/enums/document-visibility.mjs.map +1 -0
- package/dist/enums/document-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/document-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/document-vocabulary-default-tone.js +14 -0
- package/dist/enums/document-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/document-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/document-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/document-vocabulary-name.d.mts +6 -0
- package/dist/enums/document-vocabulary-name.d.ts +6 -0
- package/dist/enums/document-vocabulary-name.js +11 -0
- package/dist/enums/document-vocabulary-name.js.map +1 -0
- package/dist/enums/document-vocabulary-name.mjs +10 -0
- package/dist/enums/document-vocabulary-name.mjs.map +1 -0
- package/dist/enums/document-vocabulary-path-name.d.mts +6 -0
- package/dist/enums/document-vocabulary-path-name.d.ts +6 -0
- package/dist/enums/document-vocabulary-path-name.js +11 -0
- package/dist/enums/document-vocabulary-path-name.js.map +1 -0
- package/dist/enums/document-vocabulary-path-name.mjs +10 -0
- package/dist/enums/document-vocabulary-path-name.mjs.map +1 -0
- package/dist/enums/document-vocabulary-source.d.mts +6 -0
- package/dist/enums/document-vocabulary-source.d.ts +6 -0
- package/dist/enums/document-vocabulary-source.js +11 -0
- package/dist/enums/document-vocabulary-source.js.map +1 -0
- package/dist/enums/document-vocabulary-source.mjs +10 -0
- package/dist/enums/document-vocabulary-source.mjs.map +1 -0
- package/dist/enums/document-vocabulary-tone.d.mts +9 -0
- package/dist/enums/document-vocabulary-tone.d.ts +9 -0
- package/dist/enums/document-vocabulary-tone.js +14 -0
- package/dist/enums/document-vocabulary-tone.js.map +1 -0
- package/dist/enums/document-vocabulary-tone.mjs +13 -0
- package/dist/enums/document-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/documents-documents-list-source.d.mts +6 -0
- package/dist/enums/documents-documents-list-source.d.ts +6 -0
- package/dist/enums/documents-documents-list-source.js +11 -0
- package/dist/enums/documents-documents-list-source.js.map +1 -0
- package/dist/enums/documents-documents-list-source.mjs +10 -0
- package/dist/enums/documents-documents-list-source.mjs.map +1 -0
- package/dist/enums/factor.d.mts +5 -0
- package/dist/enums/factor.d.ts +5 -0
- package/dist/enums/factor.js +10 -0
- package/dist/enums/factor.js.map +1 -0
- package/dist/enums/factor.mjs +9 -0
- package/dist/enums/factor.mjs.map +1 -0
- package/dist/enums/google-signals.d.mts +11 -0
- package/dist/enums/google-signals.d.ts +11 -0
- package/dist/enums/google-signals.js +16 -0
- package/dist/enums/google-signals.js.map +1 -0
- package/dist/enums/google-signals.mjs +15 -0
- package/dist/enums/google-signals.mjs.map +1 -0
- package/dist/enums/inventories-vocabularies-get-name.d.mts +1 -0
- package/dist/enums/inventories-vocabularies-get-name.d.ts +1 -0
- package/dist/enums/inventories-vocabularies-get-name.js +1 -0
- package/dist/enums/inventories-vocabularies-get-name.js.map +1 -1
- package/dist/enums/inventories-vocabularies-get-name.mjs +1 -0
- package/dist/enums/inventories-vocabularies-get-name.mjs.map +1 -1
- package/dist/enums/inventory-receive-warning-code.d.mts +5 -0
- package/dist/enums/inventory-receive-warning-code.d.ts +5 -0
- package/dist/enums/inventory-receive-warning-code.js +10 -0
- package/dist/enums/inventory-receive-warning-code.js.map +1 -0
- package/dist/enums/inventory-receive-warning-code.mjs +9 -0
- package/dist/enums/inventory-receive-warning-code.mjs.map +1 -0
- package/dist/enums/inventory-unorderable-reason.d.mts +7 -0
- package/dist/enums/inventory-unorderable-reason.d.ts +7 -0
- package/dist/enums/inventory-unorderable-reason.js +12 -0
- package/dist/enums/inventory-unorderable-reason.js.map +1 -0
- package/dist/enums/inventory-unorderable-reason.mjs +11 -0
- package/dist/enums/inventory-unorderable-reason.mjs.map +1 -0
- package/dist/enums/inventory-vocabulary-source.d.mts +2 -1
- package/dist/enums/inventory-vocabulary-source.d.ts +2 -1
- package/dist/enums/inventory-vocabulary-source.js +1 -0
- package/dist/enums/inventory-vocabulary-source.js.map +1 -1
- package/dist/enums/inventory-vocabulary-source.mjs +1 -0
- package/dist/enums/inventory-vocabulary-source.mjs.map +1 -1
- package/dist/enums/kind.d.mts +5 -3
- package/dist/enums/kind.d.ts +5 -3
- package/dist/enums/kind.js +5 -3
- package/dist/enums/kind.js.map +1 -1
- package/dist/enums/kind.mjs +5 -3
- package/dist/enums/kind.mjs.map +1 -1
- package/dist/enums/layout.d.mts +7 -0
- package/dist/enums/layout.d.ts +7 -0
- package/dist/enums/layout.js +12 -0
- package/dist/enums/layout.js.map +1 -0
- package/dist/enums/layout.mjs +11 -0
- package/dist/enums/layout.mjs.map +1 -0
- package/dist/enums/legal-basis-override.d.mts +7 -0
- package/dist/enums/legal-basis-override.d.ts +7 -0
- package/dist/enums/legal-basis-override.js +12 -0
- package/dist/enums/legal-basis-override.js.map +1 -0
- package/dist/enums/legal-basis-override.mjs +11 -0
- package/dist/enums/legal-basis-override.mjs.map +1 -0
- package/dist/enums/legal-basis.d.mts +7 -0
- package/dist/enums/legal-basis.d.ts +7 -0
- package/dist/enums/legal-basis.js +12 -0
- package/dist/enums/legal-basis.js.map +1 -0
- package/dist/enums/legal-basis.mjs +11 -0
- package/dist/enums/legal-basis.mjs.map +1 -0
- package/dist/enums/load.d.mts +7 -0
- package/dist/enums/load.d.ts +7 -0
- package/dist/enums/load.js +12 -0
- package/dist/enums/load.js.map +1 -0
- package/dist/enums/load.mjs +11 -0
- package/dist/enums/load.mjs.map +1 -0
- package/dist/enums/match-mode.d.mts +6 -0
- package/dist/enums/match-mode.d.ts +6 -0
- package/dist/enums/match-mode.js +11 -0
- package/dist/enums/match-mode.js.map +1 -0
- package/dist/enums/match-mode.mjs +10 -0
- package/dist/enums/match-mode.mjs.map +1 -0
- package/dist/enums/note-request-visibility.d.mts +6 -0
- package/dist/enums/note-request-visibility.d.ts +6 -0
- package/dist/enums/note-request-visibility.js +11 -0
- package/dist/enums/note-request-visibility.js.map +1 -0
- package/dist/enums/note-request-visibility.mjs +10 -0
- package/dist/enums/note-request-visibility.mjs.map +1 -0
- package/dist/enums/order-approval-mode.d.mts +7 -0
- package/dist/enums/order-approval-mode.d.ts +7 -0
- package/dist/enums/order-approval-mode.js +12 -0
- package/dist/enums/order-approval-mode.js.map +1 -0
- package/dist/enums/order-approval-mode.mjs +11 -0
- package/dist/enums/order-approval-mode.mjs.map +1 -0
- package/dist/enums/order-discount-effect-kind.d.mts +9 -0
- package/dist/enums/order-discount-effect-kind.d.ts +9 -0
- package/dist/enums/order-discount-effect-kind.js +14 -0
- package/dist/enums/order-discount-effect-kind.js.map +1 -0
- package/dist/enums/order-discount-effect-kind.mjs +13 -0
- package/dist/enums/order-discount-effect-kind.mjs.map +1 -0
- package/dist/enums/order-discount-placement.d.mts +7 -0
- package/dist/enums/order-discount-placement.d.ts +7 -0
- package/dist/enums/order-discount-placement.js +12 -0
- package/dist/enums/order-discount-placement.js.map +1 -0
- package/dist/enums/order-discount-placement.mjs +11 -0
- package/dist/enums/order-discount-placement.mjs.map +1 -0
- package/dist/enums/order-discount-source.d.mts +6 -0
- package/dist/enums/order-discount-source.d.ts +6 -0
- package/dist/enums/order-discount-source.js +11 -0
- package/dist/enums/order-discount-source.js.map +1 -0
- package/dist/enums/order-discount-source.mjs +10 -0
- package/dist/enums/order-discount-source.mjs.map +1 -0
- package/dist/enums/order-discount-target.d.mts +7 -0
- package/dist/enums/order-discount-target.d.ts +7 -0
- package/dist/enums/order-discount-target.js +12 -0
- package/dist/enums/order-discount-target.js.map +1 -0
- package/dist/enums/order-discount-target.mjs +11 -0
- package/dist/enums/order-discount-target.mjs.map +1 -0
- package/dist/enums/order-discount-value-type.d.mts +7 -0
- package/dist/enums/order-discount-value-type.d.ts +7 -0
- package/dist/enums/order-discount-value-type.js +12 -0
- package/dist/enums/order-discount-value-type.js.map +1 -0
- package/dist/enums/order-discount-value-type.mjs +11 -0
- package/dist/enums/order-discount-value-type.mjs.map +1 -0
- package/dist/enums/order-item-type.d.mts +2 -1
- package/dist/enums/order-item-type.d.ts +2 -1
- package/dist/enums/order-item-type.js +1 -0
- package/dist/enums/order-item-type.js.map +1 -1
- package/dist/enums/order-item-type.mjs +1 -0
- package/dist/enums/order-item-type.mjs.map +1 -1
- package/dist/enums/order-list-skip-reason.d.mts +6 -0
- package/dist/enums/order-list-skip-reason.d.ts +6 -0
- package/dist/enums/order-list-skip-reason.js +11 -0
- package/dist/enums/order-list-skip-reason.js.map +1 -0
- package/dist/enums/order-list-skip-reason.mjs +10 -0
- package/dist/enums/order-list-skip-reason.mjs.map +1 -0
- package/dist/enums/order-return-refund-mode.d.mts +6 -0
- package/dist/enums/order-return-refund-mode.d.ts +6 -0
- package/dist/enums/order-return-refund-mode.js +11 -0
- package/dist/enums/order-return-refund-mode.js.map +1 -0
- package/dist/enums/order-return-refund-mode.mjs +10 -0
- package/dist/enums/order-return-refund-mode.mjs.map +1 -0
- package/dist/enums/order-vocabulary-name.d.mts +7 -0
- package/dist/enums/order-vocabulary-name.d.ts +7 -0
- package/dist/enums/order-vocabulary-name.js +7 -0
- package/dist/enums/order-vocabulary-name.js.map +1 -1
- package/dist/enums/order-vocabulary-name.mjs +7 -0
- package/dist/enums/order-vocabulary-name.mjs.map +1 -1
- package/dist/enums/order-vocabulary-summary-name.d.mts +7 -0
- package/dist/enums/order-vocabulary-summary-name.d.ts +7 -0
- package/dist/enums/order-vocabulary-summary-name.js +7 -0
- package/dist/enums/order-vocabulary-summary-name.js.map +1 -1
- package/dist/enums/order-vocabulary-summary-name.mjs +7 -0
- package/dist/enums/order-vocabulary-summary-name.mjs.map +1 -1
- package/dist/enums/orders-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/orders-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/orders-vocabularies-get-name.js +7 -0
- package/dist/enums/orders-vocabularies-get-name.js.map +1 -1
- package/dist/enums/orders-vocabularies-get-name.mjs +7 -0
- package/dist/enums/orders-vocabularies-get-name.mjs.map +1 -1
- package/dist/enums/organization-credit-limit-mode.d.mts +7 -0
- package/dist/enums/organization-credit-limit-mode.d.ts +7 -0
- package/dist/enums/organization-credit-limit-mode.js +12 -0
- package/dist/enums/organization-credit-limit-mode.js.map +1 -0
- package/dist/enums/organization-credit-limit-mode.mjs +11 -0
- package/dist/enums/organization-credit-limit-mode.mjs.map +1 -0
- package/dist/enums/organization-shipping-advice.d.mts +6 -0
- package/dist/enums/organization-shipping-advice.d.ts +6 -0
- package/dist/enums/organization-shipping-advice.js +11 -0
- package/dist/enums/organization-shipping-advice.js.map +1 -0
- package/dist/enums/organization-shipping-advice.mjs +10 -0
- package/dist/enums/organization-shipping-advice.mjs.map +1 -0
- package/dist/enums/origin.d.mts +6 -0
- package/dist/enums/origin.d.ts +6 -0
- package/dist/enums/origin.js +11 -0
- package/dist/enums/origin.js.map +1 -0
- package/dist/enums/origin.mjs +10 -0
- package/dist/enums/origin.mjs.map +1 -0
- package/dist/enums/pages-seed-mode.d.mts +6 -0
- package/dist/enums/pages-seed-mode.d.ts +6 -0
- package/dist/enums/pages-seed-mode.js +11 -0
- package/dist/enums/pages-seed-mode.js.map +1 -0
- package/dist/enums/pages-seed-mode.mjs +10 -0
- package/dist/enums/pages-seed-mode.mjs.map +1 -0
- package/dist/enums/price-line-price-reason.d.mts +10 -0
- package/dist/enums/price-line-price-reason.d.ts +10 -0
- package/dist/enums/price-line-price-reason.js +15 -0
- package/dist/enums/price-line-price-reason.js.map +1 -0
- package/dist/enums/price-line-price-reason.mjs +14 -0
- package/dist/enums/price-line-price-reason.mjs.map +1 -0
- package/dist/enums/price-tax-unresolved-reason.d.mts +1 -0
- package/dist/enums/price-tax-unresolved-reason.d.ts +1 -0
- package/dist/enums/price-tax-unresolved-reason.js +1 -0
- package/dist/enums/price-tax-unresolved-reason.js.map +1 -1
- package/dist/enums/price-tax-unresolved-reason.mjs +1 -0
- package/dist/enums/price-tax-unresolved-reason.mjs.map +1 -1
- package/dist/enums/procurement-vocabularies-get-name.d.mts +14 -0
- package/dist/enums/procurement-vocabularies-get-name.d.ts +14 -0
- package/dist/enums/procurement-vocabularies-get-name.js +19 -0
- package/dist/enums/procurement-vocabularies-get-name.js.map +1 -0
- package/dist/enums/procurement-vocabularies-get-name.mjs +18 -0
- package/dist/enums/procurement-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/procurement-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/procurement-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/procurement-vocabulary-default-tone.js +14 -0
- package/dist/enums/procurement-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/procurement-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/procurement-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/procurement-vocabulary-name.d.mts +14 -0
- package/dist/enums/procurement-vocabulary-name.d.ts +14 -0
- package/dist/enums/procurement-vocabulary-name.js +19 -0
- package/dist/enums/procurement-vocabulary-name.js.map +1 -0
- package/dist/enums/procurement-vocabulary-name.mjs +18 -0
- package/dist/enums/procurement-vocabulary-name.mjs.map +1 -0
- package/dist/enums/procurement-vocabulary-source.d.mts +5 -0
- package/dist/enums/procurement-vocabulary-source.d.ts +5 -0
- package/dist/enums/procurement-vocabulary-source.js +10 -0
- package/dist/enums/procurement-vocabulary-source.js.map +1 -0
- package/dist/enums/procurement-vocabulary-source.mjs +9 -0
- package/dist/enums/procurement-vocabulary-source.mjs.map +1 -0
- package/dist/enums/procurement-vocabulary-summary-name.d.mts +14 -0
- package/dist/enums/procurement-vocabulary-summary-name.d.ts +14 -0
- package/dist/enums/procurement-vocabulary-summary-name.js +19 -0
- package/dist/enums/procurement-vocabulary-summary-name.js.map +1 -0
- package/dist/enums/procurement-vocabulary-summary-name.mjs +18 -0
- package/dist/enums/procurement-vocabulary-summary-name.mjs.map +1 -0
- package/dist/enums/procurement-vocabulary-value-tone.d.mts +9 -0
- package/dist/enums/procurement-vocabulary-value-tone.d.ts +9 -0
- package/dist/enums/procurement-vocabulary-value-tone.js +14 -0
- package/dist/enums/procurement-vocabulary-value-tone.js.map +1 -0
- package/dist/enums/procurement-vocabulary-value-tone.mjs +13 -0
- package/dist/enums/procurement-vocabulary-value-tone.mjs.map +1 -0
- package/dist/enums/products-list-kind.d.mts +7 -0
- package/dist/enums/products-list-kind.d.ts +7 -0
- package/dist/enums/products-list-kind.js +12 -0
- package/dist/enums/products-list-kind.js.map +1 -0
- package/dist/enums/products-list-kind.mjs +11 -0
- package/dist/enums/products-list-kind.mjs.map +1 -0
- package/dist/enums/products-product-categories-list-source.d.mts +6 -0
- package/dist/enums/products-product-categories-list-source.d.ts +6 -0
- package/dist/enums/products-product-categories-list-source.js +11 -0
- package/dist/enums/products-product-categories-list-source.js.map +1 -0
- package/dist/enums/products-product-categories-list-source.mjs +10 -0
- package/dist/enums/products-product-categories-list-source.mjs.map +1 -0
- package/dist/enums/promotion-bundle-allocation.d.mts +6 -0
- package/dist/enums/promotion-bundle-allocation.d.ts +6 -0
- package/dist/enums/promotion-bundle-allocation.js +11 -0
- package/dist/enums/promotion-bundle-allocation.js.map +1 -0
- package/dist/enums/promotion-bundle-allocation.mjs +10 -0
- package/dist/enums/promotion-bundle-allocation.mjs.map +1 -0
- package/dist/enums/promotion-bundle-patch-allocation.d.mts +6 -0
- package/dist/enums/promotion-bundle-patch-allocation.d.ts +6 -0
- package/dist/enums/promotion-bundle-patch-allocation.js +11 -0
- package/dist/enums/promotion-bundle-patch-allocation.js.map +1 -0
- package/dist/enums/promotion-bundle-patch-allocation.mjs +10 -0
- package/dist/enums/promotion-bundle-patch-allocation.mjs.map +1 -0
- package/dist/enums/promotion-bundle-write-allocation.d.mts +6 -0
- package/dist/enums/promotion-bundle-write-allocation.d.ts +6 -0
- package/dist/enums/promotion-bundle-write-allocation.js +11 -0
- package/dist/enums/promotion-bundle-write-allocation.js.map +1 -0
- package/dist/enums/promotion-bundle-write-allocation.mjs +10 -0
- package/dist/enums/promotion-bundle-write-allocation.mjs.map +1 -0
- package/dist/enums/promotion-condition-kind.d.mts +6 -0
- package/dist/enums/promotion-condition-kind.d.ts +6 -0
- package/dist/enums/promotion-condition-kind.js +11 -0
- package/dist/enums/promotion-condition-kind.js.map +1 -0
- package/dist/enums/promotion-condition-kind.mjs +10 -0
- package/dist/enums/promotion-condition-kind.mjs.map +1 -0
- package/dist/enums/promotion-condition-match-mode.d.mts +6 -0
- package/dist/enums/promotion-condition-match-mode.d.ts +6 -0
- package/dist/enums/promotion-condition-match-mode.js +11 -0
- package/dist/enums/promotion-condition-match-mode.js.map +1 -0
- package/dist/enums/promotion-condition-match-mode.mjs +10 -0
- package/dist/enums/promotion-condition-match-mode.mjs.map +1 -0
- package/dist/enums/promotion-condition-match.d.mts +6 -0
- package/dist/enums/promotion-condition-match.d.ts +6 -0
- package/dist/enums/promotion-condition-match.js +11 -0
- package/dist/enums/promotion-condition-match.js.map +1 -0
- package/dist/enums/promotion-condition-match.mjs +10 -0
- package/dist/enums/promotion-condition-match.mjs.map +1 -0
- package/dist/enums/promotion-condition-patch-kind.d.mts +6 -0
- package/dist/enums/promotion-condition-patch-kind.d.ts +6 -0
- package/dist/enums/promotion-condition-patch-kind.js +11 -0
- package/dist/enums/promotion-condition-patch-kind.js.map +1 -0
- package/dist/enums/promotion-condition-patch-kind.mjs +10 -0
- package/dist/enums/promotion-condition-patch-kind.mjs.map +1 -0
- package/dist/enums/promotion-condition-patch-match-mode.d.mts +6 -0
- package/dist/enums/promotion-condition-patch-match-mode.d.ts +6 -0
- package/dist/enums/promotion-condition-patch-match-mode.js +11 -0
- package/dist/enums/promotion-condition-patch-match-mode.js.map +1 -0
- package/dist/enums/promotion-condition-patch-match-mode.mjs +10 -0
- package/dist/enums/promotion-condition-patch-match-mode.mjs.map +1 -0
- package/dist/enums/promotion-condition-write-kind.d.mts +6 -0
- package/dist/enums/promotion-condition-write-kind.d.ts +6 -0
- package/dist/enums/promotion-condition-write-kind.js +11 -0
- package/dist/enums/promotion-condition-write-kind.js.map +1 -0
- package/dist/enums/promotion-condition-write-kind.mjs +10 -0
- package/dist/enums/promotion-condition-write-kind.mjs.map +1 -0
- package/dist/enums/promotion-condition-write-match-mode.d.mts +6 -0
- package/dist/enums/promotion-condition-write-match-mode.d.ts +6 -0
- package/dist/enums/promotion-condition-write-match-mode.js +11 -0
- package/dist/enums/promotion-condition-write-match-mode.js.map +1 -0
- package/dist/enums/promotion-condition-write-match-mode.mjs +10 -0
- package/dist/enums/promotion-condition-write-match-mode.mjs.map +1 -0
- package/dist/enums/promotion-effect-kind.d.mts +10 -0
- package/dist/enums/promotion-effect-kind.d.ts +10 -0
- package/dist/enums/promotion-effect-kind.js +15 -0
- package/dist/enums/promotion-effect-kind.js.map +1 -0
- package/dist/enums/promotion-effect-kind.mjs +14 -0
- package/dist/enums/promotion-effect-kind.mjs.map +1 -0
- package/dist/enums/promotion-effect-patch-kind.d.mts +10 -0
- package/dist/enums/promotion-effect-patch-kind.d.ts +10 -0
- package/dist/enums/promotion-effect-patch-kind.js +15 -0
- package/dist/enums/promotion-effect-patch-kind.js.map +1 -0
- package/dist/enums/promotion-effect-patch-kind.mjs +14 -0
- package/dist/enums/promotion-effect-patch-kind.mjs.map +1 -0
- package/dist/enums/promotion-effect-patch-target-scope.d.mts +10 -0
- package/dist/enums/promotion-effect-patch-target-scope.d.ts +10 -0
- package/dist/enums/promotion-effect-patch-target-scope.js +15 -0
- package/dist/enums/promotion-effect-patch-target-scope.js.map +1 -0
- package/dist/enums/promotion-effect-patch-target-scope.mjs +14 -0
- package/dist/enums/promotion-effect-patch-target-scope.mjs.map +1 -0
- package/dist/enums/promotion-effect-patch-unit-choice.d.mts +8 -0
- package/dist/enums/promotion-effect-patch-unit-choice.d.ts +8 -0
- package/dist/enums/promotion-effect-patch-unit-choice.js +13 -0
- package/dist/enums/promotion-effect-patch-unit-choice.js.map +1 -0
- package/dist/enums/promotion-effect-patch-unit-choice.mjs +12 -0
- package/dist/enums/promotion-effect-patch-unit-choice.mjs.map +1 -0
- package/dist/enums/promotion-effect-patch-value-type.d.mts +7 -0
- package/dist/enums/promotion-effect-patch-value-type.d.ts +7 -0
- package/dist/enums/promotion-effect-patch-value-type.js +12 -0
- package/dist/enums/promotion-effect-patch-value-type.js.map +1 -0
- package/dist/enums/promotion-effect-patch-value-type.mjs +11 -0
- package/dist/enums/promotion-effect-patch-value-type.mjs.map +1 -0
- package/dist/enums/promotion-effect-target-scope.d.mts +10 -0
- package/dist/enums/promotion-effect-target-scope.d.ts +10 -0
- package/dist/enums/promotion-effect-target-scope.js +15 -0
- package/dist/enums/promotion-effect-target-scope.js.map +1 -0
- package/dist/enums/promotion-effect-target-scope.mjs +14 -0
- package/dist/enums/promotion-effect-target-scope.mjs.map +1 -0
- package/dist/enums/promotion-effect-unit-choice.d.mts +8 -0
- package/dist/enums/promotion-effect-unit-choice.d.ts +8 -0
- package/dist/enums/promotion-effect-unit-choice.js +13 -0
- package/dist/enums/promotion-effect-unit-choice.js.map +1 -0
- package/dist/enums/promotion-effect-unit-choice.mjs +12 -0
- package/dist/enums/promotion-effect-unit-choice.mjs.map +1 -0
- package/dist/enums/promotion-effect-value-type.d.mts +7 -0
- package/dist/enums/promotion-effect-value-type.d.ts +7 -0
- package/dist/enums/promotion-effect-value-type.js +12 -0
- package/dist/enums/promotion-effect-value-type.js.map +1 -0
- package/dist/enums/promotion-effect-value-type.mjs +11 -0
- package/dist/enums/promotion-effect-value-type.mjs.map +1 -0
- package/dist/enums/promotion-effect-write-kind.d.mts +10 -0
- package/dist/enums/promotion-effect-write-kind.d.ts +10 -0
- package/dist/enums/promotion-effect-write-kind.js +15 -0
- package/dist/enums/promotion-effect-write-kind.js.map +1 -0
- package/dist/enums/promotion-effect-write-kind.mjs +14 -0
- package/dist/enums/promotion-effect-write-kind.mjs.map +1 -0
- package/dist/enums/promotion-effect-write-target-scope.d.mts +10 -0
- package/dist/enums/promotion-effect-write-target-scope.d.ts +10 -0
- package/dist/enums/promotion-effect-write-target-scope.js +15 -0
- package/dist/enums/promotion-effect-write-target-scope.js.map +1 -0
- package/dist/enums/promotion-effect-write-target-scope.mjs +14 -0
- package/dist/enums/promotion-effect-write-target-scope.mjs.map +1 -0
- package/dist/enums/promotion-effect-write-unit-choice.d.mts +8 -0
- package/dist/enums/promotion-effect-write-unit-choice.d.ts +8 -0
- package/dist/enums/promotion-effect-write-unit-choice.js +13 -0
- package/dist/enums/promotion-effect-write-unit-choice.js.map +1 -0
- package/dist/enums/promotion-effect-write-unit-choice.mjs +12 -0
- package/dist/enums/promotion-effect-write-unit-choice.mjs.map +1 -0
- package/dist/enums/promotion-effect-write-value-type.d.mts +7 -0
- package/dist/enums/promotion-effect-write-value-type.d.ts +7 -0
- package/dist/enums/promotion-effect-write-value-type.js +12 -0
- package/dist/enums/promotion-effect-write-value-type.js.map +1 -0
- package/dist/enums/promotion-effect-write-value-type.mjs +11 -0
- package/dist/enums/promotion-effect-write-value-type.mjs.map +1 -0
- package/dist/enums/promotion-patch-condition-match.d.mts +6 -0
- package/dist/enums/promotion-patch-condition-match.d.ts +6 -0
- package/dist/enums/promotion-patch-condition-match.js +11 -0
- package/dist/enums/promotion-patch-condition-match.js.map +1 -0
- package/dist/enums/promotion-patch-condition-match.mjs +10 -0
- package/dist/enums/promotion-patch-condition-match.mjs.map +1 -0
- package/dist/enums/promotion-patch-reach.d.mts +6 -0
- package/dist/enums/promotion-patch-reach.d.ts +6 -0
- package/dist/enums/promotion-patch-reach.js +11 -0
- package/dist/enums/promotion-patch-reach.js.map +1 -0
- package/dist/enums/promotion-patch-reach.mjs +10 -0
- package/dist/enums/promotion-patch-reach.mjs.map +1 -0
- package/dist/enums/promotion-patch-recurrence-kind.d.mts +7 -0
- package/dist/enums/promotion-patch-recurrence-kind.d.ts +7 -0
- package/dist/enums/promotion-patch-recurrence-kind.js +12 -0
- package/dist/enums/promotion-patch-recurrence-kind.js.map +1 -0
- package/dist/enums/promotion-patch-recurrence-kind.mjs +11 -0
- package/dist/enums/promotion-patch-recurrence-kind.mjs.map +1 -0
- package/dist/enums/promotion-patch-return-behaviour.d.mts +6 -0
- package/dist/enums/promotion-patch-return-behaviour.d.ts +6 -0
- package/dist/enums/promotion-patch-return-behaviour.js +11 -0
- package/dist/enums/promotion-patch-return-behaviour.js.map +1 -0
- package/dist/enums/promotion-patch-return-behaviour.mjs +10 -0
- package/dist/enums/promotion-patch-return-behaviour.mjs.map +1 -0
- package/dist/enums/promotion-patch-status.d.mts +8 -0
- package/dist/enums/promotion-patch-status.d.ts +8 -0
- package/dist/enums/promotion-patch-status.js +13 -0
- package/dist/enums/promotion-patch-status.js.map +1 -0
- package/dist/enums/promotion-patch-status.mjs +12 -0
- package/dist/enums/promotion-patch-status.mjs.map +1 -0
- package/dist/enums/promotion-reach.d.mts +6 -0
- package/dist/enums/promotion-reach.d.ts +6 -0
- package/dist/enums/promotion-reach.js +11 -0
- package/dist/enums/promotion-reach.js.map +1 -0
- package/dist/enums/promotion-reach.mjs +10 -0
- package/dist/enums/promotion-reach.mjs.map +1 -0
- package/dist/enums/promotion-recurrence-kind.d.mts +7 -0
- package/dist/enums/promotion-recurrence-kind.d.ts +7 -0
- package/dist/enums/promotion-recurrence-kind.js +12 -0
- package/dist/enums/promotion-recurrence-kind.js.map +1 -0
- package/dist/enums/promotion-recurrence-kind.mjs +11 -0
- package/dist/enums/promotion-recurrence-kind.mjs.map +1 -0
- package/dist/enums/promotion-release-request-reason.d.mts +8 -0
- package/dist/enums/promotion-release-request-reason.d.ts +8 -0
- package/dist/enums/promotion-release-request-reason.js +13 -0
- package/dist/enums/promotion-release-request-reason.js.map +1 -0
- package/dist/enums/promotion-release-request-reason.mjs +12 -0
- package/dist/enums/promotion-release-request-reason.mjs.map +1 -0
- package/dist/enums/promotion-return-behaviour.d.mts +6 -0
- package/dist/enums/promotion-return-behaviour.d.ts +6 -0
- package/dist/enums/promotion-return-behaviour.js +11 -0
- package/dist/enums/promotion-return-behaviour.js.map +1 -0
- package/dist/enums/promotion-return-behaviour.mjs +10 -0
- package/dist/enums/promotion-return-behaviour.mjs.map +1 -0
- package/dist/enums/promotion-status.d.mts +8 -0
- package/dist/enums/promotion-status.d.ts +8 -0
- package/dist/enums/promotion-status.js +13 -0
- package/dist/enums/promotion-status.js.map +1 -0
- package/dist/enums/promotion-status.mjs +12 -0
- package/dist/enums/promotion-status.mjs.map +1 -0
- package/dist/enums/promotion-write-condition-match.d.mts +6 -0
- package/dist/enums/promotion-write-condition-match.d.ts +6 -0
- package/dist/enums/promotion-write-condition-match.js +11 -0
- package/dist/enums/promotion-write-condition-match.js.map +1 -0
- package/dist/enums/promotion-write-condition-match.mjs +10 -0
- package/dist/enums/promotion-write-condition-match.mjs.map +1 -0
- package/dist/enums/promotion-write-reach.d.mts +6 -0
- package/dist/enums/promotion-write-reach.d.ts +6 -0
- package/dist/enums/promotion-write-reach.js +11 -0
- package/dist/enums/promotion-write-reach.js.map +1 -0
- package/dist/enums/promotion-write-reach.mjs +10 -0
- package/dist/enums/promotion-write-reach.mjs.map +1 -0
- package/dist/enums/promotion-write-recurrence-kind.d.mts +7 -0
- package/dist/enums/promotion-write-recurrence-kind.d.ts +7 -0
- package/dist/enums/promotion-write-recurrence-kind.js +12 -0
- package/dist/enums/promotion-write-recurrence-kind.js.map +1 -0
- package/dist/enums/promotion-write-recurrence-kind.mjs +11 -0
- package/dist/enums/promotion-write-recurrence-kind.mjs.map +1 -0
- package/dist/enums/promotion-write-return-behaviour.d.mts +6 -0
- package/dist/enums/promotion-write-return-behaviour.d.ts +6 -0
- package/dist/enums/promotion-write-return-behaviour.js +11 -0
- package/dist/enums/promotion-write-return-behaviour.js.map +1 -0
- package/dist/enums/promotion-write-return-behaviour.mjs +10 -0
- package/dist/enums/promotion-write-return-behaviour.mjs.map +1 -0
- package/dist/enums/promotion-write-status.d.mts +8 -0
- package/dist/enums/promotion-write-status.d.ts +8 -0
- package/dist/enums/promotion-write-status.js +13 -0
- package/dist/enums/promotion-write-status.js.map +1 -0
- package/dist/enums/promotion-write-status.mjs +12 -0
- package/dist/enums/promotion-write-status.mjs.map +1 -0
- package/dist/enums/promotions-batches-create-status.d.mts +6 -0
- package/dist/enums/promotions-batches-create-status.d.ts +6 -0
- package/dist/enums/promotions-batches-create-status.js +11 -0
- package/dist/enums/promotions-batches-create-status.js.map +1 -0
- package/dist/enums/promotions-batches-create-status.mjs +10 -0
- package/dist/enums/promotions-batches-create-status.mjs.map +1 -0
- package/dist/enums/promotions-conditions-create-kind.d.mts +6 -0
- package/dist/enums/promotions-conditions-create-kind.d.ts +6 -0
- package/dist/enums/promotions-conditions-create-kind.js +11 -0
- package/dist/enums/promotions-conditions-create-kind.js.map +1 -0
- package/dist/enums/promotions-conditions-create-kind.mjs +10 -0
- package/dist/enums/promotions-conditions-create-kind.mjs.map +1 -0
- package/dist/enums/promotions-effects-create-kind.d.mts +10 -0
- package/dist/enums/promotions-effects-create-kind.d.ts +10 -0
- package/dist/enums/promotions-effects-create-kind.js +15 -0
- package/dist/enums/promotions-effects-create-kind.js.map +1 -0
- package/dist/enums/promotions-effects-create-kind.mjs +14 -0
- package/dist/enums/promotions-effects-create-kind.mjs.map +1 -0
- package/dist/enums/promotions-groups-create-mode.d.mts +7 -0
- package/dist/enums/promotions-groups-create-mode.d.ts +7 -0
- package/dist/enums/promotions-groups-create-mode.js +12 -0
- package/dist/enums/promotions-groups-create-mode.js.map +1 -0
- package/dist/enums/promotions-groups-create-mode.mjs +11 -0
- package/dist/enums/promotions-groups-create-mode.mjs.map +1 -0
- package/dist/enums/promotions-promotions-create-status.d.mts +8 -0
- package/dist/enums/promotions-promotions-create-status.d.ts +8 -0
- package/dist/enums/promotions-promotions-create-status.js +13 -0
- package/dist/enums/promotions-promotions-create-status.js.map +1 -0
- package/dist/enums/promotions-promotions-create-status.mjs +12 -0
- package/dist/enums/promotions-promotions-create-status.mjs.map +1 -0
- package/dist/enums/promotions-redemptions-release-reason.d.mts +8 -0
- package/dist/enums/promotions-redemptions-release-reason.d.ts +8 -0
- package/dist/enums/promotions-redemptions-release-reason.js +13 -0
- package/dist/enums/promotions-redemptions-release-reason.js.map +1 -0
- package/dist/enums/promotions-redemptions-release-reason.mjs +12 -0
- package/dist/enums/promotions-redemptions-release-reason.mjs.map +1 -0
- package/dist/enums/protocol.d.mts +6 -0
- package/dist/enums/protocol.d.ts +6 -0
- package/dist/enums/protocol.js +11 -0
- package/dist/enums/protocol.js.map +1 -0
- package/dist/enums/protocol.mjs +10 -0
- package/dist/enums/protocol.mjs.map +1 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.d.mts +12 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.d.ts +12 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.js +17 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.js.map +1 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.mjs +16 -0
- package/dist/enums/punchout-entry-probe-result-entry-probe-status.mjs.map +1 -0
- package/dist/enums/punchout-entry-test-result-protocol.d.mts +7 -0
- package/dist/enums/punchout-entry-test-result-protocol.d.ts +7 -0
- package/dist/enums/punchout-entry-test-result-protocol.js +12 -0
- package/dist/enums/punchout-entry-test-result-protocol.js.map +1 -0
- package/dist/enums/punchout-entry-test-result-protocol.mjs +11 -0
- package/dist/enums/punchout-entry-test-result-protocol.mjs.map +1 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.d.mts +6 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.d.ts +6 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.js +11 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.js.map +1 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.mjs +10 -0
- package/dist/enums/punchout-field-mapping-import-request-protocol.mjs.map +1 -0
- package/dist/enums/punchout-return-preview-protocol.d.mts +7 -0
- package/dist/enums/punchout-return-preview-protocol.d.ts +7 -0
- package/dist/enums/punchout-return-preview-protocol.js +12 -0
- package/dist/enums/punchout-return-preview-protocol.js.map +1 -0
- package/dist/enums/punchout-return-preview-protocol.mjs +11 -0
- package/dist/enums/punchout-return-preview-protocol.mjs.map +1 -0
- package/dist/enums/punchout-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/punchout-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/punchout-vocabularies-get-name.js +12 -0
- package/dist/enums/punchout-vocabularies-get-name.js.map +1 -0
- package/dist/enums/punchout-vocabularies-get-name.mjs +11 -0
- package/dist/enums/punchout-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/purpose-create-request-google-signals.d.mts +11 -0
- package/dist/enums/purpose-create-request-google-signals.d.ts +11 -0
- package/dist/enums/purpose-create-request-google-signals.js +16 -0
- package/dist/enums/purpose-create-request-google-signals.js.map +1 -0
- package/dist/enums/purpose-create-request-google-signals.mjs +15 -0
- package/dist/enums/purpose-create-request-google-signals.mjs.map +1 -0
- package/dist/enums/purpose-create-request-legal-basis.d.mts +7 -0
- package/dist/enums/purpose-create-request-legal-basis.d.ts +7 -0
- package/dist/enums/purpose-create-request-legal-basis.js +12 -0
- package/dist/enums/purpose-create-request-legal-basis.js.map +1 -0
- package/dist/enums/purpose-create-request-legal-basis.mjs +11 -0
- package/dist/enums/purpose-create-request-legal-basis.mjs.map +1 -0
- package/dist/enums/purpose-legal-basis.d.mts +7 -0
- package/dist/enums/purpose-legal-basis.d.ts +7 -0
- package/dist/enums/purpose-legal-basis.js +12 -0
- package/dist/enums/purpose-legal-basis.js.map +1 -0
- package/dist/enums/purpose-legal-basis.mjs +11 -0
- package/dist/enums/purpose-legal-basis.mjs.map +1 -0
- package/dist/enums/purpose-update-request-google-signals.d.mts +11 -0
- package/dist/enums/purpose-update-request-google-signals.d.ts +11 -0
- package/dist/enums/purpose-update-request-google-signals.js +16 -0
- package/dist/enums/purpose-update-request-google-signals.js.map +1 -0
- package/dist/enums/purpose-update-request-google-signals.mjs +15 -0
- package/dist/enums/purpose-update-request-google-signals.mjs.map +1 -0
- package/dist/enums/purpose-update-request-legal-basis.d.mts +7 -0
- package/dist/enums/purpose-update-request-legal-basis.d.ts +7 -0
- package/dist/enums/purpose-update-request-legal-basis.js +12 -0
- package/dist/enums/purpose-update-request-legal-basis.js.map +1 -0
- package/dist/enums/purpose-update-request-legal-basis.mjs +11 -0
- package/dist/enums/purpose-update-request-legal-basis.mjs.map +1 -0
- package/dist/enums/quote-attachment-direction.d.mts +6 -0
- package/dist/enums/quote-attachment-direction.d.ts +6 -0
- package/dist/enums/quote-attachment-direction.js +11 -0
- package/dist/enums/quote-attachment-direction.js.map +1 -0
- package/dist/enums/quote-attachment-direction.mjs +10 -0
- package/dist/enums/quote-attachment-direction.mjs.map +1 -0
- package/dist/enums/quote-attachment-visibility.d.mts +6 -0
- package/dist/enums/quote-attachment-visibility.d.ts +6 -0
- package/dist/enums/quote-attachment-visibility.js +11 -0
- package/dist/enums/quote-attachment-visibility.js.map +1 -0
- package/dist/enums/quote-attachment-visibility.mjs +10 -0
- package/dist/enums/quote-attachment-visibility.mjs.map +1 -0
- package/dist/enums/quote-detail-origin.d.mts +6 -0
- package/dist/enums/quote-detail-origin.d.ts +6 -0
- package/dist/enums/quote-detail-origin.js +11 -0
- package/dist/enums/quote-detail-origin.js.map +1 -0
- package/dist/enums/quote-detail-origin.mjs +10 -0
- package/dist/enums/quote-detail-origin.mjs.map +1 -0
- package/dist/enums/quote-detail-status.d.mts +12 -0
- package/dist/enums/quote-detail-status.d.ts +12 -0
- package/dist/enums/quote-detail-status.js +17 -0
- package/dist/enums/quote-detail-status.js.map +1 -0
- package/dist/enums/quote-detail-status.mjs +16 -0
- package/dist/enums/quote-detail-status.mjs.map +1 -0
- package/dist/enums/quote-event-visibility.d.mts +6 -0
- package/dist/enums/quote-event-visibility.d.ts +6 -0
- package/dist/enums/quote-event-visibility.js +11 -0
- package/dist/enums/quote-event-visibility.js.map +1 -0
- package/dist/enums/quote-event-visibility.mjs +10 -0
- package/dist/enums/quote-event-visibility.mjs.map +1 -0
- package/dist/enums/quote-item-decision.d.mts +7 -0
- package/dist/enums/quote-item-decision.d.ts +7 -0
- package/dist/enums/quote-item-decision.js +12 -0
- package/dist/enums/quote-item-decision.js.map +1 -0
- package/dist/enums/quote-item-decision.mjs +11 -0
- package/dist/enums/quote-item-decision.mjs.map +1 -0
- package/dist/enums/quote-item-price-reason.d.mts +10 -0
- package/dist/enums/quote-item-price-reason.d.ts +10 -0
- package/dist/enums/quote-item-price-reason.js +15 -0
- package/dist/enums/quote-item-price-reason.js.map +1 -0
- package/dist/enums/quote-item-price-reason.mjs +14 -0
- package/dist/enums/quote-item-price-reason.mjs.map +1 -0
- package/dist/enums/quote-line-input-price-reason.d.mts +10 -0
- package/dist/enums/quote-line-input-price-reason.d.ts +10 -0
- package/dist/enums/quote-line-input-price-reason.js +15 -0
- package/dist/enums/quote-line-input-price-reason.js.map +1 -0
- package/dist/enums/quote-line-input-price-reason.mjs +14 -0
- package/dist/enums/quote-line-input-price-reason.mjs.map +1 -0
- package/dist/enums/quote-origin.d.mts +6 -0
- package/dist/enums/quote-origin.d.ts +6 -0
- package/dist/enums/quote-origin.js +11 -0
- package/dist/enums/quote-origin.js.map +1 -0
- package/dist/enums/quote-origin.mjs +10 -0
- package/dist/enums/quote-origin.mjs.map +1 -0
- package/dist/enums/quote-status.d.mts +12 -0
- package/dist/enums/quote-status.d.ts +12 -0
- package/dist/enums/quote-status.js +17 -0
- package/dist/enums/quote-status.js.map +1 -0
- package/dist/enums/quote-status.mjs +16 -0
- package/dist/enums/quote-status.mjs.map +1 -0
- package/dist/enums/quotes-trail-attach-direction.d.mts +6 -0
- package/dist/enums/quotes-trail-attach-direction.d.ts +6 -0
- package/dist/enums/quotes-trail-attach-direction.js +11 -0
- package/dist/enums/quotes-trail-attach-direction.js.map +1 -0
- package/dist/enums/quotes-trail-attach-direction.mjs +10 -0
- package/dist/enums/quotes-trail-attach-direction.mjs.map +1 -0
- package/dist/enums/reach.d.mts +6 -0
- package/dist/enums/reach.d.ts +6 -0
- package/dist/enums/reach.js +11 -0
- package/dist/enums/reach.js.map +1 -0
- package/dist/enums/reach.mjs +10 -0
- package/dist/enums/reach.mjs.map +1 -0
- package/dist/enums/recurrence-kind.d.mts +7 -0
- package/dist/enums/recurrence-kind.d.ts +7 -0
- package/dist/enums/recurrence-kind.js +12 -0
- package/dist/enums/recurrence-kind.js.map +1 -0
- package/dist/enums/recurrence-kind.mjs +11 -0
- package/dist/enums/recurrence-kind.mjs.map +1 -0
- package/dist/enums/redemption-state.d.mts +7 -0
- package/dist/enums/redemption-state.d.ts +7 -0
- package/dist/enums/redemption-state.js +12 -0
- package/dist/enums/redemption-state.js.map +1 -0
- package/dist/enums/redemption-state.mjs +11 -0
- package/dist/enums/redemption-state.mjs.map +1 -0
- package/dist/enums/return-behaviour.d.mts +6 -0
- package/dist/enums/return-behaviour.d.ts +6 -0
- package/dist/enums/return-behaviour.js +11 -0
- package/dist/enums/return-behaviour.js.map +1 -0
- package/dist/enums/return-behaviour.mjs +10 -0
- package/dist/enums/return-behaviour.mjs.map +1 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.js +14 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/sales-rep-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/sales-rep-vocabulary-source.d.mts +5 -0
- package/dist/enums/sales-rep-vocabulary-source.d.ts +5 -0
- package/dist/enums/sales-rep-vocabulary-source.js +10 -0
- package/dist/enums/sales-rep-vocabulary-source.js.map +1 -0
- package/dist/enums/sales-rep-vocabulary-source.mjs +9 -0
- package/dist/enums/sales-rep-vocabulary-source.mjs.map +1 -0
- package/dist/enums/sales-reps-vocabularies-get-name.d.mts +5 -0
- package/dist/enums/sales-reps-vocabularies-get-name.d.ts +5 -0
- package/dist/enums/sales-reps-vocabularies-get-name.js +10 -0
- package/dist/enums/sales-reps-vocabularies-get-name.js.map +1 -0
- package/dist/enums/sales-reps-vocabularies-get-name.mjs +9 -0
- package/dist/enums/sales-reps-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/seed-request-mode.d.mts +6 -0
- package/dist/enums/seed-request-mode.d.ts +6 -0
- package/dist/enums/seed-request-mode.js +11 -0
- package/dist/enums/seed-request-mode.js.map +1 -0
- package/dist/enums/seed-request-mode.mjs +10 -0
- package/dist/enums/seed-request-mode.mjs.map +1 -0
- package/dist/enums/seed-result-mode.d.mts +6 -0
- package/dist/enums/seed-result-mode.d.ts +6 -0
- package/dist/enums/seed-result-mode.js +11 -0
- package/dist/enums/seed-result-mode.js.map +1 -0
- package/dist/enums/seed-result-mode.mjs +10 -0
- package/dist/enums/seed-result-mode.mjs.map +1 -0
- package/dist/enums/segment-member-source.d.mts +2 -1
- package/dist/enums/segment-member-source.d.ts +2 -1
- package/dist/enums/segment-member-source.js +1 -0
- package/dist/enums/segment-member-source.js.map +1 -1
- package/dist/enums/segment-member-source.mjs +1 -0
- package/dist/enums/segment-member-source.mjs.map +1 -1
- package/dist/enums/shipping-advice.d.mts +6 -0
- package/dist/enums/shipping-advice.d.ts +6 -0
- package/dist/enums/shipping-advice.js +11 -0
- package/dist/enums/shipping-advice.js.map +1 -0
- package/dist/enums/shipping-advice.mjs +10 -0
- package/dist/enums/shipping-advice.mjs.map +1 -0
- package/dist/enums/shipping-tax-unresolved-reason.d.mts +2 -1
- package/dist/enums/shipping-tax-unresolved-reason.d.ts +2 -1
- package/dist/enums/shipping-tax-unresolved-reason.js +1 -0
- package/dist/enums/shipping-tax-unresolved-reason.js.map +1 -1
- package/dist/enums/shipping-tax-unresolved-reason.mjs +1 -0
- package/dist/enums/shipping-tax-unresolved-reason.mjs.map +1 -1
- package/dist/enums/source.d.mts +2 -1
- package/dist/enums/source.d.ts +2 -1
- package/dist/enums/source.js +1 -0
- package/dist/enums/source.js.map +1 -1
- package/dist/enums/source.mjs +1 -0
- package/dist/enums/source.mjs.map +1 -1
- package/dist/enums/stacking-group-mode.d.mts +7 -0
- package/dist/enums/stacking-group-mode.d.ts +7 -0
- package/dist/enums/stacking-group-mode.js +12 -0
- package/dist/enums/stacking-group-mode.js.map +1 -0
- package/dist/enums/stacking-group-mode.mjs +11 -0
- package/dist/enums/stacking-group-mode.mjs.map +1 -0
- package/dist/enums/stacking-group-patch-mode.d.mts +7 -0
- package/dist/enums/stacking-group-patch-mode.d.ts +7 -0
- package/dist/enums/stacking-group-patch-mode.js +12 -0
- package/dist/enums/stacking-group-patch-mode.js.map +1 -0
- package/dist/enums/stacking-group-patch-mode.mjs +11 -0
- package/dist/enums/stacking-group-patch-mode.mjs.map +1 -0
- package/dist/enums/stacking-group-write-mode.d.mts +7 -0
- package/dist/enums/stacking-group-write-mode.d.ts +7 -0
- package/dist/enums/stacking-group-write-mode.js +12 -0
- package/dist/enums/stacking-group-write-mode.js.map +1 -0
- package/dist/enums/stacking-group-write-mode.mjs +11 -0
- package/dist/enums/stacking-group-write-mode.mjs.map +1 -0
- package/dist/enums/submit-result-outcome.d.mts +2 -1
- package/dist/enums/submit-result-outcome.d.ts +2 -1
- package/dist/enums/submit-result-outcome.js +1 -0
- package/dist/enums/submit-result-outcome.js.map +1 -1
- package/dist/enums/submit-result-outcome.mjs +1 -0
- package/dist/enums/submit-result-outcome.mjs.map +1 -1
- package/dist/enums/surface.d.mts +8 -0
- package/dist/enums/surface.d.ts +8 -0
- package/dist/enums/surface.js +13 -0
- package/dist/enums/surface.js.map +1 -0
- package/dist/enums/surface.mjs +12 -0
- package/dist/enums/surface.mjs.map +1 -0
- package/dist/enums/tag-manager-container-check-reason.d.mts +7 -0
- package/dist/enums/tag-manager-container-check-reason.d.ts +7 -0
- package/dist/enums/tag-manager-container-check-reason.js +12 -0
- package/dist/enums/tag-manager-container-check-reason.js.map +1 -0
- package/dist/enums/tag-manager-container-check-reason.mjs +11 -0
- package/dist/enums/tag-manager-container-check-reason.mjs.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.d.mts +6 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.d.ts +6 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.js +11 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.js.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.mjs +10 -0
- package/dist/enums/tag-manager-marketing-tag-input-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.d.mts +7 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.d.ts +7 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.js +12 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.js.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.mjs +11 -0
- package/dist/enums/tag-manager-marketing-tag-input-load.mjs.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-kind.d.mts +6 -0
- package/dist/enums/tag-manager-marketing-tag-kind.d.ts +6 -0
- package/dist/enums/tag-manager-marketing-tag-kind.js +11 -0
- package/dist/enums/tag-manager-marketing-tag-kind.js.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-kind.mjs +10 -0
- package/dist/enums/tag-manager-marketing-tag-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-load.d.mts +7 -0
- package/dist/enums/tag-manager-marketing-tag-load.d.ts +7 -0
- package/dist/enums/tag-manager-marketing-tag-load.js +12 -0
- package/dist/enums/tag-manager-marketing-tag-load.js.map +1 -0
- package/dist/enums/tag-manager-marketing-tag-load.mjs +11 -0
- package/dist/enums/tag-manager-marketing-tag-load.mjs.map +1 -0
- package/dist/enums/tag-manager-tags-create-kind.d.mts +6 -0
- package/dist/enums/tag-manager-tags-create-kind.d.ts +6 -0
- package/dist/enums/tag-manager-tags-create-kind.js +11 -0
- package/dist/enums/tag-manager-tags-create-kind.js.map +1 -0
- package/dist/enums/tag-manager-tags-create-kind.mjs +10 -0
- package/dist/enums/tag-manager-tags-create-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-trigger-input-kind.d.mts +6 -0
- package/dist/enums/tag-manager-trigger-input-kind.d.ts +6 -0
- package/dist/enums/tag-manager-trigger-input-kind.js +11 -0
- package/dist/enums/tag-manager-trigger-input-kind.js.map +1 -0
- package/dist/enums/tag-manager-trigger-input-kind.mjs +10 -0
- package/dist/enums/tag-manager-trigger-input-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-trigger-kind.d.mts +6 -0
- package/dist/enums/tag-manager-trigger-kind.d.ts +6 -0
- package/dist/enums/tag-manager-trigger-kind.js +11 -0
- package/dist/enums/tag-manager-trigger-kind.js.map +1 -0
- package/dist/enums/tag-manager-trigger-kind.mjs +10 -0
- package/dist/enums/tag-manager-trigger-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-triggers-create-kind.d.mts +6 -0
- package/dist/enums/tag-manager-triggers-create-kind.d.ts +6 -0
- package/dist/enums/tag-manager-triggers-create-kind.js +11 -0
- package/dist/enums/tag-manager-triggers-create-kind.js.map +1 -0
- package/dist/enums/tag-manager-triggers-create-kind.mjs +10 -0
- package/dist/enums/tag-manager-triggers-create-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-variable-input-kind.d.mts +7 -0
- package/dist/enums/tag-manager-variable-input-kind.d.ts +7 -0
- package/dist/enums/tag-manager-variable-input-kind.js +12 -0
- package/dist/enums/tag-manager-variable-input-kind.js.map +1 -0
- package/dist/enums/tag-manager-variable-input-kind.mjs +11 -0
- package/dist/enums/tag-manager-variable-input-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-variable-kind.d.mts +7 -0
- package/dist/enums/tag-manager-variable-kind.d.ts +7 -0
- package/dist/enums/tag-manager-variable-kind.js +12 -0
- package/dist/enums/tag-manager-variable-kind.js.map +1 -0
- package/dist/enums/tag-manager-variable-kind.mjs +11 -0
- package/dist/enums/tag-manager-variable-kind.mjs.map +1 -0
- package/dist/enums/tag-manager-variables-create-kind.d.mts +7 -0
- package/dist/enums/tag-manager-variables-create-kind.d.ts +7 -0
- package/dist/enums/tag-manager-variables-create-kind.js +12 -0
- package/dist/enums/tag-manager-variables-create-kind.js.map +1 -0
- package/dist/enums/tag-manager-variables-create-kind.mjs +11 -0
- package/dist/enums/tag-manager-variables-create-kind.mjs.map +1 -0
- package/dist/enums/target-scope.d.mts +10 -0
- package/dist/enums/target-scope.d.ts +10 -0
- package/dist/enums/target-scope.js +15 -0
- package/dist/enums/target-scope.js.map +1 -0
- package/dist/enums/target-scope.mjs +14 -0
- package/dist/enums/target-scope.mjs.map +1 -0
- package/dist/enums/unit-choice.d.mts +8 -0
- package/dist/enums/unit-choice.d.ts +8 -0
- package/dist/enums/unit-choice.js +13 -0
- package/dist/enums/unit-choice.js.map +1 -0
- package/dist/enums/unit-choice.mjs +12 -0
- package/dist/enums/unit-choice.mjs.map +1 -0
- package/dist/enums/value-type.d.mts +7 -0
- package/dist/enums/value-type.d.ts +7 -0
- package/dist/enums/value-type.js +12 -0
- package/dist/enums/value-type.js.map +1 -0
- package/dist/enums/value-type.mjs +11 -0
- package/dist/enums/value-type.mjs.map +1 -0
- package/dist/enums/vendor-create-request-legal-basis-override.d.mts +7 -0
- package/dist/enums/vendor-create-request-legal-basis-override.d.ts +7 -0
- package/dist/enums/vendor-create-request-legal-basis-override.js +12 -0
- package/dist/enums/vendor-create-request-legal-basis-override.js.map +1 -0
- package/dist/enums/vendor-create-request-legal-basis-override.mjs +11 -0
- package/dist/enums/vendor-create-request-legal-basis-override.mjs.map +1 -0
- package/dist/enums/vendor-legal-basis-override.d.mts +7 -0
- package/dist/enums/vendor-legal-basis-override.d.ts +7 -0
- package/dist/enums/vendor-legal-basis-override.js +12 -0
- package/dist/enums/vendor-legal-basis-override.js.map +1 -0
- package/dist/enums/vendor-legal-basis-override.mjs +11 -0
- package/dist/enums/vendor-legal-basis-override.mjs.map +1 -0
- package/dist/enums/vendor-update-request-legal-basis-override.d.mts +7 -0
- package/dist/enums/vendor-update-request-legal-basis-override.d.ts +7 -0
- package/dist/enums/vendor-update-request-legal-basis-override.js +12 -0
- package/dist/enums/vendor-update-request-legal-basis-override.js.map +1 -0
- package/dist/enums/vendor-update-request-legal-basis-override.mjs +11 -0
- package/dist/enums/vendor-update-request-legal-basis-override.mjs.map +1 -0
- package/dist/enums/visibility.d.mts +2 -2
- package/dist/enums/visibility.d.ts +2 -2
- package/dist/enums/visibility.js +2 -2
- package/dist/enums/visibility.js.map +1 -1
- package/dist/enums/visibility.mjs +2 -2
- package/dist/enums/visibility.mjs.map +1 -1
- package/dist/enums/voucher-batch-patch-status.d.mts +6 -0
- package/dist/enums/voucher-batch-patch-status.d.ts +6 -0
- package/dist/enums/voucher-batch-patch-status.js +11 -0
- package/dist/enums/voucher-batch-patch-status.js.map +1 -0
- package/dist/enums/voucher-batch-patch-status.mjs +10 -0
- package/dist/enums/voucher-batch-patch-status.mjs.map +1 -0
- package/dist/enums/voucher-batch-status.d.mts +6 -0
- package/dist/enums/voucher-batch-status.d.ts +6 -0
- package/dist/enums/voucher-batch-status.js +11 -0
- package/dist/enums/voucher-batch-status.js.map +1 -0
- package/dist/enums/voucher-batch-status.mjs +10 -0
- package/dist/enums/voucher-batch-status.mjs.map +1 -0
- package/dist/enums/voucher-batch-write-status.d.mts +6 -0
- package/dist/enums/voucher-batch-write-status.d.ts +6 -0
- package/dist/enums/voucher-batch-write-status.js +11 -0
- package/dist/enums/voucher-batch-write-status.js.map +1 -0
- package/dist/enums/voucher-batch-write-status.mjs +10 -0
- package/dist/enums/voucher-batch-write-status.mjs.map +1 -0
- package/dist/enums/voucher-patch-status.d.mts +6 -0
- package/dist/enums/voucher-patch-status.d.ts +6 -0
- package/dist/enums/voucher-patch-status.js +11 -0
- package/dist/enums/voucher-patch-status.js.map +1 -0
- package/dist/enums/voucher-patch-status.mjs +10 -0
- package/dist/enums/voucher-patch-status.mjs.map +1 -0
- package/dist/enums/voucher-status.d.mts +6 -0
- package/dist/enums/voucher-status.d.ts +6 -0
- package/dist/enums/voucher-status.js +11 -0
- package/dist/enums/voucher-status.js.map +1 -0
- package/dist/enums/voucher-status.mjs +10 -0
- package/dist/enums/voucher-status.mjs.map +1 -0
- package/dist/enums/voucher-write-status.d.mts +6 -0
- package/dist/enums/voucher-write-status.d.ts +6 -0
- package/dist/enums/voucher-write-status.js +11 -0
- package/dist/enums/voucher-write-status.js.map +1 -0
- package/dist/enums/voucher-write-status.mjs +10 -0
- package/dist/enums/voucher-write-status.mjs.map +1 -0
- package/dist/index.d.mts +210 -11
- package/dist/index.d.ts +210 -11
- package/dist/index.js +1040 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +210 -11
- package/dist/index.mjs.map +1 -1
- package/dist/models.d.mts +21477 -10044
- package/dist/models.d.ts +21477 -10044
- package/dist/services/apps.d.mts +142 -2
- package/dist/services/apps.d.ts +142 -2
- package/dist/services/avatars.d.mts +142 -2
- package/dist/services/avatars.d.ts +142 -2
- package/dist/services/carts-io.d.mts +142 -2
- package/dist/services/carts-io.d.ts +142 -2
- package/dist/services/carts-items.d.mts +149 -12
- package/dist/services/carts-items.d.ts +149 -12
- package/dist/services/carts-items.js +8 -13
- package/dist/services/carts-items.js.map +1 -1
- package/dist/services/carts-items.mjs +8 -13
- package/dist/services/carts-items.mjs.map +1 -1
- package/dist/services/carts.d.mts +154 -14
- package/dist/services/carts.d.ts +154 -14
- package/dist/services/carts.js.map +1 -1
- package/dist/services/carts.mjs.map +1 -1
- package/dist/services/channels.d.mts +142 -2
- package/dist/services/channels.d.ts +142 -2
- package/dist/services/consent-manager-delivery.d.mts +415 -0
- package/dist/services/consent-manager-delivery.d.ts +415 -0
- package/dist/services/consent-manager-delivery.js +55 -0
- package/dist/services/consent-manager-delivery.js.map +1 -0
- package/dist/services/consent-manager-delivery.mjs +54 -0
- package/dist/services/consent-manager-delivery.mjs.map +1 -0
- package/dist/services/consent-manager-policy.d.mts +540 -0
- package/dist/services/consent-manager-policy.d.ts +540 -0
- package/dist/services/consent-manager-policy.js +237 -0
- package/dist/services/consent-manager-policy.js.map +1 -0
- package/dist/services/consent-manager-policy.mjs +236 -0
- package/dist/services/consent-manager-policy.mjs.map +1 -0
- package/dist/services/consent-manager-records.d.mts +639 -0
- package/dist/services/consent-manager-records.d.ts +639 -0
- package/dist/services/consent-manager-records.js +389 -0
- package/dist/services/consent-manager-records.js.map +1 -0
- package/dist/services/consent-manager-records.mjs +388 -0
- package/dist/services/consent-manager-records.mjs.map +1 -0
- package/dist/services/consent-manager-registry.d.mts +1089 -0
- package/dist/services/consent-manager-registry.d.ts +1089 -0
- package/dist/services/consent-manager-registry.js +1075 -0
- package/dist/services/consent-manager-registry.js.map +1 -0
- package/dist/services/consent-manager-registry.mjs +1074 -0
- package/dist/services/consent-manager-registry.mjs.map +1 -0
- package/dist/services/cost-centers.d.mts +267 -17
- package/dist/services/cost-centers.d.ts +267 -17
- package/dist/services/cost-centers.js +217 -35
- package/dist/services/cost-centers.js.map +1 -1
- package/dist/services/cost-centers.mjs +217 -35
- package/dist/services/cost-centers.mjs.map +1 -1
- package/dist/services/customers-contacts.d.mts +212 -26
- package/dist/services/customers-contacts.d.ts +212 -26
- package/dist/services/customers-contacts.js +116 -45
- package/dist/services/customers-contacts.js.map +1 -1
- package/dist/services/customers-contacts.mjs +116 -45
- package/dist/services/customers-contacts.mjs.map +1 -1
- package/dist/services/customers-organizations.d.mts +436 -33
- package/dist/services/customers-organizations.d.ts +436 -33
- package/dist/services/customers-organizations.js +474 -67
- package/dist/services/customers-organizations.js.map +1 -1
- package/dist/services/customers-organizations.mjs +474 -67
- package/dist/services/customers-organizations.mjs.map +1 -1
- package/dist/services/customers-roles.d.mts +142 -2
- package/dist/services/customers-roles.d.ts +142 -2
- package/dist/services/customers-segments.d.mts +167 -15
- package/dist/services/customers-segments.d.ts +167 -15
- package/dist/services/customers-segments.js +30 -10
- package/dist/services/customers-segments.js.map +1 -1
- package/dist/services/customers-segments.mjs +30 -10
- package/dist/services/customers-segments.mjs.map +1 -1
- package/dist/services/customers-value-lists.d.mts +272 -7
- package/dist/services/customers-value-lists.d.ts +272 -7
- package/dist/services/customers-value-lists.js +195 -1
- package/dist/services/customers-value-lists.js.map +1 -1
- package/dist/services/customers-value-lists.mjs +195 -1
- package/dist/services/customers-value-lists.mjs.map +1 -1
- package/dist/services/customers.d.mts +207 -35
- package/dist/services/customers.d.ts +207 -35
- package/dist/services/customers.js +61 -15
- package/dist/services/customers.js.map +1 -1
- package/dist/services/customers.mjs +61 -15
- package/dist/services/customers.mjs.map +1 -1
- package/dist/services/documents-kinds.d.mts +631 -0
- package/dist/services/documents-kinds.d.ts +631 -0
- package/dist/services/documents-kinds.js +373 -0
- package/dist/services/documents-kinds.js.map +1 -0
- package/dist/services/documents-kinds.mjs +372 -0
- package/dist/services/documents-kinds.mjs.map +1 -0
- package/dist/services/documents-register.d.mts +697 -0
- package/dist/services/documents-register.d.ts +697 -0
- package/dist/services/documents-register.js +493 -0
- package/dist/services/documents-register.js.map +1 -0
- package/dist/services/documents-register.mjs +492 -0
- package/dist/services/documents-register.mjs.map +1 -0
- package/dist/services/events.d.mts +142 -2
- package/dist/services/events.d.ts +142 -2
- package/dist/services/forms.d.mts +151 -13
- package/dist/services/forms.d.ts +151 -13
- package/dist/services/forms.js +3 -13
- package/dist/services/forms.js.map +1 -1
- package/dist/services/forms.mjs +3 -13
- package/dist/services/forms.mjs.map +1 -1
- package/dist/services/health.d.mts +142 -2
- package/dist/services/health.d.ts +142 -2
- package/dist/services/inventories-locations.d.mts +160 -8
- package/dist/services/inventories-locations.d.ts +160 -8
- package/dist/services/inventories-locations.js +23 -3
- package/dist/services/inventories-locations.js.map +1 -1
- package/dist/services/inventories-locations.mjs +23 -3
- package/dist/services/inventories-locations.mjs.map +1 -1
- package/dist/services/inventories-reservations.d.mts +144 -4
- package/dist/services/inventories-reservations.d.ts +144 -4
- package/dist/services/inventories-reservations.js.map +1 -1
- package/dist/services/inventories-reservations.mjs.map +1 -1
- package/dist/services/inventories-stock.d.mts +386 -18
- package/dist/services/inventories-stock.d.ts +386 -18
- package/dist/services/inventories-stock.js +363 -13
- package/dist/services/inventories-stock.js.map +1 -1
- package/dist/services/inventories-stock.mjs +363 -13
- package/dist/services/inventories-stock.mjs.map +1 -1
- package/dist/services/io.d.mts +142 -2
- package/dist/services/io.d.ts +142 -2
- package/dist/services/locale.d.mts +142 -2
- package/dist/services/locale.d.ts +142 -2
- package/dist/services/markets.d.mts +213 -67
- package/dist/services/markets.d.ts +213 -67
- package/dist/services/markets.js +19 -15
- package/dist/services/markets.js.map +1 -1
- package/dist/services/markets.mjs +19 -15
- package/dist/services/markets.mjs.map +1 -1
- package/dist/services/messaging.d.mts +142 -2
- package/dist/services/messaging.d.ts +142 -2
- package/dist/services/orderlists.d.mts +277 -90
- package/dist/services/orderlists.d.ts +277 -90
- package/dist/services/orderlists.js +161 -77
- package/dist/services/orderlists.js.map +1 -1
- package/dist/services/orderlists.mjs +161 -77
- package/dist/services/orderlists.mjs.map +1 -1
- package/dist/services/orders.d.mts +389 -57
- package/dist/services/orders.d.ts +389 -57
- package/dist/services/orders.js +334 -35
- package/dist/services/orders.js.map +1 -1
- package/dist/services/orders.mjs +334 -35
- package/dist/services/orders.mjs.map +1 -1
- package/dist/services/pages-collaboration.d.mts +142 -2
- package/dist/services/pages-collaboration.d.ts +142 -2
- package/dist/services/pages-delivery.d.mts +171 -2
- package/dist/services/pages-delivery.d.ts +171 -2
- package/dist/services/pages-delivery.js +47 -0
- package/dist/services/pages-delivery.js.map +1 -1
- package/dist/services/pages-delivery.mjs +47 -0
- package/dist/services/pages-delivery.mjs.map +1 -1
- package/dist/services/pages-editor.d.mts +142 -2
- package/dist/services/pages-editor.d.ts +142 -2
- package/dist/services/pages.d.mts +365 -13
- package/dist/services/pages.d.ts +365 -13
- package/dist/services/pages.js +314 -7
- package/dist/services/pages.js.map +1 -1
- package/dist/services/pages.mjs +314 -7
- package/dist/services/pages.mjs.map +1 -1
- package/dist/services/payments-ledger.d.mts +178 -14
- package/dist/services/payments-ledger.d.ts +178 -14
- package/dist/services/payments-ledger.js +51 -11
- package/dist/services/payments-ledger.js.map +1 -1
- package/dist/services/payments-ledger.mjs +51 -11
- package/dist/services/payments-ledger.mjs.map +1 -1
- package/dist/services/payments-methods.d.mts +156 -16
- package/dist/services/payments-methods.d.ts +156 -16
- package/dist/services/payments-methods.js.map +1 -1
- package/dist/services/payments-methods.mjs.map +1 -1
- package/dist/services/payments-providers.d.mts +144 -4
- package/dist/services/payments-providers.d.ts +144 -4
- package/dist/services/payments-providers.js.map +1 -1
- package/dist/services/payments-providers.mjs.map +1 -1
- package/dist/services/prices.d.mts +237 -33
- package/dist/services/prices.d.ts +237 -33
- package/dist/services/prices.js +145 -45
- package/dist/services/prices.js.map +1 -1
- package/dist/services/prices.mjs +145 -45
- package/dist/services/prices.mjs.map +1 -1
- package/dist/services/procurement.d.mts +340 -28
- package/dist/services/procurement.d.ts +340 -28
- package/dist/services/procurement.js +313 -50
- package/dist/services/procurement.js.map +1 -1
- package/dist/services/procurement.mjs +313 -50
- package/dist/services/procurement.mjs.map +1 -1
- package/dist/services/products-assets.d.mts +185 -9
- package/dist/services/products-assets.d.ts +185 -9
- package/dist/services/products-assets.js +68 -8
- package/dist/services/products-assets.js.map +1 -1
- package/dist/services/products-assets.mjs +68 -8
- package/dist/services/products-assets.mjs.map +1 -1
- package/dist/services/products-categories.d.mts +198 -10
- package/dist/services/products-categories.d.ts +198 -10
- package/dist/services/products-categories.js +99 -19
- package/dist/services/products-categories.js.map +1 -1
- package/dist/services/products-categories.mjs +99 -19
- package/dist/services/products-categories.mjs.map +1 -1
- package/dist/services/products-data-model.d.mts +398 -24
- package/dist/services/products-data-model.d.ts +398 -24
- package/dist/services/products-data-model.js +439 -49
- package/dist/services/products-data-model.js.map +1 -1
- package/dist/services/products-data-model.mjs +439 -49
- package/dist/services/products-data-model.mjs.map +1 -1
- package/dist/services/products-references.d.mts +229 -8
- package/dist/services/products-references.d.ts +229 -8
- package/dist/services/products-references.js +146 -11
- package/dist/services/products-references.js.map +1 -1
- package/dist/services/products-references.mjs +146 -11
- package/dist/services/products-references.mjs.map +1 -1
- package/dist/services/products.d.mts +209 -23
- package/dist/services/products.d.ts +209 -23
- package/dist/services/products.js +89 -19
- package/dist/services/products.js.map +1 -1
- package/dist/services/products.mjs +89 -19
- package/dist/services/products.mjs.map +1 -1
- package/dist/services/promotions-evaluation.d.mts +551 -0
- package/dist/services/promotions-evaluation.d.ts +551 -0
- package/dist/services/promotions-evaluation.js +277 -0
- package/dist/services/promotions-evaluation.js.map +1 -0
- package/dist/services/promotions-evaluation.mjs +276 -0
- package/dist/services/promotions-evaluation.mjs.map +1 -0
- package/dist/services/promotions-promotions.d.mts +1642 -0
- package/dist/services/promotions-promotions.d.ts +1642 -0
- package/dist/services/promotions-promotions.js +1991 -0
- package/dist/services/promotions-promotions.js.map +1 -0
- package/dist/services/promotions-promotions.mjs +1990 -0
- package/dist/services/promotions-promotions.mjs.map +1 -0
- package/dist/services/promotions-redemptions.d.mts +596 -0
- package/dist/services/promotions-redemptions.d.ts +596 -0
- package/dist/services/promotions-redemptions.js +337 -0
- package/dist/services/promotions-redemptions.js.map +1 -0
- package/dist/services/promotions-redemptions.mjs +336 -0
- package/dist/services/promotions-redemptions.mjs.map +1 -0
- package/dist/services/promotions-vouchers.d.mts +994 -0
- package/dist/services/promotions-vouchers.d.ts +994 -0
- package/dist/services/promotions-vouchers.js +971 -0
- package/dist/services/promotions-vouchers.js.map +1 -0
- package/dist/services/promotions-vouchers.mjs +970 -0
- package/dist/services/promotions-vouchers.mjs.map +1 -0
- package/dist/services/punchout.d.mts +1582 -0
- package/dist/services/punchout.d.ts +1582 -0
- package/dist/services/punchout.js +1950 -0
- package/dist/services/punchout.js.map +1 -0
- package/dist/services/punchout.mjs +1949 -0
- package/dist/services/punchout.mjs.map +1 -0
- package/dist/services/quotes-acceptance.d.mts +480 -0
- package/dist/services/quotes-acceptance.d.ts +480 -0
- package/dist/services/quotes-acceptance.js +148 -0
- package/dist/services/quotes-acceptance.js.map +1 -0
- package/dist/services/quotes-acceptance.mjs +147 -0
- package/dist/services/quotes-acceptance.mjs.map +1 -0
- package/dist/services/quotes-pricing.d.mts +476 -0
- package/dist/services/quotes-pricing.d.ts +476 -0
- package/dist/services/quotes-pricing.js +144 -0
- package/dist/services/quotes-pricing.js.map +1 -0
- package/dist/services/quotes-pricing.mjs +143 -0
- package/dist/services/quotes-pricing.mjs.map +1 -0
- package/dist/services/quotes-quotes.d.mts +629 -0
- package/dist/services/quotes-quotes.d.ts +629 -0
- package/dist/services/quotes-quotes.js +386 -0
- package/dist/services/quotes-quotes.js.map +1 -0
- package/dist/services/quotes-quotes.mjs +385 -0
- package/dist/services/quotes-quotes.mjs.map +1 -0
- package/dist/services/quotes-ranges.d.mts +585 -0
- package/dist/services/quotes-ranges.d.ts +585 -0
- package/dist/services/quotes-ranges.js +301 -0
- package/dist/services/quotes-ranges.js.map +1 -0
- package/dist/services/quotes-ranges.mjs +300 -0
- package/dist/services/quotes-ranges.mjs.map +1 -0
- package/dist/services/quotes-trail.d.mts +459 -0
- package/dist/services/quotes-trail.d.ts +459 -0
- package/dist/services/quotes-trail.js +124 -0
- package/dist/services/quotes-trail.js.map +1 -0
- package/dist/services/quotes-trail.mjs +123 -0
- package/dist/services/quotes-trail.mjs.map +1 -0
- package/dist/services/sales-reps-acting-for.d.mts +510 -0
- package/dist/services/sales-reps-acting-for.d.ts +510 -0
- package/dist/services/sales-reps-acting-for.js +195 -0
- package/dist/services/sales-reps-acting-for.js.map +1 -0
- package/dist/services/sales-reps-acting-for.mjs +194 -0
- package/dist/services/sales-reps-acting-for.mjs.map +1 -0
- package/dist/services/sales-reps-coverage.d.mts +776 -0
- package/dist/services/sales-reps-coverage.d.ts +776 -0
- package/dist/services/sales-reps-coverage.js +578 -0
- package/dist/services/sales-reps-coverage.js.map +1 -0
- package/dist/services/sales-reps-coverage.mjs +577 -0
- package/dist/services/sales-reps-coverage.mjs.map +1 -0
- package/dist/services/sales-reps-roster.d.mts +595 -0
- package/dist/services/sales-reps-roster.d.ts +595 -0
- package/dist/services/sales-reps-roster.js +328 -0
- package/dist/services/sales-reps-roster.js.map +1 -0
- package/dist/services/sales-reps-roster.mjs +327 -0
- package/dist/services/sales-reps-roster.mjs.map +1 -0
- package/dist/services/search.d.mts +142 -2
- package/dist/services/search.d.ts +142 -2
- package/dist/services/settings.d.mts +142 -2
- package/dist/services/settings.d.ts +142 -2
- package/dist/services/shipping-carriers.d.mts +188 -21
- package/dist/services/shipping-carriers.d.ts +188 -21
- package/dist/services/shipping-carriers.js +61 -16
- package/dist/services/shipping-carriers.js.map +1 -1
- package/dist/services/shipping-carriers.mjs +61 -16
- package/dist/services/shipping-carriers.mjs.map +1 -1
- package/dist/services/shipping-methods.d.mts +214 -47
- package/dist/services/shipping-methods.d.ts +214 -47
- package/dist/services/shipping-methods.js +67 -22
- package/dist/services/shipping-methods.js.map +1 -1
- package/dist/services/shipping-methods.mjs +67 -22
- package/dist/services/shipping-methods.mjs.map +1 -1
- package/dist/services/shipping-value-lists.d.mts +142 -2
- package/dist/services/shipping-value-lists.d.ts +142 -2
- package/dist/services/sites.d.mts +142 -2
- package/dist/services/sites.d.ts +142 -2
- package/dist/services/storage.d.mts +151 -11
- package/dist/services/storage.d.ts +151 -11
- package/dist/services/storage.js.map +1 -1
- package/dist/services/storage.mjs.map +1 -1
- package/dist/services/tag-manager-container.d.mts +630 -0
- package/dist/services/tag-manager-container.d.ts +630 -0
- package/dist/services/tag-manager-container.js +371 -0
- package/dist/services/tag-manager-container.js.map +1 -0
- package/dist/services/tag-manager-container.mjs +370 -0
- package/dist/services/tag-manager-container.mjs.map +1 -0
- package/dist/services/tag-manager-delivery.d.mts +415 -0
- package/dist/services/tag-manager-delivery.d.ts +415 -0
- package/dist/services/tag-manager-delivery.js +55 -0
- package/dist/services/tag-manager-delivery.js.map +1 -0
- package/dist/services/tag-manager-delivery.mjs +54 -0
- package/dist/services/tag-manager-delivery.mjs.map +1 -0
- package/dist/services/tag-manager-tags.d.mts +983 -0
- package/dist/services/tag-manager-tags.d.ts +983 -0
- package/dist/services/tag-manager-tags.js +888 -0
- package/dist/services/tag-manager-tags.js.map +1 -0
- package/dist/services/tag-manager-tags.mjs +887 -0
- package/dist/services/tag-manager-tags.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/enums/contact-update-request-registration-status.d.mts +0 -6
- package/dist/enums/contact-update-request-registration-status.d.ts +0 -6
- package/dist/enums/contact-update-request-registration-status.js +0 -11
- package/dist/enums/contact-update-request-registration-status.js.map +0 -1
- package/dist/enums/contact-update-request-registration-status.mjs +0 -10
- package/dist/enums/contact-update-request-registration-status.mjs.map +0 -1
- package/dist/enums/market-readiness-blocking.d.mts +0 -8
- package/dist/enums/market-readiness-blocking.d.ts +0 -8
- package/dist/enums/market-readiness-blocking.js +0 -13
- package/dist/enums/market-readiness-blocking.js.map +0 -1
- package/dist/enums/market-readiness-blocking.mjs +0 -12
- package/dist/enums/market-readiness-blocking.mjs.map +0 -1
- package/dist/enums/market-readiness-report-blocking.d.mts +0 -8
- package/dist/enums/market-readiness-report-blocking.d.ts +0 -8
- package/dist/enums/market-readiness-report-blocking.js +0 -13
- package/dist/enums/market-readiness-report-blocking.js.map +0 -1
- package/dist/enums/market-readiness-report-blocking.mjs +0 -12
- package/dist/enums/market-readiness-report-blocking.mjs.map +0 -1
- package/dist/enums/market-readiness-report-warnings.d.mts +0 -8
- package/dist/enums/market-readiness-report-warnings.d.ts +0 -8
- package/dist/enums/market-readiness-report-warnings.js +0 -13
- package/dist/enums/market-readiness-report-warnings.js.map +0 -1
- package/dist/enums/market-readiness-report-warnings.mjs +0 -12
- package/dist/enums/market-readiness-report-warnings.mjs.map +0 -1
- package/dist/enums/market-readiness-warnings.d.mts +0 -8
- package/dist/enums/market-readiness-warnings.d.ts +0 -8
- package/dist/enums/market-readiness-warnings.js +0 -13
- package/dist/enums/market-readiness-warnings.js.map +0 -1
- package/dist/enums/market-readiness-warnings.mjs +0 -12
- package/dist/enums/market-readiness-warnings.mjs.map +0 -1
- package/dist/enums/order-customer-rollup-request-statuses.d.mts +0 -9
- package/dist/enums/order-customer-rollup-request-statuses.d.ts +0 -9
- package/dist/enums/order-customer-rollup-request-statuses.js +0 -14
- package/dist/enums/order-customer-rollup-request-statuses.js.map +0 -1
- package/dist/enums/order-customer-rollup-request-statuses.mjs +0 -13
- package/dist/enums/order-customer-rollup-request-statuses.mjs.map +0 -1
- package/dist/enums/order-customer-rollup-response-statuses.d.mts +0 -9
- package/dist/enums/order-customer-rollup-response-statuses.d.ts +0 -9
- package/dist/enums/order-customer-rollup-response-statuses.js +0 -14
- package/dist/enums/order-customer-rollup-response-statuses.js.map +0 -1
- package/dist/enums/order-customer-rollup-response-statuses.mjs +0 -13
- package/dist/enums/order-customer-rollup-response-statuses.mjs.map +0 -1
- package/dist/enums/products-assets-list-source.d.mts +0 -6
- package/dist/enums/products-assets-list-source.d.ts +0 -6
- package/dist/enums/products-assets-list-source.js +0 -11
- package/dist/enums/products-assets-list-source.js.map +0 -1
- package/dist/enums/products-assets-list-source.mjs +0 -10
- package/dist/enums/products-assets-list-source.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/services/inventories-stock.ts"],"names":[],"mappings":"AAAA,SAAS,yBAA+D;AAMjE,MAAM,iBAAiB;AAAA,EAG1B,YAAY,QAAgB;AACxB,SAAK,SAAS;AAAA,EAClB;AAAA,EA6BA,kBACI,kBACG,MACQ;AACX,QAAI;AAEJ,QAAI,CAAC,iBAAkB,iBAAiB,OAAO,kBAAkB,YAAY,CAAC,MAAM,QAAQ,aAAa,MAAM,WAAW,iBAAiB,kBAAkB,iBAAiB,eAAe,iBAAiB,cAAc,iBAAiB,YAAY,iBAAiB,SAAS,gBAAiB;AAChS,eAAU,iBAAiB,CAAC;AAAA,IAChC,OAAO;AACH,eAAS;AAAA,QACL,OAAO;AAAA,QACP,cAAc,KAAK,CAAC;AAAA,QACpB,WAAW,KAAK,CAAC;AAAA,QACjB,UAAU,KAAK,CAAC;AAAA,QAChB,QAAQ,KAAK,CAAC;AAAA,QACd,KAAK,KAAK,CAAC;AAAA,MACf;AAAA,IACJ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AAW,OAAO;AAEzD,UAAM,aAA2C,CACjD;AAEA,WAAO,KAAK,OAAO;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AAAA,EAmBA,2BACI,eACmC;AACnC,QAAI;AAEJ,QAAK,iBAAiB,OAAO,kBAAkB,YAAY,CAAC,MAAM,QAAQ,aAAa,KAAM,UAAU,eAAiB;AACpH,eAAU,iBAAiB,CAAC;AAAA,IAChC,OAAO;AACH,eAAS;AAAA,QACL,MAAM;AAAA,MACV;AAAA,IACJ;AAEA,UAAM,OAAO,OAAO;AAEpB,QAAI,OAAO,SAAS,aAAa;AAC7B,YAAM,IAAI,kBAAkB,oCAAoC;AAAA,IACpE;AAEA,UAAM,UAAU,sCAAsC,QAAQ,UAAU,IAAI;AAC5E,UAAM,aAAsB,CAAC;AAC7B,UAAM,MAAM,IAAI,IAAI,KAAK,OAAO,OAAO,WAAW,OAAO;AAEzD,UAAM,aAA2C,CACjD;AAEA,WAAO,KAAK,OAAO;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AACJ","sourcesContent":["import { RevenexxException, Client, type Payload, UploadProgress } from '../client';\nimport type { Models } from '../models';\n\nimport { InventoriesMovementsListType } from '../enums/inventories-movements-list-type';\nimport { InventoriesVocabulariesGetName } from '../enums/inventories-vocabularies-get-name';\n\nexport class InventoriesStock {\n client: Client;\n\n constructor(client: Client) {\n this.client = client;\n }\n\n /**\n * The batch correction route — a stocktake, breakage, shrinkage — and the manual way `on_hand` is ever put right. Quantities are SIGNED: a positive one adds to the balance, a negative one takes it away, and neither is written onto the row directly. Each item is booked into the movements ledger as an `adjustment` and the balance follows, so a correction leaves a record of who changed what and why instead of a number that silently differs from yesterday's. A reason is mandatory unless movement_reason_required is 'none'.\n *\n * @param {Models.InventoryAdjustItem[]} params.items - The corrections, at most 200 in one call — a stocktake, breakage, shrinkage. Quantities are SIGNED deltas, not new balances.\n * @param {string} params.locationCode - Which location is being corrected. Omitted, the `default_location_code` setting decides. A correction is per location: the same SKU in two warehouses is two corrections.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: the SIGNED correction (negative writes stock off, positive finds it). Non-zero.\n * @param {string} params.reason - Why the stock is being corrected — this is the audit trail a stocktake leaves behind. Owed unless `movement_reason_required` is 'none' (its default, 'adjustments', asks for one exactly here); missing where it is owed, the call is 400.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAdjust(params?: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string }): Promise<{}>;\n /**\n * The batch correction route — a stocktake, breakage, shrinkage — and the manual way `on_hand` is ever put right. Quantities are SIGNED: a positive one adds to the balance, a negative one takes it away, and neither is written onto the row directly. Each item is booked into the movements ledger as an `adjustment` and the balance follows, so a correction leaves a record of who changed what and why instead of a number that silently differs from yesterday's. A reason is mandatory unless movement_reason_required is 'none'.\n *\n * @param {Models.InventoryAdjustItem[]} items - The corrections, at most 200 in one call — a stocktake, breakage, shrinkage. Quantities are SIGNED deltas, not new balances.\n * @param {string} locationCode - Which location is being corrected. Omitted, the `default_location_code` setting decides. A correction is per location: the same SKU in two warehouses is two corrections.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: the SIGNED correction (negative writes stock off, positive finds it). Non-zero.\n * @param {string} reason - Why the stock is being corrected — this is the audit trail a stocktake leaves behind. Owed unless `movement_reason_required` is 'none' (its default, 'adjustments', asks for one exactly here); missing where it is owed, the call is 400.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAdjust(items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string): Promise<{}>;\n inventoriesAdjust(\n paramsOrFirst?: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string } | Models.InventoryAdjustItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryAdjustItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n reason: rest[3] as string,\n sku: rest[4] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/adjust';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * THE stock call of this app, and a batch one: name any number of items and each comes back with `on_hand`, `reserved` and the derived `available` (their difference, computed on read and stored nowhere), summed across the locations in scope and broken down per location, plus `orderable` — whether this much of it can be promised at this moment. An item this app has never seen is NOT an error: it comes back tracked:false, and the storefront decides whether an untracked item sells freely. It is also the most customised surface this product has in the field. A tenant whose stock really lives in an ERP — SAP live stock is the ordinary case, not the exotic one — replaces exactly this one capability, 1:1, with a custom app through the gateway's capability override, while every other route here keeps doing the stock-keeping CRUD unchanged. That is why the request and response shapes below read as a contract to be implemented rather than as an implementation detail: whatever ends up answering this path has to answer in these terms.\n *\n * @param {Models.InventoryAvailabilityItem[]} params.items - The items to check, at most 200 in one call. A cart, a category page, a feed row — one call answers them all, which is why this route is the batch one.\n * @param {string} params.locationCode - Restrict the check to ONE location, by its code — the stock a click-and-collect store can promise today. Omitted, every ENABLED location is summed; a disabled one is never counted either way.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many are wanted (default 1). It decides `orderable` and nothing else.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAvailability(params?: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string }): Promise<{}>;\n /**\n * THE stock call of this app, and a batch one: name any number of items and each comes back with `on_hand`, `reserved` and the derived `available` (their difference, computed on read and stored nowhere), summed across the locations in scope and broken down per location, plus `orderable` — whether this much of it can be promised at this moment. An item this app has never seen is NOT an error: it comes back tracked:false, and the storefront decides whether an untracked item sells freely. It is also the most customised surface this product has in the field. A tenant whose stock really lives in an ERP — SAP live stock is the ordinary case, not the exotic one — replaces exactly this one capability, 1:1, with a custom app through the gateway's capability override, while every other route here keeps doing the stock-keeping CRUD unchanged. That is why the request and response shapes below read as a contract to be implemented rather than as an implementation detail: whatever ends up answering this path has to answer in these terms.\n *\n * @param {Models.InventoryAvailabilityItem[]} items - The items to check, at most 200 in one call. A cart, a category page, a feed row — one call answers them all, which is why this route is the batch one.\n * @param {string} locationCode - Restrict the check to ONE location, by its code — the stock a click-and-collect store can promise today. Omitted, every ENABLED location is summed; a disabled one is never counted either way.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many are wanted (default 1). It decides `orderable` and nothing else.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailability(items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string): Promise<{}>;\n inventoriesAvailability(\n paramsOrFirst?: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string } | Models.InventoryAvailabilityItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryAvailabilityItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n sku: rest[3] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/availability';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * The movements ledger, read end to end. Every stock change this app has ever made is a booking row in it — a receipt, a correction, a hold, a release, a shipment, a return — which is what lets one list be an audit trail and an event feed at the same time: these are the rows the `stock_movement.created` event carries, so a consumer that missed an event catches up by paging here. Append-only: the ledger has no update and no delete, because a correction is another booking. `order=created_at.desc` is the feed order.\n *\n * @param {number} params.limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} params.offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} params.order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} params.id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} params.locationId - Exact-match filter on `location_id`. Every booking at one location.\n * @param {string} params.productId - Exact-match filter on `product_id`. The product this booking is for, copied from the call.\n * @param {string} params.sku - Exact-match filter on `sku`. Every booking for one SKU.\n * @param {InventoriesMovementsListType} params.type - Exact-match filter on `type`. What the booking records. The permitted set is the CHECK constraint — GET /inventories/vocabularies/movement-types has the words for it.\n * @param {number} params.quantity - Exact-match filter on `quantity`. Exact signed quantity, which is a needle-in-a-haystack filter rather than a range: `?quantity=-5` finds the bookings that moved exactly five out.\n * @param {string} params.orderRef - Exact-match filter on `order_ref`. One order's whole stock history: its reserve, release, shipment and restock bookings.\n * @param {string} params.reason - Exact-match filter on `reason`. Why the booking happened, in a person's words — a delivery note number, 'stocktake 2026-03', 'damaged in transit'.\n * @param {string} params.metadata - Exact-match filter on `metadata`. Free-form, and two keys this app writes itself: `backordered` — on a `reserve` booking, how much of the hold was not covered by stock on hand; `shortfall` — on a `shipment` booking, how much was committed that was not physically there (`on_hand` floors at 0, so the difference is recorded here instead of vanishing). The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.createdAt - Exact-match filter on `created_at`. Exact timestamp. There is no range filter on the ledger — page it with `?order=created_at.desc` instead.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesMovementsList(params?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string }): Promise<{}>;\n /**\n * The movements ledger, read end to end. Every stock change this app has ever made is a booking row in it — a receipt, a correction, a hold, a release, a shipment, a return — which is what lets one list be an audit trail and an event feed at the same time: these are the rows the `stock_movement.created` event carries, so a consumer that missed an event catches up by paging here. Append-only: the ledger has no update and no delete, because a correction is another booking. `order=created_at.desc` is the feed order.\n *\n * @param {number} limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} locationId - Exact-match filter on `location_id`. Every booking at one location.\n * @param {string} productId - Exact-match filter on `product_id`. The product this booking is for, copied from the call.\n * @param {string} sku - Exact-match filter on `sku`. Every booking for one SKU.\n * @param {InventoriesMovementsListType} type - Exact-match filter on `type`. What the booking records. The permitted set is the CHECK constraint — GET /inventories/vocabularies/movement-types has the words for it.\n * @param {number} quantity - Exact-match filter on `quantity`. Exact signed quantity, which is a needle-in-a-haystack filter rather than a range: `?quantity=-5` finds the bookings that moved exactly five out.\n * @param {string} orderRef - Exact-match filter on `order_ref`. One order's whole stock history: its reserve, release, shipment and restock bookings.\n * @param {string} reason - Exact-match filter on `reason`. Why the booking happened, in a person's words — a delivery note number, 'stocktake 2026-03', 'damaged in transit'.\n * @param {string} metadata - Exact-match filter on `metadata`. Free-form, and two keys this app writes itself: `backordered` — on a `reserve` booking, how much of the hold was not covered by stock on hand; `shortfall` — on a `shipment` booking, how much was committed that was not physically there (`on_hand` floors at 0, so the difference is recorded here instead of vanishing). The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} createdAt - Exact-match filter on `created_at`. Exact timestamp. There is no range filter on the ledger — page it with `?order=created_at.desc` instead.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesMovementsList(limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string): Promise<{}>;\n inventoriesMovementsList(\n paramsOrFirst?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string } | number,\n ...rest: [(number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (InventoriesMovementsListType)?, (number)?, (string)?, (string)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string };\n } else {\n params = {\n limit: paramsOrFirst as number,\n offset: rest[0] as number,\n order: rest[1] as string,\n id: rest[2] as string,\n locationId: rest[3] as string,\n productId: rest[4] as string,\n sku: rest[5] as string,\n type: rest[6] as InventoriesMovementsListType,\n quantity: rest[7] as number,\n orderRef: rest[8] as string,\n reason: rest[9] as string,\n metadata: rest[10] as string,\n createdAt: rest[11] as string \n };\n }\n \n const limit = params.limit;\n const offset = params.offset;\n const order = params.order;\n const id = params.id;\n const locationId = params.locationId;\n const productId = params.productId;\n const sku = params.sku;\n const type = params.type;\n const quantity = params.quantity;\n const orderRef = params.orderRef;\n const reason = params.reason;\n const metadata = params.metadata;\n const createdAt = params.createdAt;\n\n\n const apiPath = '/v1/inventories/movements';\n const apiPayload: Payload = {};\n if (typeof limit !== 'undefined') {\n apiPayload['limit'] = limit;\n }\n if (typeof offset !== 'undefined') {\n apiPayload['offset'] = offset;\n }\n if (typeof order !== 'undefined') {\n apiPayload['order'] = order;\n }\n if (typeof id !== 'undefined') {\n apiPayload['id'] = id;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n if (typeof type !== 'undefined') {\n apiPayload['type'] = type;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof orderRef !== 'undefined') {\n apiPayload['order_ref'] = orderRef;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof createdAt !== 'undefined') {\n apiPayload['created_at'] = createdAt;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A movement is one booking row in the ledger, and the ledger is append-only: there is no update and no delete, because a correction is another booking. `quantity` is SIGNED and its sign follows the `type` — a receipt books +5 and the reserve that promises those goods books −5, even though the reservation it created carries +5 as a positive hold. GET /inventories/vocabularies/movement-types is the list of types with the words for them. A booking says what changed, not what the balance became: it carries no running total, so the row's story is read by listing the ledger for that location and item rather than by fetching one id. `location_id` is a plain uuid and not a foreign key, so a booking outlives the location it was made at and this route will happily hand back one whose location no longer resolves — that is the audit trail doing its job, not a broken row. Fixing a wrong booking is another booking (POST /inventories/adjust); nothing here can be edited or removed.\n *\n * @param {string} params.id - The ledger booking.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockMovement>}\n */\n inventoriesMovementsGet(params: { id: string }): Promise<Models.StockMovement>;\n /**\n * A movement is one booking row in the ledger, and the ledger is append-only: there is no update and no delete, because a correction is another booking. `quantity` is SIGNED and its sign follows the `type` — a receipt books +5 and the reserve that promises those goods books −5, even though the reservation it created carries +5 as a positive hold. GET /inventories/vocabularies/movement-types is the list of types with the words for them. A booking says what changed, not what the balance became: it carries no running total, so the row's story is read by listing the ledger for that location and item rather than by fetching one id. `location_id` is a plain uuid and not a foreign key, so a booking outlives the location it was made at and this route will happily hand back one whose location no longer resolves — that is the audit trail doing its job, not a broken row. Fixing a wrong booking is another booking (POST /inventories/adjust); nothing here can be edited or removed.\n *\n * @param {string} id - The ledger booking.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockMovement>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesMovementsGet(id: string): Promise<Models.StockMovement>;\n inventoriesMovementsGet(\n paramsOrFirst: { id: string } | string \n ): Promise<Models.StockMovement> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/movements/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Books a delivery into the receiving location (the caller's location_code, else the default_location_code setting), creating the stock row if the item is new. A reason is optional unless movement_reason_required is 'all'. Takes a batch or one item inline.\n *\n * @param {Models.InventoryStockItem[]} params.items - The goods that arrived, at most 200 in one call — a delivery, a production batch, an opening balance.\n * @param {string} params.locationCode - Which location took the delivery. Omitted, the `default_location_code` setting decides; a code no location carries is answered 400 rather than booked somewhere else.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many arrived. Positive.\n * @param {string} params.reason - What the ledger should record about this receipt — a delivery note number, a production order. Owed only when `movement_reason_required` is 'all'; the contract does not require it, because whether it is owed is the tenant's setting and not this route's rule.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesReceive(params?: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string }): Promise<{}>;\n /**\n * Books a delivery into the receiving location (the caller's location_code, else the default_location_code setting), creating the stock row if the item is new. A reason is optional unless movement_reason_required is 'all'. Takes a batch or one item inline.\n *\n * @param {Models.InventoryStockItem[]} items - The goods that arrived, at most 200 in one call — a delivery, a production batch, an opening balance.\n * @param {string} locationCode - Which location took the delivery. Omitted, the `default_location_code` setting decides; a code no location carries is answered 400 rather than booked somewhere else.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many arrived. Positive.\n * @param {string} reason - What the ledger should record about this receipt — a delivery note number, a production order. Owed only when `movement_reason_required` is 'all'; the contract does not require it, because whether it is owed is the tenant's setting and not this route's rule.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesReceive(items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string): Promise<{}>;\n inventoriesReceive(\n paramsOrFirst?: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string } | Models.InventoryStockItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryStockItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n reason: rest[3] as string,\n sku: rest[4] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/receive';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * The replenishment worklist: the stock rows that have run down far enough that somebody has to order more, in one list rather than as a query a caller has to build. Computed on read, so it is never stale: a row alerts when available (on_hand − reserved) has fallen to or below its own reorder_point, or the reorder_point_default setting when it carries none. A point of 0 never alerts. Answers enabled:false with an empty list when reorder_alert_enabled is off — a tenant replenishing from an ERP should not be told twice.\n *\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderAlerts>}\n */\n inventoriesReorderAlerts(): Promise<Models.ReorderAlerts> {\n\n const apiPath = '/v1/inventories/reorder-alerts';\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Publishes `stock_level.low` on the event bus for every row GET /inventories/reorder-alerts currently lists, so replenishment can be driven by a subscriber instead of by somebody refreshing that page. Also runs hourly as the `reorder-scan` schedule; this route is for driving it on demand. The event id is derived from the stock row and the day, so a re-run — a second click, a retried cron tick — publishes nothing new and returns the ids the first run produced. Nothing is written to the app's own data: this reads the same figures the alerts list computes and hands them to the bus. Answers enabled:false without publishing when reorder_alert_enabled is off.\n *\n * @param {object} params.data - Request body\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderScan>}\n */\n inventoriesReorderScan(params: { data: object }): Promise<Models.ReorderScan>;\n /**\n * Publishes `stock_level.low` on the event bus for every row GET /inventories/reorder-alerts currently lists, so replenishment can be driven by a subscriber instead of by somebody refreshing that page. Also runs hourly as the `reorder-scan` schedule; this route is for driving it on demand. The event id is derived from the stock row and the day, so a re-run — a second click, a retried cron tick — publishes nothing new and returns the ids the first run produced. Nothing is written to the app's own data: this reads the same figures the alerts list computes and hands them to the bus. Answers enabled:false without publishing when reorder_alert_enabled is off.\n *\n * @param {object} data - Request body\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderScan>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesReorderScan(data: object): Promise<Models.ReorderScan>;\n inventoriesReorderScan(\n paramsOrFirst: { data: object } | object \n ): Promise<Models.ReorderScan> {\n let params: { data: object };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('data' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { data: object };\n } else {\n params = {\n data: paramsOrFirst as object \n };\n }\n \n const data = params.data;\n\n if (typeof data === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"data\"');\n }\n\n const apiPath = '/v1/inventories/reorder-alerts/scan';\n const apiPayload: Payload = {};\n if (typeof data !== 'undefined') {\n Object.assign(apiPayload, data);\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Whether a return rejoins sellable stock follows restock_on_return_default, overridable per call with 'restock'. When the answer is no the response says restocked:false and nothing moves — there is no movement to book, because no stock moved. That branch is why this route answers 200 and its sibling `receive` answers 201: a restock may legitimately create nothing.\n *\n * @param {Models.InventoryStockItem[]} params.items - The goods that came back, at most 200 in one call. Whether they rejoin sellable stock is `restock`, not this list.\n * @param {string} params.locationCode - Where the goods came back to — a returns warehouse is a location like any other. Omitted, the `default_location_code` setting decides.\n * @param {string} params.orderRef - The order the goods came back from. It is written onto the ledger booking, so the return shows up in that order's stock history next to its reserve and shipment — no reservation is touched by it.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many came back. Positive.\n * @param {string} params.reason - Why the goods came back — 'wrong size', 'damaged on arrival'. Owed only when `movement_reason_required` is 'all'.\n * @param {boolean} params.restock - Do these goods rejoin SELLABLE stock? A merchant decision, not a fact: apparel usually restocks, hygiene articles never do, many merchants inspect first. Omit it to follow the `restock_on_return_default` setting. `false` answers `restocked: false`, moves nothing and books NOTHING — there is no movement to write, because no stock moved, and that is the branch that makes this route a 200 while its sibling `receive` is a 201.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesRestock(params?: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string }): Promise<{}>;\n /**\n * Whether a return rejoins sellable stock follows restock_on_return_default, overridable per call with 'restock'. When the answer is no the response says restocked:false and nothing moves — there is no movement to book, because no stock moved. That branch is why this route answers 200 and its sibling `receive` answers 201: a restock may legitimately create nothing.\n *\n * @param {Models.InventoryStockItem[]} items - The goods that came back, at most 200 in one call. Whether they rejoin sellable stock is `restock`, not this list.\n * @param {string} locationCode - Where the goods came back to — a returns warehouse is a location like any other. Omitted, the `default_location_code` setting decides.\n * @param {string} orderRef - The order the goods came back from. It is written onto the ledger booking, so the return shows up in that order's stock history next to its reserve and shipment — no reservation is touched by it.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many came back. Positive.\n * @param {string} reason - Why the goods came back — 'wrong size', 'damaged on arrival'. Owed only when `movement_reason_required` is 'all'.\n * @param {boolean} restock - Do these goods rejoin SELLABLE stock? A merchant decision, not a fact: apparel usually restocks, hygiene articles never do, many merchants inspect first. Omit it to follow the `restock_on_return_default` setting. `false` answers `restocked: false`, moves nothing and books NOTHING — there is no movement to write, because no stock moved, and that is the branch that makes this route a 200 while its sibling `receive` is a 201.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesRestock(items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string): Promise<{}>;\n inventoriesRestock(\n paramsOrFirst?: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string } | Models.InventoryStockItem[],\n ...rest: [(string)?, (string)?, (string)?, (number)?, (string)?, (boolean)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'orderRef' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'restock' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryStockItem[],\n locationCode: rest[0] as string,\n orderRef: rest[1] as string,\n productId: rest[2] as string,\n quantity: rest[3] as number,\n reason: rest[4] as string,\n restock: rest[5] as boolean,\n sku: rest[6] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const orderRef = params.orderRef;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const restock = params.restock;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/restock';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof orderRef !== 'undefined') {\n apiPayload['order_ref'] = orderRef;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof restock !== 'undefined') {\n apiPayload['restock'] = restock;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. This is the operator's view — the whole book, filtered by location or by item — not the shop's: a storefront asking \"can I sell five of this\" wants POST /inventories/availability, which sums an item across locations and answers `orderable` instead of leaving the caller to subtract. Two things this list will not do: it has no range filters, so \"everything running low\" is GET /inventories/reorder-alerts and not a query here; and it does not promise one row per item per location — no unique index enforces that. POST /inventories/stock refuses a duplicate with a 409, but that is a check and not a constraint, so a row written past it, or one that predates the guard, still splits an item's balance in two, and the write routes find and update whichever of them the database returns first.\n *\n * @param {number} params.limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} params.offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} params.order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} params.id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} params.locationId - Exact-match filter on `location_id`. The rows held at one location. An id no location carries is an empty page, not an error.\n * @param {string} params.productId - Exact-match filter on `product_id`. The rows tracking one product, across every location.\n * @param {string} params.sku - Exact-match filter on `sku`. The rows tracking one SKU — the identity used when an item has no product id.\n * @param {number} params.onHand - Exact-match filter on `on_hand`. Exact balance, which is rarely what a reader wants: `?on_hand=0` finds the rows that are empty. There is no range filter here — GET /inventories/reorder-alerts is the \"running low\" question.\n * @param {number} params.reserved - Exact-match filter on `reserved`. Exact reserved quantity. `?reserved=0` finds the rows nothing is holding.\n * @param {number} params.reorderPoint - Exact-match filter on `reorder_point`. The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts).\n * @param {string} params.metadata - Exact-match filter on `metadata`. Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} params.updatedAt - Exact-match filter on `updated_at`. When this row was last written.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockList(params?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, metadata?: string, createdAt?: string, updatedAt?: string }): Promise<{}>;\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. This is the operator's view — the whole book, filtered by location or by item — not the shop's: a storefront asking \"can I sell five of this\" wants POST /inventories/availability, which sums an item across locations and answers `orderable` instead of leaving the caller to subtract. Two things this list will not do: it has no range filters, so \"everything running low\" is GET /inventories/reorder-alerts and not a query here; and it does not promise one row per item per location — no unique index enforces that. POST /inventories/stock refuses a duplicate with a 409, but that is a check and not a constraint, so a row written past it, or one that predates the guard, still splits an item's balance in two, and the write routes find and update whichever of them the database returns first.\n *\n * @param {number} limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} locationId - Exact-match filter on `location_id`. The rows held at one location. An id no location carries is an empty page, not an error.\n * @param {string} productId - Exact-match filter on `product_id`. The rows tracking one product, across every location.\n * @param {string} sku - Exact-match filter on `sku`. The rows tracking one SKU — the identity used when an item has no product id.\n * @param {number} onHand - Exact-match filter on `on_hand`. Exact balance, which is rarely what a reader wants: `?on_hand=0` finds the rows that are empty. There is no range filter here — GET /inventories/reorder-alerts is the \"running low\" question.\n * @param {number} reserved - Exact-match filter on `reserved`. Exact reserved quantity. `?reserved=0` finds the rows nothing is holding.\n * @param {number} reorderPoint - Exact-match filter on `reorder_point`. The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts).\n * @param {string} metadata - Exact-match filter on `metadata`. Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} updatedAt - Exact-match filter on `updated_at`. When this row was last written.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockList(limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, metadata?: string, createdAt?: string, updatedAt?: string): Promise<{}>;\n inventoriesStockList(\n paramsOrFirst?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, metadata?: string, createdAt?: string, updatedAt?: string } | number,\n ...rest: [(number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (number)?, (number)?, (number)?, (string)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, metadata?: string, createdAt?: string, updatedAt?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, metadata?: string, createdAt?: string, updatedAt?: string };\n } else {\n params = {\n limit: paramsOrFirst as number,\n offset: rest[0] as number,\n order: rest[1] as string,\n id: rest[2] as string,\n locationId: rest[3] as string,\n productId: rest[4] as string,\n sku: rest[5] as string,\n onHand: rest[6] as number,\n reserved: rest[7] as number,\n reorderPoint: rest[8] as number,\n metadata: rest[9] as string,\n createdAt: rest[10] as string,\n updatedAt: rest[11] as string \n };\n }\n \n const limit = params.limit;\n const offset = params.offset;\n const order = params.order;\n const id = params.id;\n const locationId = params.locationId;\n const productId = params.productId;\n const sku = params.sku;\n const onHand = params.onHand;\n const reserved = params.reserved;\n const reorderPoint = params.reorderPoint;\n const metadata = params.metadata;\n const createdAt = params.createdAt;\n const updatedAt = params.updatedAt;\n\n\n const apiPath = '/v1/inventories/stock';\n const apiPayload: Payload = {};\n if (typeof limit !== 'undefined') {\n apiPayload['limit'] = limit;\n }\n if (typeof offset !== 'undefined') {\n apiPayload['offset'] = offset;\n }\n if (typeof order !== 'undefined') {\n apiPayload['order'] = order;\n }\n if (typeof id !== 'undefined') {\n apiPayload['id'] = id;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n if (typeof onHand !== 'undefined') {\n apiPayload['on_hand'] = onHand;\n }\n if (typeof reserved !== 'undefined') {\n apiPayload['reserved'] = reserved;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof createdAt !== 'undefined') {\n apiPayload['created_at'] = createdAt;\n }\n if (typeof updatedAt !== 'undefined') {\n apiPayload['updated_at'] = updatedAt;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Registers an item at a location. The row is born at ZERO and never gets a balance from this call: `on_hand` and `reserved` are NOT accepted, because they are the running total of the movements ledger, so an opening balance is a receipt (POST /inventories/receive) rather than a field here, and the only thing that ever moves either number afterwards is another booking. What this row carries is its identity (location + `product_id`/`sku`), its `reorder_point` and its metadata. `location_id` is the only field a create cannot omit; every other column is optional or defaulted by the database. The one rule that is a CHECK rather than a column is that a row has to identify its item, so `product_id` or `sku` has to be there as well. Mostly you do not need this route at all — every stock call creates the row it is missing — and a second row for an item this location already tracks is answered 409: no unique index enforces one row per item per location, so that row would split the item's balance across two rows the write routes cannot tell apart, each of them updating whichever the database returns first. That guard is a check before the insert and not a constraint, so it closes a double click or a re-run import and does not claim to close a race between two simultaneous creates.\n *\n * @param {string} params.locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} params.metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} params.productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} params.reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} params.sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockCreate(params: { locationId: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string }): Promise<Models.StockLevel>;\n /**\n * Registers an item at a location. The row is born at ZERO and never gets a balance from this call: `on_hand` and `reserved` are NOT accepted, because they are the running total of the movements ledger, so an opening balance is a receipt (POST /inventories/receive) rather than a field here, and the only thing that ever moves either number afterwards is another booking. What this row carries is its identity (location + `product_id`/`sku`), its `reorder_point` and its metadata. `location_id` is the only field a create cannot omit; every other column is optional or defaulted by the database. The one rule that is a CHECK rather than a column is that a row has to identify its item, so `product_id` or `sku` has to be there as well. Mostly you do not need this route at all — every stock call creates the row it is missing — and a second row for an item this location already tracks is answered 409: no unique index enforces one row per item per location, so that row would split the item's balance across two rows the write routes cannot tell apart, each of them updating whichever the database returns first. That guard is a check before the insert and not a constraint, so it closes a double click or a re-run import and does not claim to close a race between two simultaneous creates.\n *\n * @param {string} locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockCreate(locationId: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string): Promise<Models.StockLevel>;\n inventoriesStockCreate(\n paramsOrFirst: { locationId: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string } | string,\n ...rest: [(object)?, (string)?, (number)?, (string)?] \n ): Promise<Models.StockLevel> {\n let params: { locationId: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { locationId: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n } else {\n params = {\n locationId: paramsOrFirst as string,\n metadata: rest[0] as object,\n productId: rest[1] as string,\n reorderPoint: rest[2] as number,\n sku: rest[3] as string \n };\n }\n \n const locationId = params.locationId;\n const metadata = params.metadata;\n const productId = params.productId;\n const reorderPoint = params.reorderPoint;\n const sku = params.sku;\n\n if (typeof locationId === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"locationId\"');\n }\n\n const apiPath = '/v1/inventories/stock';\n const apiPayload: Payload = {};\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Stops tracking one item at one location. A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. A deleted balance is not recoverable: the ledger is the audit trail, not the source of truth, and nothing in this app ever replays it to rebuild a number — so the next receipt for the same item here creates a FRESH row at zero, standing next to movements that say otherwise. That used to be a trap a caller discovered afterwards. It is a stated property now, because the route REFUSES while the row still holds anything, and answers 409 with what it holds. The two things that block are the location delete's two, asked of one row. A reservation still `active` against this item at this location is the sharper one: /release and /commit look their stock row up by (location, item) on the very next call and would find nothing, so the hold would lower no `reserved` and /commit would book the whole quantity as a shortfall — orphaned immediately rather than eventually. `on_hand` above zero is the stronger one: deleting a LOCATION at least meant \"close this warehouse\" and took the balances as a side effect of the cascade, while this row IS the balance, so the delete can only ever mean \"no longer tracked here\" — true once the number is zero and a lie while it is not. POST /inventories/stock/{id}/adjust to zero is the operation that makes it true, and it BOOKS the movement, so the stock leaves through the ledger instead of vanishing with the row. Nothing points at it by foreign key, so the database takes nothing else with it. History therefore never blocks and is never deleted — the ledger is keyed on (location, item) and never on this id, so its bookings survive a row that is gone, BY DESIGN, exactly as they survive a location that is gone.\n *\n * @param {string} params.id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockDelete(params: { id: string }): Promise<{}>;\n /**\n * Stops tracking one item at one location. A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. A deleted balance is not recoverable: the ledger is the audit trail, not the source of truth, and nothing in this app ever replays it to rebuild a number — so the next receipt for the same item here creates a FRESH row at zero, standing next to movements that say otherwise. That used to be a trap a caller discovered afterwards. It is a stated property now, because the route REFUSES while the row still holds anything, and answers 409 with what it holds. The two things that block are the location delete's two, asked of one row. A reservation still `active` against this item at this location is the sharper one: /release and /commit look their stock row up by (location, item) on the very next call and would find nothing, so the hold would lower no `reserved` and /commit would book the whole quantity as a shortfall — orphaned immediately rather than eventually. `on_hand` above zero is the stronger one: deleting a LOCATION at least meant \"close this warehouse\" and took the balances as a side effect of the cascade, while this row IS the balance, so the delete can only ever mean \"no longer tracked here\" — true once the number is zero and a lie while it is not. POST /inventories/stock/{id}/adjust to zero is the operation that makes it true, and it BOOKS the movement, so the stock leaves through the ledger instead of vanishing with the row. Nothing points at it by foreign key, so the database takes nothing else with it. History therefore never blocks and is never deleted — the ledger is keyed on (location, item) and never on this id, so its bookings survive a row that is gone, BY DESIGN, exactly as they survive a location that is gone.\n *\n * @param {string} id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockDelete(id: string): Promise<{}>;\n inventoriesStockDelete(\n paramsOrFirst: { id: string } | string \n ): Promise<{}> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. Read it to see one item's position at one place, and to get the id the two row-scoped routes take: POST /inventories/stock/{id}/adjust corrects this balance, and GET /inventories/reorder-alerts reports it by this id. What it does not answer is how the balance got here — that is GET /inventories/movements filtered by the location and item on this row, because a movement points at (location, item) and never at a stock row id.\n *\n * @param {string} params.id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockGet(params: { id: string }): Promise<Models.StockLevel>;\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. Read it to see one item's position at one place, and to get the id the two row-scoped routes take: POST /inventories/stock/{id}/adjust corrects this balance, and GET /inventories/reorder-alerts reports it by this id. What it does not answer is how the balance got here — that is GET /inventories/movements filtered by the location and item on this row, because a movement points at (location, item) and never at a stock row id.\n *\n * @param {string} id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockGet(id: string): Promise<Models.StockLevel>;\n inventoriesStockGet(\n paramsOrFirst: { id: string } | string \n ): Promise<Models.StockLevel> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Partial update of everything on the row EXCEPT its balance: reorder_point, metadata, identity. on_hand and reserved are dropped from the body — every stock change is a movement, and a body carrying nothing else is answered 422 with the route that was meant (POST /inventories/stock/{id}/adjust).\n *\n * @param {string} params.id - The stock row.\n * @param {string} params.locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} params.metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} params.productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} params.reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} params.sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockUpdate(params: { id: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string }): Promise<Models.StockLevel>;\n /**\n * Partial update of everything on the row EXCEPT its balance: reorder_point, metadata, identity. on_hand and reserved are dropped from the body — every stock change is a movement, and a body carrying nothing else is answered 422 with the route that was meant (POST /inventories/stock/{id}/adjust).\n *\n * @param {string} id - The stock row.\n * @param {string} locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockUpdate(id: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string): Promise<Models.StockLevel>;\n inventoriesStockUpdate(\n paramsOrFirst: { id: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string } | string,\n ...rest: [(string)?, (object)?, (string)?, (number)?, (string)?] \n ): Promise<Models.StockLevel> {\n let params: { id: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n } else {\n params = {\n id: paramsOrFirst as string,\n locationId: rest[0] as string,\n metadata: rest[1] as object,\n productId: rest[2] as string,\n reorderPoint: rest[3] as number,\n sku: rest[4] as string \n };\n }\n \n const id = params.id;\n const locationId = params.locationId;\n const metadata = params.metadata;\n const productId = params.productId;\n const reorderPoint = params.reorderPoint;\n const sku = params.sku;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'put',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Corrects the balance of ONE stock row, and only that one. It is the row-scoped twin of POST /inventories/adjust: the row already knows its location and item, so a caller owes nothing but a SIGNED delta on `on_hand` — positive to add, negative to take away — and a reason for it. The delta is not written onto the balance either; it is booked into the movements ledger as an `adjustment` and the balance follows, which is why the answer hands back the row at its new value instead of an acknowledgement. This is the route that replaced the Cockpit's editable on_hand field.\n *\n * @param {string} params.id - The stock row to correct.\n * @param {number} params.quantity - The SIGNED correction to this row's `on_hand`: −3 writes off three, +3 finds three. A delta, not the new balance. Zero is refused (400). A correction that would take `on_hand` below zero is a 422 the database insists on; one that would take it below this row's own `reserved` is a 422 the `allow_negative_stock` setting can permit.\n * @param {string} params.reason - Why this row is being corrected, written onto the ledger booking. Owed unless `movement_reason_required` is 'none'.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockAdjust(params: { id: string, quantity: number, reason?: string }): Promise<{}>;\n /**\n * Corrects the balance of ONE stock row, and only that one. It is the row-scoped twin of POST /inventories/adjust: the row already knows its location and item, so a caller owes nothing but a SIGNED delta on `on_hand` — positive to add, negative to take away — and a reason for it. The delta is not written onto the balance either; it is booked into the movements ledger as an `adjustment` and the balance follows, which is why the answer hands back the row at its new value instead of an acknowledgement. This is the route that replaced the Cockpit's editable on_hand field.\n *\n * @param {string} id - The stock row to correct.\n * @param {number} quantity - The SIGNED correction to this row's `on_hand`: −3 writes off three, +3 finds three. A delta, not the new balance. Zero is refused (400). A correction that would take `on_hand` below zero is a 422 the database insists on; one that would take it below this row's own `reserved` is a 422 the `allow_negative_stock` setting can permit.\n * @param {string} reason - Why this row is being corrected, written onto the ledger booking. Owed unless `movement_reason_required` is 'none'.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockAdjust(id: string, quantity: number, reason?: string): Promise<{}>;\n inventoriesStockAdjust(\n paramsOrFirst: { id: string, quantity: number, reason?: string } | string,\n ...rest: [(number)?, (string)?] \n ): Promise<{}> {\n let params: { id: string, quantity: number, reason?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string, quantity: number, reason?: string };\n } else {\n params = {\n id: paramsOrFirst as string,\n quantity: rest[0] as number,\n reason: rest[1] as string \n };\n }\n \n const id = params.id;\n const quantity = params.quantity;\n const reason = params.reason;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n if (typeof quantity === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"quantity\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}/adjust'.replace('{id}', id);\n const apiPayload: Payload = {};\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Discovery for the vocabulary routes: the enums this app publishes, each with its name, its title and its description and deliberately WITHOUT its values, so finding out what exists costs one small call and not one per vocabulary. Names: location-types, movement-types, reservation-statuses. Fetch one with GET /inventories/vocabularies/{name}; a client holding the qualified pair 'inventories.<name>' builds that URL from the pair alone.\n *\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabularyIndex>}\n */\n inventoriesVocabulariesList(): Promise<Models.InventoryVocabularyIndex> {\n\n const apiPath = '/v1/inventories/vocabularies';\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * One vocabulary in full: every permitted value, each carrying the title and description a person reads for it and the badge tone a UI colours it with, so a client renders a status or a movement type without a hard-coded table of its own. The values are read out of the column's CHECK constraint, so the served set IS the enforced set and the two cannot drift — a value added to the constraint appears here even before anyone labels it, titled from its own key. Values come back in constraint order, which is lifecycle order for a status. 'closed' says the set is exhaustive, so a value outside it is stale data rather than a missing label. Names: location-types, movement-types, reservation-statuses.\n *\n * @param {InventoriesVocabulariesGetName} params.name - The vocabulary name — the part after the dot in the qualified id. One of: location-types, movement-types, reservation-statuses. Anything else is a 404, so the enum is the complete set and not a suggestion.\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabulary>}\n */\n inventoriesVocabulariesGet(params: { name: InventoriesVocabulariesGetName }): Promise<Models.InventoryVocabulary>;\n /**\n * One vocabulary in full: every permitted value, each carrying the title and description a person reads for it and the badge tone a UI colours it with, so a client renders a status or a movement type without a hard-coded table of its own. The values are read out of the column's CHECK constraint, so the served set IS the enforced set and the two cannot drift — a value added to the constraint appears here even before anyone labels it, titled from its own key. Values come back in constraint order, which is lifecycle order for a status. 'closed' says the set is exhaustive, so a value outside it is stale data rather than a missing label. Names: location-types, movement-types, reservation-statuses.\n *\n * @param {InventoriesVocabulariesGetName} name - The vocabulary name — the part after the dot in the qualified id. One of: location-types, movement-types, reservation-statuses. Anything else is a 404, so the enum is the complete set and not a suggestion.\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabulary>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesVocabulariesGet(name: InventoriesVocabulariesGetName): Promise<Models.InventoryVocabulary>;\n inventoriesVocabulariesGet(\n paramsOrFirst: { name: InventoriesVocabulariesGetName } | InventoriesVocabulariesGetName \n ): Promise<Models.InventoryVocabulary> {\n let params: { name: InventoriesVocabulariesGetName };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('name' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { name: InventoriesVocabulariesGetName };\n } else {\n params = {\n name: paramsOrFirst as InventoriesVocabulariesGetName \n };\n }\n \n const name = params.name;\n\n if (typeof name === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"name\"');\n }\n\n const apiPath = '/v1/inventories/vocabularies/{name}'.replace('{name}', name);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/services/inventories-stock.ts"],"names":[],"mappings":"AAAA,SAAS,yBAA+D;AAQjE,MAAM,iBAAiB;AAAA,EAG1B,YAAY,QAAgB;AACxB,SAAK,SAAS;AAAA,EAClB;AAAA,EA6BA,kBACI,kBACG,MACQ;AACX,QAAI;AAEJ,QAAI,CAAC,iBAAkB,iBAAiB,OAAO,kBAAkB,YAAY,CAAC,MAAM,QAAQ,aAAa,MAAM,WAAW,iBAAiB,kBAAkB,iBAAiB,eAAe,iBAAiB,cAAc,iBAAiB,YAAY,iBAAiB,SAAS,gBAAiB;AAChS,eAAU,iBAAiB,CAAC;AAAA,IAChC,OAAO;AACH,eAAS;AAAA,QACL,OAAO;AAAA,QACP,cAAc,KAAK,CAAC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ACA;AAAA,IACJ;AAAA,EACJ;AAAA,EAmBA,2BACI,eACmC;AACnC,QAAI;AAEJ,QAAK,iBAAiB,OAAO,kBAAkB,YAAY,CAAC,MAAM,QAAQ,aAAa,KAAM,UAAU,eAAiB;AACpH,eAAU,iBAAiB,CAAC;AAAA,IAChC,OAAO;AACH,eAAS;AAAA,QACL,MAAM;AAAA,MACV;AAAA,IACJ;AAEA,UAAM,OAAO,OAAO;AAEpB,QAAI,OAAO,SAAS,aAAa;AAC7B,YAAM,IAAI,kBAAkB,oCAAoC;AAAA,IACpE;AAEA,UAAM,UAAU,sCAAsC,QAAQ,UAAU,IAAI;AAC5E,UAAM,aAAsB,CAAC;AAC7B,UAAM,MAAM,IAAI,IAAI,KAAK,OAAO,OAAO,WAAW,OAAO;AAEzD,UAAM,aAA2C,CACjD;AAEA,WAAO,KAAK,OAAO;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AACJ","sourcesContent":["import { RevenexxException, Client, type Payload, UploadProgress } from '../client';\nimport type { Models } from '../models';\n\nimport { Tone } from '../enums/tone';\nimport { AvailabilityStateTone } from '../enums/availability-state-tone';\nimport { InventoriesMovementsListType } from '../enums/inventories-movements-list-type';\nimport { InventoriesVocabulariesGetName } from '../enums/inventories-vocabularies-get-name';\n\nexport class InventoriesStock {\n client: Client;\n\n constructor(client: Client) {\n this.client = client;\n }\n\n /**\n * The batch correction route — a stocktake, breakage, shrinkage — and the manual way `on_hand` is ever put right. Quantities are SIGNED: a positive one adds to the balance, a negative one takes it away, and neither is written onto the row directly. Each item is booked into the movements ledger as an `adjustment` and the balance follows, so a correction leaves a record of who changed what and why instead of a number that silently differs from yesterday's. A batch is all-or-nothing: every item is judged against both guards before the first is booked, and a refusal books nothing. An item is named once with its whole correction; two lines for one item are refused. A reason is mandatory unless movement_reason_required is 'none'.\n *\n * @param {Models.InventoryAdjustItem[]} params.items - The corrections, at most 200 in one call — a stocktake, breakage, shrinkage. Quantities are SIGNED deltas, not new balances.\n * @param {string} params.locationCode - Which location is being corrected. Omitted, the `default_location_code` setting decides. A correction is per location: the same SKU in two warehouses is two corrections.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: the SIGNED correction (negative writes stock off, positive finds it). Non-zero.\n * @param {string} params.reason - Why the stock is being corrected — this is the audit trail a stocktake leaves behind. Owed unless `movement_reason_required` is 'none' (its default, 'adjustments', asks for one exactly here); missing where it is owed, the call is 400.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAdjust(params?: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string }): Promise<{}>;\n /**\n * The batch correction route — a stocktake, breakage, shrinkage — and the manual way `on_hand` is ever put right. Quantities are SIGNED: a positive one adds to the balance, a negative one takes it away, and neither is written onto the row directly. Each item is booked into the movements ledger as an `adjustment` and the balance follows, so a correction leaves a record of who changed what and why instead of a number that silently differs from yesterday's. A batch is all-or-nothing: every item is judged against both guards before the first is booked, and a refusal books nothing. An item is named once with its whole correction; two lines for one item are refused. A reason is mandatory unless movement_reason_required is 'none'.\n *\n * @param {Models.InventoryAdjustItem[]} items - The corrections, at most 200 in one call — a stocktake, breakage, shrinkage. Quantities are SIGNED deltas, not new balances.\n * @param {string} locationCode - Which location is being corrected. Omitted, the `default_location_code` setting decides. A correction is per location: the same SKU in two warehouses is two corrections.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: the SIGNED correction (negative writes stock off, positive finds it). Non-zero.\n * @param {string} reason - Why the stock is being corrected — this is the audit trail a stocktake leaves behind. Owed unless `movement_reason_required` is 'none' (its default, 'adjustments', asks for one exactly here); missing where it is owed, the call is 400.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAdjust(items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string): Promise<{}>;\n inventoriesAdjust(\n paramsOrFirst?: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string } | Models.InventoryAdjustItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryAdjustItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryAdjustItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n reason: rest[3] as string,\n sku: rest[4] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/adjust';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * THE stock call of this app, and a batch one: name any number of items and each comes back with `on_hand`, `reserved` and the derived `available` (their difference, computed on read and stored nowhere), summed across the locations in scope and broken down per location, plus `orderable` — whether this much of it can be promised at this moment. An item this app has never seen is NOT an error: it comes back tracked:false, and the storefront decides whether an untracked item sells freely. It answers the two facts a buyer would otherwise telephone sales about, per location and rolled up for the item: `expected_at`, when it is due back, and `availability_code`, what the source system says about it as one of the codes this tenant keeps — and `orderable` weighs that code's `orderable` policy as well as the quantity, with `unorderable_reason` saying which of the two said no. It is also the most customised surface this product has in the field. A tenant whose stock really lives in an ERP — SAP live stock is the ordinary case, not the exotic one — replaces exactly this one capability, 1:1, with a custom app through the gateway's capability override, while every other route here keeps doing the stock-keeping CRUD unchanged. That is why the request and response shapes below read as a contract to be implemented rather than as an implementation detail: whatever ends up answering this path has to answer in these terms, these six fields included.\n *\n * @param {Models.InventoryAvailabilityItem[]} params.items - The items to check, at most 200 in one call. A cart, a category page, a feed row — one call answers them all, which is why this route is the batch one.\n * @param {string} params.locationCode - Restrict the check to ONE location, by its code — the stock a click-and-collect store can promise today. Omitted, every ENABLED location is summed; a disabled one is never counted either way, so a disabled location's code answers every item untracked. A code no location carries is answered 404 `unknown_location`.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many are wanted, above zero (default 1). It decides `orderable` and nothing else.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAvailability(params?: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string }): Promise<{}>;\n /**\n * THE stock call of this app, and a batch one: name any number of items and each comes back with `on_hand`, `reserved` and the derived `available` (their difference, computed on read and stored nowhere), summed across the locations in scope and broken down per location, plus `orderable` — whether this much of it can be promised at this moment. An item this app has never seen is NOT an error: it comes back tracked:false, and the storefront decides whether an untracked item sells freely. It answers the two facts a buyer would otherwise telephone sales about, per location and rolled up for the item: `expected_at`, when it is due back, and `availability_code`, what the source system says about it as one of the codes this tenant keeps — and `orderable` weighs that code's `orderable` policy as well as the quantity, with `unorderable_reason` saying which of the two said no. It is also the most customised surface this product has in the field. A tenant whose stock really lives in an ERP — SAP live stock is the ordinary case, not the exotic one — replaces exactly this one capability, 1:1, with a custom app through the gateway's capability override, while every other route here keeps doing the stock-keeping CRUD unchanged. That is why the request and response shapes below read as a contract to be implemented rather than as an implementation detail: whatever ends up answering this path has to answer in these terms, these six fields included.\n *\n * @param {Models.InventoryAvailabilityItem[]} items - The items to check, at most 200 in one call. A cart, a category page, a feed row — one call answers them all, which is why this route is the batch one.\n * @param {string} locationCode - Restrict the check to ONE location, by its code — the stock a click-and-collect store can promise today. Omitted, every ENABLED location is summed; a disabled one is never counted either way, so a disabled location's code answers every item untracked. A code no location carries is answered 404 `unknown_location`.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many are wanted, above zero (default 1). It decides `orderable` and nothing else.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailability(items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string): Promise<{}>;\n inventoriesAvailability(\n paramsOrFirst?: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string } | Models.InventoryAvailabilityItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryAvailabilityItem[], locationCode?: string, productId?: string, quantity?: number, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryAvailabilityItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n sku: rest[3] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/availability';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. This is the operator's view of the set — the rows, filterable and paged, in whatever order you ask for. A CLIENT that only wants to render a code does not want this route: GET /inventories/vocabularies/availability-states answers the same set keyed by code, ordered by `position`, with the titles per language and the `orderable` flag already merged, and it is the shape every other vocabulary in this platform is read in. A tenant who has never been seeded reads an EMPTY list here, because the seed runs on install and on POST /inventories/locations/defaults; the vocabulary route seeds on an empty read and this one does not.\n *\n * @param {number} params.limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} params.offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} params.order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} params.id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} params.code - Exact-match filter on `code`. Unique per tenant, so this resolves a code a stock row carries without paging the whole set.\n * @param {string} params.title - Exact-match filter on `title`. What a person reads for this state, in the tenant's working language.\n * @param {string} params.description - Exact-match filter on `description`. One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article.\n * @param {string} params.labels - Exact-match filter on `labels`. The title per language tag, for a shop that has to render it in the reader's language. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.descriptions - Exact-match filter on `descriptions`. The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {boolean} params.orderable - Exact-match filter on `orderable`. The states a shop keeps selling in. `false` is the subset that takes the order button away.\n * @param {boolean} params.isDefault - Exact-match filter on `is_default`. Whether this is the state an import falls back to when a source value maps to none of the others.\n * @param {Tone} params.tone - Exact-match filter on `tone`. Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else.\n * @param {number} params.position - Exact-match filter on `position`. Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code.\n * @param {boolean} params.isSystem - Exact-match filter on `is_system`. `true` is the four this app seeded, `false` the ones this tenant added.\n * @param {string} params.createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} params.updatedAt - Exact-match filter on `updated_at`. When this state was last edited — a rename, a re-tone, a corrected `orderable`..\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAvailabilityStatesList(params?: { limit?: number, offset?: number, order?: string, id?: string, code?: string, title?: string, description?: string, labels?: string, descriptions?: string, orderable?: boolean, isDefault?: boolean, tone?: Tone, position?: number, isSystem?: boolean, createdAt?: string, updatedAt?: string }): Promise<{}>;\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. This is the operator's view of the set — the rows, filterable and paged, in whatever order you ask for. A CLIENT that only wants to render a code does not want this route: GET /inventories/vocabularies/availability-states answers the same set keyed by code, ordered by `position`, with the titles per language and the `orderable` flag already merged, and it is the shape every other vocabulary in this platform is read in. A tenant who has never been seeded reads an EMPTY list here, because the seed runs on install and on POST /inventories/locations/defaults; the vocabulary route seeds on an empty read and this one does not.\n *\n * @param {number} limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} code - Exact-match filter on `code`. Unique per tenant, so this resolves a code a stock row carries without paging the whole set.\n * @param {string} title - Exact-match filter on `title`. What a person reads for this state, in the tenant's working language.\n * @param {string} description - Exact-match filter on `description`. One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article.\n * @param {string} labels - Exact-match filter on `labels`. The title per language tag, for a shop that has to render it in the reader's language. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} descriptions - Exact-match filter on `descriptions`. The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {boolean} orderable - Exact-match filter on `orderable`. The states a shop keeps selling in. `false` is the subset that takes the order button away.\n * @param {boolean} isDefault - Exact-match filter on `is_default`. Whether this is the state an import falls back to when a source value maps to none of the others.\n * @param {Tone} tone - Exact-match filter on `tone`. Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else.\n * @param {number} position - Exact-match filter on `position`. Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code.\n * @param {boolean} isSystem - Exact-match filter on `is_system`. `true` is the four this app seeded, `false` the ones this tenant added.\n * @param {string} createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} updatedAt - Exact-match filter on `updated_at`. When this state was last edited — a rename, a re-tone, a corrected `orderable`..\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailabilityStatesList(limit?: number, offset?: number, order?: string, id?: string, code?: string, title?: string, description?: string, labels?: string, descriptions?: string, orderable?: boolean, isDefault?: boolean, tone?: Tone, position?: number, isSystem?: boolean, createdAt?: string, updatedAt?: string): Promise<{}>;\n inventoriesAvailabilityStatesList(\n paramsOrFirst?: { limit?: number, offset?: number, order?: string, id?: string, code?: string, title?: string, description?: string, labels?: string, descriptions?: string, orderable?: boolean, isDefault?: boolean, tone?: Tone, position?: number, isSystem?: boolean, createdAt?: string, updatedAt?: string } | number,\n ...rest: [(number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?, (boolean)?, (boolean)?, (Tone)?, (number)?, (boolean)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { limit?: number, offset?: number, order?: string, id?: string, code?: string, title?: string, description?: string, labels?: string, descriptions?: string, orderable?: boolean, isDefault?: boolean, tone?: Tone, position?: number, isSystem?: boolean, createdAt?: string, updatedAt?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { limit?: number, offset?: number, order?: string, id?: string, code?: string, title?: string, description?: string, labels?: string, descriptions?: string, orderable?: boolean, isDefault?: boolean, tone?: Tone, position?: number, isSystem?: boolean, createdAt?: string, updatedAt?: string };\n } else {\n params = {\n limit: paramsOrFirst as number,\n offset: rest[0] as number,\n order: rest[1] as string,\n id: rest[2] as string,\n code: rest[3] as string,\n title: rest[4] as string,\n description: rest[5] as string,\n labels: rest[6] as string,\n descriptions: rest[7] as string,\n orderable: rest[8] as boolean,\n isDefault: rest[9] as boolean,\n tone: rest[10] as Tone,\n position: rest[11] as number,\n isSystem: rest[12] as boolean,\n createdAt: rest[13] as string,\n updatedAt: rest[14] as string \n };\n }\n \n const limit = params.limit;\n const offset = params.offset;\n const order = params.order;\n const id = params.id;\n const code = params.code;\n const title = params.title;\n const description = params.description;\n const labels = params.labels;\n const descriptions = params.descriptions;\n const orderable = params.orderable;\n const isDefault = params.isDefault;\n const tone = params.tone;\n const position = params.position;\n const isSystem = params.isSystem;\n const createdAt = params.createdAt;\n const updatedAt = params.updatedAt;\n\n\n const apiPath = '/v1/inventories/availability-states';\n const apiPayload: Payload = {};\n if (typeof limit !== 'undefined') {\n apiPayload['limit'] = limit;\n }\n if (typeof offset !== 'undefined') {\n apiPayload['offset'] = offset;\n }\n if (typeof order !== 'undefined') {\n apiPayload['order'] = order;\n }\n if (typeof id !== 'undefined') {\n apiPayload['id'] = id;\n }\n if (typeof code !== 'undefined') {\n apiPayload['code'] = code;\n }\n if (typeof title !== 'undefined') {\n apiPayload['title'] = title;\n }\n if (typeof description !== 'undefined') {\n apiPayload['description'] = description;\n }\n if (typeof labels !== 'undefined') {\n apiPayload['labels'] = labels;\n }\n if (typeof descriptions !== 'undefined') {\n apiPayload['descriptions'] = descriptions;\n }\n if (typeof orderable !== 'undefined') {\n apiPayload['orderable'] = orderable;\n }\n if (typeof isDefault !== 'undefined') {\n apiPayload['is_default'] = isDefault;\n }\n if (typeof tone !== 'undefined') {\n apiPayload['tone'] = tone;\n }\n if (typeof position !== 'undefined') {\n apiPayload['position'] = position;\n }\n if (typeof isSystem !== 'undefined') {\n apiPayload['is_system'] = isSystem;\n }\n if (typeof createdAt !== 'undefined') {\n apiPayload['created_at'] = createdAt;\n }\n if (typeof updatedAt !== 'undefined') {\n apiPayload['updated_at'] = updatedAt;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. Reach for this when a source system distinguishes something the four seeded states do not — a partial delivery, a made-to-order line, a stock held for one customer. A create cannot omit `code` and `title`; every other column is optional or defaulted by the database. Two rows of this tenant may not share `code` — that is the 409, and it answers an update that moves a row onto a sibling's value exactly as it answers a second insert. Two fields decide what the state DOES rather than how it reads: `orderable`, which defaults to true and is what a shop acts on, and `code`, which is what a stock row stores and should be treated as permanent — nothing points at it, so renaming it later leaves every row carrying the old one. Creating a state changes nothing on its own: a stock row has to carry its code before it means anything, and the mapping from a source system's own values onto these codes is made where the import runs.\n *\n * @param {string} params.code - The value a stock row's `availability_code` stores, and the key the vocabulary serves it under. Lowercase letters, digits, '-' and '_' (CHECK `code ~ '^[a-z][a-z0-9_-]*$'`), unique per tenant. Treat it as permanent: nothing in the database points at it, so renaming it here leaves every stock row carrying the old one, and the honest move is a new code plus an update of the rows that name it.\n * @param {string} params.title - What a person reads for this state, in the tenant's working language. At least one character (CHECK `length(title) > 0`). A value nobody titled is served with its own code made readable, so this is a better label rather than the only one.\n * @param {string} params.description - One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article. Optional; a state with none is served with a null description rather than an invented one.\n * @param {object} params.descriptions - The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. Keys are language tags, values plain strings.\n * @param {boolean} params.isDefault - Whether this is the state an import falls back to when a source value maps to none of the others. Nothing in this app reads it — the fallback happens where the mapping happens — and it is served on the vocabulary so an importer can find it here instead of keeping a convention of its own. No seeded state carries it: which state an unmapped value means is the tenant's to say. Defaults to false, and nothing enforces that at most one state carries it.\n * @param {boolean} params.isSystem - True for the four states this app seeds on install, false for anything the tenant added. It means \"we put it there\" and nothing more: a seeded state may be renamed, re-toned, reordered, corrected or deleted exactly like an added one, and the flag is there so a screen can say where a value came from. Send false, or leave it out: it marks the states this app seeded, and setting it on your own would only make one harder to tell apart.\n * @param {object} params.labels - The title per language tag, for a shop that has to render it in the reader's language. Falls back to `title` when a tag is missing. Keys are language tags, values plain strings.\n * @param {boolean} params.orderable - Whether an item in this state may still be ordered — the reason this set is a table and not a list of names. A code on its own tells a storefront nothing it can act on: it has to be matched against a list the theme keeps, and that list is wrong the first time a merchant adds a code. This flag travels with the value, so a shop asks the vocabulary whether to offer the order button instead of asking itself. POST /inventories/availability reads it: a state that says false takes the order button away from every item the governing row puts in that state, whatever the quantity says, and that call reports it as `unorderable_reason: 'state'`. It stays the merchant's policy about the STATE — it moves no stock and books no movement, and the per-location `state_orderable` in that answer is this flag, held apart from the verdict. Defaults to true, so a state created without an answer is one a shop keeps selling in — set it deliberately.\n * @param {number} params.position - Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code. It is presentation only — nothing sorts stock by it. Defaults to 0.\n * @param {AvailabilityStateTone} params.tone - Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else. The client owns the palette. One of five (CHECK `tone in ('neutral', 'info', 'success', 'warning', 'danger')`), defaulting to 'neutral'. Defaults to 'neutral'.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n */\n inventoriesAvailabilityStatesCreate(params: { code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, tone?: AvailabilityStateTone }): Promise<Models.AvailabilityState>;\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. Reach for this when a source system distinguishes something the four seeded states do not — a partial delivery, a made-to-order line, a stock held for one customer. A create cannot omit `code` and `title`; every other column is optional or defaulted by the database. Two rows of this tenant may not share `code` — that is the 409, and it answers an update that moves a row onto a sibling's value exactly as it answers a second insert. Two fields decide what the state DOES rather than how it reads: `orderable`, which defaults to true and is what a shop acts on, and `code`, which is what a stock row stores and should be treated as permanent — nothing points at it, so renaming it later leaves every row carrying the old one. Creating a state changes nothing on its own: a stock row has to carry its code before it means anything, and the mapping from a source system's own values onto these codes is made where the import runs.\n *\n * @param {string} code - The value a stock row's `availability_code` stores, and the key the vocabulary serves it under. Lowercase letters, digits, '-' and '_' (CHECK `code ~ '^[a-z][a-z0-9_-]*$'`), unique per tenant. Treat it as permanent: nothing in the database points at it, so renaming it here leaves every stock row carrying the old one, and the honest move is a new code plus an update of the rows that name it.\n * @param {string} title - What a person reads for this state, in the tenant's working language. At least one character (CHECK `length(title) > 0`). A value nobody titled is served with its own code made readable, so this is a better label rather than the only one.\n * @param {string} description - One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article. Optional; a state with none is served with a null description rather than an invented one.\n * @param {object} descriptions - The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. Keys are language tags, values plain strings.\n * @param {boolean} isDefault - Whether this is the state an import falls back to when a source value maps to none of the others. Nothing in this app reads it — the fallback happens where the mapping happens — and it is served on the vocabulary so an importer can find it here instead of keeping a convention of its own. No seeded state carries it: which state an unmapped value means is the tenant's to say. Defaults to false, and nothing enforces that at most one state carries it.\n * @param {boolean} isSystem - True for the four states this app seeds on install, false for anything the tenant added. It means \"we put it there\" and nothing more: a seeded state may be renamed, re-toned, reordered, corrected or deleted exactly like an added one, and the flag is there so a screen can say where a value came from. Send false, or leave it out: it marks the states this app seeded, and setting it on your own would only make one harder to tell apart.\n * @param {object} labels - The title per language tag, for a shop that has to render it in the reader's language. Falls back to `title` when a tag is missing. Keys are language tags, values plain strings.\n * @param {boolean} orderable - Whether an item in this state may still be ordered — the reason this set is a table and not a list of names. A code on its own tells a storefront nothing it can act on: it has to be matched against a list the theme keeps, and that list is wrong the first time a merchant adds a code. This flag travels with the value, so a shop asks the vocabulary whether to offer the order button instead of asking itself. POST /inventories/availability reads it: a state that says false takes the order button away from every item the governing row puts in that state, whatever the quantity says, and that call reports it as `unorderable_reason: 'state'`. It stays the merchant's policy about the STATE — it moves no stock and books no movement, and the per-location `state_orderable` in that answer is this flag, held apart from the verdict. Defaults to true, so a state created without an answer is one a shop keeps selling in — set it deliberately.\n * @param {number} position - Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code. It is presentation only — nothing sorts stock by it. Defaults to 0.\n * @param {AvailabilityStateTone} tone - Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else. The client owns the palette. One of five (CHECK `tone in ('neutral', 'info', 'success', 'warning', 'danger')`), defaulting to 'neutral'. Defaults to 'neutral'.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailabilityStatesCreate(code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, tone?: AvailabilityStateTone): Promise<Models.AvailabilityState>;\n inventoriesAvailabilityStatesCreate(\n paramsOrFirst: { code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, tone?: AvailabilityStateTone } | string,\n ...rest: [(string)?, (string)?, (object)?, (boolean)?, (boolean)?, (object)?, (boolean)?, (number)?, (AvailabilityStateTone)?] \n ): Promise<Models.AvailabilityState> {\n let params: { code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, tone?: AvailabilityStateTone };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, tone?: AvailabilityStateTone };\n } else {\n params = {\n code: paramsOrFirst as string,\n title: rest[0] as string,\n description: rest[1] as string,\n descriptions: rest[2] as object,\n isDefault: rest[3] as boolean,\n isSystem: rest[4] as boolean,\n labels: rest[5] as object,\n orderable: rest[6] as boolean,\n position: rest[7] as number,\n tone: rest[8] as AvailabilityStateTone \n };\n }\n \n const code = params.code;\n const title = params.title;\n const description = params.description;\n const descriptions = params.descriptions;\n const isDefault = params.isDefault;\n const isSystem = params.isSystem;\n const labels = params.labels;\n const orderable = params.orderable;\n const position = params.position;\n const tone = params.tone;\n\n if (typeof code === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"code\"');\n }\n if (typeof title === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"title\"');\n }\n\n const apiPath = '/v1/inventories/availability-states';\n const apiPayload: Payload = {};\n if (typeof code !== 'undefined') {\n apiPayload['code'] = code;\n }\n if (typeof description !== 'undefined') {\n apiPayload['description'] = description;\n }\n if (typeof descriptions !== 'undefined') {\n apiPayload['descriptions'] = descriptions;\n }\n if (typeof isDefault !== 'undefined') {\n apiPayload['is_default'] = isDefault;\n }\n if (typeof isSystem !== 'undefined') {\n apiPayload['is_system'] = isSystem;\n }\n if (typeof labels !== 'undefined') {\n apiPayload['labels'] = labels;\n }\n if (typeof orderable !== 'undefined') {\n apiPayload['orderable'] = orderable;\n }\n if (typeof position !== 'undefined') {\n apiPayload['position'] = position;\n }\n if (typeof title !== 'undefined') {\n apiPayload['title'] = title;\n }\n if (typeof tone !== 'undefined') {\n apiPayload['tone'] = tone;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Removes one of the tenant's availability codes. An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. Nothing points at it by foreign key, so the database takes nothing else with it. Read that carefully before calling it, because the thing that is NOT checked is the thing that matters: a stock row stores the CODE and not this id, so nothing refuses the delete while rows still carry it, and those rows keep a code the vocabulary no longer resolves. The vocabulary is `closed`, so a client reads such a value as stale data rather than as a missing label — but it reads no `orderable` for it either, and a shop that was withholding the order button on that state stops knowing to. Move the rows onto another code first (PUT /inventories/stock/{id}), or leave the state in place and give it a `title` that says it is retired. Deleting all of them is undone by the next read of GET /inventories/vocabularies/availability-states, which seeds the shipped set back into an empty table.\n *\n * @param {string} params.id - The row id of the availability state to remove, as the list answered it.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesAvailabilityStatesDelete(params: { id: string }): Promise<{}>;\n /**\n * Removes one of the tenant's availability codes. An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. Nothing points at it by foreign key, so the database takes nothing else with it. Read that carefully before calling it, because the thing that is NOT checked is the thing that matters: a stock row stores the CODE and not this id, so nothing refuses the delete while rows still carry it, and those rows keep a code the vocabulary no longer resolves. The vocabulary is `closed`, so a client reads such a value as stale data rather than as a missing label — but it reads no `orderable` for it either, and a shop that was withholding the order button on that state stops knowing to. Move the rows onto another code first (PUT /inventories/stock/{id}), or leave the state in place and give it a `title` that says it is retired. Deleting all of them is undone by the next read of GET /inventories/vocabularies/availability-states, which seeds the shipped set back into an empty table.\n *\n * @param {string} id - The row id of the availability state to remove, as the list answered it.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailabilityStatesDelete(id: string): Promise<{}>;\n inventoriesAvailabilityStatesDelete(\n paramsOrFirst: { id: string } | string \n ): Promise<{}> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/availability-states/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. This reads one of them by ROW ID, which is what an editor holds after listing the set and is not what anything else stores: a stock row carries the CODE. A caller holding a code cannot use this route — filter the collection with `?code=`, or read GET /inventories/vocabularies/availability-states, which is keyed the way the rest of the platform refers to these values.\n *\n * @param {string} params.id - The row id of the availability state, as the list answered it. Not the code — a stock row carries the code, and this route does not accept one.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n */\n inventoriesAvailabilityStatesGet(params: { id: string }): Promise<Models.AvailabilityState>;\n /**\n * An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. This reads one of them by ROW ID, which is what an editor holds after listing the set and is not what anything else stores: a stock row carries the CODE. A caller holding a code cannot use this route — filter the collection with `?code=`, or read GET /inventories/vocabularies/availability-states, which is keyed the way the rest of the platform refers to these values.\n *\n * @param {string} id - The row id of the availability state, as the list answered it. Not the code — a stock row carries the code, and this route does not accept one.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailabilityStatesGet(id: string): Promise<Models.AvailabilityState>;\n inventoriesAvailabilityStatesGet(\n paramsOrFirst: { id: string } | string \n ): Promise<Models.AvailabilityState> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/availability-states/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Partial update: send the fields that change. An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. The safe edits are the readable ones — `title`, `labels`, `description`, `descriptions`, `tone`, `position` — and they reach every screen at once, which is the point of the set living here. `orderable` is the consequential one: flipping it to false takes the order button away from every article in this state on the next read, with no stock row touched and no movement booked. `code` is the one to leave alone — a stock row stores the code, nothing in the database points at it, so moving it orphans every row that names the old value. Two rows of this tenant may not share `code` — that is the 409, and it answers an update that moves a row onto a sibling's value exactly as it answers a second insert.\n *\n * @param {string} params.id - The row id of the availability state to change, as the list answered it.\n * @param {string} params.code - The value a stock row's `availability_code` stores, and the key the vocabulary serves it under. Lowercase letters, digits, '-' and '_' (CHECK `code ~ '^[a-z][a-z0-9_-]*$'`), unique per tenant. Treat it as permanent: nothing in the database points at it, so renaming it here leaves every stock row carrying the old one, and the honest move is a new code plus an update of the rows that name it.\n * @param {string} params.description - One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article. Optional; a state with none is served with a null description rather than an invented one.\n * @param {object} params.descriptions - The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. Keys are language tags, values plain strings.\n * @param {boolean} params.isDefault - Whether this is the state an import falls back to when a source value maps to none of the others. Nothing in this app reads it — the fallback happens where the mapping happens — and it is served on the vocabulary so an importer can find it here instead of keeping a convention of its own. No seeded state carries it: which state an unmapped value means is the tenant's to say. Defaults to false, and nothing enforces that at most one state carries it.\n * @param {boolean} params.isSystem - True for the four states this app seeds on install, false for anything the tenant added. It means \"we put it there\" and nothing more: a seeded state may be renamed, re-toned, reordered, corrected or deleted exactly like an added one, and the flag is there so a screen can say where a value came from. Send false, or leave it out: it marks the states this app seeded, and setting it on your own would only make one harder to tell apart.\n * @param {object} params.labels - The title per language tag, for a shop that has to render it in the reader's language. Falls back to `title` when a tag is missing. Keys are language tags, values plain strings.\n * @param {boolean} params.orderable - Whether an item in this state may still be ordered — the reason this set is a table and not a list of names. A code on its own tells a storefront nothing it can act on: it has to be matched against a list the theme keeps, and that list is wrong the first time a merchant adds a code. This flag travels with the value, so a shop asks the vocabulary whether to offer the order button instead of asking itself. POST /inventories/availability reads it: a state that says false takes the order button away from every item the governing row puts in that state, whatever the quantity says, and that call reports it as `unorderable_reason: 'state'`. It stays the merchant's policy about the STATE — it moves no stock and books no movement, and the per-location `state_orderable` in that answer is this flag, held apart from the verdict. Defaults to true, so a state created without an answer is one a shop keeps selling in — set it deliberately.\n * @param {number} params.position - Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code. It is presentation only — nothing sorts stock by it. Defaults to 0.\n * @param {string} params.title - What a person reads for this state, in the tenant's working language. At least one character (CHECK `length(title) > 0`). A value nobody titled is served with its own code made readable, so this is a better label rather than the only one.\n * @param {AvailabilityStateTone} params.tone - Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else. The client owns the palette. One of five (CHECK `tone in ('neutral', 'info', 'success', 'warning', 'danger')`), defaulting to 'neutral'. Defaults to 'neutral'.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n */\n inventoriesAvailabilityStatesUpdate(params: { id: string, code?: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, title?: string, tone?: AvailabilityStateTone }): Promise<Models.AvailabilityState>;\n /**\n * Partial update: send the fields that change. An availability state is one of the codes THIS TENANT keeps for what a source system says about an article: a stock row stores one in `availability_code`, and the row's `expected_at` says when the article is due back. The set is a table rather than a fixed list because the number a source system delivers for availability is that system's number and what it means is the merchant's to state. Each value carries `orderable` — whether an item in this state may still be ordered — which is the fact a storefront needs in order to offer or withhold the order button without keeping a list of its own. The safe edits are the readable ones — `title`, `labels`, `description`, `descriptions`, `tone`, `position` — and they reach every screen at once, which is the point of the set living here. `orderable` is the consequential one: flipping it to false takes the order button away from every article in this state on the next read, with no stock row touched and no movement booked. `code` is the one to leave alone — a stock row stores the code, nothing in the database points at it, so moving it orphans every row that names the old value. Two rows of this tenant may not share `code` — that is the 409, and it answers an update that moves a row onto a sibling's value exactly as it answers a second insert.\n *\n * @param {string} id - The row id of the availability state to change, as the list answered it.\n * @param {string} code - The value a stock row's `availability_code` stores, and the key the vocabulary serves it under. Lowercase letters, digits, '-' and '_' (CHECK `code ~ '^[a-z][a-z0-9_-]*$'`), unique per tenant. Treat it as permanent: nothing in the database points at it, so renaming it here leaves every stock row carrying the old one, and the honest move is a new code plus an update of the rows that name it.\n * @param {string} description - One sentence a screen can put under the title, in the tenant's working language — what this state means for a buyer looking at the article. Optional; a state with none is served with a null description rather than an invented one.\n * @param {object} descriptions - The description per language tag, on the same rule as `labels`: the tag if it is there, else `description`. Keys are language tags, values plain strings.\n * @param {boolean} isDefault - Whether this is the state an import falls back to when a source value maps to none of the others. Nothing in this app reads it — the fallback happens where the mapping happens — and it is served on the vocabulary so an importer can find it here instead of keeping a convention of its own. No seeded state carries it: which state an unmapped value means is the tenant's to say. Defaults to false, and nothing enforces that at most one state carries it.\n * @param {boolean} isSystem - True for the four states this app seeds on install, false for anything the tenant added. It means \"we put it there\" and nothing more: a seeded state may be renamed, re-toned, reordered, corrected or deleted exactly like an added one, and the flag is there so a screen can say where a value came from. Send false, or leave it out: it marks the states this app seeded, and setting it on your own would only make one harder to tell apart.\n * @param {object} labels - The title per language tag, for a shop that has to render it in the reader's language. Falls back to `title` when a tag is missing. Keys are language tags, values plain strings.\n * @param {boolean} orderable - Whether an item in this state may still be ordered — the reason this set is a table and not a list of names. A code on its own tells a storefront nothing it can act on: it has to be matched against a list the theme keeps, and that list is wrong the first time a merchant adds a code. This flag travels with the value, so a shop asks the vocabulary whether to offer the order button instead of asking itself. POST /inventories/availability reads it: a state that says false takes the order button away from every item the governing row puts in that state, whatever the quantity says, and that call reports it as `unorderable_reason: 'state'`. It stays the merchant's policy about the STATE — it moves no stock and books no movement, and the per-location `state_orderable` in that answer is this flag, held apart from the verdict. Defaults to true, so a state created without an answer is one a shop keeps selling in — set it deliberately.\n * @param {number} position - Where this state sits in a select or a legend: the set is served ASCENDING, so a lower number comes first, and states that tie fall back to their code. It is presentation only — nothing sorts stock by it. Defaults to 0.\n * @param {string} title - What a person reads for this state, in the tenant's working language. At least one character (CHECK `length(title) > 0`). A value nobody titled is served with its own code made readable, so this is a better label rather than the only one.\n * @param {AvailabilityStateTone} tone - Semantic badge colour for this state — what it MEANS, not what it looks like: 'success' for sellable, 'info' for on its way, 'warning' for not right now, 'danger' for gone for good, 'neutral' for anything else. The client owns the palette. One of five (CHECK `tone in ('neutral', 'info', 'success', 'warning', 'danger')`), defaulting to 'neutral'. Defaults to 'neutral'.\n * @throws {RevenexxException}\n * @returns {Promise<Models.AvailabilityState>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesAvailabilityStatesUpdate(id: string, code?: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, title?: string, tone?: AvailabilityStateTone): Promise<Models.AvailabilityState>;\n inventoriesAvailabilityStatesUpdate(\n paramsOrFirst: { id: string, code?: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, title?: string, tone?: AvailabilityStateTone } | string,\n ...rest: [(string)?, (string)?, (object)?, (boolean)?, (boolean)?, (object)?, (boolean)?, (number)?, (string)?, (AvailabilityStateTone)?] \n ): Promise<Models.AvailabilityState> {\n let params: { id: string, code?: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, title?: string, tone?: AvailabilityStateTone };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string, code?: string, description?: string, descriptions?: object, isDefault?: boolean, isSystem?: boolean, labels?: object, orderable?: boolean, position?: number, title?: string, tone?: AvailabilityStateTone };\n } else {\n params = {\n id: paramsOrFirst as string,\n code: rest[0] as string,\n description: rest[1] as string,\n descriptions: rest[2] as object,\n isDefault: rest[3] as boolean,\n isSystem: rest[4] as boolean,\n labels: rest[5] as object,\n orderable: rest[6] as boolean,\n position: rest[7] as number,\n title: rest[8] as string,\n tone: rest[9] as AvailabilityStateTone \n };\n }\n \n const id = params.id;\n const code = params.code;\n const description = params.description;\n const descriptions = params.descriptions;\n const isDefault = params.isDefault;\n const isSystem = params.isSystem;\n const labels = params.labels;\n const orderable = params.orderable;\n const position = params.position;\n const title = params.title;\n const tone = params.tone;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/availability-states/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n if (typeof code !== 'undefined') {\n apiPayload['code'] = code;\n }\n if (typeof description !== 'undefined') {\n apiPayload['description'] = description;\n }\n if (typeof descriptions !== 'undefined') {\n apiPayload['descriptions'] = descriptions;\n }\n if (typeof isDefault !== 'undefined') {\n apiPayload['is_default'] = isDefault;\n }\n if (typeof isSystem !== 'undefined') {\n apiPayload['is_system'] = isSystem;\n }\n if (typeof labels !== 'undefined') {\n apiPayload['labels'] = labels;\n }\n if (typeof orderable !== 'undefined') {\n apiPayload['orderable'] = orderable;\n }\n if (typeof position !== 'undefined') {\n apiPayload['position'] = position;\n }\n if (typeof title !== 'undefined') {\n apiPayload['title'] = title;\n }\n if (typeof tone !== 'undefined') {\n apiPayload['tone'] = tone;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'put',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * The movements ledger, read end to end. Every stock change this app has ever made is a booking row in it — a receipt, a correction, a hold, a release, a shipment, a return — which is what lets one list be an audit trail and an event feed at the same time: these are the rows the `stock_movement.created` event carries, so a consumer that missed an event catches up by paging here. Append-only: the ledger has no update and no delete, because a correction is another booking. `order=created_at.desc` is the feed order.\n *\n * @param {number} params.limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} params.offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} params.order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} params.id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} params.locationId - Exact-match filter on `location_id`. Every booking at one location.\n * @param {string} params.productId - Exact-match filter on `product_id`. The product this booking is for, copied from the call.\n * @param {string} params.sku - Exact-match filter on `sku`. Every booking for one SKU.\n * @param {InventoriesMovementsListType} params.type - Exact-match filter on `type`. What the booking records. The permitted set is the CHECK constraint — GET /inventories/vocabularies/movement-types has the words for it.\n * @param {number} params.quantity - Exact-match filter on `quantity`. Exact signed quantity, which is a needle-in-a-haystack filter rather than a range: `?quantity=-5` finds the bookings that moved exactly five out.\n * @param {string} params.orderRef - Exact-match filter on `order_ref`. One order's whole stock history: its reserve, release, shipment and restock bookings.\n * @param {string} params.reason - Exact-match filter on `reason`. Why the booking happened, in a person's words — a delivery note number, 'stocktake 2026-03', 'damaged in transit'.\n * @param {string} params.metadata - Exact-match filter on `metadata`. Free-form, and two keys this app writes itself: `backordered` — on a `reserve` booking, how much of the hold was not covered by stock on hand; `shortfall` — on a `shipment` booking, how much was committed that was not physically there (`on_hand` floors at 0, so the difference is recorded here instead of vanishing). The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.createdAt - Exact-match filter on `created_at`. Exact timestamp. There is no range filter on the ledger — page it with `?order=created_at.desc` instead.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesMovementsList(params?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string }): Promise<{}>;\n /**\n * The movements ledger, read end to end. Every stock change this app has ever made is a booking row in it — a receipt, a correction, a hold, a release, a shipment, a return — which is what lets one list be an audit trail and an event feed at the same time: these are the rows the `stock_movement.created` event carries, so a consumer that missed an event catches up by paging here. Append-only: the ledger has no update and no delete, because a correction is another booking. `order=created_at.desc` is the feed order.\n *\n * @param {number} limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} locationId - Exact-match filter on `location_id`. Every booking at one location.\n * @param {string} productId - Exact-match filter on `product_id`. The product this booking is for, copied from the call.\n * @param {string} sku - Exact-match filter on `sku`. Every booking for one SKU.\n * @param {InventoriesMovementsListType} type - Exact-match filter on `type`. What the booking records. The permitted set is the CHECK constraint — GET /inventories/vocabularies/movement-types has the words for it.\n * @param {number} quantity - Exact-match filter on `quantity`. Exact signed quantity, which is a needle-in-a-haystack filter rather than a range: `?quantity=-5` finds the bookings that moved exactly five out.\n * @param {string} orderRef - Exact-match filter on `order_ref`. One order's whole stock history: its reserve, release, shipment and restock bookings.\n * @param {string} reason - Exact-match filter on `reason`. Why the booking happened, in a person's words — a delivery note number, 'stocktake 2026-03', 'damaged in transit'.\n * @param {string} metadata - Exact-match filter on `metadata`. Free-form, and two keys this app writes itself: `backordered` — on a `reserve` booking, how much of the hold was not covered by stock on hand; `shortfall` — on a `shipment` booking, how much was committed that was not physically there (`on_hand` floors at 0, so the difference is recorded here instead of vanishing). The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} createdAt - Exact-match filter on `created_at`. Exact timestamp. There is no range filter on the ledger — page it with `?order=created_at.desc` instead.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesMovementsList(limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string): Promise<{}>;\n inventoriesMovementsList(\n paramsOrFirst?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string } | number,\n ...rest: [(number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (InventoriesMovementsListType)?, (number)?, (string)?, (string)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, type?: InventoriesMovementsListType, quantity?: number, orderRef?: string, reason?: string, metadata?: string, createdAt?: string };\n } else {\n params = {\n limit: paramsOrFirst as number,\n offset: rest[0] as number,\n order: rest[1] as string,\n id: rest[2] as string,\n locationId: rest[3] as string,\n productId: rest[4] as string,\n sku: rest[5] as string,\n type: rest[6] as InventoriesMovementsListType,\n quantity: rest[7] as number,\n orderRef: rest[8] as string,\n reason: rest[9] as string,\n metadata: rest[10] as string,\n createdAt: rest[11] as string \n };\n }\n \n const limit = params.limit;\n const offset = params.offset;\n const order = params.order;\n const id = params.id;\n const locationId = params.locationId;\n const productId = params.productId;\n const sku = params.sku;\n const type = params.type;\n const quantity = params.quantity;\n const orderRef = params.orderRef;\n const reason = params.reason;\n const metadata = params.metadata;\n const createdAt = params.createdAt;\n\n\n const apiPath = '/v1/inventories/movements';\n const apiPayload: Payload = {};\n if (typeof limit !== 'undefined') {\n apiPayload['limit'] = limit;\n }\n if (typeof offset !== 'undefined') {\n apiPayload['offset'] = offset;\n }\n if (typeof order !== 'undefined') {\n apiPayload['order'] = order;\n }\n if (typeof id !== 'undefined') {\n apiPayload['id'] = id;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n if (typeof type !== 'undefined') {\n apiPayload['type'] = type;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof orderRef !== 'undefined') {\n apiPayload['order_ref'] = orderRef;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof createdAt !== 'undefined') {\n apiPayload['created_at'] = createdAt;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A movement is one booking row in the ledger, and the ledger is append-only: there is no update and no delete, because a correction is another booking. `quantity` is SIGNED and its sign follows the `type` — a receipt books +5 and the reserve that promises those goods books −5, even though the reservation it created carries +5 as a positive hold. GET /inventories/vocabularies/movement-types is the list of types with the words for them. A booking says what changed, not what the balance became: it carries no running total, so the row's story is read by listing the ledger for that location and item rather than by fetching one id. `location_id` is a plain uuid and not a foreign key, so a booking outlives the location it was made at and this route will happily hand back one whose location no longer resolves — that is the audit trail doing its job, not a broken row. Fixing a wrong booking is another booking (POST /inventories/adjust); nothing here can be edited or removed.\n *\n * @param {string} params.id - The ledger booking.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockMovement>}\n */\n inventoriesMovementsGet(params: { id: string }): Promise<Models.StockMovement>;\n /**\n * A movement is one booking row in the ledger, and the ledger is append-only: there is no update and no delete, because a correction is another booking. `quantity` is SIGNED and its sign follows the `type` — a receipt books +5 and the reserve that promises those goods books −5, even though the reservation it created carries +5 as a positive hold. GET /inventories/vocabularies/movement-types is the list of types with the words for them. A booking says what changed, not what the balance became: it carries no running total, so the row's story is read by listing the ledger for that location and item rather than by fetching one id. `location_id` is a plain uuid and not a foreign key, so a booking outlives the location it was made at and this route will happily hand back one whose location no longer resolves — that is the audit trail doing its job, not a broken row. Fixing a wrong booking is another booking (POST /inventories/adjust); nothing here can be edited or removed.\n *\n * @param {string} id - The ledger booking.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockMovement>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesMovementsGet(id: string): Promise<Models.StockMovement>;\n inventoriesMovementsGet(\n paramsOrFirst: { id: string } | string \n ): Promise<Models.StockMovement> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/movements/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Books a delivery into the receiving location (the caller's location_code, else the default_location_code setting), creating the stock row if the item is new. A reason is optional unless movement_reason_required is 'all'. Takes a batch or one item inline.\n *\n * @param {Models.InventoryStockItem[]} params.items - The goods that arrived, at most 200 in one call — a delivery, a production batch, an opening balance.\n * @param {string} params.locationCode - Which location took the delivery. Omitted, the `default_location_code` setting decides; a code no location carries is answered 400 rather than booked somewhere else.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many arrived. Positive.\n * @param {string} params.reason - What the ledger should record about this receipt — a delivery note number, a production order. Owed only when `movement_reason_required` is 'all'; the contract does not require it, because whether it is owed is the tenant's setting and not this route's rule.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesReceive(params?: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string }): Promise<{}>;\n /**\n * Books a delivery into the receiving location (the caller's location_code, else the default_location_code setting), creating the stock row if the item is new. A reason is optional unless movement_reason_required is 'all'. Takes a batch or one item inline.\n *\n * @param {Models.InventoryStockItem[]} items - The goods that arrived, at most 200 in one call — a delivery, a production batch, an opening balance.\n * @param {string} locationCode - Which location took the delivery. Omitted, the `default_location_code` setting decides; a code no location carries is answered 400 rather than booked somewhere else.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many arrived. Positive.\n * @param {string} reason - What the ledger should record about this receipt — a delivery note number, a production order. Owed only when `movement_reason_required` is 'all'; the contract does not require it, because whether it is owed is the tenant's setting and not this route's rule.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesReceive(items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string): Promise<{}>;\n inventoriesReceive(\n paramsOrFirst?: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string } | Models.InventoryStockItem[],\n ...rest: [(string)?, (string)?, (number)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryStockItem[], locationCode?: string, productId?: string, quantity?: number, reason?: string, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryStockItem[],\n locationCode: rest[0] as string,\n productId: rest[1] as string,\n quantity: rest[2] as number,\n reason: rest[3] as string,\n sku: rest[4] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/receive';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * The replenishment worklist: the stock rows that have run down far enough that somebody has to order more, in one list rather than as a query a caller has to build. Computed on read, so it is never stale: a row alerts when available (on_hand − reserved) has fallen to or below its own reorder_point, or the reorder_point_default setting when it carries none. A point of 0 never alerts. Answers enabled:false with an empty list when reorder_alert_enabled is off — a tenant replenishing from an ERP should not be told twice.\n *\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderAlerts>}\n */\n inventoriesReorderAlerts(): Promise<Models.ReorderAlerts> {\n\n const apiPath = '/v1/inventories/reorder-alerts';\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Publishes `stock_level.low` on the event bus for every row GET /inventories/reorder-alerts currently lists, so replenishment can be driven by a subscriber instead of by somebody refreshing that page. Also runs hourly as the `reorder-scan` schedule; this route is for driving it on demand. The event id is derived from the stock row and the day, so a re-run — a second click, a retried cron tick — publishes nothing new and returns the ids the first run produced. Nothing is written to the app's own data: this reads the same figures the alerts list computes and hands them to the bus. Answers enabled:false without publishing when reorder_alert_enabled is off.\n *\n * @param {object} params.data - Request body\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderScan>}\n */\n inventoriesReorderScan(params: { data: object }): Promise<Models.ReorderScan>;\n /**\n * Publishes `stock_level.low` on the event bus for every row GET /inventories/reorder-alerts currently lists, so replenishment can be driven by a subscriber instead of by somebody refreshing that page. Also runs hourly as the `reorder-scan` schedule; this route is for driving it on demand. The event id is derived from the stock row and the day, so a re-run — a second click, a retried cron tick — publishes nothing new and returns the ids the first run produced. Nothing is written to the app's own data: this reads the same figures the alerts list computes and hands them to the bus. Answers enabled:false without publishing when reorder_alert_enabled is off.\n *\n * @param {object} data - Request body\n * @throws {RevenexxException}\n * @returns {Promise<Models.ReorderScan>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesReorderScan(data: object): Promise<Models.ReorderScan>;\n inventoriesReorderScan(\n paramsOrFirst: { data: object } | object \n ): Promise<Models.ReorderScan> {\n let params: { data: object };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('data' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { data: object };\n } else {\n params = {\n data: paramsOrFirst as object \n };\n }\n \n const data = params.data;\n\n if (typeof data === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"data\"');\n }\n\n const apiPath = '/v1/inventories/reorder-alerts/scan';\n const apiPayload: Payload = {};\n if (typeof data !== 'undefined') {\n Object.assign(apiPayload, data);\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Whether a return rejoins sellable stock follows restock_on_return_default, overridable per call with 'restock'. When the answer is no the response says restocked:false and nothing moves — there is no movement to book, because no stock moved. That branch is why this route answers 200 and its sibling `receive` answers 201: a restock may legitimately create nothing.\n *\n * @param {Models.InventoryStockItem[]} params.items - The goods that came back, at most 200 in one call. Whether they rejoin sellable stock is `restock`, not this list.\n * @param {string} params.locationCode - Where the goods came back to — a returns warehouse is a location like any other. Omitted, the `default_location_code` setting decides.\n * @param {string} params.orderRef - The order the goods came back from. It is written onto the ledger booking, so the return shows up in that order's stock history next to its reserve and shipment — no reservation is touched by it.\n * @param {string} params.productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} params.quantity - Inline single-item form: how many came back. Positive.\n * @param {string} params.reason - Why the goods came back — 'wrong size', 'damaged on arrival'. Owed only when `movement_reason_required` is 'all'.\n * @param {boolean} params.restock - Do these goods rejoin SELLABLE stock? A merchant decision, not a fact: apparel usually restocks, hygiene articles never do, many merchants inspect first. Omit it to follow the `restock_on_return_default` setting. `false` answers `restocked: false`, moves nothing and books NOTHING — there is no movement to write, because no stock moved, and that is the branch that makes this route a 200 while its sibling `receive` is a 201.\n * @param {string} params.sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesRestock(params?: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string }): Promise<{}>;\n /**\n * Whether a return rejoins sellable stock follows restock_on_return_default, overridable per call with 'restock'. When the answer is no the response says restocked:false and nothing moves — there is no movement to book, because no stock moved. That branch is why this route answers 200 and its sibling `receive` answers 201: a restock may legitimately create nothing.\n *\n * @param {Models.InventoryStockItem[]} items - The goods that came back, at most 200 in one call. Whether they rejoin sellable stock is `restock`, not this list.\n * @param {string} locationCode - Where the goods came back to — a returns warehouse is a location like any other. Omitted, the `default_location_code` setting decides.\n * @param {string} orderRef - The order the goods came back from. It is written onto the ledger booking, so the return shows up in that order's stock history next to its reserve and shipment — no reservation is touched by it.\n * @param {string} productId - Inline single-item form: the product to move, instead of a one-entry `items` array. The two forms are equivalent — nothing downstream knows which arrived.\n * @param {number} quantity - Inline single-item form: how many came back. Positive.\n * @param {string} reason - Why the goods came back — 'wrong size', 'damaged on arrival'. Owed only when `movement_reason_required` is 'all'.\n * @param {boolean} restock - Do these goods rejoin SELLABLE stock? A merchant decision, not a fact: apparel usually restocks, hygiene articles never do, many merchants inspect first. Omit it to follow the `restock_on_return_default` setting. `false` answers `restocked: false`, moves nothing and books NOTHING — there is no movement to write, because no stock moved, and that is the branch that makes this route a 200 while its sibling `receive` is a 201.\n * @param {string} sku - Inline single-item form: the article number to move (instead of `product_id`).\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesRestock(items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string): Promise<{}>;\n inventoriesRestock(\n paramsOrFirst?: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string } | Models.InventoryStockItem[],\n ...rest: [(string)?, (string)?, (string)?, (number)?, (string)?, (boolean)?, (string)?] \n ): Promise<{}> {\n let params: { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('items' in paramsOrFirst || 'locationCode' in paramsOrFirst || 'orderRef' in paramsOrFirst || 'productId' in paramsOrFirst || 'quantity' in paramsOrFirst || 'reason' in paramsOrFirst || 'restock' in paramsOrFirst || 'sku' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { items?: Models.InventoryStockItem[], locationCode?: string, orderRef?: string, productId?: string, quantity?: number, reason?: string, restock?: boolean, sku?: string };\n } else {\n params = {\n items: paramsOrFirst as Models.InventoryStockItem[],\n locationCode: rest[0] as string,\n orderRef: rest[1] as string,\n productId: rest[2] as string,\n quantity: rest[3] as number,\n reason: rest[4] as string,\n restock: rest[5] as boolean,\n sku: rest[6] as string \n };\n }\n \n const items = params.items;\n const locationCode = params.locationCode;\n const orderRef = params.orderRef;\n const productId = params.productId;\n const quantity = params.quantity;\n const reason = params.reason;\n const restock = params.restock;\n const sku = params.sku;\n\n\n const apiPath = '/v1/inventories/restock';\n const apiPayload: Payload = {};\n if (typeof items !== 'undefined') {\n apiPayload['items'] = items;\n }\n if (typeof locationCode !== 'undefined') {\n apiPayload['location_code'] = locationCode;\n }\n if (typeof orderRef !== 'undefined') {\n apiPayload['order_ref'] = orderRef;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n if (typeof restock !== 'undefined') {\n apiPayload['restock'] = restock;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. This is the operator's view — the whole book, filtered by location or by item — not the shop's: a storefront asking \"can I sell five of this\" wants POST /inventories/availability, which sums an item across locations and answers `orderable` instead of leaving the caller to subtract. Two things this list will not do: it has no range filters, so \"everything running low\" is GET /inventories/reorder-alerts and not a query here; and it does not promise one row per item per location — no unique index enforces that. POST /inventories/stock refuses a duplicate with a 409, but that is a check and not a constraint, so a row written past it, or one that predates the guard, still splits an item's balance in two, and the write routes find and update whichever of them the database returns first.\n *\n * @param {number} params.limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} params.offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} params.order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} params.id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} params.locationId - Exact-match filter on `location_id`. The rows held at one location. An id no location carries is an empty page, not an error.\n * @param {string} params.productId - Exact-match filter on `product_id`. The rows tracking one product, across every location.\n * @param {string} params.sku - Exact-match filter on `sku`. The rows tracking one SKU — the identity used when an item has no product id.\n * @param {number} params.onHand - Exact-match filter on `on_hand`. Exact balance, which is rarely what a reader wants: `?on_hand=0` finds the rows that are empty. There is no range filter here — GET /inventories/reorder-alerts is the \"running low\" question.\n * @param {number} params.reserved - Exact-match filter on `reserved`. Exact reserved quantity. `?reserved=0` finds the rows nothing is holding.\n * @param {number} params.reorderPoint - Exact-match filter on `reorder_point`. The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts).\n * @param {string} params.expectedAt - Exact-match filter on `expected_at`. When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour.\n * @param {string} params.availabilityCode - Exact-match filter on `availability_code`. What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag).\n * @param {string} params.metadata - Exact-match filter on `metadata`. Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.externalId - Exact-match filter on `external_id`. The key this row has in the system that OWNS it.\n * @param {string} params.externalRefs - Exact-match filter on `external_refs`. Every OTHER system that knows this row, keyed by system name. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.sourceSyncedAt - Exact-match filter on `source_synced_at`. When this row was last confirmed against its source.\n * @param {string} params.sourceData - Exact-match filter on `source_data`. What the source said about this row, kept as it said it. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} params.createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} params.updatedAt - Exact-match filter on `updated_at`. When this row was last written.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockList(params?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, expectedAt?: string, availabilityCode?: string, metadata?: string, externalId?: string, externalRefs?: string, sourceSyncedAt?: string, sourceData?: string, createdAt?: string, updatedAt?: string }): Promise<{}>;\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. This is the operator's view — the whole book, filtered by location or by item — not the shop's: a storefront asking \"can I sell five of this\" wants POST /inventories/availability, which sums an item across locations and answers `orderable` instead of leaving the caller to subtract. Two things this list will not do: it has no range filters, so \"everything running low\" is GET /inventories/reorder-alerts and not a query here; and it does not promise one row per item per location — no unique index enforces that. POST /inventories/stock refuses a duplicate with a 409, but that is a check and not a constraint, so a row written past it, or one that predates the guard, still splits an item's balance in two, and the write routes find and update whichever of them the database returns first.\n *\n * @param {number} limit - Page size (default 50, max 200). A larger value is clamped rather than refused.\n * @param {number} offset - Row offset for pagination (default 0). Page with `page.total` and `page.hasMore`.\n * @param {string} order - Sort by one column: 'column' | 'column.asc' | 'column.desc' — a bare column sorts ascending. The column has to be one this entity has; anything else is refused with 400.\n * @param {string} id - Exact-match filter on `id`. The row's own id, generated by the database.\n * @param {string} locationId - Exact-match filter on `location_id`. The rows held at one location. An id no location carries is an empty page, not an error.\n * @param {string} productId - Exact-match filter on `product_id`. The rows tracking one product, across every location.\n * @param {string} sku - Exact-match filter on `sku`. The rows tracking one SKU — the identity used when an item has no product id.\n * @param {number} onHand - Exact-match filter on `on_hand`. Exact balance, which is rarely what a reader wants: `?on_hand=0` finds the rows that are empty. There is no range filter here — GET /inventories/reorder-alerts is the \"running low\" question.\n * @param {number} reserved - Exact-match filter on `reserved`. Exact reserved quantity. `?reserved=0` finds the rows nothing is holding.\n * @param {number} reorderPoint - Exact-match filter on `reorder_point`. The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts).\n * @param {string} expectedAt - Exact-match filter on `expected_at`. When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour.\n * @param {string} availabilityCode - Exact-match filter on `availability_code`. What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag).\n * @param {string} metadata - Exact-match filter on `metadata`. Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} externalId - Exact-match filter on `external_id`. The key this row has in the system that OWNS it.\n * @param {string} externalRefs - Exact-match filter on `external_refs`. Every OTHER system that knows this row, keyed by system name. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} sourceSyncedAt - Exact-match filter on `source_synced_at`. When this row was last confirmed against its source.\n * @param {string} sourceData - Exact-match filter on `source_data`. What the source said about this row, kept as it said it. The WHOLE jsonb document is compared, serialized as JSON — this is equality, not a key lookup or a containment query, and a value that does not parse is answered 400.\n * @param {string} createdAt - Exact-match filter on `created_at`. When the row was created.\n * @param {string} updatedAt - Exact-match filter on `updated_at`. When this row was last written.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockList(limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, expectedAt?: string, availabilityCode?: string, metadata?: string, externalId?: string, externalRefs?: string, sourceSyncedAt?: string, sourceData?: string, createdAt?: string, updatedAt?: string): Promise<{}>;\n inventoriesStockList(\n paramsOrFirst?: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, expectedAt?: string, availabilityCode?: string, metadata?: string, externalId?: string, externalRefs?: string, sourceSyncedAt?: string, sourceData?: string, createdAt?: string, updatedAt?: string } | number,\n ...rest: [(number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (number)?, (number)?, (number)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?, (string)?] \n ): Promise<{}> {\n let params: { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, expectedAt?: string, availabilityCode?: string, metadata?: string, externalId?: string, externalRefs?: string, sourceSyncedAt?: string, sourceData?: string, createdAt?: string, updatedAt?: string };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { limit?: number, offset?: number, order?: string, id?: string, locationId?: string, productId?: string, sku?: string, onHand?: number, reserved?: number, reorderPoint?: number, expectedAt?: string, availabilityCode?: string, metadata?: string, externalId?: string, externalRefs?: string, sourceSyncedAt?: string, sourceData?: string, createdAt?: string, updatedAt?: string };\n } else {\n params = {\n limit: paramsOrFirst as number,\n offset: rest[0] as number,\n order: rest[1] as string,\n id: rest[2] as string,\n locationId: rest[3] as string,\n productId: rest[4] as string,\n sku: rest[5] as string,\n onHand: rest[6] as number,\n reserved: rest[7] as number,\n reorderPoint: rest[8] as number,\n expectedAt: rest[9] as string,\n availabilityCode: rest[10] as string,\n metadata: rest[11] as string,\n externalId: rest[12] as string,\n externalRefs: rest[13] as string,\n sourceSyncedAt: rest[14] as string,\n sourceData: rest[15] as string,\n createdAt: rest[16] as string,\n updatedAt: rest[17] as string \n };\n }\n \n const limit = params.limit;\n const offset = params.offset;\n const order = params.order;\n const id = params.id;\n const locationId = params.locationId;\n const productId = params.productId;\n const sku = params.sku;\n const onHand = params.onHand;\n const reserved = params.reserved;\n const reorderPoint = params.reorderPoint;\n const expectedAt = params.expectedAt;\n const availabilityCode = params.availabilityCode;\n const metadata = params.metadata;\n const externalId = params.externalId;\n const externalRefs = params.externalRefs;\n const sourceSyncedAt = params.sourceSyncedAt;\n const sourceData = params.sourceData;\n const createdAt = params.createdAt;\n const updatedAt = params.updatedAt;\n\n\n const apiPath = '/v1/inventories/stock';\n const apiPayload: Payload = {};\n if (typeof limit !== 'undefined') {\n apiPayload['limit'] = limit;\n }\n if (typeof offset !== 'undefined') {\n apiPayload['offset'] = offset;\n }\n if (typeof order !== 'undefined') {\n apiPayload['order'] = order;\n }\n if (typeof id !== 'undefined') {\n apiPayload['id'] = id;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n if (typeof onHand !== 'undefined') {\n apiPayload['on_hand'] = onHand;\n }\n if (typeof reserved !== 'undefined') {\n apiPayload['reserved'] = reserved;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof expectedAt !== 'undefined') {\n apiPayload['expected_at'] = expectedAt;\n }\n if (typeof availabilityCode !== 'undefined') {\n apiPayload['availability_code'] = availabilityCode;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof externalId !== 'undefined') {\n apiPayload['external_id'] = externalId;\n }\n if (typeof externalRefs !== 'undefined') {\n apiPayload['external_refs'] = externalRefs;\n }\n if (typeof sourceSyncedAt !== 'undefined') {\n apiPayload['source_synced_at'] = sourceSyncedAt;\n }\n if (typeof sourceData !== 'undefined') {\n apiPayload['source_data'] = sourceData;\n }\n if (typeof createdAt !== 'undefined') {\n apiPayload['created_at'] = createdAt;\n }\n if (typeof updatedAt !== 'undefined') {\n apiPayload['updated_at'] = updatedAt;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Registers an item at a location. The row is born at ZERO and never gets a balance from this call: `on_hand` and `reserved` are NOT accepted, because they are the running total of the movements ledger, so an opening balance is a receipt (POST /inventories/receive) rather than a field here, and the only thing that ever moves either number afterwards is another booking. What this row carries is its identity (location + `product_id`/`sku`), its `reorder_point` and its metadata. `location_id` is the only field a create cannot omit; every other column is optional or defaulted by the database. The one rule that is a CHECK rather than a column is that a row has to identify its item, so `product_id` or `sku` has to be there as well. Mostly you do not need this route at all — every stock call creates the row it is missing — and a second row for an item this location already tracks is answered 409: no unique index enforces one row per item per location, so that row would split the item's balance across two rows the write routes cannot tell apart, each of them updating whichever the database returns first. That guard is a check before the insert and not a constraint, so it closes a double click or a re-run import and does not claim to close a race between two simultaneous creates.\n *\n * @param {string} params.locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {string} params.availabilityCode - What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag). Deliberately not free text and deliberately not an enum of this app's: a code the tenant does not keep is refused with 400 naming the codes they do, and the set itself is a table they extend, because the number a source system delivers for this is that system's number and what it means is theirs to state. Null means nothing said so — which is not the same as unavailable, and a storefront reads `available` for that. A code this tenant does not keep is refused with 400 naming the ones it does, rather than stored as a value nothing can resolve. Null clears it.\n * @param {string} params.expectedAt - When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour. It is the single most asked-for fact about an article that is out of stock, and the one a buyer telephones sales for: a storefront shows it on the article page next to the availability state. Nothing in this app COMPUTES it — no reorder alert, no allocation, no event: it is written by whoever knows (an ERP feed, or an operator on the stock row). It is read in one place, POST /inventories/availability, which answers it per location and rolls the earliest one up for an item that cannot be had now. A past date is stored as sent: it means the promise was missed, which is worth showing rather than hiding. Send it as YYYY-MM-DD; null clears it, which is what a receipt that arrived should do.\n * @param {object} params.metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} params.productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} params.reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} params.sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockCreate(params: { locationId: string, availabilityCode?: string, expectedAt?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string }): Promise<Models.StockLevel>;\n /**\n * Registers an item at a location. The row is born at ZERO and never gets a balance from this call: `on_hand` and `reserved` are NOT accepted, because they are the running total of the movements ledger, so an opening balance is a receipt (POST /inventories/receive) rather than a field here, and the only thing that ever moves either number afterwards is another booking. What this row carries is its identity (location + `product_id`/`sku`), its `reorder_point` and its metadata. `location_id` is the only field a create cannot omit; every other column is optional or defaulted by the database. The one rule that is a CHECK rather than a column is that a row has to identify its item, so `product_id` or `sku` has to be there as well. Mostly you do not need this route at all — every stock call creates the row it is missing — and a second row for an item this location already tracks is answered 409: no unique index enforces one row per item per location, so that row would split the item's balance across two rows the write routes cannot tell apart, each of them updating whichever the database returns first. That guard is a check before the insert and not a constraint, so it closes a double click or a re-run import and does not claim to close a race between two simultaneous creates.\n *\n * @param {string} locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {string} availabilityCode - What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag). Deliberately not free text and deliberately not an enum of this app's: a code the tenant does not keep is refused with 400 naming the codes they do, and the set itself is a table they extend, because the number a source system delivers for this is that system's number and what it means is theirs to state. Null means nothing said so — which is not the same as unavailable, and a storefront reads `available` for that. A code this tenant does not keep is refused with 400 naming the ones it does, rather than stored as a value nothing can resolve. Null clears it.\n * @param {string} expectedAt - When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour. It is the single most asked-for fact about an article that is out of stock, and the one a buyer telephones sales for: a storefront shows it on the article page next to the availability state. Nothing in this app COMPUTES it — no reorder alert, no allocation, no event: it is written by whoever knows (an ERP feed, or an operator on the stock row). It is read in one place, POST /inventories/availability, which answers it per location and rolls the earliest one up for an item that cannot be had now. A past date is stored as sent: it means the promise was missed, which is worth showing rather than hiding. Send it as YYYY-MM-DD; null clears it, which is what a receipt that arrived should do.\n * @param {object} metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockCreate(locationId: string, availabilityCode?: string, expectedAt?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string): Promise<Models.StockLevel>;\n inventoriesStockCreate(\n paramsOrFirst: { locationId: string, availabilityCode?: string, expectedAt?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string } | string,\n ...rest: [(string)?, (string)?, (object)?, (string)?, (number)?, (string)?] \n ): Promise<Models.StockLevel> {\n let params: { locationId: string, availabilityCode?: string, expectedAt?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { locationId: string, availabilityCode?: string, expectedAt?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n } else {\n params = {\n locationId: paramsOrFirst as string,\n availabilityCode: rest[0] as string,\n expectedAt: rest[1] as string,\n metadata: rest[2] as object,\n productId: rest[3] as string,\n reorderPoint: rest[4] as number,\n sku: rest[5] as string \n };\n }\n \n const locationId = params.locationId;\n const availabilityCode = params.availabilityCode;\n const expectedAt = params.expectedAt;\n const metadata = params.metadata;\n const productId = params.productId;\n const reorderPoint = params.reorderPoint;\n const sku = params.sku;\n\n if (typeof locationId === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"locationId\"');\n }\n\n const apiPath = '/v1/inventories/stock';\n const apiPayload: Payload = {};\n if (typeof availabilityCode !== 'undefined') {\n apiPayload['availability_code'] = availabilityCode;\n }\n if (typeof expectedAt !== 'undefined') {\n apiPayload['expected_at'] = expectedAt;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Stops tracking one item at one location. A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. A deleted balance is not recoverable: the ledger is the audit trail, not the source of truth, and nothing in this app ever replays it to rebuild a number — so the next receipt for the same item here creates a FRESH row at zero, standing next to movements that say otherwise. That used to be a trap a caller discovered afterwards. It is a stated property now, because the route REFUSES while the row still holds anything, and answers 409 with what it holds. The two things that block are the location delete's two, asked of one row. A reservation still `active` against this item at this location is the sharper one: /release and /commit look their stock row up by (location, item) on the very next call and would find nothing, so the hold would lower no `reserved` and /commit would book the whole quantity as a shortfall — orphaned immediately rather than eventually. `on_hand` above zero is the stronger one: deleting a LOCATION at least meant \"close this warehouse\" and took the balances as a side effect of the cascade, while this row IS the balance, so the delete can only ever mean \"no longer tracked here\" — true once the number is zero and a lie while it is not. POST /inventories/stock/{id}/adjust to zero is the operation that makes it true, and it BOOKS the movement, so the stock leaves through the ledger instead of vanishing with the row. Nothing points at it by foreign key, so the database takes nothing else with it. History therefore never blocks and is never deleted — the ledger is keyed on (location, item) and never on this id, so its bookings survive a row that is gone, BY DESIGN, exactly as they survive a location that is gone.\n *\n * @param {string} params.id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockDelete(params: { id: string }): Promise<{}>;\n /**\n * Stops tracking one item at one location. A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. A deleted balance is not recoverable: the ledger is the audit trail, not the source of truth, and nothing in this app ever replays it to rebuild a number — so the next receipt for the same item here creates a FRESH row at zero, standing next to movements that say otherwise. That used to be a trap a caller discovered afterwards. It is a stated property now, because the route REFUSES while the row still holds anything, and answers 409 with what it holds. The two things that block are the location delete's two, asked of one row. A reservation still `active` against this item at this location is the sharper one: /release and /commit look their stock row up by (location, item) on the very next call and would find nothing, so the hold would lower no `reserved` and /commit would book the whole quantity as a shortfall — orphaned immediately rather than eventually. `on_hand` above zero is the stronger one: deleting a LOCATION at least meant \"close this warehouse\" and took the balances as a side effect of the cascade, while this row IS the balance, so the delete can only ever mean \"no longer tracked here\" — true once the number is zero and a lie while it is not. POST /inventories/stock/{id}/adjust to zero is the operation that makes it true, and it BOOKS the movement, so the stock leaves through the ledger instead of vanishing with the row. Nothing points at it by foreign key, so the database takes nothing else with it. History therefore never blocks and is never deleted — the ledger is keyed on (location, item) and never on this id, so its bookings survive a row that is gone, BY DESIGN, exactly as they survive a location that is gone.\n *\n * @param {string} id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockDelete(id: string): Promise<{}>;\n inventoriesStockDelete(\n paramsOrFirst: { id: string } | string \n ): Promise<{}> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. Read it to see one item's position at one place, and to get the id the two row-scoped routes take: POST /inventories/stock/{id}/adjust corrects this balance, and GET /inventories/reorder-alerts reports it by this id. What it does not answer is how the balance got here — that is GET /inventories/movements filtered by the location and item on this row, because a movement points at (location, item) and never at a stock row id.\n *\n * @param {string} params.id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockGet(params: { id: string }): Promise<Models.StockLevel>;\n /**\n * A stock level is ONE item at ONE location, and it carries two numbers, neither of which is the sellable one: `on_hand` is what is physically there INCLUDING everything already promised, and `reserved` is what has been promised — it never reduces `on_hand`. What may still be sold is their difference, and it is derived on read and never stored, so there is no `available` column to read, filter or order by. Read it to see one item's position at one place, and to get the id the two row-scoped routes take: POST /inventories/stock/{id}/adjust corrects this balance, and GET /inventories/reorder-alerts reports it by this id. What it does not answer is how the balance got here — that is GET /inventories/movements filtered by the location and item on this row, because a movement points at (location, item) and never at a stock row id.\n *\n * @param {string} id - The stock row.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockGet(id: string): Promise<Models.StockLevel>;\n inventoriesStockGet(\n paramsOrFirst: { id: string } | string \n ): Promise<Models.StockLevel> {\n let params: { id: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string };\n } else {\n params = {\n id: paramsOrFirst as string \n };\n }\n \n const id = params.id;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Partial update of everything on the row EXCEPT its balance: reorder_point, metadata, identity. on_hand and reserved are dropped from the body — every stock change is a movement, and a body carrying nothing else is answered 422 with the route that was meant (POST /inventories/stock/{id}/adjust).\n *\n * @param {string} params.id - The stock row.\n * @param {string} params.availabilityCode - What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag). Deliberately not free text and deliberately not an enum of this app's: a code the tenant does not keep is refused with 400 naming the codes they do, and the set itself is a table they extend, because the number a source system delivers for this is that system's number and what it means is theirs to state. Null means nothing said so — which is not the same as unavailable, and a storefront reads `available` for that. A code this tenant does not keep is refused with 400 naming the ones it does, rather than stored as a value nothing can resolve. Null clears it.\n * @param {string} params.expectedAt - When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour. It is the single most asked-for fact about an article that is out of stock, and the one a buyer telephones sales for: a storefront shows it on the article page next to the availability state. Nothing in this app COMPUTES it — no reorder alert, no allocation, no event: it is written by whoever knows (an ERP feed, or an operator on the stock row). It is read in one place, POST /inventories/availability, which answers it per location and rolls the earliest one up for an item that cannot be had now. A past date is stored as sent: it means the promise was missed, which is worth showing rather than hiding. Send it as YYYY-MM-DD; null clears it, which is what a receipt that arrived should do.\n * @param {string} params.locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} params.metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} params.productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} params.reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} params.sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n */\n inventoriesStockUpdate(params: { id: string, availabilityCode?: string, expectedAt?: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string }): Promise<Models.StockLevel>;\n /**\n * Partial update of everything on the row EXCEPT its balance: reorder_point, metadata, identity. on_hand and reserved are dropped from the body — every stock change is a movement, and a body carrying nothing else is answered 422 with the route that was meant (POST /inventories/stock/{id}/adjust).\n *\n * @param {string} id - The stock row.\n * @param {string} availabilityCode - What the source system says about this item's availability, as one of the codes THIS TENANT keeps (GET /inventories/availability-states, or GET /inventories/vocabularies/availability-states for the same set with its words and its `orderable` flag). Deliberately not free text and deliberately not an enum of this app's: a code the tenant does not keep is refused with 400 naming the codes they do, and the set itself is a table they extend, because the number a source system delivers for this is that system's number and what it means is theirs to state. Null means nothing said so — which is not the same as unavailable, and a storefront reads `available` for that. A code this tenant does not keep is refused with 400 naming the ones it does, rather than stored as a value nothing can resolve. Null clears it.\n * @param {string} expectedAt - When this item is expected back in stock at this location — a DATE, not a timestamp, because a supplier promises a day and not an hour. It is the single most asked-for fact about an article that is out of stock, and the one a buyer telephones sales for: a storefront shows it on the article page next to the availability state. Nothing in this app COMPUTES it — no reorder alert, no allocation, no event: it is written by whoever knows (an ERP feed, or an operator on the stock row). It is read in one place, POST /inventories/availability, which answers it per location and rolls the earliest one up for an item that cannot be had now. A past date is stored as sent: it means the promise was missed, which is worth showing rather than hiding. Send it as YYYY-MM-DD; null clears it, which is what a receipt that arrived should do.\n * @param {string} locationId - The location this balance is held at — a `locations` row of this tenant (GET /inventories/locations). There is ONE stock row per (location, item): the same SKU in three warehouses is three rows, and what a storefront shows is their sum (POST /inventories/availability). Deleting the location deletes its stock rows with it. It has to exist already (GET /inventories/locations); an id no location carries is answered 400 by the foreign key, not 404.\n * @param {object} metadata - Free-form data the tenant keeps on this stock row, and ONE key this app reads: `backorder`. A literal boolean `true` there opts this item into backorders while `backorder_policy` is 'allow_per_sku' — anything else, including the string \"true\", does not, and the reservation is refused with 422. That is how a merchant backorders the supplier-stocked half of a catalogue without promising the rest.\n * @param {string} productId - The product this row tracks, as the products app knows it. A row tracks a `product_id` or a `sku` — the database insists on at least one (CHECK `product_id is not null or sku is not null`) — and matching is exact: a row keyed by SKU is not found by product id.\n * @param {number} reorderPoint - The available quantity at or below which this row belongs on the replenishment worklist (GET /inventories/reorder-alerts). Null falls back to the `reorder_point_default` setting, so replenishment works without a threshold per SKU; 0 never alerts, which is how one row opts out.\n * @param {string} sku - The article number this row tracks when there is no product id, which is the normal case for an ERP-stocked catalogue. Exact match, and the identity every stock call may use instead of a uuid.\n * @throws {RevenexxException}\n * @returns {Promise<Models.StockLevel>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockUpdate(id: string, availabilityCode?: string, expectedAt?: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string): Promise<Models.StockLevel>;\n inventoriesStockUpdate(\n paramsOrFirst: { id: string, availabilityCode?: string, expectedAt?: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string } | string,\n ...rest: [(string)?, (string)?, (string)?, (object)?, (string)?, (number)?, (string)?] \n ): Promise<Models.StockLevel> {\n let params: { id: string, availabilityCode?: string, expectedAt?: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string, availabilityCode?: string, expectedAt?: string, locationId?: string, metadata?: object, productId?: string, reorderPoint?: number, sku?: string };\n } else {\n params = {\n id: paramsOrFirst as string,\n availabilityCode: rest[0] as string,\n expectedAt: rest[1] as string,\n locationId: rest[2] as string,\n metadata: rest[3] as object,\n productId: rest[4] as string,\n reorderPoint: rest[5] as number,\n sku: rest[6] as string \n };\n }\n \n const id = params.id;\n const availabilityCode = params.availabilityCode;\n const expectedAt = params.expectedAt;\n const locationId = params.locationId;\n const metadata = params.metadata;\n const productId = params.productId;\n const reorderPoint = params.reorderPoint;\n const sku = params.sku;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}'.replace('{id}', id);\n const apiPayload: Payload = {};\n if (typeof availabilityCode !== 'undefined') {\n apiPayload['availability_code'] = availabilityCode;\n }\n if (typeof expectedAt !== 'undefined') {\n apiPayload['expected_at'] = expectedAt;\n }\n if (typeof locationId !== 'undefined') {\n apiPayload['location_id'] = locationId;\n }\n if (typeof metadata !== 'undefined') {\n apiPayload['metadata'] = metadata;\n }\n if (typeof productId !== 'undefined') {\n apiPayload['product_id'] = productId;\n }\n if (typeof reorderPoint !== 'undefined') {\n apiPayload['reorder_point'] = reorderPoint;\n }\n if (typeof sku !== 'undefined') {\n apiPayload['sku'] = sku;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'put',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Corrects the balance of ONE stock row, and only that one. It is the row-scoped twin of POST /inventories/adjust: the row already knows its location and item, so a caller owes nothing but a SIGNED delta on `on_hand` — positive to add, negative to take away — and a reason for it. The delta is not written onto the balance either; it is booked into the movements ledger as an `adjustment` and the balance follows, which is why the answer hands back the row at its new value instead of an acknowledgement. This is the route that replaced the Cockpit's editable on_hand field.\n *\n * @param {string} params.id - The stock row to correct.\n * @param {number} params.quantity - The SIGNED correction to this row's `on_hand`: −3 writes off three, +3 finds three. A delta, not the new balance. Zero is refused (400). A correction that would take `on_hand` below zero is a 422 the database insists on; one that would take it below this row's own `reserved` is a 422 the `allow_negative_stock` setting can permit.\n * @param {string} params.reason - Why this row is being corrected, written onto the ledger booking. Owed unless `movement_reason_required` is 'none'.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n */\n inventoriesStockAdjust(params: { id: string, quantity: number, reason?: string }): Promise<{}>;\n /**\n * Corrects the balance of ONE stock row, and only that one. It is the row-scoped twin of POST /inventories/adjust: the row already knows its location and item, so a caller owes nothing but a SIGNED delta on `on_hand` — positive to add, negative to take away — and a reason for it. The delta is not written onto the balance either; it is booked into the movements ledger as an `adjustment` and the balance follows, which is why the answer hands back the row at its new value instead of an acknowledgement. This is the route that replaced the Cockpit's editable on_hand field.\n *\n * @param {string} id - The stock row to correct.\n * @param {number} quantity - The SIGNED correction to this row's `on_hand`: −3 writes off three, +3 finds three. A delta, not the new balance. Zero is refused (400). A correction that would take `on_hand` below zero is a 422 the database insists on; one that would take it below this row's own `reserved` is a 422 the `allow_negative_stock` setting can permit.\n * @param {string} reason - Why this row is being corrected, written onto the ledger booking. Owed unless `movement_reason_required` is 'none'.\n * @throws {RevenexxException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesStockAdjust(id: string, quantity: number, reason?: string): Promise<{}>;\n inventoriesStockAdjust(\n paramsOrFirst: { id: string, quantity: number, reason?: string } | string,\n ...rest: [(number)?, (string)?] \n ): Promise<{}> {\n let params: { id: string, quantity: number, reason?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { id: string, quantity: number, reason?: string };\n } else {\n params = {\n id: paramsOrFirst as string,\n quantity: rest[0] as number,\n reason: rest[1] as string \n };\n }\n \n const id = params.id;\n const quantity = params.quantity;\n const reason = params.reason;\n\n if (typeof id === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"id\"');\n }\n if (typeof quantity === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"quantity\"');\n }\n\n const apiPath = '/v1/inventories/stock/{id}/adjust'.replace('{id}', id);\n const apiPayload: Payload = {};\n if (typeof quantity !== 'undefined') {\n apiPayload['quantity'] = quantity;\n }\n if (typeof reason !== 'undefined') {\n apiPayload['reason'] = reason;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * Discovery for the vocabulary routes: the enums this app publishes, each with its name, its title and its description and deliberately WITHOUT its values, so finding out what exists costs one small call and not one per vocabulary. Names: availability-states, location-types, movement-types, reservation-statuses. Fetch one with GET /inventories/vocabularies/{name}; a client holding the qualified pair 'inventories.<name>' builds that URL from the pair alone.\n *\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabularyIndex>}\n */\n inventoriesVocabulariesList(): Promise<Models.InventoryVocabularyIndex> {\n\n const apiPath = '/v1/inventories/vocabularies';\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n\n /**\n * One vocabulary in full: every permitted value, each carrying the title and description a person reads for it and the badge tone a UI colours it with, so a client renders a status or a movement type without a hard-coded table of its own. `source` says who OWNS the set. 'schema' — the values are read out of the column's CHECK constraint, so the served set IS the enforced set and the two cannot drift; a value added to the constraint appears here even before anyone labels it, titled from its own key, and they come back in constraint order, which is lifecycle order for a status. 'table' — the values are the TENANT's own rows, read per request and ordered by the position they gave them, so a merchant extends the set without waiting for a release of this app; those values carry `orderable`, `is_default`, `is_system` and their per-language labels as well, and reading the set is what seeds the shipped one into a tenant that has never had it. 'closed' is true either way: the set is exhaustive at this moment, so a value outside it is stale data rather than a missing label. Names: availability-states, location-types, movement-types, reservation-statuses.\n *\n * @param {InventoriesVocabulariesGetName} params.name - The vocabulary name — the part after the dot in the qualified id. One of: availability-states, location-types, movement-types, reservation-statuses. Anything else is a 404, so the enum is the complete set and not a suggestion.\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabulary>}\n */\n inventoriesVocabulariesGet(params: { name: InventoriesVocabulariesGetName }): Promise<Models.InventoryVocabulary>;\n /**\n * One vocabulary in full: every permitted value, each carrying the title and description a person reads for it and the badge tone a UI colours it with, so a client renders a status or a movement type without a hard-coded table of its own. `source` says who OWNS the set. 'schema' — the values are read out of the column's CHECK constraint, so the served set IS the enforced set and the two cannot drift; a value added to the constraint appears here even before anyone labels it, titled from its own key, and they come back in constraint order, which is lifecycle order for a status. 'table' — the values are the TENANT's own rows, read per request and ordered by the position they gave them, so a merchant extends the set without waiting for a release of this app; those values carry `orderable`, `is_default`, `is_system` and their per-language labels as well, and reading the set is what seeds the shipped one into a tenant that has never had it. 'closed' is true either way: the set is exhaustive at this moment, so a value outside it is stale data rather than a missing label. Names: availability-states, location-types, movement-types, reservation-statuses.\n *\n * @param {InventoriesVocabulariesGetName} name - The vocabulary name — the part after the dot in the qualified id. One of: availability-states, location-types, movement-types, reservation-statuses. Anything else is a 404, so the enum is the complete set and not a suggestion.\n * @throws {RevenexxException}\n * @returns {Promise<Models.InventoryVocabulary>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n inventoriesVocabulariesGet(name: InventoriesVocabulariesGetName): Promise<Models.InventoryVocabulary>;\n inventoriesVocabulariesGet(\n paramsOrFirst: { name: InventoriesVocabulariesGetName } | InventoriesVocabulariesGetName \n ): Promise<Models.InventoryVocabulary> {\n let params: { name: InventoriesVocabulariesGetName };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst) && ('name' in paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { name: InventoriesVocabulariesGetName };\n } else {\n params = {\n name: paramsOrFirst as InventoriesVocabulariesGetName \n };\n }\n \n const name = params.name;\n\n if (typeof name === 'undefined') {\n throw new RevenexxException('Missing required parameter: \"name\"');\n }\n\n const apiPath = '/v1/inventories/vocabularies/{name}'.replace('{name}', name);\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n apiPayload,\n );\n }\n}\n"]}
|