@medusajs/types 1.12.0-snapshot-20240531102054 → 1.12.0-snapshot-20240701122250
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-key/service.d.ts +24 -24
- package/dist/api-key/service.d.ts.map +1 -1
- package/dist/auth/common/auth-identity.d.ts +77 -21
- package/dist/auth/common/auth-identity.d.ts.map +1 -1
- package/dist/auth/common/provider.d.ts +2 -1
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/provider.d.ts +6 -3
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +30 -30
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +2 -1
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +3 -2
- package/dist/bundles.js.map +1 -1
- package/dist/cart/mutations.d.ts +8 -0
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +30 -52
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/common/batch.d.ts +3 -3
- package/dist/common/batch.d.ts.map +1 -1
- package/dist/common/common.d.ts +6 -1
- package/dist/common/common.d.ts.map +1 -1
- package/dist/currency/service.d.ts +9 -9
- package/dist/currency/service.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +27 -26
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/customer/service.d.ts +40 -43
- package/dist/customer/service.d.ts.map +1 -1
- package/dist/dal/repository-service.d.ts +15 -3
- package/dist/dal/repository-service.d.ts.map +1 -1
- package/dist/dml/index.d.ts +161 -0
- package/dist/dml/index.d.ts.map +1 -0
- package/dist/dml/index.js +5 -0
- package/dist/dml/index.js.map +1 -0
- package/dist/event-bus/common.d.ts +17 -25
- package/dist/event-bus/common.d.ts.map +1 -1
- package/dist/event-bus/event-bus-module.d.ts +4 -4
- package/dist/event-bus/event-bus-module.d.ts.map +1 -1
- package/dist/event-bus/event-bus.d.ts +2 -4
- package/dist/event-bus/event-bus.d.ts.map +1 -1
- package/dist/file/provider.d.ts +1 -8
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/service.d.ts +12 -12
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +3 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
- package/dist/fulfillment/mutations/service-zone.d.ts +3 -3
- package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +0 -22
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts +20 -2
- package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +71 -32
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/currency/admin/entities.d.ts +14 -0
- package/dist/http/currency/admin/entities.d.ts.map +1 -0
- package/dist/http/{fulfillment/admin/geo-zone.js → currency/admin/entities.js} +1 -1
- package/dist/http/currency/admin/entities.js.map +1 -0
- package/dist/http/currency/admin/index.d.ts +2 -0
- package/dist/http/currency/admin/index.d.ts.map +1 -0
- package/dist/http/{tax → currency}/admin/index.js +1 -2
- package/dist/http/currency/admin/index.js.map +1 -0
- package/dist/http/currency/index.d.ts.map +1 -0
- package/dist/http/currency/index.js.map +1 -0
- package/dist/http/file/admin.d.ts +5 -0
- package/dist/http/file/admin.d.ts.map +1 -0
- package/dist/http/{product → file}/admin.js.map +1 -1
- package/dist/http/file/common.d.ts +11 -0
- package/dist/http/file/common.d.ts.map +1 -0
- package/dist/{inventory → http/file}/common.js.map +1 -1
- package/dist/http/file/index.d.ts +3 -0
- package/dist/http/file/index.d.ts.map +1 -0
- package/dist/{inventory/bundle.js → http/file/index.js} +3 -3
- package/dist/http/file/index.js.map +1 -0
- package/dist/http/file/store.d.ts +4 -0
- package/dist/http/file/store.d.ts.map +1 -0
- package/dist/http/{product → file}/store.js.map +1 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +62 -0
- package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/entitites.js +3 -0
- package/dist/http/fulfillment/admin/entitites.js.map +1 -0
- package/dist/http/fulfillment/admin/index.d.ts +3 -12
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.js +3 -12
- package/dist/http/fulfillment/admin/index.js.map +1 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +41 -0
- package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/payloads.js +3 -0
- package/dist/http/fulfillment/admin/payloads.js.map +1 -0
- package/dist/http/fulfillment/admin/responses.d.ts +5 -0
- package/dist/http/fulfillment/admin/responses.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/responses.js +3 -0
- package/dist/http/fulfillment/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts +5 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.js +3 -0
- package/dist/http/fulfillment-provider/admin/entities.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/index.d.ts +4 -0
- package/dist/http/fulfillment-provider/admin/index.d.ts.map +1 -0
- package/dist/http/fulfillment-provider/admin/index.js +20 -0
- package/dist/http/fulfillment-provider/admin/index.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts +7 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -0
- package/dist/http/{pricing/price.js → fulfillment-provider/admin/queries.js} +1 -1
- package/dist/http/fulfillment-provider/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts +7 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -0
- package/dist/http/{inventory/inventory.js → fulfillment-provider/admin/responses.js} +1 -1
- package/dist/http/fulfillment-provider/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-provider/index.d.ts +2 -0
- package/dist/http/fulfillment-provider/index.d.ts.map +1 -0
- package/dist/{region__legacy → http/fulfillment-provider}/index.js +1 -1
- package/dist/http/fulfillment-provider/index.js.map +1 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts +33 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/entities.js +3 -0
- package/dist/http/fulfillment-set/admin/entities.js.map +1 -0
- package/dist/http/fulfillment-set/admin/index.d.ts +4 -0
- package/dist/http/fulfillment-set/admin/index.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/index.js +20 -0
- package/dist/http/fulfillment-set/admin/index.js.map +1 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts +56 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/payloads.js +3 -0
- package/dist/http/fulfillment-set/admin/payloads.js.map +1 -0
- package/dist/http/fulfillment-set/admin/queries.d.ts +12 -0
- package/dist/http/fulfillment-set/admin/queries.d.ts.map +1 -0
- package/dist/http/{product/admin.js → fulfillment-set/admin/queries.js} +1 -1
- package/dist/http/fulfillment-set/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts +13 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.js +3 -0
- package/dist/http/fulfillment-set/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-set/index.d.ts +2 -0
- package/dist/http/fulfillment-set/index.d.ts.map +1 -0
- package/dist/http/fulfillment-set/index.js +18 -0
- package/dist/http/fulfillment-set/index.js.map +1 -0
- package/dist/http/index.d.ts +12 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +12 -1
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
- package/dist/http/inventory/admin/entities.d.ts.map +1 -0
- package/dist/http/inventory/admin/entities.js +3 -0
- package/dist/http/inventory/admin/entities.js.map +1 -0
- package/dist/http/inventory/admin/index.d.ts +5 -0
- package/dist/http/inventory/admin/index.d.ts.map +1 -0
- package/dist/http/inventory/admin/index.js +21 -0
- package/dist/http/inventory/admin/index.js.map +1 -0
- package/dist/http/inventory/admin/payloads.d.ts +19 -0
- package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
- package/dist/http/inventory/admin/payloads.js +3 -0
- package/dist/http/inventory/admin/payloads.js.map +1 -0
- package/dist/http/inventory/admin/queries.d.ts +18 -0
- package/dist/http/inventory/admin/queries.d.ts.map +1 -0
- package/dist/http/inventory/admin/queries.js +3 -0
- package/dist/http/inventory/admin/queries.js.map +1 -0
- package/dist/http/inventory/admin/responses.d.ts +10 -0
- package/dist/http/inventory/admin/responses.d.ts.map +1 -0
- package/dist/http/inventory/admin/responses.js +3 -0
- package/dist/http/inventory/admin/responses.js.map +1 -0
- package/dist/http/inventory/index.d.ts +1 -2
- package/dist/http/inventory/index.d.ts.map +1 -1
- package/dist/http/inventory/index.js +1 -2
- package/dist/http/inventory/index.js.map +1 -1
- package/dist/http/inventory-level/admin/entities.d.ts +11 -0
- package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/entities.js +3 -0
- package/dist/http/inventory-level/admin/entities.js.map +1 -0
- package/dist/http/inventory-level/admin/index.d.ts +5 -0
- package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/index.js +21 -0
- package/dist/http/inventory-level/admin/index.js.map +1 -0
- package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
- package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/payloads.js +3 -0
- package/dist/http/inventory-level/admin/payloads.js.map +1 -0
- package/dist/http/inventory-level/admin/queries.d.ts +5 -0
- package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/queries.js +3 -0
- package/dist/http/inventory-level/admin/queries.js.map +1 -0
- package/dist/http/inventory-level/admin/responses.d.ts +9 -0
- package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
- package/dist/http/inventory-level/admin/responses.js +3 -0
- package/dist/http/inventory-level/admin/responses.js.map +1 -0
- package/dist/http/inventory-level/index.d.ts +2 -0
- package/dist/http/inventory-level/index.d.ts.map +1 -0
- package/dist/http/inventory-level/index.js +18 -0
- package/dist/http/inventory-level/index.js.map +1 -0
- package/dist/http/order/admin.d.ts +15 -1
- package/dist/http/order/admin.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +2 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/price-list/admin/entities.d.ts +21 -0
- package/dist/http/price-list/admin/entities.d.ts.map +1 -0
- package/dist/http/price-list/admin/entities.js +3 -0
- package/dist/http/price-list/admin/entities.js.map +1 -0
- package/dist/http/price-list/admin/index.d.ts +5 -0
- package/dist/http/price-list/admin/index.d.ts.map +1 -0
- package/dist/http/price-list/admin/index.js +21 -0
- package/dist/http/price-list/admin/index.js.map +1 -0
- package/dist/http/price-list/admin/payloads.d.ts +46 -0
- package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
- package/dist/http/price-list/admin/payloads.js +3 -0
- package/dist/http/price-list/admin/payloads.js.map +1 -0
- package/dist/http/price-list/admin/queries.d.ts +14 -0
- package/dist/http/price-list/admin/queries.d.ts.map +1 -0
- package/dist/http/price-list/admin/queries.js +3 -0
- package/dist/http/price-list/admin/queries.js.map +1 -0
- package/dist/http/price-list/admin/responses.d.ts +12 -0
- package/dist/http/price-list/admin/responses.d.ts.map +1 -0
- package/dist/http/price-list/admin/responses.js +3 -0
- package/dist/http/price-list/admin/responses.js.map +1 -0
- package/dist/http/price-list/index.d.ts +2 -0
- package/dist/http/price-list/index.d.ts.map +1 -0
- package/dist/http/price-list/index.js +18 -0
- package/dist/http/price-list/index.js.map +1 -0
- package/dist/http/pricing/admin/entities.d.ts +32 -0
- package/dist/http/pricing/admin/entities.d.ts.map +1 -0
- package/dist/http/pricing/admin/entities.js +3 -0
- package/dist/http/pricing/admin/entities.js.map +1 -0
- package/dist/http/pricing/admin/index.d.ts +2 -0
- package/dist/http/pricing/admin/index.d.ts.map +1 -0
- package/dist/http/pricing/admin/index.js +18 -0
- package/dist/http/pricing/admin/index.js.map +1 -0
- package/dist/http/pricing/index.d.ts +1 -1
- package/dist/http/pricing/index.js +1 -1
- package/dist/http/product/admin/entitites.d.ts +26 -0
- package/dist/http/product/admin/entitites.d.ts.map +1 -0
- package/dist/http/product/admin/entitites.js +3 -0
- package/dist/http/product/admin/entitites.js.map +1 -0
- package/dist/http/product/admin/index.d.ts +5 -0
- package/dist/http/product/admin/index.d.ts.map +1 -0
- package/dist/http/product/admin/index.js +21 -0
- package/dist/http/product/admin/index.js.map +1 -0
- package/dist/http/product/admin/payloads.d.ts +152 -0
- package/dist/http/product/admin/payloads.d.ts.map +1 -0
- package/dist/http/product/admin/payloads.js +3 -0
- package/dist/http/product/admin/payloads.js.map +1 -0
- package/dist/http/product/admin/queries.d.ts +12 -0
- package/dist/http/product/admin/queries.d.ts.map +1 -0
- package/dist/http/product/admin/queries.js +3 -0
- package/dist/http/product/admin/queries.js.map +1 -0
- package/dist/http/product/admin/responses.d.ts +35 -0
- package/dist/http/product/admin/responses.d.ts.map +1 -0
- package/dist/http/product/admin/responses.js +3 -0
- package/dist/http/product/admin/responses.js.map +1 -0
- package/dist/http/product/common.d.ts +72 -106
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/entitites.d.ts +19 -0
- package/dist/http/product/store/entitites.d.ts.map +1 -0
- package/dist/http/product/store/entitites.js +3 -0
- package/dist/http/product/store/entitites.js.map +1 -0
- package/dist/http/product/store/index.d.ts +4 -0
- package/dist/http/product/store/index.d.ts.map +1 -0
- package/dist/http/product/store/index.js +20 -0
- package/dist/http/product/store/index.js.map +1 -0
- package/dist/http/product/store/queries.d.ts +13 -0
- package/dist/http/product/store/queries.d.ts.map +1 -0
- package/dist/http/product/store/queries.js +3 -0
- package/dist/http/product/store/queries.js.map +1 -0
- package/dist/http/product/store/responses.d.ts +9 -0
- package/dist/http/product/store/responses.d.ts.map +1 -0
- package/dist/http/product/store/responses.js +3 -0
- package/dist/http/product/store/responses.js.map +1 -0
- package/dist/http/product-category/admin/entities.d.ts +8 -0
- package/dist/http/product-category/admin/entities.d.ts.map +1 -0
- package/dist/http/product-category/admin/entities.js +3 -0
- package/dist/http/product-category/admin/entities.js.map +1 -0
- package/dist/http/product-category/admin/index.d.ts +5 -0
- package/dist/http/product-category/admin/index.d.ts.map +1 -0
- package/dist/http/product-category/admin/index.js +21 -0
- package/dist/http/product-category/admin/index.js.map +1 -0
- package/dist/http/product-category/admin/payloads.d.ts +25 -0
- package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
- package/dist/http/product-category/admin/payloads.js +3 -0
- package/dist/http/product-category/admin/payloads.js.map +1 -0
- package/dist/http/product-category/admin/queries.d.ts +8 -0
- package/dist/http/product-category/admin/queries.d.ts.map +1 -0
- package/dist/http/product-category/admin/queries.js +3 -0
- package/dist/http/product-category/admin/queries.js.map +1 -0
- package/dist/http/product-category/admin/responses.d.ts +12 -0
- package/dist/http/product-category/admin/responses.d.ts.map +1 -0
- package/dist/http/product-category/admin/responses.js +3 -0
- package/dist/http/product-category/admin/responses.js.map +1 -0
- package/dist/http/product-category/common.d.ts +31 -7
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store/entities.d.ts +6 -0
- package/dist/http/product-category/store/entities.d.ts.map +1 -0
- package/dist/http/product-category/store/entities.js +3 -0
- package/dist/http/product-category/store/entities.js.map +1 -0
- package/dist/http/product-category/store/index.d.ts +4 -0
- package/dist/http/product-category/store/index.d.ts.map +1 -0
- package/dist/http/product-category/store/index.js +20 -0
- package/dist/http/product-category/store/index.js.map +1 -0
- package/dist/http/product-category/store/queries.d.ts +6 -0
- package/dist/http/product-category/store/queries.d.ts.map +1 -0
- package/dist/http/product-category/store/queries.js +3 -0
- package/dist/http/product-category/store/queries.js.map +1 -0
- package/dist/http/product-category/store/responses.d.ts +10 -0
- package/dist/http/product-category/store/responses.d.ts.map +1 -0
- package/dist/http/product-category/store/responses.js +3 -0
- package/dist/http/product-category/store/responses.js.map +1 -0
- package/dist/http/product-type/admin/entities.d.ts +4 -0
- package/dist/http/product-type/admin/entities.d.ts.map +1 -0
- package/dist/http/product-type/admin/entities.js +3 -0
- package/dist/http/product-type/admin/entities.js.map +1 -0
- package/dist/http/product-type/admin/index.d.ts +5 -0
- package/dist/http/product-type/admin/index.d.ts.map +1 -0
- package/dist/http/product-type/admin/index.js +21 -0
- package/dist/http/product-type/admin/index.js.map +1 -0
- package/dist/http/product-type/admin/payloads.d.ts +9 -0
- package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
- package/dist/http/product-type/admin/payloads.js +3 -0
- package/dist/http/product-type/admin/payloads.js.map +1 -0
- package/dist/http/product-type/admin/queries.d.ts +13 -0
- package/dist/http/product-type/admin/queries.d.ts.map +1 -0
- package/dist/http/product-type/admin/queries.js +3 -0
- package/dist/http/product-type/admin/queries.js.map +1 -0
- package/dist/http/product-type/admin/responses.d.ts +12 -0
- package/dist/http/product-type/admin/responses.d.ts.map +1 -0
- package/dist/http/product-type/admin/responses.js +3 -0
- package/dist/http/product-type/admin/responses.js.map +1 -0
- package/dist/http/product-type/common.d.ts +9 -0
- package/dist/http/product-type/common.d.ts.map +1 -0
- package/dist/{region__legacy → http/product-type}/common.js.map +1 -1
- package/dist/http/product-type/index.d.ts +3 -0
- package/dist/http/product-type/index.d.ts.map +1 -0
- package/dist/http/product-type/index.js +19 -0
- package/dist/http/product-type/index.js.map +1 -0
- package/dist/http/product-type/store/entities.d.ts +4 -0
- package/dist/http/product-type/store/entities.d.ts.map +1 -0
- package/dist/http/product-type/store/entities.js +3 -0
- package/dist/http/product-type/store/entities.js.map +1 -0
- package/dist/http/product-type/store/index.d.ts +2 -0
- package/dist/http/product-type/store/index.d.ts.map +1 -0
- package/dist/http/product-type/store/index.js +18 -0
- package/dist/http/product-type/store/index.js.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts +1 -1
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/entities.d.ts +11 -0
- package/dist/http/sales-channel/admin/entities.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/entities.js +3 -0
- package/dist/http/sales-channel/admin/entities.js.map +1 -0
- package/dist/http/sales-channel/admin/index.d.ts +4 -1
- package/dist/http/sales-channel/admin/index.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/index.js +4 -1
- package/dist/http/sales-channel/admin/index.js.map +1 -1
- package/dist/http/sales-channel/admin/payloads.d.ts +17 -0
- package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/payloads.js +3 -0
- package/dist/http/sales-channel/admin/payloads.js.map +1 -0
- package/dist/http/sales-channel/admin/queries.d.ts +15 -0
- package/dist/http/sales-channel/admin/queries.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/queries.js +3 -0
- package/dist/http/sales-channel/admin/queries.js.map +1 -0
- package/dist/http/sales-channel/admin/responses.d.ts +11 -0
- package/dist/http/sales-channel/admin/responses.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/responses.js +3 -0
- package/dist/http/sales-channel/admin/responses.js.map +1 -0
- package/dist/http/shipping-option/admin/entities.d.ts +54 -0
- package/dist/http/shipping-option/admin/entities.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/entities.js +3 -0
- package/dist/http/shipping-option/admin/entities.js.map +1 -0
- package/dist/http/shipping-option/admin/index.d.ts +5 -0
- package/dist/http/shipping-option/admin/index.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/index.js +21 -0
- package/dist/http/shipping-option/admin/index.js.map +1 -0
- package/dist/http/shipping-option/admin/payloads.d.ts +60 -0
- package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/payloads.js +3 -0
- package/dist/http/shipping-option/admin/payloads.js.map +1 -0
- package/dist/http/shipping-option/admin/queries.d.ts +14 -0
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/queries.js +3 -0
- package/dist/http/shipping-option/admin/queries.js.map +1 -0
- package/dist/http/shipping-option/admin/responses.d.ts +20 -0
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -0
- package/dist/http/shipping-option/admin/responses.js +3 -0
- package/dist/http/shipping-option/admin/responses.js.map +1 -0
- package/dist/http/shipping-option/index.d.ts +2 -0
- package/dist/http/shipping-option/index.d.ts.map +1 -0
- package/dist/http/shipping-option/index.js +18 -0
- package/dist/http/shipping-option/index.js.map +1 -0
- package/dist/http/shipping-profile/admin/entities.d.ts +10 -0
- package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/entities.js +3 -0
- package/dist/http/shipping-profile/admin/entities.js.map +1 -0
- package/dist/http/shipping-profile/admin/index.d.ts +5 -0
- package/dist/http/shipping-profile/admin/index.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/index.js +21 -0
- package/dist/http/shipping-profile/admin/index.js.map +1 -0
- package/dist/http/shipping-profile/admin/payloads.d.ts +11 -0
- package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/payloads.js +3 -0
- package/dist/http/shipping-profile/admin/payloads.js.map +1 -0
- package/dist/http/shipping-profile/admin/queries.d.ts +14 -0
- package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/queries.js +3 -0
- package/dist/http/shipping-profile/admin/queries.js.map +1 -0
- package/dist/http/shipping-profile/admin/responses.d.ts +11 -0
- package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -0
- package/dist/http/shipping-profile/admin/responses.js +3 -0
- package/dist/http/shipping-profile/admin/responses.js.map +1 -0
- package/dist/http/shipping-profile/index.d.ts +2 -0
- package/dist/http/shipping-profile/index.d.ts.map +1 -0
- package/dist/http/shipping-profile/index.js +18 -0
- package/dist/http/shipping-profile/index.js.map +1 -0
- package/dist/http/stock-locations/admin/entities.d.ts +22 -0
- package/dist/http/stock-locations/admin/entities.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/entities.js +3 -0
- package/dist/http/stock-locations/admin/entities.js.map +1 -0
- package/dist/http/stock-locations/admin/index.d.ts +5 -0
- package/dist/http/stock-locations/admin/index.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/index.js +21 -0
- package/dist/http/stock-locations/admin/index.js.map +1 -0
- package/dist/http/stock-locations/admin/payloads.d.ts +32 -0
- package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/payloads.js +3 -0
- package/dist/http/stock-locations/admin/payloads.js.map +1 -0
- package/dist/http/stock-locations/admin/queries.d.ts +11 -0
- package/dist/http/stock-locations/admin/queries.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/queries.js +3 -0
- package/dist/http/stock-locations/admin/queries.js.map +1 -0
- package/dist/http/stock-locations/admin/responses.d.ts +12 -0
- package/dist/http/stock-locations/admin/responses.d.ts.map +1 -0
- package/dist/http/stock-locations/admin/responses.js +3 -0
- package/dist/http/stock-locations/admin/responses.js.map +1 -0
- package/dist/http/stock-locations/index.d.ts +1 -1
- package/dist/http/stock-locations/index.d.ts.map +1 -1
- package/dist/http/stock-locations/index.js +1 -1
- package/dist/http/stock-locations/index.js.map +1 -1
- package/dist/http/store/admin/entities.d.ts +23 -0
- package/dist/http/store/admin/entities.d.ts.map +1 -0
- package/dist/http/store/admin/entities.js +3 -0
- package/dist/http/store/admin/entities.js.map +1 -0
- package/dist/http/store/admin/index.d.ts +5 -0
- package/dist/http/store/admin/index.d.ts.map +1 -0
- package/dist/http/store/admin/index.js +21 -0
- package/dist/http/store/admin/index.js.map +1 -0
- package/dist/http/store/admin/payloads.d.ts +14 -0
- package/dist/http/store/admin/payloads.d.ts.map +1 -0
- package/dist/http/store/admin/payloads.js +3 -0
- package/dist/http/store/admin/payloads.js.map +1 -0
- package/dist/http/store/admin/queries.d.ts +10 -0
- package/dist/http/store/admin/queries.d.ts.map +1 -0
- package/dist/http/store/admin/queries.js +3 -0
- package/dist/http/store/admin/queries.js.map +1 -0
- package/dist/http/store/admin/responses.d.ts +10 -0
- package/dist/http/store/admin/responses.d.ts.map +1 -0
- package/dist/http/store/admin/responses.js +3 -0
- package/dist/http/store/admin/responses.js.map +1 -0
- package/dist/http/store/index.d.ts +2 -0
- package/dist/http/store/index.d.ts.map +1 -0
- package/dist/http/store/index.js +18 -0
- package/dist/http/store/index.js.map +1 -0
- package/dist/http/tax-rate/admin/entities.d.ts +22 -0
- package/dist/http/tax-rate/admin/entities.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/entities.js +3 -0
- package/dist/http/tax-rate/admin/entities.js.map +1 -0
- package/dist/http/tax-rate/admin/index.d.ts +5 -0
- package/dist/http/tax-rate/admin/index.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/index.js +21 -0
- package/dist/http/tax-rate/admin/index.js.map +1 -0
- package/dist/http/tax-rate/admin/payloads.d.ts +25 -0
- package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/payloads.js +3 -0
- package/dist/http/tax-rate/admin/payloads.js.map +1 -0
- package/dist/http/tax-rate/admin/queries.d.ts +16 -0
- package/dist/http/tax-rate/admin/queries.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/queries.js +3 -0
- package/dist/http/tax-rate/admin/queries.js.map +1 -0
- package/dist/http/tax-rate/admin/responses.d.ts +11 -0
- package/dist/http/tax-rate/admin/responses.d.ts.map +1 -0
- package/dist/http/tax-rate/admin/responses.js +3 -0
- package/dist/http/tax-rate/admin/responses.js.map +1 -0
- package/dist/http/tax-rate/index.d.ts +2 -0
- package/dist/http/tax-rate/index.d.ts.map +1 -0
- package/dist/http/tax-rate/index.js +18 -0
- package/dist/http/tax-rate/index.js.map +1 -0
- package/dist/http/tax-region/admin/entities.d.ts +21 -0
- package/dist/http/tax-region/admin/entities.d.ts.map +1 -0
- package/dist/http/tax-region/admin/entities.js +3 -0
- package/dist/http/tax-region/admin/entities.js.map +1 -0
- package/dist/http/tax-region/admin/index.d.ts +5 -0
- package/dist/http/tax-region/admin/index.d.ts.map +1 -0
- package/dist/http/tax-region/admin/index.js +21 -0
- package/dist/http/tax-region/admin/index.js.map +1 -0
- package/dist/http/tax-region/admin/payloads.d.ts +14 -0
- package/dist/http/tax-region/admin/payloads.d.ts.map +1 -0
- package/dist/http/tax-region/admin/payloads.js +3 -0
- package/dist/http/tax-region/admin/payloads.js.map +1 -0
- package/dist/http/tax-region/admin/queries.d.ts +14 -0
- package/dist/http/tax-region/admin/queries.d.ts.map +1 -0
- package/dist/http/tax-region/admin/queries.js +3 -0
- package/dist/http/tax-region/admin/queries.js.map +1 -0
- package/dist/http/tax-region/admin/responses.d.ts +11 -0
- package/dist/http/tax-region/admin/responses.d.ts.map +1 -0
- package/dist/http/tax-region/admin/responses.js +3 -0
- package/dist/http/tax-region/admin/responses.js.map +1 -0
- package/dist/http/tax-region/index.d.ts +2 -0
- package/dist/http/tax-region/index.d.ts.map +1 -0
- package/dist/http/tax-region/index.js +18 -0
- package/dist/http/tax-region/index.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/inventory/common/reservation-item.d.ts +5 -1
- package/dist/inventory/common/reservation-item.d.ts.map +1 -1
- package/dist/inventory/index.d.ts +1 -2
- package/dist/inventory/index.d.ts.map +1 -1
- package/dist/inventory/index.js +1 -15
- package/dist/inventory/index.js.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +0 -4
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +11 -7
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/inventory/service.d.ts +671 -640
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/joiner/index.d.ts +5 -2
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +17 -11
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.js +1 -1
- package/dist/modules-sdk/index.js.map +1 -1
- package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +22 -18
- package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment-label.js → modules-sdk/medusa-internal-service.js} +1 -1
- package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
- package/dist/notification/provider.d.ts +0 -6
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/notification/service.d.ts +15 -15
- package/dist/notification/service.d.ts.map +1 -1
- package/dist/order/common.d.ts +57 -4
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +74 -53
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +44 -30
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +2 -2
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/pricing/common/index.d.ts +0 -2
- package/dist/pricing/common/index.d.ts.map +1 -1
- package/dist/pricing/common/index.js +0 -2
- package/dist/pricing/common/index.js.map +1 -1
- package/dist/pricing/common/money-amount.d.ts +2 -2
- package/dist/pricing/common/money-amount.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +25 -125
- package/dist/pricing/common/price-list.d.ts.map +1 -1
- package/dist/pricing/common/price-rule.d.ts +8 -16
- package/dist/pricing/common/price-rule.d.ts.map +1 -1
- package/dist/pricing/common/price-set.d.ts +6 -55
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +31 -324
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/pricing/workflows.d.ts +5 -5
- package/dist/pricing/workflows.d.ts.map +1 -1
- package/dist/product/common.d.ts +99 -79
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product/service.d.ts +429 -207
- package/dist/product/service.d.ts.map +1 -1
- package/dist/promotion/common/application-method.d.ts +1 -1
- package/dist/promotion/common/application-method.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +4 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +6 -6
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +29 -29
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +4 -3
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/region/service.d.ts +31 -31
- package/dist/region/service.d.ts.map +1 -1
- package/dist/sales-channel/mutations.d.ts +5 -4
- package/dist/sales-channel/mutations.d.ts.map +1 -1
- package/dist/sales-channel/service.d.ts +28 -28
- package/dist/sales-channel/service.d.ts.map +1 -1
- package/dist/shared-context.d.ts +3 -4
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +12 -17
- package/dist/stock-location/common.d.ts.map +1 -1
- package/dist/stock-location/index.d.ts +0 -1
- package/dist/stock-location/index.d.ts.map +1 -1
- package/dist/stock-location/index.js +0 -1
- package/dist/stock-location/index.js.map +1 -1
- package/dist/stock-location/service.d.ts +193 -180
- package/dist/stock-location/service.d.ts.map +1 -1
- package/dist/store/common/store.d.ts +31 -5
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/store/mutations/store.d.ts +14 -40
- package/dist/store/mutations/store.d.ts.map +1 -1
- package/dist/store/service.d.ts +32 -37
- package/dist/store/service.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +7 -6
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/service.d.ts +35 -35
- package/dist/tax/service.d.ts.map +1 -1
- package/dist/user/service.d.ts +22 -22
- package/dist/user/service.d.ts.map +1 -1
- package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
- package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
- package/dist/workflow/order/cancel-fulfillment.d.ts +6 -0
- package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment-item.js → workflow/order/cancel-fulfillment.js} +1 -1
- package/dist/workflow/order/cancel-fulfillment.js.map +1 -0
- package/dist/workflow/order/cancel-order.d.ts +5 -0
- package/dist/workflow/order/cancel-order.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/service-zone.js → workflow/order/cancel-order.js} +1 -1
- package/dist/workflow/order/cancel-order.js.map +1 -0
- package/dist/workflow/order/create-fulfillment.d.ts +2 -2
- package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/create-return-order.d.ts +8 -7
- package/dist/workflow/order/create-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-shipment.d.ts +2 -1
- package/dist/workflow/order/create-shipment.d.ts.map +1 -1
- package/dist/workflow/order/index.d.ts +3 -0
- package/dist/workflow/order/index.d.ts.map +1 -1
- package/dist/workflow/order/index.js +3 -0
- package/dist/workflow/order/index.js.map +1 -1
- package/dist/workflow/order/receive-return.d.ts +17 -0
- package/dist/workflow/order/receive-return.d.ts.map +1 -0
- package/dist/{http/fulfillment/admin/fulfillment.js → workflow/order/receive-return.js} +1 -1
- package/dist/workflow/order/receive-return.js.map +1 -0
- package/dist/workflow/price-list/create-price-list.d.ts +1 -2
- package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
- package/dist/workflow/product-category/index.d.ts +6 -6
- package/dist/workflow/product-category/index.d.ts.map +1 -1
- package/dist/workflow/reservation/create-reservations.d.ts +3 -3
- package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
- package/dist/workflow/reservation/update-reservations.d.ts +3 -3
- package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
- package/dist/workflows/products/mutations.d.ts +2 -2
- package/dist/workflows/products/mutations.d.ts.map +1 -1
- package/dist/workflows-sdk/service.d.ts +2 -2
- package/dist/workflows-sdk/service.d.ts.map +1 -1
- package/package.json +1 -2
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -19
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-address.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-address.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -14
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-item.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -11
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-label.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -9
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-provider.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -15
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment-set.js +0 -3
- package/dist/http/fulfillment/admin/fulfillment-set.js.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +0 -27
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/fulfillment.js.map +0 -1
- package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -14
- package/dist/http/fulfillment/admin/geo-zone.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/geo-zone.js.map +0 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +0 -21
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/service-zone.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -13
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option-rule.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -11
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option-type.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option-type.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +0 -38
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-option.js +0 -3
- package/dist/http/fulfillment/admin/shipping-option.js.map +0 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +0 -19
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +0 -1
- package/dist/http/fulfillment/admin/shipping-profile.js +0 -3
- package/dist/http/fulfillment/admin/shipping-profile.js.map +0 -1
- package/dist/http/inventory/inventory-level.d.ts +0 -20
- package/dist/http/inventory/inventory-level.d.ts.map +0 -1
- package/dist/http/inventory/inventory-level.js +0 -3
- package/dist/http/inventory/inventory-level.js.map +0 -1
- package/dist/http/inventory/inventory.d.ts.map +0 -1
- package/dist/http/inventory/inventory.js.map +0 -1
- package/dist/http/pricing/price.d.ts +0 -8
- package/dist/http/pricing/price.d.ts.map +0 -1
- package/dist/http/pricing/price.js.map +0 -1
- package/dist/http/product/admin.d.ts +0 -99
- package/dist/http/product/admin.d.ts.map +0 -1
- package/dist/http/product/store.d.ts +0 -33
- package/dist/http/product/store.d.ts.map +0 -1
- package/dist/http/product/store.js +0 -3
- package/dist/http/product-category/admin.d.ts +0 -9
- package/dist/http/product-category/admin.d.ts.map +0 -1
- package/dist/http/product-category/admin.js.map +0 -1
- package/dist/http/product-category/store.d.ts +0 -9
- package/dist/http/product-category/store.d.ts.map +0 -1
- package/dist/http/product-category/store.js.map +0 -1
- package/dist/http/sales-channel/admin/sales-channel.d.ts +0 -16
- package/dist/http/sales-channel/admin/sales-channel.d.ts.map +0 -1
- package/dist/http/sales-channel/admin/sales-channel.js +0 -3
- package/dist/http/sales-channel/admin/sales-channel.js.map +0 -1
- package/dist/http/stock-locations/common.d.ts +0 -28
- package/dist/http/stock-locations/common.d.ts.map +0 -1
- package/dist/http/stock-locations/common.js.map +0 -1
- package/dist/http/tax/admin/index.d.ts +0 -3
- package/dist/http/tax/admin/index.d.ts.map +0 -1
- package/dist/http/tax/admin/index.js.map +0 -1
- package/dist/http/tax/admin/tax-rates.d.ts +0 -28
- package/dist/http/tax/admin/tax-rates.d.ts.map +0 -1
- package/dist/http/tax/admin/tax-rates.js +0 -3
- package/dist/http/tax/admin/tax-rates.js.map +0 -1
- package/dist/http/tax/admin/tax-regions.d.ts +0 -28
- package/dist/http/tax/admin/tax-regions.d.ts.map +0 -1
- package/dist/http/tax/admin/tax-regions.js +0 -3
- package/dist/http/tax/admin/tax-regions.js.map +0 -1
- package/dist/http/tax/index.d.ts.map +0 -1
- package/dist/http/tax/index.js.map +0 -1
- package/dist/inventory/bundle.d.ts +0 -3
- package/dist/inventory/bundle.d.ts.map +0 -1
- package/dist/inventory/bundle.js.map +0 -1
- package/dist/inventory/common.d.ts +0 -494
- package/dist/inventory/common.d.ts.map +0 -1
- package/dist/inventory/service-next.d.ts +0 -914
- package/dist/inventory/service-next.d.ts.map +0 -1
- package/dist/inventory/service-next.js +0 -3
- package/dist/inventory/service-next.js.map +0 -1
- package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
- package/dist/modules-sdk/internal-module-service.js +0 -3
- package/dist/modules-sdk/internal-module-service.js.map +0 -1
- package/dist/modules-sdk/module-service.d.ts +0 -1
- package/dist/modules-sdk/module-service.d.ts.map +0 -1
- package/dist/modules-sdk/module-service.js +0 -1
- package/dist/modules-sdk/module-service.js.map +0 -1
- package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
- package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
- package/dist/pricing/common/price-set-rule-type.js +0 -3
- package/dist/pricing/common/price-set-rule-type.js.map +0 -1
- package/dist/pricing/common/rule-type.d.ts +0 -102
- package/dist/pricing/common/rule-type.d.ts.map +0 -1
- package/dist/pricing/common/rule-type.js +0 -3
- package/dist/pricing/common/rule-type.js.map +0 -1
- package/dist/region__legacy/common.d.ts +0 -44
- package/dist/region__legacy/common.d.ts.map +0 -1
- package/dist/region__legacy/common.js +0 -3
- package/dist/region__legacy/index.d.ts +0 -2
- package/dist/region__legacy/index.d.ts.map +0 -1
- package/dist/region__legacy/index.js.map +0 -1
- package/dist/stock-location/service-next.d.ts +0 -279
- package/dist/stock-location/service-next.d.ts.map +0 -1
- package/dist/stock-location/service-next.js +0 -3
- package/dist/stock-location/service-next.js.map +0 -1
- /package/dist/http/{tax → currency}/index.d.ts +0 -0
- /package/dist/http/{tax → currency}/index.js +0 -0
- /package/dist/http/{product-category → file}/admin.js +0 -0
- /package/dist/http/{stock-locations → file}/common.js +0 -0
- /package/dist/http/{product-category → file}/store.js +0 -0
- /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/inventory/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FindParams } from "../../common";
|
2
|
+
import { OperatorMap } from "../../../dal";
|
3
|
+
export interface AdminInventoryItemParams extends FindParams {
|
4
|
+
id?: string | string[];
|
5
|
+
q?: string;
|
6
|
+
sku?: string | string[];
|
7
|
+
origin_country?: string | string[];
|
8
|
+
mid_code?: string | string[];
|
9
|
+
hs_code?: string | string[];
|
10
|
+
material?: string | string[];
|
11
|
+
requires_shipping?: boolean;
|
12
|
+
weight?: number | OperatorMap<number>;
|
13
|
+
length?: number | OperatorMap<number>;
|
14
|
+
height?: number | OperatorMap<number>;
|
15
|
+
width?: number | OperatorMap<number>;
|
16
|
+
location_levels?: Record<"location_id", string | string[]>;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC3D"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
|
+
import { AdminInventoryItem } from "./entities";
|
3
|
+
export interface AdminInventoryItemResponse {
|
4
|
+
inventory_item: AdminInventoryItem;
|
5
|
+
}
|
6
|
+
export type AdminInventoryItemListResponse = PaginatedResponse<{
|
7
|
+
inventory_items: AdminInventoryItem[];
|
8
|
+
}>;
|
9
|
+
export type AdminInventoryItemDeleteResponse = DeleteResponse<"inventory_item">;
|
10
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,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,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -14,6 +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("./
|
18
|
-
__exportStar(require("./inventory-level"), exports);
|
17
|
+
__exportStar(require("./admin"), exports);
|
19
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface InventoryLevel {
|
2
|
+
id: string;
|
3
|
+
inventory_item_id: string;
|
4
|
+
location_id: string;
|
5
|
+
stocked_quantity: number;
|
6
|
+
reserved_quantity: number;
|
7
|
+
available_quantity: number;
|
8
|
+
incoming_quantity: number;
|
9
|
+
metadata?: Record<string, unknown> | null;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,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("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./queries"), exports);
|
20
|
+
__exportStar(require("./responses"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface AdminUpdateInventoryLevel {
|
2
|
+
stocked_quantity?: number;
|
3
|
+
incoming_quantity?: number;
|
4
|
+
}
|
5
|
+
export interface AdminCreateInventoryLevel {
|
6
|
+
location_id: string;
|
7
|
+
stocked_quantity?: number;
|
8
|
+
incoming_quantity?: number;
|
9
|
+
}
|
10
|
+
export interface AdminBatchUpdateInventoryLevelLocation {
|
11
|
+
delete?: string[];
|
12
|
+
update?: never;
|
13
|
+
create?: AdminCreateInventoryLevel[];
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,sCAAsC;IACrD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,MAAM,CAAC,EAAE,KAAK,CAAA;IACd,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;CACrC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { InventoryLevel } from "./entities";
|
3
|
+
export interface AdminInventoryLevelResponse {
|
4
|
+
inventory_level: InventoryLevel;
|
5
|
+
}
|
6
|
+
export type AdminInventoryLevelListResponse = PaginatedResponse<{
|
7
|
+
inventory_levels: InventoryLevel[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,2BAA2B;IAC1C,eAAe,EAAE,cAAc,CAAA;CAChC;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,cAAc,EAAE,CAAA;CACnC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/inventory-level/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/inventory-level/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/inventory-level/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -1,10 +1,24 @@
|
|
1
|
-
import { BaseOrder, BaseOrderAddress, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
|
1
|
+
import { BaseOrder, BaseOrderAddress, BaseOrderFilters, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
|
2
2
|
export interface AdminOrder extends BaseOrder {
|
3
3
|
}
|
4
4
|
export interface AdminOrderLineItem extends BaseOrderLineItem {
|
5
5
|
}
|
6
|
+
export interface AdminOrderFilters extends BaseOrderFilters {
|
7
|
+
}
|
6
8
|
export interface AdminOrderAddress extends BaseOrderAddress {
|
7
9
|
}
|
8
10
|
export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
|
9
11
|
}
|
12
|
+
export interface AdminCreateOrderFulfillment {
|
13
|
+
items: {
|
14
|
+
id: string;
|
15
|
+
quantity: number;
|
16
|
+
}[];
|
17
|
+
location_id?: string;
|
18
|
+
no_notification?: boolean;
|
19
|
+
metadata?: Record<string, any>;
|
20
|
+
}
|
21
|
+
export interface AdminCancelOrderFulfillment {
|
22
|
+
no_notification?: boolean;
|
23
|
+
}
|
10
24
|
//# sourceMappingURL=admin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
|
@@ -147,6 +147,8 @@ export interface BaseOrderLineItem {
|
|
147
147
|
tax_total: number;
|
148
148
|
discount_total: number;
|
149
149
|
discount_tax_total: number;
|
150
|
+
refundable_total: number;
|
151
|
+
refundable_total_per_unit: number;
|
150
152
|
}
|
151
153
|
export interface BaseOrderItemDetail {
|
152
154
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EA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CAAA;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,0BAA0B,EAAE,MAAM,CAAA;IAClC,2BAA2B,EAAE,MAAM,CAAA;CACpC;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,gBAAgB,CAAC;IACxE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC5D"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PriceListStatus, PriceListType } from "../../../pricing";
|
2
|
+
import { AdminPrice } from "../../pricing";
|
3
|
+
export interface AdminPriceListPrice extends AdminPrice {
|
4
|
+
variant_id: string;
|
5
|
+
rules: Record<string, unknown>;
|
6
|
+
}
|
7
|
+
export interface AdminPriceList {
|
8
|
+
id: string;
|
9
|
+
title: string;
|
10
|
+
description: string;
|
11
|
+
rules: Record<string, any>;
|
12
|
+
starts_at: string | null;
|
13
|
+
ends_at: string | null;
|
14
|
+
status: PriceListStatus;
|
15
|
+
type: PriceListType;
|
16
|
+
prices: AdminPriceListPrice[];
|
17
|
+
created_at: string;
|
18
|
+
updated_at: string;
|
19
|
+
deleted_at: string | null;
|
20
|
+
}
|
21
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACrD,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,EAAE,eAAe,CAAA;IACvB,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,mBAAmB,EAAE,CAAA;IAC7B,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/price-list/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,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("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./queries"), exports);
|
20
|
+
__exportStar(require("./responses"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/price-list/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { PriceListStatus, PriceListType } from "../../../pricing";
|
2
|
+
export interface AdminCreatePriceListPrice {
|
3
|
+
currency_code: string;
|
4
|
+
amount: number;
|
5
|
+
variant_id: string;
|
6
|
+
min_quantity?: number | null;
|
7
|
+
max_quantity?: number | null;
|
8
|
+
rules?: Record<string, string>;
|
9
|
+
}
|
10
|
+
export interface AdminCreatePriceList {
|
11
|
+
title: string;
|
12
|
+
description?: string | null;
|
13
|
+
starts_at?: string | null;
|
14
|
+
ends_at?: string | null;
|
15
|
+
status: PriceListStatus;
|
16
|
+
type: PriceListType;
|
17
|
+
rules?: Record<string, string[]>;
|
18
|
+
prices?: AdminCreatePriceListPrice[];
|
19
|
+
}
|
20
|
+
export interface AdminUpdatePriceListPrice {
|
21
|
+
id: string;
|
22
|
+
currency_code?: string;
|
23
|
+
amount?: number;
|
24
|
+
variant_id: string;
|
25
|
+
min_quantity?: number | null;
|
26
|
+
max_quantity?: number | null;
|
27
|
+
rules?: Record<string, string>;
|
28
|
+
}
|
29
|
+
export interface AdminUpdatePriceList {
|
30
|
+
title?: string;
|
31
|
+
description?: string;
|
32
|
+
starts_at?: string | null;
|
33
|
+
ends_at?: string | null;
|
34
|
+
status?: PriceListStatus;
|
35
|
+
type?: PriceListType;
|
36
|
+
rules?: Record<string, string[]>;
|
37
|
+
}
|
38
|
+
export interface AdminBatchPriceListPrice {
|
39
|
+
create?: AdminCreatePriceListPrice[];
|
40
|
+
update?: AdminUpdatePriceListPrice[];
|
41
|
+
delete?: string[];
|
42
|
+
}
|
43
|
+
export interface AdminLinkPriceListProducts {
|
44
|
+
remove?: string[];
|
45
|
+
}
|
46
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEjE,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,MAAM,EAAE,eAAe,CAAA;IACvB,IAAI,EAAE,aAAa,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;IACpC,MAAM,CAAC,EAAE,yBAAyB,EAAE,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/price-list/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { PriceListStatus } from "../../../pricing";
|
3
|
+
import { FindParams, SelectParams } from "../../common";
|
4
|
+
export interface AdminPriceListListParams extends FindParams, BaseFilterable<AdminPriceListListParams> {
|
5
|
+
q?: string;
|
6
|
+
id?: string | string[];
|
7
|
+
starts_at?: OperatorMap<string>;
|
8
|
+
ends_at?: OperatorMap<string>;
|
9
|
+
status?: PriceListStatus[];
|
10
|
+
rules_count?: number[];
|
11
|
+
}
|
12
|
+
export interface AdminPriceListParams extends SelectParams {
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,wBACf,SAAQ,UAAU,EAChB,cAAc,CAAC,wBAAwB,CAAC;IAC1C,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/B,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7B,MAAM,CAAC,EAAE,eAAe,EAAE,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/price-list/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
|
+
import { AdminPriceList } from "./entities";
|
3
|
+
export interface AdminPriceListResponse {
|
4
|
+
price_list: AdminPriceList;
|
5
|
+
}
|
6
|
+
export interface AdminPriceListListResponse extends PaginatedResponse<{
|
7
|
+
price_lists: AdminPriceList[];
|
8
|
+
}> {
|
9
|
+
}
|
10
|
+
export interface AdminPriceListDeleteResponse extends DeleteResponse<"price_list"> {
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,WAAW,0BACf,SAAQ,iBAAiB,CAAC;IACxB,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAC;CAAG;AAEP,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/price-list/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -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,32 @@
|
|
1
|
+
/**
|
2
|
+
* TODO: Not sure how to type this properly, as it's unclear to me what is returned
|
3
|
+
* by our API. As an example we return `price_list: null` but `price_list_id` is missing.
|
4
|
+
*
|
5
|
+
* Type in model that aren't currently in this type:
|
6
|
+
* - price_list_id
|
7
|
+
* - price_list
|
8
|
+
* - price_rules
|
9
|
+
* - rules_count
|
10
|
+
*
|
11
|
+
* Also `raw_amount` is typed as `Record<string, unknown>` but it seems to always return:
|
12
|
+
* ```ts
|
13
|
+
* {
|
14
|
+
* amount: number
|
15
|
+
* precision: number
|
16
|
+
* }
|
17
|
+
* ```
|
18
|
+
*/
|
19
|
+
export interface AdminPrice {
|
20
|
+
id: string;
|
21
|
+
title: string;
|
22
|
+
currency_code: string;
|
23
|
+
amount: number;
|
24
|
+
raw_amount: Record<string, unknown>;
|
25
|
+
min_quantity: number | null;
|
26
|
+
max_quantity: number | null;
|
27
|
+
price_set_id: string;
|
28
|
+
created_at: string;
|
29
|
+
updated_at: string;
|
30
|
+
deleted_at: string | null;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -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"}
|