@medusajs/types 1.12.0-snapshot-20240812125058 → 1.12.0-snapshot-20240815071705
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http/claim/admin/responses.d.ts +17 -0
- package/dist/http/claim/admin/responses.d.ts.map +1 -1
- package/dist/http/currency/admin/entities.d.ts +2 -12
- package/dist/http/currency/admin/entities.d.ts.map +1 -1
- package/dist/http/currency/common.d.ts +14 -0
- package/dist/http/currency/common.d.ts.map +1 -0
- package/dist/http/{customer/store.js → currency/common.js} +1 -1
- package/dist/http/currency/common.js.map +1 -0
- package/dist/http/currency/index.d.ts +2 -0
- package/dist/http/currency/index.d.ts.map +1 -1
- package/dist/http/currency/index.js +2 -0
- package/dist/http/currency/index.js.map +1 -1
- package/dist/http/currency/store/entities.d.ts +4 -0
- package/dist/http/currency/store/entities.d.ts.map +1 -0
- package/dist/http/currency/store/entities.js +3 -0
- package/dist/http/currency/store/entities.js.map +1 -0
- package/dist/http/currency/store/index.d.ts +3 -0
- package/dist/http/currency/store/index.d.ts.map +1 -0
- package/dist/http/currency/store/index.js +19 -0
- package/dist/http/currency/store/index.js.map +1 -0
- package/dist/http/currency/store/responses.d.ts +10 -0
- package/dist/http/currency/store/responses.d.ts.map +1 -0
- package/dist/http/currency/store/responses.js +3 -0
- package/dist/http/currency/store/responses.js.map +1 -0
- package/dist/http/customer/admin/entities.d.ts +10 -0
- package/dist/http/customer/admin/entities.d.ts.map +1 -0
- package/dist/http/customer/admin/entities.js +3 -0
- package/dist/http/customer/admin/entities.js.map +1 -0
- package/dist/http/customer/admin/index.d.ts +5 -0
- package/dist/http/customer/admin/index.d.ts.map +1 -0
- package/dist/http/customer/admin/index.js +21 -0
- package/dist/http/customer/admin/index.js.map +1 -0
- package/dist/http/customer/admin/payloads.d.ts +10 -0
- package/dist/http/customer/admin/payloads.d.ts.map +1 -0
- package/dist/http/customer/admin/payloads.js +3 -0
- package/dist/http/customer/admin/payloads.js.map +1 -0
- package/dist/http/customer/admin/queries.d.ts +7 -0
- package/dist/http/customer/admin/queries.d.ts.map +1 -0
- package/dist/http/customer/admin/queries.js +3 -0
- package/dist/http/customer/admin/queries.js.map +1 -0
- package/dist/http/customer/admin/responses.d.ts +21 -0
- package/dist/http/customer/admin/responses.d.ts.map +1 -0
- package/dist/http/customer/admin/responses.js +3 -0
- package/dist/http/customer/admin/responses.js.map +1 -0
- package/dist/http/customer/store/entities.d.ts +6 -0
- package/dist/http/customer/store/entities.d.ts.map +1 -0
- package/dist/http/customer/store/entities.js +3 -0
- package/dist/http/customer/store/entities.js.map +1 -0
- package/dist/http/customer/store/index.d.ts +5 -0
- package/dist/http/customer/store/index.d.ts.map +1 -0
- package/dist/http/customer/store/index.js +21 -0
- package/dist/http/customer/store/index.js.map +1 -0
- package/dist/http/customer/store/payloads.d.ts +10 -0
- package/dist/http/customer/store/payloads.d.ts.map +1 -0
- package/dist/http/customer/store/payloads.js +3 -0
- package/dist/http/customer/store/payloads.js.map +1 -0
- package/dist/http/customer/store/queries.d.ts +6 -0
- package/dist/http/customer/store/queries.d.ts.map +1 -0
- package/dist/http/customer/store/queries.js +3 -0
- package/dist/http/customer/store/queries.js.map +1 -0
- package/dist/http/customer/store/responses.d.ts +13 -0
- package/dist/http/customer/store/responses.d.ts.map +1 -0
- package/dist/http/customer/store/responses.js +3 -0
- package/dist/http/customer/store/responses.js.map +1 -0
- package/dist/http/exchange/admin/entities.d.ts +4 -0
- package/dist/http/exchange/admin/entities.d.ts.map +1 -0
- package/dist/http/exchange/admin/entities.js +3 -0
- package/dist/http/exchange/admin/entities.js.map +1 -0
- package/dist/http/exchange/admin/index.d.ts +3 -0
- package/dist/http/exchange/admin/index.d.ts.map +1 -0
- package/dist/http/exchange/admin/index.js +19 -0
- package/dist/http/exchange/admin/index.js.map +1 -0
- package/dist/http/exchange/admin/responses.d.ts +26 -0
- package/dist/http/exchange/admin/responses.d.ts.map +1 -0
- package/dist/http/exchange/admin/responses.js +3 -0
- package/dist/http/exchange/admin/responses.js.map +1 -0
- package/dist/http/exchange/common.d.ts +22 -0
- package/dist/http/exchange/common.d.ts.map +1 -0
- package/dist/http/{file/admin.js → exchange/common.js} +1 -1
- package/dist/http/exchange/common.js.map +1 -0
- package/dist/http/exchange/index.d.ts +2 -0
- package/dist/http/exchange/index.d.ts.map +1 -0
- package/dist/http/exchange/index.js +18 -0
- package/dist/http/exchange/index.js.map +1 -0
- package/dist/http/file/admin/entities.d.ts +4 -0
- package/dist/http/file/admin/entities.d.ts.map +1 -0
- package/dist/http/file/admin/entities.js +3 -0
- package/dist/http/file/admin/entities.js.map +1 -0
- package/dist/http/file/admin/index.d.ts +4 -0
- package/dist/http/file/admin/index.d.ts.map +1 -0
- package/dist/http/file/admin/index.js +20 -0
- package/dist/http/file/admin/index.js.map +1 -0
- package/dist/http/file/admin/payloads.d.ts +3 -0
- package/dist/http/file/admin/payloads.d.ts.map +1 -0
- package/dist/http/file/admin/payloads.js +3 -0
- package/dist/http/file/admin/payloads.js.map +1 -0
- package/dist/http/file/admin/responses.d.ts +8 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -0
- package/dist/http/file/admin/responses.js +3 -0
- package/dist/http/file/admin/responses.js.map +1 -0
- package/dist/http/fulfillment-provider/admin/entities.d.ts +2 -3
- package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/common.d.ts +5 -0
- package/dist/http/fulfillment-provider/common.d.ts.map +1 -0
- package/dist/http/{customer/admin.js → fulfillment-provider/common.js} +1 -1
- package/dist/http/fulfillment-provider/common.js.map +1 -0
- package/dist/http/index.d.ts +2 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +2 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/invite/admin/entities.d.ts +11 -0
- package/dist/http/invite/admin/entities.d.ts.map +1 -0
- package/dist/http/invite/admin/entities.js +3 -0
- package/dist/http/invite/admin/entities.js.map +1 -0
- package/dist/http/invite/admin/index.d.ts +4 -0
- package/dist/http/invite/admin/index.d.ts.map +1 -0
- package/dist/http/invite/admin/index.js +20 -0
- package/dist/http/invite/admin/index.js.map +1 -0
- package/dist/http/invite/admin/payloads.d.ts +9 -0
- package/dist/http/invite/admin/payloads.d.ts.map +1 -0
- package/dist/http/invite/admin/payloads.js +3 -0
- package/dist/http/invite/admin/payloads.js.map +1 -0
- package/dist/http/invite/admin/responses.d.ts +15 -0
- package/dist/http/invite/admin/responses.d.ts.map +1 -0
- package/dist/http/invite/admin/responses.js +3 -0
- package/dist/http/invite/admin/responses.js.map +1 -0
- package/dist/http/order/admin/entities.d.ts +22 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -0
- package/dist/http/order/admin/entities.js +3 -0
- package/dist/http/order/admin/entities.js.map +1 -0
- package/dist/http/order/admin/index.d.ts +5 -0
- package/dist/http/order/admin/index.d.ts.map +1 -0
- package/dist/http/order/admin/index.js +21 -0
- package/dist/http/order/admin/index.js.map +1 -0
- package/dist/http/order/admin/payload.d.ts +26 -0
- package/dist/http/order/admin/payload.d.ts.map +1 -0
- package/dist/http/order/admin/payload.js +3 -0
- package/dist/http/order/admin/payload.js.map +1 -0
- package/dist/http/order/admin/queries.d.ts +4 -0
- package/dist/http/order/admin/queries.d.ts.map +1 -0
- package/dist/http/order/admin/queries.js +3 -0
- package/dist/http/order/admin/queries.js.map +1 -0
- package/dist/http/order/admin/responses.d.ts +18 -0
- package/dist/http/order/admin/responses.d.ts.map +1 -0
- package/dist/http/order/admin/responses.js +3 -0
- package/dist/http/order/admin/responses.js.map +1 -0
- package/dist/http/order/{store.d.ts → store/entities.d.ts} +2 -4
- package/dist/http/order/store/entities.d.ts.map +1 -0
- package/dist/http/order/store/entities.js +3 -0
- package/dist/http/order/store/entities.js.map +1 -0
- package/dist/http/order/store/index.d.ts +4 -0
- package/dist/http/order/store/index.d.ts.map +1 -0
- package/dist/http/order/store/index.js +20 -0
- package/dist/http/order/store/index.js.map +1 -0
- package/dist/http/order/store/queries.d.ts +4 -0
- package/dist/http/order/store/queries.d.ts.map +1 -0
- package/dist/http/order/store/queries.js +3 -0
- package/dist/http/order/store/queries.js.map +1 -0
- package/dist/http/order/store/responses.d.ts +9 -0
- package/dist/http/order/store/responses.d.ts.map +1 -0
- package/dist/http/order/store/responses.js +3 -0
- package/dist/http/order/store/responses.js.map +1 -0
- package/dist/http/payment/admin/entities.d.ts +15 -0
- package/dist/http/payment/admin/entities.d.ts.map +1 -0
- package/dist/http/payment/admin/entities.js +3 -0
- package/dist/http/payment/admin/entities.js.map +1 -0
- package/dist/http/payment/admin/index.d.ts +5 -0
- package/dist/http/payment/admin/index.d.ts.map +1 -0
- package/dist/http/payment/admin/index.js +21 -0
- package/dist/http/payment/admin/index.js.map +1 -0
- package/dist/http/payment/admin/payloads.d.ts +13 -0
- package/dist/http/payment/admin/payloads.d.ts.map +1 -0
- package/dist/http/payment/admin/payloads.js +3 -0
- package/dist/http/payment/admin/payloads.js.map +1 -0
- package/dist/http/payment/admin/queries.d.ts +19 -0
- package/dist/http/payment/admin/queries.d.ts.map +1 -0
- package/dist/http/payment/admin/queries.js +3 -0
- package/dist/http/payment/admin/queries.js.map +1 -0
- package/dist/http/payment/admin/responses.d.ts +24 -0
- package/dist/http/payment/admin/responses.d.ts.map +1 -0
- package/dist/http/payment/admin/responses.js +3 -0
- package/dist/http/payment/admin/responses.js.map +1 -0
- package/dist/http/payment/common.d.ts +5 -1
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store/entities.d.ts +8 -0
- package/dist/http/payment/store/entities.d.ts.map +1 -0
- package/dist/http/payment/store/entities.js +3 -0
- package/dist/http/payment/store/entities.js.map +1 -0
- package/dist/http/payment/store/index.d.ts +4 -0
- package/dist/http/payment/store/index.d.ts.map +1 -0
- package/dist/http/payment/store/index.js +20 -0
- package/dist/http/payment/store/index.js.map +1 -0
- package/dist/http/payment/store/queries.d.ts +8 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -0
- package/dist/http/payment/store/queries.js +3 -0
- package/dist/http/payment/store/queries.js.map +1 -0
- package/dist/http/payment/store/responses.d.ts +9 -0
- package/dist/http/payment/store/responses.d.ts.map +1 -0
- package/dist/http/payment/store/responses.js +3 -0
- package/dist/http/payment/store/responses.js.map +1 -0
- package/dist/http/price-list/admin/responses.d.ts +10 -0
- package/dist/http/price-list/admin/responses.d.ts.map +1 -1
- package/dist/http/product/admin/entitites.d.ts +8 -0
- package/dist/http/product/admin/entitites.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +13 -1
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/promotion/admin/entities.d.ts +12 -0
- package/dist/http/promotion/admin/entities.d.ts.map +1 -0
- package/dist/http/promotion/admin/entities.js +3 -0
- package/dist/http/promotion/admin/entities.js.map +1 -0
- package/dist/http/promotion/admin/index.d.ts +2 -4
- package/dist/http/promotion/admin/index.d.ts.map +1 -1
- package/dist/http/promotion/admin/index.js +2 -4
- package/dist/http/promotion/admin/index.js.map +1 -1
- package/dist/http/promotion/admin/responses.d.ts +41 -0
- package/dist/http/promotion/admin/responses.d.ts.map +1 -0
- package/dist/http/promotion/admin/responses.js +3 -0
- package/dist/http/promotion/admin/responses.js.map +1 -0
- package/dist/http/promotion/common.d.ts +51 -6
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/admin/entities.d.ts +6 -0
- package/dist/http/region/admin/entities.d.ts.map +1 -0
- package/dist/http/region/admin/entities.js +3 -0
- package/dist/http/region/admin/entities.js.map +1 -0
- package/dist/http/region/admin/index.d.ts +5 -0
- package/dist/http/region/admin/index.d.ts.map +1 -0
- package/dist/http/region/admin/index.js +21 -0
- package/dist/http/region/admin/index.js.map +1 -0
- package/dist/http/region/{admin.d.ts → admin/payloads.d.ts} +1 -10
- package/dist/http/region/admin/payloads.d.ts.map +1 -0
- package/dist/http/region/admin/payloads.js +3 -0
- package/dist/http/region/admin/payloads.js.map +1 -0
- package/dist/http/region/admin/queries.d.ts +6 -0
- package/dist/http/region/admin/queries.d.ts.map +1 -0
- package/dist/http/region/admin/queries.js +3 -0
- package/dist/http/region/admin/queries.js.map +1 -0
- package/dist/http/region/admin/responses.d.ts +9 -0
- package/dist/http/region/admin/responses.d.ts.map +1 -0
- package/dist/http/region/admin/responses.js +3 -0
- package/dist/http/region/admin/responses.js.map +1 -0
- package/dist/http/region/store/entities.d.ts +6 -0
- package/dist/http/region/store/entities.d.ts.map +1 -0
- package/dist/http/region/store/entities.js +3 -0
- package/dist/http/region/store/entities.js.map +1 -0
- package/dist/http/region/store/index.d.ts +4 -0
- package/dist/http/region/store/index.d.ts.map +1 -0
- package/dist/http/region/store/index.js +20 -0
- package/dist/http/region/store/index.js.map +1 -0
- package/dist/http/region/store/queries.d.ts +6 -0
- package/dist/http/region/store/queries.d.ts.map +1 -0
- package/dist/http/region/store/queries.js +3 -0
- package/dist/http/region/store/queries.js.map +1 -0
- package/dist/http/region/store/responses.d.ts +9 -0
- package/dist/http/region/store/responses.d.ts.map +1 -0
- package/dist/http/region/store/responses.js +3 -0
- package/dist/http/region/store/responses.js.map +1 -0
- package/dist/http/reservation/admin/{reservation.d.ts → entities.d.ts} +2 -10
- package/dist/http/reservation/admin/entities.d.ts.map +1 -0
- package/dist/http/reservation/admin/entities.js +3 -0
- package/dist/http/reservation/admin/entities.js.map +1 -0
- package/dist/http/reservation/admin/index.d.ts +2 -1
- package/dist/http/reservation/admin/index.d.ts.map +1 -1
- package/dist/http/reservation/admin/index.js +2 -1
- package/dist/http/reservation/admin/index.js.map +1 -1
- package/dist/http/reservation/admin/responses.d.ts +9 -0
- package/dist/http/reservation/admin/responses.d.ts.map +1 -0
- package/dist/http/reservation/admin/responses.js +3 -0
- package/dist/http/reservation/admin/responses.js.map +1 -0
- package/dist/http/return/admin/entities.d.ts +6 -0
- package/dist/http/return/admin/entities.d.ts.map +1 -0
- package/dist/http/return/admin/entities.js +3 -0
- package/dist/http/return/admin/entities.js.map +1 -0
- package/dist/http/return/admin/index.d.ts +5 -0
- package/dist/http/return/admin/index.d.ts.map +1 -0
- package/dist/http/return/admin/index.js +21 -0
- package/dist/http/return/admin/index.js.map +1 -0
- package/dist/http/return/{admin.d.ts → admin/payloads.d.ts} +1 -39
- package/dist/http/return/admin/payloads.d.ts.map +1 -0
- package/dist/http/return/admin/payloads.js +3 -0
- package/dist/http/return/admin/payloads.js.map +1 -0
- package/dist/http/return/admin/queries.d.ts +10 -0
- package/dist/http/return/admin/queries.d.ts.map +1 -0
- package/dist/http/return/admin/queries.js +3 -0
- package/dist/http/return/admin/queries.js.map +1 -0
- package/dist/http/return/admin/responses.d.ts +19 -0
- package/dist/http/return/admin/responses.d.ts.map +1 -0
- package/dist/http/return/admin/responses.js +3 -0
- package/dist/http/return/admin/responses.js.map +1 -0
- package/dist/http/return/common.d.ts +26 -0
- package/dist/http/return/common.d.ts.map +1 -0
- package/dist/http/{invite/admin.js → return/common.js} +1 -1
- package/dist/http/return/common.js.map +1 -0
- package/dist/http/return/index.d.ts +1 -0
- package/dist/http/return/index.d.ts.map +1 -1
- package/dist/http/return/index.js +1 -0
- package/dist/http/return/index.js.map +1 -1
- package/dist/http/return/store/entities.d.ts +4 -0
- package/dist/http/return/store/entities.d.ts.map +1 -0
- package/dist/http/return/store/entities.js +3 -0
- package/dist/http/return/store/entities.js.map +1 -0
- package/dist/http/return/store/index.d.ts +3 -0
- package/dist/http/return/store/index.d.ts.map +1 -0
- package/dist/http/return/store/index.js +19 -0
- package/dist/http/return/store/index.js.map +1 -0
- package/dist/http/return/store/responses.d.ts +5 -0
- package/dist/http/return/store/responses.d.ts.map +1 -0
- package/dist/http/return/store/responses.js +3 -0
- package/dist/http/return/store/responses.js.map +1 -0
- package/dist/http/return-reason/index.d.ts +1 -0
- package/dist/http/return-reason/index.d.ts.map +1 -1
- package/dist/http/return-reason/index.js +1 -0
- package/dist/http/return-reason/index.js.map +1 -1
- package/dist/http/return-reason/store/entities.d.ts +4 -0
- package/dist/http/return-reason/store/entities.d.ts.map +1 -0
- package/dist/http/return-reason/store/entities.js +3 -0
- package/dist/http/return-reason/store/entities.js.map +1 -0
- package/dist/http/return-reason/store/index.d.ts +3 -0
- package/dist/http/return-reason/store/index.d.ts.map +1 -0
- package/dist/http/return-reason/store/index.js +19 -0
- package/dist/http/return-reason/store/index.js.map +1 -0
- package/dist/http/return-reason/store/responses.d.ts +9 -0
- package/dist/http/return-reason/store/responses.d.ts.map +1 -0
- package/dist/http/return-reason/store/responses.js +3 -0
- package/dist/http/return-reason/store/responses.js.map +1 -0
- package/dist/http/sales-channel/admin/responses.d.ts +1 -1
- package/dist/http/shipping-option/admin/responses.d.ts +2 -9
- package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/index.d.ts +1 -0
- package/dist/http/shipping-option/index.d.ts.map +1 -1
- package/dist/http/shipping-option/index.js +1 -0
- package/dist/http/shipping-option/index.js.map +1 -1
- package/dist/http/shipping-option/store/entities.d.ts +28 -0
- package/dist/http/shipping-option/store/entities.d.ts.map +1 -0
- package/dist/http/shipping-option/store/entities.js +3 -0
- package/dist/http/shipping-option/store/entities.js.map +1 -0
- package/dist/http/shipping-option/store/index.d.ts +3 -0
- package/dist/http/shipping-option/store/index.d.ts.map +1 -0
- package/dist/http/shipping-option/store/index.js +19 -0
- package/dist/http/shipping-option/store/index.js.map +1 -0
- package/dist/http/shipping-option/store/responses.d.ts +5 -0
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -0
- package/dist/http/shipping-option/store/responses.js +3 -0
- package/dist/http/shipping-option/store/responses.js.map +1 -0
- package/dist/http/workflow-execution/admin/entities.d.ts +12 -0
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -0
- package/dist/http/workflow-execution/admin/entities.js +3 -0
- package/dist/http/workflow-execution/admin/entities.js.map +1 -0
- package/dist/http/workflow-execution/admin/index.d.ts +3 -0
- package/dist/http/workflow-execution/admin/index.d.ts.map +1 -0
- package/dist/http/workflow-execution/admin/index.js +19 -0
- package/dist/http/workflow-execution/admin/index.js.map +1 -0
- package/dist/http/workflow-execution/admin/responses.d.ts +9 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -0
- package/dist/http/workflow-execution/admin/responses.js +3 -0
- package/dist/http/workflow-execution/admin/responses.js.map +1 -0
- package/dist/http/workflow-execution/index.d.ts +2 -0
- package/dist/http/workflow-execution/index.d.ts.map +1 -0
- package/dist/http/workflow-execution/index.js +18 -0
- package/dist/http/workflow-execution/index.js.map +1 -0
- package/dist/order/common.d.ts +9 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +10 -15
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +2 -2
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +24 -0
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/workflow/order/begin-order-edit.d.ts +8 -0
- package/dist/workflow/order/begin-order-edit.d.ts.map +1 -0
- package/dist/workflow/order/begin-order-edit.js +3 -0
- package/dist/workflow/order/begin-order-edit.js.map +1 -0
- 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/items.d.ts +10 -2
- package/dist/workflow/order/items.d.ts.map +1 -1
- package/dist/workflow/order/shipping-method.d.ts +13 -0
- package/dist/workflow/order/shipping-method.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/customer/admin.d.ts +0 -23
- package/dist/http/customer/admin.d.ts.map +0 -1
- package/dist/http/customer/admin.js.map +0 -1
- package/dist/http/customer/store.d.ts +0 -18
- package/dist/http/customer/store.d.ts.map +0 -1
- package/dist/http/customer/store.js.map +0 -1
- package/dist/http/file/admin.d.ts +0 -5
- package/dist/http/file/admin.d.ts.map +0 -1
- package/dist/http/file/admin.js.map +0 -1
- package/dist/http/invite/admin.d.ts +0 -19
- package/dist/http/invite/admin.d.ts.map +0 -1
- package/dist/http/invite/admin.js.map +0 -1
- package/dist/http/order/admin.d.ts +0 -58
- package/dist/http/order/admin.d.ts.map +0 -1
- package/dist/http/order/admin.js +0 -3
- package/dist/http/order/admin.js.map +0 -1
- package/dist/http/order/store.d.ts.map +0 -1
- package/dist/http/order/store.js +0 -3
- package/dist/http/order/store.js.map +0 -1
- package/dist/http/payment/admin.d.ts +0 -61
- package/dist/http/payment/admin.d.ts.map +0 -1
- package/dist/http/payment/admin.js +0 -3
- package/dist/http/payment/admin.js.map +0 -1
- package/dist/http/payment/store.d.ts +0 -14
- package/dist/http/payment/store.d.ts.map +0 -1
- package/dist/http/payment/store.js +0 -3
- package/dist/http/payment/store.js.map +0 -1
- package/dist/http/promotion/admin/promotion-rule.d.ts +0 -17
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +0 -1
- package/dist/http/promotion/admin/promotion-rule.js +0 -3
- package/dist/http/promotion/admin/promotion-rule.js.map +0 -1
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -17
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +0 -1
- package/dist/http/promotion/admin/rule-attribute-options.js +0 -3
- package/dist/http/promotion/admin/rule-attribute-options.js.map +0 -1
- package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -9
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +0 -1
- package/dist/http/promotion/admin/rule-operator-options.js +0 -3
- package/dist/http/promotion/admin/rule-operator-options.js.map +0 -1
- package/dist/http/promotion/admin/rule-value-options.d.ts +0 -15
- package/dist/http/promotion/admin/rule-value-options.d.ts.map +0 -1
- package/dist/http/promotion/admin/rule-value-options.js +0 -3
- package/dist/http/promotion/admin/rule-value-options.js.map +0 -1
- package/dist/http/region/admin.d.ts.map +0 -1
- package/dist/http/region/admin.js +0 -3
- package/dist/http/region/admin.js.map +0 -1
- package/dist/http/region/store.d.ts +0 -10
- package/dist/http/region/store.d.ts.map +0 -1
- package/dist/http/region/store.js +0 -3
- package/dist/http/region/store.js.map +0 -1
- package/dist/http/reservation/admin/reservation.d.ts.map +0 -1
- package/dist/http/reservation/admin/reservation.js +0 -3
- package/dist/http/reservation/admin/reservation.js.map +0 -1
- package/dist/http/return/admin.d.ts.map +0 -1
- package/dist/http/return/admin.js +0 -3
- package/dist/http/return/admin.js.map +0 -1
@@ -1,4 +1,6 @@
|
|
1
|
+
import { OrderDTO } from "../../../order";
|
1
2
|
import { DeleteResponse, PaginatedResponse } from "../../common";
|
3
|
+
import { AdminReturn } from "../../return";
|
2
4
|
import { AdminClaim } from "./entities";
|
3
5
|
export interface AdminClaimResponse {
|
4
6
|
claim: AdminClaim;
|
@@ -7,6 +9,21 @@ export interface AdminClaimListResponse extends PaginatedResponse<{
|
|
7
9
|
claims: AdminClaim[];
|
8
10
|
}> {
|
9
11
|
}
|
12
|
+
export interface AdminClaimOrderResponse {
|
13
|
+
order: OrderDTO;
|
14
|
+
claim: AdminClaim;
|
15
|
+
}
|
16
|
+
export interface AdminClaimPreviewResponse {
|
17
|
+
order_preview: OrderDTO;
|
18
|
+
claim: AdminClaim;
|
19
|
+
}
|
20
|
+
export interface AdminClaimReturnPreviewResponse {
|
21
|
+
order_preview: OrderDTO;
|
22
|
+
return: AdminReturn;
|
23
|
+
}
|
24
|
+
export interface AdminClaimRequestResponse extends AdminClaimPreviewResponse {
|
25
|
+
return: AdminReturn;
|
26
|
+
}
|
10
27
|
export interface AdminClaimDeleteResponse extends DeleteResponse<"claim"> {
|
11
28
|
}
|
12
29
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,sBACf,SAAQ,iBAAiB,CAAC;IACxB,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC;CAAG;AAEP,MAAM,WAAW,wBAAyB,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/claim/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,sBACf,SAAQ,iBAAiB,CAAC;IACxB,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC;CAAG;AAEP,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,QAAQ,CAAA;IACf,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,QAAQ,CAAA;IACvB,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,aAAa,EAAE,QAAQ,CAAA;IACvB,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,yBAA0B,SAAQ,yBAAyB;IAC1E,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,wBAAyB,SAAQ,cAAc,CAAC,OAAO,CAAC;CAAG"}
|
@@ -1,14 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
export interface AdminCurrency {
|
3
|
-
code: string;
|
4
|
-
symbol: string;
|
5
|
-
symbol_native: string;
|
6
|
-
name: string;
|
7
|
-
decimal_digits: number;
|
8
|
-
raw_rounding: RawRounding;
|
9
|
-
rounding: number;
|
10
|
-
created_at: string;
|
11
|
-
updated_at: string;
|
12
|
-
deleted_at: string | null;
|
1
|
+
import { BaseCurrency } from "../common";
|
2
|
+
export interface AdminCurrency extends BaseCurrency {
|
13
3
|
}
|
14
4
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { RawRounding } from "../../common";
|
2
|
+
export interface BaseCurrency {
|
3
|
+
code: string;
|
4
|
+
symbol: string;
|
5
|
+
symbol_native: string;
|
6
|
+
name: string;
|
7
|
+
decimal_digits: number;
|
8
|
+
rounding: number;
|
9
|
+
raw_rounding: RawRounding;
|
10
|
+
created_at: string;
|
11
|
+
updated_at: string;
|
12
|
+
deleted_at: string | null;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,WAAW,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/currency/common.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./admin"), exports);
|
18
|
+
__exportStar(require("./common"), exports);
|
19
|
+
__exportStar(require("./store"), exports);
|
18
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/currency/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,2CAAwB;AACxB,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/currency/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
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("./responses"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/currency/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { StoreCurrency } from "./entities";
|
3
|
+
export interface StoreCurrencyResponse {
|
4
|
+
currency: StoreCurrency;
|
5
|
+
}
|
6
|
+
export interface StoreCurrencyListResponse extends PaginatedResponse<{
|
7
|
+
currencies: StoreCurrency[];
|
8
|
+
}> {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/currency/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,yBACf,SAAQ,iBAAiB,CAAC;IAAE,UAAU,EAAE,aAAa,EAAE,CAAA;CAAE,CAAC;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/currency/store/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BaseCustomer, BaseCustomerAddress, BaseCustomerGroup } from "../common";
|
2
|
+
export interface AdminCustomerGroup extends BaseCustomerGroup {
|
3
|
+
}
|
4
|
+
export interface AdminCustomer extends BaseCustomer {
|
5
|
+
has_account: boolean;
|
6
|
+
groups?: AdminCustomerGroup[];
|
7
|
+
}
|
8
|
+
export interface AdminCustomerAddress extends BaseCustomerAddress {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/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/customer/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BaseCreateCustomer, BaseCreateCustomerAddress, BaseUpdateCustomer, BaseUpdateCustomerAddress } from "../common";
|
2
|
+
export interface AdminCreateCustomer extends BaseCreateCustomer {
|
3
|
+
}
|
4
|
+
export interface AdminUpdateCustomer extends BaseUpdateCustomer {
|
5
|
+
}
|
6
|
+
export interface AdminCreateCustomerAddress extends BaseCreateCustomerAddress {
|
7
|
+
}
|
8
|
+
export interface AdminUpdateCustomerAddress extends BaseUpdateCustomerAddress {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { BaseCustomerAddressFilters, BaseCustomerFilters, CustomerGroupInCustomerFilters } from "../common";
|
2
|
+
export interface AdminCustomerFilters extends BaseCustomerFilters {
|
3
|
+
groups: CustomerGroupInCustomerFilters | string[] | string;
|
4
|
+
}
|
5
|
+
export interface AdminCustomerAddressFilters extends BaseCustomerAddressFilters {
|
6
|
+
}
|
7
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,MAAM,EAAE,8BAA8B,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;CAC3D;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { AdminCustomer, AdminCustomerAddress, AdminCustomerGroup } from "./entities";
|
3
|
+
export interface AdminCustomerResponse {
|
4
|
+
customer: AdminCustomer;
|
5
|
+
}
|
6
|
+
export type AdminCustomerListResponse = PaginatedResponse<{
|
7
|
+
customers: AdminCustomer;
|
8
|
+
}>;
|
9
|
+
export interface AdminCustomerGroupResponse {
|
10
|
+
customer_group: AdminCustomerGroup;
|
11
|
+
}
|
12
|
+
export type AdminCustomerGroupListResponse = PaginatedResponse<{
|
13
|
+
customer_groups: AdminCustomerGroup[];
|
14
|
+
}>;
|
15
|
+
export interface AdminCustomerAddressResponse {
|
16
|
+
address: AdminCustomerAddress;
|
17
|
+
}
|
18
|
+
export type AdminCustomerAddressListResponse = PaginatedResponse<{
|
19
|
+
addresses: AdminCustomerAddress[];
|
20
|
+
}>;
|
21
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErF,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAAC,CAAA;AAEvF,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/customer/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,mBAAmB,EACpB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG;AACtD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/customer/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/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/customer/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BaseCreateCustomer, BaseCreateCustomerAddress, BaseUpdateCustomer, BaseUpdateCustomerAddress } from "../common";
|
2
|
+
export interface StoreCreateCustomer extends BaseCreateCustomer {
|
3
|
+
}
|
4
|
+
export interface StoreUpdateCustomer extends BaseUpdateCustomer {
|
5
|
+
}
|
6
|
+
export interface StoreCreateCustomerAddress extends BaseCreateCustomerAddress {
|
7
|
+
}
|
8
|
+
export interface StoreUpdateCustomerAddress extends BaseUpdateCustomerAddress {
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/customer/store/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { BaseCustomerAddressFilters, BaseCustomerFilters } from "../common";
|
2
|
+
export interface StoreCustomerFilters extends BaseCustomerFilters {
|
3
|
+
}
|
4
|
+
export interface StoreCustomerAddressFilters extends BaseCustomerAddressFilters {
|
5
|
+
}
|
6
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACpB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/customer/store/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { StoreCustomer, StoreCustomerAddress } from "./entities";
|
3
|
+
export interface StoreCustomerResponse {
|
4
|
+
customer: StoreCustomer;
|
5
|
+
}
|
6
|
+
export interface StoreCustomerAddressResponse {
|
7
|
+
address: StoreCustomerAddress;
|
8
|
+
}
|
9
|
+
export interface StoreCustomerAddressListResponse extends PaginatedResponse<{
|
10
|
+
addresses: StoreCustomerAddress[];
|
11
|
+
}> {
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IAAE,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAAE,CAAC;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
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("./responses"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { OrderDTO } from "../../../order";
|
2
|
+
import { PaginatedResponse } from "../../common";
|
3
|
+
import { AdminReturn } from "../../return";
|
4
|
+
import { AdminExchange } from "./entities";
|
5
|
+
export interface AdminExchangeResponse {
|
6
|
+
exchange: AdminExchange;
|
7
|
+
}
|
8
|
+
export type AdminExchangeListResponse = PaginatedResponse<{
|
9
|
+
exchanges: AdminExchange;
|
10
|
+
}>;
|
11
|
+
export interface AdminExchangeOrderResponse {
|
12
|
+
order: OrderDTO;
|
13
|
+
exchange: AdminExchange;
|
14
|
+
}
|
15
|
+
export interface AdminExchangePreviewResponse {
|
16
|
+
order_preview: OrderDTO;
|
17
|
+
exchange: AdminExchange;
|
18
|
+
}
|
19
|
+
export interface AdminExchangeRequestResponse extends AdminExchangePreviewResponse {
|
20
|
+
return: AdminReturn;
|
21
|
+
}
|
22
|
+
export interface AdminExchangeReturnResponse {
|
23
|
+
order_preview: OrderDTO;
|
24
|
+
return: AdminReturn;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,QAAQ,CAAA;IACf,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,QAAQ,CAAA;IACvB,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA6B,SAAQ,4BAA4B;IAChF,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,QAAQ,CAAA;IACvB,MAAM,EAAE,WAAW,CAAA;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { BaseOrder } from "../order/common";
|
2
|
+
import { AdminReturnItem, AdminReturn } from "../return";
|
3
|
+
export interface BaseExchangeItem {
|
4
|
+
id: string;
|
5
|
+
exchange_id: string;
|
6
|
+
order_id: string;
|
7
|
+
item_id: string;
|
8
|
+
quantity: number;
|
9
|
+
metadata?: Record<string, unknown>;
|
10
|
+
created_at: string | null;
|
11
|
+
updated_at: string | null;
|
12
|
+
}
|
13
|
+
export interface BaseExchange extends Omit<BaseOrder, "status" | "version" | "items"> {
|
14
|
+
order_id: string;
|
15
|
+
return_items: AdminReturnItem[];
|
16
|
+
additional_items: BaseExchangeItem[];
|
17
|
+
no_notification?: boolean;
|
18
|
+
difference_due?: number;
|
19
|
+
return?: AdminReturn;
|
20
|
+
return_id?: string;
|
21
|
+
}
|
22
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/exchange/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnF,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,eAAe,EAAE,CAAA;IAC/B,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;IACpC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/exchange/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/exchange/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|