@medusajs/types 1.12.0-snapshot-20240531102054 → 1.12.0-snapshot-20240701122250
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-key/service.d.ts +24 -24
- package/dist/api-key/service.d.ts.map +1 -1
- package/dist/auth/common/auth-identity.d.ts +77 -21
- package/dist/auth/common/auth-identity.d.ts.map +1 -1
- package/dist/auth/common/provider.d.ts +2 -1
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/provider.d.ts +6 -3
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +30 -30
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +2 -1
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +3 -2
- package/dist/bundles.js.map +1 -1
- package/dist/cart/mutations.d.ts +8 -0
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +30 -52
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/common/batch.d.ts +3 -3
- package/dist/common/batch.d.ts.map +1 -1
- package/dist/common/common.d.ts +6 -1
- package/dist/common/common.d.ts.map +1 -1
- package/dist/currency/service.d.ts +9 -9
- package/dist/currency/service.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +27 -26
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/customer/service.d.ts +40 -43
- package/dist/customer/service.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +15 -3
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/dml/index.d.ts +161 -0
- package/dist/dml/index.d.ts.map +1 -0
- package/dist/dml/index.js +5 -0
- package/dist/dml/index.js.map +1 -0
- package/dist/event-bus/common.d.ts +17 -25
- package/dist/event-bus/common.d.ts.map +1 -1
- package/dist/event-bus/event-bus-module.d.ts +4 -4
- package/dist/event-bus/event-bus-module.d.ts.map +1 -1
- package/dist/event-bus/event-bus.d.ts +2 -4
- package/dist/event-bus/event-bus.d.ts.map +1 -1
- package/dist/file/provider.d.ts +1 -8
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +12 -12
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +3 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
- package/dist/fulfillment/mutations/service-zone.d.ts +3 -3
- package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +0 -22
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts +20 -2
- package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +71 -32
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/currency/admin/entities.d.ts +14 -0
- package/dist/http/currency/admin/entities.d.ts.map +1 -0
- package/dist/http/{fulfillment/admin/geo-zone.js → currency/admin/entities.js} +1 -1
- package/dist/http/currency/admin/entities.js.map +1 -0
- package/dist/http/currency/admin/index.d.ts +2 -0
- package/dist/http/currency/admin/index.d.ts.map +1 -0
- package/dist/http/{tax → currency}/admin/index.js +1 -2
- package/dist/http/currency/admin/index.js.map +1 -0
- package/dist/http/currency/index.d.ts.map +1 -0
- package/dist/http/currency/index.js.map +1 -0
- package/dist/http/file/admin.d.ts +5 -0
- package/dist/http/file/admin.d.ts.map +1 -0
- package/dist/http/{product → file}/admin.js.map +1 -1
- package/dist/http/file/common.d.ts +11 -0
- package/dist/http/file/common.d.ts.map +1 -0
- package/dist/{inventory → http/file}/common.js.map +1 -1
- package/dist/http/file/index.d.ts +3 -0
- package/dist/http/file/index.d.ts.map +1 -0
- package/dist/{inventory/bundle.js → http/file/index.js} +3 -3
- package/dist/http/file/index.js.map +1 -0
- package/dist/http/file/store.d.ts +4 -0
- package/dist/http/file/store.d.ts.map +1 -0
- package/dist/http/{product → file}/store.js.map +1 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +62 -0
- package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/entitites.js +3 -0
- package/dist/http/fulfillment/admin/entitites.js.map +1 -0
- package/dist/http/fulfillment/admin/index.d.ts +3 -12
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.js +3 -12
- package/dist/http/fulfillment/admin/index.js.map +1 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +41 -0
- package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/payloads.js +3 -0
- package/dist/http/fulfillment/admin/payloads.js.map +1 -0
- package/dist/http/fulfillment/admin/responses.d.ts +5 -0
- package/dist/http/fulfillment/admin/responses.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/responses.js +3 -0
- package/dist/http/fulfillment/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts +5 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.js +3 -0
- package/dist/http/fulfillment-provider/admin/entities.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/index.d.ts +4 -0
- package/dist/http/fulfillment-provider/admin/index.d.ts.map +1 -0
- package/dist/http/fulfillment-provider/admin/index.js +20 -0
- package/dist/http/fulfillment-provider/admin/index.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts +7 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -0
- package/dist/http/{pricing/price.js → fulfillment-provider/admin/queries.js} +1 -1
- package/dist/http/fulfillment-provider/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts +7 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -0
- package/dist/http/{inventory/inventory.js → fulfillment-provider/admin/responses.js} +1 -1
- package/dist/http/fulfillment-provider/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-provider/index.d.ts +2 -0
- package/dist/http/fulfillment-provider/index.d.ts.map +1 -0
- package/dist/{region__legacy → http/fulfillment-provider}/index.js +1 -1
- package/dist/http/fulfillment-provider/index.js.map +1 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts +33 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/entities.js +3 -0
- package/dist/http/fulfillment-set/admin/entities.js.map +1 -0
- package/dist/http/fulfillment-set/admin/index.d.ts +4 -0
- package/dist/http/fulfillment-set/admin/index.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/index.js +20 -0
- package/dist/http/fulfillment-set/admin/index.js.map +1 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts +56 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/payloads.js +3 -0
- package/dist/http/fulfillment-set/admin/payloads.js.map +1 -0
- package/dist/http/fulfillment-set/admin/queries.d.ts +12 -0
- package/dist/http/fulfillment-set/admin/queries.d.ts.map +1 -0
- package/dist/http/{product/admin.js → fulfillment-set/admin/queries.js} +1 -1
- package/dist/http/fulfillment-set/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts +13 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.js +3 -0
- package/dist/http/fulfillment-set/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-set/index.d.ts +2 -0
- package/dist/http/fulfillment-set/index.d.ts.map +1 -0
- package/dist/http/fulfillment-set/index.js +18 -0
- package/dist/http/fulfillment-set/index.js.map +1 -0
- package/dist/http/index.d.ts +12 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +12 -1
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
- package/dist/http/inventory/admin/entities.d.ts.map +1 -0
- package/dist/http/inventory/admin/entities.js +3 -0
- package/dist/http/inventory/admin/entities.js.map +1 -0
- package/dist/http/inventory/admin/index.d.ts +5 -0
- package/dist/http/inventory/admin/index.d.ts.map +1 -0
- package/dist/http/inventory/admin/index.js +21 -0
- package/dist/http/inventory/admin/index.js.map +1 -0
- package/dist/http/inventory/admin/payloads.d.ts +19 -0
- package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
- package/dist/http/inventory/admin/payloads.js +3 -0
- package/dist/http/inventory/admin/payloads.js.map +1 -0
- package/dist/http/inventory/admin/queries.d.ts +18 -0
- package/dist/http/inventory/admin/queries.d.ts.map +1 -0
- package/dist/http/inventory/admin/queries.js +3 -0
- package/dist/http/inventory/admin/queries.js.map +1 -0
- package/dist/http/inventory/admin/responses.d.ts +10 -0
- package/dist/http/inventory/admin/responses.d.ts.map +1 -0
- package/dist/http/inventory/admin/responses.js +3 -0
- package/dist/http/inventory/admin/responses.js.map +1 -0
- package/dist/http/inventory/index.d.ts +1 -2
- package/dist/http/inventory/index.d.ts.map +1 -1
- package/dist/http/inventory/index.js +1 -2
- package/dist/http/inventory/index.js.map +1 -1
- package/dist/http/inventory-level/admin/entities.d.ts +11 -0
- package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/entities.js +3 -0
- package/dist/http/inventory-level/admin/entities.js.map +1 -0
- package/dist/http/inventory-level/admin/index.d.ts +5 -0
- package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/index.js +21 -0
- package/dist/http/inventory-level/admin/index.js.map +1 -0
- package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
- package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/payloads.js +3 -0
- package/dist/http/inventory-level/admin/payloads.js.map +1 -0
- package/dist/http/inventory-level/admin/queries.d.ts +5 -0
- package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/queries.js +3 -0
- package/dist/http/inventory-level/admin/queries.js.map +1 -0
- package/dist/http/inventory-level/admin/responses.d.ts +9 -0
- package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/responses.js +3 -0
- package/dist/http/inventory-level/admin/responses.js.map +1 -0
- package/dist/http/inventory-level/index.d.ts +2 -0
- package/dist/http/inventory-level/index.d.ts.map +1 -0
- package/dist/http/inventory-level/index.js +18 -0
- package/dist/http/inventory-level/index.js.map +1 -0
- package/dist/http/order/admin.d.ts +15 -1
- package/dist/http/order/admin.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +2 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/price-list/admin/entities.d.ts +21 -0
- package/dist/http/price-list/admin/entities.d.ts.map +1 -0
- package/dist/http/price-list/admin/entities.js +3 -0
- package/dist/http/price-list/admin/entities.js.map +1 -0
- package/dist/http/price-list/admin/index.d.ts +5 -0
- package/dist/http/price-list/admin/index.d.ts.map +1 -0
- package/dist/http/price-list/admin/index.js +21 -0
- package/dist/http/price-list/admin/index.js.map +1 -0
- package/dist/http/price-list/admin/payloads.d.ts +46 -0
- package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
- package/dist/http/price-list/admin/payloads.js +3 -0
- package/dist/http/price-list/admin/payloads.js.map +1 -0
- package/dist/http/price-list/admin/queries.d.ts +14 -0
- package/dist/http/price-list/admin/queries.d.ts.map +1 -0
- package/dist/http/price-list/admin/queries.js +3 -0
- package/dist/http/price-list/admin/queries.js.map +1 -0
- package/dist/http/price-list/admin/responses.d.ts +12 -0
- package/dist/http/price-list/admin/responses.d.ts.map +1 -0
- package/dist/http/price-list/admin/responses.js +3 -0
- package/dist/http/price-list/admin/responses.js.map +1 -0
- package/dist/http/price-list/index.d.ts +2 -0
- package/dist/http/price-list/index.d.ts.map +1 -0
- package/dist/http/price-list/index.js +18 -0
- package/dist/http/price-list/index.js.map +1 -0
- package/dist/http/pricing/admin/entities.d.ts +32 -0
- package/dist/http/pricing/admin/entities.d.ts.map +1 -0
- package/dist/http/pricing/admin/entities.js +3 -0
- package/dist/http/pricing/admin/entities.js.map +1 -0
- package/dist/http/pricing/admin/index.d.ts +2 -0
- package/dist/http/pricing/admin/index.d.ts.map +1 -0
- package/dist/http/pricing/admin/index.js +18 -0
- package/dist/http/pricing/admin/index.js.map +1 -0
- package/dist/http/pricing/index.d.ts +1 -1
- package/dist/http/pricing/index.js +1 -1
- package/dist/http/product/admin/entitites.d.ts +26 -0
- package/dist/http/product/admin/entitites.d.ts.map +1 -0
- package/dist/http/product/admin/entitites.js +3 -0
- package/dist/http/product/admin/entitites.js.map +1 -0
- package/dist/http/product/admin/index.d.ts +5 -0
- package/dist/http/product/admin/index.d.ts.map +1 -0
- package/dist/http/product/admin/index.js +21 -0
- package/dist/http/product/admin/index.js.map +1 -0
- package/dist/http/product/admin/payloads.d.ts +152 -0
- package/dist/http/product/admin/payloads.d.ts.map +1 -0
- package/dist/http/product/admin/payloads.js +3 -0
- package/dist/http/product/admin/payloads.js.map +1 -0
- package/dist/http/product/admin/queries.d.ts +12 -0
- package/dist/http/product/admin/queries.d.ts.map +1 -0
- package/dist/http/product/admin/queries.js +3 -0
- package/dist/http/product/admin/queries.js.map +1 -0
- package/dist/http/product/admin/responses.d.ts +35 -0
- package/dist/http/product/admin/responses.d.ts.map +1 -0
- package/dist/http/product/admin/responses.js +3 -0
- package/dist/http/product/admin/responses.js.map +1 -0
- package/dist/http/product/common.d.ts +72 -106
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/entitites.d.ts +19 -0
- package/dist/http/product/store/entitites.d.ts.map +1 -0
- package/dist/http/product/store/entitites.js +3 -0
- package/dist/http/product/store/entitites.js.map +1 -0
- package/dist/http/product/store/index.d.ts +4 -0
- package/dist/http/product/store/index.d.ts.map +1 -0
- package/dist/http/product/store/index.js +20 -0
- package/dist/http/product/store/index.js.map +1 -0
- package/dist/http/product/store/queries.d.ts +13 -0
- package/dist/http/product/store/queries.d.ts.map +1 -0
- package/dist/http/product/store/queries.js +3 -0
- package/dist/http/product/store/queries.js.map +1 -0
- package/dist/http/product/store/responses.d.ts +9 -0
- package/dist/http/product/store/responses.d.ts.map +1 -0
- package/dist/http/product/store/responses.js +3 -0
- package/dist/http/product/store/responses.js.map +1 -0
- package/dist/http/product-category/admin/entities.d.ts +8 -0
- package/dist/http/product-category/admin/entities.d.ts.map +1 -0
- package/dist/http/product-category/admin/entities.js +3 -0
- package/dist/http/product-category/admin/entities.js.map +1 -0
- package/dist/http/product-category/admin/index.d.ts +5 -0
- package/dist/http/product-category/admin/index.d.ts.map +1 -0
- package/dist/http/product-category/admin/index.js +21 -0
- package/dist/http/product-category/admin/index.js.map +1 -0
- package/dist/http/product-category/admin/payloads.d.ts +25 -0
- package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
- package/dist/http/product-category/admin/payloads.js +3 -0
- package/dist/http/product-category/admin/payloads.js.map +1 -0
- package/dist/http/product-category/admin/queries.d.ts +8 -0
- package/dist/http/product-category/admin/queries.d.ts.map +1 -0
- package/dist/http/product-category/admin/queries.js +3 -0
- package/dist/http/product-category/admin/queries.js.map +1 -0
- package/dist/http/product-category/admin/responses.d.ts +12 -0
- package/dist/http/product-category/admin/responses.d.ts.map +1 -0
- package/dist/http/product-category/admin/responses.js +3 -0
- package/dist/http/product-category/admin/responses.js.map +1 -0
- package/dist/http/product-category/common.d.ts +31 -7
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store/entities.d.ts +6 -0
- package/dist/http/product-category/store/entities.d.ts.map +1 -0
- package/dist/http/product-category/store/entities.js +3 -0
- package/dist/http/product-category/store/entities.js.map +1 -0
- package/dist/http/product-category/store/index.d.ts +4 -0
- package/dist/http/product-category/store/index.d.ts.map +1 -0
- package/dist/http/product-category/store/index.js +20 -0
- package/dist/http/product-category/store/index.js.map +1 -0
- package/dist/http/product-category/store/queries.d.ts +6 -0
- package/dist/http/product-category/store/queries.d.ts.map +1 -0
- package/dist/http/product-category/store/queries.js +3 -0
- package/dist/http/product-category/store/queries.js.map +1 -0
- package/dist/http/product-category/store/responses.d.ts +10 -0
- package/dist/http/product-category/store/responses.d.ts.map +1 -0
- package/dist/http/product-category/store/responses.js +3 -0
- package/dist/http/product-category/store/responses.js.map +1 -0
- package/dist/http/product-type/admin/entities.d.ts +4 -0
- package/dist/http/product-type/admin/entities.d.ts.map +1 -0
- package/dist/http/product-type/admin/entities.js +3 -0
- package/dist/http/product-type/admin/entities.js.map +1 -0
- package/dist/http/product-type/admin/index.d.ts +5 -0
- package/dist/http/product-type/admin/index.d.ts.map +1 -0
- package/dist/http/product-type/admin/index.js +21 -0
- package/dist/http/product-type/admin/index.js.map +1 -0
- package/dist/http/product-type/admin/payloads.d.ts +9 -0
- package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
- package/dist/http/product-type/admin/payloads.js +3 -0
- package/dist/http/product-type/admin/payloads.js.map +1 -0
- package/dist/http/product-type/admin/queries.d.ts +13 -0
- package/dist/http/product-type/admin/queries.d.ts.map +1 -0
- package/dist/http/product-type/admin/queries.js +3 -0
- package/dist/http/product-type/admin/queries.js.map +1 -0
- package/dist/http/product-type/admin/responses.d.ts +12 -0
- package/dist/http/product-type/admin/responses.d.ts.map +1 -0
- package/dist/http/product-type/admin/responses.js +3 -0
- package/dist/http/product-type/admin/responses.js.map +1 -0
- package/dist/http/product-type/common.d.ts +9 -0
- package/dist/http/product-type/common.d.ts.map +1 -0
- package/dist/{region__legacy → http/product-type}/common.js.map +1 -1
- package/dist/http/product-type/index.d.ts +3 -0
- package/dist/http/product-type/index.d.ts.map +1 -0
- package/dist/http/product-type/index.js +19 -0
- package/dist/http/product-type/index.js.map +1 -0
- package/dist/http/product-type/store/entities.d.ts +4 -0
- package/dist/http/product-type/store/entities.d.ts.map +1 -0
- package/dist/http/product-type/store/entities.js +3 -0
- package/dist/http/product-type/store/entities.js.map +1 -0
- package/dist/http/product-type/store/index.d.ts +2 -0
- package/dist/http/product-type/store/index.d.ts.map +1 -0
- package/dist/http/product-type/store/index.js +18 -0
- package/dist/http/product-type/store/index.js.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts +1 -1
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/entities.d.ts +11 -0
- package/dist/http/sales-channel/admin/entities.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/entities.js +3 -0
- package/dist/http/sales-channel/admin/entities.js.map +1 -0
- package/dist/http/sales-channel/admin/index.d.ts +4 -1
- package/dist/http/sales-channel/admin/index.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/index.js +4 -1
- package/dist/http/sales-channel/admin/index.js.map +1 -1
- package/dist/http/sales-channel/admin/payloads.d.ts +17 -0
- package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/payloads.js +3 -0
- package/dist/http/sales-channel/admin/payloads.js.map +1 -0
- package/dist/http/sales-channel/admin/queries.d.ts +15 -0
- package/dist/http/sales-channel/admin/queries.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/queries.js +3 -0
- package/dist/http/sales-channel/admin/queries.js.map +1 -0
- package/dist/http/sales-channel/admin/responses.d.ts +11 -0
- package/dist/http/sales-channel/admin/responses.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/responses.js +3 -0
- package/dist/http/sales-channel/admin/responses.js.map +1 -0
- package/dist/http/shipping-option/admin/entities.d.ts +54 -0
- package/dist/http/shipping-option/admin/entities.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/entities.js +3 -0
- package/dist/http/shipping-option/admin/entities.js.map +1 -0
- package/dist/http/shipping-option/admin/index.d.ts +5 -0
- package/dist/http/shipping-option/admin/index.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/index.js +21 -0
- package/dist/http/shipping-option/admin/index.js.map +1 -0
- package/dist/http/shipping-option/admin/payloads.d.ts +60 -0
- package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/payloads.js +3 -0
- package/dist/http/shipping-option/admin/payloads.js.map +1 -0
- package/dist/http/shipping-option/admin/queries.d.ts +14 -0
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/queries.js +3 -0
- package/dist/http/shipping-option/admin/queries.js.map +1 -0
- package/dist/http/shipping-option/admin/responses.d.ts +20 -0
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/responses.js +3 -0
- package/dist/http/shipping-option/admin/responses.js.map +1 -0
- package/dist/http/shipping-option/index.d.ts +2 -0
- package/dist/http/shipping-option/index.d.ts.map +1 -0
- package/dist/http/shipping-option/index.js +18 -0
- package/dist/http/shipping-option/index.js.map +1 -0
- package/dist/http/shipping-profile/admin/entities.d.ts +10 -0
- package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/entities.js +3 -0
- package/dist/http/shipping-profile/admin/entities.js.map +1 -0
- package/dist/http/shipping-profile/admin/index.d.ts +5 -0
- package/dist/http/shipping-profile/admin/index.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/index.js +21 -0
- package/dist/http/shipping-profile/admin/index.js.map +1 -0
- package/dist/http/shipping-profile/admin/payloads.d.ts +11 -0
- package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/payloads.js +3 -0
- package/dist/http/shipping-profile/admin/payloads.js.map +1 -0
- package/dist/http/shipping-profile/admin/queries.d.ts +14 -0
- package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/queries.js +3 -0
- package/dist/http/shipping-profile/admin/queries.js.map +1 -0
- package/dist/http/shipping-profile/admin/responses.d.ts +11 -0
- package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/responses.js +3 -0
- package/dist/http/shipping-profile/admin/responses.js.map +1 -0
- package/dist/http/shipping-profile/index.d.ts +2 -0
- package/dist/http/shipping-profile/index.d.ts.map +1 -0
- package/dist/http/shipping-profile/index.js +18 -0
- package/dist/http/shipping-profile/index.js.map +1 -0
- package/dist/http/stock-locations/admin/entities.d.ts +22 -0
- package/dist/http/stock-locations/admin/entities.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/entities.js +3 -0
- package/dist/http/stock-locations/admin/entities.js.map +1 -0
- package/dist/http/stock-locations/admin/index.d.ts +5 -0
- package/dist/http/stock-locations/admin/index.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/index.js +21 -0
- package/dist/http/stock-locations/admin/index.js.map +1 -0
- package/dist/http/stock-locations/admin/payloads.d.ts +32 -0
- package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/payloads.js +3 -0
- package/dist/http/stock-locations/admin/payloads.js.map +1 -0
- package/dist/http/stock-locations/admin/queries.d.ts +11 -0
- package/dist/http/stock-locations/admin/queries.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/queries.js +3 -0
- package/dist/http/stock-locations/admin/queries.js.map +1 -0
- package/dist/http/stock-locations/admin/responses.d.ts +12 -0
- package/dist/http/stock-locations/admin/responses.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/responses.js +3 -0
- package/dist/http/stock-locations/admin/responses.js.map +1 -0
- package/dist/http/stock-locations/index.d.ts +1 -1
- package/dist/http/stock-locations/index.d.ts.map +1 -1
- package/dist/http/stock-locations/index.js +1 -1
- package/dist/http/stock-locations/index.js.map +1 -1
- package/dist/http/store/admin/entities.d.ts +23 -0
- package/dist/http/store/admin/entities.d.ts.map +1 -0
- package/dist/http/store/admin/entities.js +3 -0
- package/dist/http/store/admin/entities.js.map +1 -0
- package/dist/http/store/admin/index.d.ts +5 -0
- package/dist/http/store/admin/index.d.ts.map +1 -0
- package/dist/http/store/admin/index.js +21 -0
- package/dist/http/store/admin/index.js.map +1 -0
- package/dist/http/store/admin/payloads.d.ts +14 -0
- package/dist/http/store/admin/payloads.d.ts.map +1 -0
- package/dist/http/store/admin/payloads.js +3 -0
- package/dist/http/store/admin/payloads.js.map +1 -0
- package/dist/http/store/admin/queries.d.ts +10 -0
- package/dist/http/store/admin/queries.d.ts.map +1 -0
- package/dist/http/store/admin/queries.js +3 -0
- package/dist/http/store/admin/queries.js.map +1 -0
- package/dist/http/store/admin/responses.d.ts +10 -0
- package/dist/http/store/admin/responses.d.ts.map +1 -0
- package/dist/http/store/admin/responses.js +3 -0
- package/dist/http/store/admin/responses.js.map +1 -0
- package/dist/http/store/index.d.ts +2 -0
- package/dist/http/store/index.d.ts.map +1 -0
- package/dist/http/store/index.js +18 -0
- package/dist/http/store/index.js.map +1 -0
- package/dist/http/tax-rate/admin/entities.d.ts +22 -0
- package/dist/http/tax-rate/admin/entities.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/entities.js +3 -0
- package/dist/http/tax-rate/admin/entities.js.map +1 -0
- package/dist/http/tax-rate/admin/index.d.ts +5 -0
- package/dist/http/tax-rate/admin/index.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/index.js +21 -0
- package/dist/http/tax-rate/admin/index.js.map +1 -0
- package/dist/http/tax-rate/admin/payloads.d.ts +25 -0
- package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/payloads.js +3 -0
- package/dist/http/tax-rate/admin/payloads.js.map +1 -0
- package/dist/http/tax-rate/admin/queries.d.ts +16 -0
- package/dist/http/tax-rate/admin/queries.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/queries.js +3 -0
- package/dist/http/tax-rate/admin/queries.js.map +1 -0
- package/dist/http/tax-rate/admin/responses.d.ts +11 -0
- package/dist/http/tax-rate/admin/responses.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/responses.js +3 -0
- package/dist/http/tax-rate/admin/responses.js.map +1 -0
- package/dist/http/tax-rate/index.d.ts +2 -0
- package/dist/http/tax-rate/index.d.ts.map +1 -0
- package/dist/http/tax-rate/index.js +18 -0
- package/dist/http/tax-rate/index.js.map +1 -0
- package/dist/http/tax-region/admin/entities.d.ts +21 -0
- package/dist/http/tax-region/admin/entities.d.ts.map +1 -0
- package/dist/http/tax-region/admin/entities.js +3 -0
- package/dist/http/tax-region/admin/entities.js.map +1 -0
- package/dist/http/tax-region/admin/index.d.ts +5 -0
- package/dist/http/tax-region/admin/index.d.ts.map +1 -0
- package/dist/http/tax-region/admin/index.js +21 -0
- package/dist/http/tax-region/admin/index.js.map +1 -0
- package/dist/http/tax-region/admin/payloads.d.ts +14 -0
- package/dist/http/tax-region/admin/payloads.d.ts.map +1 -0
- package/dist/http/tax-region/admin/payloads.js +3 -0
- package/dist/http/tax-region/admin/payloads.js.map +1 -0
- package/dist/http/tax-region/admin/queries.d.ts +14 -0
- package/dist/http/tax-region/admin/queries.d.ts.map +1 -0
- package/dist/http/tax-region/admin/queries.js +3 -0
- package/dist/http/tax-region/admin/queries.js.map +1 -0
- package/dist/http/tax-region/admin/responses.d.ts +11 -0
- package/dist/http/tax-region/admin/responses.d.ts.map +1 -0
- package/dist/http/tax-region/admin/responses.js +3 -0
- package/dist/http/tax-region/admin/responses.js.map +1 -0
- package/dist/http/tax-region/index.d.ts +2 -0
- package/dist/http/tax-region/index.d.ts.map +1 -0
- package/dist/http/tax-region/index.js +18 -0
- package/dist/http/tax-region/index.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inventory/common/reservation-item.d.ts +5 -1
- package/dist/inventory/common/reservation-item.d.ts.map +1 -1
- package/dist/inventory/index.d.ts +1 -2
- package/dist/inventory/index.d.ts.map +1 -1
- package/dist/inventory/index.js +1 -15
- package/dist/inventory/index.js.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +0 -4
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +11 -7
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/inventory/service.d.ts +671 -640
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/joiner/index.d.ts +5 -2
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +17 -11
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.js +1 -1
- package/dist/modules-sdk/index.js.map +1 -1
- package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +22 -18
- package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment-label.js → modules-sdk/medusa-internal-service.js} +1 -1
- package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
- package/dist/notification/provider.d.ts +0 -6
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/notification/service.d.ts +15 -15
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/order/common.d.ts +57 -4
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +74 -53
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +44 -30
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +2 -2
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/pricing/common/index.d.ts +0 -2
- package/dist/pricing/common/index.d.ts.map +1 -1
- package/dist/pricing/common/index.js +0 -2
- package/dist/pricing/common/index.js.map +1 -1
- package/dist/pricing/common/money-amount.d.ts +2 -2
- package/dist/pricing/common/money-amount.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +25 -125
- package/dist/pricing/common/price-list.d.ts.map +1 -1
- package/dist/pricing/common/price-rule.d.ts +8 -16
- package/dist/pricing/common/price-rule.d.ts.map +1 -1
- package/dist/pricing/common/price-set.d.ts +6 -55
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +31 -324
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/pricing/workflows.d.ts +5 -5
- package/dist/pricing/workflows.d.ts.map +1 -1
- package/dist/product/common.d.ts +99 -79
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +429 -207
- package/dist/product/service.d.ts.map +1 -1
- package/dist/promotion/common/application-method.d.ts +1 -1
- package/dist/promotion/common/application-method.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +4 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +6 -6
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +29 -29
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +4 -3
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/region/service.d.ts +31 -31
- package/dist/region/service.d.ts.map +1 -1
- package/dist/sales-channel/mutations.d.ts +5 -4
- package/dist/sales-channel/mutations.d.ts.map +1 -1
- package/dist/sales-channel/service.d.ts +28 -28
- package/dist/sales-channel/service.d.ts.map +1 -1
- package/dist/shared-context.d.ts +3 -4
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +12 -17
- package/dist/stock-location/common.d.ts.map +1 -1
- package/dist/stock-location/index.d.ts +0 -1
- package/dist/stock-location/index.d.ts.map +1 -1
- package/dist/stock-location/index.js +0 -1
- package/dist/stock-location/index.js.map +1 -1
- package/dist/stock-location/service.d.ts +193 -180
- package/dist/stock-location/service.d.ts.map +1 -1
- package/dist/store/common/store.d.ts +31 -5
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/store/mutations/store.d.ts +14 -40
- package/dist/store/mutations/store.d.ts.map +1 -1
- package/dist/store/service.d.ts +32 -37
- package/dist/store/service.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +7 -6
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/service.d.ts +35 -35
- package/dist/tax/service.d.ts.map +1 -1
- package/dist/user/service.d.ts +22 -22
- package/dist/user/service.d.ts.map +1 -1
- package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
- package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
- package/dist/workflow/order/cancel-fulfillment.d.ts +6 -0
- package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment-item.js → workflow/order/cancel-fulfillment.js} +1 -1
- package/dist/workflow/order/cancel-fulfillment.js.map +1 -0
- package/dist/workflow/order/cancel-order.d.ts +5 -0
- package/dist/workflow/order/cancel-order.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/service-zone.js → workflow/order/cancel-order.js} +1 -1
- package/dist/workflow/order/cancel-order.js.map +1 -0
- package/dist/workflow/order/create-fulfillment.d.ts +2 -2
- package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/create-return-order.d.ts +8 -7
- package/dist/workflow/order/create-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-shipment.d.ts +2 -1
- package/dist/workflow/order/create-shipment.d.ts.map +1 -1
- package/dist/workflow/order/index.d.ts +3 -0
- package/dist/workflow/order/index.d.ts.map +1 -1
- package/dist/workflow/order/index.js +3 -0
- package/dist/workflow/order/index.js.map +1 -1
- package/dist/workflow/order/receive-return.d.ts +17 -0
- package/dist/workflow/order/receive-return.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment.js → workflow/order/receive-return.js} +1 -1
- package/dist/workflow/order/receive-return.js.map +1 -0
- package/dist/workflow/price-list/create-price-list.d.ts +1 -2
- package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
- package/dist/workflow/product-category/index.d.ts +6 -6
- package/dist/workflow/product-category/index.d.ts.map +1 -1
- package/dist/workflow/reservation/create-reservations.d.ts +3 -3
- package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
- package/dist/workflow/reservation/update-reservations.d.ts +3 -3
- package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
- package/dist/workflows/products/mutations.d.ts +2 -2
- package/dist/workflows/products/mutations.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +2 -2
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -19
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-address.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-address.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -14
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-item.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -11
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-label.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -9
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-provider.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -15
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-set.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-set.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +0 -27
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment.js.map +0 -1
- package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -14
- package/dist/http/fulfillment/admin/geo-zone.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/geo-zone.js.map +0 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +0 -21
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/service-zone.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -13
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option-rule.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -11
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-type.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option-type.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +0 -38
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +0 -19
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-profile.js +0 -3
- package/dist/http/fulfillment/admin/shipping-profile.js.map +0 -1
- package/dist/http/inventory/inventory-level.d.ts +0 -20
- package/dist/http/inventory/inventory-level.d.ts.map +0 -1
- package/dist/http/inventory/inventory-level.js +0 -3
- package/dist/http/inventory/inventory-level.js.map +0 -1
- package/dist/http/inventory/inventory.d.ts.map +0 -1
- package/dist/http/inventory/inventory.js.map +0 -1
- package/dist/http/pricing/price.d.ts +0 -8
- package/dist/http/pricing/price.d.ts.map +0 -1
- package/dist/http/pricing/price.js.map +0 -1
- package/dist/http/product/admin.d.ts +0 -99
- package/dist/http/product/admin.d.ts.map +0 -1
- package/dist/http/product/store.d.ts +0 -33
- package/dist/http/product/store.d.ts.map +0 -1
- package/dist/http/product/store.js +0 -3
- package/dist/http/product-category/admin.d.ts +0 -9
- package/dist/http/product-category/admin.d.ts.map +0 -1
- package/dist/http/product-category/admin.js.map +0 -1
- package/dist/http/product-category/store.d.ts +0 -9
- package/dist/http/product-category/store.d.ts.map +0 -1
- package/dist/http/product-category/store.js.map +0 -1
- package/dist/http/sales-channel/admin/sales-channel.d.ts +0 -16
- package/dist/http/sales-channel/admin/sales-channel.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/sales-channel.js +0 -3
- package/dist/http/sales-channel/admin/sales-channel.js.map +0 -1
- package/dist/http/stock-locations/common.d.ts +0 -28
- package/dist/http/stock-locations/common.d.ts.map +0 -1
- package/dist/http/stock-locations/common.js.map +0 -1
- package/dist/http/tax/admin/index.d.ts +0 -3
- package/dist/http/tax/admin/index.d.ts.map +0 -1
- package/dist/http/tax/admin/index.js.map +0 -1
- package/dist/http/tax/admin/tax-rates.d.ts +0 -28
- package/dist/http/tax/admin/tax-rates.d.ts.map +0 -1
- package/dist/http/tax/admin/tax-rates.js +0 -3
- package/dist/http/tax/admin/tax-rates.js.map +0 -1
- package/dist/http/tax/admin/tax-regions.d.ts +0 -28
- package/dist/http/tax/admin/tax-regions.d.ts.map +0 -1
- package/dist/http/tax/admin/tax-regions.js +0 -3
- package/dist/http/tax/admin/tax-regions.js.map +0 -1
- package/dist/http/tax/index.d.ts.map +0 -1
- package/dist/http/tax/index.js.map +0 -1
- package/dist/inventory/bundle.d.ts +0 -3
- package/dist/inventory/bundle.d.ts.map +0 -1
- package/dist/inventory/bundle.js.map +0 -1
- package/dist/inventory/common.d.ts +0 -494
- package/dist/inventory/common.d.ts.map +0 -1
- package/dist/inventory/service-next.d.ts +0 -914
- package/dist/inventory/service-next.d.ts.map +0 -1
- package/dist/inventory/service-next.js +0 -3
- package/dist/inventory/service-next.js.map +0 -1
- package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
- package/dist/modules-sdk/internal-module-service.js +0 -3
- package/dist/modules-sdk/internal-module-service.js.map +0 -1
- package/dist/modules-sdk/module-service.d.ts +0 -1
- package/dist/modules-sdk/module-service.d.ts.map +0 -1
- package/dist/modules-sdk/module-service.js +0 -1
- package/dist/modules-sdk/module-service.js.map +0 -1
- package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
- package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
- package/dist/pricing/common/price-set-rule-type.js +0 -3
- package/dist/pricing/common/price-set-rule-type.js.map +0 -1
- package/dist/pricing/common/rule-type.d.ts +0 -102
- package/dist/pricing/common/rule-type.d.ts.map +0 -1
- package/dist/pricing/common/rule-type.js +0 -3
- package/dist/pricing/common/rule-type.js.map +0 -1
- package/dist/region__legacy/common.d.ts +0 -44
- package/dist/region__legacy/common.d.ts.map +0 -1
- package/dist/region__legacy/common.js +0 -3
- package/dist/region__legacy/index.d.ts +0 -2
- package/dist/region__legacy/index.d.ts.map +0 -1
- package/dist/region__legacy/index.js.map +0 -1
- package/dist/stock-location/service-next.d.ts +0 -279
- package/dist/stock-location/service-next.d.ts.map +0 -1
- package/dist/stock-location/service-next.js +0 -3
- package/dist/stock-location/service-next.js.map +0 -1
- /package/dist/http/{tax → currency}/index.d.ts +0 -0
- /package/dist/http/{tax → currency}/index.js +0 -0
- /package/dist/http/{product-category → file}/admin.js +0 -0
- /package/dist/http/{stock-locations → file}/common.js +0 -0
- /package/dist/http/{product-category → file}/store.js +0 -0
- /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -1,28 +0,0 @@
|
|
1
|
-
import { AdminFulfillmentSetResponse } from "../fulfillment";
|
2
|
-
export type AdminStockLocationAddressResponse = {
|
3
|
-
id?: string;
|
4
|
-
address_1: string;
|
5
|
-
address_2?: string | null;
|
6
|
-
company?: string | null;
|
7
|
-
country_code: string;
|
8
|
-
city?: string | null;
|
9
|
-
phone?: string | null;
|
10
|
-
postal_code?: string | null;
|
11
|
-
province?: string | null;
|
12
|
-
metadata?: Record<string, unknown> | null;
|
13
|
-
created_at: string | Date;
|
14
|
-
updated_at: string | Date;
|
15
|
-
deleted_at: string | Date | null;
|
16
|
-
};
|
17
|
-
export interface AdminStockLocationResponse {
|
18
|
-
id: string;
|
19
|
-
name: string;
|
20
|
-
metadata: Record<string, unknown> | null;
|
21
|
-
address_id: string;
|
22
|
-
address?: AdminStockLocationAddressResponse;
|
23
|
-
created_at: string | Date;
|
24
|
-
updated_at: string | Date;
|
25
|
-
deleted_at: string | Date | null;
|
26
|
-
fulfillment_sets?: AdminFulfillmentSetResponse[];
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAA;AAE5D,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAA;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,iCAAiC,CAAA;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAEhC,gBAAgB,CAAC,EAAE,2BAA2B,EAAE,CAAA;CACjD"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,gDAA6B"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
2
|
-
import { TaxRegionResponse } from "./tax-regions";
|
3
|
-
export interface TaxRateResponse {
|
4
|
-
id: string;
|
5
|
-
rate: number | null;
|
6
|
-
code: string | null;
|
7
|
-
name: string;
|
8
|
-
metadata: Record<string, unknown> | null;
|
9
|
-
tax_region_id: string;
|
10
|
-
is_combinable: boolean;
|
11
|
-
is_default: boolean;
|
12
|
-
created_at: string | Date;
|
13
|
-
updated_at: string | Date;
|
14
|
-
deleted_at: Date | null;
|
15
|
-
created_by: string | null;
|
16
|
-
tax_region: TaxRegionResponse;
|
17
|
-
rules: {
|
18
|
-
reference: string;
|
19
|
-
reference_id: string;
|
20
|
-
}[];
|
21
|
-
}
|
22
|
-
export interface AdminTaxRateResponse {
|
23
|
-
tax_rate: TaxRateResponse;
|
24
|
-
}
|
25
|
-
export type AdminTaxRateListResponse = PaginatedResponse<{
|
26
|
-
tax_rates: TaxRateResponse[];
|
27
|
-
}>;
|
28
|
-
//# sourceMappingURL=tax-rates.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tax-rates.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-rates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,iBAAiB,CAAA;IAC7B,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAA;QACjB,YAAY,EAAE,MAAM,CAAA;KACrB,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,eAAe,CAAA;CAC1B;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,SAAS,EAAE,eAAe,EAAE,CAAA;CAC7B,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tax-rates.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-rates.ts"],"names":[],"mappings":""}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
2
|
-
import { TaxRateResponse } from "./tax-rates";
|
3
|
-
export interface TaxRegionResponse {
|
4
|
-
id: string;
|
5
|
-
rate: number | null;
|
6
|
-
code: string | null;
|
7
|
-
country_code: string | null;
|
8
|
-
province_code: string | null;
|
9
|
-
name: string;
|
10
|
-
metadata: Record<string, unknown> | null;
|
11
|
-
tax_region_id: string;
|
12
|
-
is_combinable: boolean;
|
13
|
-
is_default: boolean;
|
14
|
-
parent_id: string | null;
|
15
|
-
created_at: string | Date;
|
16
|
-
updated_at: string | Date;
|
17
|
-
deleted_at: Date | null;
|
18
|
-
created_by: string | null;
|
19
|
-
tax_rates: TaxRateResponse[];
|
20
|
-
parent: TaxRegionResponse;
|
21
|
-
}
|
22
|
-
export interface AdminTaxRegionResponse {
|
23
|
-
tax_region: TaxRegionResponse;
|
24
|
-
}
|
25
|
-
export type AdminTaxRegionListResponse = PaginatedResponse<{
|
26
|
-
tax_regions: TaxRegionResponse[];
|
27
|
-
}>;
|
28
|
-
//# sourceMappingURL=tax-regions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tax-regions.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB,SAAS,EAAE,eAAe,EAAE,CAAA;IAE5B,MAAM,EAAE,iBAAiB,CAAA;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,iBAAiB,CAAA;CAC9B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,WAAW,EAAE,iBAAiB,EAAE,CAAA;CACjC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tax-regions.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-regions.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/tax/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/tax/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/inventory/bundle.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"bundle.js","sourceRoot":"","sources":["../../src/inventory/bundle.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,8CAA2B"}
|
@@ -1,494 +0,0 @@
|
|
1
|
-
import { NumericalComparisonOperator, StringComparisonOperator } from "../common";
|
2
|
-
/**
|
3
|
-
* @schema InventoryItemDTO
|
4
|
-
* type: object
|
5
|
-
* required:
|
6
|
-
* - sku
|
7
|
-
* properties:
|
8
|
-
* id:
|
9
|
-
* description: The inventory item's ID.
|
10
|
-
* type: string
|
11
|
-
* example: "iitem_12334"
|
12
|
-
* sku:
|
13
|
-
* description: The Stock Keeping Unit (SKU) code of the Inventory Item.
|
14
|
-
* type: string
|
15
|
-
* hs_code:
|
16
|
-
* description: The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.
|
17
|
-
* type: string
|
18
|
-
* origin_country:
|
19
|
-
* description: The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.
|
20
|
-
* type: string
|
21
|
-
* mid_code:
|
22
|
-
* description: The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.
|
23
|
-
* type: string
|
24
|
-
* title:
|
25
|
-
* description: "Title of the inventory item"
|
26
|
-
* type: string
|
27
|
-
* description:
|
28
|
-
* description: "Description of the inventory item"
|
29
|
-
* type: string
|
30
|
-
* thumbnail:
|
31
|
-
* description: "Thumbnail for the inventory item"
|
32
|
-
* type: string
|
33
|
-
* material:
|
34
|
-
* description: The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.
|
35
|
-
* type: string
|
36
|
-
* weight:
|
37
|
-
* description: The weight of the Inventory Item. May be used in shipping rate calculations.
|
38
|
-
* type: number
|
39
|
-
* height:
|
40
|
-
* description: The height of the Inventory Item. May be used in shipping rate calculations.
|
41
|
-
* type: number
|
42
|
-
* width:
|
43
|
-
* description: The width of the Inventory Item. May be used in shipping rate calculations.
|
44
|
-
* type: number
|
45
|
-
* length:
|
46
|
-
* description: The length of the Inventory Item. May be used in shipping rate calculations.
|
47
|
-
* type: number
|
48
|
-
* requires_shipping:
|
49
|
-
* description: Whether the item requires shipping.
|
50
|
-
* type: boolean
|
51
|
-
* metadata:
|
52
|
-
* type: object
|
53
|
-
* description: An optional key-value map with additional details
|
54
|
-
* example: {car: "white"}
|
55
|
-
* created_at:
|
56
|
-
* type: string
|
57
|
-
* description: "The date with timezone at which the resource was created."
|
58
|
-
* format: date-time
|
59
|
-
* updated_at:
|
60
|
-
* type: string
|
61
|
-
* description: "The date with timezone at which the resource was updated."
|
62
|
-
* format: date-time
|
63
|
-
* deleted_at:
|
64
|
-
* type: string
|
65
|
-
* description: "The date with timezone at which the resource was deleted."
|
66
|
-
* format: date-time
|
67
|
-
*/
|
68
|
-
export type InventoryItemDTO = {
|
69
|
-
id: string;
|
70
|
-
sku?: string | null;
|
71
|
-
origin_country?: string | null;
|
72
|
-
hs_code?: string | null;
|
73
|
-
requires_shipping: boolean;
|
74
|
-
mid_code?: string | null;
|
75
|
-
material?: string | null;
|
76
|
-
weight?: number | null;
|
77
|
-
length?: number | null;
|
78
|
-
height?: number | null;
|
79
|
-
width?: number | null;
|
80
|
-
title?: string | null;
|
81
|
-
description?: string | null;
|
82
|
-
thumbnail?: string | null;
|
83
|
-
metadata?: Record<string, unknown> | null;
|
84
|
-
created_at: string | Date;
|
85
|
-
updated_at: string | Date;
|
86
|
-
deleted_at: string | Date | null;
|
87
|
-
location_levels?: InventoryLevelDTO[];
|
88
|
-
};
|
89
|
-
/**
|
90
|
-
* @schema ReservationItemDTO
|
91
|
-
* title: "Reservation item"
|
92
|
-
* description: "Represents a reservation of an inventory item at a stock location"
|
93
|
-
* type: object
|
94
|
-
* required:
|
95
|
-
* - id
|
96
|
-
* - location_id
|
97
|
-
* - inventory_item_id
|
98
|
-
* - quantity
|
99
|
-
* properties:
|
100
|
-
* id:
|
101
|
-
* description: "The id of the reservation item"
|
102
|
-
* type: string
|
103
|
-
* location_id:
|
104
|
-
* description: "The id of the location of the reservation"
|
105
|
-
* type: string
|
106
|
-
* inventory_item_id:
|
107
|
-
* description: "The id of the inventory item the reservation relates to"
|
108
|
-
* type: string
|
109
|
-
* description:
|
110
|
-
* description: "Description of the reservation item"
|
111
|
-
* type: string
|
112
|
-
* created_by:
|
113
|
-
* description: "UserId of user who created the reservation item"
|
114
|
-
* type: string
|
115
|
-
* quantity:
|
116
|
-
* description: "The id of the reservation item"
|
117
|
-
* type: number
|
118
|
-
* metadata:
|
119
|
-
* type: object
|
120
|
-
* description: An optional key-value map with additional details
|
121
|
-
* example: {car: "white"}
|
122
|
-
* created_at:
|
123
|
-
* type: string
|
124
|
-
* description: "The date with timezone at which the resource was created."
|
125
|
-
* format: date-time
|
126
|
-
* updated_at:
|
127
|
-
* type: string
|
128
|
-
* description: "The date with timezone at which the resource was updated."
|
129
|
-
* format: date-time
|
130
|
-
* deleted_at:
|
131
|
-
* type: string
|
132
|
-
* description: "The date with timezone at which the resource was deleted."
|
133
|
-
* format: date-time
|
134
|
-
*/
|
135
|
-
export type ReservationItemDTO = {
|
136
|
-
id: string;
|
137
|
-
location_id: string;
|
138
|
-
inventory_item_id: string;
|
139
|
-
quantity: number;
|
140
|
-
line_item_id?: string | null;
|
141
|
-
description?: string | null;
|
142
|
-
created_by?: string | null;
|
143
|
-
metadata: Record<string, unknown> | null;
|
144
|
-
created_at: string | Date;
|
145
|
-
updated_at: string | Date;
|
146
|
-
deleted_at: string | Date | null;
|
147
|
-
};
|
148
|
-
/**
|
149
|
-
* @schema InventoryLevelDTO
|
150
|
-
* type: object
|
151
|
-
* required:
|
152
|
-
* - inventory_item_id
|
153
|
-
* - location_id
|
154
|
-
* - stocked_quantity
|
155
|
-
* - reserved_quantity
|
156
|
-
* - incoming_quantity
|
157
|
-
* properties:
|
158
|
-
* location_id:
|
159
|
-
* description: the item location ID
|
160
|
-
* type: string
|
161
|
-
* stocked_quantity:
|
162
|
-
* description: the total stock quantity of an inventory item at the given location ID
|
163
|
-
* type: number
|
164
|
-
* reserved_quantity:
|
165
|
-
* description: the reserved stock quantity of an inventory item at the given location ID
|
166
|
-
* type: number
|
167
|
-
* incoming_quantity:
|
168
|
-
* description: the incoming stock quantity of an inventory item at the given location ID
|
169
|
-
* type: number
|
170
|
-
* metadata:
|
171
|
-
* type: object
|
172
|
-
* description: An optional key-value map with additional details
|
173
|
-
* example: {car: "white"}
|
174
|
-
* created_at:
|
175
|
-
* type: string
|
176
|
-
* description: "The date with timezone at which the resource was created."
|
177
|
-
* format: date-time
|
178
|
-
* updated_at:
|
179
|
-
* type: string
|
180
|
-
* description: "The date with timezone at which the resource was updated."
|
181
|
-
* format: date-time
|
182
|
-
* deleted_at:
|
183
|
-
* type: string
|
184
|
-
* description: "The date with timezone at which the resource was deleted."
|
185
|
-
* format: date-time
|
186
|
-
*/
|
187
|
-
export type InventoryLevelDTO = {
|
188
|
-
id: string;
|
189
|
-
inventory_item_id: string;
|
190
|
-
location_id: string;
|
191
|
-
stocked_quantity: number;
|
192
|
-
reserved_quantity: number;
|
193
|
-
available_quantity: number;
|
194
|
-
incoming_quantity: number;
|
195
|
-
metadata: Record<string, unknown> | null;
|
196
|
-
created_at: string | Date;
|
197
|
-
updated_at: string | Date;
|
198
|
-
deleted_at: string | Date | null;
|
199
|
-
};
|
200
|
-
/**
|
201
|
-
* @interface
|
202
|
-
*
|
203
|
-
* The filters to apply on retrieved reservation items.
|
204
|
-
*/
|
205
|
-
export type FilterableReservationItemProps = {
|
206
|
-
/**
|
207
|
-
* The IDs to filter reservation items by.
|
208
|
-
*/
|
209
|
-
id?: string | string[];
|
210
|
-
/**
|
211
|
-
* @ignore
|
212
|
-
*
|
213
|
-
* @privateRemark
|
214
|
-
* This property is not used.
|
215
|
-
*/
|
216
|
-
type?: string | string[];
|
217
|
-
/**
|
218
|
-
* Filter reservation items by the ID of their associated line item.
|
219
|
-
*/
|
220
|
-
line_item_id?: string | string[];
|
221
|
-
/**
|
222
|
-
* Filter reservation items by the ID of their associated inventory item.
|
223
|
-
*/
|
224
|
-
inventory_item_id?: string | string[];
|
225
|
-
/**
|
226
|
-
* Filter reservation items by the ID of their associated location.
|
227
|
-
*/
|
228
|
-
location_id?: string | string[];
|
229
|
-
/**
|
230
|
-
* Description filters to apply on the reservation items' `description` attribute.
|
231
|
-
*/
|
232
|
-
description?: string | StringComparisonOperator;
|
233
|
-
/**
|
234
|
-
* The "created by" values to filter reservation items by.
|
235
|
-
*/
|
236
|
-
created_by?: string | string[];
|
237
|
-
/**
|
238
|
-
* Filters to apply on the reservation items' `quantity` attribute.
|
239
|
-
*/
|
240
|
-
quantity?: number | NumericalComparisonOperator;
|
241
|
-
};
|
242
|
-
/**
|
243
|
-
* @interface
|
244
|
-
*
|
245
|
-
* The filters to apply on retrieved inventory items.
|
246
|
-
*/
|
247
|
-
export type FilterableInventoryItemProps = {
|
248
|
-
/**
|
249
|
-
* The IDs to filter inventory items by.
|
250
|
-
*/
|
251
|
-
id?: string | string[];
|
252
|
-
/**
|
253
|
-
* Filter inventory items by the ID of their associated location.
|
254
|
-
*/
|
255
|
-
location_id?: string | string[];
|
256
|
-
/**
|
257
|
-
* Search term to search inventory items' attributes.
|
258
|
-
*/
|
259
|
-
q?: string;
|
260
|
-
/**
|
261
|
-
* The SKUs to filter inventory items by.
|
262
|
-
*/
|
263
|
-
sku?: string | string[] | StringComparisonOperator;
|
264
|
-
/**
|
265
|
-
* The origin country to filter inventory items by.
|
266
|
-
*/
|
267
|
-
origin_country?: string | string[];
|
268
|
-
/**
|
269
|
-
* The HS Codes to filter inventory items by.
|
270
|
-
*/
|
271
|
-
hs_code?: string | string[] | StringComparisonOperator;
|
272
|
-
/**
|
273
|
-
* Filter inventory items by whether they require shipping.
|
274
|
-
*/
|
275
|
-
requires_shipping?: boolean;
|
276
|
-
};
|
277
|
-
export interface UpdateInventoryItemInput extends Partial<CreateInventoryItemInput> {
|
278
|
-
id: string;
|
279
|
-
}
|
280
|
-
/**
|
281
|
-
* @interface
|
282
|
-
*
|
283
|
-
* The details of the inventory item to be created.
|
284
|
-
*/
|
285
|
-
export interface CreateInventoryItemInput {
|
286
|
-
/**
|
287
|
-
* The SKU of the inventory item.
|
288
|
-
*/
|
289
|
-
sku?: string | null;
|
290
|
-
/**
|
291
|
-
* The origin country of the inventory item.
|
292
|
-
*/
|
293
|
-
origin_country?: string | null;
|
294
|
-
/**
|
295
|
-
* The MID code of the inventory item.
|
296
|
-
*/
|
297
|
-
mid_code?: string | null;
|
298
|
-
/**
|
299
|
-
* The material of the inventory item.
|
300
|
-
*/
|
301
|
-
material?: string | null;
|
302
|
-
/**
|
303
|
-
* The weight of the inventory item.
|
304
|
-
*/
|
305
|
-
weight?: number | null;
|
306
|
-
/**
|
307
|
-
* The length of the inventory item.
|
308
|
-
*/
|
309
|
-
length?: number | null;
|
310
|
-
/**
|
311
|
-
* The height of the inventory item.
|
312
|
-
*/
|
313
|
-
height?: number | null;
|
314
|
-
/**
|
315
|
-
* The width of the inventory item.
|
316
|
-
*/
|
317
|
-
width?: number | null;
|
318
|
-
/**
|
319
|
-
* The title of the inventory item.
|
320
|
-
*/
|
321
|
-
title?: string | null;
|
322
|
-
/**
|
323
|
-
* The description of the inventory item.
|
324
|
-
*/
|
325
|
-
description?: string | null;
|
326
|
-
/**
|
327
|
-
* The thumbnail of the inventory item.
|
328
|
-
*/
|
329
|
-
thumbnail?: string | null;
|
330
|
-
/**
|
331
|
-
* Holds custom data in key-value pairs.
|
332
|
-
*/
|
333
|
-
metadata?: Record<string, unknown> | null;
|
334
|
-
/**
|
335
|
-
* The HS code of the inventory item.
|
336
|
-
*/
|
337
|
-
hs_code?: string | null;
|
338
|
-
/**
|
339
|
-
* Whether the inventory item requires shipping.
|
340
|
-
*/
|
341
|
-
requires_shipping?: boolean;
|
342
|
-
}
|
343
|
-
/**
|
344
|
-
* @interface
|
345
|
-
*
|
346
|
-
* The details of the reservation item to be created.
|
347
|
-
*/
|
348
|
-
export type CreateReservationItemInput = {
|
349
|
-
/**
|
350
|
-
* The ID of the associated line item.
|
351
|
-
*/
|
352
|
-
line_item_id?: string;
|
353
|
-
/**
|
354
|
-
* The ID of the associated inventory item.
|
355
|
-
*/
|
356
|
-
inventory_item_id: string;
|
357
|
-
/**
|
358
|
-
* The ID of the associated location.
|
359
|
-
*/
|
360
|
-
location_id: string;
|
361
|
-
/**
|
362
|
-
* The reserved quantity.
|
363
|
-
*/
|
364
|
-
quantity: number;
|
365
|
-
/**
|
366
|
-
* The description of the reservation.
|
367
|
-
*/
|
368
|
-
description?: string;
|
369
|
-
/**
|
370
|
-
* The user or system that created the reservation. Can be any form of identification string.
|
371
|
-
*/
|
372
|
-
created_by?: string;
|
373
|
-
/**
|
374
|
-
* An ID associated with an external third-party system that the reservation item is connected to.
|
375
|
-
*/
|
376
|
-
external_id?: string;
|
377
|
-
/**
|
378
|
-
* Holds custom data in key-value pairs.
|
379
|
-
*/
|
380
|
-
metadata?: Record<string, unknown> | null;
|
381
|
-
};
|
382
|
-
/**
|
383
|
-
* @interface
|
384
|
-
*
|
385
|
-
* The filters to apply on retrieved inventory levels.
|
386
|
-
*/
|
387
|
-
export type FilterableInventoryLevelProps = {
|
388
|
-
/**
|
389
|
-
* Filter inventory levels by the ID of their associated inventory item.
|
390
|
-
*/
|
391
|
-
inventory_item_id?: string | string[];
|
392
|
-
/**
|
393
|
-
* Filter inventory levels by the ID of their associated inventory location.
|
394
|
-
*/
|
395
|
-
location_id?: string | string[];
|
396
|
-
/**
|
397
|
-
* Filters to apply on inventory levels' `stocked_quantity` attribute.
|
398
|
-
*/
|
399
|
-
stocked_quantity?: number | NumericalComparisonOperator;
|
400
|
-
/**
|
401
|
-
* Filters to apply on inventory levels' `reserved_quantity` attribute.
|
402
|
-
*/
|
403
|
-
reserved_quantity?: number | NumericalComparisonOperator;
|
404
|
-
/**
|
405
|
-
* Filters to apply on inventory levels' `incoming_quantity` attribute.
|
406
|
-
*/
|
407
|
-
incoming_quantity?: number | NumericalComparisonOperator;
|
408
|
-
};
|
409
|
-
/**
|
410
|
-
* @interface
|
411
|
-
*
|
412
|
-
* The details of the inventory level to be created.
|
413
|
-
*/
|
414
|
-
export type CreateInventoryLevelInput = {
|
415
|
-
/**
|
416
|
-
* The ID of the associated inventory item.
|
417
|
-
*/
|
418
|
-
inventory_item_id: string;
|
419
|
-
/**
|
420
|
-
* The ID of the associated location.
|
421
|
-
*/
|
422
|
-
location_id: string;
|
423
|
-
/**
|
424
|
-
* The stocked quantity of the associated inventory item in the associated location.
|
425
|
-
*/
|
426
|
-
stocked_quantity: number;
|
427
|
-
/**
|
428
|
-
* The reserved quantity of the associated inventory item in the associated location.
|
429
|
-
*/
|
430
|
-
reserved_quantity?: number;
|
431
|
-
/**
|
432
|
-
* The incoming quantity of the associated inventory item in the associated location.
|
433
|
-
*/
|
434
|
-
incoming_quantity?: number;
|
435
|
-
};
|
436
|
-
/**
|
437
|
-
* @interface
|
438
|
-
*
|
439
|
-
* The attributes to update in an inventory level.
|
440
|
-
*/
|
441
|
-
export type UpdateInventoryLevelInput = {
|
442
|
-
/**
|
443
|
-
* The stocked quantity of the associated inventory item in the associated location.
|
444
|
-
*/
|
445
|
-
stocked_quantity?: number;
|
446
|
-
/**
|
447
|
-
* The incoming quantity of the associated inventory item in the associated location.
|
448
|
-
*/
|
449
|
-
incoming_quantity?: number;
|
450
|
-
};
|
451
|
-
/**
|
452
|
-
* @interface
|
453
|
-
*
|
454
|
-
* The attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
|
455
|
-
*/
|
456
|
-
export type BulkUpdateInventoryLevelInput = {
|
457
|
-
/**
|
458
|
-
* The ID of the associated inventory level.
|
459
|
-
*/
|
460
|
-
inventory_item_id: string;
|
461
|
-
/**
|
462
|
-
* The ID of the associated location.
|
463
|
-
*/
|
464
|
-
location_id: string;
|
465
|
-
} & UpdateInventoryLevelInput;
|
466
|
-
/**
|
467
|
-
* @interface
|
468
|
-
*
|
469
|
-
* The attributes to update in a reservation item.
|
470
|
-
*/
|
471
|
-
export type UpdateReservationItemInput = {
|
472
|
-
/**
|
473
|
-
* The reserved quantity.
|
474
|
-
*/
|
475
|
-
quantity?: number;
|
476
|
-
/**
|
477
|
-
* The ID of the associated location.
|
478
|
-
*/
|
479
|
-
location_id?: string;
|
480
|
-
/**
|
481
|
-
* The description of the reservation item.
|
482
|
-
*/
|
483
|
-
description?: string;
|
484
|
-
/**
|
485
|
-
* Holds custom data in key-value pairs.
|
486
|
-
*/
|
487
|
-
metadata?: Record<string, unknown> | null;
|
488
|
-
};
|
489
|
-
export type ReserveQuantityContext = {
|
490
|
-
locationId?: string;
|
491
|
-
lineItemId?: string;
|
492
|
-
salesChannelId?: string | null;
|
493
|
-
};
|
494
|
-
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/inventory/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ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