@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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/price-list/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./admin"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/price-list/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from "./
|
1
|
+
export * from "./entities";
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { AdminCollection } from "../../collection";
|
2
|
+
import { AdminPrice } from "../../pricing";
|
3
|
+
import { AdminProductCategory } from "../../product-category";
|
4
|
+
import { AdminProductType } from "../../product-type";
|
5
|
+
import { AdminSalesChannel } from "../../sales-channel";
|
6
|
+
import { BaseProduct, BaseProductImage, BaseProductOption, BaseProductOptionValue, BaseProductTag, BaseProductVariant, ProductStatus } from "../common";
|
7
|
+
export interface AdminProductVariant extends BaseProductVariant {
|
8
|
+
prices: AdminPrice[] | null;
|
9
|
+
}
|
10
|
+
export interface AdminProductTag extends BaseProductTag {
|
11
|
+
}
|
12
|
+
export interface AdminProductOption extends BaseProductOption {
|
13
|
+
}
|
14
|
+
export interface AdminProductImage extends BaseProductImage {
|
15
|
+
}
|
16
|
+
export interface AdminProductOptionValue extends BaseProductOptionValue {
|
17
|
+
}
|
18
|
+
export interface AdminProduct extends Omit<BaseProduct, "categories" | "variants"> {
|
19
|
+
collection?: AdminCollection | null;
|
20
|
+
categories?: AdminProductCategory[] | null;
|
21
|
+
sales_channels?: AdminSalesChannel[] | null;
|
22
|
+
variants?: AdminProductVariant[] | null;
|
23
|
+
type: AdminProductType | null;
|
24
|
+
}
|
25
|
+
export type AdminProductStatus = ProductStatus;
|
26
|
+
//# sourceMappingURL=entitites.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;CAC5B;AACD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACpD,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAA;IAC1C,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAA;IACvC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC9B;AACD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entitites.js","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entitites"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./responses"), exports);
|
20
|
+
__exportStar(require("./queries"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/product/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B;AAC3B,4CAAyB"}
|
@@ -0,0 +1,152 @@
|
|
1
|
+
import { BatchMethodRequest } from "../../../common";
|
2
|
+
import { ProductStatus } from "../common";
|
3
|
+
export interface AdminBatchProductRequest extends BatchMethodRequest<AdminCreateProduct, AdminUpdateProduct> {
|
4
|
+
}
|
5
|
+
export interface AdminBatchProductVariantRequest extends BatchMethodRequest<AdminCreateProductVariant, AdminUpdateProductVariant> {
|
6
|
+
}
|
7
|
+
export interface AdminBatchProductVariantInventoryItemRequest extends BatchMethodRequest<AdminCreateProductVariantInventoryItem, AdminUpdateProductVariantInventoryItem, AdminDeleteProductVariantInventoryItem> {
|
8
|
+
}
|
9
|
+
export interface AdminCreateProductVariantPrice {
|
10
|
+
currency_code: string;
|
11
|
+
amount: number;
|
12
|
+
min_quantity?: number | null;
|
13
|
+
max_quantity?: number | null;
|
14
|
+
}
|
15
|
+
export interface AdminCreateProductVariant {
|
16
|
+
title: string;
|
17
|
+
sku?: string;
|
18
|
+
ean?: string;
|
19
|
+
upc?: string;
|
20
|
+
barcode?: string;
|
21
|
+
hs_code?: string;
|
22
|
+
mid_code?: string;
|
23
|
+
allow_backorder?: boolean;
|
24
|
+
manage_inventory?: boolean;
|
25
|
+
variant_rank?: number;
|
26
|
+
weight?: number;
|
27
|
+
length?: number;
|
28
|
+
height?: number;
|
29
|
+
width?: number;
|
30
|
+
origin_country?: string;
|
31
|
+
material?: string;
|
32
|
+
metadata?: Record<string, unknown>;
|
33
|
+
prices: AdminCreateProductVariantPrice[];
|
34
|
+
options?: Record<string, string>;
|
35
|
+
}
|
36
|
+
export interface AdminCreateProduct {
|
37
|
+
title: string;
|
38
|
+
subtitle?: string;
|
39
|
+
description?: string;
|
40
|
+
is_giftcard?: boolean;
|
41
|
+
discountable?: boolean;
|
42
|
+
images?: {
|
43
|
+
url: string;
|
44
|
+
}[];
|
45
|
+
thumbnail?: string;
|
46
|
+
handle?: string;
|
47
|
+
status?: ProductStatus;
|
48
|
+
type_id?: string;
|
49
|
+
collection_id?: string;
|
50
|
+
categories?: {
|
51
|
+
id: string;
|
52
|
+
}[];
|
53
|
+
tags?: {
|
54
|
+
id?: string;
|
55
|
+
value?: string;
|
56
|
+
}[];
|
57
|
+
options?: AdminCreateProductOption[];
|
58
|
+
variants?: AdminCreateProductVariant[];
|
59
|
+
sales_channels?: {
|
60
|
+
id: string;
|
61
|
+
}[];
|
62
|
+
weight?: number;
|
63
|
+
length?: number;
|
64
|
+
height?: number;
|
65
|
+
width?: number;
|
66
|
+
hs_code?: string;
|
67
|
+
mid_code?: string;
|
68
|
+
origin_country?: string;
|
69
|
+
material?: string;
|
70
|
+
metadata?: Record<string, unknown>;
|
71
|
+
}
|
72
|
+
export interface AdminUpdateProductVariant {
|
73
|
+
title?: string;
|
74
|
+
sku?: string | null;
|
75
|
+
ean?: string | null;
|
76
|
+
upc?: string | null;
|
77
|
+
barcode?: string | null;
|
78
|
+
hs_code?: string | null;
|
79
|
+
mid_code?: string | null;
|
80
|
+
allow_backorder?: boolean;
|
81
|
+
manage_inventory?: boolean;
|
82
|
+
variant_rank?: number;
|
83
|
+
weight?: number | null;
|
84
|
+
length?: number | null;
|
85
|
+
height?: number | null;
|
86
|
+
width?: number | null;
|
87
|
+
origin_country?: string | null;
|
88
|
+
material?: string | null;
|
89
|
+
metadata?: Record<string, unknown> | null;
|
90
|
+
prices?: AdminCreateProductVariantPrice[];
|
91
|
+
options?: Record<string, string>;
|
92
|
+
}
|
93
|
+
export interface AdminUpdateProduct {
|
94
|
+
title?: string;
|
95
|
+
subtitle?: string | null;
|
96
|
+
description?: string | null;
|
97
|
+
is_giftcard?: boolean;
|
98
|
+
discountable?: boolean;
|
99
|
+
images?: {
|
100
|
+
url: string;
|
101
|
+
}[];
|
102
|
+
thumbnail?: string | null;
|
103
|
+
handle?: string;
|
104
|
+
status?: ProductStatus;
|
105
|
+
type_id?: string | null;
|
106
|
+
collection_id?: string | null;
|
107
|
+
categories?: {
|
108
|
+
id: string;
|
109
|
+
}[];
|
110
|
+
tags?: {
|
111
|
+
id?: string;
|
112
|
+
value?: string;
|
113
|
+
}[];
|
114
|
+
options?: AdminUpdateProductOption[];
|
115
|
+
variants?: AdminCreateProductVariant[];
|
116
|
+
sales_channels?: {
|
117
|
+
id: string;
|
118
|
+
}[];
|
119
|
+
weight?: number | null;
|
120
|
+
length?: number | null;
|
121
|
+
height?: number | null;
|
122
|
+
width?: number | null;
|
123
|
+
hs_code?: string | null;
|
124
|
+
mid_code?: string | null;
|
125
|
+
origin_country?: string | null;
|
126
|
+
material?: string | null;
|
127
|
+
metadata?: Record<string, unknown> | null;
|
128
|
+
}
|
129
|
+
export interface AdminCreateProductOption {
|
130
|
+
title: string;
|
131
|
+
values: string[];
|
132
|
+
}
|
133
|
+
export interface AdminUpdateProductOption {
|
134
|
+
title?: string;
|
135
|
+
values?: string[];
|
136
|
+
}
|
137
|
+
interface AdminCreateProductVariantInventoryItem {
|
138
|
+
required_quantity: number;
|
139
|
+
inventory_item_id: string;
|
140
|
+
variant_id: string;
|
141
|
+
}
|
142
|
+
interface AdminUpdateProductVariantInventoryItem {
|
143
|
+
required_quantity: number;
|
144
|
+
inventory_item_id: string;
|
145
|
+
variant_id: string;
|
146
|
+
}
|
147
|
+
interface AdminDeleteProductVariantInventoryItem {
|
148
|
+
inventory_item_id: string;
|
149
|
+
variant_id: string;
|
150
|
+
}
|
151
|
+
export {};
|
152
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
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AAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/product/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { BaseProductListParams, BaseProductOptionParams, BaseProductTagParams, BaseProductVariantParams } from "../common";
|
2
|
+
export interface AdminProductTagParams extends BaseProductTagParams {
|
3
|
+
}
|
4
|
+
export interface AdminProductOptionParams extends BaseProductOptionParams {
|
5
|
+
}
|
6
|
+
export interface AdminProductVariantParams extends BaseProductVariantParams {
|
7
|
+
}
|
8
|
+
export interface AdminProductListParams extends BaseProductListParams {
|
9
|
+
price_list_id?: string | string[];
|
10
|
+
variants?: AdminProductVariantParams;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AACtE,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { BatchMethodResponse } from "../../../common";
|
2
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
3
|
+
import { AdminProduct, AdminProductOption, AdminProductVariant } from "./entitites";
|
4
|
+
import { AdminInventoryItem } from "../../inventory";
|
5
|
+
export interface AdminProductResponse {
|
6
|
+
product: AdminProduct;
|
7
|
+
}
|
8
|
+
export type AdminProductListResponse = PaginatedResponse<{
|
9
|
+
products: AdminProduct[];
|
10
|
+
}>;
|
11
|
+
export interface AdminProductDeleteResponse extends DeleteResponse<"product"> {
|
12
|
+
}
|
13
|
+
export interface AdminBatchProductResponse extends BatchMethodResponse<AdminProduct> {
|
14
|
+
}
|
15
|
+
export interface AdminProductVariantResponse {
|
16
|
+
variant: AdminProductVariant;
|
17
|
+
}
|
18
|
+
export type AdminProductVariantListResponse = PaginatedResponse<{
|
19
|
+
variants: AdminProductVariant[];
|
20
|
+
}>;
|
21
|
+
export interface AdminProductVariantDeleteResponse extends DeleteResponse<"variant", AdminProduct> {
|
22
|
+
}
|
23
|
+
export interface AdminBatchProductVariantResponse extends BatchMethodResponse<AdminProductVariant> {
|
24
|
+
}
|
25
|
+
export interface AdminBatchProductVariantInventoryItemResponse extends BatchMethodResponse<AdminInventoryItem> {
|
26
|
+
}
|
27
|
+
export interface AdminProductOptionResponse {
|
28
|
+
product_option: AdminProductOption;
|
29
|
+
}
|
30
|
+
export type AdminProductOptionListResponse = PaginatedResponse<{
|
31
|
+
product_options: AdminProductOption[];
|
32
|
+
}>;
|
33
|
+
export interface AdminProductOptionDeleteResponse extends DeleteResponse<"product_option", AdminProduct> {
|
34
|
+
}
|
35
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA2B,SAAQ,cAAc,CAAC,SAAS,CAAC;CAAG;AAEhF,MAAM,WAAW,yBACf,SAAQ,mBAAmB,CAAC,YAAY,CAAC;CAAG;AAE9C,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,mBAAmB,CAAA;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAEpD,MAAM,WAAW,gCACf,SAAQ,mBAAmB,CAAC,mBAAmB,CAAC;CAAG;AAErD,MAAM,WAAW,6CACf,SAAQ,mBAAmB,CAAC,kBAAkB,CAAC;CAAG;AAEpD,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,gCACf,SAAQ,cAAc,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -1,98 +1,79 @@
|
|
1
1
|
import { BaseFilterable, OperatorMap } from "../../dal";
|
2
2
|
import { BaseCollection } from "../collection/common";
|
3
|
+
import { FindParams } from "../common";
|
4
|
+
import { BaseProductCategory } from "../product-category/common";
|
5
|
+
import { BaseProductType } from "../product-type/common";
|
3
6
|
export type ProductStatus = "draft" | "proposed" | "published" | "rejected";
|
4
7
|
export interface BaseProduct {
|
5
|
-
id
|
6
|
-
title
|
7
|
-
handle
|
8
|
-
subtitle
|
9
|
-
description
|
10
|
-
is_giftcard
|
11
|
-
status
|
12
|
-
thumbnail
|
13
|
-
width
|
14
|
-
weight
|
15
|
-
length
|
16
|
-
height
|
17
|
-
origin_country
|
18
|
-
hs_code
|
19
|
-
mid_code
|
20
|
-
material
|
21
|
-
collection?: BaseCollection;
|
22
|
-
collection_id
|
23
|
-
categories?: BaseProductCategory[];
|
8
|
+
id: string;
|
9
|
+
title: string;
|
10
|
+
handle: string;
|
11
|
+
subtitle: string | null;
|
12
|
+
description: string | null;
|
13
|
+
is_giftcard: boolean;
|
14
|
+
status: ProductStatus;
|
15
|
+
thumbnail: string | null;
|
16
|
+
width: number | null;
|
17
|
+
weight: number | null;
|
18
|
+
length: number | null;
|
19
|
+
height: number | null;
|
20
|
+
origin_country: string | null;
|
21
|
+
hs_code: string | null;
|
22
|
+
mid_code: string | null;
|
23
|
+
material: string | null;
|
24
|
+
collection?: BaseCollection | null;
|
25
|
+
collection_id: string | null;
|
26
|
+
categories?: BaseProductCategory[] | null;
|
24
27
|
type?: BaseProductType | null;
|
25
|
-
type_id
|
26
|
-
tags
|
27
|
-
variants
|
28
|
-
options
|
29
|
-
images
|
30
|
-
discountable
|
31
|
-
external_id
|
32
|
-
created_at
|
33
|
-
updated_at
|
34
|
-
deleted_at
|
28
|
+
type_id: string | null;
|
29
|
+
tags: BaseProductTag[] | null;
|
30
|
+
variants: BaseProductVariant[] | null;
|
31
|
+
options: BaseProductOption[] | null;
|
32
|
+
images: BaseProductImage[] | null;
|
33
|
+
discountable: boolean;
|
34
|
+
external_id: string | null;
|
35
|
+
created_at: string | null;
|
36
|
+
updated_at: string | null;
|
37
|
+
deleted_at: string | null;
|
35
38
|
metadata?: Record<string, unknown> | null;
|
36
39
|
}
|
37
40
|
export interface BaseProductVariant {
|
38
|
-
id
|
39
|
-
title
|
40
|
-
sku
|
41
|
-
barcode
|
42
|
-
ean
|
43
|
-
upc
|
44
|
-
allow_backorder
|
45
|
-
manage_inventory
|
46
|
-
hs_code
|
47
|
-
origin_country
|
48
|
-
mid_code
|
49
|
-
material
|
50
|
-
weight
|
51
|
-
length
|
52
|
-
height
|
53
|
-
width
|
54
|
-
options
|
55
|
-
product?: BaseProduct;
|
56
|
-
product_id?: string
|
57
|
-
variant_rank?: number;
|
58
|
-
created_at
|
59
|
-
updated_at
|
60
|
-
deleted_at
|
41
|
+
id: string;
|
42
|
+
title: string | null;
|
43
|
+
sku: string | null;
|
44
|
+
barcode: string | null;
|
45
|
+
ean: string | null;
|
46
|
+
upc: string | null;
|
47
|
+
allow_backorder: boolean | null;
|
48
|
+
manage_inventory: boolean | null;
|
49
|
+
hs_code: string | null;
|
50
|
+
origin_country: string | null;
|
51
|
+
mid_code: string | null;
|
52
|
+
material: string | null;
|
53
|
+
weight: number | null;
|
54
|
+
length: number | null;
|
55
|
+
height: number | null;
|
56
|
+
width: number | null;
|
57
|
+
options: BaseProductOptionValue[] | null;
|
58
|
+
product?: BaseProduct | null;
|
59
|
+
product_id?: string;
|
60
|
+
variant_rank?: number | null;
|
61
|
+
created_at: string;
|
62
|
+
updated_at: string;
|
63
|
+
deleted_at: string | null;
|
61
64
|
metadata?: Record<string, unknown> | null;
|
62
65
|
}
|
63
|
-
export interface BaseProductCategory {
|
64
|
-
id?: string;
|
65
|
-
name?: string;
|
66
|
-
description?: string | null;
|
67
|
-
handle?: string;
|
68
|
-
rank?: number;
|
69
|
-
parent_category?: BaseProductCategory;
|
70
|
-
parent_category_id?: string;
|
71
|
-
category_children?: BaseProductCategory[];
|
72
|
-
products?: BaseProduct[];
|
73
|
-
created_at?: string;
|
74
|
-
updated_at?: string;
|
75
|
-
metadata?: Record<string, unknown>;
|
76
|
-
}
|
77
66
|
export interface BaseProductTag {
|
78
|
-
id
|
79
|
-
value
|
67
|
+
id: string;
|
68
|
+
value: string;
|
80
69
|
products?: BaseProduct[];
|
81
70
|
metadata?: Record<string, unknown> | null;
|
82
71
|
}
|
83
|
-
export interface BaseProductType {
|
84
|
-
id?: string;
|
85
|
-
value?: string;
|
86
|
-
created_at?: string;
|
87
|
-
updated_at?: string;
|
88
|
-
deleted_at?: string | null;
|
89
|
-
metadata?: Record<string, unknown> | null;
|
90
|
-
}
|
91
72
|
export interface BaseProductOption {
|
92
|
-
id
|
93
|
-
title
|
94
|
-
product?: BaseProduct;
|
95
|
-
product_id?: string;
|
73
|
+
id: string;
|
74
|
+
title: string;
|
75
|
+
product?: BaseProduct | null;
|
76
|
+
product_id?: string | null;
|
96
77
|
values?: BaseProductOptionValue[];
|
97
78
|
metadata?: Record<string, unknown> | null;
|
98
79
|
created_at?: string;
|
@@ -100,26 +81,27 @@ export interface BaseProductOption {
|
|
100
81
|
deleted_at?: string | null;
|
101
82
|
}
|
102
83
|
export interface BaseProductImage {
|
103
|
-
id
|
104
|
-
url
|
84
|
+
id: string;
|
85
|
+
url: string;
|
105
86
|
created_at?: string;
|
106
87
|
updated_at?: string;
|
107
88
|
deleted_at?: string | null;
|
108
89
|
metadata?: Record<string, unknown> | null;
|
109
90
|
}
|
110
91
|
export interface BaseProductOptionValue {
|
111
|
-
id
|
112
|
-
value
|
113
|
-
option?: BaseProductOption;
|
114
|
-
option_id?: string;
|
92
|
+
id: string;
|
93
|
+
value: string;
|
94
|
+
option?: BaseProductOption | null;
|
95
|
+
option_id?: string | null;
|
115
96
|
metadata?: Record<string, unknown> | null;
|
116
97
|
created_at?: string;
|
117
98
|
updated_at?: string;
|
118
99
|
deleted_at?: string | null;
|
119
100
|
}
|
120
|
-
export interface
|
101
|
+
export interface BaseProductListParams extends FindParams, BaseFilterable<BaseProductListParams> {
|
121
102
|
q?: string;
|
122
103
|
status?: ProductStatus | ProductStatus[];
|
104
|
+
sales_channel_id?: string | string[];
|
123
105
|
title?: string | string[];
|
124
106
|
handle?: string | string[];
|
125
107
|
id?: string | string[];
|
@@ -139,38 +121,22 @@ export interface BaseProductFilters extends BaseFilterable<BaseProductFilters> {
|
|
139
121
|
updated_at?: OperatorMap<string>;
|
140
122
|
deleted_at?: OperatorMap<string>;
|
141
123
|
}
|
142
|
-
export interface
|
124
|
+
export interface BaseProductTagParams extends FindParams, BaseFilterable<BaseProductTagParams> {
|
143
125
|
q?: string;
|
144
126
|
id?: string | string[];
|
145
127
|
value?: string | string[];
|
146
128
|
}
|
147
|
-
export interface
|
148
|
-
q?: string;
|
149
|
-
id?: string | string[];
|
150
|
-
value?: string;
|
151
|
-
}
|
152
|
-
export interface BaseProductOptionFilters extends BaseFilterable<BaseProductOptionFilters> {
|
129
|
+
export interface BaseProductOptionParams extends FindParams, BaseFilterable<BaseProductOptionParams> {
|
153
130
|
q?: string;
|
154
131
|
id?: string | string[];
|
155
132
|
title?: string | string[];
|
156
133
|
product_id?: string | string[];
|
157
134
|
}
|
158
|
-
export interface
|
135
|
+
export interface BaseProductVariantParams extends FindParams, BaseFilterable<BaseProductVariantParams> {
|
159
136
|
q?: string;
|
160
137
|
id?: string | string[];
|
161
138
|
sku?: string | string[];
|
162
139
|
product_id?: string | string[];
|
163
140
|
options?: Record<string, string>;
|
164
141
|
}
|
165
|
-
export interface BaseProductCategoryFilters extends BaseFilterable<BaseProductCategoryFilters> {
|
166
|
-
q?: string;
|
167
|
-
id?: string | string[];
|
168
|
-
name?: string | string[];
|
169
|
-
parent_category_id?: string | string[] | null;
|
170
|
-
handle?: string | string[];
|
171
|
-
is_active?: boolean;
|
172
|
-
is_internal?: boolean;
|
173
|
-
include_descendants_tree?: boolean;
|
174
|
-
include_ancestors_tree?: boolean;
|
175
|
-
}
|
176
142
|
//# sourceMappingURL=common.d.ts.map
|