@medusajs/types 1.12.0-snapshot-20240607093839 → 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/service.d.ts +18 -18
- 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/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 +2 -2
- 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 +12 -20
- 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/service.d.ts +12 -12
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/service-zone.d.ts +1 -1
- package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +27 -27
- 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/currency/admin/entities.js +3 -0
- 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/{inventory/bundle.js → http/currency/admin/index.js} +2 -3
- package/dist/http/currency/admin/index.js.map +1 -0
- package/dist/http/currency/index.d.ts +2 -0
- package/dist/http/currency/index.d.ts.map +1 -0
- package/dist/{region__legacy → http/currency}/index.js +1 -1
- package/dist/http/currency/index.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts +1 -5
- package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts +3 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
- package/dist/http/index.d.ts +5 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +5 -0
- 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/{product/store.js → inventory/admin/queries.js} +1 -1
- 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/{product/admin.js → inventory-level/admin/queries.js} +1 -1
- 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/inventory.js → inventory-level/admin/responses.js} +1 -1
- 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/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/{product-category/store.js → price-list/admin/queries.js} +1 -1
- 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/{entitites.d.ts → entities.d.ts} +1 -1
- 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 +1 -1
- package/dist/http/pricing/admin/index.d.ts.map +1 -1
- package/dist/http/pricing/admin/index.js +1 -1
- package/dist/http/pricing/admin/index.js.map +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.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.js → admin/queries.js} +1 -1
- 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/{inventory → 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/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/queries.d.ts +2 -4
- package/dist/http/sales-channel/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/entities.d.ts +9 -1
- package/dist/http/shipping-option/admin/entities.d.ts.map +1 -1
- package/dist/http/shipping-option/admin/payloads.d.ts +8 -9
- package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
- package/dist/http/stock-locations/admin/entities.d.ts +2 -1
- package/dist/http/stock-locations/admin/entities.d.ts.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/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 +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/reservation-item.d.ts +7 -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 +12 -12
- 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} +19 -18
- package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
- package/dist/{http/inventory/inventory-level.js → modules-sdk/medusa-internal-service.js} +1 -1
- package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
- package/dist/notification/service.d.ts +15 -15
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/order/common.d.ts +50 -1
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +68 -17
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +41 -30
- package/dist/order/service.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 -290
- 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 +322 -203
- 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/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 +4 -3
- 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 +2 -3
- 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/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 +1 -0
- package/dist/workflow/order/index.d.ts.map +1 -1
- package/dist/workflow/order/index.js +1 -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/workflow/order/receive-return.js +3 -0
- 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/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.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/admin/entitites.d.ts.map +0 -1
- package/dist/http/pricing/admin/entitites.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/admin.js.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.map +0 -1
- 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/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 -495
- package/dist/inventory/common.d.ts.map +0 -1
- package/dist/inventory/service-next.d.ts +0 -937
- 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/common.js.map +0 -1
- 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/{pricing → product}/admin/entitites.js +0 -0
- /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -1,99 +0,0 @@
|
|
1
|
-
import { BaseProduct, BaseProductCategory, BaseProductCategoryFilters, BaseProductFilters, BaseProductImage, BaseProductOption, BaseProductOptionFilters, BaseProductOptionValue, BaseProductTag, BaseProductTagFilters, BaseProductType, BaseProductTypeFilters, BaseProductVariant, BaseProductVariantFilters } from "./common";
|
2
|
-
export interface AdminProduct extends Omit<BaseProduct, "categories"> {
|
3
|
-
categories?: AdminProductCategory[];
|
4
|
-
}
|
5
|
-
export interface AdminProductCategory extends BaseProductCategory {
|
6
|
-
is_active?: boolean;
|
7
|
-
is_internal?: boolean;
|
8
|
-
}
|
9
|
-
export interface AdminProductVariant extends BaseProductVariant {
|
10
|
-
}
|
11
|
-
export interface AdminProductTag extends BaseProductTag {
|
12
|
-
}
|
13
|
-
export interface AdminProductType extends BaseProductType {
|
14
|
-
}
|
15
|
-
export interface AdminProductOption extends BaseProductOption {
|
16
|
-
}
|
17
|
-
export interface AdminProductImage extends BaseProductImage {
|
18
|
-
}
|
19
|
-
export interface AdminProductOptionValue extends BaseProductOptionValue {
|
20
|
-
}
|
21
|
-
export interface AdminProductFilters extends BaseProductFilters {
|
22
|
-
}
|
23
|
-
export interface AdminProductTagFilters extends BaseProductTagFilters {
|
24
|
-
}
|
25
|
-
export interface AdminProductTypeFilters extends BaseProductTypeFilters {
|
26
|
-
}
|
27
|
-
export interface AdminProductOptionFilters extends BaseProductOptionFilters {
|
28
|
-
}
|
29
|
-
export interface AdminProductVariantFilters extends BaseProductVariantFilters {
|
30
|
-
}
|
31
|
-
export interface AdminProductCategoryFilters extends BaseProductCategoryFilters {
|
32
|
-
}
|
33
|
-
export interface AdminCreateProductVariantPrice {
|
34
|
-
currency_code: string;
|
35
|
-
amount: number;
|
36
|
-
min_quantity?: number;
|
37
|
-
max_quantity?: number;
|
38
|
-
}
|
39
|
-
export interface AdminCreateProductVariant {
|
40
|
-
title: string;
|
41
|
-
sku?: string;
|
42
|
-
ean?: string;
|
43
|
-
upc?: string;
|
44
|
-
barcode?: string;
|
45
|
-
hs_code?: string;
|
46
|
-
mid_code?: string;
|
47
|
-
allow_backorder?: boolean;
|
48
|
-
manage_inventory?: boolean;
|
49
|
-
variant_rank?: number;
|
50
|
-
weight?: number;
|
51
|
-
length?: number;
|
52
|
-
height?: number;
|
53
|
-
width?: number;
|
54
|
-
origin_country?: string;
|
55
|
-
material?: string;
|
56
|
-
metadata?: Record<string, any>;
|
57
|
-
prices: AdminCreateProductVariantPrice[];
|
58
|
-
options?: Record<string, any>;
|
59
|
-
}
|
60
|
-
export interface AdminCreateProduct {
|
61
|
-
title: string;
|
62
|
-
subtitle?: string;
|
63
|
-
description?: string;
|
64
|
-
is_giftcard?: boolean;
|
65
|
-
discountable?: boolean;
|
66
|
-
images?: {
|
67
|
-
url: string;
|
68
|
-
}[];
|
69
|
-
thumbnail?: string;
|
70
|
-
handle?: string;
|
71
|
-
status?: string;
|
72
|
-
type_id?: string | null;
|
73
|
-
collection_id?: string | null;
|
74
|
-
categories?: {
|
75
|
-
id: string;
|
76
|
-
}[];
|
77
|
-
tags?: {
|
78
|
-
id?: string;
|
79
|
-
value?: string;
|
80
|
-
}[];
|
81
|
-
options?: {
|
82
|
-
title?: string;
|
83
|
-
values?: string[];
|
84
|
-
}[];
|
85
|
-
variants?: AdminCreateProductVariant[];
|
86
|
-
sales_channels?: {
|
87
|
-
id: string;
|
88
|
-
}[];
|
89
|
-
weight?: number;
|
90
|
-
length?: number;
|
91
|
-
height?: number;
|
92
|
-
width?: number;
|
93
|
-
hs_code?: string;
|
94
|
-
mid_code?: string;
|
95
|
-
origin_country?: string;
|
96
|
-
material?: string;
|
97
|
-
metadata?: Record<string, any>;
|
98
|
-
}
|
99
|
-
//# sourceMappingURL=admin.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/product/admin.ts"],"names":[],"mappings":"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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/product/admin.ts"],"names":[],"mappings":""}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { BaseProduct, BaseProductCategory, BaseProductCategoryFilters, BaseProductFilters, BaseProductImage, BaseProductOption, BaseProductOptionFilters, BaseProductOptionValue, BaseProductTag, BaseProductTagFilters, BaseProductType, BaseProductTypeFilters, BaseProductVariant, BaseProductVariantFilters } from "./common";
|
2
|
-
export interface StoreProduct extends BaseProduct {
|
3
|
-
}
|
4
|
-
export interface StoreProductCategory extends BaseProductCategory {
|
5
|
-
}
|
6
|
-
export interface StoreProductVariant extends BaseProductVariant {
|
7
|
-
}
|
8
|
-
export interface StoreProductTag extends BaseProductTag {
|
9
|
-
}
|
10
|
-
export interface StoreProductType extends BaseProductType {
|
11
|
-
}
|
12
|
-
export interface StoreProductOption extends BaseProductOption {
|
13
|
-
}
|
14
|
-
export interface StoreProductImage extends BaseProductImage {
|
15
|
-
}
|
16
|
-
export interface StoreProductOptionValue extends BaseProductOptionValue {
|
17
|
-
}
|
18
|
-
export interface StoreProductTagFilters extends BaseProductTagFilters {
|
19
|
-
}
|
20
|
-
export interface StoreProductTypeFilters extends BaseProductTypeFilters {
|
21
|
-
}
|
22
|
-
export interface StoreProductOptionFilters extends BaseProductOptionFilters {
|
23
|
-
}
|
24
|
-
export interface StoreProductVariantFilters extends BaseProductVariantFilters {
|
25
|
-
}
|
26
|
-
export interface StoreProductFilters extends BaseProductFilters {
|
27
|
-
region_id?: string;
|
28
|
-
currency_code?: string;
|
29
|
-
variants?: StoreProductVariantFilters;
|
30
|
-
}
|
31
|
-
export interface StoreProductCategoryFilters extends BaseProductCategoryFilters {
|
32
|
-
}
|
33
|
-
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/product/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,YAAa,SAAQ,WAAW;CAAG;AACpD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAE7D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,0BAA0B,CAAA;CACtC;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/product/store.ts"],"names":[],"mappings":""}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../common";
|
2
|
-
import { ProductCategoryResponse } from "./common";
|
3
|
-
export interface AdminProductCategoryResponse {
|
4
|
-
product_category: ProductCategoryResponse;
|
5
|
-
}
|
6
|
-
export type AdminProductCategoryListResponse = PaginatedResponse<{
|
7
|
-
product_categories: ProductCategoryResponse[];
|
8
|
-
}>;
|
9
|
-
//# sourceMappingURL=admin.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/product-category/admin.ts"],"names":[],"mappings":""}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { PaginatedResponse } from "../common";
|
2
|
-
import { ProductCategoryResponse } from "./common";
|
3
|
-
export interface StoreProductCategoryResponse {
|
4
|
-
product_category: ProductCategoryResponse;
|
5
|
-
}
|
6
|
-
export type StoreProductCategoryListResponse = PaginatedResponse<{
|
7
|
-
product_categories: ProductCategoryResponse[];
|
8
|
-
}>;
|
9
|
-
//# sourceMappingURL=store.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,kBAAkB,EAAE,uBAAuB,EAAE,CAAA;CAC9C,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/product-category/store.ts"],"names":[],"mappings":""}
|
@@ -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,495 +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
|
-
allow_backorder?: boolean;
|
144
|
-
metadata: Record<string, unknown> | null;
|
145
|
-
created_at: string | Date;
|
146
|
-
updated_at: string | Date;
|
147
|
-
deleted_at: string | Date | null;
|
148
|
-
};
|
149
|
-
/**
|
150
|
-
* @schema InventoryLevelDTO
|
151
|
-
* type: object
|
152
|
-
* required:
|
153
|
-
* - inventory_item_id
|
154
|
-
* - location_id
|
155
|
-
* - stocked_quantity
|
156
|
-
* - reserved_quantity
|
157
|
-
* - incoming_quantity
|
158
|
-
* properties:
|
159
|
-
* location_id:
|
160
|
-
* description: the item location ID
|
161
|
-
* type: string
|
162
|
-
* stocked_quantity:
|
163
|
-
* description: the total stock quantity of an inventory item at the given location ID
|
164
|
-
* type: number
|
165
|
-
* reserved_quantity:
|
166
|
-
* description: the reserved stock quantity of an inventory item at the given location ID
|
167
|
-
* type: number
|
168
|
-
* incoming_quantity:
|
169
|
-
* description: the incoming stock quantity of an inventory item at the given location ID
|
170
|
-
* type: number
|
171
|
-
* metadata:
|
172
|
-
* type: object
|
173
|
-
* description: An optional key-value map with additional details
|
174
|
-
* example: {car: "white"}
|
175
|
-
* created_at:
|
176
|
-
* type: string
|
177
|
-
* description: "The date with timezone at which the resource was created."
|
178
|
-
* format: date-time
|
179
|
-
* updated_at:
|
180
|
-
* type: string
|
181
|
-
* description: "The date with timezone at which the resource was updated."
|
182
|
-
* format: date-time
|
183
|
-
* deleted_at:
|
184
|
-
* type: string
|
185
|
-
* description: "The date with timezone at which the resource was deleted."
|
186
|
-
* format: date-time
|
187
|
-
*/
|
188
|
-
export type InventoryLevelDTO = {
|
189
|
-
id: string;
|
190
|
-
inventory_item_id: string;
|
191
|
-
location_id: string;
|
192
|
-
stocked_quantity: number;
|
193
|
-
reserved_quantity: number;
|
194
|
-
available_quantity: number;
|
195
|
-
incoming_quantity: number;
|
196
|
-
metadata: Record<string, unknown> | null;
|
197
|
-
created_at: string | Date;
|
198
|
-
updated_at: string | Date;
|
199
|
-
deleted_at: string | Date | null;
|
200
|
-
};
|
201
|
-
/**
|
202
|
-
* @interface
|
203
|
-
*
|
204
|
-
* The filters to apply on retrieved reservation items.
|
205
|
-
*/
|
206
|
-
export type FilterableReservationItemProps = {
|
207
|
-
/**
|
208
|
-
* The IDs to filter reservation items by.
|
209
|
-
*/
|
210
|
-
id?: string | string[];
|
211
|
-
/**
|
212
|
-
* @ignore
|
213
|
-
*
|
214
|
-
* @privateRemark
|
215
|
-
* This property is not used.
|
216
|
-
*/
|
217
|
-
type?: string | string[];
|
218
|
-
/**
|
219
|
-
* Filter reservation items by the ID of their associated line item.
|
220
|
-
*/
|
221
|
-
line_item_id?: string | string[];
|
222
|
-
/**
|
223
|
-
* Filter reservation items by the ID of their associated inventory item.
|
224
|
-
*/
|
225
|
-
inventory_item_id?: string | string[];
|
226
|
-
/**
|
227
|
-
* Filter reservation items by the ID of their associated location.
|
228
|
-
*/
|
229
|
-
location_id?: string | string[];
|
230
|
-
/**
|
231
|
-
* Description filters to apply on the reservation items' `description` attribute.
|
232
|
-
*/
|
233
|
-
description?: string | StringComparisonOperator;
|
234
|
-
/**
|
235
|
-
* The "created by" values to filter reservation items by.
|
236
|
-
*/
|
237
|
-
created_by?: string | string[];
|
238
|
-
/**
|
239
|
-
* Filters to apply on the reservation items' `quantity` attribute.
|
240
|
-
*/
|
241
|
-
quantity?: number | NumericalComparisonOperator;
|
242
|
-
};
|
243
|
-
/**
|
244
|
-
* @interface
|
245
|
-
*
|
246
|
-
* The filters to apply on retrieved inventory items.
|
247
|
-
*/
|
248
|
-
export type FilterableInventoryItemProps = {
|
249
|
-
/**
|
250
|
-
* The IDs to filter inventory items by.
|
251
|
-
*/
|
252
|
-
id?: string | string[];
|
253
|
-
/**
|
254
|
-
* Filter inventory items by the ID of their associated location.
|
255
|
-
*/
|
256
|
-
location_id?: string | string[];
|
257
|
-
/**
|
258
|
-
* Search term to search inventory items' attributes.
|
259
|
-
*/
|
260
|
-
q?: string;
|
261
|
-
/**
|
262
|
-
* The SKUs to filter inventory items by.
|
263
|
-
*/
|
264
|
-
sku?: string | string[] | StringComparisonOperator;
|
265
|
-
/**
|
266
|
-
* The origin country to filter inventory items by.
|
267
|
-
*/
|
268
|
-
origin_country?: string | string[];
|
269
|
-
/**
|
270
|
-
* The HS Codes to filter inventory items by.
|
271
|
-
*/
|
272
|
-
hs_code?: string | string[] | StringComparisonOperator;
|
273
|
-
/**
|
274
|
-
* Filter inventory items by whether they require shipping.
|
275
|
-
*/
|
276
|
-
requires_shipping?: boolean;
|
277
|
-
};
|
278
|
-
export interface UpdateInventoryItemInput extends Partial<CreateInventoryItemInput> {
|
279
|
-
id: string;
|
280
|
-
}
|
281
|
-
/**
|
282
|
-
* @interface
|
283
|
-
*
|
284
|
-
* The details of the inventory item to be created.
|
285
|
-
*/
|
286
|
-
export interface CreateInventoryItemInput {
|
287
|
-
/**
|
288
|
-
* The SKU of the inventory item.
|
289
|
-
*/
|
290
|
-
sku?: string | null;
|
291
|
-
/**
|
292
|
-
* The origin country of the inventory item.
|
293
|
-
*/
|
294
|
-
origin_country?: string | null;
|
295
|
-
/**
|
296
|
-
* The MID code of the inventory item.
|
297
|
-
*/
|
298
|
-
mid_code?: string | null;
|
299
|
-
/**
|
300
|
-
* The material of the inventory item.
|
301
|
-
*/
|
302
|
-
material?: string | null;
|
303
|
-
/**
|
304
|
-
* The weight of the inventory item.
|
305
|
-
*/
|
306
|
-
weight?: number | null;
|
307
|
-
/**
|
308
|
-
* The length of the inventory item.
|
309
|
-
*/
|
310
|
-
length?: number | null;
|
311
|
-
/**
|
312
|
-
* The height of the inventory item.
|
313
|
-
*/
|
314
|
-
height?: number | null;
|
315
|
-
/**
|
316
|
-
* The width of the inventory item.
|
317
|
-
*/
|
318
|
-
width?: number | null;
|
319
|
-
/**
|
320
|
-
* The title of the inventory item.
|
321
|
-
*/
|
322
|
-
title?: string | null;
|
323
|
-
/**
|
324
|
-
* The description of the inventory item.
|
325
|
-
*/
|
326
|
-
description?: string | null;
|
327
|
-
/**
|
328
|
-
* The thumbnail of the inventory item.
|
329
|
-
*/
|
330
|
-
thumbnail?: string | null;
|
331
|
-
/**
|
332
|
-
* Holds custom data in key-value pairs.
|
333
|
-
*/
|
334
|
-
metadata?: Record<string, unknown> | null;
|
335
|
-
/**
|
336
|
-
* The HS code of the inventory item.
|
337
|
-
*/
|
338
|
-
hs_code?: string | null;
|
339
|
-
/**
|
340
|
-
* Whether the inventory item requires shipping.
|
341
|
-
*/
|
342
|
-
requires_shipping?: boolean;
|
343
|
-
}
|
344
|
-
/**
|
345
|
-
* @interface
|
346
|
-
*
|
347
|
-
* The details of the reservation item to be created.
|
348
|
-
*/
|
349
|
-
export type CreateReservationItemInput = {
|
350
|
-
/**
|
351
|
-
* The ID of the associated line item.
|
352
|
-
*/
|
353
|
-
line_item_id?: string;
|
354
|
-
/**
|
355
|
-
* The ID of the associated inventory item.
|
356
|
-
*/
|
357
|
-
inventory_item_id: string;
|
358
|
-
/**
|
359
|
-
* The ID of the associated location.
|
360
|
-
*/
|
361
|
-
location_id: string;
|
362
|
-
/**
|
363
|
-
* The reserved quantity.
|
364
|
-
*/
|
365
|
-
quantity: number;
|
366
|
-
/**
|
367
|
-
* The description of the reservation.
|
368
|
-
*/
|
369
|
-
description?: string;
|
370
|
-
/**
|
371
|
-
* The user or system that created the reservation. Can be any form of identification string.
|
372
|
-
*/
|
373
|
-
created_by?: string;
|
374
|
-
/**
|
375
|
-
* An ID associated with an external third-party system that the reservation item is connected to.
|
376
|
-
*/
|
377
|
-
external_id?: string;
|
378
|
-
/**
|
379
|
-
* Holds custom data in key-value pairs.
|
380
|
-
*/
|
381
|
-
metadata?: Record<string, unknown> | null;
|
382
|
-
};
|
383
|
-
/**
|
384
|
-
* @interface
|
385
|
-
*
|
386
|
-
* The filters to apply on retrieved inventory levels.
|
387
|
-
*/
|
388
|
-
export type FilterableInventoryLevelProps = {
|
389
|
-
/**
|
390
|
-
* Filter inventory levels by the ID of their associated inventory item.
|
391
|
-
*/
|
392
|
-
inventory_item_id?: string | string[];
|
393
|
-
/**
|
394
|
-
* Filter inventory levels by the ID of their associated inventory location.
|
395
|
-
*/
|
396
|
-
location_id?: string | string[];
|
397
|
-
/**
|
398
|
-
* Filters to apply on inventory levels' `stocked_quantity` attribute.
|
399
|
-
*/
|
400
|
-
stocked_quantity?: number | NumericalComparisonOperator;
|
401
|
-
/**
|
402
|
-
* Filters to apply on inventory levels' `reserved_quantity` attribute.
|
403
|
-
*/
|
404
|
-
reserved_quantity?: number | NumericalComparisonOperator;
|
405
|
-
/**
|
406
|
-
* Filters to apply on inventory levels' `incoming_quantity` attribute.
|
407
|
-
*/
|
408
|
-
incoming_quantity?: number | NumericalComparisonOperator;
|
409
|
-
};
|
410
|
-
/**
|
411
|
-
* @interface
|
412
|
-
*
|
413
|
-
* The details of the inventory level to be created.
|
414
|
-
*/
|
415
|
-
export type CreateInventoryLevelInput = {
|
416
|
-
/**
|
417
|
-
* The ID of the associated inventory item.
|
418
|
-
*/
|
419
|
-
inventory_item_id: string;
|
420
|
-
/**
|
421
|
-
* The ID of the associated location.
|
422
|
-
*/
|
423
|
-
location_id: string;
|
424
|
-
/**
|
425
|
-
* The stocked quantity of the associated inventory item in the associated location.
|
426
|
-
*/
|
427
|
-
stocked_quantity: number;
|
428
|
-
/**
|
429
|
-
* The reserved quantity of the associated inventory item in the associated location.
|
430
|
-
*/
|
431
|
-
reserved_quantity?: number;
|
432
|
-
/**
|
433
|
-
* The incoming quantity of the associated inventory item in the associated location.
|
434
|
-
*/
|
435
|
-
incoming_quantity?: number;
|
436
|
-
};
|
437
|
-
/**
|
438
|
-
* @interface
|
439
|
-
*
|
440
|
-
* The attributes to update in an inventory level.
|
441
|
-
*/
|
442
|
-
export type UpdateInventoryLevelInput = {
|
443
|
-
/**
|
444
|
-
* The stocked quantity of the associated inventory item in the associated location.
|
445
|
-
*/
|
446
|
-
stocked_quantity?: number;
|
447
|
-
/**
|
448
|
-
* The incoming quantity of the associated inventory item in the associated location.
|
449
|
-
*/
|
450
|
-
incoming_quantity?: number;
|
451
|
-
};
|
452
|
-
/**
|
453
|
-
* @interface
|
454
|
-
*
|
455
|
-
* The attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
|
456
|
-
*/
|
457
|
-
export type BulkUpdateInventoryLevelInput = {
|
458
|
-
/**
|
459
|
-
* The ID of the associated inventory level.
|
460
|
-
*/
|
461
|
-
inventory_item_id: string;
|
462
|
-
/**
|
463
|
-
* The ID of the associated location.
|
464
|
-
*/
|
465
|
-
location_id: string;
|
466
|
-
} & UpdateInventoryLevelInput;
|
467
|
-
/**
|
468
|
-
* @interface
|
469
|
-
*
|
470
|
-
* The attributes to update in a reservation item.
|
471
|
-
*/
|
472
|
-
export type UpdateReservationItemInput = {
|
473
|
-
/**
|
474
|
-
* The reserved quantity.
|
475
|
-
*/
|
476
|
-
quantity?: number;
|
477
|
-
/**
|
478
|
-
* The ID of the associated location.
|
479
|
-
*/
|
480
|
-
location_id?: string;
|
481
|
-
/**
|
482
|
-
* The description of the reservation item.
|
483
|
-
*/
|
484
|
-
description?: string;
|
485
|
-
/**
|
486
|
-
* Holds custom data in key-value pairs.
|
487
|
-
*/
|
488
|
-
metadata?: Record<string, unknown> | null;
|
489
|
-
};
|
490
|
-
export type ReserveQuantityContext = {
|
491
|
-
locationId?: string;
|
492
|
-
lineItemId?: string;
|
493
|
-
salesChannelId?: string | null;
|
494
|
-
};
|
495
|
-
//# sourceMappingURL=common.d.ts.map
|