@acmekit/types 2.13.2 → 2.13.4
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
package/dist/cart/service.d.ts
DELETED
|
@@ -1,1888 +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 { CartAddressDTO, CartDTO, CartLineItemDTO, CartShippingMethodDTO, FilterableAddressProps, FilterableCartProps, FilterableLineItemAdjustmentProps, FilterableLineItemProps, FilterableLineItemTaxLineProps, FilterableShippingMethodAdjustmentProps, FilterableShippingMethodProps, FilterableShippingMethodTaxLineProps, LineItemAdjustmentDTO, LineItemTaxLineDTO, ShippingMethodAdjustmentDTO, ShippingMethodTaxLineDTO } from "./common";
|
|
6
|
-
import { CreateAddressDTO, CreateCartDTO, CreateLineItemAdjustmentDTO, CreateLineItemDTO, CreateLineItemForCartDTO, CreateLineItemTaxLineDTO, CreateShippingMethodAdjustmentDTO, CreateShippingMethodDTO, CreateShippingMethodForSingleCartDTO, CreateShippingMethodTaxLineDTO, UpdateAddressDTO, UpdateCartDataDTO, UpdateCartDTO, UpdateLineItemDTO, UpdateLineItemTaxLineDTO, UpdateLineItemWithoutSelectorDTO, UpdateLineItemWithSelectorDTO, UpdateShippingMethodAdjustmentDTO, UpdateShippingMethodDTO, UpdateShippingMethodTaxLineDTO, UpsertLineItemAdjustmentDTO } from "./mutations";
|
|
7
|
-
/**
|
|
8
|
-
* The main service interface for the Cart Module.
|
|
9
|
-
*/
|
|
10
|
-
export interface ICartModuleService extends IModuleService {
|
|
11
|
-
/**
|
|
12
|
-
* This method retrieves a cart by its ID.
|
|
13
|
-
*
|
|
14
|
-
* @param {string} cartId - The cart's ID.
|
|
15
|
-
* @param {FindConfig<CartDTO>} config - The configurations determining how the cart is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
16
|
-
* attributes or relations associated with a cart.
|
|
17
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
18
|
-
* @returns {Promise<CartDTO>} The retrieved cart.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* A simple example that retrieves a cart by its ID:
|
|
22
|
-
*
|
|
23
|
-
* ```ts
|
|
24
|
-
* const cart = await cartModuleService.retrieveCart("cart_123")
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* To specify relations that should be retrieved:
|
|
28
|
-
*
|
|
29
|
-
* :::note
|
|
30
|
-
*
|
|
31
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
32
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
33
|
-
*
|
|
34
|
-
* :::
|
|
35
|
-
*
|
|
36
|
-
* ```ts
|
|
37
|
-
* const cart = await cartModuleService.retrieveCart("cart_123", {
|
|
38
|
-
* relations: ["shipping_address"],
|
|
39
|
-
* })
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
retrieveCart(cartId: string, config?: FindConfig<CartDTO>, sharedContext?: Context): Promise<CartDTO>;
|
|
43
|
-
/**
|
|
44
|
-
* This method retrieves a paginated list of carts based on optional filters and configuration.
|
|
45
|
-
*
|
|
46
|
-
* @param {FilterableCartProps} filters - The filters to apply on the retrieved carts.
|
|
47
|
-
* @param {FindConfig<CartDTO>} config - The configurations determining how the cart is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
48
|
-
* attributes or relations associated with a cart.
|
|
49
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
50
|
-
* @returns {Promise<CartDTO[]>} The list of carts.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* To retrieve a list of carts using their IDs:
|
|
54
|
-
*
|
|
55
|
-
* ```ts
|
|
56
|
-
* const carts = await cartModuleService.listCarts({
|
|
57
|
-
* id: ["cart_123", "cart_321"],
|
|
58
|
-
* })
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* To specify relations that should be retrieved within the carts:
|
|
62
|
-
*
|
|
63
|
-
* :::note
|
|
64
|
-
*
|
|
65
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
66
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
67
|
-
*
|
|
68
|
-
* :::
|
|
69
|
-
*
|
|
70
|
-
* ```ts
|
|
71
|
-
* const carts = await cartModuleService.listCarts(
|
|
72
|
-
* {
|
|
73
|
-
* id: ["cart_123", "cart_321"],
|
|
74
|
-
* },
|
|
75
|
-
* {
|
|
76
|
-
* relations: ["shipping_address"],
|
|
77
|
-
* }
|
|
78
|
-
* )
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
82
|
-
*
|
|
83
|
-
* ```ts
|
|
84
|
-
* const carts = await cartModuleService.listCarts(
|
|
85
|
-
* {
|
|
86
|
-
* id: ["cart_123", "cart_321"],
|
|
87
|
-
* },
|
|
88
|
-
* {
|
|
89
|
-
* relations: ["shipping_address"],
|
|
90
|
-
* take: 20,
|
|
91
|
-
* skip: 2,
|
|
92
|
-
* }
|
|
93
|
-
* )
|
|
94
|
-
* ```
|
|
95
|
-
*/
|
|
96
|
-
listCarts(filters?: FilterableCartProps, config?: FindConfig<CartDTO>, sharedContext?: Context): Promise<CartDTO[]>;
|
|
97
|
-
/**
|
|
98
|
-
* This method retrieves a paginated list of carts along with the total count of available carts satisfying the provided filters.
|
|
99
|
-
*
|
|
100
|
-
* @param {FilterableCartProps} filters - The filters to apply on the retrieved carts.
|
|
101
|
-
* @param {FindConfig<CartDTO>} config - The configurations determining how the cart is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
102
|
-
* attributes or relations associated with a cart.
|
|
103
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
104
|
-
* @returns {Promise<[CartDTO[], number]>} The list of carts along with their total count.
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* To retrieve a list of carts using their IDs:
|
|
108
|
-
*
|
|
109
|
-
* ```ts
|
|
110
|
-
* const [carts, count] = await cartModuleService.listAndCountCarts({
|
|
111
|
-
* id: ["cart_123", "cart_321"],
|
|
112
|
-
* })
|
|
113
|
-
* ```
|
|
114
|
-
*
|
|
115
|
-
* To specify relations that should be retrieved within the carts:
|
|
116
|
-
*
|
|
117
|
-
* :::note
|
|
118
|
-
*
|
|
119
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
120
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
121
|
-
*
|
|
122
|
-
* :::
|
|
123
|
-
*
|
|
124
|
-
* ```ts
|
|
125
|
-
* const [carts, count] = await cartModuleService.listAndCountCarts(
|
|
126
|
-
* {
|
|
127
|
-
* id: ["cart_123", "cart_321"],
|
|
128
|
-
* },
|
|
129
|
-
* {
|
|
130
|
-
* relations: ["shipping_address"],
|
|
131
|
-
* }
|
|
132
|
-
* )
|
|
133
|
-
* ```
|
|
134
|
-
*
|
|
135
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
136
|
-
*
|
|
137
|
-
* ```ts
|
|
138
|
-
* const [carts, count] = await cartModuleService.listAndCountCarts(
|
|
139
|
-
* {
|
|
140
|
-
* id: ["cart_123", "cart_321"],
|
|
141
|
-
* },
|
|
142
|
-
* {
|
|
143
|
-
* relations: ["shipping_address"],
|
|
144
|
-
* take: 20,
|
|
145
|
-
* skip: 2,
|
|
146
|
-
* }
|
|
147
|
-
* )
|
|
148
|
-
* ```
|
|
149
|
-
*/
|
|
150
|
-
listAndCountCarts(filters?: FilterableCartProps, config?: FindConfig<CartDTO>, sharedContext?: Context): Promise<[CartDTO[], number]>;
|
|
151
|
-
/**
|
|
152
|
-
* This method creates carts.
|
|
153
|
-
*
|
|
154
|
-
* @param {CreateCartDTO[]} data - The carts to be created.
|
|
155
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
156
|
-
* @returns {Promise<CartDTO[]>} The created carts.
|
|
157
|
-
*
|
|
158
|
-
* @example
|
|
159
|
-
* const carts = await cartModuleService.createCarts([
|
|
160
|
-
* {
|
|
161
|
-
* currency_code: "usd",
|
|
162
|
-
* },
|
|
163
|
-
* {
|
|
164
|
-
* currency_code: "eur",
|
|
165
|
-
* },
|
|
166
|
-
* ])
|
|
167
|
-
*/
|
|
168
|
-
createCarts(data: CreateCartDTO[], sharedContext?: Context): Promise<CartDTO[]>;
|
|
169
|
-
/**
|
|
170
|
-
* This method creates a cart.
|
|
171
|
-
*
|
|
172
|
-
* @param {CreateCartDTO} data - The cart to be created.
|
|
173
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
174
|
-
* @returns {Promise<CartDTO>} The created cart.
|
|
175
|
-
*
|
|
176
|
-
* @example
|
|
177
|
-
* const cart = await cartModuleService.createCarts({
|
|
178
|
-
* currency_code: "usd",
|
|
179
|
-
* })
|
|
180
|
-
*/
|
|
181
|
-
createCarts(data: CreateCartDTO, sharedContext?: Context): Promise<CartDTO>;
|
|
182
|
-
/**
|
|
183
|
-
* This method updates existing carts.
|
|
184
|
-
*
|
|
185
|
-
* @param {UpdateCartDTO[]} data - The attributes to update in the carts.
|
|
186
|
-
* @returns {Promise<CartDTO[]>} The updated carts.
|
|
187
|
-
*
|
|
188
|
-
* @example
|
|
189
|
-
* const carts = await cartModuleService.updateCarts([
|
|
190
|
-
* {
|
|
191
|
-
* id: "cart_123",
|
|
192
|
-
* region_id: "reg_123",
|
|
193
|
-
* },
|
|
194
|
-
* {
|
|
195
|
-
* id: "cart_321",
|
|
196
|
-
* customer_id: "cus_123",
|
|
197
|
-
* },
|
|
198
|
-
* ])
|
|
199
|
-
*/
|
|
200
|
-
updateCarts(data: UpdateCartDTO[]): Promise<CartDTO[]>;
|
|
201
|
-
/**
|
|
202
|
-
* This method updates an existing cart.
|
|
203
|
-
*
|
|
204
|
-
* @param {string} cartId - The cart's ID.
|
|
205
|
-
* @param {UpdateCartDataDTO} data - The attributes to update in the cart data.
|
|
206
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
207
|
-
* @returns {Promise<CartDTO>} The updated cart.
|
|
208
|
-
*
|
|
209
|
-
* @example
|
|
210
|
-
* const cart = await cartModuleService.updateCarts("cart_123", {
|
|
211
|
-
* region_id: "reg_123",
|
|
212
|
-
* })
|
|
213
|
-
*/
|
|
214
|
-
updateCarts(cartId: string, data: UpdateCartDataDTO, sharedContext?: Context): Promise<CartDTO>;
|
|
215
|
-
/**
|
|
216
|
-
* This method updates existing carts matching the specified filters.
|
|
217
|
-
*
|
|
218
|
-
* @param {Partial<CartDTO>} selector - The filters that specify which carts to update.
|
|
219
|
-
* @param {UpdateCartDataDTO} data - The attributes to update in the carts.
|
|
220
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
221
|
-
* @returns {Promise<CartDTO[]>} The updated carts.
|
|
222
|
-
*
|
|
223
|
-
* @example
|
|
224
|
-
* const carts = await cartModuleService.updateCarts(
|
|
225
|
-
* {
|
|
226
|
-
* currency_code: "usd",
|
|
227
|
-
* },
|
|
228
|
-
* {
|
|
229
|
-
* region_id: "reg_123",
|
|
230
|
-
* }
|
|
231
|
-
* )
|
|
232
|
-
*/
|
|
233
|
-
updateCarts(selector: Partial<CartDTO>, data: UpdateCartDataDTO, sharedContext?: Context): Promise<CartDTO[]>;
|
|
234
|
-
/**
|
|
235
|
-
* This method deletes carts by their IDs.
|
|
236
|
-
*
|
|
237
|
-
* @param {string[]} cartIds - The list of cart IDs.
|
|
238
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
239
|
-
* @returns {Promise<void>} Resolves when the carts are deleted successfully.
|
|
240
|
-
*
|
|
241
|
-
* @example
|
|
242
|
-
* await cartModuleService.deleteCarts(["cart_123", "cart_321"])
|
|
243
|
-
*/
|
|
244
|
-
deleteCarts(cartIds: string[], sharedContext?: Context): Promise<void>;
|
|
245
|
-
/**
|
|
246
|
-
* This method deletes a cart by its ID.
|
|
247
|
-
*
|
|
248
|
-
* @param {string} cartId - The cart's ID.
|
|
249
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
250
|
-
* @returns {Promise<void>} Resolves when the carts are deleted successfully.
|
|
251
|
-
*
|
|
252
|
-
* @example
|
|
253
|
-
* await cartModuleService.deleteCarts("cart_123")
|
|
254
|
-
*/
|
|
255
|
-
deleteCarts(cartId: string, sharedContext?: Context): Promise<void>;
|
|
256
|
-
/**
|
|
257
|
-
* This method retrieves a paginated list of addresses based on optional filters and configuration.
|
|
258
|
-
*
|
|
259
|
-
* @param {FilterableAddressProps} filters - The filters to apply on the retrieved addresss.
|
|
260
|
-
* @param {FindConfig<CartAddressDTO>} config - The configurations determining how the address is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
261
|
-
* attributes or relations associated with a address.
|
|
262
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
263
|
-
* @returns {Promise<CartAddressDTO[]>} The list of addresses.
|
|
264
|
-
*
|
|
265
|
-
* @example
|
|
266
|
-
* To retrieve a list of addresses using their IDs:
|
|
267
|
-
*
|
|
268
|
-
* ```ts
|
|
269
|
-
* const addresses = await cartModuleService.listAddresses({
|
|
270
|
-
* id: ["caaddr_123", "caaddr_321"],
|
|
271
|
-
* })
|
|
272
|
-
* ```
|
|
273
|
-
*
|
|
274
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
275
|
-
*
|
|
276
|
-
* ```ts
|
|
277
|
-
* const addresses = await cartModuleService.listAddresses(
|
|
278
|
-
* {
|
|
279
|
-
* id: ["caaddr_123", "caaddr_321"],
|
|
280
|
-
* },
|
|
281
|
-
* {
|
|
282
|
-
* take: 20,
|
|
283
|
-
* skip: 2,
|
|
284
|
-
* }
|
|
285
|
-
* )
|
|
286
|
-
* ```
|
|
287
|
-
*/
|
|
288
|
-
listAddresses(filters?: FilterableAddressProps, config?: FindConfig<CartAddressDTO>, sharedContext?: Context): Promise<CartAddressDTO[]>;
|
|
289
|
-
/**
|
|
290
|
-
* This method creates addresses.
|
|
291
|
-
*
|
|
292
|
-
* @param {CreateAddressDTO[]} data - The addresss to be created.
|
|
293
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
294
|
-
* @returns {Promise<CartAddressDTO[]>} The created addresses.
|
|
295
|
-
*
|
|
296
|
-
* @example
|
|
297
|
-
* const addresses = await cartModuleService.createAddresses([
|
|
298
|
-
* {
|
|
299
|
-
* address_1: "412 E Cheyenne Rd",
|
|
300
|
-
* country_code: "us",
|
|
301
|
-
* },
|
|
302
|
-
* {
|
|
303
|
-
* first_name: "Genevieve",
|
|
304
|
-
* last_name: "Fox",
|
|
305
|
-
* address_1: "17350 Northwest Fwy",
|
|
306
|
-
* country_code: "us",
|
|
307
|
-
* },
|
|
308
|
-
* ])
|
|
309
|
-
*/
|
|
310
|
-
createAddresses(data: CreateAddressDTO[], sharedContext?: Context): Promise<CartAddressDTO[]>;
|
|
311
|
-
/**
|
|
312
|
-
* This method creates a address.
|
|
313
|
-
*
|
|
314
|
-
* @param {CreateAddressDTO} data - The address to be created.
|
|
315
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
316
|
-
* @returns {Promise<CartAddressDTO>} The created address.
|
|
317
|
-
*
|
|
318
|
-
* @example
|
|
319
|
-
* const address = await cartModuleService.createAddresses({
|
|
320
|
-
* first_name: "Genevieve",
|
|
321
|
-
* last_name: "Fox",
|
|
322
|
-
* address_1: "17350 Northwest Fwy",
|
|
323
|
-
* country_code: "us",
|
|
324
|
-
* })
|
|
325
|
-
*/
|
|
326
|
-
createAddresses(data: CreateAddressDTO, sharedContext?: Context): Promise<CartAddressDTO>;
|
|
327
|
-
/**
|
|
328
|
-
* This method updates existing addresses.
|
|
329
|
-
*
|
|
330
|
-
* @param {UpdateAddressDTO[]} data - The attributes to update in the addresss.
|
|
331
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
332
|
-
* @returns {Promise<CartAddressDTO[]>} The updated addresses.
|
|
333
|
-
*
|
|
334
|
-
* @example
|
|
335
|
-
* const addresses = await cartModuleService.updateAddresses([
|
|
336
|
-
* {
|
|
337
|
-
* id: "caaddr_123",
|
|
338
|
-
* first_name: "Leroy",
|
|
339
|
-
* },
|
|
340
|
-
* {
|
|
341
|
-
* id: "caaddr_321",
|
|
342
|
-
* last_name: "Hunt",
|
|
343
|
-
* },
|
|
344
|
-
* ])
|
|
345
|
-
*/
|
|
346
|
-
updateAddresses(data: UpdateAddressDTO[], sharedContext?: Context): Promise<CartAddressDTO[]>;
|
|
347
|
-
/**
|
|
348
|
-
* This method updates an existing address.
|
|
349
|
-
*
|
|
350
|
-
* @param {UpdateAddressDTO} data - The attributes to update in the address.
|
|
351
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
352
|
-
* @returns {Promise<CartAddressDTO>} The updated address.
|
|
353
|
-
*
|
|
354
|
-
* @example
|
|
355
|
-
* const address = await cartModuleService.updateAddresses({
|
|
356
|
-
* id: "caaddr_123",
|
|
357
|
-
* first_name: "Leroy",
|
|
358
|
-
* })
|
|
359
|
-
*/
|
|
360
|
-
updateAddresses(data: UpdateAddressDTO, sharedContext?: Context): Promise<CartAddressDTO>;
|
|
361
|
-
/**
|
|
362
|
-
* This method deletes addresses by their IDs.
|
|
363
|
-
*
|
|
364
|
-
* @param {string[]} ids - The IDs of the cart.
|
|
365
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
366
|
-
* @returns {Promise<void>} Resolves when the addresses are deleted successfully.
|
|
367
|
-
*
|
|
368
|
-
* @example
|
|
369
|
-
* await cartModuleService.deleteAddresses([
|
|
370
|
-
* "caaddr_123",
|
|
371
|
-
* "caaddr_321",
|
|
372
|
-
* ])
|
|
373
|
-
*/
|
|
374
|
-
deleteAddresses(ids: string[], sharedContext?: Context): Promise<void>;
|
|
375
|
-
/**
|
|
376
|
-
* This method deletes an address by its ID.
|
|
377
|
-
*
|
|
378
|
-
* @param {string} ids - The IDs of the cart.
|
|
379
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
380
|
-
* @returns {Promise<void>} Resolves when the address are deleted successfully.
|
|
381
|
-
*
|
|
382
|
-
* @example
|
|
383
|
-
* await cartModuleService.deleteAddresses("caaddr_123")
|
|
384
|
-
*/
|
|
385
|
-
deleteAddresses(ids: string, sharedContext?: Context): Promise<void>;
|
|
386
|
-
/**
|
|
387
|
-
* This method retrieves a line item by its ID.
|
|
388
|
-
*
|
|
389
|
-
* @param {string} itemId - The item's ID.
|
|
390
|
-
* @param {FindConfig<CartLineItemDTO>} config - The configurations determining how the line item is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
391
|
-
* attributes or relations associated with a line item.
|
|
392
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
393
|
-
* @returns {Promise<CartLineItemDTO>} The retrieved line item.
|
|
394
|
-
*
|
|
395
|
-
* @example
|
|
396
|
-
* A simple example that retrieves a line item by its ID:
|
|
397
|
-
*
|
|
398
|
-
* ```ts
|
|
399
|
-
* const lineItem =
|
|
400
|
-
* await cartModuleService.retrieveLineItem("cali_123")
|
|
401
|
-
* ```
|
|
402
|
-
*
|
|
403
|
-
* To specify relations that should be retrieved:
|
|
404
|
-
*
|
|
405
|
-
* :::note
|
|
406
|
-
*
|
|
407
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
408
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
409
|
-
*
|
|
410
|
-
* :::
|
|
411
|
-
*
|
|
412
|
-
* ```ts
|
|
413
|
-
* const lineItem = await cartModuleService.retrieveLineItem(
|
|
414
|
-
* "cali_123",
|
|
415
|
-
* {
|
|
416
|
-
* relations: ["cart"],
|
|
417
|
-
* }
|
|
418
|
-
* )
|
|
419
|
-
* ```
|
|
420
|
-
*/
|
|
421
|
-
retrieveLineItem(itemId: string, config?: FindConfig<CartLineItemDTO>, sharedContext?: Context): Promise<CartLineItemDTO>;
|
|
422
|
-
/**
|
|
423
|
-
* This method retrieves a paginated list of line items based on optional filters and configuration.
|
|
424
|
-
*
|
|
425
|
-
* @param {FilterableLineItemProps} filters - The filters to apply on the retrieved line items.
|
|
426
|
-
* @param {FindConfig<CartLineItemDTO>} config - The configurations determining how the line item is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
427
|
-
* attributes or relations associated with a line item.
|
|
428
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
429
|
-
* @returns {Promise<CartLineItemDTO[]>} The list of line items.
|
|
430
|
-
*
|
|
431
|
-
* @example
|
|
432
|
-
* To retrieve a list of line items using their IDs:
|
|
433
|
-
*
|
|
434
|
-
* ```ts
|
|
435
|
-
* const lineItems = await cartModuleService.listLineItems({
|
|
436
|
-
* id: ["cali_123", "cali_321"],
|
|
437
|
-
* })
|
|
438
|
-
* ```
|
|
439
|
-
*
|
|
440
|
-
* To specify relations that should be retrieved within the line items:
|
|
441
|
-
*
|
|
442
|
-
* :::note
|
|
443
|
-
*
|
|
444
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
445
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
446
|
-
*
|
|
447
|
-
* :::
|
|
448
|
-
*
|
|
449
|
-
* ```ts
|
|
450
|
-
* const lineItems = await cartModuleService.listLineItems(
|
|
451
|
-
* {
|
|
452
|
-
* id: ["cali_123", "cali_321"],
|
|
453
|
-
* },
|
|
454
|
-
* {
|
|
455
|
-
* relations: ["cart"],
|
|
456
|
-
* }
|
|
457
|
-
* )
|
|
458
|
-
* ```
|
|
459
|
-
*
|
|
460
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
461
|
-
*
|
|
462
|
-
* ```ts
|
|
463
|
-
* const lineItems = await cartModuleService.listLineItems(
|
|
464
|
-
* {
|
|
465
|
-
* id: ["cali_123", "cali_321"],
|
|
466
|
-
* },
|
|
467
|
-
* {
|
|
468
|
-
* relations: ["cart"],
|
|
469
|
-
* take: 20,
|
|
470
|
-
* skip: 2,
|
|
471
|
-
* }
|
|
472
|
-
* )
|
|
473
|
-
* ```
|
|
474
|
-
*/
|
|
475
|
-
listLineItems(filters: FilterableLineItemProps, config?: FindConfig<CartLineItemDTO>, sharedContext?: Context): Promise<CartLineItemDTO[]>;
|
|
476
|
-
/**
|
|
477
|
-
* This method adds a line item to a cart
|
|
478
|
-
*
|
|
479
|
-
* @param {CreateLineItemForCartDTO} data - The line item to create and add to the cart.
|
|
480
|
-
* The cart is specified in the `cart_id` field.
|
|
481
|
-
* @returns {Promise<CartLineItemDTO[]>} The added line item.
|
|
482
|
-
*
|
|
483
|
-
* @example
|
|
484
|
-
* const lineItem = await cartModuleService.addLineItems({
|
|
485
|
-
* cart_id: "cart_123",
|
|
486
|
-
* title: "Shirt",
|
|
487
|
-
* quantity: 2,
|
|
488
|
-
* unit_price: 4000,
|
|
489
|
-
* })
|
|
490
|
-
*/
|
|
491
|
-
addLineItems(data: CreateLineItemForCartDTO): Promise<CartLineItemDTO[]>;
|
|
492
|
-
/**
|
|
493
|
-
* This method adds line items to carts.
|
|
494
|
-
*
|
|
495
|
-
* @param {CreateLineItemForCartDTO[]} data - The line item to create and add to the carts.
|
|
496
|
-
* The cart is specified in the `cart_id` field.
|
|
497
|
-
* @returns {Promise<CartLineItemDTO[]>} The added line items.
|
|
498
|
-
*
|
|
499
|
-
* @example
|
|
500
|
-
* const lineItems = await cartModuleService.addLineItems([
|
|
501
|
-
* {
|
|
502
|
-
* cart_id: "cart_123",
|
|
503
|
-
* title: "Shirt",
|
|
504
|
-
* quantity: 2,
|
|
505
|
-
* unit_price: 4000,
|
|
506
|
-
* },
|
|
507
|
-
* {
|
|
508
|
-
* cart_id: "cart_123",
|
|
509
|
-
* title: "Pants",
|
|
510
|
-
* quantity: 1,
|
|
511
|
-
* unit_price: 3000,
|
|
512
|
-
* },
|
|
513
|
-
* ])
|
|
514
|
-
*/
|
|
515
|
-
addLineItems(data: CreateLineItemForCartDTO[]): Promise<CartLineItemDTO[]>;
|
|
516
|
-
/**
|
|
517
|
-
* This method adds line items to a cart.
|
|
518
|
-
*
|
|
519
|
-
* @param {string} cartId - The cart's ID.
|
|
520
|
-
* @param {CreateLineItemDTO[]} items - The line items to be created and added.
|
|
521
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
522
|
-
* @returns {Promise<CartLineItemDTO[]>} The added line items.
|
|
523
|
-
*
|
|
524
|
-
* @example
|
|
525
|
-
* const lineItems = await cartModuleService.addLineItems(
|
|
526
|
-
* "cart_123",
|
|
527
|
-
* [
|
|
528
|
-
* {
|
|
529
|
-
* title: "Shirt",
|
|
530
|
-
* quantity: 2,
|
|
531
|
-
* unit_price: 4000,
|
|
532
|
-
* },
|
|
533
|
-
* {
|
|
534
|
-
* title: "Pants",
|
|
535
|
-
* quantity: 1,
|
|
536
|
-
* unit_price: 3000,
|
|
537
|
-
* },
|
|
538
|
-
* ]
|
|
539
|
-
* )
|
|
540
|
-
*/
|
|
541
|
-
addLineItems(cartId: string, items: CreateLineItemDTO[], sharedContext?: Context): Promise<CartLineItemDTO[]>;
|
|
542
|
-
/**
|
|
543
|
-
* This method updates existing line items.
|
|
544
|
-
*
|
|
545
|
-
* @param {UpdateLineItemWithSelectorDTO[]} data - A list of objects, each holding the filters that specify which items
|
|
546
|
-
* to update, and the attributes to update in the items.
|
|
547
|
-
* @returns {Promise<CartLineItemDTO[]>} The updated line items.
|
|
548
|
-
*
|
|
549
|
-
* @example
|
|
550
|
-
* const lineItems = await cartModuleService.updateLineItems([
|
|
551
|
-
* {
|
|
552
|
-
* selector: {
|
|
553
|
-
* id: "cali_123",
|
|
554
|
-
* },
|
|
555
|
-
* data: {
|
|
556
|
-
* quantity: 2,
|
|
557
|
-
* },
|
|
558
|
-
* },
|
|
559
|
-
* {
|
|
560
|
-
* selector: {
|
|
561
|
-
* variant_sku: "PANTS",
|
|
562
|
-
* },
|
|
563
|
-
* data: {
|
|
564
|
-
* unit_price: 3000,
|
|
565
|
-
* },
|
|
566
|
-
* },
|
|
567
|
-
* ])
|
|
568
|
-
*/
|
|
569
|
-
updateLineItems(data: UpdateLineItemWithSelectorDTO[]): Promise<CartLineItemDTO[]>;
|
|
570
|
-
/**
|
|
571
|
-
* This method updates existing line items.
|
|
572
|
-
*
|
|
573
|
-
* @param {UpdateLineItemWithoutSelectorDTO[]} data - A list of objects, each holding the data
|
|
574
|
-
* and id to update.
|
|
575
|
-
* @returns {Promise<CartLineItemDTO[]>} The updated line items.
|
|
576
|
-
*
|
|
577
|
-
* @example
|
|
578
|
-
* const lineItems = await cartModuleService.updateLineItems([
|
|
579
|
-
* {
|
|
580
|
-
* id: "cali_123",
|
|
581
|
-
* quantity: 2,
|
|
582
|
-
* },
|
|
583
|
-
* ])
|
|
584
|
-
*/
|
|
585
|
-
updateLineItems(data: UpdateLineItemWithoutSelectorDTO[]): Promise<CartLineItemDTO[]>;
|
|
586
|
-
/**
|
|
587
|
-
* This method updates existing line items matching the specified filters.
|
|
588
|
-
*
|
|
589
|
-
* @param {Partial<CartLineItemDTO>} selector - The filters that specify which line items to update.
|
|
590
|
-
* @param {Partial<UpdateLineItemDTO>} data - The attributes to update in the line items.
|
|
591
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
592
|
-
* @returns {Promise<CartLineItemDTO[]>} The updated line items.
|
|
593
|
-
*
|
|
594
|
-
* @example
|
|
595
|
-
* const lineItems = await cartModuleService.updateLineItems(
|
|
596
|
-
* {
|
|
597
|
-
* variant_sku: "PANTS",
|
|
598
|
-
* },
|
|
599
|
-
* {
|
|
600
|
-
* unit_price: 4000,
|
|
601
|
-
* }
|
|
602
|
-
* )
|
|
603
|
-
*/
|
|
604
|
-
updateLineItems(selector: Partial<CartLineItemDTO>, data: Partial<UpdateLineItemDTO>, sharedContext?: Context): Promise<CartLineItemDTO[]>;
|
|
605
|
-
/**
|
|
606
|
-
* This method updates an existing line item.
|
|
607
|
-
*
|
|
608
|
-
* @param {string} lineId - The line item's ID.
|
|
609
|
-
* @param {Partial<UpdateLineItemDTO>} data - The attributes to update in the line item.
|
|
610
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
611
|
-
* @returns {Promise<CartLineItemDTO>} The updated line item.
|
|
612
|
-
*
|
|
613
|
-
* @example
|
|
614
|
-
* const lineItem = await cartModuleService.updateLineItems(
|
|
615
|
-
* "cali_123",
|
|
616
|
-
* {
|
|
617
|
-
* unit_price: 3000,
|
|
618
|
-
* }
|
|
619
|
-
* )
|
|
620
|
-
*/
|
|
621
|
-
updateLineItems(lineId: string, data: Partial<UpdateLineItemDTO>, sharedContext?: Context): Promise<CartLineItemDTO>;
|
|
622
|
-
/**
|
|
623
|
-
* This method retrieves a paginated list of shipping methods based on optional filters and configuration.
|
|
624
|
-
*
|
|
625
|
-
* @param {FilterableShippingMethodProps} filters - The filters to apply on the retrieved shipping methods.
|
|
626
|
-
* @param {FindConfig<CartShippingMethodDTO>} config - The configurations determining how the shipping method is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
627
|
-
* attributes or relations associated with a shipping method.
|
|
628
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
629
|
-
* @returns {Promise<CartShippingMethodDTO[]>} The list of shipping methods.
|
|
630
|
-
*
|
|
631
|
-
* @example
|
|
632
|
-
* To retrieve a list of shipping methods using their IDs:
|
|
633
|
-
*
|
|
634
|
-
* ```ts
|
|
635
|
-
* const shippingMethods =
|
|
636
|
-
* await cartModuleService.listShippingMethods(
|
|
637
|
-
* {
|
|
638
|
-
* id: ["casm_123", "casm_321"],
|
|
639
|
-
* },
|
|
640
|
-
* {}
|
|
641
|
-
* )
|
|
642
|
-
* ```
|
|
643
|
-
*
|
|
644
|
-
* To specify relations that should be retrieved within the shipping methods:
|
|
645
|
-
*
|
|
646
|
-
* :::note
|
|
647
|
-
*
|
|
648
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
649
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
650
|
-
*
|
|
651
|
-
* :::
|
|
652
|
-
*
|
|
653
|
-
* ```ts
|
|
654
|
-
* const shippingMethods =
|
|
655
|
-
* await cartModuleService.listShippingMethods(
|
|
656
|
-
* {
|
|
657
|
-
* id: ["casm_123", "casm_321"],
|
|
658
|
-
* },
|
|
659
|
-
* {
|
|
660
|
-
* relations: ["cart"],
|
|
661
|
-
* }
|
|
662
|
-
* )
|
|
663
|
-
* ```
|
|
664
|
-
*
|
|
665
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
666
|
-
*
|
|
667
|
-
* ```ts
|
|
668
|
-
* const shippingMethods =
|
|
669
|
-
* await cartModuleService.listShippingMethods(
|
|
670
|
-
* {
|
|
671
|
-
* id: ["casm_123", "casm_321"],
|
|
672
|
-
* },
|
|
673
|
-
* {
|
|
674
|
-
* relations: ["cart"],
|
|
675
|
-
* take: 20,
|
|
676
|
-
* skip: 2,
|
|
677
|
-
* }
|
|
678
|
-
* )
|
|
679
|
-
* ```
|
|
680
|
-
*/
|
|
681
|
-
listShippingMethods(filters: FilterableShippingMethodProps, config?: FindConfig<CartShippingMethodDTO>, sharedContext?: Context): Promise<CartShippingMethodDTO[]>;
|
|
682
|
-
/**
|
|
683
|
-
* This method adds a shipping method to carts.
|
|
684
|
-
*
|
|
685
|
-
* @param {CreateShippingMethodDTO} data - The shipping method to be created and added to the carts.
|
|
686
|
-
* The cart is specified in the `cart_id` field.
|
|
687
|
-
* @returns {Promise<CartShippingMethodDTO>} The added shipping method.
|
|
688
|
-
*
|
|
689
|
-
* @example
|
|
690
|
-
* const shippingMethod =
|
|
691
|
-
* await cartModuleService.addShippingMethods({
|
|
692
|
-
* cart_id: "cart_123",
|
|
693
|
-
* name: "UPS",
|
|
694
|
-
* amount: 3000,
|
|
695
|
-
* })
|
|
696
|
-
*/
|
|
697
|
-
addShippingMethods(data: CreateShippingMethodDTO): Promise<CartShippingMethodDTO>;
|
|
698
|
-
/**
|
|
699
|
-
* This method adds shipping methods to carts.
|
|
700
|
-
*
|
|
701
|
-
* @param {CreateShippingMethodDTO[]} data - The shipping methods to be created and added to the carts.
|
|
702
|
-
* The cart is specified in the `cart_id` field.
|
|
703
|
-
* @returns {Promise<CartShippingMethodDTO[]>} The added shipping methods.
|
|
704
|
-
*
|
|
705
|
-
* @example
|
|
706
|
-
* const shippingMethods =
|
|
707
|
-
* await cartModuleService.addShippingMethods([
|
|
708
|
-
* {
|
|
709
|
-
* cart_id: "cart_123",
|
|
710
|
-
* name: "UPS",
|
|
711
|
-
* amount: 3000,
|
|
712
|
-
* },
|
|
713
|
-
* {
|
|
714
|
-
* cart_id: "cart_123",
|
|
715
|
-
* name: "FedEx",
|
|
716
|
-
* amount: 2000,
|
|
717
|
-
* },
|
|
718
|
-
* ])
|
|
719
|
-
*/
|
|
720
|
-
addShippingMethods(data: CreateShippingMethodDTO[]): Promise<CartShippingMethodDTO[]>;
|
|
721
|
-
/**
|
|
722
|
-
* This method adds shipping methods to a cart.
|
|
723
|
-
*
|
|
724
|
-
* @param {string} cartId - The cart's ID.
|
|
725
|
-
* @param {CreateShippingMethodForSingleCartDTO[]} methods - The shipping methods to be created and added.
|
|
726
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
727
|
-
* @returns {Promise<CartShippingMethodDTO[]>} The added shipping methods.
|
|
728
|
-
*
|
|
729
|
-
* @example
|
|
730
|
-
* const shippingMethods =
|
|
731
|
-
* await cartModuleService.addShippingMethods("cart_123", [
|
|
732
|
-
* {
|
|
733
|
-
* name: "UPS",
|
|
734
|
-
* amount: 3000,
|
|
735
|
-
* },
|
|
736
|
-
* {
|
|
737
|
-
* name: "FedEx",
|
|
738
|
-
* amount: 2000,
|
|
739
|
-
* },
|
|
740
|
-
* ])
|
|
741
|
-
*/
|
|
742
|
-
addShippingMethods(cartId: string, methods: CreateShippingMethodForSingleCartDTO[], sharedContext?: Context): Promise<CartShippingMethodDTO[]>;
|
|
743
|
-
/**
|
|
744
|
-
* This method updates existing shipping methods.
|
|
745
|
-
*
|
|
746
|
-
* @param {UpdateShippingMethodDTO[]} data - A list of shipping methods to update
|
|
747
|
-
* @returns {Promise<CartShippingMethodDTO[]>} The updated shipping methods.
|
|
748
|
-
*
|
|
749
|
-
* @example
|
|
750
|
-
* const shippingMethods = await cartModuleService.updateShippingMethods([
|
|
751
|
-
* {
|
|
752
|
-
* id: "casm_123",
|
|
753
|
-
* amount: 2,
|
|
754
|
-
* },
|
|
755
|
-
* ])
|
|
756
|
-
*/
|
|
757
|
-
updateShippingMethods(data: UpdateShippingMethodDTO[]): Promise<CartShippingMethodDTO[]>;
|
|
758
|
-
/**
|
|
759
|
-
* This method updates an existing shipping method.
|
|
760
|
-
*
|
|
761
|
-
* @param {string} shippingMethodId - The shipping methods's ID.
|
|
762
|
-
* @param {Partial<UpdateShippingMethodDTO>} data - The attributes to update in the shipping method.
|
|
763
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
764
|
-
* @returns {Promise<CartShippingMethodDTO>} The updated shipping method.
|
|
765
|
-
*
|
|
766
|
-
* @example
|
|
767
|
-
* const lineItem = await cartModuleService.updateShippingMethods(
|
|
768
|
-
* "casm_123",
|
|
769
|
-
* {
|
|
770
|
-
* amount: 3000,
|
|
771
|
-
* }
|
|
772
|
-
* )
|
|
773
|
-
*/
|
|
774
|
-
updateShippingMethods(shippingMethodId: string, data: Partial<UpdateShippingMethodDTO>, sharedContext?: Context): Promise<CartShippingMethodDTO>;
|
|
775
|
-
/**
|
|
776
|
-
* This method retrieves a paginated list of line item adjustments based on optional filters and configuration.
|
|
777
|
-
*
|
|
778
|
-
* @param {FilterableLineItemAdjustmentProps} filters - The filters to apply on the retrieved line item adjustments.
|
|
779
|
-
* @param {FindConfig<LineItemAdjustmentDTO>} config - The configurations determining how the line item adjustment is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
780
|
-
* attributes or relations associated with a line item adjustment.
|
|
781
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
782
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The list of line item adjustments.
|
|
783
|
-
*
|
|
784
|
-
* @example
|
|
785
|
-
* To retrieve a list of line item adjustments using their IDs:
|
|
786
|
-
*
|
|
787
|
-
* ```ts
|
|
788
|
-
* const lineItemAdjustments =
|
|
789
|
-
* await cartModuleService.listLineItemAdjustments({
|
|
790
|
-
* id: ["caliadj_123", "caliadj_321"],
|
|
791
|
-
* })
|
|
792
|
-
* ```
|
|
793
|
-
*
|
|
794
|
-
* To specify relations that should be retrieved within the line item adjustments:
|
|
795
|
-
*
|
|
796
|
-
* :::note
|
|
797
|
-
*
|
|
798
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
799
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
800
|
-
*
|
|
801
|
-
* :::
|
|
802
|
-
*
|
|
803
|
-
* ```ts
|
|
804
|
-
* const lineItemAdjustments =
|
|
805
|
-
* await cartModuleService.listLineItemAdjustments(
|
|
806
|
-
* {
|
|
807
|
-
* id: ["caliadj_123", "caliadj_321"],
|
|
808
|
-
* },
|
|
809
|
-
* {
|
|
810
|
-
* relations: ["item"],
|
|
811
|
-
* }
|
|
812
|
-
* )
|
|
813
|
-
* ```
|
|
814
|
-
*
|
|
815
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
816
|
-
*
|
|
817
|
-
* ```ts
|
|
818
|
-
* const lineItemAdjustments =
|
|
819
|
-
* await cartModuleService.listLineItemAdjustments(
|
|
820
|
-
* {
|
|
821
|
-
* id: ["caliadj_123", "caliadj_321"],
|
|
822
|
-
* },
|
|
823
|
-
* {
|
|
824
|
-
* relations: ["item"],
|
|
825
|
-
* take: 20,
|
|
826
|
-
* skip: 2,
|
|
827
|
-
* }
|
|
828
|
-
* )
|
|
829
|
-
* ```
|
|
830
|
-
*/
|
|
831
|
-
listLineItemAdjustments(filters: FilterableLineItemAdjustmentProps, config?: FindConfig<LineItemAdjustmentDTO>, sharedContext?: Context): Promise<LineItemAdjustmentDTO[]>;
|
|
832
|
-
/**
|
|
833
|
-
* This method adds line item adjustments to line items.
|
|
834
|
-
*
|
|
835
|
-
* @param {CreateLineItemAdjustmentDTO[]} data - The line item adjustments to be created and added to line items.
|
|
836
|
-
* The line item is specified by the `item_id` field.
|
|
837
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The added line item adjustments.
|
|
838
|
-
*
|
|
839
|
-
* @example
|
|
840
|
-
* const lineItemAdjustments =
|
|
841
|
-
* await cartModuleService.addLineItemAdjustments([
|
|
842
|
-
* {
|
|
843
|
-
* item_id: "caliadj_123",
|
|
844
|
-
* code: "50%OFF",
|
|
845
|
-
* amount: 3000,
|
|
846
|
-
* },
|
|
847
|
-
* {
|
|
848
|
-
* item_id: "caliadj_321",
|
|
849
|
-
* code: "10%OFF",
|
|
850
|
-
* amount: 3000,
|
|
851
|
-
* },
|
|
852
|
-
* ])
|
|
853
|
-
*/
|
|
854
|
-
addLineItemAdjustments(data: CreateLineItemAdjustmentDTO[]): Promise<LineItemAdjustmentDTO[]>;
|
|
855
|
-
/**
|
|
856
|
-
* This method adds a line item adjustment to a line item.
|
|
857
|
-
*
|
|
858
|
-
* @param {CreateLineItemAdjustmentDTO} data - The line item adjustment to be created and added to a line item.
|
|
859
|
-
* The line item is specified by the `item_id` field.
|
|
860
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The added line item adjustment.
|
|
861
|
-
*
|
|
862
|
-
* @example
|
|
863
|
-
* const lineItemAdjustments =
|
|
864
|
-
* await cartModuleService.addLineItemAdjustments({
|
|
865
|
-
* item_id: "caliadj_123",
|
|
866
|
-
* code: "50%OFF",
|
|
867
|
-
* amount: 3000,
|
|
868
|
-
* })
|
|
869
|
-
*/
|
|
870
|
-
addLineItemAdjustments(data: CreateLineItemAdjustmentDTO): Promise<LineItemAdjustmentDTO[]>;
|
|
871
|
-
/**
|
|
872
|
-
* This method adds line item adjustments to line items in a cart.
|
|
873
|
-
*
|
|
874
|
-
* @param {string} cartId - The cart's ID.
|
|
875
|
-
* @param {CreateLineItemAdjustmentDTO[]} data - The line item adjustments to be created and added to line items.
|
|
876
|
-
* The line item is specified by the `item_id` field.
|
|
877
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The added line item adjustment.
|
|
878
|
-
*
|
|
879
|
-
* @example
|
|
880
|
-
* const lineItemAdjustments =
|
|
881
|
-
* await cartModuleService.addLineItemAdjustments("cart_123", [
|
|
882
|
-
* {
|
|
883
|
-
* item_id: "caliadj_123",
|
|
884
|
-
* code: "50%OFF",
|
|
885
|
-
* amount: 3000,
|
|
886
|
-
* },
|
|
887
|
-
* {
|
|
888
|
-
* item_id: "caliadj_321",
|
|
889
|
-
* code: "10%OFF",
|
|
890
|
-
* amount: 2000,
|
|
891
|
-
* },
|
|
892
|
-
* ])
|
|
893
|
-
*/
|
|
894
|
-
addLineItemAdjustments(cartId: string, data: CreateLineItemAdjustmentDTO[]): Promise<LineItemAdjustmentDTO[]>;
|
|
895
|
-
/**
|
|
896
|
-
* This method set the line item adjustments of line items in a cart. The existing line item adjustments, except those
|
|
897
|
-
* included in the specified list, of an item are removed and replaced with the specified adjustments.
|
|
898
|
-
*
|
|
899
|
-
* @param {string} cartId - The cart's ID.
|
|
900
|
-
* @param {UpsertLineItemAdjustmentDTO[]} data - The line item adjustments to add to the line items.
|
|
901
|
-
* The line item is specified by the `item_id` field. If the `id` field is specified, the adjustment
|
|
902
|
-
* is kept in the line item's adjustment and its attributes can be updated.
|
|
903
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
904
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The added line item adjustments.
|
|
905
|
-
*
|
|
906
|
-
* @example
|
|
907
|
-
* const lineItemAdjustments =
|
|
908
|
-
* await cartModuleService.setLineItemAdjustments("cart_123", [
|
|
909
|
-
* {
|
|
910
|
-
* id: "adj_123",
|
|
911
|
-
* item_id: "caliadj_123",
|
|
912
|
-
* },
|
|
913
|
-
* {
|
|
914
|
-
* item_id: "caliadj_123",
|
|
915
|
-
* code: "10%OFF",
|
|
916
|
-
* amount: 2000,
|
|
917
|
-
* },
|
|
918
|
-
* {
|
|
919
|
-
* item_id: "caliadj_321",
|
|
920
|
-
* code: "50%OFF",
|
|
921
|
-
* amount: 3000,
|
|
922
|
-
* },
|
|
923
|
-
* ])
|
|
924
|
-
*/
|
|
925
|
-
setLineItemAdjustments(cartId: string, data: UpsertLineItemAdjustmentDTO[], sharedContext?: Context): Promise<LineItemAdjustmentDTO[]>;
|
|
926
|
-
/**
|
|
927
|
-
* This method retrieves a paginated list of shipping method adjustments based on optional filters and configuration.
|
|
928
|
-
*
|
|
929
|
-
* @param {FilterableShippingMethodAdjustmentProps} filters - The filters to apply on the retrieved shipping method adjustments.
|
|
930
|
-
* @param {FindConfig<ShippingMethodAdjustmentDTO>} config - The configurations determining how the shipping method adjustment is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
931
|
-
* attributes or relations associated with a shipping method adjustment.
|
|
932
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
933
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO[]>} The list of shipping method adjustments.
|
|
934
|
-
*
|
|
935
|
-
* @example
|
|
936
|
-
* To retrieve a list of shipping method adjustments using their IDs:
|
|
937
|
-
*
|
|
938
|
-
* ```ts
|
|
939
|
-
* const shippingMethodAdjustments =
|
|
940
|
-
* await cartModuleService.listShippingMethodAdjustments({
|
|
941
|
-
* id: ["casmadj_123", "casmadj_321"],
|
|
942
|
-
* })
|
|
943
|
-
* ```
|
|
944
|
-
*
|
|
945
|
-
* To specify relations that should be retrieved within the shipping method adjustments:
|
|
946
|
-
*
|
|
947
|
-
* :::note
|
|
948
|
-
*
|
|
949
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
950
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
951
|
-
*
|
|
952
|
-
* :::
|
|
953
|
-
*
|
|
954
|
-
* ```ts
|
|
955
|
-
* const shippingMethodAdjustments =
|
|
956
|
-
* await cartModuleService.listShippingMethodAdjustments(
|
|
957
|
-
* {
|
|
958
|
-
* id: ["casmadj_123", "casmadj_321"],
|
|
959
|
-
* },
|
|
960
|
-
* {
|
|
961
|
-
* relations: ["shipping_method"],
|
|
962
|
-
* }
|
|
963
|
-
* )
|
|
964
|
-
* ```
|
|
965
|
-
*
|
|
966
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
967
|
-
*
|
|
968
|
-
* ```ts
|
|
969
|
-
* const shippingMethodAdjustments =
|
|
970
|
-
* await cartModuleService.listShippingMethodAdjustments(
|
|
971
|
-
* {
|
|
972
|
-
* id: ["casmadj_123", "casmadj_321"],
|
|
973
|
-
* },
|
|
974
|
-
* {
|
|
975
|
-
* relations: ["shipping_method"],
|
|
976
|
-
* take: 20,
|
|
977
|
-
* skip: 2,
|
|
978
|
-
* }
|
|
979
|
-
* )
|
|
980
|
-
* ```
|
|
981
|
-
*/
|
|
982
|
-
listShippingMethodAdjustments(filters: FilterableShippingMethodAdjustmentProps, config?: FindConfig<ShippingMethodAdjustmentDTO>, sharedContext?: Context): Promise<ShippingMethodAdjustmentDTO[]>;
|
|
983
|
-
/**
|
|
984
|
-
* This method adds shipping method adjustments to shipping methods.
|
|
985
|
-
*
|
|
986
|
-
* @param {CreateShippingMethodAdjustmentDTO[]} data - The shipping method adjustments to be created and added to
|
|
987
|
-
* shipping methods. The shipping method is specified by the `shipping_method_id` field.
|
|
988
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO[]>} The added shipping method adjustments.
|
|
989
|
-
*
|
|
990
|
-
* @example
|
|
991
|
-
* const shippingMethodAdjustments =
|
|
992
|
-
* await cartModuleService.addShippingMethodAdjustments([
|
|
993
|
-
* {
|
|
994
|
-
* shipping_method_id: "casm_123",
|
|
995
|
-
* code: "FREESHIPPING",
|
|
996
|
-
* amount: 3000,
|
|
997
|
-
* },
|
|
998
|
-
* {
|
|
999
|
-
* shipping_method_id: "casm_321",
|
|
1000
|
-
* code: "10%OFF",
|
|
1001
|
-
* amount: 1500,
|
|
1002
|
-
* },
|
|
1003
|
-
* ])
|
|
1004
|
-
*/
|
|
1005
|
-
addShippingMethodAdjustments(data: CreateShippingMethodAdjustmentDTO[]): Promise<ShippingMethodAdjustmentDTO[]>;
|
|
1006
|
-
/**
|
|
1007
|
-
* This method adds a shipping method adjustment to a shipping method.
|
|
1008
|
-
*
|
|
1009
|
-
* @param {CreateShippingMethodAdjustmentDTO} data - The shipping method adjustment to be created and added to a
|
|
1010
|
-
* shipping method. The shipping method is specified by the `shipping_method_id` field.
|
|
1011
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO>} The added shipping method adjustment.
|
|
1012
|
-
*
|
|
1013
|
-
* @example
|
|
1014
|
-
* const shippingMethodAdjustment =
|
|
1015
|
-
* await cartModuleService.addShippingMethodAdjustments({
|
|
1016
|
-
* shipping_method_id: "casm_123",
|
|
1017
|
-
* code: "FREESHIPPING",
|
|
1018
|
-
* amount: 3000,
|
|
1019
|
-
* })
|
|
1020
|
-
*/
|
|
1021
|
-
addShippingMethodAdjustments(data: CreateShippingMethodAdjustmentDTO): Promise<ShippingMethodAdjustmentDTO>;
|
|
1022
|
-
/**
|
|
1023
|
-
* This method adds shipping method adjustments to shipping methods in a cart.
|
|
1024
|
-
*
|
|
1025
|
-
* @param {string} cartId - The cart's ID.
|
|
1026
|
-
* @param {CreateShippingMethodAdjustmentDTO[]} data - The shipping method adjustments to be created and added to
|
|
1027
|
-
* shipping methods. The shipping method is specified by the `shipping_method_id` field.
|
|
1028
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1029
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO[]>} The added shipping method adjustments.
|
|
1030
|
-
*
|
|
1031
|
-
* @example
|
|
1032
|
-
* const shippingMethodAdjustments =
|
|
1033
|
-
* await cartModuleService.addShippingMethodAdjustments(
|
|
1034
|
-
* "cart_123",
|
|
1035
|
-
* [
|
|
1036
|
-
* {
|
|
1037
|
-
* shipping_method_id: "casm_123",
|
|
1038
|
-
* code: "FREESHIPPING",
|
|
1039
|
-
* amount: 3000,
|
|
1040
|
-
* },
|
|
1041
|
-
* {
|
|
1042
|
-
* shipping_method_id: "casm_321",
|
|
1043
|
-
* code: "10%OFF",
|
|
1044
|
-
* amount: 1500,
|
|
1045
|
-
* },
|
|
1046
|
-
* ]
|
|
1047
|
-
* )
|
|
1048
|
-
*/
|
|
1049
|
-
addShippingMethodAdjustments(cartId: string, data: CreateShippingMethodAdjustmentDTO[], sharedContext?: Context): Promise<ShippingMethodAdjustmentDTO[]>;
|
|
1050
|
-
/**
|
|
1051
|
-
* This method sets the shipping method adjustment of shipping methods in a cart. The existing shipping method adjustments,
|
|
1052
|
-
* except those included in the specified list, of an item are removed and replaced with the specified adjustments.
|
|
1053
|
-
*
|
|
1054
|
-
* @param {string} cartId - The cart's ID.
|
|
1055
|
-
* @param {(CreateShippingMethodAdjustmentDTO | UpdateShippingMethodAdjustmentDTO)[]} data - The shipping method adjustments to add to the shipping
|
|
1056
|
-
* method. If the `id` field is specified, the adjustment is kept in the shipping method's adjustment and its attributes can be updated.
|
|
1057
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1058
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO[]>} The added shipping method adjustments.
|
|
1059
|
-
*
|
|
1060
|
-
* @example
|
|
1061
|
-
* const shippingMethodAdjustments =
|
|
1062
|
-
* await cartModuleService.setShippingMethodAdjustments(
|
|
1063
|
-
* "cart_123",
|
|
1064
|
-
* [
|
|
1065
|
-
* {
|
|
1066
|
-
* id: "casmadj_123",
|
|
1067
|
-
* shipping_method_id: "casm_123",
|
|
1068
|
-
* code: "FREESHIPPING",
|
|
1069
|
-
* },
|
|
1070
|
-
* {
|
|
1071
|
-
* shipping_method_id: "casm_321",
|
|
1072
|
-
* code: "10%OFF",
|
|
1073
|
-
* amount: 1500,
|
|
1074
|
-
* },
|
|
1075
|
-
* ]
|
|
1076
|
-
* )
|
|
1077
|
-
*/
|
|
1078
|
-
setShippingMethodAdjustments(cartId: string, data: (CreateShippingMethodAdjustmentDTO | UpdateShippingMethodAdjustmentDTO)[], sharedContext?: Context): Promise<ShippingMethodAdjustmentDTO[]>;
|
|
1079
|
-
/**
|
|
1080
|
-
* This method retrieves a paginated list of line item tax lines based on optional filters and configuration.
|
|
1081
|
-
*
|
|
1082
|
-
* @param {FilterableLineItemTaxLineProps} filters - The filters to apply on the retrieved line item tax lines.
|
|
1083
|
-
* @param {FindConfig<LineItemTaxLineDTO>} config - The configurations determining how the line item tax line is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1084
|
-
* attributes or relations associated with a line item tax line.
|
|
1085
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1086
|
-
* @returns {Promise<LineItemTaxLineDTO[]>} The list of line item tax lines.
|
|
1087
|
-
*
|
|
1088
|
-
* @example
|
|
1089
|
-
* To retrieve a list of line item tax lines using their IDs:
|
|
1090
|
-
*
|
|
1091
|
-
* ```ts
|
|
1092
|
-
* const lineItemTaxLines =
|
|
1093
|
-
* await cartModuleService.listLineItemTaxLines({
|
|
1094
|
-
* id: ["calitxl_123", "calitxl_321"],
|
|
1095
|
-
* })
|
|
1096
|
-
* ```
|
|
1097
|
-
*
|
|
1098
|
-
* To specify relations that should be retrieved within the line item tax lines:
|
|
1099
|
-
*
|
|
1100
|
-
* :::note
|
|
1101
|
-
*
|
|
1102
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
1103
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
1104
|
-
*
|
|
1105
|
-
* :::
|
|
1106
|
-
*
|
|
1107
|
-
* ```ts
|
|
1108
|
-
* const lineItemTaxLines =
|
|
1109
|
-
* await cartModuleService.listLineItemTaxLines(
|
|
1110
|
-
* {
|
|
1111
|
-
* id: ["calitxl_123", "calitxl_321"],
|
|
1112
|
-
* },
|
|
1113
|
-
* {
|
|
1114
|
-
* relations: ["item"],
|
|
1115
|
-
* }
|
|
1116
|
-
* )
|
|
1117
|
-
* ```
|
|
1118
|
-
*
|
|
1119
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1120
|
-
*
|
|
1121
|
-
* ```ts
|
|
1122
|
-
* const lineItemTaxLines =
|
|
1123
|
-
* await cartModuleService.listLineItemTaxLines(
|
|
1124
|
-
* {
|
|
1125
|
-
* id: ["calitxl_123", "calitxl_321"],
|
|
1126
|
-
* },
|
|
1127
|
-
* {
|
|
1128
|
-
* relations: ["item"],
|
|
1129
|
-
* take: 20,
|
|
1130
|
-
* skip: 2,
|
|
1131
|
-
* }
|
|
1132
|
-
* )
|
|
1133
|
-
* ```
|
|
1134
|
-
*/
|
|
1135
|
-
listLineItemTaxLines(filters: FilterableLineItemTaxLineProps, config?: FindConfig<LineItemTaxLineDTO>, sharedContext?: Context): Promise<LineItemTaxLineDTO[]>;
|
|
1136
|
-
/**
|
|
1137
|
-
* This method creates and adds line item tax lines.
|
|
1138
|
-
*
|
|
1139
|
-
* @param {CreateLineItemTaxLineDTO[]} taxLines - The line item tax lines to be created.
|
|
1140
|
-
* @returns {Promise<LineItemTaxLineDTO[]>} The added line item tax lines.
|
|
1141
|
-
*
|
|
1142
|
-
* @example
|
|
1143
|
-
* const lineItemTaxLines =
|
|
1144
|
-
* await cartModuleService.addLineItemTaxLines([
|
|
1145
|
-
* {
|
|
1146
|
-
* code: "1000",
|
|
1147
|
-
* rate: 10,
|
|
1148
|
-
* },
|
|
1149
|
-
* {
|
|
1150
|
-
* code: "1234",
|
|
1151
|
-
* rate: 20,
|
|
1152
|
-
* },
|
|
1153
|
-
* ])
|
|
1154
|
-
*/
|
|
1155
|
-
addLineItemTaxLines(taxLines: CreateLineItemTaxLineDTO[]): Promise<LineItemTaxLineDTO[]>;
|
|
1156
|
-
/**
|
|
1157
|
-
* This method creates and adds a line item tax line.
|
|
1158
|
-
*
|
|
1159
|
-
* @param {CreateLineItemTaxLineDTO} taxLine - The line item tax line to be created.
|
|
1160
|
-
* @returns {Promise<LineItemTaxLineDTO>} The added line item tax line.
|
|
1161
|
-
*
|
|
1162
|
-
* @example
|
|
1163
|
-
* const lineItemTaxLines =
|
|
1164
|
-
* await cartModuleService.addLineItemTaxLines({
|
|
1165
|
-
* code: "1000",
|
|
1166
|
-
* rate: 10,
|
|
1167
|
-
* })
|
|
1168
|
-
*/
|
|
1169
|
-
addLineItemTaxLines(taxLine: CreateLineItemTaxLineDTO): Promise<LineItemTaxLineDTO>;
|
|
1170
|
-
/**
|
|
1171
|
-
* This method creates and adds one or more line item tax lines to a cart.
|
|
1172
|
-
*
|
|
1173
|
-
* @param {string} cartId - The cart's ID.
|
|
1174
|
-
* @param {CreateLineItemTaxLineDTO | CreateLineItemTaxLineDTO[]} taxLines - The line item tax lines to add.
|
|
1175
|
-
* You can specify one or more items.
|
|
1176
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1177
|
-
* @returns {Promise<LineItemTaxLineDTO[]>} The added line item tax lines.
|
|
1178
|
-
*
|
|
1179
|
-
* @example
|
|
1180
|
-
* const lineItemTaxLines =
|
|
1181
|
-
* await cartModuleService.addLineItemTaxLines("cart_123", {
|
|
1182
|
-
* code: "1000",
|
|
1183
|
-
* rate: 10,
|
|
1184
|
-
* })
|
|
1185
|
-
*/
|
|
1186
|
-
addLineItemTaxLines(cartId: string, taxLines: CreateLineItemTaxLineDTO[] | CreateLineItemTaxLineDTO, sharedContext?: Context): Promise<LineItemTaxLineDTO[]>;
|
|
1187
|
-
/**
|
|
1188
|
-
* This method sets the line item tax lines in a cart. The existing line item tax lines,
|
|
1189
|
-
* except those included in the specified list, are removed and replaced with the specified tax lines.
|
|
1190
|
-
*
|
|
1191
|
-
* @param {string} cartId - The cart's ID.
|
|
1192
|
-
* @param {(CreateLineItemTaxLineDTO | UpdateLineItemTaxLineDTO)[]} taxLines - The line item tax lines to add.
|
|
1193
|
-
* If the `id` field is specified, the tax line is kept and its attributes can be updated.
|
|
1194
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1195
|
-
* @returns {Promise<LineItemTaxLineDTO[]>} The added line item tax lines.
|
|
1196
|
-
*
|
|
1197
|
-
* @example
|
|
1198
|
-
* const lineItemTaxLines =
|
|
1199
|
-
* await cartModuleService.setLineItemTaxLines("cart_123", [
|
|
1200
|
-
* {
|
|
1201
|
-
* code: "1000",
|
|
1202
|
-
* rate: 10,
|
|
1203
|
-
* },
|
|
1204
|
-
* {
|
|
1205
|
-
* code: "1234",
|
|
1206
|
-
* rate: 20,
|
|
1207
|
-
* },
|
|
1208
|
-
* ])
|
|
1209
|
-
*/
|
|
1210
|
-
setLineItemTaxLines(cartId: string, taxLines: (CreateLineItemTaxLineDTO | UpdateLineItemTaxLineDTO)[], sharedContext?: Context): Promise<LineItemTaxLineDTO[]>;
|
|
1211
|
-
/**
|
|
1212
|
-
* This method retrieves a paginated list of shipping method tax lines based on optional filters and configuration.
|
|
1213
|
-
*
|
|
1214
|
-
* @param {FilterableShippingMethodTaxLineProps} filters - The filters to apply on the retrieved shipping method tax lines.
|
|
1215
|
-
* @param {FindConfig<ShippingMethodTaxLineDTO>} config - The configurations determining how the shipping method tax line is retrieved. Its properties, such as `select` or `relations`, accept the
|
|
1216
|
-
* attributes or relations associated with a shipping method tax line.
|
|
1217
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1218
|
-
* @returns {Promise<ShippingMethodTaxLineDTO[]>} The list of shipping method tax lines.
|
|
1219
|
-
*
|
|
1220
|
-
* @example
|
|
1221
|
-
* To retrieve a list of shipping method tax lines using their IDs:
|
|
1222
|
-
*
|
|
1223
|
-
* ```ts
|
|
1224
|
-
* const shippingMethodTaxLines =
|
|
1225
|
-
* await cartModuleService.listShippingMethodTaxLines({
|
|
1226
|
-
* id: ["casmtxl_123", "casmtxl_321"],
|
|
1227
|
-
* })
|
|
1228
|
-
* ```
|
|
1229
|
-
*
|
|
1230
|
-
* To specify relations that should be retrieved within the shipping method tax lines:
|
|
1231
|
-
*
|
|
1232
|
-
* :::note
|
|
1233
|
-
*
|
|
1234
|
-
* You can only retrieve data models defined in the same module. To retrieve linked data models
|
|
1235
|
-
* from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
|
|
1236
|
-
*
|
|
1237
|
-
* :::
|
|
1238
|
-
*
|
|
1239
|
-
* ```ts
|
|
1240
|
-
* const shippingMethodTaxLines =
|
|
1241
|
-
* await cartModuleService.listShippingMethodTaxLines(
|
|
1242
|
-
* {
|
|
1243
|
-
* id: ["casmtxl_123", "casmtxl_321"],
|
|
1244
|
-
* },
|
|
1245
|
-
* {
|
|
1246
|
-
* relations: ["shipping_method"],
|
|
1247
|
-
* }
|
|
1248
|
-
* )
|
|
1249
|
-
* ```
|
|
1250
|
-
*
|
|
1251
|
-
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
|
1252
|
-
*
|
|
1253
|
-
* ```ts
|
|
1254
|
-
* const shippingMethodTaxLines =
|
|
1255
|
-
* await cartModuleService.listShippingMethodTaxLines(
|
|
1256
|
-
* {
|
|
1257
|
-
* id: ["casmtxl_123", "casmtxl_321"],
|
|
1258
|
-
* },
|
|
1259
|
-
* {
|
|
1260
|
-
* relations: ["shipping_method"],
|
|
1261
|
-
* take: 20,
|
|
1262
|
-
* skip: 2,
|
|
1263
|
-
* }
|
|
1264
|
-
* )
|
|
1265
|
-
* ```
|
|
1266
|
-
*/
|
|
1267
|
-
listShippingMethodTaxLines(filters: FilterableShippingMethodTaxLineProps, config?: FindConfig<ShippingMethodTaxLineDTO>, sharedContext?: Context): Promise<ShippingMethodTaxLineDTO[]>;
|
|
1268
|
-
/**
|
|
1269
|
-
* This method creates and adds shipping method tax lines.
|
|
1270
|
-
*
|
|
1271
|
-
* @param {CreateShippingMethodTaxLineDTO[]} taxLines - The shipping method tax lines to be created.
|
|
1272
|
-
* @returns {Promise<ShippingMethodTaxLineDTO[]>} The added shipping method tax lines.
|
|
1273
|
-
*
|
|
1274
|
-
* @example
|
|
1275
|
-
* const shippingMethodTaxLines =
|
|
1276
|
-
* await cartModuleService.addShippingMethodTaxLines([
|
|
1277
|
-
* {
|
|
1278
|
-
* code: "1000",
|
|
1279
|
-
* rate: 10,
|
|
1280
|
-
* },
|
|
1281
|
-
* {
|
|
1282
|
-
* code: "1234",
|
|
1283
|
-
* rate: 20,
|
|
1284
|
-
* },
|
|
1285
|
-
* ])
|
|
1286
|
-
*/
|
|
1287
|
-
addShippingMethodTaxLines(taxLines: CreateShippingMethodTaxLineDTO[]): Promise<ShippingMethodTaxLineDTO[]>;
|
|
1288
|
-
/**
|
|
1289
|
-
* This method creates and adds a shipping method tax line.
|
|
1290
|
-
*
|
|
1291
|
-
* @param {CreateShippingMethodTaxLineDTO} taxLine - The shipping method tax line to be created.
|
|
1292
|
-
* @returns {Promise<ShippingMethodTaxLineDTO>} The added shipping method tax line.
|
|
1293
|
-
*
|
|
1294
|
-
* @example
|
|
1295
|
-
* const shippingMethodTaxLine =
|
|
1296
|
-
* await cartModuleService.addShippingMethodTaxLines({
|
|
1297
|
-
* code: "1000",
|
|
1298
|
-
* rate: 10,
|
|
1299
|
-
* })
|
|
1300
|
-
*/
|
|
1301
|
-
addShippingMethodTaxLines(taxLine: CreateShippingMethodTaxLineDTO): Promise<ShippingMethodTaxLineDTO>;
|
|
1302
|
-
/**
|
|
1303
|
-
* This method creates and adds one or more shipping method tax lines to a cart.
|
|
1304
|
-
*
|
|
1305
|
-
* @param {string} cartId - The cart's ID.
|
|
1306
|
-
* @param {CreateShippingMethodTaxLineDTO | CreateShippingMethodTaxLineDTO[]} taxLines - The shipping item tax lines to add.
|
|
1307
|
-
* If the `id` field is specified, the tax line is kept and its attributes can be updated.
|
|
1308
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1309
|
-
* @returns {Promise<ShippingMethodTaxLineDTO[]>} The added shipping method tax lines.
|
|
1310
|
-
*
|
|
1311
|
-
* @example
|
|
1312
|
-
* const shippingMethodTaxLines =
|
|
1313
|
-
* await cartModuleService.addShippingMethodTaxLines(
|
|
1314
|
-
* "cart_123",
|
|
1315
|
-
* [
|
|
1316
|
-
* {
|
|
1317
|
-
* code: "1000",
|
|
1318
|
-
* rate: 10,
|
|
1319
|
-
* },
|
|
1320
|
-
* {
|
|
1321
|
-
* code: "1234",
|
|
1322
|
-
* rate: 20,
|
|
1323
|
-
* },
|
|
1324
|
-
* ]
|
|
1325
|
-
* )
|
|
1326
|
-
*/
|
|
1327
|
-
addShippingMethodTaxLines(cartId: string, taxLines: CreateShippingMethodTaxLineDTO[] | CreateShippingMethodTaxLineDTO, sharedContext?: Context): Promise<ShippingMethodTaxLineDTO[]>;
|
|
1328
|
-
/**
|
|
1329
|
-
* This method sets the shipping item tax lines in a cart. The shipping line item tax lines,
|
|
1330
|
-
* except those included in the specified list, are removed and replaced with the specified tax lines.
|
|
1331
|
-
*
|
|
1332
|
-
* @param {string} cartId - The cart's ID.
|
|
1333
|
-
* @param {(CreateShippingMethodTaxLineDTO | UpdateShippingMethodTaxLineDTO)[]} taxLines - The shipping item tax lines to add.
|
|
1334
|
-
* If the `id` field is specified, the tax line is kept and its attributes can be updated.
|
|
1335
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1336
|
-
* @returns {Promise<ShippingMethodTaxLineDTO[]>} The added shipping method tax lines.
|
|
1337
|
-
*
|
|
1338
|
-
* @example
|
|
1339
|
-
* const shippingMethodTaxLines =
|
|
1340
|
-
* await cartModuleService.setShippingMethodTaxLines(
|
|
1341
|
-
* "cart_123",
|
|
1342
|
-
* [
|
|
1343
|
-
* {
|
|
1344
|
-
* code: "1000",
|
|
1345
|
-
* rate: 10,
|
|
1346
|
-
* },
|
|
1347
|
-
* {
|
|
1348
|
-
* code: "1234",
|
|
1349
|
-
* rate: 20,
|
|
1350
|
-
* },
|
|
1351
|
-
* ]
|
|
1352
|
-
* )
|
|
1353
|
-
*/
|
|
1354
|
-
setShippingMethodTaxLines(cartId: string, taxLines: (CreateShippingMethodTaxLineDTO | UpdateShippingMethodTaxLineDTO)[], sharedContext?: Context): Promise<ShippingMethodTaxLineDTO[]>;
|
|
1355
|
-
/**
|
|
1356
|
-
* This method deletes line items by their IDs.
|
|
1357
|
-
*
|
|
1358
|
-
* @param {string[]} ids - The IDs of the line items.
|
|
1359
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1360
|
-
* @returns {Promise<void>} Resolves when the line items are deleted successfully.
|
|
1361
|
-
*
|
|
1362
|
-
* @example
|
|
1363
|
-
* await cartModuleService.deleteLineItems([
|
|
1364
|
-
* "cali_123",
|
|
1365
|
-
* "cali_321",
|
|
1366
|
-
* ])
|
|
1367
|
-
*/
|
|
1368
|
-
deleteLineItems(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1369
|
-
/**
|
|
1370
|
-
* This method deletes a line item by its ID.
|
|
1371
|
-
*
|
|
1372
|
-
* @param {string} id - The ID of the line item.
|
|
1373
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1374
|
-
* @returns {Promise<void>} Resolves when a line item is deleted successfully.
|
|
1375
|
-
*
|
|
1376
|
-
* @example
|
|
1377
|
-
* await cartModuleService.deleteLineItems("cali_123")
|
|
1378
|
-
*/
|
|
1379
|
-
deleteLineItems(id: string, sharedContext?: Context): Promise<void>;
|
|
1380
|
-
/**
|
|
1381
|
-
* This method deletes shipping methods by their IDs.
|
|
1382
|
-
*
|
|
1383
|
-
* @param {string[]} ids - The IDs of the shipping methods.
|
|
1384
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1385
|
-
* @returns {Promise<void>} Resolves when the shipping methods are deleted successfully.
|
|
1386
|
-
*
|
|
1387
|
-
* @example
|
|
1388
|
-
* await cartModuleService.deleteShippingMethods([
|
|
1389
|
-
* "casm_123",
|
|
1390
|
-
* "casm_321",
|
|
1391
|
-
* ])
|
|
1392
|
-
*/
|
|
1393
|
-
deleteShippingMethods(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1394
|
-
/**
|
|
1395
|
-
* This method deletes a shipping method by its ID.
|
|
1396
|
-
*
|
|
1397
|
-
* @param {string} id - The ID of the shipping method.
|
|
1398
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1399
|
-
* @returns {Promise<void>} Resolves when the shipping method is deleted successfully.
|
|
1400
|
-
*
|
|
1401
|
-
* @example
|
|
1402
|
-
* await cartModuleService.deleteShippingMethods("casm_123")
|
|
1403
|
-
*/
|
|
1404
|
-
deleteShippingMethods(id: string, sharedContext?: Context): Promise<void>;
|
|
1405
|
-
/**
|
|
1406
|
-
* This method deletes line item adjustments by their IDs.
|
|
1407
|
-
*
|
|
1408
|
-
* @param {string[]} ids - The IDs of the line item adjustments.
|
|
1409
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1410
|
-
* @returns {Promise<void>} Resolves when the line item adjustments are deleted successfully.
|
|
1411
|
-
*
|
|
1412
|
-
* @example
|
|
1413
|
-
* await cartModuleService.deleteLineItemAdjustments([
|
|
1414
|
-
* "caliadj_123",
|
|
1415
|
-
* "caliadj_321",
|
|
1416
|
-
* ])
|
|
1417
|
-
*/
|
|
1418
|
-
deleteLineItemAdjustments(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1419
|
-
/**
|
|
1420
|
-
* This method deletes a line item adjustment by its ID.
|
|
1421
|
-
*
|
|
1422
|
-
* @param {string} id - The ID of the line item adjustment.
|
|
1423
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1424
|
-
* @returns {Promise<void>} Resolves when the line item adjustment is deleted successfully.
|
|
1425
|
-
*
|
|
1426
|
-
* @example
|
|
1427
|
-
* await cartModuleService.deleteLineItemAdjustments(
|
|
1428
|
-
* "caliadj_123"
|
|
1429
|
-
* )
|
|
1430
|
-
*/
|
|
1431
|
-
deleteLineItemAdjustments(id: string, sharedContext?: Context): Promise<void>;
|
|
1432
|
-
/**
|
|
1433
|
-
* This method deletes shipping method adjustments by their IDs.
|
|
1434
|
-
*
|
|
1435
|
-
* @param {string[]} ids - The IDs of the shipping method adjustments.
|
|
1436
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1437
|
-
* @returns {Promise<void>} Resolves when the shipping method adjustments are deleted successfully.
|
|
1438
|
-
*
|
|
1439
|
-
* @example
|
|
1440
|
-
* await cartModuleService.deleteShippingMethodAdjustments([
|
|
1441
|
-
* "casmadj_123",
|
|
1442
|
-
* "casmadj_321",
|
|
1443
|
-
* ])
|
|
1444
|
-
*/
|
|
1445
|
-
deleteShippingMethodAdjustments(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1446
|
-
/**
|
|
1447
|
-
* This method deletes a shipping method adjustment by its ID.
|
|
1448
|
-
*
|
|
1449
|
-
* @param {string} id - The ID of the shipping method adjustment.
|
|
1450
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1451
|
-
* @returns {Promise<void>} Resolves when shipping method adjustment is deleted successfully.
|
|
1452
|
-
*
|
|
1453
|
-
* @example
|
|
1454
|
-
* await cartModuleService.deleteShippingMethodAdjustments(
|
|
1455
|
-
* "casmadj_123"
|
|
1456
|
-
* )
|
|
1457
|
-
*/
|
|
1458
|
-
deleteShippingMethodAdjustments(id: string, sharedContext?: Context): Promise<void>;
|
|
1459
|
-
/**
|
|
1460
|
-
* This method deletes line item tax lines by their IDs.
|
|
1461
|
-
*
|
|
1462
|
-
* @param {string[]} ids - The IDs of the line item tax lines.
|
|
1463
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1464
|
-
* @returns {Promise<void>} Resolves when the line item tax lines are deleted successfully.
|
|
1465
|
-
*
|
|
1466
|
-
* @example
|
|
1467
|
-
* await cartModuleService.deleteLineItemTaxLines([
|
|
1468
|
-
* "calitxl_123",
|
|
1469
|
-
* "calitxl_321",
|
|
1470
|
-
* ])
|
|
1471
|
-
*/
|
|
1472
|
-
deleteLineItemTaxLines(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1473
|
-
/**
|
|
1474
|
-
* This method deletes a line item tax line by its ID.
|
|
1475
|
-
*
|
|
1476
|
-
* @param {string} id - The ID of the line item tax line.
|
|
1477
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1478
|
-
* @returns {Promise<void>} Resolves when the line item tax line is deleted successfully.
|
|
1479
|
-
*
|
|
1480
|
-
* @example
|
|
1481
|
-
* await cartModuleService.deleteLineItemTaxLines("calitxl_123")
|
|
1482
|
-
*/
|
|
1483
|
-
deleteLineItemTaxLines(id: string, sharedContext?: Context): Promise<void>;
|
|
1484
|
-
/**
|
|
1485
|
-
* This method deletes shipping method tax lines by their IDs.
|
|
1486
|
-
*
|
|
1487
|
-
* @param {string[]} ids - The IDs of the shipping method tax lines.
|
|
1488
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1489
|
-
* @returns {Promise<void>} Resolves when the shipping method tax lines are deleted successfully.
|
|
1490
|
-
*
|
|
1491
|
-
* @example
|
|
1492
|
-
* await cartModuleService.deleteShippingMethodTaxLines([
|
|
1493
|
-
* "casmtxl_123",
|
|
1494
|
-
* "casmtxl_321",
|
|
1495
|
-
* ])
|
|
1496
|
-
*/
|
|
1497
|
-
deleteShippingMethodTaxLines(ids: string[], sharedContext?: Context): Promise<void>;
|
|
1498
|
-
/**
|
|
1499
|
-
* This method deletes a shipping method tax line by its ID.
|
|
1500
|
-
*
|
|
1501
|
-
* @param {string} id - The ID of the shipping method tax line.
|
|
1502
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1503
|
-
* @returns {Promise<void>} Resolves when the shipping method tax line is deleted successfully.
|
|
1504
|
-
*
|
|
1505
|
-
* @example
|
|
1506
|
-
* await cartModuleService.deleteShippingMethodTaxLines(
|
|
1507
|
-
* "casmtxl_123"
|
|
1508
|
-
* )
|
|
1509
|
-
*/
|
|
1510
|
-
deleteShippingMethodTaxLines(id: string, sharedContext?: Context): Promise<void>;
|
|
1511
|
-
/**
|
|
1512
|
-
* This method soft deletes carts by their IDs.
|
|
1513
|
-
*
|
|
1514
|
-
* @param {string[]} ids - The IDs of the carts.
|
|
1515
|
-
* @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.
|
|
1516
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1517
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated line item.
|
|
1518
|
-
* The object's keys are the ID attribute names of the cart entity's relations, such as `item_id`, and its value is an array of strings, each being the ID of a record associated
|
|
1519
|
-
* with the cart through this relation, such as the IDs of associated line item.
|
|
1520
|
-
*
|
|
1521
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1522
|
-
*
|
|
1523
|
-
* @example
|
|
1524
|
-
* await cartModuleService.softDeleteCarts(["cart_123", "cart_321"])
|
|
1525
|
-
*/
|
|
1526
|
-
softDeleteCarts<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1527
|
-
/**
|
|
1528
|
-
* This method restores soft deleted carts by their IDs.
|
|
1529
|
-
*
|
|
1530
|
-
* @param {string[]} ids - The IDs of the carts.
|
|
1531
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the carts. You can pass to its `returnLinkableKeys`
|
|
1532
|
-
* property any of the cart's relation attribute names, such as `items`.
|
|
1533
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1534
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated line item.
|
|
1535
|
-
* The object's keys are the ID attribute names of the cart entity's relations, such as `item_id`,
|
|
1536
|
-
* and its value is an array of strings, each being the ID of the record associated with the cart through this relation,
|
|
1537
|
-
* such as the IDs of associated line item.
|
|
1538
|
-
*
|
|
1539
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1540
|
-
*
|
|
1541
|
-
* @example
|
|
1542
|
-
* await cartModuleService.restoreCarts(["cart_123", "cart_321"])
|
|
1543
|
-
*/
|
|
1544
|
-
restoreCarts<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1545
|
-
/**
|
|
1546
|
-
* This method soft deletes addresses by their IDs.
|
|
1547
|
-
*
|
|
1548
|
-
* @param {string[]} ids - The IDs of the addresses.
|
|
1549
|
-
* @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.
|
|
1550
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1551
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1552
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1553
|
-
*
|
|
1554
|
-
* @example
|
|
1555
|
-
* await cartModuleService.softDeleteAddresses([
|
|
1556
|
-
* "caaddr_123",
|
|
1557
|
-
* "caaddr_321",
|
|
1558
|
-
* ])
|
|
1559
|
-
*/
|
|
1560
|
-
softDeleteAddresses<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1561
|
-
/**
|
|
1562
|
-
* This method restores soft deleted addresses by their IDs.
|
|
1563
|
-
*
|
|
1564
|
-
* @param {string[]} ids - The IDs of the addresses.
|
|
1565
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the addresses. You can pass to its `returnLinkableKeys`
|
|
1566
|
-
* property any of the address's relation attribute names.
|
|
1567
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1568
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1569
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1570
|
-
*
|
|
1571
|
-
* @example
|
|
1572
|
-
* await cartModuleService.restoreAddresses([
|
|
1573
|
-
* "caaddr_123",
|
|
1574
|
-
* "caaddr_321",
|
|
1575
|
-
* ])
|
|
1576
|
-
*/
|
|
1577
|
-
restoreAddresses<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1578
|
-
/**
|
|
1579
|
-
* This method soft deletes line items by their IDs.
|
|
1580
|
-
*
|
|
1581
|
-
* @param {string[]} ids - The IDs of the line items.
|
|
1582
|
-
* @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.
|
|
1583
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1584
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated tax lines.
|
|
1585
|
-
* The object's keys are the ID attribute names of the line item entity's relations, such as `tax_line_id`, and its value is an array of strings, each being the ID of a record associated
|
|
1586
|
-
* with the line item through this relation, such as the IDs of associated tax lines.
|
|
1587
|
-
*
|
|
1588
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1589
|
-
*
|
|
1590
|
-
* @example
|
|
1591
|
-
* await cartModuleService.softDeleteLineItems([
|
|
1592
|
-
* "cali_123",
|
|
1593
|
-
* "cali_321",
|
|
1594
|
-
* ])
|
|
1595
|
-
*/
|
|
1596
|
-
softDeleteLineItems<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1597
|
-
/**
|
|
1598
|
-
* This method restores soft deleted line items by their IDs.
|
|
1599
|
-
*
|
|
1600
|
-
* @param {string[]} ids - The IDs of the line items.
|
|
1601
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the line items. You can pass to its `returnLinkableKeys`
|
|
1602
|
-
* property any of the line item's relation attribute names, such as `tax_lines`.
|
|
1603
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1604
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated tax line.
|
|
1605
|
-
* The object's keys are the ID attribute names of the line item entity's relations, such as `tax_line_id`,
|
|
1606
|
-
* and its value is an array of strings, each being the ID of the record associated with the line item through this relation,
|
|
1607
|
-
* such as the IDs of associated tax line.
|
|
1608
|
-
*
|
|
1609
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1610
|
-
*
|
|
1611
|
-
* @example
|
|
1612
|
-
* await cartModuleService.restoreLineItems([
|
|
1613
|
-
* "cali_123",
|
|
1614
|
-
* "cali_321",
|
|
1615
|
-
* ])
|
|
1616
|
-
*/
|
|
1617
|
-
restoreLineItems<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1618
|
-
/**
|
|
1619
|
-
* This method soft deletes shipping methods by their IDs.
|
|
1620
|
-
*
|
|
1621
|
-
* @param {string[]} ids - The IDs of the shipping methods.
|
|
1622
|
-
* @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.
|
|
1623
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1624
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted, such as the ID of the associated tax lines.
|
|
1625
|
-
* The object's keys are the ID attribute names of the shipping method entity's relations, such as `tax_line_id`, and its value is an array of strings, each being the ID of a record associated
|
|
1626
|
-
* with the shipping method through this relation, such as the IDs of associated tax line.
|
|
1627
|
-
*
|
|
1628
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1629
|
-
*
|
|
1630
|
-
* @example
|
|
1631
|
-
* await cartModuleService.softDeleteShippingMethods([
|
|
1632
|
-
* "casm_123",
|
|
1633
|
-
* "casm_321",
|
|
1634
|
-
* ])
|
|
1635
|
-
*/
|
|
1636
|
-
softDeleteShippingMethods<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1637
|
-
/**
|
|
1638
|
-
* This method restores soft deleted shipping methods by their IDs.
|
|
1639
|
-
*
|
|
1640
|
-
* @param {string[]} ids - The IDs of the shipping methods.
|
|
1641
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping methods. You can pass to its `returnLinkableKeys`
|
|
1642
|
-
* property any of the shipping method's relation attribute names, such as `tax_lines`.
|
|
1643
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1644
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored, such as the ID of associated tax lines.
|
|
1645
|
-
* The object's keys are the ID attribute names of the shipping method entity's relations, such as `tax_line_id`,
|
|
1646
|
-
* and its value is an array of strings, each being the ID of the record associated with the shipping method through this relation,
|
|
1647
|
-
* such as the IDs of associated tax lines.
|
|
1648
|
-
*
|
|
1649
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1650
|
-
*
|
|
1651
|
-
* @example
|
|
1652
|
-
* await cartModuleService.restoreShippingMethods([
|
|
1653
|
-
* "casm_123",
|
|
1654
|
-
* "casm_321",
|
|
1655
|
-
* ])
|
|
1656
|
-
*/
|
|
1657
|
-
restoreShippingMethods<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1658
|
-
/**
|
|
1659
|
-
* This method soft deletes line item adjustments by their IDs.
|
|
1660
|
-
*
|
|
1661
|
-
* @param {string[]} ids - The IDs of the line item adjustments.
|
|
1662
|
-
* @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.
|
|
1663
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1664
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1665
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1666
|
-
*
|
|
1667
|
-
* @example
|
|
1668
|
-
* await cartModuleService.softDeleteLineItemAdjustments([
|
|
1669
|
-
* "caliadj_123",
|
|
1670
|
-
* "caliadj_321",
|
|
1671
|
-
* ])
|
|
1672
|
-
*/
|
|
1673
|
-
softDeleteLineItemAdjustments<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1674
|
-
/**
|
|
1675
|
-
* This method restores soft deleted line item adjustments by their IDs.
|
|
1676
|
-
*
|
|
1677
|
-
* @param {string[]} ids - The IDs of the line item adjustments.
|
|
1678
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the line item adjustments. You can pass to its `returnLinkableKeys`
|
|
1679
|
-
* property any of the line item adjustment's relation attribute names.
|
|
1680
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1681
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1682
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1683
|
-
*
|
|
1684
|
-
* @example
|
|
1685
|
-
* await cartModuleService.restoreLineItemAdjustments([
|
|
1686
|
-
* "caliadj_123",
|
|
1687
|
-
* "caliadj_321",
|
|
1688
|
-
* ])
|
|
1689
|
-
*/
|
|
1690
|
-
restoreLineItemAdjustments<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1691
|
-
/**
|
|
1692
|
-
* This method soft deletes shipping method adjustments by their IDs.
|
|
1693
|
-
*
|
|
1694
|
-
* @param {string[]} ids - The IDs of the shipping method adjustments.
|
|
1695
|
-
* @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.
|
|
1696
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1697
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1698
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1699
|
-
*
|
|
1700
|
-
* @example
|
|
1701
|
-
* await cartModuleService.softDeleteShippingMethodAdjustments([
|
|
1702
|
-
* "casmadj_123",
|
|
1703
|
-
* "casmadj_321",
|
|
1704
|
-
* ])
|
|
1705
|
-
*/
|
|
1706
|
-
softDeleteShippingMethodAdjustments<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1707
|
-
/**
|
|
1708
|
-
* This method restores soft deleted shipping method adjustments by their IDs.
|
|
1709
|
-
*
|
|
1710
|
-
* @param {string[]} ids - The IDs of the shipping method adjustments.
|
|
1711
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping method adjustment. You can pass to its `returnLinkableKeys`
|
|
1712
|
-
* property any of the shipping method adjustment's relation attribute names.
|
|
1713
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1714
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1715
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1716
|
-
*
|
|
1717
|
-
* @example
|
|
1718
|
-
* await cartModuleService.restoreShippingMethodAdjustments([
|
|
1719
|
-
* "casmadj_123",
|
|
1720
|
-
* "casmadj_321",
|
|
1721
|
-
* ])
|
|
1722
|
-
*/
|
|
1723
|
-
restoreShippingMethodAdjustments<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1724
|
-
/**
|
|
1725
|
-
* This method soft deletes line item tax lines by their IDs.
|
|
1726
|
-
*
|
|
1727
|
-
* @param {string[]} ids - The IDs of the line item tax lines.
|
|
1728
|
-
* @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.
|
|
1729
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1730
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1731
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1732
|
-
*
|
|
1733
|
-
* @example
|
|
1734
|
-
* await cartModuleService.softDeleteLineItemTaxLines([
|
|
1735
|
-
* "calitxl_123",
|
|
1736
|
-
* "calitxl_321",
|
|
1737
|
-
* ])
|
|
1738
|
-
*/
|
|
1739
|
-
softDeleteLineItemTaxLines<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1740
|
-
/**
|
|
1741
|
-
* This method restores soft deleted line item tax lines by its IDs.
|
|
1742
|
-
*
|
|
1743
|
-
* @param {string[]} ids - The IDs of the line item tax lines.
|
|
1744
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the line item tax lines. You can pass to its `returnLinkableKeys`
|
|
1745
|
-
* property any of the line item tax line's relation attribute names.
|
|
1746
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1747
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1748
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1749
|
-
*
|
|
1750
|
-
* @example
|
|
1751
|
-
* await cartModuleService.restoreLineItemTaxLines([
|
|
1752
|
-
* "calitxl_123",
|
|
1753
|
-
* "calitxl_321",
|
|
1754
|
-
* ])
|
|
1755
|
-
*/
|
|
1756
|
-
restoreLineItemTaxLines<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1757
|
-
/**
|
|
1758
|
-
* This method soft deletes shipping method tax lines by their IDs.
|
|
1759
|
-
*
|
|
1760
|
-
* @param {string[]} ids - The IDs of the shipping method tax lines.
|
|
1761
|
-
* @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.
|
|
1762
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1763
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
|
1764
|
-
* If there are no related records, the promise resolves to `void`.
|
|
1765
|
-
*
|
|
1766
|
-
* @example
|
|
1767
|
-
* await cartModuleService.softDeleteShippingMethodTaxLines([
|
|
1768
|
-
* "casmtxl_123",
|
|
1769
|
-
* "casmtxl_321",
|
|
1770
|
-
* ])
|
|
1771
|
-
*/
|
|
1772
|
-
softDeleteShippingMethodTaxLines<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1773
|
-
/**
|
|
1774
|
-
* This method restores soft deleted shipping method tax lines by their IDs.
|
|
1775
|
-
*
|
|
1776
|
-
* @param {string[]} ids - The IDs of the shipping method tax lines.
|
|
1777
|
-
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping method tax lines. You can pass to its `returnLinkableKeys`
|
|
1778
|
-
* property any of the shipping method tax line's relation attribute names.
|
|
1779
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1780
|
-
* @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
|
|
1781
|
-
* If there are no related records restored, the promise resolves to `void`.
|
|
1782
|
-
*
|
|
1783
|
-
* @example
|
|
1784
|
-
* await cartModuleService.restoreShippingMethodTaxLines([
|
|
1785
|
-
* "casmtxl_123",
|
|
1786
|
-
* "casmtxl_321",
|
|
1787
|
-
* ])
|
|
1788
|
-
*/
|
|
1789
|
-
restoreShippingMethodTaxLines<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
|
1790
|
-
/**
|
|
1791
|
-
* This method upserts line item adjustments.
|
|
1792
|
-
*
|
|
1793
|
-
* @param {UpsertLineItemAdjustmentDTO[]} data - The line item adjustments to create or update. If the `id` property is provided
|
|
1794
|
-
* in an object, it means an existing line item adjustment will be updated. Otherwise, a new one is created.
|
|
1795
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1796
|
-
* @returns {Promise<LineItemAdjustmentDTO[]>} The line item adjustments.
|
|
1797
|
-
*
|
|
1798
|
-
* @example
|
|
1799
|
-
* const lineItemAdjustments = await orderModuleService.upsertLineItemAdjustments(
|
|
1800
|
-
* [
|
|
1801
|
-
* {
|
|
1802
|
-
* item_id: "1234",
|
|
1803
|
-
* amount: 10
|
|
1804
|
-
* },
|
|
1805
|
-
* {
|
|
1806
|
-
* id: "123",
|
|
1807
|
-
* item_id: "4321",
|
|
1808
|
-
* amount: 20
|
|
1809
|
-
* }
|
|
1810
|
-
* ]
|
|
1811
|
-
* )
|
|
1812
|
-
*
|
|
1813
|
-
*/
|
|
1814
|
-
upsertLineItemAdjustments(data: UpsertLineItemAdjustmentDTO[], sharedContext?: Context): Promise<LineItemAdjustmentDTO[]>;
|
|
1815
|
-
/**
|
|
1816
|
-
* This method upserts shipping method adjustments.
|
|
1817
|
-
*
|
|
1818
|
-
* @param {(CreateShippingMethodAdjustmentDTO | UpdateShippingMethodAdjustmentDTO)[]} data - The shipping method adjustments to be created
|
|
1819
|
-
* or updated. If an adjustment object has an `id` property, it's updated. Otherwise, a new adjustment is created.
|
|
1820
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1821
|
-
* @returns {Promise<ShippingMethodAdjustmentDTO[]>} The shipping method adjustments.
|
|
1822
|
-
*
|
|
1823
|
-
* @example
|
|
1824
|
-
* const shippingMethodAdjustments = await orderModuleService
|
|
1825
|
-
* .upsertShippingMethodAdjustments(
|
|
1826
|
-
* [
|
|
1827
|
-
* {
|
|
1828
|
-
* shipping_method_id: "123",
|
|
1829
|
-
* code: "50OFF",
|
|
1830
|
-
* amount: 5
|
|
1831
|
-
* },
|
|
1832
|
-
* {
|
|
1833
|
-
* id: "321",
|
|
1834
|
-
* amount: 5
|
|
1835
|
-
* }
|
|
1836
|
-
* ]
|
|
1837
|
-
* )
|
|
1838
|
-
*
|
|
1839
|
-
*/
|
|
1840
|
-
upsertShippingMethodAdjustments(data: (CreateShippingMethodAdjustmentDTO | UpdateShippingMethodAdjustmentDTO)[], sharedContext?: Context): Promise<ShippingMethodAdjustmentDTO[]>;
|
|
1841
|
-
/**
|
|
1842
|
-
* This method upserts line item tax lines.
|
|
1843
|
-
*
|
|
1844
|
-
* @param {(CreateLineItemTaxLineDTO | UpdateLineItemTaxLineDTO)[]} taxLines - The line item tax lines to create or update. If the
|
|
1845
|
-
* tax line object has an `id` property, it'll be updated. Otherwise, a tax line is created.
|
|
1846
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1847
|
-
* @returns {Promise<LineItemTaxLineDTO[]>} The line item tax lines.
|
|
1848
|
-
*
|
|
1849
|
-
* @example
|
|
1850
|
-
* const lineItemTaxLines = await orderModuleService
|
|
1851
|
-
* .upsertLineItemTaxLines(
|
|
1852
|
-
* [
|
|
1853
|
-
* {
|
|
1854
|
-
* code: "123",
|
|
1855
|
-
* rate: 2
|
|
1856
|
-
* }
|
|
1857
|
-
* ]
|
|
1858
|
-
* )
|
|
1859
|
-
*
|
|
1860
|
-
*/
|
|
1861
|
-
upsertLineItemTaxLines(taxLines: (CreateLineItemTaxLineDTO | UpdateLineItemTaxLineDTO)[], sharedContext?: Context): Promise<LineItemTaxLineDTO[]>;
|
|
1862
|
-
/**
|
|
1863
|
-
* This method upsert shipping method tax lines.
|
|
1864
|
-
*
|
|
1865
|
-
* @param {(CreateShippingMethodTaxLineDTO | UpdateShippingMethodTaxLineDTO)[]} taxLines - The shipping method tax lines to create or update.
|
|
1866
|
-
* If a tax line object has an `id` property, it's updated. Otherwise, a tax line is created.
|
|
1867
|
-
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
|
1868
|
-
* @returns {Promise<ShippingMethodTaxLineDTO[]>} The shipping method tax lines.
|
|
1869
|
-
*
|
|
1870
|
-
* @example
|
|
1871
|
-
* const shippingMethodTaxLines = await orderModuleService
|
|
1872
|
-
* .upsertShippingMethodTaxLines(
|
|
1873
|
-
* [
|
|
1874
|
-
* {
|
|
1875
|
-
* code: "123",
|
|
1876
|
-
* rate: 2
|
|
1877
|
-
* },
|
|
1878
|
-
* {
|
|
1879
|
-
* id: "321",
|
|
1880
|
-
* rate: 2
|
|
1881
|
-
* }
|
|
1882
|
-
* ]
|
|
1883
|
-
* )
|
|
1884
|
-
*
|
|
1885
|
-
*/
|
|
1886
|
-
upsertShippingMethodTaxLines(taxLines: (CreateShippingMethodTaxLineDTO | UpdateShippingMethodTaxLineDTO)[], sharedContext?: Context): Promise<ShippingMethodTaxLineDTO[]>;
|
|
1887
|
-
}
|
|
1888
|
-
//# sourceMappingURL=service.d.ts.map
|