@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
@@ -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/region/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -1,12 +1,3 @@
|
|
1
|
-
import { BaseRegion, BaseRegionCountry, BaseRegionCountryFilters, BaseRegionFilters } from "./common";
|
2
|
-
export interface AdminRegion extends BaseRegion {
|
3
|
-
}
|
4
|
-
export interface AdminRegionCountry extends BaseRegionCountry {
|
5
|
-
}
|
6
|
-
export interface AdminRegionFilters extends BaseRegionFilters {
|
7
|
-
}
|
8
|
-
export interface AdminRegionCountryFilters extends BaseRegionCountryFilters {
|
9
|
-
}
|
10
1
|
export interface AdminCreateRegion {
|
11
2
|
name: string;
|
12
3
|
currency_code: string;
|
@@ -25,4 +16,4 @@ export interface AdminUpdateRegion {
|
|
25
16
|
payment_providers?: string[];
|
26
17
|
metadata?: Record<string, any>;
|
27
18
|
}
|
28
|
-
//# sourceMappingURL=
|
19
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/region/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { AdminRegion } from "./entities";
|
3
|
+
export interface AdminRegionResponse {
|
4
|
+
region: AdminRegion;
|
5
|
+
}
|
6
|
+
export type AdminRegionListResponse = PaginatedResponse<{
|
7
|
+
regions: AdminRegion[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/region/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/region/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
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("./queries"), exports);
|
19
|
+
__exportStar(require("./responses"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/region/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/region/store/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { StoreRegion } from "./entities";
|
3
|
+
export type StoreRegionResponse = {
|
4
|
+
region: StoreRegion;
|
5
|
+
};
|
6
|
+
export type StoreRegionListResponse = PaginatedResponse<{
|
7
|
+
regions: StoreRegion[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IAAE,OAAO,EAAE,WAAW,EAAE,CAAA;CAAE,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/region/store/responses.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
interface ReservationResponse {
|
1
|
+
export interface ReservationResponse {
|
3
2
|
id: string;
|
4
3
|
line_item_id: string | null;
|
5
4
|
location_id: string;
|
@@ -14,11 +13,4 @@ interface ReservationResponse {
|
|
14
13
|
created_at?: Date | string;
|
15
14
|
updated_at?: Date | string;
|
16
15
|
}
|
17
|
-
|
18
|
-
reservation: ReservationResponse;
|
19
|
-
}
|
20
|
-
export type AdminReservationListResponse = PaginatedResponse<{
|
21
|
-
reservations: ReservationResponse[];
|
22
|
-
}>;
|
23
|
-
export {};
|
24
|
-
//# sourceMappingURL=reservation.d.ts.map
|
16
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./responses"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { ReservationResponse } from "./entities";
|
3
|
+
export interface AdminReservationResponse {
|
4
|
+
reservation: ReservationResponse;
|
5
|
+
}
|
6
|
+
export type AdminReservationListResponse = PaginatedResponse<{
|
7
|
+
reservations: ReservationResponse[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAEhD,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,mBAAmB,CAAA;CACjC;AAED,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D,YAAY,EAAE,mBAAmB,EAAE,CAAA;CACpC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/return/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/return/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/return/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -1,34 +1,3 @@
|
|
1
|
-
import { OperatorMap } from "../../dal";
|
2
|
-
import { FindParams } from "../common";
|
3
|
-
export interface AdminBaseReturnItem {
|
4
|
-
id: string;
|
5
|
-
quantity: number;
|
6
|
-
received_quantity: number;
|
7
|
-
reason_id?: string;
|
8
|
-
note?: string;
|
9
|
-
item_id: string;
|
10
|
-
return_id: string;
|
11
|
-
metadata?: Record<string, unknown>;
|
12
|
-
}
|
13
|
-
export interface AdminReturn {
|
14
|
-
id: string;
|
15
|
-
order_id: string;
|
16
|
-
status?: string;
|
17
|
-
exchange_id?: string;
|
18
|
-
location_id?: string;
|
19
|
-
claim_id?: string;
|
20
|
-
order_version: number;
|
21
|
-
display_id: number;
|
22
|
-
no_notification?: boolean;
|
23
|
-
refund_amount?: number;
|
24
|
-
items: AdminBaseReturnItem[];
|
25
|
-
}
|
26
|
-
export interface AdminReturnResponse {
|
27
|
-
return: AdminReturn;
|
28
|
-
}
|
29
|
-
export interface AdminReturnsResponse {
|
30
|
-
returns: AdminReturn[];
|
31
|
-
}
|
32
1
|
export interface AdminInitiateReturnRequest {
|
33
2
|
order_id: string;
|
34
3
|
location_id?: string;
|
@@ -106,11 +75,4 @@ export interface AdminUpdateDismissItems {
|
|
106
75
|
reason_id?: string;
|
107
76
|
metadata?: Record<string, unknown>;
|
108
77
|
}
|
109
|
-
|
110
|
-
id?: string[] | string | OperatorMap<string | string[]>;
|
111
|
-
order_id?: string[] | string | OperatorMap<string | string[]>;
|
112
|
-
status?: string[] | string | Record<string, unknown> | OperatorMap<Record<string, unknown>>;
|
113
|
-
created_at?: OperatorMap<string>;
|
114
|
-
updated_at?: OperatorMap<string>;
|
115
|
-
}
|
116
|
-
//# sourceMappingURL=admin.d.ts.map
|
78
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/payloads.ts"],"names":[],"mappings":"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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/return/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams } from "../../common";
|
3
|
+
export interface AdminReturnFilters extends FindParams {
|
4
|
+
id?: string[] | string | OperatorMap<string | string[]>;
|
5
|
+
order_id?: string[] | string | OperatorMap<string | string[]>;
|
6
|
+
status?: string[] | string | Record<string, unknown> | OperatorMap<Record<string, unknown>>;
|
7
|
+
created_at?: OperatorMap<string>;
|
8
|
+
updated_at?: OperatorMap<string>;
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IACpD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAC7D,MAAM,CAAC,EACH,MAAM,EAAE,GACR,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IACxC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/return/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { OrderDTO } from "../../../order";
|
2
|
+
import { PaginatedResponse } from "../../common";
|
3
|
+
import { AdminOrderPreview } from "../../order";
|
4
|
+
import { AdminReturn } from "./entities";
|
5
|
+
export interface AdminReturnResponse {
|
6
|
+
return: AdminReturn;
|
7
|
+
}
|
8
|
+
export type AdminReturnsResponse = PaginatedResponse<{
|
9
|
+
returns: AdminReturn[];
|
10
|
+
}>;
|
11
|
+
export interface AdminOrderReturnResponse {
|
12
|
+
order: OrderDTO;
|
13
|
+
return: AdminReturn;
|
14
|
+
}
|
15
|
+
export interface AdminReturnPreviewResponse {
|
16
|
+
order_preview: AdminOrderPreview;
|
17
|
+
return: AdminReturn;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,iBAAiB,CAAA;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/return/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export interface BaseReturnItem {
|
2
|
+
id: string;
|
3
|
+
quantity: number;
|
4
|
+
received_quantity: number;
|
5
|
+
reason_id?: string;
|
6
|
+
note?: string;
|
7
|
+
item_id: string;
|
8
|
+
return_id: string;
|
9
|
+
metadata?: Record<string, unknown>;
|
10
|
+
}
|
11
|
+
export interface BaseReturn {
|
12
|
+
id: string;
|
13
|
+
order_id: string;
|
14
|
+
status?: string;
|
15
|
+
exchange_id?: string;
|
16
|
+
location_id?: string;
|
17
|
+
claim_id?: string;
|
18
|
+
order_version: number;
|
19
|
+
display_id: number;
|
20
|
+
no_notification?: boolean;
|
21
|
+
refund_amount?: number;
|
22
|
+
items: BaseReturnItem[];
|
23
|
+
received_at: string;
|
24
|
+
created_at: string;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/return/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/return/common.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/return/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/return/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
@@ -15,4 +15,5 @@ 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("./store"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/return/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/return/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/return/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/return/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/return/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/return/store/responses.ts"],"names":[],"mappings":""}
|