@acmekit/types 2.13.1 → 2.13.3
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/dist/bundles.d.ts +0 -12
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +1 -13
- package/dist/bundles.js.map +1 -1
- package/dist/http/index.d.ts +0 -34
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +0 -34
- package/dist/http/index.js.map +1 -1
- package/dist/http/store/admin/entities.d.ts +0 -5
- package/dist/http/store/admin/entities.d.ts.map +1 -1
- package/dist/index.d.ts +1 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -15
- package/dist/index.js.map +1 -1
- package/dist/totals/big-number.d.ts +19 -12
- package/dist/totals/big-number.d.ts.map +1 -1
- package/dist/totals/index.d.ts +0 -24
- package/dist/totals/index.d.ts.map +1 -1
- package/dist/totals/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/workflow/index.d.ts +0 -10
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +1 -11
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflows/index.d.ts +1 -2
- package/dist/workflows/index.d.ts.map +1 -1
- package/dist/workflows/index.js +0 -16
- package/dist/workflows/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/cart/common.d.ts +0 -1133
- package/dist/cart/common.d.ts.map +0 -1
- package/dist/cart/common.js +0 -3
- package/dist/cart/common.js.map +0 -1
- package/dist/cart/index.d.ts +0 -5
- package/dist/cart/index.d.ts.map +0 -1
- package/dist/cart/index.js +0 -21
- package/dist/cart/index.js.map +0 -1
- package/dist/cart/mutations.d.ts +0 -742
- package/dist/cart/mutations.d.ts.map +0 -1
- package/dist/cart/mutations.js +0 -4
- package/dist/cart/mutations.js.map +0 -1
- package/dist/cart/service.d.ts +0 -1888
- package/dist/cart/service.d.ts.map +0 -1
- package/dist/cart/service.js +0 -3
- package/dist/cart/service.js.map +0 -1
- package/dist/cart/workflows.d.ts +0 -498
- package/dist/cart/workflows.d.ts.map +0 -1
- package/dist/cart/workflows.js +0 -3
- package/dist/cart/workflows.js.map +0 -1
- package/dist/currency/common/currency.d.ts +0 -52
- package/dist/currency/common/currency.d.ts.map +0 -1
- package/dist/currency/common/currency.js +0 -3
- package/dist/currency/common/currency.js.map +0 -1
- package/dist/currency/common/index.d.ts +0 -2
- package/dist/currency/common/index.d.ts.map +0 -1
- package/dist/currency/common/index.js +0 -18
- package/dist/currency/common/index.js.map +0 -1
- package/dist/currency/index.d.ts +0 -3
- package/dist/currency/index.d.ts.map +0 -1
- package/dist/currency/index.js +0 -19
- package/dist/currency/index.js.map +0 -1
- package/dist/currency/service.d.ts +0 -96
- package/dist/currency/service.d.ts.map +0 -1
- package/dist/currency/service.js +0 -3
- package/dist/currency/service.js.map +0 -1
- package/dist/fulfillment/common/address.d.ts +0 -70
- package/dist/fulfillment/common/address.d.ts.map +0 -1
- package/dist/fulfillment/common/address.js +0 -3
- package/dist/fulfillment/common/address.js.map +0 -1
- package/dist/fulfillment/common/cart.d.ts +0 -89
- package/dist/fulfillment/common/cart.d.ts.map +0 -1
- package/dist/fulfillment/common/cart.js +0 -3
- package/dist/fulfillment/common/cart.js.map +0 -1
- package/dist/fulfillment/common/fulfillment-item.d.ts +0 -55
- package/dist/fulfillment/common/fulfillment-item.d.ts.map +0 -1
- package/dist/fulfillment/common/fulfillment-item.js +0 -3
- package/dist/fulfillment/common/fulfillment-item.js.map +0 -1
- package/dist/fulfillment/common/fulfillment-label.d.ts +0 -43
- package/dist/fulfillment/common/fulfillment-label.d.ts.map +0 -1
- package/dist/fulfillment/common/fulfillment-label.js +0 -3
- package/dist/fulfillment/common/fulfillment-label.js.map +0 -1
- package/dist/fulfillment/common/fulfillment-provider.d.ts +0 -45
- package/dist/fulfillment/common/fulfillment-provider.d.ts.map +0 -1
- package/dist/fulfillment/common/fulfillment-provider.js +0 -3
- package/dist/fulfillment/common/fulfillment-provider.js.map +0 -1
- package/dist/fulfillment/common/fulfillment-set.d.ts +0 -61
- package/dist/fulfillment/common/fulfillment-set.d.ts.map +0 -1
- package/dist/fulfillment/common/fulfillment-set.js +0 -3
- package/dist/fulfillment/common/fulfillment-set.js.map +0 -1
- package/dist/fulfillment/common/fulfillment.d.ts +0 -142
- package/dist/fulfillment/common/fulfillment.d.ts.map +0 -1
- package/dist/fulfillment/common/fulfillment.js +0 -3
- package/dist/fulfillment/common/fulfillment.js.map +0 -1
- package/dist/fulfillment/common/geo-zone.d.ts +0 -76
- package/dist/fulfillment/common/geo-zone.d.ts.map +0 -1
- package/dist/fulfillment/common/geo-zone.js +0 -3
- package/dist/fulfillment/common/geo-zone.js.map +0 -1
- package/dist/fulfillment/common/index.d.ts +0 -15
- package/dist/fulfillment/common/index.d.ts.map +0 -1
- package/dist/fulfillment/common/index.js +0 -31
- package/dist/fulfillment/common/index.js.map +0 -1
- package/dist/fulfillment/common/order.d.ts +0 -899
- package/dist/fulfillment/common/order.d.ts.map +0 -1
- package/dist/fulfillment/common/order.js +0 -3
- package/dist/fulfillment/common/order.js.map +0 -1
- package/dist/fulfillment/common/service-zone.d.ts +0 -79
- package/dist/fulfillment/common/service-zone.d.ts.map +0 -1
- package/dist/fulfillment/common/service-zone.js +0 -3
- package/dist/fulfillment/common/service-zone.js.map +0 -1
- package/dist/fulfillment/common/shipping-option-rule.d.ts +0 -73
- package/dist/fulfillment/common/shipping-option-rule.d.ts.map +0 -1
- package/dist/fulfillment/common/shipping-option-rule.js +0 -3
- package/dist/fulfillment/common/shipping-option-rule.js.map +0 -1
- package/dist/fulfillment/common/shipping-option-type.d.ts +0 -65
- package/dist/fulfillment/common/shipping-option-type.d.ts.map +0 -1
- package/dist/fulfillment/common/shipping-option-type.js +0 -3
- package/dist/fulfillment/common/shipping-option-type.js.map +0 -1
- package/dist/fulfillment/common/shipping-option.d.ts +0 -171
- package/dist/fulfillment/common/shipping-option.d.ts.map +0 -1
- package/dist/fulfillment/common/shipping-option.js +0 -3
- package/dist/fulfillment/common/shipping-option.js.map +0 -1
- package/dist/fulfillment/common/shipping-profile.d.ts +0 -61
- package/dist/fulfillment/common/shipping-profile.d.ts.map +0 -1
- package/dist/fulfillment/common/shipping-profile.js +0 -3
- package/dist/fulfillment/common/shipping-profile.js.map +0 -1
- package/dist/fulfillment/index.d.ts +0 -6
- package/dist/fulfillment/index.d.ts.map +0 -1
- package/dist/fulfillment/index.js +0 -22
- package/dist/fulfillment/index.js.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-address.d.ts +0 -54
- package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-address.js +0 -3
- package/dist/fulfillment/mutations/fulfillment-address.js.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-item.d.ts +0 -34
- package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-item.js +0 -3
- package/dist/fulfillment/mutations/fulfillment-item.js.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-label.d.ts +0 -22
- package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-label.js +0 -3
- package/dist/fulfillment/mutations/fulfillment-label.js.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-set.d.ts +0 -45
- package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +0 -1
- package/dist/fulfillment/mutations/fulfillment-set.js +0 -3
- package/dist/fulfillment/mutations/fulfillment-set.js.map +0 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +0 -110
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +0 -1
- package/dist/fulfillment/mutations/fulfillment.js +0 -3
- package/dist/fulfillment/mutations/fulfillment.js.map +0 -1
- package/dist/fulfillment/mutations/geo-zone.d.ts +0 -169
- package/dist/fulfillment/mutations/geo-zone.d.ts.map +0 -1
- package/dist/fulfillment/mutations/geo-zone.js +0 -3
- package/dist/fulfillment/mutations/geo-zone.js.map +0 -1
- package/dist/fulfillment/mutations/index.d.ts +0 -12
- package/dist/fulfillment/mutations/index.d.ts.map +0 -1
- package/dist/fulfillment/mutations/index.js +0 -28
- package/dist/fulfillment/mutations/index.js.map +0 -1
- package/dist/fulfillment/mutations/service-zone.d.ts +0 -46
- package/dist/fulfillment/mutations/service-zone.d.ts.map +0 -1
- package/dist/fulfillment/mutations/service-zone.js +0 -3
- package/dist/fulfillment/mutations/service-zone.js.map +0 -1
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts +0 -32
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +0 -1
- package/dist/fulfillment/mutations/shipping-option-rule.js +0 -3
- package/dist/fulfillment/mutations/shipping-option-rule.js.map +0 -1
- package/dist/fulfillment/mutations/shipping-option-type.d.ts +0 -32
- package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +0 -1
- package/dist/fulfillment/mutations/shipping-option-type.js +0 -3
- package/dist/fulfillment/mutations/shipping-option-type.js.map +0 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +0 -183
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +0 -1
- package/dist/fulfillment/mutations/shipping-option.js +0 -3
- package/dist/fulfillment/mutations/shipping-option.js.map +0 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts +0 -41
- package/dist/fulfillment/mutations/shipping-profile.d.ts.map +0 -1
- package/dist/fulfillment/mutations/shipping-profile.js +0 -3
- package/dist/fulfillment/mutations/shipping-profile.js.map +0 -1
- package/dist/fulfillment/provider.d.ts +0 -131
- package/dist/fulfillment/provider.d.ts.map +0 -1
- package/dist/fulfillment/provider.js +0 -3
- package/dist/fulfillment/provider.js.map +0 -1
- package/dist/fulfillment/service.d.ts +0 -2632
- package/dist/fulfillment/service.d.ts.map +0 -1
- package/dist/fulfillment/service.js +0 -3
- package/dist/fulfillment/service.js.map +0 -1
- package/dist/fulfillment/workflows.d.ts +0 -243
- package/dist/fulfillment/workflows.d.ts.map +0 -1
- package/dist/fulfillment/workflows.js +0 -3
- package/dist/fulfillment/workflows.js.map +0 -1
- package/dist/http/campaign/admin/index.d.ts +0 -4
- package/dist/http/campaign/admin/index.d.ts.map +0 -1
- package/dist/http/campaign/admin/index.js +0 -20
- package/dist/http/campaign/admin/index.js.map +0 -1
- package/dist/http/campaign/admin/payloads.d.ts +0 -87
- package/dist/http/campaign/admin/payloads.d.ts.map +0 -1
- package/dist/http/campaign/admin/payloads.js +0 -3
- package/dist/http/campaign/admin/payloads.js.map +0 -1
- package/dist/http/campaign/admin/queries.d.ts +0 -14
- package/dist/http/campaign/admin/queries.d.ts.map +0 -1
- package/dist/http/campaign/admin/queries.js +0 -3
- package/dist/http/campaign/admin/queries.js.map +0 -1
- package/dist/http/campaign/admin/responses.d.ts +0 -90
- package/dist/http/campaign/admin/responses.d.ts.map +0 -1
- package/dist/http/campaign/admin/responses.js +0 -3
- package/dist/http/campaign/admin/responses.js.map +0 -1
- package/dist/http/campaign/index.d.ts +0 -2
- package/dist/http/campaign/index.d.ts.map +0 -1
- package/dist/http/campaign/index.js +0 -18
- package/dist/http/campaign/index.js.map +0 -1
- package/dist/http/cart/common.d.ts +0 -704
- package/dist/http/cart/common.d.ts.map +0 -1
- package/dist/http/cart/common.js +0 -3
- package/dist/http/cart/common.js.map +0 -1
- package/dist/http/cart/index.d.ts +0 -2
- package/dist/http/cart/index.d.ts.map +0 -1
- package/dist/http/cart/index.js +0 -18
- package/dist/http/cart/index.js.map +0 -1
- package/dist/http/cart/store/entities.d.ts +0 -112
- package/dist/http/cart/store/entities.d.ts.map +0 -1
- package/dist/http/cart/store/entities.js +0 -3
- package/dist/http/cart/store/entities.js.map +0 -1
- package/dist/http/cart/store/index.d.ts +0 -4
- package/dist/http/cart/store/index.d.ts.map +0 -1
- package/dist/http/cart/store/index.js +0 -20
- package/dist/http/cart/store/index.js.map +0 -1
- package/dist/http/cart/store/payloads.d.ts +0 -191
- package/dist/http/cart/store/payloads.d.ts.map +0 -1
- package/dist/http/cart/store/payloads.js +0 -3
- package/dist/http/cart/store/payloads.js.map +0 -1
- package/dist/http/cart/store/responses.d.ts +0 -48
- package/dist/http/cart/store/responses.d.ts.map +0 -1
- package/dist/http/cart/store/responses.js +0 -3
- package/dist/http/cart/store/responses.js.map +0 -1
- package/dist/http/claim/admin/entities.d.ts +0 -18
- package/dist/http/claim/admin/entities.d.ts.map +0 -1
- package/dist/http/claim/admin/entities.js +0 -3
- package/dist/http/claim/admin/entities.js.map +0 -1
- package/dist/http/claim/admin/index.d.ts +0 -5
- package/dist/http/claim/admin/index.d.ts.map +0 -1
- package/dist/http/claim/admin/index.js +0 -21
- package/dist/http/claim/admin/index.js.map +0 -1
- package/dist/http/claim/admin/payloads.d.ts +0 -142
- package/dist/http/claim/admin/payloads.d.ts.map +0 -1
- package/dist/http/claim/admin/payloads.js +0 -10
- package/dist/http/claim/admin/payloads.js.map +0 -1
- package/dist/http/claim/admin/queries.d.ts +0 -50
- package/dist/http/claim/admin/queries.d.ts.map +0 -1
- package/dist/http/claim/admin/queries.js +0 -3
- package/dist/http/claim/admin/queries.js.map +0 -1
- package/dist/http/claim/admin/responses.d.ts +0 -54
- package/dist/http/claim/admin/responses.d.ts.map +0 -1
- package/dist/http/claim/admin/responses.js +0 -3
- package/dist/http/claim/admin/responses.js.map +0 -1
- package/dist/http/claim/common.d.ts +0 -131
- package/dist/http/claim/common.d.ts.map +0 -1
- package/dist/http/claim/common.js +0 -3
- package/dist/http/claim/common.js.map +0 -1
- package/dist/http/claim/index.d.ts +0 -2
- package/dist/http/claim/index.d.ts.map +0 -1
- package/dist/http/claim/index.js +0 -18
- package/dist/http/claim/index.js.map +0 -1
- package/dist/http/collection/admin/entities.d.ts +0 -9
- package/dist/http/collection/admin/entities.d.ts.map +0 -1
- package/dist/http/collection/admin/entities.js +0 -3
- package/dist/http/collection/admin/entities.js.map +0 -1
- package/dist/http/collection/admin/index.d.ts +0 -5
- package/dist/http/collection/admin/index.d.ts.map +0 -1
- package/dist/http/collection/admin/index.js +0 -21
- package/dist/http/collection/admin/index.js.map +0 -1
- package/dist/http/collection/admin/payloads.d.ts +0 -39
- package/dist/http/collection/admin/payloads.d.ts.map +0 -1
- package/dist/http/collection/admin/payloads.js +0 -3
- package/dist/http/collection/admin/payloads.js.map +0 -1
- package/dist/http/collection/admin/queries.d.ts +0 -11
- package/dist/http/collection/admin/queries.d.ts.map +0 -1
- package/dist/http/collection/admin/queries.js +0 -3
- package/dist/http/collection/admin/queries.js.map +0 -1
- package/dist/http/collection/admin/responses.d.ts +0 -18
- package/dist/http/collection/admin/responses.d.ts.map +0 -1
- package/dist/http/collection/admin/responses.js +0 -3
- package/dist/http/collection/admin/responses.js.map +0 -1
- package/dist/http/collection/common.d.ts +0 -66
- package/dist/http/collection/common.d.ts.map +0 -1
- package/dist/http/collection/common.js +0 -3
- package/dist/http/collection/common.js.map +0 -1
- package/dist/http/collection/index.d.ts +0 -3
- package/dist/http/collection/index.d.ts.map +0 -1
- package/dist/http/collection/index.js +0 -19
- package/dist/http/collection/index.js.map +0 -1
- package/dist/http/collection/store/entities.d.ts +0 -9
- package/dist/http/collection/store/entities.d.ts.map +0 -1
- package/dist/http/collection/store/entities.js +0 -3
- package/dist/http/collection/store/entities.js.map +0 -1
- package/dist/http/collection/store/index.d.ts +0 -4
- package/dist/http/collection/store/index.d.ts.map +0 -1
- package/dist/http/collection/store/index.js +0 -20
- package/dist/http/collection/store/index.js.map +0 -1
- package/dist/http/collection/store/queries.d.ts +0 -6
- package/dist/http/collection/store/queries.d.ts.map +0 -1
- package/dist/http/collection/store/queries.js +0 -3
- package/dist/http/collection/store/queries.js.map +0 -1
- package/dist/http/collection/store/responses.d.ts +0 -15
- package/dist/http/collection/store/responses.d.ts.map +0 -1
- package/dist/http/collection/store/responses.js +0 -3
- package/dist/http/collection/store/responses.js.map +0 -1
- package/dist/http/currency/admin/entities.d.ts +0 -4
- package/dist/http/currency/admin/entities.d.ts.map +0 -1
- package/dist/http/currency/admin/entities.js +0 -3
- package/dist/http/currency/admin/entities.js.map +0 -1
- package/dist/http/currency/admin/index.d.ts +0 -4
- package/dist/http/currency/admin/index.d.ts.map +0 -1
- package/dist/http/currency/admin/index.js +0 -20
- package/dist/http/currency/admin/index.js.map +0 -1
- package/dist/http/currency/admin/queries.d.ts +0 -15
- package/dist/http/currency/admin/queries.d.ts.map +0 -1
- package/dist/http/currency/admin/queries.js +0 -3
- package/dist/http/currency/admin/queries.js.map +0 -1
- package/dist/http/currency/admin/responses.d.ts +0 -16
- package/dist/http/currency/admin/responses.d.ts.map +0 -1
- package/dist/http/currency/admin/responses.js +0 -3
- package/dist/http/currency/admin/responses.js.map +0 -1
- package/dist/http/currency/common.d.ts +0 -48
- package/dist/http/currency/common.d.ts.map +0 -1
- package/dist/http/currency/common.js +0 -3
- package/dist/http/currency/common.js.map +0 -1
- package/dist/http/currency/index.d.ts +0 -4
- package/dist/http/currency/index.d.ts.map +0 -1
- package/dist/http/currency/index.js +0 -20
- package/dist/http/currency/index.js.map +0 -1
- package/dist/http/currency/store/entities.d.ts +0 -4
- package/dist/http/currency/store/entities.d.ts.map +0 -1
- package/dist/http/currency/store/entities.js +0 -3
- package/dist/http/currency/store/entities.js.map +0 -1
- package/dist/http/currency/store/index.d.ts +0 -4
- package/dist/http/currency/store/index.d.ts.map +0 -1
- package/dist/http/currency/store/index.js +0 -20
- package/dist/http/currency/store/index.js.map +0 -1
- package/dist/http/currency/store/queries.d.ts +0 -7
- package/dist/http/currency/store/queries.d.ts.map +0 -1
- package/dist/http/currency/store/queries.js +0 -3
- package/dist/http/currency/store/queries.js.map +0 -1
- package/dist/http/currency/store/responses.d.ts +0 -10
- package/dist/http/currency/store/responses.d.ts.map +0 -1
- package/dist/http/currency/store/responses.js +0 -3
- package/dist/http/currency/store/responses.js.map +0 -1
- package/dist/http/draft-order/admin/entities.d.ts +0 -6
- package/dist/http/draft-order/admin/entities.d.ts.map +0 -1
- package/dist/http/draft-order/admin/entities.js +0 -3
- package/dist/http/draft-order/admin/entities.js.map +0 -1
- package/dist/http/draft-order/admin/index.d.ts +0 -5
- package/dist/http/draft-order/admin/index.d.ts.map +0 -1
- package/dist/http/draft-order/admin/index.js +0 -21
- package/dist/http/draft-order/admin/index.js.map +0 -1
- package/dist/http/draft-order/admin/payloads.d.ts +0 -252
- package/dist/http/draft-order/admin/payloads.d.ts.map +0 -1
- package/dist/http/draft-order/admin/payloads.js +0 -3
- package/dist/http/draft-order/admin/payloads.js.map +0 -1
- package/dist/http/draft-order/admin/queries.d.ts +0 -35
- package/dist/http/draft-order/admin/queries.d.ts.map +0 -1
- package/dist/http/draft-order/admin/queries.js +0 -3
- package/dist/http/draft-order/admin/queries.js.map +0 -1
- package/dist/http/draft-order/admin/responses.d.ts +0 -22
- package/dist/http/draft-order/admin/responses.d.ts.map +0 -1
- package/dist/http/draft-order/admin/responses.js +0 -3
- package/dist/http/draft-order/admin/responses.js.map +0 -1
- package/dist/http/draft-order/index.d.ts +0 -2
- package/dist/http/draft-order/index.d.ts.map +0 -1
- package/dist/http/draft-order/index.js +0 -18
- package/dist/http/draft-order/index.js.map +0 -1
- package/dist/http/exchange/admin/entities.d.ts +0 -4
- package/dist/http/exchange/admin/entities.d.ts.map +0 -1
- package/dist/http/exchange/admin/entities.js +0 -3
- package/dist/http/exchange/admin/entities.js.map +0 -1
- package/dist/http/exchange/admin/index.d.ts +0 -5
- package/dist/http/exchange/admin/index.d.ts.map +0 -1
- package/dist/http/exchange/admin/index.js +0 -21
- package/dist/http/exchange/admin/index.js.map +0 -1
- package/dist/http/exchange/admin/payloads.d.ts +0 -162
- package/dist/http/exchange/admin/payloads.d.ts.map +0 -1
- package/dist/http/exchange/admin/payloads.js +0 -3
- package/dist/http/exchange/admin/payloads.js.map +0 -1
- package/dist/http/exchange/admin/queries.d.ts +0 -51
- package/dist/http/exchange/admin/queries.d.ts.map +0 -1
- package/dist/http/exchange/admin/queries.js +0 -3
- package/dist/http/exchange/admin/queries.js.map +0 -1
- package/dist/http/exchange/admin/responses.d.ts +0 -50
- package/dist/http/exchange/admin/responses.d.ts.map +0 -1
- package/dist/http/exchange/admin/responses.js +0 -3
- package/dist/http/exchange/admin/responses.js.map +0 -1
- package/dist/http/exchange/common.d.ts +0 -155
- package/dist/http/exchange/common.d.ts.map +0 -1
- package/dist/http/exchange/common.js +0 -3
- package/dist/http/exchange/common.js.map +0 -1
- package/dist/http/exchange/index.d.ts +0 -2
- package/dist/http/exchange/index.d.ts.map +0 -1
- package/dist/http/exchange/index.js +0 -18
- package/dist/http/exchange/index.js.map +0 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +0 -201
- package/dist/http/fulfillment/admin/entitites.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/entitites.js +0 -3
- package/dist/http/fulfillment/admin/entitites.js.map +0 -1
- package/dist/http/fulfillment/admin/index.d.ts +0 -4
- package/dist/http/fulfillment/admin/index.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/index.js +0 -20
- package/dist/http/fulfillment/admin/index.js.map +0 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +0 -153
- package/dist/http/fulfillment/admin/payloads.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/payloads.js +0 -3
- package/dist/http/fulfillment/admin/payloads.js.map +0 -1
- package/dist/http/fulfillment/admin/responses.d.ts +0 -8
- package/dist/http/fulfillment/admin/responses.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/responses.js +0 -3
- package/dist/http/fulfillment/admin/responses.js.map +0 -1
- package/dist/http/fulfillment/index.d.ts +0 -3
- package/dist/http/fulfillment/index.d.ts.map +0 -1
- package/dist/http/fulfillment/index.js +0 -19
- package/dist/http/fulfillment/index.js.map +0 -1
- package/dist/http/fulfillment/store/index.d.ts +0 -186
- package/dist/http/fulfillment/store/index.d.ts.map +0 -1
- package/dist/http/fulfillment/store/index.js +0 -3
- package/dist/http/fulfillment/store/index.js.map +0 -1
- package/dist/http/fulfillment-provider/admin/entities.d.ts +0 -6
- package/dist/http/fulfillment-provider/admin/entities.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/admin/entities.js +0 -3
- package/dist/http/fulfillment-provider/admin/entities.js.map +0 -1
- package/dist/http/fulfillment-provider/admin/index.d.ts +0 -4
- package/dist/http/fulfillment-provider/admin/index.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/admin/index.js +0 -20
- package/dist/http/fulfillment-provider/admin/index.js.map +0 -1
- package/dist/http/fulfillment-provider/admin/queries.d.ts +0 -21
- package/dist/http/fulfillment-provider/admin/queries.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/admin/queries.js +0 -3
- package/dist/http/fulfillment-provider/admin/queries.js.map +0 -1
- package/dist/http/fulfillment-provider/admin/responses.d.ts +0 -17
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/admin/responses.js +0 -3
- package/dist/http/fulfillment-provider/admin/responses.js.map +0 -1
- package/dist/http/fulfillment-provider/common.d.ts +0 -21
- package/dist/http/fulfillment-provider/common.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/common.js +0 -3
- package/dist/http/fulfillment-provider/common.js.map +0 -1
- package/dist/http/fulfillment-provider/index.d.ts +0 -2
- package/dist/http/fulfillment-provider/index.d.ts.map +0 -1
- package/dist/http/fulfillment-provider/index.js +0 -18
- package/dist/http/fulfillment-provider/index.js.map +0 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts +0 -120
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +0 -1
- package/dist/http/fulfillment-set/admin/entities.js +0 -3
- package/dist/http/fulfillment-set/admin/entities.js.map +0 -1
- package/dist/http/fulfillment-set/admin/index.d.ts +0 -5
- package/dist/http/fulfillment-set/admin/index.d.ts.map +0 -1
- package/dist/http/fulfillment-set/admin/index.js +0 -21
- package/dist/http/fulfillment-set/admin/index.js.map +0 -1
- package/dist/http/fulfillment-set/admin/payloads.d.ts +0 -122
- package/dist/http/fulfillment-set/admin/payloads.d.ts.map +0 -1
- package/dist/http/fulfillment-set/admin/payloads.js +0 -3
- package/dist/http/fulfillment-set/admin/payloads.js.map +0 -1
- package/dist/http/fulfillment-set/admin/queries.d.ts +0 -12
- package/dist/http/fulfillment-set/admin/queries.d.ts.map +0 -1
- package/dist/http/fulfillment-set/admin/queries.js +0 -3
- package/dist/http/fulfillment-set/admin/queries.js.map +0 -1
- package/dist/http/fulfillment-set/admin/responses.d.ts +0 -19
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +0 -1
- package/dist/http/fulfillment-set/admin/responses.js +0 -3
- package/dist/http/fulfillment-set/admin/responses.js.map +0 -1
- package/dist/http/fulfillment-set/index.d.ts +0 -2
- package/dist/http/fulfillment-set/index.d.ts.map +0 -1
- package/dist/http/fulfillment-set/index.js +0 -18
- package/dist/http/fulfillment-set/index.js.map +0 -1
- package/dist/http/inventory/admin/entities.d.ts +0 -117
- package/dist/http/inventory/admin/entities.d.ts.map +0 -1
- package/dist/http/inventory/admin/entities.js +0 -3
- package/dist/http/inventory/admin/entities.js.map +0 -1
- package/dist/http/inventory/admin/index.d.ts +0 -5
- package/dist/http/inventory/admin/index.d.ts.map +0 -1
- package/dist/http/inventory/admin/index.js +0 -21
- package/dist/http/inventory/admin/index.js.map +0 -1
- package/dist/http/inventory/admin/payloads.d.ts +0 -61
- package/dist/http/inventory/admin/payloads.d.ts.map +0 -1
- package/dist/http/inventory/admin/payloads.js +0 -3
- package/dist/http/inventory/admin/payloads.js.map +0 -1
- package/dist/http/inventory/admin/queries.d.ts +0 -58
- package/dist/http/inventory/admin/queries.d.ts.map +0 -1
- package/dist/http/inventory/admin/queries.js +0 -3
- package/dist/http/inventory/admin/queries.js.map +0 -1
- package/dist/http/inventory/admin/responses.d.ts +0 -17
- package/dist/http/inventory/admin/responses.d.ts.map +0 -1
- package/dist/http/inventory/admin/responses.js +0 -3
- package/dist/http/inventory/admin/responses.js.map +0 -1
- package/dist/http/inventory/index.d.ts +0 -2
- package/dist/http/inventory/index.d.ts.map +0 -1
- package/dist/http/inventory/index.js +0 -18
- package/dist/http/inventory/index.js.map +0 -1
- package/dist/http/inventory-level/admin/entities.d.ts +0 -39
- package/dist/http/inventory-level/admin/entities.d.ts.map +0 -1
- package/dist/http/inventory-level/admin/entities.js +0 -3
- package/dist/http/inventory-level/admin/entities.js.map +0 -1
- package/dist/http/inventory-level/admin/index.d.ts +0 -5
- package/dist/http/inventory-level/admin/index.d.ts.map +0 -1
- package/dist/http/inventory-level/admin/index.js +0 -21
- package/dist/http/inventory-level/admin/index.js.map +0 -1
- package/dist/http/inventory-level/admin/payloads.d.ts +0 -104
- package/dist/http/inventory-level/admin/payloads.d.ts.map +0 -1
- package/dist/http/inventory-level/admin/payloads.js +0 -3
- package/dist/http/inventory-level/admin/payloads.js.map +0 -1
- package/dist/http/inventory-level/admin/queries.d.ts +0 -9
- package/dist/http/inventory-level/admin/queries.d.ts.map +0 -1
- package/dist/http/inventory-level/admin/queries.js +0 -3
- package/dist/http/inventory-level/admin/queries.js.map +0 -1
- package/dist/http/inventory-level/admin/responses.d.ts +0 -37
- package/dist/http/inventory-level/admin/responses.d.ts.map +0 -1
- package/dist/http/inventory-level/admin/responses.js +0 -3
- package/dist/http/inventory-level/admin/responses.js.map +0 -1
- package/dist/http/inventory-level/index.d.ts +0 -2
- package/dist/http/inventory-level/index.d.ts.map +0 -1
- package/dist/http/inventory-level/index.js +0 -18
- package/dist/http/inventory-level/index.js.map +0 -1
- package/dist/http/order/admin/entities.d.ts +0 -163
- package/dist/http/order/admin/entities.d.ts.map +0 -1
- package/dist/http/order/admin/entities.js +0 -3
- package/dist/http/order/admin/entities.js.map +0 -1
- package/dist/http/order/admin/index.d.ts +0 -5
- package/dist/http/order/admin/index.d.ts.map +0 -1
- package/dist/http/order/admin/index.js +0 -21
- package/dist/http/order/admin/index.js.map +0 -1
- package/dist/http/order/admin/payload.d.ts +0 -190
- package/dist/http/order/admin/payload.d.ts.map +0 -1
- package/dist/http/order/admin/payload.js +0 -3
- package/dist/http/order/admin/payload.js.map +0 -1
- package/dist/http/order/admin/queries.d.ts +0 -72
- package/dist/http/order/admin/queries.d.ts.map +0 -1
- package/dist/http/order/admin/queries.js +0 -3
- package/dist/http/order/admin/queries.js.map +0 -1
- package/dist/http/order/admin/responses.d.ts +0 -45
- package/dist/http/order/admin/responses.d.ts.map +0 -1
- package/dist/http/order/admin/responses.js +0 -3
- package/dist/http/order/admin/responses.js.map +0 -1
- package/dist/http/order/common.d.ts +0 -1082
- package/dist/http/order/common.d.ts.map +0 -1
- package/dist/http/order/common.js +0 -3
- package/dist/http/order/common.js.map +0 -1
- package/dist/http/order/index.d.ts +0 -3
- package/dist/http/order/index.d.ts.map +0 -1
- package/dist/http/order/index.js +0 -19
- package/dist/http/order/index.js.map +0 -1
- package/dist/http/order/store/entities.d.ts +0 -83
- package/dist/http/order/store/entities.d.ts.map +0 -1
- package/dist/http/order/store/entities.js +0 -3
- package/dist/http/order/store/entities.js.map +0 -1
- package/dist/http/order/store/index.d.ts +0 -5
- package/dist/http/order/store/index.d.ts.map +0 -1
- package/dist/http/order/store/index.js +0 -21
- package/dist/http/order/store/index.js.map +0 -1
- package/dist/http/order/store/payloads.d.ts +0 -13
- package/dist/http/order/store/payloads.d.ts.map +0 -1
- package/dist/http/order/store/payloads.js +0 -3
- package/dist/http/order/store/payloads.js.map +0 -1
- package/dist/http/order/store/queries.d.ts +0 -14
- package/dist/http/order/store/queries.d.ts.map +0 -1
- package/dist/http/order/store/queries.js +0 -3
- package/dist/http/order/store/queries.js.map +0 -1
- package/dist/http/order/store/responses.d.ts +0 -15
- package/dist/http/order/store/responses.d.ts.map +0 -1
- package/dist/http/order/store/responses.js +0 -3
- package/dist/http/order/store/responses.js.map +0 -1
- package/dist/http/order-edit/admin/index.d.ts +0 -3
- package/dist/http/order-edit/admin/index.d.ts.map +0 -1
- package/dist/http/order-edit/admin/index.js +0 -19
- package/dist/http/order-edit/admin/index.js.map +0 -1
- package/dist/http/order-edit/admin/payloads.d.ts +0 -60
- package/dist/http/order-edit/admin/payloads.d.ts.map +0 -1
- package/dist/http/order-edit/admin/payloads.js +0 -3
- package/dist/http/order-edit/admin/payloads.js.map +0 -1
- package/dist/http/order-edit/admin/responses.d.ts +0 -16
- package/dist/http/order-edit/admin/responses.d.ts.map +0 -1
- package/dist/http/order-edit/admin/responses.js +0 -3
- package/dist/http/order-edit/admin/responses.js.map +0 -1
- package/dist/http/order-edit/common.d.ts +0 -10
- package/dist/http/order-edit/common.d.ts.map +0 -1
- package/dist/http/order-edit/common.js +0 -3
- package/dist/http/order-edit/common.js.map +0 -1
- package/dist/http/order-edit/index.d.ts +0 -3
- package/dist/http/order-edit/index.d.ts.map +0 -1
- package/dist/http/order-edit/index.js +0 -19
- package/dist/http/order-edit/index.js.map +0 -1
- package/dist/http/payment/admin/entities.d.ts +0 -44
- package/dist/http/payment/admin/entities.d.ts.map +0 -1
- package/dist/http/payment/admin/entities.js +0 -3
- package/dist/http/payment/admin/entities.js.map +0 -1
- package/dist/http/payment/admin/index.d.ts +0 -5
- package/dist/http/payment/admin/index.d.ts.map +0 -1
- package/dist/http/payment/admin/index.js +0 -21
- package/dist/http/payment/admin/index.js.map +0 -1
- package/dist/http/payment/admin/payloads.d.ts +0 -36
- package/dist/http/payment/admin/payloads.d.ts.map +0 -1
- package/dist/http/payment/admin/payloads.js +0 -3
- package/dist/http/payment/admin/payloads.js.map +0 -1
- package/dist/http/payment/admin/queries.d.ts +0 -55
- package/dist/http/payment/admin/queries.d.ts.map +0 -1
- package/dist/http/payment/admin/queries.js +0 -3
- package/dist/http/payment/admin/queries.js.map +0 -1
- package/dist/http/payment/admin/responses.d.ts +0 -48
- package/dist/http/payment/admin/responses.d.ts.map +0 -1
- package/dist/http/payment/admin/responses.js +0 -3
- package/dist/http/payment/admin/responses.js.map +0 -1
- package/dist/http/payment/common.d.ts +0 -344
- package/dist/http/payment/common.d.ts.map +0 -1
- package/dist/http/payment/common.js +0 -3
- package/dist/http/payment/common.js.map +0 -1
- package/dist/http/payment/index.d.ts +0 -3
- package/dist/http/payment/index.d.ts.map +0 -1
- package/dist/http/payment/index.js +0 -19
- package/dist/http/payment/index.js.map +0 -1
- package/dist/http/payment/store/entities.d.ts +0 -20
- package/dist/http/payment/store/entities.d.ts.map +0 -1
- package/dist/http/payment/store/entities.js +0 -3
- package/dist/http/payment/store/entities.js.map +0 -1
- package/dist/http/payment/store/index.d.ts +0 -5
- package/dist/http/payment/store/index.d.ts.map +0 -1
- package/dist/http/payment/store/index.js +0 -21
- package/dist/http/payment/store/index.js.map +0 -1
- package/dist/http/payment/store/payloads.d.ts +0 -17
- package/dist/http/payment/store/payloads.d.ts.map +0 -1
- package/dist/http/payment/store/payloads.js +0 -3
- package/dist/http/payment/store/payloads.js.map +0 -1
- package/dist/http/payment/store/queries.d.ts +0 -13
- package/dist/http/payment/store/queries.d.ts.map +0 -1
- package/dist/http/payment/store/queries.js +0 -3
- package/dist/http/payment/store/queries.js.map +0 -1
- package/dist/http/payment/store/responses.d.ts +0 -15
- package/dist/http/payment/store/responses.d.ts.map +0 -1
- package/dist/http/payment/store/responses.js +0 -3
- package/dist/http/payment/store/responses.js.map +0 -1
- package/dist/http/price-list/admin/entities.d.ts +0 -63
- package/dist/http/price-list/admin/entities.d.ts.map +0 -1
- package/dist/http/price-list/admin/entities.js +0 -3
- package/dist/http/price-list/admin/entities.js.map +0 -1
- package/dist/http/price-list/admin/index.d.ts +0 -5
- package/dist/http/price-list/admin/index.d.ts.map +0 -1
- package/dist/http/price-list/admin/index.js +0 -21
- package/dist/http/price-list/admin/index.js.map +0 -1
- package/dist/http/price-list/admin/payloads.d.ts +0 -148
- package/dist/http/price-list/admin/payloads.d.ts.map +0 -1
- package/dist/http/price-list/admin/payloads.js +0 -3
- package/dist/http/price-list/admin/payloads.js.map +0 -1
- package/dist/http/price-list/admin/queries.d.ts +0 -34
- package/dist/http/price-list/admin/queries.d.ts.map +0 -1
- package/dist/http/price-list/admin/queries.js +0 -3
- package/dist/http/price-list/admin/queries.js.map +0 -1
- package/dist/http/price-list/admin/responses.d.ts +0 -41
- package/dist/http/price-list/admin/responses.d.ts.map +0 -1
- package/dist/http/price-list/admin/responses.js +0 -3
- package/dist/http/price-list/admin/responses.js.map +0 -1
- package/dist/http/price-list/index.d.ts +0 -2
- package/dist/http/price-list/index.d.ts.map +0 -1
- package/dist/http/price-list/index.js +0 -18
- package/dist/http/price-list/index.js.map +0 -1
- package/dist/http/pricing/admin/entities.d.ts +0 -104
- package/dist/http/pricing/admin/entities.d.ts.map +0 -1
- package/dist/http/pricing/admin/entities.js +0 -3
- package/dist/http/pricing/admin/entities.js.map +0 -1
- package/dist/http/pricing/admin/index.d.ts +0 -5
- package/dist/http/pricing/admin/index.d.ts.map +0 -1
- package/dist/http/pricing/admin/index.js +0 -21
- package/dist/http/pricing/admin/index.js.map +0 -1
- package/dist/http/pricing/admin/payloads.d.ts +0 -39
- package/dist/http/pricing/admin/payloads.d.ts.map +0 -1
- package/dist/http/pricing/admin/payloads.js +0 -3
- package/dist/http/pricing/admin/payloads.js.map +0 -1
- package/dist/http/pricing/admin/queries.d.ts +0 -23
- package/dist/http/pricing/admin/queries.d.ts.map +0 -1
- package/dist/http/pricing/admin/queries.js +0 -3
- package/dist/http/pricing/admin/queries.js.map +0 -1
- package/dist/http/pricing/admin/responses.d.ts +0 -18
- package/dist/http/pricing/admin/responses.d.ts.map +0 -1
- package/dist/http/pricing/admin/responses.js +0 -3
- package/dist/http/pricing/admin/responses.js.map +0 -1
- package/dist/http/pricing/common.d.ts +0 -103
- package/dist/http/pricing/common.d.ts.map +0 -1
- package/dist/http/pricing/common.js +0 -3
- package/dist/http/pricing/common.js.map +0 -1
- package/dist/http/pricing/index.d.ts +0 -3
- package/dist/http/pricing/index.d.ts.map +0 -1
- package/dist/http/pricing/index.js +0 -19
- package/dist/http/pricing/index.js.map +0 -1
- package/dist/http/pricing/store/entities.d.ts +0 -52
- package/dist/http/pricing/store/entities.d.ts.map +0 -1
- package/dist/http/pricing/store/entities.js +0 -3
- package/dist/http/pricing/store/entities.js.map +0 -1
- package/dist/http/pricing/store/index.d.ts +0 -2
- package/dist/http/pricing/store/index.d.ts.map +0 -1
- package/dist/http/pricing/store/index.js +0 -18
- package/dist/http/pricing/store/index.js.map +0 -1
- package/dist/http/product/admin/entitites.d.ts +0 -136
- package/dist/http/product/admin/entitites.d.ts.map +0 -1
- package/dist/http/product/admin/entitites.js +0 -3
- package/dist/http/product/admin/entitites.js.map +0 -1
- package/dist/http/product/admin/index.d.ts +0 -5
- package/dist/http/product/admin/index.d.ts.map +0 -1
- package/dist/http/product/admin/index.js +0 -21
- package/dist/http/product/admin/index.js.map +0 -1
- package/dist/http/product/admin/payloads.d.ts +0 -619
- package/dist/http/product/admin/payloads.d.ts.map +0 -1
- package/dist/http/product/admin/payloads.js +0 -3
- package/dist/http/product/admin/payloads.js.map +0 -1
- package/dist/http/product/admin/queries.d.ts +0 -71
- package/dist/http/product/admin/queries.d.ts.map +0 -1
- package/dist/http/product/admin/queries.js +0 -3
- package/dist/http/product/admin/queries.js.map +0 -1
- package/dist/http/product/admin/responses.d.ts +0 -109
- package/dist/http/product/admin/responses.d.ts.map +0 -1
- package/dist/http/product/admin/responses.js +0 -3
- package/dist/http/product/admin/responses.js.map +0 -1
- package/dist/http/product/common.d.ts +0 -436
- package/dist/http/product/common.d.ts.map +0 -1
- package/dist/http/product/common.js +0 -3
- package/dist/http/product/common.js.map +0 -1
- package/dist/http/product/index.d.ts +0 -3
- package/dist/http/product/index.d.ts.map +0 -1
- package/dist/http/product/index.js +0 -19
- package/dist/http/product/index.js.map +0 -1
- package/dist/http/product/store/entitites.d.ts +0 -65
- package/dist/http/product/store/entitites.d.ts.map +0 -1
- package/dist/http/product/store/entitites.js +0 -3
- package/dist/http/product/store/entitites.js.map +0 -1
- package/dist/http/product/store/index.d.ts +0 -4
- package/dist/http/product/store/index.d.ts.map +0 -1
- package/dist/http/product/store/index.js +0 -20
- package/dist/http/product/store/index.js.map +0 -1
- package/dist/http/product/store/queries.d.ts +0 -57
- package/dist/http/product/store/queries.d.ts.map +0 -1
- package/dist/http/product/store/queries.js +0 -3
- package/dist/http/product/store/queries.js.map +0 -1
- package/dist/http/product/store/responses.d.ts +0 -27
- package/dist/http/product/store/responses.d.ts.map +0 -1
- package/dist/http/product/store/responses.js +0 -3
- package/dist/http/product/store/responses.js.map +0 -1
- package/dist/http/product-category/admin/entities.d.ts +0 -22
- package/dist/http/product-category/admin/entities.d.ts.map +0 -1
- package/dist/http/product-category/admin/entities.js +0 -3
- package/dist/http/product-category/admin/entities.js.map +0 -1
- package/dist/http/product-category/admin/index.d.ts +0 -5
- package/dist/http/product-category/admin/index.d.ts.map +0 -1
- package/dist/http/product-category/admin/index.js +0 -21
- package/dist/http/product-category/admin/index.js.map +0 -1
- package/dist/http/product-category/admin/payloads.d.ts +0 -85
- package/dist/http/product-category/admin/payloads.d.ts.map +0 -1
- package/dist/http/product-category/admin/payloads.js +0 -3
- package/dist/http/product-category/admin/payloads.js.map +0 -1
- package/dist/http/product-category/admin/queries.d.ts +0 -14
- package/dist/http/product-category/admin/queries.d.ts.map +0 -1
- package/dist/http/product-category/admin/queries.js +0 -3
- package/dist/http/product-category/admin/queries.js.map +0 -1
- package/dist/http/product-category/admin/responses.d.ts +0 -18
- package/dist/http/product-category/admin/responses.d.ts.map +0 -1
- package/dist/http/product-category/admin/responses.js +0 -3
- package/dist/http/product-category/admin/responses.js.map +0 -1
- package/dist/http/product-category/common.d.ts +0 -135
- package/dist/http/product-category/common.d.ts.map +0 -1
- package/dist/http/product-category/common.js +0 -3
- package/dist/http/product-category/common.js.map +0 -1
- package/dist/http/product-category/index.d.ts +0 -3
- package/dist/http/product-category/index.d.ts.map +0 -1
- package/dist/http/product-category/index.js +0 -19
- package/dist/http/product-category/index.js.map +0 -1
- package/dist/http/product-category/store/entities.d.ts +0 -17
- package/dist/http/product-category/store/entities.d.ts.map +0 -1
- package/dist/http/product-category/store/entities.js +0 -3
- package/dist/http/product-category/store/entities.js.map +0 -1
- package/dist/http/product-category/store/index.d.ts +0 -4
- package/dist/http/product-category/store/index.d.ts.map +0 -1
- package/dist/http/product-category/store/index.js +0 -20
- package/dist/http/product-category/store/index.js.map +0 -1
- package/dist/http/product-category/store/queries.d.ts +0 -6
- package/dist/http/product-category/store/queries.d.ts.map +0 -1
- package/dist/http/product-category/store/queries.js +0 -3
- package/dist/http/product-category/store/queries.js.map +0 -1
- package/dist/http/product-category/store/responses.d.ts +0 -16
- package/dist/http/product-category/store/responses.d.ts.map +0 -1
- package/dist/http/product-category/store/responses.js +0 -3
- package/dist/http/product-category/store/responses.js.map +0 -1
- package/dist/http/product-tag/admin/entities.d.ts +0 -9
- package/dist/http/product-tag/admin/entities.d.ts.map +0 -1
- package/dist/http/product-tag/admin/entities.js +0 -3
- package/dist/http/product-tag/admin/entities.js.map +0 -1
- package/dist/http/product-tag/admin/index.d.ts +0 -5
- package/dist/http/product-tag/admin/index.d.ts.map +0 -1
- package/dist/http/product-tag/admin/index.js +0 -21
- package/dist/http/product-tag/admin/index.js.map +0 -1
- package/dist/http/product-tag/admin/payloads.d.ts +0 -21
- package/dist/http/product-tag/admin/payloads.d.ts.map +0 -1
- package/dist/http/product-tag/admin/payloads.js +0 -3
- package/dist/http/product-tag/admin/payloads.js.map +0 -1
- package/dist/http/product-tag/admin/queries.d.ts +0 -12
- package/dist/http/product-tag/admin/queries.d.ts.map +0 -1
- package/dist/http/product-tag/admin/queries.js +0 -3
- package/dist/http/product-tag/admin/queries.js.map +0 -1
- package/dist/http/product-tag/admin/responses.d.ts +0 -18
- package/dist/http/product-tag/admin/responses.d.ts.map +0 -1
- package/dist/http/product-tag/admin/responses.js +0 -3
- package/dist/http/product-tag/admin/responses.js.map +0 -1
- package/dist/http/product-tag/common.d.ts +0 -51
- package/dist/http/product-tag/common.d.ts.map +0 -1
- package/dist/http/product-tag/common.js +0 -3
- package/dist/http/product-tag/common.js.map +0 -1
- package/dist/http/product-tag/index.d.ts +0 -3
- package/dist/http/product-tag/index.d.ts.map +0 -1
- package/dist/http/product-tag/index.js +0 -19
- package/dist/http/product-tag/index.js.map +0 -1
- package/dist/http/product-tag/store/entities.d.ts +0 -4
- package/dist/http/product-tag/store/entities.d.ts.map +0 -1
- package/dist/http/product-tag/store/entities.js +0 -3
- package/dist/http/product-tag/store/entities.js.map +0 -1
- package/dist/http/product-tag/store/index.d.ts +0 -4
- package/dist/http/product-tag/store/index.d.ts.map +0 -1
- package/dist/http/product-tag/store/index.js +0 -20
- package/dist/http/product-tag/store/index.js.map +0 -1
- package/dist/http/product-tag/store/queries.d.ts +0 -8
- package/dist/http/product-tag/store/queries.d.ts.map +0 -1
- package/dist/http/product-tag/store/queries.js +0 -3
- package/dist/http/product-tag/store/queries.js.map +0 -1
- package/dist/http/product-tag/store/responses.d.ts +0 -16
- package/dist/http/product-tag/store/responses.d.ts.map +0 -1
- package/dist/http/product-tag/store/responses.js +0 -3
- package/dist/http/product-tag/store/responses.js.map +0 -1
- package/dist/http/product-type/admin/entities.d.ts +0 -9
- package/dist/http/product-type/admin/entities.d.ts.map +0 -1
- package/dist/http/product-type/admin/entities.js +0 -3
- package/dist/http/product-type/admin/entities.js.map +0 -1
- package/dist/http/product-type/admin/index.d.ts +0 -5
- package/dist/http/product-type/admin/index.d.ts.map +0 -1
- package/dist/http/product-type/admin/index.js +0 -21
- package/dist/http/product-type/admin/index.js.map +0 -1
- package/dist/http/product-type/admin/payloads.d.ts +0 -21
- package/dist/http/product-type/admin/payloads.d.ts.map +0 -1
- package/dist/http/product-type/admin/payloads.js +0 -3
- package/dist/http/product-type/admin/payloads.js.map +0 -1
- package/dist/http/product-type/admin/queries.d.ts +0 -31
- package/dist/http/product-type/admin/queries.d.ts.map +0 -1
- package/dist/http/product-type/admin/queries.js +0 -3
- package/dist/http/product-type/admin/queries.js.map +0 -1
- package/dist/http/product-type/admin/responses.d.ts +0 -18
- package/dist/http/product-type/admin/responses.d.ts.map +0 -1
- package/dist/http/product-type/admin/responses.js +0 -3
- package/dist/http/product-type/admin/responses.js.map +0 -1
- package/dist/http/product-type/common.d.ts +0 -51
- package/dist/http/product-type/common.d.ts.map +0 -1
- package/dist/http/product-type/common.js +0 -3
- package/dist/http/product-type/common.js.map +0 -1
- package/dist/http/product-type/index.d.ts +0 -3
- package/dist/http/product-type/index.d.ts.map +0 -1
- package/dist/http/product-type/index.js +0 -19
- package/dist/http/product-type/index.js.map +0 -1
- package/dist/http/product-type/store/entities.d.ts +0 -4
- package/dist/http/product-type/store/entities.d.ts.map +0 -1
- package/dist/http/product-type/store/entities.js +0 -3
- package/dist/http/product-type/store/entities.js.map +0 -1
- package/dist/http/product-type/store/index.d.ts +0 -4
- package/dist/http/product-type/store/index.d.ts.map +0 -1
- package/dist/http/product-type/store/index.js +0 -20
- package/dist/http/product-type/store/index.js.map +0 -1
- package/dist/http/product-type/store/queries.d.ts +0 -8
- package/dist/http/product-type/store/queries.d.ts.map +0 -1
- package/dist/http/product-type/store/queries.js +0 -3
- package/dist/http/product-type/store/queries.js.map +0 -1
- package/dist/http/product-type/store/responses.d.ts +0 -16
- package/dist/http/product-type/store/responses.d.ts.map +0 -1
- package/dist/http/product-type/store/responses.js +0 -3
- package/dist/http/product-type/store/responses.js.map +0 -1
- package/dist/http/promotion/admin/entities.d.ts +0 -39
- package/dist/http/promotion/admin/entities.d.ts.map +0 -1
- package/dist/http/promotion/admin/entities.js +0 -3
- package/dist/http/promotion/admin/entities.js.map +0 -1
- package/dist/http/promotion/admin/index.d.ts +0 -5
- package/dist/http/promotion/admin/index.d.ts.map +0 -1
- package/dist/http/promotion/admin/index.js +0 -21
- package/dist/http/promotion/admin/index.js.map +0 -1
- package/dist/http/promotion/admin/payloads.d.ts +0 -242
- package/dist/http/promotion/admin/payloads.d.ts.map +0 -1
- package/dist/http/promotion/admin/payloads.js +0 -3
- package/dist/http/promotion/admin/payloads.js.map +0 -1
- package/dist/http/promotion/admin/queries.d.ts +0 -103
- package/dist/http/promotion/admin/queries.d.ts.map +0 -1
- package/dist/http/promotion/admin/queries.js +0 -3
- package/dist/http/promotion/admin/queries.js.map +0 -1
- package/dist/http/promotion/admin/responses.d.ts +0 -56
- package/dist/http/promotion/admin/responses.d.ts.map +0 -1
- package/dist/http/promotion/admin/responses.js +0 -3
- package/dist/http/promotion/admin/responses.js.map +0 -1
- package/dist/http/promotion/common.d.ts +0 -129
- package/dist/http/promotion/common.d.ts.map +0 -1
- package/dist/http/promotion/common.js +0 -3
- package/dist/http/promotion/common.js.map +0 -1
- package/dist/http/promotion/index.d.ts +0 -3
- package/dist/http/promotion/index.d.ts.map +0 -1
- package/dist/http/promotion/index.js +0 -19
- package/dist/http/promotion/index.js.map +0 -1
- package/dist/http/promotion/store.d.ts +0 -4
- package/dist/http/promotion/store.d.ts.map +0 -1
- package/dist/http/promotion/store.js +0 -3
- package/dist/http/promotion/store.js.map +0 -1
- package/dist/http/refund-reason/admin/entities.d.ts +0 -4
- package/dist/http/refund-reason/admin/entities.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/entities.js +0 -3
- package/dist/http/refund-reason/admin/entities.js.map +0 -1
- package/dist/http/refund-reason/admin/index.d.ts +0 -5
- package/dist/http/refund-reason/admin/index.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/index.js +0 -21
- package/dist/http/refund-reason/admin/index.js.map +0 -1
- package/dist/http/refund-reason/admin/payloads.d.ts +0 -30
- package/dist/http/refund-reason/admin/payloads.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/payloads.js +0 -3
- package/dist/http/refund-reason/admin/payloads.js.map +0 -1
- package/dist/http/refund-reason/admin/queries.d.ts +0 -8
- package/dist/http/refund-reason/admin/queries.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/queries.js +0 -3
- package/dist/http/refund-reason/admin/queries.js.map +0 -1
- package/dist/http/refund-reason/admin/responses.d.ts +0 -18
- package/dist/http/refund-reason/admin/responses.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/responses.js +0 -3
- package/dist/http/refund-reason/admin/responses.js.map +0 -1
- package/dist/http/refund-reason/common.d.ts +0 -65
- package/dist/http/refund-reason/common.d.ts.map +0 -1
- package/dist/http/refund-reason/common.js +0 -3
- package/dist/http/refund-reason/common.js.map +0 -1
- package/dist/http/refund-reason/index.d.ts +0 -2
- package/dist/http/refund-reason/index.d.ts.map +0 -1
- package/dist/http/refund-reason/index.js +0 -18
- package/dist/http/refund-reason/index.js.map +0 -1
- package/dist/http/region/admin/entities.d.ts +0 -10
- package/dist/http/region/admin/entities.d.ts.map +0 -1
- package/dist/http/region/admin/entities.js +0 -3
- package/dist/http/region/admin/entities.js.map +0 -1
- package/dist/http/region/admin/index.d.ts +0 -5
- package/dist/http/region/admin/index.d.ts.map +0 -1
- package/dist/http/region/admin/index.js +0 -21
- package/dist/http/region/admin/index.js.map +0 -1
- package/dist/http/region/admin/payloads.d.ts +0 -87
- package/dist/http/region/admin/payloads.d.ts.map +0 -1
- package/dist/http/region/admin/payloads.js +0 -3
- package/dist/http/region/admin/payloads.js.map +0 -1
- package/dist/http/region/admin/queries.d.ts +0 -36
- package/dist/http/region/admin/queries.d.ts.map +0 -1
- package/dist/http/region/admin/queries.js +0 -3
- package/dist/http/region/admin/queries.js.map +0 -1
- package/dist/http/region/admin/responses.d.ts +0 -16
- package/dist/http/region/admin/responses.d.ts.map +0 -1
- package/dist/http/region/admin/responses.js +0 -3
- package/dist/http/region/admin/responses.js.map +0 -1
- package/dist/http/region/common.d.ts +0 -107
- package/dist/http/region/common.d.ts.map +0 -1
- package/dist/http/region/common.js +0 -3
- package/dist/http/region/common.js.map +0 -1
- package/dist/http/region/index.d.ts +0 -3
- package/dist/http/region/index.d.ts.map +0 -1
- package/dist/http/region/index.js +0 -19
- package/dist/http/region/index.js.map +0 -1
- package/dist/http/region/store/entities.d.ts +0 -6
- package/dist/http/region/store/entities.d.ts.map +0 -1
- package/dist/http/region/store/entities.js +0 -3
- package/dist/http/region/store/entities.js.map +0 -1
- package/dist/http/region/store/index.d.ts +0 -4
- package/dist/http/region/store/index.d.ts.map +0 -1
- package/dist/http/region/store/index.js +0 -20
- package/dist/http/region/store/index.js.map +0 -1
- package/dist/http/region/store/queries.d.ts +0 -7
- package/dist/http/region/store/queries.d.ts.map +0 -1
- package/dist/http/region/store/queries.js +0 -3
- package/dist/http/region/store/queries.js.map +0 -1
- package/dist/http/region/store/responses.d.ts +0 -15
- package/dist/http/region/store/responses.d.ts.map +0 -1
- package/dist/http/region/store/responses.js +0 -3
- package/dist/http/region/store/responses.js.map +0 -1
- package/dist/http/reservation/admin/entities.d.ts +0 -56
- package/dist/http/reservation/admin/entities.d.ts.map +0 -1
- package/dist/http/reservation/admin/entities.js +0 -3
- package/dist/http/reservation/admin/entities.js.map +0 -1
- package/dist/http/reservation/admin/index.d.ts +0 -5
- package/dist/http/reservation/admin/index.d.ts.map +0 -1
- package/dist/http/reservation/admin/index.js +0 -21
- package/dist/http/reservation/admin/index.js.map +0 -1
- package/dist/http/reservation/admin/payloads.d.ts +0 -47
- package/dist/http/reservation/admin/payloads.d.ts.map +0 -1
- package/dist/http/reservation/admin/payloads.js +0 -3
- package/dist/http/reservation/admin/payloads.js.map +0 -1
- package/dist/http/reservation/admin/queries.d.ts +0 -51
- package/dist/http/reservation/admin/queries.d.ts.map +0 -1
- package/dist/http/reservation/admin/queries.js +0 -3
- package/dist/http/reservation/admin/queries.js.map +0 -1
- package/dist/http/reservation/admin/responses.d.ts +0 -16
- package/dist/http/reservation/admin/responses.d.ts.map +0 -1
- package/dist/http/reservation/admin/responses.js +0 -3
- package/dist/http/reservation/admin/responses.js.map +0 -1
- package/dist/http/reservation/index.d.ts +0 -2
- package/dist/http/reservation/index.d.ts.map +0 -1
- package/dist/http/reservation/index.js +0 -18
- package/dist/http/reservation/index.js.map +0 -1
- package/dist/http/return/admin/entities.d.ts +0 -10
- package/dist/http/return/admin/entities.d.ts.map +0 -1
- package/dist/http/return/admin/entities.js +0 -3
- package/dist/http/return/admin/entities.js.map +0 -1
- package/dist/http/return/admin/index.d.ts +0 -5
- package/dist/http/return/admin/index.d.ts.map +0 -1
- package/dist/http/return/admin/index.js +0 -21
- package/dist/http/return/admin/index.js.map +0 -1
- package/dist/http/return/admin/payloads.d.ts +0 -252
- package/dist/http/return/admin/payloads.d.ts.map +0 -1
- package/dist/http/return/admin/payloads.js +0 -3
- package/dist/http/return/admin/payloads.js.map +0 -1
- package/dist/http/return/admin/queries.d.ts +0 -25
- package/dist/http/return/admin/queries.d.ts.map +0 -1
- package/dist/http/return/admin/queries.js +0 -3
- package/dist/http/return/admin/queries.js.map +0 -1
- package/dist/http/return/admin/responses.d.ts +0 -26
- package/dist/http/return/admin/responses.d.ts.map +0 -1
- package/dist/http/return/admin/responses.js +0 -3
- package/dist/http/return/admin/responses.js.map +0 -1
- package/dist/http/return/common.d.ts +0 -102
- package/dist/http/return/common.d.ts.map +0 -1
- package/dist/http/return/common.js +0 -3
- package/dist/http/return/common.js.map +0 -1
- package/dist/http/return/index.d.ts +0 -3
- package/dist/http/return/index.d.ts.map +0 -1
- package/dist/http/return/index.js +0 -19
- package/dist/http/return/index.js.map +0 -1
- package/dist/http/return/store/entities.d.ts +0 -7
- package/dist/http/return/store/entities.d.ts.map +0 -1
- package/dist/http/return/store/entities.js +0 -3
- package/dist/http/return/store/entities.js.map +0 -1
- package/dist/http/return/store/index.d.ts +0 -4
- package/dist/http/return/store/index.d.ts.map +0 -1
- package/dist/http/return/store/index.js +0 -20
- package/dist/http/return/store/index.js.map +0 -1
- package/dist/http/return/store/payloads.d.ts +0 -20
- package/dist/http/return/store/payloads.d.ts.map +0 -1
- package/dist/http/return/store/payloads.js +0 -3
- package/dist/http/return/store/payloads.js.map +0 -1
- package/dist/http/return/store/responses.d.ts +0 -5
- package/dist/http/return/store/responses.d.ts.map +0 -1
- package/dist/http/return/store/responses.js +0 -3
- package/dist/http/return/store/responses.js.map +0 -1
- package/dist/http/return-reason/admin/entities.d.ts +0 -4
- package/dist/http/return-reason/admin/entities.d.ts.map +0 -1
- package/dist/http/return-reason/admin/entities.js +0 -3
- package/dist/http/return-reason/admin/entities.js.map +0 -1
- package/dist/http/return-reason/admin/index.d.ts +0 -5
- package/dist/http/return-reason/admin/index.d.ts.map +0 -1
- package/dist/http/return-reason/admin/index.js +0 -21
- package/dist/http/return-reason/admin/index.js.map +0 -1
- package/dist/http/return-reason/admin/payloads.d.ts +0 -34
- package/dist/http/return-reason/admin/payloads.d.ts.map +0 -1
- package/dist/http/return-reason/admin/payloads.js +0 -3
- package/dist/http/return-reason/admin/payloads.js.map +0 -1
- package/dist/http/return-reason/admin/queries.d.ts +0 -12
- package/dist/http/return-reason/admin/queries.d.ts.map +0 -1
- package/dist/http/return-reason/admin/queries.js +0 -3
- package/dist/http/return-reason/admin/queries.js.map +0 -1
- package/dist/http/return-reason/admin/responses.d.ts +0 -18
- package/dist/http/return-reason/admin/responses.d.ts.map +0 -1
- package/dist/http/return-reason/admin/responses.js +0 -3
- package/dist/http/return-reason/admin/responses.js.map +0 -1
- package/dist/http/return-reason/common.d.ts +0 -49
- package/dist/http/return-reason/common.d.ts.map +0 -1
- package/dist/http/return-reason/common.js +0 -3
- package/dist/http/return-reason/common.js.map +0 -1
- package/dist/http/return-reason/index.d.ts +0 -3
- package/dist/http/return-reason/index.d.ts.map +0 -1
- package/dist/http/return-reason/index.js +0 -19
- package/dist/http/return-reason/index.js.map +0 -1
- package/dist/http/return-reason/store/entities.d.ts +0 -4
- package/dist/http/return-reason/store/entities.d.ts.map +0 -1
- package/dist/http/return-reason/store/entities.js +0 -3
- package/dist/http/return-reason/store/entities.js.map +0 -1
- package/dist/http/return-reason/store/index.d.ts +0 -3
- package/dist/http/return-reason/store/index.d.ts.map +0 -1
- package/dist/http/return-reason/store/index.js +0 -19
- package/dist/http/return-reason/store/index.js.map +0 -1
- package/dist/http/return-reason/store/responses.d.ts +0 -9
- package/dist/http/return-reason/store/responses.d.ts.map +0 -1
- package/dist/http/return-reason/store/responses.js +0 -3
- package/dist/http/return-reason/store/responses.js.map +0 -1
- package/dist/http/sales-channel/admin/entities.d.ts +0 -35
- package/dist/http/sales-channel/admin/entities.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/entities.js +0 -3
- package/dist/http/sales-channel/admin/entities.js.map +0 -1
- package/dist/http/sales-channel/admin/index.d.ts +0 -5
- package/dist/http/sales-channel/admin/index.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/index.js +0 -21
- package/dist/http/sales-channel/admin/index.js.map +0 -1
- package/dist/http/sales-channel/admin/payloads.d.ts +0 -49
- package/dist/http/sales-channel/admin/payloads.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/payloads.js +0 -3
- package/dist/http/sales-channel/admin/payloads.js.map +0 -1
- package/dist/http/sales-channel/admin/queries.d.ts +0 -47
- package/dist/http/sales-channel/admin/queries.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/queries.js +0 -3
- package/dist/http/sales-channel/admin/queries.js.map +0 -1
- package/dist/http/sales-channel/admin/responses.d.ts +0 -17
- package/dist/http/sales-channel/admin/responses.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/responses.js +0 -3
- package/dist/http/sales-channel/admin/responses.js.map +0 -1
- package/dist/http/sales-channel/index.d.ts +0 -2
- package/dist/http/sales-channel/index.d.ts.map +0 -1
- package/dist/http/sales-channel/index.js +0 -18
- package/dist/http/sales-channel/index.js.map +0 -1
- package/dist/http/shipping-option/admin/entities.d.ts +0 -249
- package/dist/http/shipping-option/admin/entities.d.ts.map +0 -1
- package/dist/http/shipping-option/admin/entities.js +0 -3
- package/dist/http/shipping-option/admin/entities.js.map +0 -1
- package/dist/http/shipping-option/admin/index.d.ts +0 -5
- package/dist/http/shipping-option/admin/index.d.ts.map +0 -1
- package/dist/http/shipping-option/admin/index.js +0 -21
- package/dist/http/shipping-option/admin/index.js.map +0 -1
- package/dist/http/shipping-option/admin/payloads.d.ts +0 -281
- package/dist/http/shipping-option/admin/payloads.d.ts.map +0 -1
- package/dist/http/shipping-option/admin/payloads.js +0 -3
- package/dist/http/shipping-option/admin/payloads.js.map +0 -1
- package/dist/http/shipping-option/admin/queries.d.ts +0 -83
- package/dist/http/shipping-option/admin/queries.d.ts.map +0 -1
- package/dist/http/shipping-option/admin/queries.js +0 -3
- package/dist/http/shipping-option/admin/queries.js.map +0 -1
- package/dist/http/shipping-option/admin/responses.d.ts +0 -33
- package/dist/http/shipping-option/admin/responses.d.ts.map +0 -1
- package/dist/http/shipping-option/admin/responses.js +0 -3
- package/dist/http/shipping-option/admin/responses.js.map +0 -1
- package/dist/http/shipping-option/index.d.ts +0 -3
- package/dist/http/shipping-option/index.d.ts.map +0 -1
- package/dist/http/shipping-option/index.js +0 -19
- package/dist/http/shipping-option/index.js.map +0 -1
- package/dist/http/shipping-option/store/entities.d.ts +0 -28
- package/dist/http/shipping-option/store/entities.d.ts.map +0 -1
- package/dist/http/shipping-option/store/entities.js +0 -3
- package/dist/http/shipping-option/store/entities.js.map +0 -1
- package/dist/http/shipping-option/store/index.d.ts +0 -5
- package/dist/http/shipping-option/store/index.d.ts.map +0 -1
- package/dist/http/shipping-option/store/index.js +0 -21
- package/dist/http/shipping-option/store/index.js.map +0 -1
- package/dist/http/shipping-option/store/payloads.d.ts +0 -17
- package/dist/http/shipping-option/store/payloads.d.ts.map +0 -1
- package/dist/http/shipping-option/store/payloads.js +0 -3
- package/dist/http/shipping-option/store/payloads.js.map +0 -1
- package/dist/http/shipping-option/store/queries.d.ts +0 -14
- package/dist/http/shipping-option/store/queries.d.ts.map +0 -1
- package/dist/http/shipping-option/store/queries.js +0 -3
- package/dist/http/shipping-option/store/queries.js.map +0 -1
- package/dist/http/shipping-option/store/responses.d.ts +0 -20
- package/dist/http/shipping-option/store/responses.d.ts.map +0 -1
- package/dist/http/shipping-option/store/responses.js +0 -3
- package/dist/http/shipping-option/store/responses.js.map +0 -1
- package/dist/http/shipping-profile/admin/entities.d.ts +0 -31
- package/dist/http/shipping-profile/admin/entities.d.ts.map +0 -1
- package/dist/http/shipping-profile/admin/entities.js +0 -3
- package/dist/http/shipping-profile/admin/entities.js.map +0 -1
- package/dist/http/shipping-profile/admin/index.d.ts +0 -5
- package/dist/http/shipping-profile/admin/index.d.ts.map +0 -1
- package/dist/http/shipping-profile/admin/index.js +0 -21
- package/dist/http/shipping-profile/admin/index.js.map +0 -1
- package/dist/http/shipping-profile/admin/payloads.d.ts +0 -29
- package/dist/http/shipping-profile/admin/payloads.d.ts.map +0 -1
- package/dist/http/shipping-profile/admin/payloads.js +0 -3
- package/dist/http/shipping-profile/admin/payloads.js.map +0 -1
- package/dist/http/shipping-profile/admin/queries.d.ts +0 -41
- package/dist/http/shipping-profile/admin/queries.d.ts.map +0 -1
- package/dist/http/shipping-profile/admin/queries.js +0 -3
- package/dist/http/shipping-profile/admin/queries.js.map +0 -1
- package/dist/http/shipping-profile/admin/responses.d.ts +0 -17
- package/dist/http/shipping-profile/admin/responses.d.ts.map +0 -1
- package/dist/http/shipping-profile/admin/responses.js +0 -3
- package/dist/http/shipping-profile/admin/responses.js.map +0 -1
- package/dist/http/shipping-profile/index.d.ts +0 -2
- package/dist/http/shipping-profile/index.d.ts.map +0 -1
- package/dist/http/shipping-profile/index.js +0 -18
- package/dist/http/shipping-profile/index.js.map +0 -1
- package/dist/http/stock-locations/admin/entities.d.ts +0 -45
- package/dist/http/stock-locations/admin/entities.d.ts.map +0 -1
- package/dist/http/stock-locations/admin/entities.js +0 -3
- package/dist/http/stock-locations/admin/entities.js.map +0 -1
- package/dist/http/stock-locations/admin/index.d.ts +0 -5
- package/dist/http/stock-locations/admin/index.d.ts.map +0 -1
- package/dist/http/stock-locations/admin/index.js +0 -21
- package/dist/http/stock-locations/admin/index.js.map +0 -1
- package/dist/http/stock-locations/admin/payloads.d.ts +0 -101
- package/dist/http/stock-locations/admin/payloads.d.ts.map +0 -1
- package/dist/http/stock-locations/admin/payloads.js +0 -3
- package/dist/http/stock-locations/admin/payloads.js.map +0 -1
- package/dist/http/stock-locations/admin/queries.d.ts +0 -37
- package/dist/http/stock-locations/admin/queries.d.ts.map +0 -1
- package/dist/http/stock-locations/admin/queries.js +0 -3
- package/dist/http/stock-locations/admin/queries.js.map +0 -1
- package/dist/http/stock-locations/admin/responses.d.ts +0 -18
- package/dist/http/stock-locations/admin/responses.d.ts.map +0 -1
- package/dist/http/stock-locations/admin/responses.js +0 -3
- package/dist/http/stock-locations/admin/responses.js.map +0 -1
- package/dist/http/stock-locations/index.d.ts +0 -2
- package/dist/http/stock-locations/index.d.ts.map +0 -1
- package/dist/http/stock-locations/index.js +0 -18
- package/dist/http/stock-locations/index.js.map +0 -1
- package/dist/http/tax-provider/admin/entities.d.ts +0 -11
- package/dist/http/tax-provider/admin/entities.d.ts.map +0 -1
- package/dist/http/tax-provider/admin/entities.js +0 -3
- package/dist/http/tax-provider/admin/entities.js.map +0 -1
- package/dist/http/tax-provider/admin/index.d.ts +0 -4
- package/dist/http/tax-provider/admin/index.d.ts.map +0 -1
- package/dist/http/tax-provider/admin/index.js +0 -20
- package/dist/http/tax-provider/admin/index.js.map +0 -1
- package/dist/http/tax-provider/admin/queries.d.ts +0 -13
- package/dist/http/tax-provider/admin/queries.d.ts.map +0 -1
- package/dist/http/tax-provider/admin/queries.js +0 -3
- package/dist/http/tax-provider/admin/queries.js.map +0 -1
- package/dist/http/tax-provider/admin/responses.d.ts +0 -9
- package/dist/http/tax-provider/admin/responses.d.ts.map +0 -1
- package/dist/http/tax-provider/admin/responses.js +0 -3
- package/dist/http/tax-provider/admin/responses.js.map +0 -1
- package/dist/http/tax-provider/index.d.ts +0 -2
- package/dist/http/tax-provider/index.d.ts.map +0 -1
- package/dist/http/tax-provider/index.js +0 -18
- package/dist/http/tax-provider/index.js.map +0 -1
- package/dist/http/tax-rate/admin/entities.d.ts +0 -76
- package/dist/http/tax-rate/admin/entities.d.ts.map +0 -1
- package/dist/http/tax-rate/admin/entities.js +0 -3
- package/dist/http/tax-rate/admin/entities.js.map +0 -1
- package/dist/http/tax-rate/admin/index.d.ts +0 -5
- package/dist/http/tax-rate/admin/index.d.ts.map +0 -1
- package/dist/http/tax-rate/admin/index.js +0 -21
- package/dist/http/tax-rate/admin/index.js.map +0 -1
- package/dist/http/tax-rate/admin/payloads.d.ts +0 -81
- package/dist/http/tax-rate/admin/payloads.d.ts.map +0 -1
- package/dist/http/tax-rate/admin/payloads.js +0 -3
- package/dist/http/tax-rate/admin/payloads.js.map +0 -1
- package/dist/http/tax-rate/admin/queries.d.ts +0 -45
- package/dist/http/tax-rate/admin/queries.d.ts.map +0 -1
- package/dist/http/tax-rate/admin/queries.js +0 -3
- package/dist/http/tax-rate/admin/queries.js.map +0 -1
- package/dist/http/tax-rate/admin/responses.d.ts +0 -18
- package/dist/http/tax-rate/admin/responses.d.ts.map +0 -1
- package/dist/http/tax-rate/admin/responses.js +0 -3
- package/dist/http/tax-rate/admin/responses.js.map +0 -1
- package/dist/http/tax-rate/index.d.ts +0 -2
- package/dist/http/tax-rate/index.d.ts.map +0 -1
- package/dist/http/tax-rate/index.js +0 -18
- package/dist/http/tax-rate/index.js.map +0 -1
- package/dist/http/tax-region/admin/entities.d.ts +0 -62
- package/dist/http/tax-region/admin/entities.d.ts.map +0 -1
- package/dist/http/tax-region/admin/entities.js +0 -3
- package/dist/http/tax-region/admin/entities.js.map +0 -1
- package/dist/http/tax-region/admin/index.d.ts +0 -5
- package/dist/http/tax-region/admin/index.d.ts.map +0 -1
- package/dist/http/tax-region/admin/index.js +0 -21
- package/dist/http/tax-region/admin/index.js.map +0 -1
- package/dist/http/tax-region/admin/payloads.d.ts +0 -65
- package/dist/http/tax-region/admin/payloads.d.ts.map +0 -1
- package/dist/http/tax-region/admin/payloads.js +0 -3
- package/dist/http/tax-region/admin/payloads.js.map +0 -1
- package/dist/http/tax-region/admin/queries.d.ts +0 -44
- package/dist/http/tax-region/admin/queries.d.ts.map +0 -1
- package/dist/http/tax-region/admin/queries.js +0 -3
- package/dist/http/tax-region/admin/queries.js.map +0 -1
- package/dist/http/tax-region/admin/responses.d.ts +0 -17
- package/dist/http/tax-region/admin/responses.d.ts.map +0 -1
- package/dist/http/tax-region/admin/responses.js +0 -3
- package/dist/http/tax-region/admin/responses.js.map +0 -1
- package/dist/http/tax-region/index.d.ts +0 -2
- package/dist/http/tax-region/index.d.ts.map +0 -1
- package/dist/http/tax-region/index.js +0 -18
- package/dist/http/tax-region/index.js.map +0 -1
- package/dist/inventory/common/index.d.ts +0 -4
- package/dist/inventory/common/index.d.ts.map +0 -1
- package/dist/inventory/common/index.js +0 -20
- package/dist/inventory/common/index.js.map +0 -1
- package/dist/inventory/common/inventory-item.d.ts +0 -114
- package/dist/inventory/common/inventory-item.d.ts.map +0 -1
- package/dist/inventory/common/inventory-item.js +0 -3
- package/dist/inventory/common/inventory-item.js.map +0 -1
- package/dist/inventory/common/inventory-level.d.ts +0 -80
- package/dist/inventory/common/inventory-level.d.ts.map +0 -1
- package/dist/inventory/common/inventory-level.js +0 -3
- package/dist/inventory/common/inventory-level.js.map +0 -1
- package/dist/inventory/common/reservation-item.d.ts +0 -98
- package/dist/inventory/common/reservation-item.d.ts.map +0 -1
- package/dist/inventory/common/reservation-item.js +0 -3
- package/dist/inventory/common/reservation-item.js.map +0 -1
- package/dist/inventory/index.d.ts +0 -4
- package/dist/inventory/index.d.ts.map +0 -1
- package/dist/inventory/index.js +0 -20
- package/dist/inventory/index.js.map +0 -1
- package/dist/inventory/mutations/index.d.ts +0 -4
- package/dist/inventory/mutations/index.d.ts.map +0 -1
- package/dist/inventory/mutations/index.js +0 -20
- package/dist/inventory/mutations/index.js.map +0 -1
- package/dist/inventory/mutations/inventory-item.d.ts +0 -73
- package/dist/inventory/mutations/inventory-item.d.ts.map +0 -1
- package/dist/inventory/mutations/inventory-item.js +0 -3
- package/dist/inventory/mutations/inventory-item.js.map +0 -1
- package/dist/inventory/mutations/inventory-level.d.ts +0 -63
- package/dist/inventory/mutations/inventory-level.d.ts.map +0 -1
- package/dist/inventory/mutations/inventory-level.js +0 -3
- package/dist/inventory/mutations/inventory-level.js.map +0 -1
- package/dist/inventory/mutations/reservation-item.d.ts +0 -81
- package/dist/inventory/mutations/reservation-item.d.ts.map +0 -1
- package/dist/inventory/mutations/reservation-item.js +0 -3
- package/dist/inventory/mutations/reservation-item.js.map +0 -1
- package/dist/inventory/service.d.ts +0 -1034
- package/dist/inventory/service.d.ts.map +0 -1
- package/dist/inventory/service.js +0 -3
- package/dist/inventory/service.js.map +0 -1
- package/dist/order/common.d.ts +0 -2515
- package/dist/order/common.d.ts.map +0 -1
- package/dist/order/common.js +0 -3
- package/dist/order/common.js.map +0 -1
- package/dist/order/index.d.ts +0 -5
- package/dist/order/index.d.ts.map +0 -1
- package/dist/order/index.js +0 -21
- package/dist/order/index.js.map +0 -1
- package/dist/order/mutations.d.ts +0 -1933
- package/dist/order/mutations.d.ts.map +0 -1
- package/dist/order/mutations.js +0 -3
- package/dist/order/mutations.js.map +0 -1
- package/dist/order/service.d.ts +0 -4130
- package/dist/order/service.d.ts.map +0 -1
- package/dist/order/service.js +0 -3
- package/dist/order/service.js.map +0 -1
- package/dist/order/workflows.d.ts +0 -8
- package/dist/order/workflows.d.ts.map +0 -1
- package/dist/order/workflows.js +0 -3
- package/dist/order/workflows.js.map +0 -1
- package/dist/payment/common.d.ts +0 -585
- package/dist/payment/common.d.ts.map +0 -1
- package/dist/payment/common.js +0 -3
- package/dist/payment/common.js.map +0 -1
- package/dist/payment/index.d.ts +0 -5
- package/dist/payment/index.d.ts.map +0 -1
- package/dist/payment/index.js +0 -21
- package/dist/payment/index.js.map +0 -1
- package/dist/payment/mutations.d.ts +0 -353
- package/dist/payment/mutations.d.ts.map +0 -1
- package/dist/payment/mutations.js +0 -3
- package/dist/payment/mutations.js.map +0 -1
- package/dist/payment/provider.d.ts +0 -617
- package/dist/payment/provider.d.ts.map +0 -1
- package/dist/payment/provider.js +0 -3
- package/dist/payment/provider.js.map +0 -1
- package/dist/payment/service.d.ts +0 -1234
- package/dist/payment/service.d.ts.map +0 -1
- package/dist/payment/service.js +0 -3
- package/dist/payment/service.js.map +0 -1
- package/dist/pricing/common/index.d.ts +0 -8
- package/dist/pricing/common/index.d.ts.map +0 -1
- package/dist/pricing/common/index.js +0 -24
- package/dist/pricing/common/index.js.map +0 -1
- package/dist/pricing/common/money-amount.d.ts +0 -120
- package/dist/pricing/common/money-amount.d.ts.map +0 -1
- package/dist/pricing/common/money-amount.js +0 -3
- package/dist/pricing/common/money-amount.js.map +0 -1
- package/dist/pricing/common/price-list.d.ts +0 -345
- package/dist/pricing/common/price-list.d.ts.map +0 -1
- package/dist/pricing/common/price-list.js +0 -3
- package/dist/pricing/common/price-list.js.map +0 -1
- package/dist/pricing/common/price-preference.d.ts +0 -90
- package/dist/pricing/common/price-preference.d.ts.map +0 -1
- package/dist/pricing/common/price-preference.js +0 -3
- package/dist/pricing/common/price-preference.js.map +0 -1
- package/dist/pricing/common/price-rule.d.ts +0 -165
- package/dist/pricing/common/price-rule.d.ts.map +0 -1
- package/dist/pricing/common/price-rule.js +0 -3
- package/dist/pricing/common/price-rule.js.map +0 -1
- package/dist/pricing/common/price-set.d.ts +0 -289
- package/dist/pricing/common/price-set.d.ts.map +0 -1
- package/dist/pricing/common/price-set.js +0 -3
- package/dist/pricing/common/price-set.js.map +0 -1
- package/dist/pricing/common/price.d.ts +0 -138
- package/dist/pricing/common/price.d.ts.map +0 -1
- package/dist/pricing/common/price.js +0 -3
- package/dist/pricing/common/price.js.map +0 -1
- package/dist/pricing/common/pricing-context.d.ts +0 -11
- package/dist/pricing/common/pricing-context.d.ts.map +0 -1
- package/dist/pricing/common/pricing-context.js +0 -3
- package/dist/pricing/common/pricing-context.js.map +0 -1
- package/dist/pricing/index.d.ts +0 -4
- package/dist/pricing/index.d.ts.map +0 -1
- package/dist/pricing/index.js +0 -20
- package/dist/pricing/index.js.map +0 -1
- package/dist/pricing/service.d.ts +0 -1601
- package/dist/pricing/service.d.ts.map +0 -1
- package/dist/pricing/service.js +0 -3
- package/dist/pricing/service.js.map +0 -1
- package/dist/pricing/workflows.d.ts +0 -242
- package/dist/pricing/workflows.d.ts.map +0 -1
- package/dist/pricing/workflows.js +0 -3
- package/dist/pricing/workflows.js.map +0 -1
- package/dist/product/common.d.ts +0 -1643
- package/dist/product/common.d.ts.map +0 -1
- package/dist/product/common.js +0 -3
- package/dist/product/common.js.map +0 -1
- package/dist/product/index.d.ts +0 -3
- package/dist/product/index.d.ts.map +0 -1
- package/dist/product/index.js +0 -19
- package/dist/product/index.js.map +0 -1
- package/dist/product/service.d.ts +0 -2429
- package/dist/product/service.d.ts.map +0 -1
- package/dist/product/service.js +0 -3
- package/dist/product/service.js.map +0 -1
- package/dist/product-category/index.d.ts +0 -2
- package/dist/product-category/index.d.ts.map +0 -1
- package/dist/product-category/index.js +0 -18
- package/dist/product-category/index.js.map +0 -1
- package/dist/product-category/repository.d.ts +0 -6
- package/dist/product-category/repository.d.ts.map +0 -1
- package/dist/product-category/repository.js +0 -3
- package/dist/product-category/repository.js.map +0 -1
- package/dist/promotion/common/application-method.d.ts +0 -208
- package/dist/promotion/common/application-method.d.ts.map +0 -1
- package/dist/promotion/common/application-method.js +0 -3
- package/dist/promotion/common/application-method.js.map +0 -1
- package/dist/promotion/common/campaign-budget.d.ts +0 -73
- package/dist/promotion/common/campaign-budget.d.ts.map +0 -1
- package/dist/promotion/common/campaign-budget.js +0 -3
- package/dist/promotion/common/campaign-budget.js.map +0 -1
- package/dist/promotion/common/campaign.d.ts +0 -58
- package/dist/promotion/common/campaign.d.ts.map +0 -1
- package/dist/promotion/common/campaign.js +0 -3
- package/dist/promotion/common/campaign.js.map +0 -1
- package/dist/promotion/common/campaing-budget-usage.d.ts +0 -58
- package/dist/promotion/common/campaing-budget-usage.d.ts.map +0 -1
- package/dist/promotion/common/campaing-budget-usage.js +0 -3
- package/dist/promotion/common/campaing-budget-usage.js.map +0 -1
- package/dist/promotion/common/compute-actions.d.ts +0 -296
- package/dist/promotion/common/compute-actions.d.ts.map +0 -1
- package/dist/promotion/common/compute-actions.js +0 -3
- package/dist/promotion/common/compute-actions.js.map +0 -1
- package/dist/promotion/common/index.d.ts +0 -9
- package/dist/promotion/common/index.d.ts.map +0 -1
- package/dist/promotion/common/index.js +0 -25
- package/dist/promotion/common/index.js.map +0 -1
- package/dist/promotion/common/promotion-rule-value.d.ts +0 -47
- package/dist/promotion/common/promotion-rule-value.d.ts.map +0 -1
- package/dist/promotion/common/promotion-rule-value.js +0 -3
- package/dist/promotion/common/promotion-rule-value.js.map +0 -1
- package/dist/promotion/common/promotion-rule.d.ts +0 -106
- package/dist/promotion/common/promotion-rule.d.ts.map +0 -1
- package/dist/promotion/common/promotion-rule.js +0 -3
- package/dist/promotion/common/promotion-rule.js.map +0 -1
- package/dist/promotion/common/promotion.d.ts +0 -214
- package/dist/promotion/common/promotion.d.ts.map +0 -1
- package/dist/promotion/common/promotion.js +0 -3
- package/dist/promotion/common/promotion.js.map +0 -1
- package/dist/promotion/http.d.ts +0 -16
- package/dist/promotion/http.d.ts.map +0 -1
- package/dist/promotion/http.js +0 -3
- package/dist/promotion/http.js.map +0 -1
- package/dist/promotion/index.d.ts +0 -6
- package/dist/promotion/index.d.ts.map +0 -1
- package/dist/promotion/index.js +0 -22
- package/dist/promotion/index.js.map +0 -1
- package/dist/promotion/mutations.d.ts +0 -140
- package/dist/promotion/mutations.d.ts.map +0 -1
- package/dist/promotion/mutations.js +0 -3
- package/dist/promotion/mutations.js.map +0 -1
- package/dist/promotion/service.d.ts +0 -905
- package/dist/promotion/service.d.ts.map +0 -1
- package/dist/promotion/service.js +0 -3
- package/dist/promotion/service.js.map +0 -1
- package/dist/promotion/workflows.d.ts +0 -55
- package/dist/promotion/workflows.d.ts.map +0 -1
- package/dist/promotion/workflows.js +0 -3
- package/dist/promotion/workflows.js.map +0 -1
- package/dist/region/common.d.ts +0 -135
- package/dist/region/common.d.ts.map +0 -1
- package/dist/region/common.js +0 -3
- package/dist/region/common.js.map +0 -1
- package/dist/region/index.d.ts +0 -4
- package/dist/region/index.d.ts.map +0 -1
- package/dist/region/index.js +0 -20
- package/dist/region/index.js.map +0 -1
- package/dist/region/mutations.d.ts +0 -87
- package/dist/region/mutations.d.ts.map +0 -1
- package/dist/region/mutations.js +0 -3
- package/dist/region/mutations.js.map +0 -1
- package/dist/region/service.d.ts +0 -466
- package/dist/region/service.d.ts.map +0 -1
- package/dist/region/service.js +0 -3
- package/dist/region/service.js.map +0 -1
- package/dist/sales-channel/common.d.ts +0 -69
- package/dist/sales-channel/common.d.ts.map +0 -1
- package/dist/sales-channel/common.js +0 -3
- package/dist/sales-channel/common.js.map +0 -1
- package/dist/sales-channel/index.d.ts +0 -4
- package/dist/sales-channel/index.d.ts.map +0 -1
- package/dist/sales-channel/index.js +0 -20
- package/dist/sales-channel/index.js.map +0 -1
- package/dist/sales-channel/mutations.d.ts +0 -66
- package/dist/sales-channel/mutations.d.ts.map +0 -1
- package/dist/sales-channel/mutations.js +0 -3
- package/dist/sales-channel/mutations.js.map +0 -1
- package/dist/sales-channel/service.d.ts +0 -239
- package/dist/sales-channel/service.d.ts.map +0 -1
- package/dist/sales-channel/service.js +0 -3
- package/dist/sales-channel/service.js.map +0 -1
- package/dist/stock-location/common.d.ts +0 -430
- package/dist/stock-location/common.d.ts.map +0 -1
- package/dist/stock-location/common.js +0 -3
- package/dist/stock-location/common.js.map +0 -1
- package/dist/stock-location/index.d.ts +0 -3
- package/dist/stock-location/index.d.ts.map +0 -1
- package/dist/stock-location/index.js +0 -19
- package/dist/stock-location/index.js.map +0 -1
- package/dist/stock-location/service.d.ts +0 -326
- package/dist/stock-location/service.d.ts.map +0 -1
- package/dist/stock-location/service.js +0 -3
- package/dist/stock-location/service.js.map +0 -1
- package/dist/tax/common.d.ts +0 -475
- package/dist/tax/common.d.ts.map +0 -1
- package/dist/tax/common.js +0 -3
- package/dist/tax/common.js.map +0 -1
- package/dist/tax/index.d.ts +0 -5
- package/dist/tax/index.d.ts.map +0 -1
- package/dist/tax/index.js +0 -21
- package/dist/tax/index.js.map +0 -1
- package/dist/tax/mutations.d.ts +0 -262
- package/dist/tax/mutations.d.ts.map +0 -1
- package/dist/tax/mutations.js +0 -3
- package/dist/tax/mutations.js.map +0 -1
- package/dist/tax/provider.d.ts +0 -168
- package/dist/tax/provider.d.ts.map +0 -1
- package/dist/tax/provider.js +0 -3
- package/dist/tax/provider.js.map +0 -1
- package/dist/tax/service.d.ts +0 -775
- package/dist/tax/service.d.ts.map +0 -1
- package/dist/tax/service.js +0 -3
- package/dist/tax/service.js.map +0 -1
- package/dist/workflow/cart/create-cart.d.ts +0 -19
- package/dist/workflow/cart/create-cart.d.ts.map +0 -1
- package/dist/workflow/cart/create-cart.js +0 -3
- package/dist/workflow/cart/create-cart.js.map +0 -1
- package/dist/workflow/cart/index.d.ts +0 -2
- package/dist/workflow/cart/index.d.ts.map +0 -1
- package/dist/workflow/cart/index.js +0 -18
- package/dist/workflow/cart/index.js.map +0 -1
- package/dist/workflow/fulfillment/calculate-shipping-options-prices.d.ts +0 -31
- package/dist/workflow/fulfillment/calculate-shipping-options-prices.d.ts.map +0 -1
- package/dist/workflow/fulfillment/calculate-shipping-options-prices.js +0 -3
- package/dist/workflow/fulfillment/calculate-shipping-options-prices.js.map +0 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +0 -158
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +0 -1
- package/dist/workflow/fulfillment/create-fulfillment.js +0 -3
- package/dist/workflow/fulfillment/create-fulfillment.js.map +0 -1
- package/dist/workflow/fulfillment/create-shipment.d.ts +0 -19
- package/dist/workflow/fulfillment/create-shipment.d.ts.map +0 -1
- package/dist/workflow/fulfillment/create-shipment.js +0 -3
- package/dist/workflow/fulfillment/create-shipment.js.map +0 -1
- package/dist/workflow/fulfillment/create-shipping-options.d.ts +0 -116
- package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +0 -1
- package/dist/workflow/fulfillment/create-shipping-options.js +0 -3
- package/dist/workflow/fulfillment/create-shipping-options.js.map +0 -1
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts +0 -10
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts.map +0 -1
- package/dist/workflow/fulfillment/delete-shipping-options.js +0 -3
- package/dist/workflow/fulfillment/delete-shipping-options.js.map +0 -1
- package/dist/workflow/fulfillment/index.d.ts +0 -10
- package/dist/workflow/fulfillment/index.d.ts.map +0 -1
- package/dist/workflow/fulfillment/index.js +0 -26
- package/dist/workflow/fulfillment/index.js.map +0 -1
- package/dist/workflow/fulfillment/service-zones.d.ts +0 -60
- package/dist/workflow/fulfillment/service-zones.d.ts.map +0 -1
- package/dist/workflow/fulfillment/service-zones.js +0 -3
- package/dist/workflow/fulfillment/service-zones.js.map +0 -1
- package/dist/workflow/fulfillment/shipping-profiles.d.ts +0 -46
- package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +0 -1
- package/dist/workflow/fulfillment/shipping-profiles.js +0 -3
- package/dist/workflow/fulfillment/shipping-profiles.js.map +0 -1
- package/dist/workflow/fulfillment/update-fulfillment.d.ts +0 -42
- package/dist/workflow/fulfillment/update-fulfillment.d.ts.map +0 -1
- package/dist/workflow/fulfillment/update-fulfillment.js +0 -3
- package/dist/workflow/fulfillment/update-fulfillment.js.map +0 -1
- package/dist/workflow/fulfillment/update-shipping-options.d.ts +0 -154
- package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +0 -1
- package/dist/workflow/fulfillment/update-shipping-options.js +0 -3
- package/dist/workflow/fulfillment/update-shipping-options.js.map +0 -1
- package/dist/workflow/inventory/create-inventory-items.d.ts +0 -19
- package/dist/workflow/inventory/create-inventory-items.d.ts.map +0 -1
- package/dist/workflow/inventory/create-inventory-items.js +0 -3
- package/dist/workflow/inventory/create-inventory-items.js.map +0 -1
- package/dist/workflow/inventory/index.d.ts +0 -2
- package/dist/workflow/inventory/index.d.ts.map +0 -1
- package/dist/workflow/inventory/index.js +0 -18
- package/dist/workflow/inventory/index.js.map +0 -1
- package/dist/workflow/order/accept-transfer.d.ts +0 -14
- package/dist/workflow/order/accept-transfer.d.ts.map +0 -1
- package/dist/workflow/order/accept-transfer.js +0 -3
- package/dist/workflow/order/accept-transfer.js.map +0 -1
- package/dist/workflow/order/begin-claim-order.d.ts +0 -31
- package/dist/workflow/order/begin-claim-order.d.ts.map +0 -1
- package/dist/workflow/order/begin-claim-order.js +0 -3
- package/dist/workflow/order/begin-claim-order.js.map +0 -1
- package/dist/workflow/order/begin-exchange-order.d.ts +0 -26
- package/dist/workflow/order/begin-exchange-order.d.ts.map +0 -1
- package/dist/workflow/order/begin-exchange-order.js +0 -3
- package/dist/workflow/order/begin-exchange-order.js.map +0 -1
- package/dist/workflow/order/begin-order-edit.d.ts +0 -29
- package/dist/workflow/order/begin-order-edit.d.ts.map +0 -1
- package/dist/workflow/order/begin-order-edit.js +0 -3
- package/dist/workflow/order/begin-order-edit.js.map +0 -1
- package/dist/workflow/order/begin-return-order.d.ts +0 -30
- package/dist/workflow/order/begin-return-order.d.ts.map +0 -1
- package/dist/workflow/order/begin-return-order.js +0 -3
- package/dist/workflow/order/begin-return-order.js.map +0 -1
- package/dist/workflow/order/cancel-claim.d.ts +0 -18
- package/dist/workflow/order/cancel-claim.d.ts.map +0 -1
- package/dist/workflow/order/cancel-claim.js +0 -3
- package/dist/workflow/order/cancel-claim.js.map +0 -1
- package/dist/workflow/order/cancel-exchange.d.ts +0 -18
- package/dist/workflow/order/cancel-exchange.d.ts.map +0 -1
- package/dist/workflow/order/cancel-exchange.js +0 -3
- package/dist/workflow/order/cancel-exchange.js.map +0 -1
- package/dist/workflow/order/cancel-fulfillment.d.ts +0 -19
- package/dist/workflow/order/cancel-fulfillment.d.ts.map +0 -1
- package/dist/workflow/order/cancel-fulfillment.js +0 -3
- package/dist/workflow/order/cancel-fulfillment.js.map +0 -1
- package/dist/workflow/order/cancel-order.d.ts +0 -18
- package/dist/workflow/order/cancel-order.d.ts.map +0 -1
- package/dist/workflow/order/cancel-order.js +0 -3
- package/dist/workflow/order/cancel-order.js.map +0 -1
- package/dist/workflow/order/cancel-return.d.ts +0 -18
- package/dist/workflow/order/cancel-return.d.ts.map +0 -1
- package/dist/workflow/order/cancel-return.js +0 -3
- package/dist/workflow/order/cancel-return.js.map +0 -1
- package/dist/workflow/order/cancel-transfer.d.ts +0 -18
- package/dist/workflow/order/cancel-transfer.d.ts.map +0 -1
- package/dist/workflow/order/cancel-transfer.js +0 -3
- package/dist/workflow/order/cancel-transfer.js.map +0 -1
- package/dist/workflow/order/create-fulfillment.d.ts +0 -65
- package/dist/workflow/order/create-fulfillment.d.ts.map +0 -1
- package/dist/workflow/order/create-fulfillment.js +0 -3
- package/dist/workflow/order/create-fulfillment.js.map +0 -1
- package/dist/workflow/order/create-return-order.d.ts +0 -85
- package/dist/workflow/order/create-return-order.d.ts.map +0 -1
- package/dist/workflow/order/create-return-order.js +0 -3
- package/dist/workflow/order/create-return-order.js.map +0 -1
- package/dist/workflow/order/create-shipment.d.ts +0 -51
- package/dist/workflow/order/create-shipment.d.ts.map +0 -1
- package/dist/workflow/order/create-shipment.js +0 -3
- package/dist/workflow/order/create-shipment.js.map +0 -1
- package/dist/workflow/order/decline-transfer.d.ts +0 -14
- package/dist/workflow/order/decline-transfer.d.ts.map +0 -1
- package/dist/workflow/order/decline-transfer.js +0 -3
- package/dist/workflow/order/decline-transfer.js.map +0 -1
- package/dist/workflow/order/index.d.ts +0 -23
- package/dist/workflow/order/index.d.ts.map +0 -1
- package/dist/workflow/order/index.js +0 -39
- package/dist/workflow/order/index.js.map +0 -1
- package/dist/workflow/order/items.d.ts +0 -323
- package/dist/workflow/order/items.d.ts.map +0 -1
- package/dist/workflow/order/items.js +0 -3
- package/dist/workflow/order/items.js.map +0 -1
- package/dist/workflow/order/receive-return.d.ts +0 -120
- package/dist/workflow/order/receive-return.d.ts.map +0 -1
- package/dist/workflow/order/receive-return.js +0 -3
- package/dist/workflow/order/receive-return.js.map +0 -1
- package/dist/workflow/order/request-item-return.d.ts +0 -140
- package/dist/workflow/order/request-item-return.d.ts.map +0 -1
- package/dist/workflow/order/request-item-return.js +0 -3
- package/dist/workflow/order/request-item-return.js.map +0 -1
- package/dist/workflow/order/request-transfer.d.ts +0 -24
- package/dist/workflow/order/request-transfer.d.ts.map +0 -1
- package/dist/workflow/order/request-transfer.js +0 -3
- package/dist/workflow/order/request-transfer.js.map +0 -1
- package/dist/workflow/order/shipping-method.d.ts +0 -198
- package/dist/workflow/order/shipping-method.d.ts.map +0 -1
- package/dist/workflow/order/shipping-method.js +0 -3
- package/dist/workflow/order/shipping-method.js.map +0 -1
- package/dist/workflow/order/update-order.d.ts +0 -44
- package/dist/workflow/order/update-order.d.ts.map +0 -1
- package/dist/workflow/order/update-order.js +0 -3
- package/dist/workflow/order/update-order.js.map +0 -1
- package/dist/workflow/order/update-return.d.ts +0 -22
- package/dist/workflow/order/update-return.d.ts.map +0 -1
- package/dist/workflow/order/update-return.js +0 -3
- package/dist/workflow/order/update-return.js.map +0 -1
- package/dist/workflow/price-list/create-price-list.d.ts +0 -66
- package/dist/workflow/price-list/create-price-list.d.ts.map +0 -1
- package/dist/workflow/price-list/create-price-list.js +0 -3
- package/dist/workflow/price-list/create-price-list.js.map +0 -1
- package/dist/workflow/price-list/index.d.ts +0 -3
- package/dist/workflow/price-list/index.d.ts.map +0 -1
- package/dist/workflow/price-list/index.js +0 -19
- package/dist/workflow/price-list/index.js.map +0 -1
- package/dist/workflow/price-list/remove-price-list.d.ts +0 -4
- package/dist/workflow/price-list/remove-price-list.d.ts.map +0 -1
- package/dist/workflow/price-list/remove-price-list.js +0 -3
- package/dist/workflow/price-list/remove-price-list.js.map +0 -1
- package/dist/workflow/pricing/index.d.ts +0 -31
- package/dist/workflow/pricing/index.d.ts.map +0 -1
- package/dist/workflow/pricing/index.js +0 -3
- package/dist/workflow/pricing/index.js.map +0 -1
- package/dist/workflow/product/create-product-variants.d.ts +0 -26
- package/dist/workflow/product/create-product-variants.d.ts.map +0 -1
- package/dist/workflow/product/create-product-variants.js +0 -3
- package/dist/workflow/product/create-product-variants.js.map +0 -1
- package/dist/workflow/product/create-products.d.ts +0 -82
- package/dist/workflow/product/create-products.d.ts.map +0 -1
- package/dist/workflow/product/create-products.js +0 -3
- package/dist/workflow/product/create-products.js.map +0 -1
- package/dist/workflow/product/export-products.d.ts +0 -21
- package/dist/workflow/product/export-products.d.ts.map +0 -1
- package/dist/workflow/product/export-products.js +0 -3
- package/dist/workflow/product/export-products.js.map +0 -1
- package/dist/workflow/product/import-products.d.ts +0 -18
- package/dist/workflow/product/import-products.d.ts.map +0 -1
- package/dist/workflow/product/import-products.js +0 -3
- package/dist/workflow/product/import-products.js.map +0 -1
- package/dist/workflow/product/index.d.ts +0 -7
- package/dist/workflow/product/index.d.ts.map +0 -1
- package/dist/workflow/product/index.js +0 -23
- package/dist/workflow/product/index.js.map +0 -1
- package/dist/workflow/product/update-product-variants.d.ts +0 -37
- package/dist/workflow/product/update-product-variants.d.ts.map +0 -1
- package/dist/workflow/product/update-product-variants.js +0 -3
- package/dist/workflow/product/update-product-variants.js.map +0 -1
- package/dist/workflow/product/update-products.d.ts +0 -78
- package/dist/workflow/product/update-products.d.ts.map +0 -1
- package/dist/workflow/product/update-products.js +0 -3
- package/dist/workflow/product/update-products.js.map +0 -1
- package/dist/workflow/product-category/index.d.ts +0 -31
- package/dist/workflow/product-category/index.d.ts.map +0 -1
- package/dist/workflow/product-category/index.js +0 -3
- package/dist/workflow/product-category/index.js.map +0 -1
- package/dist/workflow/region/create-regions.d.ts +0 -26
- package/dist/workflow/region/create-regions.d.ts.map +0 -1
- package/dist/workflow/region/create-regions.js +0 -3
- package/dist/workflow/region/create-regions.js.map +0 -1
- package/dist/workflow/region/index.d.ts +0 -3
- package/dist/workflow/region/index.d.ts.map +0 -1
- package/dist/workflow/region/index.js +0 -19
- package/dist/workflow/region/index.js.map +0 -1
- package/dist/workflow/region/update-regions.d.ts +0 -10
- package/dist/workflow/region/update-regions.d.ts.map +0 -1
- package/dist/workflow/region/update-regions.js +0 -3
- package/dist/workflow/region/update-regions.js.map +0 -1
- package/dist/workflow/reservation/create-reservations.d.ts +0 -15
- package/dist/workflow/reservation/create-reservations.d.ts.map +0 -1
- package/dist/workflow/reservation/create-reservations.js +0 -3
- package/dist/workflow/reservation/create-reservations.js.map +0 -1
- package/dist/workflow/reservation/index.d.ts +0 -3
- package/dist/workflow/reservation/index.d.ts.map +0 -1
- package/dist/workflow/reservation/index.js +0 -19
- package/dist/workflow/reservation/index.js.map +0 -1
- package/dist/workflow/reservation/update-reservations.d.ts +0 -15
- package/dist/workflow/reservation/update-reservations.d.ts.map +0 -1
- package/dist/workflow/reservation/update-reservations.js +0 -3
- package/dist/workflow/reservation/update-reservations.js.map +0 -1
- package/dist/workflows/products/index.d.ts +0 -2
- package/dist/workflows/products/index.d.ts.map +0 -1
- package/dist/workflows/products/index.js +0 -18
- package/dist/workflows/products/index.js.map +0 -1
- package/dist/workflows/products/mutations.d.ts +0 -45
- package/dist/workflows/products/mutations.d.ts.map +0 -1
- package/dist/workflows/products/mutations.js +0 -3
- package/dist/workflows/products/mutations.js.map +0 -1
- package/dist/workflows/stock-locations/index.d.ts +0 -2
- package/dist/workflows/stock-locations/index.d.ts.map +0 -1
- package/dist/workflows/stock-locations/index.js +0 -18
- package/dist/workflows/stock-locations/index.js.map +0 -1
- package/dist/workflows/stock-locations/mutations.d.ts +0 -23
- package/dist/workflows/stock-locations/mutations.d.ts.map +0 -1
- package/dist/workflows/stock-locations/mutations.js +0 -3
- package/dist/workflows/stock-locations/mutations.js.map +0 -1
|
@@ -1,1601 +0,0 @@
|
|
|
1
|
-
import { FindConfig } from "../common";
|
|
2
|
-
import { RestoreReturn, SoftDeleteReturn } from "../dal";
|
|
3
|
-
import { IModuleService } from "../modules-sdk";
|
|
4
|
-
import { Context } from "../shared-context";
|
|
5
|
-
import { AddPriceListPricesDTO, AddPricesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceRuleDTO, CreatePriceSetDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceProps, FilterablePriceRuleProps, FilterablePriceSetProps, PriceDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpsertPriceSetDTO } from "./common";
|
|
6
|
-
import { CreatePricePreferenceDTO, FilterablePricePreferenceProps, PricePreferenceDTO, UpdatePricePreferenceDTO, UpsertPricePreferenceDTO } from "./common/price-preference";
|
|
7
|
-
/**
|
|
8
|
-
* The main service interface for the Pricing Module.
|
|
9
|
-
*/
|
|
10
|
-
export interface IPricingModuleService extends IModuleService {
|
|
11
|
-
/**
|
|
12
|
-
* This method is used to calculate prices based on the provided filters and context.
|
|
13
|
-
*
|
|
14
|
-
* @param {PricingFilters} filters - The filters to apply on prices.
|
|
15
|
-
* @param {PricingContext} context -
|
|
16
|
-
* The context used to select the prices. For example, you can specify the region ID in this context, and only prices having the same value
|
|
17
|
-
* will be retrieved.
|
|
18
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
19
|
-
* @returns {Promise<CalculatedPriceSet[]>} The calculated prices matching the context and filters provided.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* When you calculate prices, you must at least specify the currency code:
|
|
23
|
-
*
|
|
24
|
-
* ```ts
|
|
25
|
-
* const price = await pricingModuleService.calculatePrices(
|
|
26
|
-
* {
|
|
27
|
-
* id: ["pset_123", "pset_321"],
|
|
28
|
-
* },
|
|
29
|
-
* {
|
|
30
|
-
* context: {
|
|
31
|
-
* currency_code: "usd",
|
|
32
|
-
* },
|
|
33
|
-
* }
|
|
34
|
-
* )
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* To calculate prices for specific minimum and/or maximum quantity:
|
|
38
|
-
*
|
|
39
|
-
* ```ts
|
|
40
|
-
* const price = await pricingModuleService.calculatePrices(
|
|
41
|
-
* {
|
|
42
|
-
* id: ["pset_123", "pset_321"],
|
|
43
|
-
* },
|
|
44
|
-
* {
|
|
45
|
-
* context: {
|
|
46
|
-
* currency_code: "usd",
|
|
47
|
-
* min_quantity: 4,
|
|
48
|
-
* },
|
|
49
|
-
* }
|
|
50
|
-
* )
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* To calculate prices for custom rule types:
|
|
54
|
-
*
|
|
55
|
-
* ```ts
|
|
56
|
-
* const price = await pricingModuleService.calculatePrices(
|
|
57
|
-
* {
|
|
58
|
-
* id: ["pset_123", "pset_321"],
|
|
59
|
-
* },
|
|
60
|
-
* {
|
|
61
|
-
* context: {
|
|
62
|
-
* currency_code: "usd",
|
|
63
|
-
* region_id: "US",
|
|
64
|
-
* },
|
|
65
|
-
* }
|
|
66
|
-
* )
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
|
-
calculatePrices(filters: PricingFilters, context?: PricingContext, sharedContext?: Context): Promise<CalculatedPriceSet[]>;
|
|
70
|
-
/**
|
|
71
|
-
* This method is used to retrieve a price set by its ID.
|
|
72
|
-
*
|
|
73
|
-
* @param {string} id - The ID of the price set to retrieve.
|
|
74
|
-
* @param {FindConfig<PriceSetDTO>} config -
|
|
75
|
-
* The configurations determining how the price set is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
76
|
-
* attributes or relations associated with a price set.
|
|
77
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
78
|
-
* @returns {Promise<PriceSetDTO>} The retrieved price set.
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* A simple example that retrieves a price set by its ID:
|
|
82
|
-
*
|
|
83
|
-
* ```ts
|
|
84
|
-
* const priceSet =
|
|
85
|
-
* await pricingModuleService.retrievePriceSet("pset_123")
|
|
86
|
-
* ```
|
|
87
|
-
*
|
|
88
|
-
* To specify relations that should be retrieved:
|
|
89
|
-
*
|
|
90
|
-
* :::note
|
|
91
|
-
*
|
|
92
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
93
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
94
|
-
*
|
|
95
|
-
* :::
|
|
96
|
-
*
|
|
97
|
-
* ```ts
|
|
98
|
-
* const priceSet = await pricingModuleService.retrievePriceSet(
|
|
99
|
-
* "pset_123",
|
|
100
|
-
* {
|
|
101
|
-
* relations: ["prices"],
|
|
102
|
-
* }
|
|
103
|
-
* )
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
retrievePriceSet(id: string, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO>;
|
|
107
|
-
/**
|
|
108
|
-
* This method is used to retrieve a paginated list of price sets based on optional filters and configuration.
|
|
109
|
-
*
|
|
110
|
-
* @param {FilterablePriceSetProps} filters - The filters to apply on the retrieved price lists.
|
|
111
|
-
* @param {FindConfig<PriceSetDTO>} config -
|
|
112
|
-
* The configurations determining how the price sets are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
113
|
-
* attributes or relations associated with a price set.
|
|
114
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
115
|
-
* @returns {Promise<PriceSetDTO[]>} The list of price sets.
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
*
|
|
119
|
-
* To retrieve a list of price sets using their IDs:
|
|
120
|
-
*
|
|
121
|
-
* ```ts
|
|
122
|
-
* const priceSets = await pricingModuleService.listPriceSets({
|
|
123
|
-
* id: ["pset_123", "pset_321"],
|
|
124
|
-
* })
|
|
125
|
-
* ```
|
|
126
|
-
*
|
|
127
|
-
* To specify relations that should be retrieved within the price sets:
|
|
128
|
-
*
|
|
129
|
-
* :::note
|
|
130
|
-
*
|
|
131
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
132
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
133
|
-
*
|
|
134
|
-
* :::
|
|
135
|
-
*
|
|
136
|
-
* ```ts
|
|
137
|
-
* const priceSets = await pricingModuleService.listPriceSets(
|
|
138
|
-
* {
|
|
139
|
-
* id: ["pset_123", "pset_321"],
|
|
140
|
-
* },
|
|
141
|
-
* {
|
|
142
|
-
* relations: ["prices"],
|
|
143
|
-
* }
|
|
144
|
-
* )
|
|
145
|
-
* ```
|
|
146
|
-
*
|
|
147
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
148
|
-
*
|
|
149
|
-
* ```ts
|
|
150
|
-
* const priceSets = await pricingModuleService.listPriceSets(
|
|
151
|
-
* {
|
|
152
|
-
* id: ["pset_123", "pset_321"],
|
|
153
|
-
* },
|
|
154
|
-
* {
|
|
155
|
-
* relations: ["prices"],
|
|
156
|
-
* take: 20,
|
|
157
|
-
* skip: 2,
|
|
158
|
-
* }
|
|
159
|
-
* )
|
|
160
|
-
* ```
|
|
161
|
-
*/
|
|
162
|
-
listPriceSets(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO[]>;
|
|
163
|
-
/**
|
|
164
|
-
* This method is used to retrieve a paginated list of price sets along with the total count of available price sets satisfying the provided filters.
|
|
165
|
-
*
|
|
166
|
-
* @param {FilterablePriceSetProps} filters - The filters to apply on the retrieved price lists.
|
|
167
|
-
* @param {FindConfig<PriceSetDTO>} config -
|
|
168
|
-
* The configurations determining how the price sets are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
169
|
-
* attributes or relations associated with a price set.
|
|
170
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
171
|
-
* @returns {Promise<[PriceSetDTO[], number]>} The list of price sets along with their total count.
|
|
172
|
-
*
|
|
173
|
-
* @example
|
|
174
|
-
*
|
|
175
|
-
* To retrieve a list of prices sets using their IDs:
|
|
176
|
-
*
|
|
177
|
-
* ```ts
|
|
178
|
-
* const [priceSets, count] =
|
|
179
|
-
* await pricingModuleService.listAndCountPriceSets({
|
|
180
|
-
* id: ["pset_123", "pset_321"],
|
|
181
|
-
* })
|
|
182
|
-
* ```
|
|
183
|
-
*
|
|
184
|
-
* To specify relations that should be retrieved within the price sets:
|
|
185
|
-
*
|
|
186
|
-
* :::note
|
|
187
|
-
*
|
|
188
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
189
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
190
|
-
*
|
|
191
|
-
* :::
|
|
192
|
-
*
|
|
193
|
-
* ```ts
|
|
194
|
-
* const [priceSets, count] =
|
|
195
|
-
* await pricingModuleService.listAndCountPriceSets(
|
|
196
|
-
* {
|
|
197
|
-
* id: ["pset_123", "pset_321"],
|
|
198
|
-
* },
|
|
199
|
-
* {
|
|
200
|
-
* relations: ["prices"],
|
|
201
|
-
* }
|
|
202
|
-
* )
|
|
203
|
-
* ```
|
|
204
|
-
*
|
|
205
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
206
|
-
*
|
|
207
|
-
* ```ts
|
|
208
|
-
* const [priceSets, count] =
|
|
209
|
-
* await pricingModuleService.listAndCountPriceSets(
|
|
210
|
-
* {
|
|
211
|
-
* id: ["pset_123", "pset_321"],
|
|
212
|
-
* },
|
|
213
|
-
* {
|
|
214
|
-
* relations: ["prices"],
|
|
215
|
-
* take: 20,
|
|
216
|
-
* skip: 2,
|
|
217
|
-
* }
|
|
218
|
-
* )
|
|
219
|
-
* ```
|
|
220
|
-
*/
|
|
221
|
-
listAndCountPriceSets(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<[PriceSetDTO[], number]>;
|
|
222
|
-
/**
|
|
223
|
-
* This method is used to create a new price set.
|
|
224
|
-
*
|
|
225
|
-
* @param {CreatePriceSetDTO} data - The attributes of the price set to create.
|
|
226
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
227
|
-
* @returns {Promise<PriceSetDTO>} The created price set.
|
|
228
|
-
*
|
|
229
|
-
* @example
|
|
230
|
-
* To create a default price set, don't pass any rules. For example:
|
|
231
|
-
*
|
|
232
|
-
* ```ts
|
|
233
|
-
* const priceSet = await pricingModuleService.createPriceSets({
|
|
234
|
-
* rules: [],
|
|
235
|
-
* prices: [
|
|
236
|
-
* {
|
|
237
|
-
* amount: 500,
|
|
238
|
-
* currency_code: "USD",
|
|
239
|
-
* min_quantity: 0,
|
|
240
|
-
* max_quantity: 4,
|
|
241
|
-
* rules: {},
|
|
242
|
-
* },
|
|
243
|
-
* {
|
|
244
|
-
* amount: 400,
|
|
245
|
-
* currency_code: "USD",
|
|
246
|
-
* min_quantity: 5,
|
|
247
|
-
* max_quantity: 10,
|
|
248
|
-
* rules: {},
|
|
249
|
-
* },
|
|
250
|
-
* ],
|
|
251
|
-
* })
|
|
252
|
-
* ```
|
|
253
|
-
*
|
|
254
|
-
* To create a price set and associate it with rule types:
|
|
255
|
-
*
|
|
256
|
-
* ```ts
|
|
257
|
-
* const priceSet = await pricingModuleService.createPriceSets({
|
|
258
|
-
* prices: [
|
|
259
|
-
* {
|
|
260
|
-
* amount: 300,
|
|
261
|
-
* currency_code: "EUR",
|
|
262
|
-
* rules: {
|
|
263
|
-
* region_id: "PL",
|
|
264
|
-
* city: "krakow",
|
|
265
|
-
* },
|
|
266
|
-
* },
|
|
267
|
-
* {
|
|
268
|
-
* amount: 400,
|
|
269
|
-
* currency_code: "EUR",
|
|
270
|
-
* rules: {
|
|
271
|
-
* region_id: "PL",
|
|
272
|
-
* },
|
|
273
|
-
* },
|
|
274
|
-
* {
|
|
275
|
-
* amount: 450,
|
|
276
|
-
* currency_code: "EUR",
|
|
277
|
-
* rules: {
|
|
278
|
-
* city: "krakow",
|
|
279
|
-
* },
|
|
280
|
-
* },
|
|
281
|
-
* ],
|
|
282
|
-
* })
|
|
283
|
-
* ```
|
|
284
|
-
*/
|
|
285
|
-
createPriceSets(data: CreatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
|
|
286
|
-
/**
|
|
287
|
-
* This method is used to create multiple price sets.
|
|
288
|
-
*
|
|
289
|
-
* @param {CreatePriceSetDTO[]} data - The price sets to create.
|
|
290
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
291
|
-
* @returns {Promise<PriceSetDTO[]>} The list of created price sets.
|
|
292
|
-
*
|
|
293
|
-
* @example
|
|
294
|
-
* const priceSets = await pricingModuleService.createPriceSets([
|
|
295
|
-
* // default price set
|
|
296
|
-
* {
|
|
297
|
-
* rules: [],
|
|
298
|
-
* prices: [
|
|
299
|
-
* {
|
|
300
|
-
* amount: 500,
|
|
301
|
-
* currency_code: "USD",
|
|
302
|
-
* min_quantity: 0,
|
|
303
|
-
* max_quantity: 4,
|
|
304
|
-
* rules: {},
|
|
305
|
-
* },
|
|
306
|
-
* {
|
|
307
|
-
* amount: 400,
|
|
308
|
-
* currency_code: "USD",
|
|
309
|
-
* min_quantity: 5,
|
|
310
|
-
* max_quantity: 10,
|
|
311
|
-
* rules: {},
|
|
312
|
-
* },
|
|
313
|
-
* ],
|
|
314
|
-
* },
|
|
315
|
-
* // price set with rules
|
|
316
|
-
* {
|
|
317
|
-
* prices: [
|
|
318
|
-
* {
|
|
319
|
-
* amount: 300,
|
|
320
|
-
* currency_code: "EUR",
|
|
321
|
-
* rules: {
|
|
322
|
-
* region_id: "PL",
|
|
323
|
-
* city: "krakow",
|
|
324
|
-
* },
|
|
325
|
-
* },
|
|
326
|
-
* {
|
|
327
|
-
* amount: 400,
|
|
328
|
-
* currency_code: "EUR",
|
|
329
|
-
* rules: {
|
|
330
|
-
* region_id: "PL",
|
|
331
|
-
* },
|
|
332
|
-
* },
|
|
333
|
-
* {
|
|
334
|
-
* amount: 450,
|
|
335
|
-
* currency_code: "EUR",
|
|
336
|
-
* rules: {
|
|
337
|
-
* city: "krakow",
|
|
338
|
-
* },
|
|
339
|
-
* },
|
|
340
|
-
* ],
|
|
341
|
-
* },
|
|
342
|
-
* ])
|
|
343
|
-
*/
|
|
344
|
-
createPriceSets(data: CreatePriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
|
|
345
|
-
/**
|
|
346
|
-
* This method updates existing price sets, or creates new ones if they don't exist.
|
|
347
|
-
*
|
|
348
|
-
* @param {UpsertPriceSetDTO[]} data - The attributes to update or create for each price set.
|
|
349
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
350
|
-
* @returns {Promise<PriceSetDTO[]>} The updated and created price sets.
|
|
351
|
-
*
|
|
352
|
-
* @example
|
|
353
|
-
* const priceSets = await pricingModuleService.upsertPriceSets([
|
|
354
|
-
* {
|
|
355
|
-
* prices: [
|
|
356
|
-
* {
|
|
357
|
-
* amount: 100,
|
|
358
|
-
* currency_code: "USD",
|
|
359
|
-
* },
|
|
360
|
-
* ],
|
|
361
|
-
* },
|
|
362
|
-
* ])
|
|
363
|
-
*/
|
|
364
|
-
upsertPriceSets(data: UpsertPriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
|
|
365
|
-
/**
|
|
366
|
-
* This method updates the price set if it exists, or creates a new ones if it doesn't.
|
|
367
|
-
*
|
|
368
|
-
* @param {UpsertPriceSetDTO} data - The attributes to update or create for the new price set.
|
|
369
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
370
|
-
* @returns {Promise<PriceSetDTO>} The updated or created price set.
|
|
371
|
-
*
|
|
372
|
-
* @example
|
|
373
|
-
* const priceSet = await pricingModuleService.upsertPriceSets({
|
|
374
|
-
* id: "pset_123",
|
|
375
|
-
* prices: [{ amount: 100, currency_code: "USD" }],
|
|
376
|
-
* })
|
|
377
|
-
*/
|
|
378
|
-
upsertPriceSets(data: UpsertPriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
|
|
379
|
-
/**
|
|
380
|
-
* This method is used to update a price set.
|
|
381
|
-
*
|
|
382
|
-
* @param {string} id - The ID of the price set to be updated.
|
|
383
|
-
* @param {UpdatePriceSetDTO} data - The attributes of the price set to be updated
|
|
384
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
385
|
-
* @returns {Promise<PriceSetDTO>} The updated price set.
|
|
386
|
-
*
|
|
387
|
-
* @example
|
|
388
|
-
* const priceSet = await pricingModuleService.updatePriceSets(
|
|
389
|
-
* "pset_123",
|
|
390
|
-
* {
|
|
391
|
-
* prices: [{ amount: 100, currency_code: "USD" }],
|
|
392
|
-
* }
|
|
393
|
-
* )
|
|
394
|
-
*/
|
|
395
|
-
updatePriceSets(id: string, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
|
|
396
|
-
/**
|
|
397
|
-
* This method is used to update a list of price sets determined by the selector filters.
|
|
398
|
-
*
|
|
399
|
-
* @param {FilterablePriceSetProps} selector - The filters that will determine which price sets will be updated.
|
|
400
|
-
* @param {UpdatePriceSetDTO} data - The attributes to be updated on the selected price sets
|
|
401
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
402
|
-
* @returns {Promise<PriceSetDTO[]>} The updated price sets.
|
|
403
|
-
*
|
|
404
|
-
* @example
|
|
405
|
-
* const priceSets = await pricingModuleService.updatePriceSets(
|
|
406
|
-
* {
|
|
407
|
-
* id: ["pset_123", "pset_321"],
|
|
408
|
-
* },
|
|
409
|
-
* {
|
|
410
|
-
* prices: [{ amount: 100, currency_code: "USD" }],
|
|
411
|
-
* }
|
|
412
|
-
* )
|
|
413
|
-
*/
|
|
414
|
-
updatePriceSets(selector: FilterablePriceSetProps, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO[]>;
|
|
415
|
-
/**
|
|
416
|
-
* This method deletes price sets by their IDs.
|
|
417
|
-
*
|
|
418
|
-
* @param {string[]} ids - The IDs of the price sets to delete.
|
|
419
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
420
|
-
* @returns {Promise<void>} Resolves when the price sets are successfully deleted.
|
|
421
|
-
*
|
|
422
|
-
* @example
|
|
423
|
-
* await pricingModuleService.deletePriceSets(["pset_123", "pset_321"])
|
|
424
|
-
*/
|
|
425
|
-
deletePriceSets(ids: string[], sharedContext?: Context): Promise<void>;
|
|
426
|
-
/**
|
|
427
|
-
* This method adds prices to a price set.
|
|
428
|
-
*
|
|
429
|
-
* @param {AddPricesDTO} data - The data defining the price set to add the prices to, along with the prices to add.
|
|
430
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
431
|
-
* @returns {Promise<PriceSetDTO>} The price set that the prices were added to.
|
|
432
|
-
*
|
|
433
|
-
* @example
|
|
434
|
-
*
|
|
435
|
-
* To add a default price to a price set, don't pass it any rules and make sure to pass it the `currency_code`:
|
|
436
|
-
*
|
|
437
|
-
* ```ts
|
|
438
|
-
* const priceSet = await pricingModuleService.addPrices({
|
|
439
|
-
* priceSetId: "pset_123",
|
|
440
|
-
* prices: [
|
|
441
|
-
* {
|
|
442
|
-
* amount: 500,
|
|
443
|
-
* currency_code: "USD",
|
|
444
|
-
* rules: {},
|
|
445
|
-
* },
|
|
446
|
-
* ],
|
|
447
|
-
* })
|
|
448
|
-
* ```
|
|
449
|
-
*
|
|
450
|
-
* To add prices with rules:
|
|
451
|
-
*
|
|
452
|
-
* ```ts
|
|
453
|
-
* const priceSet = await pricingModuleService.addPrices({
|
|
454
|
-
* priceSetId: "pset_123",
|
|
455
|
-
* prices: [
|
|
456
|
-
* {
|
|
457
|
-
* amount: 300,
|
|
458
|
-
* currency_code: "EUR",
|
|
459
|
-
* rules: {
|
|
460
|
-
* region_id: "PL",
|
|
461
|
-
* city: "krakow",
|
|
462
|
-
* },
|
|
463
|
-
* },
|
|
464
|
-
* {
|
|
465
|
-
* amount: 400,
|
|
466
|
-
* currency_code: "EUR",
|
|
467
|
-
* min_quantity: 0,
|
|
468
|
-
* max_quantity: 4,
|
|
469
|
-
* rules: {
|
|
470
|
-
* region_id: "PL",
|
|
471
|
-
* },
|
|
472
|
-
* },
|
|
473
|
-
* {
|
|
474
|
-
* amount: 450,
|
|
475
|
-
* currency_code: "EUR",
|
|
476
|
-
* rules: {
|
|
477
|
-
* city: "krakow",
|
|
478
|
-
* },
|
|
479
|
-
* },
|
|
480
|
-
* ],
|
|
481
|
-
* })
|
|
482
|
-
* ```
|
|
483
|
-
*/
|
|
484
|
-
addPrices(data: AddPricesDTO, sharedContext?: Context): Promise<PriceSetDTO>;
|
|
485
|
-
/**
|
|
486
|
-
* This method adds prices to multiple price sets.
|
|
487
|
-
*
|
|
488
|
-
* @param {AddPricesDTO[]} data - The data defining the prices to add per price set.
|
|
489
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
490
|
-
* @returns {Promise<PriceSetDTO[]>} The list of the price sets that prices were added to.
|
|
491
|
-
*
|
|
492
|
-
* @example
|
|
493
|
-
* const priceSets = await pricingModuleService.addPrices([
|
|
494
|
-
* {
|
|
495
|
-
* priceSetId: "pset_123",
|
|
496
|
-
* prices: [
|
|
497
|
-
* // default price because it doesn't
|
|
498
|
-
* // have rules
|
|
499
|
-
* {
|
|
500
|
-
* amount: 500,
|
|
501
|
-
* currency_code: "USD",
|
|
502
|
-
* rules: {},
|
|
503
|
-
* },
|
|
504
|
-
* ],
|
|
505
|
-
* },
|
|
506
|
-
* {
|
|
507
|
-
* priceSetId: "pset_321",
|
|
508
|
-
* prices: [
|
|
509
|
-
* // prices with rules
|
|
510
|
-
* {
|
|
511
|
-
* amount: 300,
|
|
512
|
-
* currency_code: "EUR",
|
|
513
|
-
* rules: {
|
|
514
|
-
* region_id: "PL",
|
|
515
|
-
* city: "krakow",
|
|
516
|
-
* },
|
|
517
|
-
* },
|
|
518
|
-
* ],
|
|
519
|
-
* },
|
|
520
|
-
* ])
|
|
521
|
-
*/
|
|
522
|
-
addPrices(data: AddPricesDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
|
|
523
|
-
/**
|
|
524
|
-
* This method is used to retrieve a paginated list of prices based on optional filters and configuration.
|
|
525
|
-
*
|
|
526
|
-
* @param {FilterablePriceProps} filters - The filters to apply on the retrieved prices.
|
|
527
|
-
* @param {FindConfig<PriceDTO>} config -
|
|
528
|
-
* The configurations determining how the prices are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
529
|
-
* attributes or relations associated with a price.
|
|
530
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
531
|
-
* @returns {Promise<PriceDTO[]>} The list of prices.
|
|
532
|
-
*
|
|
533
|
-
* @example
|
|
534
|
-
*
|
|
535
|
-
* To retrieve a list of prices using their IDs:
|
|
536
|
-
*
|
|
537
|
-
* ```ts
|
|
538
|
-
* const prices = await pricingModuleService.listPrices({
|
|
539
|
-
* id: ["price_123", "price_321"],
|
|
540
|
-
* })
|
|
541
|
-
* ```
|
|
542
|
-
*
|
|
543
|
-
* To specify relations that should be retrieved within the prices:
|
|
544
|
-
*
|
|
545
|
-
* :::note
|
|
546
|
-
*
|
|
547
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
548
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
549
|
-
*
|
|
550
|
-
* :::
|
|
551
|
-
*
|
|
552
|
-
* ```ts
|
|
553
|
-
* const prices = await pricingModuleService.listPrices(
|
|
554
|
-
* {
|
|
555
|
-
* id: ["price_123", "price_321"],
|
|
556
|
-
* },
|
|
557
|
-
* {
|
|
558
|
-
* relations: ["price_rules"],
|
|
559
|
-
* }
|
|
560
|
-
* )
|
|
561
|
-
* ```
|
|
562
|
-
*
|
|
563
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
564
|
-
*
|
|
565
|
-
* ```ts
|
|
566
|
-
* const prices = await pricingModuleService.listPrices(
|
|
567
|
-
* {
|
|
568
|
-
* id: ["price_123", "price_321"],
|
|
569
|
-
* },
|
|
570
|
-
* {
|
|
571
|
-
* relations: ["price_rules"],
|
|
572
|
-
* take: 20,
|
|
573
|
-
* skip: 2,
|
|
574
|
-
* }
|
|
575
|
-
* )
|
|
576
|
-
* ```
|
|
577
|
-
*/
|
|
578
|
-
listPrices(filters?: FilterablePriceProps, config?: FindConfig<PriceDTO>, sharedContext?: Context): Promise<PriceDTO[]>;
|
|
579
|
-
/**
|
|
580
|
-
* This method soft deletes prices by their IDs.
|
|
581
|
-
*
|
|
582
|
-
* @param {string[]} priceIds - The IDs of the prices.
|
|
583
|
-
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
|
584
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
585
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated price rules.
|
|
586
|
-
* The object's keys are the ID attribute names of the price entity's relations, such as `price_rule_id`, and its value is an array of strings, each being the ID of a record associated
|
|
587
|
-
* with the price through this relation, such as the IDs of associated price rule.
|
|
588
|
-
*
|
|
589
|
-
* If there are no related records, the promise resolves to `void`.
|
|
590
|
-
*
|
|
591
|
-
* @example
|
|
592
|
-
* await pricingModuleService.softDeletePrices([
|
|
593
|
-
* "price_123",
|
|
594
|
-
* "price_321",
|
|
595
|
-
* ])
|
|
596
|
-
*/
|
|
597
|
-
softDeletePrices<TReturnableLinkableKeys extends string = string>(priceIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
598
|
-
/**
|
|
599
|
-
* This method restores soft deleted prices by their IDs.
|
|
600
|
-
*
|
|
601
|
-
* @param {string[]} priceIds - The IDs of the prices.
|
|
602
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the prices. You can pass to its `returnLinkableKeys`
|
|
603
|
-
* property any of the price's relation attribute names, such as price_rules`.
|
|
604
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
605
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated price rules.
|
|
606
|
-
* The object's keys are the ID attribute names of the prices entity's relations, such as `price_rule_id`,
|
|
607
|
-
* and its value is an array of strings, each being the ID of the record associated with the prices through this relation,
|
|
608
|
-
* such as the IDs of associated price rules.
|
|
609
|
-
*
|
|
610
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
611
|
-
*
|
|
612
|
-
* @example
|
|
613
|
-
* await pricingModuleService.restorePrices([
|
|
614
|
-
* "price_123",
|
|
615
|
-
* "price_321",
|
|
616
|
-
* ])
|
|
617
|
-
*/
|
|
618
|
-
restorePrices<TReturnableLinkableKeys extends string = string>(priceIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
619
|
-
/**
|
|
620
|
-
* This method is used to retrieve a paginated list of prices along with the total count of
|
|
621
|
-
* available prices satisfying the provided filters.
|
|
622
|
-
*
|
|
623
|
-
* @param {FilterablePriceProps} filters - The filters to apply on the retrieved prices.
|
|
624
|
-
* @param {FindConfig<PriceDTO>} config -
|
|
625
|
-
* The configurations determining how the prices are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
626
|
-
* attributes or relations associated with a price.
|
|
627
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
628
|
-
* @returns {Promise<[PriceDTO[], number]>} The list of prices and their total count.
|
|
629
|
-
*
|
|
630
|
-
* @example
|
|
631
|
-
*
|
|
632
|
-
* To retrieve a list of prices using their IDs:
|
|
633
|
-
*
|
|
634
|
-
* ```ts
|
|
635
|
-
* const [prices, count] = await pricingModuleService.listPrices(
|
|
636
|
-
* {
|
|
637
|
-
* id: ["price_123", "price_321"],
|
|
638
|
-
* }
|
|
639
|
-
* )
|
|
640
|
-
* ```
|
|
641
|
-
*
|
|
642
|
-
* To specify relations that should be retrieved within the prices:
|
|
643
|
-
*
|
|
644
|
-
* :::note
|
|
645
|
-
*
|
|
646
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
647
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
648
|
-
*
|
|
649
|
-
* :::
|
|
650
|
-
*
|
|
651
|
-
* ```ts
|
|
652
|
-
* const [prices, count] = await pricingModuleService.listPrices(
|
|
653
|
-
* {
|
|
654
|
-
* id: ["price_123", "price_321"],
|
|
655
|
-
* },
|
|
656
|
-
* {
|
|
657
|
-
* relations: ["price_rules"],
|
|
658
|
-
* }
|
|
659
|
-
* )
|
|
660
|
-
* ```
|
|
661
|
-
*
|
|
662
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
663
|
-
*
|
|
664
|
-
* ```ts
|
|
665
|
-
* const [prices, count] = await pricingModuleService.listPrices(
|
|
666
|
-
* {
|
|
667
|
-
* id: ["price_123", "price_321"],
|
|
668
|
-
* },
|
|
669
|
-
* {
|
|
670
|
-
* relations: ["price_rules"],
|
|
671
|
-
* take: 20,
|
|
672
|
-
* skip: 2,
|
|
673
|
-
* }
|
|
674
|
-
* )
|
|
675
|
-
* ```
|
|
676
|
-
*/
|
|
677
|
-
listAndCountPrices(filters?: FilterablePriceProps, config?: FindConfig<PriceDTO>, sharedContext?: Context): Promise<[PriceDTO[], number]>;
|
|
678
|
-
/**
|
|
679
|
-
* This method is used to retrieve a price rule by its ID.
|
|
680
|
-
*
|
|
681
|
-
* @param {string} id - The ID of the price rule to retrieve.
|
|
682
|
-
* @param {FindConfig<PriceRuleDTO>} config -
|
|
683
|
-
* The configurations determining how the price rule is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
684
|
-
* attributes or relations associated with a price rule.
|
|
685
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
686
|
-
* @returns {Promise<PriceRuleDTO>} The retrieved price rule.
|
|
687
|
-
*
|
|
688
|
-
* @example
|
|
689
|
-
* A simple example that retrieves a price rule by its ID:
|
|
690
|
-
*
|
|
691
|
-
* ```ts
|
|
692
|
-
* const priceRule =
|
|
693
|
-
* await pricingModuleService.retrievePriceRule("prule_123")
|
|
694
|
-
* ```
|
|
695
|
-
*
|
|
696
|
-
* To specify relations that should be retrieved:
|
|
697
|
-
*
|
|
698
|
-
* :::note
|
|
699
|
-
*
|
|
700
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
701
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
702
|
-
*
|
|
703
|
-
* :::
|
|
704
|
-
*
|
|
705
|
-
* ```ts
|
|
706
|
-
* const priceRule =
|
|
707
|
-
* await pricingModuleService.retrievePriceRule("prule_123", {
|
|
708
|
-
* relations: ["price_set"],
|
|
709
|
-
* })
|
|
710
|
-
* ```
|
|
711
|
-
*/
|
|
712
|
-
retrievePriceRule(id: string, config?: FindConfig<PriceRuleDTO>, sharedContext?: Context): Promise<PriceRuleDTO>;
|
|
713
|
-
/**
|
|
714
|
-
* This method is used to retrieve a paginated list of price rules based on optional filters and configuration.
|
|
715
|
-
*
|
|
716
|
-
* @param {FilterablePriceRuleProps} filters - The filters to apply on the retrieved price rules.
|
|
717
|
-
* @param {FindConfig<PriceRuleDTO>} config -
|
|
718
|
-
* The configurations determining how the price rule is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
719
|
-
* attributes or relations associated with a price rule.
|
|
720
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
721
|
-
* @returns {Promise<PriceRuleDTO[]>} The list of price rules.
|
|
722
|
-
*
|
|
723
|
-
* @example
|
|
724
|
-
*
|
|
725
|
-
* To retrieve a list of price rules using their IDs:
|
|
726
|
-
*
|
|
727
|
-
* ```ts
|
|
728
|
-
* const priceRules = await pricingModuleService.listPriceRules({
|
|
729
|
-
* id: ["prule_123", "prule_321"],
|
|
730
|
-
* })
|
|
731
|
-
* ```
|
|
732
|
-
*
|
|
733
|
-
* To specify relations that should be retrieved within the price rules:
|
|
734
|
-
*
|
|
735
|
-
* :::note
|
|
736
|
-
*
|
|
737
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
738
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
739
|
-
*
|
|
740
|
-
* :::
|
|
741
|
-
*
|
|
742
|
-
* ```ts
|
|
743
|
-
* const priceRules = await pricingModuleService.listPriceRules(
|
|
744
|
-
* {
|
|
745
|
-
* id: ["prule_123", "prule_321"],
|
|
746
|
-
* },
|
|
747
|
-
* {
|
|
748
|
-
* relations: ["price_set"],
|
|
749
|
-
* }
|
|
750
|
-
* )
|
|
751
|
-
* ```
|
|
752
|
-
*
|
|
753
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
754
|
-
*
|
|
755
|
-
* ```ts
|
|
756
|
-
* const priceRules = await pricingModuleService.listPriceRules(
|
|
757
|
-
* {
|
|
758
|
-
* id: ["prule_123", "prule_321"],
|
|
759
|
-
* },
|
|
760
|
-
* {
|
|
761
|
-
* relations: ["price_set"],
|
|
762
|
-
* take: 20,
|
|
763
|
-
* skip: 2,
|
|
764
|
-
* }
|
|
765
|
-
* )
|
|
766
|
-
* ```
|
|
767
|
-
*/
|
|
768
|
-
listPriceRules(filters?: FilterablePriceRuleProps, config?: FindConfig<PriceRuleDTO>, sharedContext?: Context): Promise<PriceRuleDTO[]>;
|
|
769
|
-
/**
|
|
770
|
-
* This method is used to retrieve a paginated list of price rules along with the total count of available price rules satisfying the provided filters.
|
|
771
|
-
*
|
|
772
|
-
* @param {FilterablePriceRuleProps} filters - The filters to apply on the retrieved price rules.
|
|
773
|
-
* @param {FindConfig<PriceRuleDTO>} config -
|
|
774
|
-
* The configurations determining how the price rule is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
775
|
-
* attributes or relations associated with a price rule.
|
|
776
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
777
|
-
* @returns {Promise<PriceRuleDTO[]>} The list of price rules along with their total count.
|
|
778
|
-
*
|
|
779
|
-
* @example
|
|
780
|
-
*
|
|
781
|
-
* To retrieve a list of price rules using their IDs:
|
|
782
|
-
*
|
|
783
|
-
* ```ts
|
|
784
|
-
* const [priceRules, count] =
|
|
785
|
-
* await pricingModuleService.listAndCountPriceListRules({
|
|
786
|
-
* id: ["prule_123", "prule_321"],
|
|
787
|
-
* })
|
|
788
|
-
* ```
|
|
789
|
-
*
|
|
790
|
-
* To specify relations that should be retrieved within the price rules:
|
|
791
|
-
*
|
|
792
|
-
* :::note
|
|
793
|
-
*
|
|
794
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
795
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
796
|
-
*
|
|
797
|
-
* :::
|
|
798
|
-
*
|
|
799
|
-
* ```ts
|
|
800
|
-
* const [priceRules, count] =
|
|
801
|
-
* await pricingModuleService.listAndCountPriceListRules(
|
|
802
|
-
* {
|
|
803
|
-
* id: ["prule_123", "prule_321"],
|
|
804
|
-
* },
|
|
805
|
-
* {
|
|
806
|
-
* relations: ["price_set"],
|
|
807
|
-
* }
|
|
808
|
-
* )
|
|
809
|
-
* ```
|
|
810
|
-
*
|
|
811
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
812
|
-
*
|
|
813
|
-
* ```ts
|
|
814
|
-
* const [priceRules, count] =
|
|
815
|
-
* await pricingModuleService.listAndCountPriceListRules(
|
|
816
|
-
* {
|
|
817
|
-
* id: ["prule_123", "prule_321"],
|
|
818
|
-
* },
|
|
819
|
-
* {
|
|
820
|
-
* relations: ["price_set"],
|
|
821
|
-
* take: 20,
|
|
822
|
-
* skip: 2,
|
|
823
|
-
* }
|
|
824
|
-
* )
|
|
825
|
-
* ```
|
|
826
|
-
*/
|
|
827
|
-
listAndCountPriceRules(filters?: FilterablePriceRuleProps, config?: FindConfig<PriceRuleDTO>, sharedContext?: Context): Promise<[PriceRuleDTO[], number]>;
|
|
828
|
-
/**
|
|
829
|
-
* This method is used to create new price rules based on the provided data.
|
|
830
|
-
*
|
|
831
|
-
* @param {CreatePriceRuleDTO[]} data - The price rules to create.
|
|
832
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
833
|
-
* @returns {Promise<PriceRuleDTO[]>} The list of created price rules.
|
|
834
|
-
*
|
|
835
|
-
* @example
|
|
836
|
-
* const priceRules =
|
|
837
|
-
* await pricingModuleService.createPriceRules([
|
|
838
|
-
* {
|
|
839
|
-
* value: "VIP",
|
|
840
|
-
* attribute: "customer_group",
|
|
841
|
-
* price_set_id: "pset_123",
|
|
842
|
-
* },
|
|
843
|
-
* ])
|
|
844
|
-
*/
|
|
845
|
-
createPriceRules(data: CreatePriceRuleDTO[], sharedContext?: Context): Promise<PriceRuleDTO[]>;
|
|
846
|
-
/**
|
|
847
|
-
* This method is used to update price rules, each with their provided data.
|
|
848
|
-
*
|
|
849
|
-
* @param {UpdatePriceRuleDTO[]} data - The price rules to update, each having attributes that should be updated in a price rule.
|
|
850
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
851
|
-
* @returns {Promise<PriceRuleDTO[]>} The list of updated price rules.
|
|
852
|
-
*
|
|
853
|
-
* @example
|
|
854
|
-
* const priceRules =
|
|
855
|
-
* await pricingModuleService.updatePriceRules([
|
|
856
|
-
* {
|
|
857
|
-
* id: "prule_123",
|
|
858
|
-
* price_id: "price_123",
|
|
859
|
-
* },
|
|
860
|
-
* ])
|
|
861
|
-
*/
|
|
862
|
-
updatePriceRules(data: UpdatePriceRuleDTO[], sharedContext?: Context): Promise<PriceRuleDTO[]>;
|
|
863
|
-
/**
|
|
864
|
-
* This method is used to delete price rules based on the specified IDs.
|
|
865
|
-
*
|
|
866
|
-
* @param {string[]} priceRuleIds - The IDs of the price rules to delete.
|
|
867
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
868
|
-
* @returns {Promise<void>} Resolves once the price rules are deleted.
|
|
869
|
-
*
|
|
870
|
-
* @example
|
|
871
|
-
* await pricingModuleService.deletePriceRules([
|
|
872
|
-
* "prule_123",
|
|
873
|
-
* "prule_321",
|
|
874
|
-
* ])
|
|
875
|
-
*/
|
|
876
|
-
deletePriceRules(priceRuleIds: string[], sharedContext?: Context): Promise<void>;
|
|
877
|
-
/**
|
|
878
|
-
* This method is used to retrieve a price list by its ID.
|
|
879
|
-
*
|
|
880
|
-
* @param {string} id - The ID of the price list to retrieve.
|
|
881
|
-
* @param {FindConfig<PriceListDTO>} config -
|
|
882
|
-
* The configurations determining how the price list is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
883
|
-
* attributes or relations associated with a price list.
|
|
884
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
885
|
-
* @returns {Promise<PriceListDTO>} The retrieved price list.
|
|
886
|
-
*
|
|
887
|
-
* @example
|
|
888
|
-
* A simple example that retrieves a price list by its ID:
|
|
889
|
-
*
|
|
890
|
-
* ```ts
|
|
891
|
-
* const priceList =
|
|
892
|
-
* await pricingModuleService.retrievePriceList("plist_123")
|
|
893
|
-
* ```
|
|
894
|
-
*
|
|
895
|
-
* To specify relations that should be retrieved:
|
|
896
|
-
*
|
|
897
|
-
* :::note
|
|
898
|
-
*
|
|
899
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
900
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
901
|
-
*
|
|
902
|
-
* :::
|
|
903
|
-
*
|
|
904
|
-
* ```ts
|
|
905
|
-
* const priceList =
|
|
906
|
-
* await pricingModuleService.retrievePriceList("plist_123", {
|
|
907
|
-
* relations: ["prices"],
|
|
908
|
-
* })
|
|
909
|
-
* ```
|
|
910
|
-
*/
|
|
911
|
-
retrievePriceList(id: string, config?: FindConfig<PriceListDTO>, sharedContext?: Context): Promise<PriceListDTO>;
|
|
912
|
-
/**
|
|
913
|
-
* This method is used to retrieve a paginated list of price lists based on optional filters and configuration.
|
|
914
|
-
*
|
|
915
|
-
* @param {FilterablePriceListProps} filters - The filters to apply on the retrieved price lists.
|
|
916
|
-
* @param {FindConfig<PriceListDTO>} config -
|
|
917
|
-
* The configurations determining how the price lists are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
918
|
-
* attributes or relations associated with a price list.
|
|
919
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
920
|
-
* @returns {Promise<PriceListDTO[]>} The list of price lists.
|
|
921
|
-
*
|
|
922
|
-
* @example
|
|
923
|
-
*
|
|
924
|
-
* To retrieve a list of price lists using their IDs:
|
|
925
|
-
*
|
|
926
|
-
* ```ts
|
|
927
|
-
* const priceLists = await pricingModuleService.listPriceLists({
|
|
928
|
-
* id: ["plist_123", "plist_321"],
|
|
929
|
-
* })
|
|
930
|
-
* ```
|
|
931
|
-
*
|
|
932
|
-
* To specify relations that should be retrieved within the price lists:
|
|
933
|
-
*
|
|
934
|
-
* :::note
|
|
935
|
-
*
|
|
936
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
937
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
938
|
-
*
|
|
939
|
-
* :::
|
|
940
|
-
*
|
|
941
|
-
* ```ts
|
|
942
|
-
* const priceLists = await pricingModuleService.listPriceLists(
|
|
943
|
-
* {
|
|
944
|
-
* id: ["plist_123", "plist_321"],
|
|
945
|
-
* },
|
|
946
|
-
* {
|
|
947
|
-
* relations: ["prices"],
|
|
948
|
-
* }
|
|
949
|
-
* )
|
|
950
|
-
* ```
|
|
951
|
-
*
|
|
952
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
953
|
-
*
|
|
954
|
-
* ```ts
|
|
955
|
-
* const priceLists = await pricingModuleService.listPriceLists(
|
|
956
|
-
* {
|
|
957
|
-
* id: ["plist_123", "plist_321"],
|
|
958
|
-
* },
|
|
959
|
-
* {
|
|
960
|
-
* relations: ["prices"],
|
|
961
|
-
* take: 20,
|
|
962
|
-
* skip: 2,
|
|
963
|
-
* }
|
|
964
|
-
* )
|
|
965
|
-
* ```
|
|
966
|
-
*/
|
|
967
|
-
listPriceLists(filters?: FilterablePriceListProps, config?: FindConfig<PriceListDTO>, sharedContext?: Context): Promise<PriceListDTO[]>;
|
|
968
|
-
/**
|
|
969
|
-
* This method is used to retrieve a paginated list of price lists along with the total count of available price lists satisfying the provided filters.
|
|
970
|
-
*
|
|
971
|
-
* @param {FilterablePriceListProps} filters - The filters to apply on the retrieved price lists.
|
|
972
|
-
* @param {FindConfig<PriceListDTO>} config -
|
|
973
|
-
* The configurations determining how the price lists are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
974
|
-
* attributes or relations associated with a price list.
|
|
975
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
976
|
-
* @returns {Promise<[PriceListDTO[], number]>} The list of price lists along with their total count.
|
|
977
|
-
*
|
|
978
|
-
* @example
|
|
979
|
-
*
|
|
980
|
-
* To retrieve a list of price lists using their IDs:
|
|
981
|
-
*
|
|
982
|
-
* ```ts
|
|
983
|
-
* const [priceLists, count] =
|
|
984
|
-
* await pricingModuleService.listAndCountPriceLists({
|
|
985
|
-
* id: ["plist_123", "plist_321"],
|
|
986
|
-
* })
|
|
987
|
-
* ```
|
|
988
|
-
*
|
|
989
|
-
* To specify relations that should be retrieved within the price lists:
|
|
990
|
-
*
|
|
991
|
-
* :::note
|
|
992
|
-
*
|
|
993
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
994
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
995
|
-
*
|
|
996
|
-
* :::
|
|
997
|
-
*
|
|
998
|
-
* ```ts
|
|
999
|
-
* const [priceLists, count] =
|
|
1000
|
-
* await pricingModuleService.listAndCountPriceLists(
|
|
1001
|
-
* {
|
|
1002
|
-
* id: ["plist_123", "plist_321"],
|
|
1003
|
-
* },
|
|
1004
|
-
* {
|
|
1005
|
-
* relations: ["prices"],
|
|
1006
|
-
* }
|
|
1007
|
-
* )
|
|
1008
|
-
* ```
|
|
1009
|
-
*
|
|
1010
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1011
|
-
*
|
|
1012
|
-
* ```ts
|
|
1013
|
-
* const [priceLists, count] =
|
|
1014
|
-
* await pricingModuleService.listAndCountPriceLists(
|
|
1015
|
-
* {
|
|
1016
|
-
* id: ["plist_123", "plist_321"],
|
|
1017
|
-
* },
|
|
1018
|
-
* {
|
|
1019
|
-
* relations: ["prices"],
|
|
1020
|
-
* take: 20,
|
|
1021
|
-
* skip: 2,
|
|
1022
|
-
* }
|
|
1023
|
-
* )
|
|
1024
|
-
* ```
|
|
1025
|
-
*/
|
|
1026
|
-
listAndCountPriceLists(filters?: FilterablePriceListProps, config?: FindConfig<PriceListDTO>, sharedContext?: Context): Promise<[PriceListDTO[], number]>;
|
|
1027
|
-
/**
|
|
1028
|
-
* This method is used to create price lists.
|
|
1029
|
-
*
|
|
1030
|
-
* @param {CreatePriceListDTO[]} data - The details of each price list to be created.
|
|
1031
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1032
|
-
* @returns {Promise<PriceListDTO[]>} The created price lists.
|
|
1033
|
-
*
|
|
1034
|
-
* @example
|
|
1035
|
-
* const priceLists =
|
|
1036
|
-
* await pricingModuleService.createPriceLists([
|
|
1037
|
-
* {
|
|
1038
|
-
* title: "Sale 1",
|
|
1039
|
-
* description: "Summer sale",
|
|
1040
|
-
* },
|
|
1041
|
-
* {
|
|
1042
|
-
* title: "Sale 2",
|
|
1043
|
-
* description: "Winter sale",
|
|
1044
|
-
* starts_at: "2024-12-21",
|
|
1045
|
-
* },
|
|
1046
|
-
* ])
|
|
1047
|
-
*/
|
|
1048
|
-
createPriceLists(data: CreatePriceListDTO[], sharedContext?: Context): Promise<PriceListDTO[]>;
|
|
1049
|
-
/**
|
|
1050
|
-
* This method is used to update price lists.
|
|
1051
|
-
*
|
|
1052
|
-
* @param {UpdatePriceListDTO[]} data - The attributes to update in each price list. The price list is identifed by the `id` field.
|
|
1053
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1054
|
-
* @returns {Promise<PriceListDTO[]>} The updated price lists.
|
|
1055
|
-
*
|
|
1056
|
-
* @example
|
|
1057
|
-
* const priceLists =
|
|
1058
|
-
* await pricingModuleService.updatePriceLists([
|
|
1059
|
-
* {
|
|
1060
|
-
* id: "plist_123",
|
|
1061
|
-
* title: "Sale 1",
|
|
1062
|
-
* },
|
|
1063
|
-
* {
|
|
1064
|
-
* id: "plist_321",
|
|
1065
|
-
* description: "Winter sale",
|
|
1066
|
-
* },
|
|
1067
|
-
* ])
|
|
1068
|
-
*/
|
|
1069
|
-
updatePriceLists(data: UpdatePriceListDTO[], sharedContext?: Context): Promise<PriceListDTO[]>;
|
|
1070
|
-
/**
|
|
1071
|
-
* This method is used to delete price lists.
|
|
1072
|
-
*
|
|
1073
|
-
* @param {string[]} priceListIds - The IDs of the price lists to delete.
|
|
1074
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1075
|
-
* @returns {Promise<void>} Resolves when the price lists are deleted successfully.
|
|
1076
|
-
*
|
|
1077
|
-
* @example
|
|
1078
|
-
* await pricingModuleService.deletePriceLists([
|
|
1079
|
-
* "plist_123",
|
|
1080
|
-
* "plist_321",
|
|
1081
|
-
* ])
|
|
1082
|
-
*/
|
|
1083
|
-
deletePriceLists(priceListIds: string[], sharedContext?: Context): Promise<void>;
|
|
1084
|
-
/**
|
|
1085
|
-
* This method soft deletes price lists by their IDs.
|
|
1086
|
-
*
|
|
1087
|
-
* @param {string[]} priceListIds - The IDs of the price lists.
|
|
1088
|
-
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
|
1089
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1090
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated price list rules.
|
|
1091
|
-
* The object's keys are the ID attribute names of the price list entity's relations, such as `price_list_rule_id`, and its value is an array of strings, each being the ID of a record associated
|
|
1092
|
-
* with the price list through this relation, such as the IDs of associated price list rule.
|
|
1093
|
-
*
|
|
1094
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1095
|
-
*
|
|
1096
|
-
* @example
|
|
1097
|
-
* await pricingModuleService.softDeletePriceLists([
|
|
1098
|
-
* "plist_123",
|
|
1099
|
-
* "plist_321",
|
|
1100
|
-
* ])
|
|
1101
|
-
*/
|
|
1102
|
-
softDeletePriceLists<TReturnableLinkableKeys extends string = string>(priceListIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
1103
|
-
/**
|
|
1104
|
-
* This method restores a soft deleted price lists by its IDs.
|
|
1105
|
-
*
|
|
1106
|
-
* @param {string[]} priceListIds - The list of {summary}
|
|
1107
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the price lists. You can pass to its `returnLinkableKeys`
|
|
1108
|
-
* property any of the price list's relation attribute names, such as `price_list_rules`.
|
|
1109
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1110
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated price list rules.
|
|
1111
|
-
* The object's keys are the ID attribute names of the price list entity's relations, such as `price_list_rule_id`,
|
|
1112
|
-
* and its value is an array of strings, each being the ID of the record associated with the price list through this relation,
|
|
1113
|
-
* such as the IDs of associated price list rules.
|
|
1114
|
-
*
|
|
1115
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1116
|
-
*
|
|
1117
|
-
* @example
|
|
1118
|
-
* await pricingModuleService.restorePriceLists([
|
|
1119
|
-
* "plist_123",
|
|
1120
|
-
* "plist_321",
|
|
1121
|
-
* ])
|
|
1122
|
-
*/
|
|
1123
|
-
restorePriceLists<TReturnableLinkableKeys extends string = string>(priceListIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
1124
|
-
/**
|
|
1125
|
-
* This method is used to retrieve a price list rule by its ID.
|
|
1126
|
-
*
|
|
1127
|
-
* @param {string} id - The ID of the price list rule to retrieve.
|
|
1128
|
-
* @param {FindConfig<PriceListRuleDTO>} config -
|
|
1129
|
-
* The configurations determining how the price list rule is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1130
|
-
* attributes or relations associated with a price list rule.
|
|
1131
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1132
|
-
* @returns {Promise<PriceListRuleDTO>} The retrieved price list rule.
|
|
1133
|
-
*
|
|
1134
|
-
* @example
|
|
1135
|
-
* A simple example that retrieves a price list rule by its ID:
|
|
1136
|
-
*
|
|
1137
|
-
* ```ts
|
|
1138
|
-
* const priceListRule =
|
|
1139
|
-
* await pricingModuleService.retrievePriceListRule(
|
|
1140
|
-
* "plrule_123"
|
|
1141
|
-
* )
|
|
1142
|
-
* ```
|
|
1143
|
-
*
|
|
1144
|
-
* To specify relations that should be retrieved:
|
|
1145
|
-
*
|
|
1146
|
-
* :::note
|
|
1147
|
-
*
|
|
1148
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
1149
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
1150
|
-
*
|
|
1151
|
-
* :::
|
|
1152
|
-
*
|
|
1153
|
-
* ```ts
|
|
1154
|
-
* const priceListRule =
|
|
1155
|
-
* await pricingModuleService.retrievePriceListRule(
|
|
1156
|
-
* "plrule_123",
|
|
1157
|
-
* {
|
|
1158
|
-
* relations: ["price_list"],
|
|
1159
|
-
* }
|
|
1160
|
-
* )
|
|
1161
|
-
* ```
|
|
1162
|
-
*/
|
|
1163
|
-
retrievePriceListRule(id: string, config?: FindConfig<PriceListRuleDTO>, sharedContext?: Context): Promise<PriceListRuleDTO>;
|
|
1164
|
-
/**
|
|
1165
|
-
* This method is used to retrieve a paginated list of price list rules based on optional filters and configuration.
|
|
1166
|
-
*
|
|
1167
|
-
* @param {FilterablePriceListRuleProps} filters - The filters to apply on the retrieved price list rules.
|
|
1168
|
-
* @param {FindConfig<PriceListRuleDTO>} config -
|
|
1169
|
-
* The configurations determining how the price list rules are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1170
|
-
* attributes or relations associated with a price list rule.
|
|
1171
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1172
|
-
* @returns {Promise<PriceListRuleDTO[]>} The list of price list rules.
|
|
1173
|
-
*
|
|
1174
|
-
* @example
|
|
1175
|
-
*
|
|
1176
|
-
* To retrieve a list of price list vs using their IDs:
|
|
1177
|
-
*
|
|
1178
|
-
* ```ts
|
|
1179
|
-
* const priceListRules =
|
|
1180
|
-
* await pricingModuleService.listPriceListRules({
|
|
1181
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1182
|
-
* })
|
|
1183
|
-
* ```
|
|
1184
|
-
*
|
|
1185
|
-
* To specify relations that should be retrieved within the price list rules:
|
|
1186
|
-
*
|
|
1187
|
-
* :::note
|
|
1188
|
-
*
|
|
1189
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
1190
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
1191
|
-
*
|
|
1192
|
-
* :::
|
|
1193
|
-
*
|
|
1194
|
-
* ```ts
|
|
1195
|
-
* const priceListRules =
|
|
1196
|
-
* await pricingModuleService.listPriceListRules(
|
|
1197
|
-
* {
|
|
1198
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1199
|
-
* },
|
|
1200
|
-
* {
|
|
1201
|
-
* relations: ["price_list_rule_values"],
|
|
1202
|
-
* }
|
|
1203
|
-
* )
|
|
1204
|
-
* ```
|
|
1205
|
-
*
|
|
1206
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1207
|
-
*
|
|
1208
|
-
* ```ts
|
|
1209
|
-
* const priceListRules =
|
|
1210
|
-
* await pricingModuleService.listPriceListRules(
|
|
1211
|
-
* {
|
|
1212
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1213
|
-
* },
|
|
1214
|
-
* {
|
|
1215
|
-
* relations: ["price_list_rule_values"],
|
|
1216
|
-
* take: 20,
|
|
1217
|
-
* skip: 2,
|
|
1218
|
-
* }
|
|
1219
|
-
* )
|
|
1220
|
-
* ```
|
|
1221
|
-
*/
|
|
1222
|
-
listPriceListRules(filters?: FilterablePriceListRuleProps, config?: FindConfig<PriceListRuleDTO>, sharedContext?: Context): Promise<PriceListRuleDTO[]>;
|
|
1223
|
-
/**
|
|
1224
|
-
* This method is used to retrieve a paginated list of price list ruless along with the total count of available price list ruless satisfying the provided filters.
|
|
1225
|
-
*
|
|
1226
|
-
* @param {FilterablePriceListRuleProps} filters - The filters to apply on the retrieved price list rules.
|
|
1227
|
-
* @param {FindConfig<PriceListRuleDTO>} config -
|
|
1228
|
-
* The configurations determining how the price list rules are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1229
|
-
* attributes or relations associated with a price list rule.
|
|
1230
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1231
|
-
* @returns {Promise<[PriceListRuleDTO[], number]>} The list of price list rules along with their total count.
|
|
1232
|
-
*
|
|
1233
|
-
* @example
|
|
1234
|
-
*
|
|
1235
|
-
* To retrieve a list of price list vs using their IDs:
|
|
1236
|
-
*
|
|
1237
|
-
* ```ts
|
|
1238
|
-
* const [priceListRules, count] =
|
|
1239
|
-
* await pricingModuleService.listAndCountPriceListRules({
|
|
1240
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1241
|
-
* })
|
|
1242
|
-
* ```
|
|
1243
|
-
*
|
|
1244
|
-
* To specify relations that should be retrieved within the price list rules:
|
|
1245
|
-
*
|
|
1246
|
-
* :::note
|
|
1247
|
-
*
|
|
1248
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
1249
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
1250
|
-
*
|
|
1251
|
-
* :::
|
|
1252
|
-
*
|
|
1253
|
-
* ```ts
|
|
1254
|
-
* const [priceListRules, count] =
|
|
1255
|
-
* await pricingModuleService.listAndCountPriceListRules(
|
|
1256
|
-
* {
|
|
1257
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1258
|
-
* },
|
|
1259
|
-
* {
|
|
1260
|
-
* relations: ["price_list_rule_values"],
|
|
1261
|
-
* }
|
|
1262
|
-
* )
|
|
1263
|
-
* ```
|
|
1264
|
-
*
|
|
1265
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1266
|
-
*
|
|
1267
|
-
* ```ts
|
|
1268
|
-
* const [priceListRules, count] =
|
|
1269
|
-
* await pricingModuleService.listAndCountPriceListRules(
|
|
1270
|
-
* {
|
|
1271
|
-
* id: ["plrule_123", "plrule_321"],
|
|
1272
|
-
* },
|
|
1273
|
-
* {
|
|
1274
|
-
* relations: ["price_list_rule_values"],
|
|
1275
|
-
* take: 20,
|
|
1276
|
-
* skip: 2,
|
|
1277
|
-
* }
|
|
1278
|
-
* )
|
|
1279
|
-
* ```
|
|
1280
|
-
*/
|
|
1281
|
-
listAndCountPriceListRules(filters?: FilterablePriceListRuleProps, config?: FindConfig<PriceListRuleDTO>, sharedContext?: Context): Promise<[PriceListRuleDTO[], number]>;
|
|
1282
|
-
/**
|
|
1283
|
-
* This method is used to delete price list rules.
|
|
1284
|
-
*
|
|
1285
|
-
* @param {string[]} priceListRuleIds - The IDs of the price list rules to delete.
|
|
1286
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1287
|
-
* @returns {Promise<void>} Resolves successfully when the price list rules are deleted.
|
|
1288
|
-
*
|
|
1289
|
-
* @example
|
|
1290
|
-
* await pricingModuleService.deletePriceListRules([
|
|
1291
|
-
* "plrule_123",
|
|
1292
|
-
* "plrule_321",
|
|
1293
|
-
* ])
|
|
1294
|
-
*/
|
|
1295
|
-
deletePriceListRules(priceListRuleIds: string[], sharedContext?: Context): Promise<void>;
|
|
1296
|
-
/**
|
|
1297
|
-
* This method is used to add prices to price lists.
|
|
1298
|
-
*
|
|
1299
|
-
* @param {AddPriceListPricesDTO[]} data - The prices to add for each price list.
|
|
1300
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1301
|
-
* @returns {Promise<PriceListDTO[]>} The updated price lists.
|
|
1302
|
-
*
|
|
1303
|
-
* @example
|
|
1304
|
-
* const priceLists =
|
|
1305
|
-
* await pricingModuleService.addPriceListPrices([
|
|
1306
|
-
* {
|
|
1307
|
-
* price_list_id: "plist_123",
|
|
1308
|
-
* prices: [
|
|
1309
|
-
* {
|
|
1310
|
-
* currency_code: "usd",
|
|
1311
|
-
* amount: 500,
|
|
1312
|
-
* price_set_id: "pset_123",
|
|
1313
|
-
* },
|
|
1314
|
-
* ],
|
|
1315
|
-
* },
|
|
1316
|
-
* ])
|
|
1317
|
-
*/
|
|
1318
|
-
addPriceListPrices(data: AddPriceListPricesDTO[], sharedContext?: Context): Promise<PriceDTO[]>;
|
|
1319
|
-
/**
|
|
1320
|
-
* This method updates existing price list's prices.
|
|
1321
|
-
*
|
|
1322
|
-
* @param {UpdatePriceListPricesDTO[]} data - The attributes to update in a price list's prices. The price list's ID is specified
|
|
1323
|
-
* in the `price_list_id` field.
|
|
1324
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1325
|
-
* @returns {Promise<PriceDTO[]>} The updated price list's prices.
|
|
1326
|
-
*
|
|
1327
|
-
* @example
|
|
1328
|
-
* const priceLists =
|
|
1329
|
-
* await pricingModuleService.updatePriceListPrices([
|
|
1330
|
-
* {
|
|
1331
|
-
* price_list_id: "plist_123",
|
|
1332
|
-
* prices: [
|
|
1333
|
-
* {
|
|
1334
|
-
* id: "price_123",
|
|
1335
|
-
* currency_code: "usd",
|
|
1336
|
-
* amount: 500,
|
|
1337
|
-
* price_set_id: "pset_123",
|
|
1338
|
-
* },
|
|
1339
|
-
* ],
|
|
1340
|
-
* },
|
|
1341
|
-
* ])
|
|
1342
|
-
*/
|
|
1343
|
-
updatePriceListPrices(data: UpdatePriceListPricesDTO[], sharedContext?: Context): Promise<PriceDTO[]>;
|
|
1344
|
-
/**
|
|
1345
|
-
* This method is used to set the rules of a price list. Previous rules are removed.
|
|
1346
|
-
*
|
|
1347
|
-
* @param {SetPriceListRulesDTO} data - The rules to set for a price list. The price list is identified by the
|
|
1348
|
-
* `price_list_id` property.
|
|
1349
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1350
|
-
* @returns {Promise<PriceDTO>} The updated price list's prices.
|
|
1351
|
-
*
|
|
1352
|
-
* @example
|
|
1353
|
-
* const priceList =
|
|
1354
|
-
* await pricingModuleService.setPriceListRules({
|
|
1355
|
-
* price_list_id: "plist_123",
|
|
1356
|
-
* rules: {
|
|
1357
|
-
* region_id: "reg_123",
|
|
1358
|
-
* },
|
|
1359
|
-
* })
|
|
1360
|
-
*/
|
|
1361
|
-
setPriceListRules(data: SetPriceListRulesDTO, sharedContext?: Context): Promise<PriceListDTO>;
|
|
1362
|
-
/**
|
|
1363
|
-
* This method is used to remove rules from a price list.
|
|
1364
|
-
*
|
|
1365
|
-
* @param {RemovePriceListRulesDTO} data - The rules to remove from a price list. The price list is identified by the
|
|
1366
|
-
* `price_list_id` property.
|
|
1367
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1368
|
-
* @returns {Promise<PriceListDTO>} The updated price lists.
|
|
1369
|
-
*
|
|
1370
|
-
* @example
|
|
1371
|
-
* const priceList =
|
|
1372
|
-
* await pricingModuleService.removePriceListRules({
|
|
1373
|
-
* price_list_id: "plist_123",
|
|
1374
|
-
* rules: ["region_id"],
|
|
1375
|
-
* })
|
|
1376
|
-
*/
|
|
1377
|
-
removePriceListRules(data: RemovePriceListRulesDTO, sharedContext?: Context): Promise<PriceListDTO>;
|
|
1378
|
-
/**
|
|
1379
|
-
* This method deletes prices by their IDs.
|
|
1380
|
-
*
|
|
1381
|
-
* @param {string[]} ids - The IDs of the prices.
|
|
1382
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1383
|
-
* @returns {Promise<void>} Resolves when the prices are deleted successfully.
|
|
1384
|
-
*
|
|
1385
|
-
* @example
|
|
1386
|
-
* await pricingModuleService.removePrices([
|
|
1387
|
-
* "price_123",
|
|
1388
|
-
* "price_321",
|
|
1389
|
-
* ])
|
|
1390
|
-
*/
|
|
1391
|
-
removePrices(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1392
|
-
/**
|
|
1393
|
-
* This method is used to retrieve a price preference by its ID.
|
|
1394
|
-
*
|
|
1395
|
-
* @param {string} id - The ID of the price preference to retrieve.
|
|
1396
|
-
* @param {FindConfig<PricePreferenceDTO>} config -
|
|
1397
|
-
* The configurations determining how the price preference is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1398
|
-
* attributes or relations associated with a price preference.
|
|
1399
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1400
|
-
* @returns {Promise<PricePreferenceDTO>} The retrieved price preference.
|
|
1401
|
-
*
|
|
1402
|
-
* @example
|
|
1403
|
-
* A simple example that retrieves a price preference by its ID:
|
|
1404
|
-
*
|
|
1405
|
-
* ```ts
|
|
1406
|
-
* const pricePreference =
|
|
1407
|
-
* await pricingModuleService.retrievePricePreference("prpref_123")
|
|
1408
|
-
* ```
|
|
1409
|
-
*/
|
|
1410
|
-
retrievePricePreference(id: string, config?: FindConfig<PricePreferenceDTO>, sharedContext?: Context): Promise<PricePreferenceDTO>;
|
|
1411
|
-
/**
|
|
1412
|
-
* This method is used to retrieve a paginated list of price preferences based on optional filters and configuration.
|
|
1413
|
-
*
|
|
1414
|
-
* @param {FilterablePricePreferenceProps} filters - The filters to apply on the retrieved price lists.
|
|
1415
|
-
* @param {FindConfig<PricePreferenceDTO>} config -
|
|
1416
|
-
* The configurations determining how the price preferences are retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1417
|
-
* attributes or relations associated with a price preference.
|
|
1418
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1419
|
-
* @returns {Promise<PricePreferenceDTO[]>} The list of price preferences.
|
|
1420
|
-
*
|
|
1421
|
-
* @example
|
|
1422
|
-
*
|
|
1423
|
-
* To retrieve a list of price preferences using their IDs:
|
|
1424
|
-
*
|
|
1425
|
-
* ```ts
|
|
1426
|
-
* const pricePreferences = await pricingModuleService.listPricePreferences({
|
|
1427
|
-
* id: ["prpref_123", "prpref_321"],
|
|
1428
|
-
* })
|
|
1429
|
-
* ```
|
|
1430
|
-
*
|
|
1431
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1432
|
-
*
|
|
1433
|
-
* ```ts
|
|
1434
|
-
* const pricePreferences = await pricingModuleService.listPricePreferences(
|
|
1435
|
-
* {
|
|
1436
|
-
* id: ["prpref_123", "prpref_321"],
|
|
1437
|
-
* },
|
|
1438
|
-
* {
|
|
1439
|
-
* take: 20,
|
|
1440
|
-
* skip: 2,
|
|
1441
|
-
* }
|
|
1442
|
-
* )
|
|
1443
|
-
* ```
|
|
1444
|
-
*/
|
|
1445
|
-
listPricePreferences(filters?: FilterablePricePreferenceProps, config?: FindConfig<PricePreferenceDTO>, sharedContext?: Context): Promise<PricePreferenceDTO[]>;
|
|
1446
|
-
/**
|
|
1447
|
-
* This method is used to create a new price preference.
|
|
1448
|
-
*
|
|
1449
|
-
* @param {CreatePricePreferenceDTO} data - The attributes of the price preference to create.
|
|
1450
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1451
|
-
* @returns {Promise<PricePreferenceDTO>} The created price preference.
|
|
1452
|
-
*
|
|
1453
|
-
* @example
|
|
1454
|
-
* To create a price preference with rule:
|
|
1455
|
-
*
|
|
1456
|
-
* ```ts
|
|
1457
|
-
* const pricePreference = await pricingModuleService.createPricePreferences({
|
|
1458
|
-
* attribute: 'region_id',
|
|
1459
|
-
* value: 'DE',
|
|
1460
|
-
* is_tax_inclusive: true
|
|
1461
|
-
* })
|
|
1462
|
-
* ```
|
|
1463
|
-
*/
|
|
1464
|
-
createPricePreferences(data: CreatePricePreferenceDTO, sharedContext?: Context): Promise<PricePreferenceDTO>;
|
|
1465
|
-
/**
|
|
1466
|
-
* This method is used to create multiple price preferences.
|
|
1467
|
-
*
|
|
1468
|
-
* @param {CreatePricePreferenceDTO[]} data - The price preferences to create.
|
|
1469
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1470
|
-
* @returns {Promise<PricePreferenceDTO[]>} The list of created price preferences.
|
|
1471
|
-
*
|
|
1472
|
-
* @example
|
|
1473
|
-
* const pricePreferences = await pricingModuleService.createPricePreferences([{
|
|
1474
|
-
* attribute: 'region_id',
|
|
1475
|
-
* value: 'DE',
|
|
1476
|
-
* is_tax_inclusive: true
|
|
1477
|
-
* }])
|
|
1478
|
-
*/
|
|
1479
|
-
createPricePreferences(data: CreatePricePreferenceDTO[], sharedContext?: Context): Promise<PricePreferenceDTO[]>;
|
|
1480
|
-
/**
|
|
1481
|
-
* This method updates existing price preferences, or creates new ones if they don't exist.
|
|
1482
|
-
*
|
|
1483
|
-
* @param {UpsertPricePreferenceDTO[]} data - The attributes to update or create for each price preference.
|
|
1484
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1485
|
-
* @returns {Promise<PricePreferenceDTO[]>} The updated and created price preferences.
|
|
1486
|
-
*
|
|
1487
|
-
* @example
|
|
1488
|
-
* const pricePreferences = await pricingModuleService.upsertPricePreferences([
|
|
1489
|
-
* {
|
|
1490
|
-
* id: "prpref_123",
|
|
1491
|
-
* attribute: 'region_id',
|
|
1492
|
-
* value: 'DE',
|
|
1493
|
-
* is_tax_inclusive: true
|
|
1494
|
-
* },
|
|
1495
|
-
* ])
|
|
1496
|
-
*/
|
|
1497
|
-
upsertPricePreferences(data: UpsertPricePreferenceDTO[], sharedContext?: Context): Promise<PricePreferenceDTO[]>;
|
|
1498
|
-
/**
|
|
1499
|
-
* This method updates the price preference if it exists, or creates a new ones if it doesn't.
|
|
1500
|
-
*
|
|
1501
|
-
* @param {UpsertPricePreferenceDTO} data - The attributes to update or create for the new price preference.
|
|
1502
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1503
|
-
* @returns {Promise<PricePreferenceDTO>} The updated or created price preference.
|
|
1504
|
-
*
|
|
1505
|
-
* @example
|
|
1506
|
-
* const pricePreference = await pricingModuleService.upsertPricePreferences(
|
|
1507
|
-
* {
|
|
1508
|
-
* id: "prpref_123",
|
|
1509
|
-
* attribute: 'region_id',
|
|
1510
|
-
* value: 'DE',
|
|
1511
|
-
* is_tax_inclusive: true
|
|
1512
|
-
* }
|
|
1513
|
-
* )
|
|
1514
|
-
*/
|
|
1515
|
-
upsertPricePreferences(data: UpsertPricePreferenceDTO, sharedContext?: Context): Promise<PricePreferenceDTO>;
|
|
1516
|
-
/**
|
|
1517
|
-
* This method is used to update a price preference.
|
|
1518
|
-
*
|
|
1519
|
-
* @param {string} id - The ID of the price preference to be updated.
|
|
1520
|
-
* @param {UpdatePricePreferenceDTO} data - The attributes of the price preference to be updated
|
|
1521
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1522
|
-
* @returns {Promise<PricePreferenceDTO>} The updated price preference.
|
|
1523
|
-
*
|
|
1524
|
-
* @example
|
|
1525
|
-
* const pricePreference = await pricingModuleService.updatePricePreferences(
|
|
1526
|
-
* "prpref_123",
|
|
1527
|
-
* {
|
|
1528
|
-
* is_tax_inclusive: false
|
|
1529
|
-
* }
|
|
1530
|
-
* )
|
|
1531
|
-
*/
|
|
1532
|
-
updatePricePreferences(id: string, data: UpdatePricePreferenceDTO, sharedContext?: Context): Promise<PricePreferenceDTO>;
|
|
1533
|
-
/**
|
|
1534
|
-
* This method is used to update a list of price preferences determined by the selector filters.
|
|
1535
|
-
*
|
|
1536
|
-
* @param {FilterablePricePreferenceProps} selector - The filters that will determine which price preferences will be updated.
|
|
1537
|
-
* @param {UpdatePricePreferenceDTO} data - The attributes to be updated on the selected price preferences
|
|
1538
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1539
|
-
* @returns {Promise<PricePreferenceDTO[]>} The updated price preferences.
|
|
1540
|
-
*
|
|
1541
|
-
* @example
|
|
1542
|
-
* const pricePreferences = await pricingModuleService.updatePricePreferences(
|
|
1543
|
-
* {
|
|
1544
|
-
* id: ["prpref_123", "prpref_321"],
|
|
1545
|
-
* },
|
|
1546
|
-
* {
|
|
1547
|
-
* is_tax_inclusive: false
|
|
1548
|
-
* }
|
|
1549
|
-
* )
|
|
1550
|
-
*/
|
|
1551
|
-
updatePricePreferences(selector: FilterablePricePreferenceProps, data: UpdatePricePreferenceDTO, sharedContext?: Context): Promise<PricePreferenceDTO[]>;
|
|
1552
|
-
/**
|
|
1553
|
-
* This method soft deletes price preferences by their IDs.
|
|
1554
|
-
*
|
|
1555
|
-
* @param {string[]} pricePreferenceIds - The IDs of the price preferences.
|
|
1556
|
-
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
|
1557
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1558
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1559
|
-
* The object's keys are the ID attribute names of the price preference entity's relations, and its value is an array of strings, each being the ID of a record associated.
|
|
1560
|
-
*
|
|
1561
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1562
|
-
*
|
|
1563
|
-
* @example
|
|
1564
|
-
* await pricingModuleService.softDeletePricePreferences([
|
|
1565
|
-
* "prpref_123",
|
|
1566
|
-
* "prpref_321",
|
|
1567
|
-
* ])
|
|
1568
|
-
*/
|
|
1569
|
-
softDeletePricePreferences<TReturnableLinkableKeys extends string = string>(pricePreferenceIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
1570
|
-
/**
|
|
1571
|
-
* This method restores soft deleted price preferences by their IDs.
|
|
1572
|
-
*
|
|
1573
|
-
* @param {string[]} pricePreferenceIds - The IDs of the price preferences.
|
|
1574
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the price preferences.
|
|
1575
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1576
|
-
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1577
|
-
* The object's keys are the ID attribute names of the price preferences entity's relations,
|
|
1578
|
-
* and its value is an array of strings, each being the ID of the record associated with the price preferences through this relation.
|
|
1579
|
-
*
|
|
1580
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1581
|
-
*
|
|
1582
|
-
* @example
|
|
1583
|
-
* await pricingModuleService.restorePricePreferences([
|
|
1584
|
-
* "prpref_123",
|
|
1585
|
-
* "prpref_321",
|
|
1586
|
-
* ])
|
|
1587
|
-
*/
|
|
1588
|
-
restorePricePreferences<TReturnableLinkableKeys extends string = string>(pricePreferenceIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
|
1589
|
-
/**
|
|
1590
|
-
* This method deletes price preferences by their IDs.
|
|
1591
|
-
*
|
|
1592
|
-
* @param {string[]} ids - The IDs of the price preferences to delete.
|
|
1593
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1594
|
-
* @returns {Promise<void>} Resolves when the price preferences are successfully deleted.
|
|
1595
|
-
*
|
|
1596
|
-
* @example
|
|
1597
|
-
* await pricingModuleService.deletePricePreferences(["prpref_123", "prpref_321"])
|
|
1598
|
-
*/
|
|
1599
|
-
deletePricePreferences(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1600
|
-
}
|
|
1601
|
-
//# sourceMappingURL=service.d.ts.map
|