@medusajs/types 1.12.0-snapshot-20240607093839 → 1.12.0-snapshot-20240703074611
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 +7 -56
- 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 +7 -7
- 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
package/dist/user/service.d.ts
CHANGED
@@ -47,9 +47,9 @@ export interface IUserModuleService extends IModuleService {
|
|
47
47
|
* @returns {Promise<UserDTO>} The retrieved user.
|
48
48
|
*
|
49
49
|
* @example
|
50
|
-
* const user = await userModuleService.
|
50
|
+
* const user = await userModuleService.retrieveUser("user_123")
|
51
51
|
*/
|
52
|
-
|
52
|
+
retrieveUser(id: string, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<UserDTO>;
|
53
53
|
/**
|
54
54
|
* This method retrieves a paginated list of users based on optional filters and configuration.
|
55
55
|
*
|
@@ -63,7 +63,7 @@ export interface IUserModuleService extends IModuleService {
|
|
63
63
|
* To retrieve a list of users using their IDs:
|
64
64
|
*
|
65
65
|
* ```ts
|
66
|
-
* const users = await userModuleService.
|
66
|
+
* const users = await userModuleService.listUsers({
|
67
67
|
* id: ["user_123", "user_321"]
|
68
68
|
* })
|
69
69
|
* ```
|
@@ -71,7 +71,7 @@ export interface IUserModuleService extends IModuleService {
|
|
71
71
|
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
72
72
|
*
|
73
73
|
* ```ts
|
74
|
-
* const users = await userModuleService.
|
74
|
+
* const users = await userModuleService.listUsers(
|
75
75
|
* {
|
76
76
|
* id: ["user_123", "user_321"]
|
77
77
|
* },
|
@@ -82,7 +82,7 @@ export interface IUserModuleService extends IModuleService {
|
|
82
82
|
* )
|
83
83
|
* ```
|
84
84
|
*/
|
85
|
-
|
85
|
+
listUsers(filters?: FilterableUserProps, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<UserDTO[]>;
|
86
86
|
/**
|
87
87
|
* This method retrieves a paginated list of users along with the total count of available users satisfying the provided filters.
|
88
88
|
*
|
@@ -96,7 +96,7 @@ export interface IUserModuleService extends IModuleService {
|
|
96
96
|
* To retrieve a list of users using their IDs:
|
97
97
|
*
|
98
98
|
* ```ts
|
99
|
-
* const [users, count] = await userModuleService.
|
99
|
+
* const [users, count] = await userModuleService.listAndCountUsers({
|
100
100
|
* id: ["user_123", "user_321"]
|
101
101
|
* })
|
102
102
|
* ```
|
@@ -104,7 +104,7 @@ export interface IUserModuleService extends IModuleService {
|
|
104
104
|
* By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
|
105
105
|
*
|
106
106
|
* ```ts
|
107
|
-
* const [users, count] = await userModuleService.
|
107
|
+
* const [users, count] = await userModuleService.listAndCountUsers(
|
108
108
|
* {
|
109
109
|
* id: ["user_123", "user_321"]
|
110
110
|
* },
|
@@ -115,7 +115,7 @@ export interface IUserModuleService extends IModuleService {
|
|
115
115
|
* )
|
116
116
|
* ```
|
117
117
|
*/
|
118
|
-
|
118
|
+
listAndCountUsers(filters?: FilterableUserProps, config?: FindConfig<UserDTO>, sharedContext?: Context): Promise<[UserDTO[], number]>;
|
119
119
|
/**
|
120
120
|
* This method creates users.
|
121
121
|
*
|
@@ -124,7 +124,7 @@ export interface IUserModuleService extends IModuleService {
|
|
124
124
|
* @returns {Promise<UserDTO[]>} The created users.
|
125
125
|
*
|
126
126
|
* @example
|
127
|
-
* const users = await userModuleService.
|
127
|
+
* const users = await userModuleService.createUsers([
|
128
128
|
* {
|
129
129
|
* email: "john@doe.com"
|
130
130
|
* },
|
@@ -133,7 +133,7 @@ export interface IUserModuleService extends IModuleService {
|
|
133
133
|
* }
|
134
134
|
* ])
|
135
135
|
*/
|
136
|
-
|
136
|
+
createUsers(data: CreateUserDTO[], sharedContext?: Context): Promise<UserDTO[]>;
|
137
137
|
/**
|
138
138
|
* This method creates a user.
|
139
139
|
*
|
@@ -142,11 +142,11 @@ export interface IUserModuleService extends IModuleService {
|
|
142
142
|
* @returns {Promise<UserDTO>} The created user.
|
143
143
|
*
|
144
144
|
* @example
|
145
|
-
* const user = await userModuleService.
|
145
|
+
* const user = await userModuleService.createUsers({
|
146
146
|
* email: "john@doe.com"
|
147
147
|
* })
|
148
148
|
*/
|
149
|
-
|
149
|
+
createUsers(data: CreateUserDTO, sharedContext?: Context): Promise<UserDTO>;
|
150
150
|
/**
|
151
151
|
* This method updates existing users.
|
152
152
|
*
|
@@ -155,7 +155,7 @@ export interface IUserModuleService extends IModuleService {
|
|
155
155
|
* @returns {Promise<UserDTO[]>} The updated users.
|
156
156
|
*
|
157
157
|
* @example
|
158
|
-
* const users = await userModuleService.
|
158
|
+
* const users = await userModuleService.updateUsers([
|
159
159
|
* {
|
160
160
|
* id: "user_123",
|
161
161
|
* first_name: "John"
|
@@ -166,7 +166,7 @@ export interface IUserModuleService extends IModuleService {
|
|
166
166
|
* }
|
167
167
|
* ])
|
168
168
|
*/
|
169
|
-
|
169
|
+
updateUsers(data: UpdateUserDTO[], sharedContext?: Context): Promise<UserDTO[]>;
|
170
170
|
/**
|
171
171
|
* This method updates an existing user.
|
172
172
|
*
|
@@ -175,12 +175,12 @@ export interface IUserModuleService extends IModuleService {
|
|
175
175
|
* @returns {Promise<UserDTO>} The updated user.
|
176
176
|
*
|
177
177
|
* @example
|
178
|
-
* const user = await userModuleService.
|
178
|
+
* const user = await userModuleService.updateUsers({
|
179
179
|
* id: "user_123",
|
180
180
|
* first_name: "John"
|
181
181
|
* })
|
182
182
|
*/
|
183
|
-
|
183
|
+
updateUsers(data: UpdateUserDTO, sharedContext?: Context): Promise<UserDTO>;
|
184
184
|
/**
|
185
185
|
* This method deletes users by their IDs.
|
186
186
|
*
|
@@ -189,11 +189,11 @@ export interface IUserModuleService extends IModuleService {
|
|
189
189
|
* @returns {Promise<void>} Resolves when the users are deleted successfully.
|
190
190
|
*
|
191
191
|
* @example
|
192
|
-
* await userModuleService.
|
192
|
+
* await userModuleService.deleteUsers([
|
193
193
|
* "user_123", "user_321"
|
194
194
|
* ])
|
195
195
|
*/
|
196
|
-
|
196
|
+
deleteUsers(ids: string[], sharedContext?: Context): Promise<void>;
|
197
197
|
/**
|
198
198
|
* This method soft deletes a user by its IDs.
|
199
199
|
*
|
@@ -204,11 +204,11 @@ export interface IUserModuleService extends IModuleService {
|
|
204
204
|
* If there are no related records, the promise resolves to `void`.
|
205
205
|
*
|
206
206
|
* @example
|
207
|
-
* await userModuleService.
|
207
|
+
* await userModuleService.softDeleteUsers([
|
208
208
|
* "user_123", "user_321"
|
209
209
|
* ])
|
210
210
|
*/
|
211
|
-
|
211
|
+
softDeleteUsers<TReturnableLinkableKeys extends string = string>(userIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
212
212
|
/**
|
213
213
|
* This method restores soft deleted users by their IDs.
|
214
214
|
*
|
@@ -221,11 +221,11 @@ export interface IUserModuleService extends IModuleService {
|
|
221
221
|
* If there are no related records restored, the promise resolves to `void`.
|
222
222
|
*
|
223
223
|
* @example
|
224
|
-
* await userModuleService.
|
224
|
+
* await userModuleService.restoreUsers([
|
225
225
|
* "user_123", "user_321"
|
226
226
|
* ])
|
227
227
|
*/
|
228
|
-
|
228
|
+
restoreUsers<TReturnableLinkableKeys extends string = string>(userIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
|
229
229
|
/**
|
230
230
|
* This method retrieves an invite by its ID.
|
231
231
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/user/service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,EACd,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,KAAK,EAAE,MAAM,EACb,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,CAAC,CAAA;IAErB;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,SAAS,EAAE,MAAM,EAAE,EACnB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAEvB;;;;;;;;;;;OAWG;IACH,
|
1
|
+
{"version":3,"file":"service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IAAI,EAAE,eAAe,EACrB,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,SAAS,CAAC,CAAA;IAErB;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEpE;;;;;;;;;;;;;;OAcG;IACH,iBAAiB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC/D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE5D;;;;;;;;;;;;;;;OAeG;IACH,cAAc,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC5D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC7D"}
|
@@ -8,7 +8,7 @@ export interface CreateServiceZonesWorkflowInput {
|
|
8
8
|
data: CreateServiceZone[];
|
9
9
|
}
|
10
10
|
interface UpdateServiceZone {
|
11
|
-
name?: string;
|
11
|
+
name?: string | null;
|
12
12
|
geo_zones?: (Omit<CreateCountryGeoZoneDTO, "service_zone_id"> | Omit<CreateProvinceGeoZoneDTO, "service_zone_id"> | Omit<CreateCityGeoZoneDTO, "service_zone_id"> | Omit<CreateZipGeoZoneDTO, "service_zone_id"> | {
|
13
13
|
id: string;
|
14
14
|
})[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-zones.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/service-zones.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAA;AAE1B,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,CACR,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAChD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GACjD,IAAI,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,GAC7C,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAC/C,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,iBAAiB,EAAE,CAAA;CAC1B;AAED,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"service-zones.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/service-zones.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAA;AAE1B,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,CACR,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAChD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GACjD,IAAI,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,GAC7C,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAC/C,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,iBAAiB,EAAE,CAAA;CAC1B;AAED,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,CACR,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAChD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GACjD,IAAI,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,GAC7C,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAC5C;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CACjB,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,0BAA0B,CAAA;IACpC,MAAM,EAAE,iBAAiB,CAAA;CAC1B"}
|
@@ -8,8 +8,8 @@ export interface CreateOrderFulfillmentWorkflowInput {
|
|
8
8
|
created_by?: string;
|
9
9
|
items: CreateOrderFulfillmentItem[];
|
10
10
|
no_notification?: boolean;
|
11
|
-
location_id?: string;
|
12
|
-
metadata?: Record<string, any
|
11
|
+
location_id?: string | null;
|
12
|
+
metadata?: Record<string, any> | null;
|
13
13
|
}
|
14
14
|
export {};
|
15
15
|
//# sourceMappingURL=create-fulfillment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-fulfillment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,0BAA0B;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,0BAA0B,EAAE,CAAA;IACnC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"create-fulfillment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,0BAA0B;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,0BAA0B,EAAE,CAAA;IACnC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC"}
|
@@ -1,26 +1,27 @@
|
|
1
1
|
import { BigNumberInput } from "../../totals";
|
2
|
-
interface
|
2
|
+
interface CreateReturnItem {
|
3
3
|
id: string;
|
4
4
|
quantity: BigNumberInput;
|
5
|
-
internal_note?: string;
|
6
|
-
reason_id?: string;
|
5
|
+
internal_note?: string | null;
|
6
|
+
reason_id?: string | null;
|
7
|
+
note?: string | null;
|
7
8
|
metadata?: Record<string, any>;
|
8
9
|
}
|
9
10
|
export interface CreateOrderReturnWorkflowInput {
|
10
11
|
order_id: string;
|
11
|
-
created_by?: string;
|
12
|
-
items:
|
12
|
+
created_by?: string | null;
|
13
|
+
items: CreateReturnItem[];
|
13
14
|
return_shipping: {
|
14
15
|
option_id: string;
|
15
16
|
price?: number;
|
16
17
|
};
|
17
|
-
note?: string;
|
18
|
+
note?: string | null;
|
18
19
|
receive_now?: boolean;
|
19
20
|
refund_amount?: number;
|
20
21
|
/**
|
21
22
|
* Default fallback to the shipping option location id
|
22
23
|
*/
|
23
|
-
location_id?: string;
|
24
|
+
location_id?: string | null;
|
24
25
|
}
|
25
26
|
export {};
|
26
27
|
//# sourceMappingURL=create-return-order.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-return-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,
|
1
|
+
{"version":3,"file":"create-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-return-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,gBAAgB,EAAE,CAAA;IACzB,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { MetadataType } from "../../common";
|
1
2
|
import { BigNumberInput } from "../../totals";
|
2
3
|
import { CreateFulfillmentLabelWorkflowDTO } from "../fulfillment";
|
3
4
|
interface CreateOrderShipmentItem {
|
@@ -11,7 +12,7 @@ export interface CreateOrderShipmentWorkflowInput {
|
|
11
12
|
items: CreateOrderShipmentItem[];
|
12
13
|
labels: CreateFulfillmentLabelWorkflowDTO[];
|
13
14
|
no_notification?: boolean;
|
14
|
-
metadata?:
|
15
|
+
metadata?: MetadataType;
|
15
16
|
}
|
16
17
|
export {};
|
17
18
|
//# sourceMappingURL=create-shipment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-shipment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-shipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAA;AAElE,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,uBAAuB,EAAE,CAAA;IAChC,MAAM,EAAE,iCAAiC,EAAE,CAAA;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"create-shipment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-shipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAA;AAElE,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,uBAAuB,EAAE,CAAA;IAChC,MAAM,EAAE,iCAAiC,EAAE,CAAA;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA"}
|
@@ -19,4 +19,5 @@ __exportStar(require("./cancel-order"), exports);
|
|
19
19
|
__exportStar(require("./create-fulfillment"), exports);
|
20
20
|
__exportStar(require("./create-return-order"), exports);
|
21
21
|
__exportStar(require("./create-shipment"), exports);
|
22
|
+
__exportStar(require("./receive-return"), exports);
|
22
23
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,iDAA8B;AAC9B,uDAAoC;AACpC,wDAAqC;AACrC,oDAAiC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,iDAA8B;AAC9B,uDAAoC;AACpC,wDAAqC;AACrC,oDAAiC;AACjC,mDAAgC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { BigNumberInput } from "../../totals";
|
2
|
+
interface ReceiveReturnItem {
|
3
|
+
id: string;
|
4
|
+
quantity: BigNumberInput;
|
5
|
+
internal_note?: string | null;
|
6
|
+
reason_id?: string | null;
|
7
|
+
note?: string | null;
|
8
|
+
metadata?: Record<string, any>;
|
9
|
+
}
|
10
|
+
export interface ReceiveOrderReturnWorkflowInput {
|
11
|
+
return_id: string;
|
12
|
+
created_by?: string | null;
|
13
|
+
items: ReceiveReturnItem[];
|
14
|
+
internal_note?: string | null;
|
15
|
+
}
|
16
|
+
export {};
|
17
|
+
//# sourceMappingURL=receive-return.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"receive-return.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/receive-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,iBAAiB,EAAE,CAAA;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"receive-return.js","sourceRoot":"","sources":["../../../src/workflow/order/receive-return.ts"],"names":[],"mappings":""}
|
@@ -3,7 +3,6 @@ export interface CreatePriceListDTO {
|
|
3
3
|
starts_at?: string;
|
4
4
|
ends_at?: string;
|
5
5
|
status?: PriceListStatus;
|
6
|
-
rules_count?: number;
|
7
6
|
rules?: PriceListRuleDTO[];
|
8
7
|
prices?: {
|
9
8
|
amount: number;
|
@@ -17,7 +16,7 @@ export interface CreatePriceListDTO {
|
|
17
16
|
}[];
|
18
17
|
}
|
19
18
|
export interface CreatePriceListRuleDTO {
|
20
|
-
|
19
|
+
attribute: string;
|
21
20
|
value: string[];
|
22
21
|
}
|
23
22
|
export interface CreatePriceListPriceDTO {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-price-list.d.ts","sourceRoot":"","sources":["../../../src/workflow/price-list/create-price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EAChB,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,
|
1
|
+
{"version":3,"file":"create-price-list.d.ts","sourceRoot":"","sources":["../../../src/workflow/price-list/create-price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EAChB,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC1B,MAAM,CAAC,EAAE;QACP,MAAM,EAAE,MAAM,CAAA;QACd,aAAa,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,EAAE,CAAA;IACH,eAAe,CAAC,EAAE;QAChB,EAAE,EAAE,MAAM,CAAA;KACX,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,sBAAsB;IACrC,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A;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { LinkWorkflowInput } from "../../common";
|
2
|
-
import { CreateProductCategoryDTO, UpdateProductCategoryDTO } from "../../product";
|
3
|
-
export interface
|
4
|
-
|
2
|
+
import { CreateProductCategoryDTO, FilterableProductCategoryProps, UpdateProductCategoryDTO } from "../../product";
|
3
|
+
export interface CreateProductCategoriesWorkflowInput {
|
4
|
+
product_categories: CreateProductCategoryDTO[];
|
5
5
|
}
|
6
|
-
export interface
|
7
|
-
|
8
|
-
|
6
|
+
export interface UpdateProductCategoriesWorkflowInput {
|
7
|
+
selector: FilterableProductCategoryProps;
|
8
|
+
update: UpdateProductCategoryDTO;
|
9
9
|
}
|
10
10
|
export interface BatchUpdateProductsOnCategoryWorkflowInput extends LinkWorkflowInput {
|
11
11
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/product-category/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/product-category/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACzB,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,oCAAoC;IACnD,kBAAkB,EAAE,wBAAwB,EAAE,CAAA;CAC/C;AACD,MAAM,WAAW,oCAAoC;IACnD,QAAQ,EAAE,8BAA8B,CAAA;IACxC,MAAM,EAAE,wBAAwB,CAAA;CACjC;AAED,MAAM,WAAW,0CACf,SAAQ,iBAAiB;CAAG"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { CreateReservationItemInput, ReservationItemDTO } from "../../inventory";
|
2
2
|
export interface CreateReservationsWorkflowInput {
|
3
|
-
reservations:
|
3
|
+
reservations: CreateReservationItemInput[];
|
4
4
|
}
|
5
|
-
export type CreateReservationsWorkflowOutput =
|
5
|
+
export type CreateReservationsWorkflowOutput = ReservationItemDTO[];
|
6
6
|
//# sourceMappingURL=create-reservations.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/create-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"create-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/create-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEhF,MAAM,WAAW,+BAA+B;IAC9C,YAAY,EAAE,0BAA0B,EAAE,CAAA;CAC3C;AAED,MAAM,MAAM,gCAAgC,GAAG,kBAAkB,EAAE,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { ReservationItemDTO, UpdateReservationItemInput } from "../../inventory";
|
2
2
|
export interface UpdateReservationsWorkflowInput {
|
3
|
-
updates:
|
3
|
+
updates: UpdateReservationItemInput[];
|
4
4
|
}
|
5
|
-
export type UpdateReservationsWorkflowOutput =
|
5
|
+
export type UpdateReservationsWorkflowOutput = ReservationItemDTO[];
|
6
6
|
//# sourceMappingURL=update-reservations.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/update-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"update-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/update-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAEhF,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,0BAA0B,EAAE,CAAA;CACtC;AAED,MAAM,MAAM,gCAAgC,GAAG,kBAAkB,EAAE,CAAA"}
|
@@ -2,9 +2,9 @@ import { PricingTypes, ProductTypes } from "../../bundles";
|
|
2
2
|
export type CreateProductVariantWorkflowInputDTO = ProductTypes.CreateProductVariantDTO & {
|
3
3
|
prices?: PricingTypes.CreateMoneyAmountDTO[];
|
4
4
|
};
|
5
|
-
export type UpdateProductVariantWorkflowInputDTO =
|
5
|
+
export type UpdateProductVariantWorkflowInputDTO = ProductTypes.UpsertProductVariantDTO & {
|
6
6
|
prices?: PricingTypes.CreateMoneyAmountDTO[];
|
7
|
-
}
|
7
|
+
};
|
8
8
|
export type CreateProductWorkflowInputDTO = Omit<ProductTypes.CreateProductDTO, "variants"> & {
|
9
9
|
sales_channels?: {
|
10
10
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/workflows/products/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE1D,MAAM,MAAM,oCAAoC,GAC9C,YAAY,CAAC,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,YAAY,CAAC,oBAAoB,EAAE,CAAA;CAC7C,CAAA;AAEH,MAAM,MAAM,oCAAoC,GAC9C,
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/workflows/products/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE1D,MAAM,MAAM,oCAAoC,GAC9C,YAAY,CAAC,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,YAAY,CAAC,oBAAoB,EAAE,CAAA;CAC7C,CAAA;AAEH,MAAM,MAAM,oCAAoC,GAC9C,YAAY,CAAC,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,YAAY,CAAC,oBAAoB,EAAE,CAAA;CAC7C,CAAA;AAEH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,YAAY,CAAC,gBAAgB,EAC7B,UAAU,CACX,GAAG;IACF,cAAc,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,oCAAoC,EAAE,CAAA;CAClD,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,YAAY,CAAC,gBAAgB,GAAG;IAC1E,cAAc,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAClC,CAAA"}
|
@@ -24,8 +24,8 @@ export interface IWorkflowEngineService extends IModuleService {
|
|
24
24
|
workflow_id: string;
|
25
25
|
transaction_id: string;
|
26
26
|
}, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<WorkflowExecutionDTO>;
|
27
|
-
|
28
|
-
|
27
|
+
listWorkflowExecutions(filters?: FilterableWorkflowExecutionProps, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<WorkflowExecutionDTO[]>;
|
28
|
+
listAndCountWorkflowExecutions(filters?: FilterableWorkflowExecutionProps, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<[WorkflowExecutionDTO[], number]>;
|
29
29
|
run(workflowId: string, options?: WorkflowOrchestratorRunDTO, sharedContext?: Context): Promise<{
|
30
30
|
errors: Error[];
|
31
31
|
transaction: object;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAA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tB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,WAAW,CACT,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAA;KAClC,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/types",
|
3
|
-
"version": "1.12.0-snapshot-
|
3
|
+
"version": "1.12.0-snapshot-20240703074611",
|
4
4
|
"description": "Medusa Types definition",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -26,7 +26,6 @@
|
|
26
26
|
"cross-env": "^5.2.1",
|
27
27
|
"ioredis": "^5.2.5",
|
28
28
|
"rimraf": "^5.0.1",
|
29
|
-
"typeorm": "^0.3.16",
|
30
29
|
"typescript": "^5.1.6",
|
31
30
|
"vite": "^5.2.11",
|
32
31
|
"winston": "^3.8.2"
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { AdminInventoryItemResponse } from "./inventory";
|
2
|
-
import { PaginatedResponse } from "../common";
|
3
|
-
interface InventoryLevelResponse {
|
4
|
-
id: string;
|
5
|
-
inventory_item_id: string;
|
6
|
-
location_id: string;
|
7
|
-
stocked_quantity: number;
|
8
|
-
reserved_quantity: number;
|
9
|
-
available_quantity: number;
|
10
|
-
incoming_quantity: number;
|
11
|
-
metadata?: Record<string, unknown> | null;
|
12
|
-
}
|
13
|
-
export interface AdminInventoryLevelResponse {
|
14
|
-
inventory_item: AdminInventoryItemResponse;
|
15
|
-
}
|
16
|
-
export type AdminInventoryLevelListResponse = PaginatedResponse<{
|
17
|
-
inventory_levels: InventoryLevelResponse[];
|
18
|
-
}>;
|
19
|
-
export {};
|
20
|
-
//# sourceMappingURL=inventory-level.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,sBAAsB;IAC9B,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;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,0BAA0B,CAAA;CAC3C;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;CAC3C,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.js","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"inventory.js","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entitites.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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"entitites.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entitites.ts"],"names":[],"mappings":""}
|