@medusajs/types 1.12.0-snapshot-20240808104955 → 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/cart/store/entities.d.ts +10 -0
- package/dist/http/cart/store/entities.d.ts.map +1 -0
- package/dist/http/cart/store/entities.js +3 -0
- package/dist/http/cart/store/entities.js.map +1 -0
- package/dist/http/cart/store/index.d.ts +4 -0
- package/dist/http/cart/store/index.d.ts.map +1 -0
- package/dist/http/cart/store/index.js +20 -0
- package/dist/http/cart/store/index.js.map +1 -0
- package/dist/http/cart/{store.d.ts → store/payloads.d.ts} +2 -10
- package/dist/http/cart/store/payloads.d.ts.map +1 -0
- package/dist/http/cart/store/payloads.js +3 -0
- package/dist/http/cart/store/payloads.js.map +1 -0
- package/dist/http/cart/store/responses.d.ts +18 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -0
- package/dist/http/cart/store/responses.js +3 -0
- package/dist/http/cart/store/responses.js.map +1 -0
- package/dist/http/claim/admin/responses.d.ts +17 -0
- package/dist/http/claim/admin/responses.d.ts.map +1 -1
- package/dist/http/collection/store/entities.d.ts +4 -0
- package/dist/http/collection/store/entities.d.ts.map +1 -0
- package/dist/http/collection/store/entities.js +3 -0
- package/dist/http/collection/store/entities.js.map +1 -0
- package/dist/http/collection/store/index.d.ts +4 -0
- package/dist/http/collection/store/index.d.ts.map +1 -0
- package/dist/http/collection/store/index.js +20 -0
- package/dist/http/collection/store/index.js.map +1 -0
- package/dist/http/collection/store/queries.d.ts +4 -0
- package/dist/http/collection/store/queries.d.ts.map +1 -0
- package/dist/http/collection/store/queries.js +3 -0
- package/dist/http/collection/store/queries.js.map +1 -0
- package/dist/http/collection/store/responses.d.ts +9 -0
- package/dist/http/collection/store/responses.d.ts.map +1 -0
- package/dist/http/collection/store/responses.js +3 -0
- package/dist/http/collection/store/responses.js.map +1 -0
- 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/{collection/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/{customer/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/{cart/store.js → fulfillment-provider/common.js} +1 -1
- package/dist/http/fulfillment-provider/common.js.map +1 -0
- package/dist/http/index.d.ts +3 -2
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +3 -2
- 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} +2 -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/{customer/store.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/admin/entities.d.ts +4 -0
- package/dist/http/return-reason/admin/entities.d.ts.map +1 -0
- package/dist/http/return-reason/admin/entities.js +3 -0
- package/dist/http/return-reason/admin/entities.js.map +1 -0
- package/dist/http/return-reason/admin/index.d.ts +5 -0
- package/dist/http/return-reason/admin/index.d.ts.map +1 -0
- package/dist/http/return-reason/admin/index.js +21 -0
- package/dist/http/return-reason/admin/index.js.map +1 -0
- package/dist/http/return-reason/admin/payloads.d.ts +10 -0
- package/dist/http/return-reason/admin/payloads.d.ts.map +1 -0
- package/dist/http/return-reason/admin/payloads.js +3 -0
- package/dist/http/return-reason/admin/payloads.js.map +1 -0
- package/dist/http/return-reason/admin/queries.d.ts +9 -0
- package/dist/http/return-reason/admin/queries.d.ts.map +1 -0
- package/dist/http/return-reason/admin/queries.js +3 -0
- package/dist/http/return-reason/admin/queries.js.map +1 -0
- package/dist/http/return-reason/admin/responses.d.ts +12 -0
- package/dist/http/return-reason/admin/responses.d.ts.map +1 -0
- package/dist/http/return-reason/admin/responses.js +3 -0
- package/dist/http/return-reason/admin/responses.js.map +1 -0
- package/dist/http/return-reason/common.d.ts +12 -0
- package/dist/http/return-reason/common.d.ts.map +1 -1
- 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/queries.d.ts +1 -0
- package/dist/http/shipping-option/admin/queries.d.ts.map +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 +18 -5
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +14 -15
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +44 -21
- 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 +14 -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/cart/store.d.ts.map +0 -1
- package/dist/http/cart/store.js.map +0 -1
- package/dist/http/collection/store.d.ts +0 -6
- package/dist/http/collection/store.d.ts.map +0 -1
- package/dist/http/collection/store.js.map +0 -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 +0 -3
- 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 +0 -3
- 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 -48
- 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
- package/dist/http/return-reason/admin.d.ts +0 -23
- package/dist/http/return-reason/admin.d.ts.map +0 -1
- package/dist/http/return-reason/admin.js +0 -3
- package/dist/http/return-reason/admin.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,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("./payload"), 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/order/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export interface AdminCreateOrderFulfillment {
|
2
|
+
items: {
|
3
|
+
id: string;
|
4
|
+
quantity: number;
|
5
|
+
}[];
|
6
|
+
location_id?: string;
|
7
|
+
no_notification?: boolean;
|
8
|
+
metadata?: Record<string, any>;
|
9
|
+
}
|
10
|
+
export interface AdminCreateOrderShipment {
|
11
|
+
items: {
|
12
|
+
id: string;
|
13
|
+
quantity: number;
|
14
|
+
}[];
|
15
|
+
labels?: {
|
16
|
+
tracking_number: string;
|
17
|
+
tracking_url: string;
|
18
|
+
label_url: string;
|
19
|
+
}[];
|
20
|
+
no_notification?: boolean;
|
21
|
+
metadata?: Record<string, any>;
|
22
|
+
}
|
23
|
+
export interface AdminCancelOrderFulfillment {
|
24
|
+
no_notification?: boolean;
|
25
|
+
}
|
26
|
+
//# sourceMappingURL=payload.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/payload.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE;QACP,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/http/order/admin/payload.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { AdminOrder, AdminOrderPreview } from "./entities";
|
3
|
+
export interface AdminOrderResponse {
|
4
|
+
order: AdminOrder;
|
5
|
+
}
|
6
|
+
export type AdminOrderListResponse = PaginatedResponse<{
|
7
|
+
orders: AdminOrder[];
|
8
|
+
}>;
|
9
|
+
export interface AdminOrderPreviewResponse {
|
10
|
+
order: AdminOrderPreview;
|
11
|
+
}
|
12
|
+
export interface AdminDraftOrderResponse {
|
13
|
+
draft_order: AdminOrder;
|
14
|
+
}
|
15
|
+
export type AdminDraftOrderListResponse = PaginatedResponse<{
|
16
|
+
draft_orders: AdminOrder;
|
17
|
+
}>;
|
18
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BaseOrder, BaseOrderAddress,
|
1
|
+
import { BaseOrder, BaseOrderAddress, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
|
2
2
|
export interface StoreOrder extends BaseOrder {
|
3
3
|
}
|
4
4
|
export interface StoreOrderLineItem extends BaseOrderLineItem {
|
@@ -7,6 +7,4 @@ export interface StoreOrderAddress extends BaseOrderAddress {
|
|
7
7
|
}
|
8
8
|
export interface StoreOrderShippingMethod extends BaseOrderShippingMethod {
|
9
9
|
}
|
10
|
-
|
11
|
-
}
|
12
|
-
//# sourceMappingURL=store.d.ts.map
|
10
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/order/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/order/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/order/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/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { StoreOrder } from "./entities";
|
3
|
+
export interface StoreOrderResponse {
|
4
|
+
order: StoreOrder;
|
5
|
+
}
|
6
|
+
export type StoreOrderListResponse = PaginatedResponse<{
|
7
|
+
orders: StoreOrder[];
|
8
|
+
}>;
|
9
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IAAE,MAAM,EAAE,UAAU,EAAE,CAAA;CAAE,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/order/store/responses.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { BasePayment, BasePaymentCollection, BasePaymentProvider, BasePaymentSession, BaseRefund, RefundReason } from "../common";
|
2
|
+
export interface AdminPaymentProvider extends BasePaymentProvider {
|
3
|
+
is_enabled: boolean;
|
4
|
+
}
|
5
|
+
export interface AdminPayment extends BasePayment {
|
6
|
+
}
|
7
|
+
export interface AdminPaymentCollection extends BasePaymentCollection {
|
8
|
+
}
|
9
|
+
export interface AdminPaymentSession extends BasePaymentSession {
|
10
|
+
}
|
11
|
+
export interface AdminRefund extends BaseRefund {
|
12
|
+
}
|
13
|
+
export interface AdminRefundReason extends RefundReason {
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACb,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,WAAW;CAAG;AACpD,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,iBAAkB,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/payment/admin/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/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/payment/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface AdminCapturePayment {
|
2
|
+
amount?: number;
|
3
|
+
}
|
4
|
+
export interface AdminRefundPayment {
|
5
|
+
amount?: number;
|
6
|
+
refund_reason_id?: string | null;
|
7
|
+
note?: string | null;
|
8
|
+
}
|
9
|
+
export interface AdminCreateRefundReason {
|
10
|
+
label: string;
|
11
|
+
description?: string;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/payment/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { BaseFilterable } from "../../../dal";
|
2
|
+
import { BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
|
3
|
+
import { AdminRefund, AdminRefundReason } from "./entities";
|
4
|
+
export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
|
5
|
+
is_enabled?: boolean;
|
6
|
+
}
|
7
|
+
export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
|
8
|
+
}
|
9
|
+
export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
|
10
|
+
}
|
11
|
+
export interface AdminPaymentFilters extends BasePaymentFilters {
|
12
|
+
}
|
13
|
+
export interface RefundFilters extends BaseFilterable<AdminRefund> {
|
14
|
+
id?: string | string[];
|
15
|
+
}
|
16
|
+
export interface RefundReasonFilters extends BaseFilterable<AdminRefundReason> {
|
17
|
+
id?: string | string[];
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE3D,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAEhF,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,WAAW,CAAC;IAChE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AACD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
import { AdminPayment, AdminPaymentProvider, AdminRefund, AdminRefundReason } from "./entities";
|
3
|
+
export interface AdminPaymentResponse {
|
4
|
+
payment: AdminPayment;
|
5
|
+
}
|
6
|
+
export type AdminPaymentsResponse = PaginatedResponse<{
|
7
|
+
payments: AdminPayment[];
|
8
|
+
}>;
|
9
|
+
export interface AdminRefundResponse {
|
10
|
+
refund_reason: AdminRefund;
|
11
|
+
}
|
12
|
+
export type AdminRefundsResponse = PaginatedResponse<{
|
13
|
+
refund_reasons: AdminRefund[];
|
14
|
+
}>;
|
15
|
+
export interface RefundReasonResponse {
|
16
|
+
refund_reason: AdminRefundReason;
|
17
|
+
}
|
18
|
+
export type RefundReasonsResponse = PaginatedResponse<{
|
19
|
+
refund_reasons: AdminRefundReason[];
|
20
|
+
}>;
|
21
|
+
export type AdminPaymentProviderListResponse = PaginatedResponse<{
|
22
|
+
payment_providers: AdminPaymentProvider[];
|
23
|
+
}>;
|
24
|
+
//# sourceMappingURL=responses.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE/F,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,cAAc,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC,CAAA;AAEF,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/admin/responses.ts"],"names":[],"mappings":""}
|
@@ -8,7 +8,7 @@ export type BasePaymentCollectionStatus = "not_paid" | "awaiting" | "authorized"
|
|
8
8
|
*
|
9
9
|
* The status of a payment session.
|
10
10
|
*/
|
11
|
-
export type BasePaymentSessionStatus = "authorized" | "pending" | "requires_more" | "error" | "canceled";
|
11
|
+
export type BasePaymentSessionStatus = "authorized" | "captured" | "pending" | "requires_more" | "error" | "canceled";
|
12
12
|
export interface BasePaymentProvider {
|
13
13
|
id: string;
|
14
14
|
}
|
@@ -36,6 +36,10 @@ export interface BasePaymentCollection {
|
|
36
36
|
* The amount authorized within the associated payment sessions.
|
37
37
|
*/
|
38
38
|
authorized_amount?: BigNumberValue;
|
39
|
+
/**
|
40
|
+
* The amount captured within the associated payment sessions.
|
41
|
+
*/
|
42
|
+
captured_amount?: BigNumberValue;
|
39
43
|
/**
|
40
44
|
* The amount refunded within the associated payments.
|
41
45
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACnC,UAAU,GACV,UAAU,GACV,YAAY,GACZ,sBAAsB,GACtB,UAAU,CAAA;AAEd;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAChC,YAAY,GACZ,SAAS,GACT,eAAe,GACf,OAAO,GACP,UAAU,CAAA;AAEd,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAA;IAElC;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,CAAA;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,MAAM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, BasePaymentSession } from "../common";
|
2
|
+
export interface StorePaymentProvider extends BasePaymentProvider {
|
3
|
+
}
|
4
|
+
export interface StorePaymentCollection extends BasePaymentCollection {
|
5
|
+
}
|
6
|
+
export interface StorePaymentSession extends BasePaymentSession {
|
7
|
+
}
|
8
|
+
//# sourceMappingURL=entities.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/payment/store/entities.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/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/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,IA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