@medusajs/types 1.12.0-snapshot-20240812125058 → 1.12.0-snapshot-20240821132459
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/common/auth-identity.d.ts +1 -0
- package/dist/auth/common/auth-identity.d.ts.map +1 -1
- package/dist/auth/service.d.ts +39 -2
- package/dist/auth/service.d.ts.map +1 -1
- 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 +5 -0
- package/dist/http/exchange/admin/index.d.ts.map +1 -0
- package/dist/http/exchange/admin/index.js +21 -0
- package/dist/http/exchange/admin/index.js.map +1 -0
- package/dist/http/exchange/admin/payloads.d.ts +68 -0
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -0
- package/dist/http/exchange/admin/payloads.js +10 -0
- package/dist/http/exchange/admin/payloads.js.map +1 -0
- package/dist/http/exchange/admin/queries.d.ts +14 -0
- package/dist/http/exchange/admin/queries.d.ts.map +1 -0
- package/dist/http/exchange/admin/queries.js +3 -0
- package/dist/http/exchange/admin/queries.js.map +1 -0
- package/dist/http/exchange/admin/responses.d.ts +28 -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 +33 -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 +3 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +3 -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 +25 -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/order-edit/admin/index.d.ts +2 -0
- package/dist/http/order-edit/admin/index.d.ts.map +1 -0
- package/dist/http/order-edit/admin/index.js +18 -0
- package/dist/http/order-edit/admin/index.js.map +1 -0
- package/dist/http/order-edit/admin/responses.d.ts +8 -0
- package/dist/http/order-edit/admin/responses.d.ts.map +1 -0
- package/dist/http/order-edit/admin/responses.js +3 -0
- package/dist/http/order-edit/admin/responses.js.map +1 -0
- package/dist/http/order-edit/common.d.ts +10 -0
- package/dist/http/order-edit/common.d.ts.map +1 -0
- package/dist/http/{invite/admin.js → order-edit/common.js} +1 -1
- package/dist/http/order-edit/common.js.map +1 -0
- package/dist/http/order-edit/index.d.ts +3 -0
- package/dist/http/order-edit/index.d.ts.map +1 -0
- package/dist/http/order-edit/index.js +19 -0
- package/dist/http/order-edit/index.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 +20 -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 +32 -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/return/common.js +3 -0
- 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/payment/service.d.ts +27 -0
- package/dist/payment/service.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 +18 -4
- 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/dist/workflows-sdk/service.d.ts +1 -0
- package/dist/workflows-sdk/service.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,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/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { BasePaymentCollectionFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
|
2
|
+
export interface StorePaymentProviderFilters extends BasePaymentProviderFilters {
|
3
|
+
}
|
4
|
+
export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
|
5
|
+
}
|
6
|
+
export interface StorePaymentSessionFilters extends BasePaymentSessionFilters {
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AACvC,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { StorePaymentCollection, StorePaymentProvider } from "./entities";
|
3
|
+
export interface StorePaymentCollectionResponse {
|
4
|
+
payment_collection: StorePaymentCollection;
|
5
|
+
}
|
6
|
+
export type StorePaymentProviderListResponse = PaginatedResponse<{
|
7
|
+
payment_providers: StorePaymentProvider[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE1E,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/payment/store/responses.ts"],"names":[],"mappings":""}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
|
+
import { AdminPrice } from "../../pricing";
|
2
3
|
import { AdminPriceList } from "./entities";
|
3
4
|
export interface AdminPriceListResponse {
|
4
5
|
price_list: AdminPriceList;
|
@@ -9,4 +10,13 @@ export interface AdminPriceListListResponse extends PaginatedResponse<{
|
|
9
10
|
}
|
10
11
|
export interface AdminPriceListDeleteResponse extends DeleteResponse<"price_list"> {
|
11
12
|
}
|
13
|
+
export interface AdminPriceListBatchResponse {
|
14
|
+
created: AdminPrice[];
|
15
|
+
updated: AdminPrice[];
|
16
|
+
deleted: {
|
17
|
+
ids: string[];
|
18
|
+
object: "price";
|
19
|
+
deleted: boolean;
|
20
|
+
};
|
21
|
+
}
|
12
22
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,WAAW,0BACf,SAAQ,iBAAiB,CAAC;IACxB,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAC;CAAG;AAEP,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/price-list/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,WAAW,0BACf,SAAQ,iBAAiB,CAAC;IACxB,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAC;CAAG;AAEP,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAG;AAEzC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF"}
|
@@ -23,4 +23,12 @@ export interface AdminProduct extends Omit<BaseProduct, "categories" | "variants
|
|
23
23
|
tags?: AdminProductTag[] | null;
|
24
24
|
}
|
25
25
|
export type AdminProductStatus = ProductStatus;
|
26
|
+
export interface AdminProductVariantInventoryLink {
|
27
|
+
productService: {
|
28
|
+
variant_id: string;
|
29
|
+
};
|
30
|
+
inventoryService: {
|
31
|
+
inventory_item_id: string;
|
32
|
+
};
|
33
|
+
}
|
26
34
|
//# sourceMappingURL=entitites.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;CAC5B;AACD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACpD,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAA;IAC1C,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAA;IACvC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,eAAe,EAAE,GAAG,IAAI,CAAA;CAChC;AACD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;CAC5B;AACD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACpD,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAA;IAC1C,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAA;IACvC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,eAAe,EAAE,GAAG,IAAI,CAAA;CAChC;AACD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA;AAC9C,MAAM,WAAW,gCAAgC;IAC/C,cAAc,EAAE;QACd,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,gBAAgB,EAAE;QAChB,iBAAiB,EAAE,MAAM,CAAA;KAC1B,CAAA;CACF"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { BatchMethodResponse } from "../../../common";
|
2
2
|
import { DeleteResponse, PaginatedResponse } from "../../common";
|
3
|
-
import { AdminProduct, AdminProductOption, AdminProductVariant } from "./entitites";
|
3
|
+
import { AdminProduct, AdminProductOption, AdminProductVariant, AdminProductVariantInventoryLink } from "./entitites";
|
4
4
|
import { AdminInventoryItem } from "../../inventory";
|
5
5
|
export interface AdminProductResponse {
|
6
6
|
product: AdminProduct;
|
@@ -42,4 +42,16 @@ export type AdminProductOptionListResponse = PaginatedResponse<{
|
|
42
42
|
}>;
|
43
43
|
export interface AdminProductOptionDeleteResponse extends DeleteResponse<"product_option", AdminProduct> {
|
44
44
|
}
|
45
|
+
export type AdminProductVariantInventoryResponse = AdminProductVariantInventoryLink | AdminProductVariantInventoryLink[];
|
46
|
+
export interface AdminProductVariantInventoryBatchResponse {
|
47
|
+
created: AdminProductVariantInventoryResponse;
|
48
|
+
updated: AdminProductVariantInventoryResponse;
|
49
|
+
deleted: AdminProductVariantInventoryResponse;
|
50
|
+
}
|
51
|
+
export interface AdminProductVariantInventoryLinkDeleteResponse {
|
52
|
+
id: AdminProductVariantInventoryLink;
|
53
|
+
object: "variant-inventory-item-link";
|
54
|
+
deleted: boolean;
|
55
|
+
parent: AdminProductVariant;
|
56
|
+
}
|
45
57
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA2B,SAAQ,cAAc,CAAC,SAAS,CAAC;CAAG;AAEhF,MAAM,WAAW,yBACf,SAAQ,mBAAmB,CAAC,YAAY,CAAC;CAAG;AAE9C,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,mBAAmB,CAAA;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAEpD,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF;AAED,MAAM,WAAW,gCACf,SAAQ,mBAAmB,CAAC,mBAAmB,CAAC;CAAG;AAErD,MAAM,WAAW,6CACf,SAAQ,mBAAmB,CAAC,kBAAkB,CAAC;CAAG;AAEpD,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,WAAW,gCACf,SAAQ,cAAc,CAAC,gBAAgB,EAAE,YAAY,CAAC;CAAG;AAE3D,MAAM,MAAM,oCAAoC,GAAG,gCAAgC,GAAG,gCAAgC,EAAE,CAAA;AAExH,MAAM,WAAW,yCAAyC;IACxD,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;IAC7C,OAAO,EAAE,oCAAoC,CAAA;CAC9C;AAED,MAAM,WAAW,8CAA8C;IAC7D,EAAE,EAAE,gCAAgC,CAAA;IACpC,MAAM,EAAE,6BAA6B,CAAA;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,mBAAmB,CAAA;CAC5B"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { BasePromotion, BasePromotionRule, BaseRuleAttributeOptions, BaseRuleOperatorOptions, BaseRuleValueOptions } from "../common";
|
2
|
+
export interface AdminPromotion extends BasePromotion {
|
3
|
+
}
|
4
|
+
export interface AdminPromotionRule extends BasePromotionRule {
|
5
|
+
}
|
6
|
+
export interface AdminRuleAttributeOption extends BaseRuleAttributeOptions {
|
7
|
+
}
|
8
|
+
export interface AdminRuleOperatorOption extends BaseRuleOperatorOptions {
|
9
|
+
}
|
10
|
+
export interface AdminRuleValueOption extends BaseRuleValueOptions {
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,cAAe,SAAQ,aAAa;CAAG;AACxD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,wBAAyB,SAAQ,wBAAwB;CAAG;AAC7E,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG;AAC3E,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
@@ -14,8 +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("./
|
18
|
-
__exportStar(require("./
|
19
|
-
__exportStar(require("./rule-operator-options"), exports);
|
20
|
-
__exportStar(require("./rule-value-options"), exports);
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./responses"), exports);
|
21
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { BatchMethodResponse } from "../../../common";
|
2
|
+
import { PaginatedResponse } from "../../common";
|
3
|
+
import { AdminPromotion, AdminPromotionRule, AdminRuleAttributeOption, AdminRuleOperatorOption, AdminRuleValueOption } from "./entities";
|
4
|
+
export interface AdminPromotionResponse {
|
5
|
+
promotion: AdminPromotion;
|
6
|
+
}
|
7
|
+
export type AdminPromotionListResponse = PaginatedResponse<{
|
8
|
+
promotions: AdminPromotion[];
|
9
|
+
}>;
|
10
|
+
export interface PromotionRuleResponse {
|
11
|
+
rule: AdminPromotionRule;
|
12
|
+
}
|
13
|
+
export type AdminPromotionRuleListResponse = {
|
14
|
+
rules: AdminPromotionRule[];
|
15
|
+
};
|
16
|
+
export interface RuleAttributeOptionsResponse {
|
17
|
+
attribute: AdminRuleAttributeOption[];
|
18
|
+
}
|
19
|
+
export type AdminRuleAttributeOptionsListResponse = {
|
20
|
+
attributes: AdminRuleAttributeOption[];
|
21
|
+
};
|
22
|
+
export interface RuleOperatorOptionsResponse {
|
23
|
+
operator: AdminRuleOperatorOption;
|
24
|
+
}
|
25
|
+
export type AdminRuleOperatorOptionsListResponse = PaginatedResponse<{
|
26
|
+
operators: AdminRuleOperatorOption[];
|
27
|
+
}>;
|
28
|
+
/**
|
29
|
+
* @experimental
|
30
|
+
*/
|
31
|
+
export interface RuleValueOptionsResponse {
|
32
|
+
value: AdminRuleValueOption;
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* @experimental
|
36
|
+
*/
|
37
|
+
export type AdminRuleValueOptionsListResponse = {
|
38
|
+
values: AdminRuleValueOption[];
|
39
|
+
};
|
40
|
+
export type AdminPromotionRuleBatchResponse = BatchMethodResponse<AdminPromotionRule>;
|
41
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,cAAc,CAAA;CAC1B;AAED,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC,CAAA;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,kBAAkB,EAAE,CAAA;CAC5B,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,wBAAwB,EAAE,CAAA;CACtC;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,wBAAwB,EAAE,CAAA;CACvC,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;CAClC;AAED,MAAM,MAAM,oCAAoC,GAAG,iBAAiB,CAAC;IACnE,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC,CAAC,CAAA;AAEF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,oBAAoB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,MAAM,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -1,12 +1,57 @@
|
|
1
|
-
import { ApplicationMethodTypeValues } from "../../promotion";
|
1
|
+
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, PromotionRuleOperatorValues, PromotionTypeValues } from "../../promotion";
|
2
|
+
import { CampaignResponse } from "../campaign";
|
3
|
+
export interface BasePromotionRule {
|
4
|
+
id: string;
|
5
|
+
description?: string | null;
|
6
|
+
attribute?: string;
|
7
|
+
operator?: PromotionRuleOperatorValues;
|
8
|
+
values: BasePromotionRuleValue[];
|
9
|
+
}
|
10
|
+
export interface BaseApplicationMethod {
|
11
|
+
id: string;
|
12
|
+
type?: ApplicationMethodTypeValues;
|
13
|
+
target_type?: ApplicationMethodTargetTypeValues;
|
14
|
+
allocation?: ApplicationMethodAllocationValues;
|
15
|
+
value?: number;
|
16
|
+
currency_code?: string;
|
17
|
+
max_quantity?: number | null;
|
18
|
+
buy_rules_min_quantity?: number | null;
|
19
|
+
apply_to_quantity?: number | null;
|
20
|
+
promotion?: BasePromotion;
|
21
|
+
target_rules?: BasePromotionRule[];
|
22
|
+
buy_rules?: BasePromotionRule[];
|
23
|
+
}
|
2
24
|
export interface BasePromotion {
|
3
25
|
id: string;
|
4
26
|
code?: string;
|
27
|
+
type?: PromotionTypeValues;
|
5
28
|
is_automatic?: boolean;
|
6
|
-
application_method?:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
29
|
+
application_method?: BaseApplicationMethod;
|
30
|
+
rules?: BasePromotionRule[];
|
31
|
+
campaign_id?: string;
|
32
|
+
campaign?: CampaignResponse;
|
33
|
+
}
|
34
|
+
export interface BasePromotionRuleValue {
|
35
|
+
id: string;
|
36
|
+
value?: string;
|
37
|
+
}
|
38
|
+
export interface BaseRuleAttributeOptions {
|
39
|
+
id: string;
|
40
|
+
value: string;
|
41
|
+
label: string;
|
42
|
+
field_type: string;
|
43
|
+
required: boolean;
|
44
|
+
disguised: boolean;
|
45
|
+
operators: BaseRuleOperatorOptions[];
|
46
|
+
}
|
47
|
+
export interface BaseRuleOperatorOptions {
|
48
|
+
id: string;
|
49
|
+
value: string;
|
50
|
+
label: string;
|
51
|
+
}
|
52
|
+
export interface BaseRuleValueOptions {
|
53
|
+
id: string;
|
54
|
+
value: string;
|
55
|
+
label: string;
|
11
56
|
}
|
12
57
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,2BAA2B,EAC3B,mBAAmB,EACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,2BAA2B,CAAA;IACtC,MAAM,EAAE,sBAAsB,EAAE,CAAA;CACjC;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,2BAA2B,CAAA;IAClC,WAAW,CAAC,EAAE,iCAAiC,CAAA;IAC/C,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAClC,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAChC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,mBAAmB,CAAA;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,kBAAkB,CAAC,EAAE,qBAAqB,CAAA;IAC1C,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAA;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/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/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/region/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/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"}
|