@medusajs/types 1.12.0-snapshot-20240827104434 → 1.12.0-snapshot-20240904063643
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/provider.d.ts +5 -0
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/providers/github.d.ts +7 -0
- package/dist/auth/providers/github.d.ts.map +1 -0
- package/dist/{http/api-key/admin/api-key.js → auth/providers/github.js} +1 -1
- package/dist/auth/providers/github.js.map +1 -0
- package/dist/auth/providers/google.d.ts +2 -2
- package/dist/auth/providers/index.d.ts +1 -0
- package/dist/auth/providers/index.d.ts.map +1 -1
- package/dist/auth/providers/index.js +1 -0
- package/dist/auth/providers/index.js.map +1 -1
- package/dist/auth/service.d.ts +1 -0
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/cart/common.d.ts +4 -0
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/service.d.ts +1 -1
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +4 -0
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/http/address/entities.d.ts +18 -0
- package/dist/http/address/entities.d.ts.map +1 -0
- package/dist/http/address/entities.js +3 -0
- package/dist/http/address/entities.js.map +1 -0
- package/dist/http/address/index.d.ts +2 -0
- package/dist/http/address/index.d.ts.map +1 -0
- package/dist/http/address/index.js +18 -0
- package/dist/http/address/index.js.map +1 -0
- package/dist/http/api-key/admin/index.d.ts +3 -1
- package/dist/http/api-key/admin/index.d.ts.map +1 -1
- package/dist/http/api-key/admin/index.js +3 -1
- package/dist/http/api-key/admin/index.js.map +1 -1
- package/dist/http/api-key/admin/payloads.d.ts +12 -0
- package/dist/http/api-key/admin/payloads.d.ts.map +1 -0
- package/dist/http/api-key/admin/payloads.js +3 -0
- package/dist/http/api-key/admin/payloads.js.map +1 -0
- package/dist/http/api-key/admin/queries.d.ts +17 -0
- package/dist/http/api-key/admin/queries.d.ts.map +1 -0
- package/dist/http/api-key/admin/queries.js +3 -0
- package/dist/http/api-key/admin/queries.js.map +1 -0
- package/dist/http/api-key/admin/{api-key.d.ts → responses.d.ts} +6 -5
- package/dist/http/api-key/admin/responses.d.ts.map +1 -0
- package/dist/http/api-key/admin/responses.js +3 -0
- package/dist/http/api-key/admin/responses.js.map +1 -0
- package/dist/http/auth/index.d.ts +2 -0
- package/dist/http/auth/index.d.ts.map +1 -0
- package/dist/http/auth/index.js +18 -0
- package/dist/http/auth/index.js.map +1 -0
- package/dist/http/auth/payloads.d.ts +7 -0
- package/dist/http/auth/payloads.d.ts.map +1 -0
- package/dist/http/auth/payloads.js +3 -0
- package/dist/http/auth/payloads.js.map +1 -0
- package/dist/http/campaign/admin/index.d.ts +1 -0
- package/dist/http/campaign/admin/index.d.ts.map +1 -1
- package/dist/http/campaign/admin/index.js +1 -0
- package/dist/http/campaign/admin/index.js.map +1 -1
- package/dist/http/campaign/admin/queries.d.ts +14 -0
- package/dist/http/campaign/admin/queries.d.ts.map +1 -0
- package/dist/http/campaign/admin/queries.js +3 -0
- package/dist/http/campaign/admin/queries.js.map +1 -0
- package/dist/http/campaign/admin/responses.d.ts +5 -4
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/store/responses.d.ts +2 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +3 -1
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +3 -1
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/currency/store/index.d.ts +1 -0
- package/dist/http/currency/store/index.d.ts.map +1 -1
- package/dist/http/currency/store/index.js +1 -0
- package/dist/http/currency/store/index.js.map +1 -1
- package/dist/http/currency/store/queries.d.ts +7 -0
- package/dist/http/currency/store/queries.d.ts.map +1 -0
- package/dist/http/currency/store/queries.js +3 -0
- package/dist/http/currency/store/queries.js.map +1 -0
- package/dist/http/customer/admin/entities.d.ts +2 -3
- package/dist/http/customer/admin/entities.d.ts.map +1 -1
- package/dist/http/customer/admin/queries.d.ts +2 -1
- package/dist/http/customer/admin/queries.d.ts.map +1 -1
- package/dist/http/customer/admin/responses.d.ts +5 -8
- package/dist/http/customer/admin/responses.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +2 -1
- package/dist/http/customer/common.d.ts.map +1 -1
- package/dist/http/customer/store/responses.d.ts +2 -1
- package/dist/http/customer/store/responses.d.ts.map +1 -1
- package/dist/http/customer-group/admin/entities.d.ts +4 -0
- package/dist/http/customer-group/admin/entities.d.ts.map +1 -0
- package/dist/http/customer-group/admin/entities.js +3 -0
- package/dist/http/customer-group/admin/entities.js.map +1 -0
- package/dist/http/customer-group/admin/index.d.ts +5 -0
- package/dist/http/customer-group/admin/index.d.ts.map +1 -0
- package/dist/http/customer-group/admin/index.js +21 -0
- package/dist/http/customer-group/admin/index.js.map +1 -0
- package/dist/http/customer-group/admin/payloads.d.ts +9 -0
- package/dist/http/customer-group/admin/payloads.d.ts.map +1 -0
- package/dist/http/customer-group/admin/payloads.js +3 -0
- package/dist/http/customer-group/admin/payloads.js.map +1 -0
- package/dist/http/customer-group/admin/queries.d.ts +32 -0
- package/dist/http/customer-group/admin/queries.d.ts.map +1 -0
- package/dist/http/customer-group/admin/queries.js +3 -0
- package/dist/http/customer-group/admin/queries.js.map +1 -0
- package/dist/http/customer-group/admin/responses.d.ts +9 -0
- package/dist/http/customer-group/admin/responses.d.ts.map +1 -0
- package/dist/http/customer-group/admin/responses.js +3 -0
- package/dist/http/customer-group/admin/responses.js.map +1 -0
- package/dist/http/customer-group/common.d.ts +10 -0
- package/dist/http/customer-group/common.d.ts.map +1 -0
- package/dist/http/customer-group/common.js +3 -0
- package/dist/http/customer-group/common.js.map +1 -0
- package/dist/http/customer-group/index.d.ts +2 -0
- package/dist/http/customer-group/index.d.ts.map +1 -0
- package/dist/http/customer-group/index.js +18 -0
- package/dist/http/customer-group/index.js.map +1 -0
- package/dist/http/file/admin/responses.d.ts +2 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.d.ts +1 -0
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.js +1 -0
- package/dist/http/fulfillment/admin/index.js.map +1 -1
- package/dist/http/fulfillment/admin/queries.d.ts +7 -0
- package/dist/http/fulfillment/admin/queries.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/queries.js +3 -0
- package/dist/http/fulfillment/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts +2 -2
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
- 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/inventory/admin/entities.d.ts +18 -0
- package/dist/http/inventory/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory/admin/queries.d.ts +2 -2
- package/dist/http/inventory/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory/admin/responses.d.ts +2 -1
- package/dist/http/inventory/admin/responses.d.ts.map +1 -1
- package/dist/http/invite/admin/index.d.ts +1 -0
- package/dist/http/invite/admin/index.d.ts.map +1 -1
- package/dist/http/invite/admin/index.js +1 -0
- package/dist/http/invite/admin/index.js.map +1 -1
- package/dist/http/invite/admin/queries.d.ts +11 -0
- package/dist/http/invite/admin/queries.d.ts.map +1 -0
- package/dist/http/invite/admin/queries.js +3 -0
- package/dist/http/invite/admin/queries.js.map +1 -0
- package/dist/http/invite/admin/responses.d.ts +2 -1
- package/dist/http/invite/admin/responses.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +14 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +15 -1
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +4 -0
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +10 -4
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +5 -2
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/order-edit/admin/responses.d.ts +2 -5
- package/dist/http/order-edit/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/admin/queries.d.ts +18 -7
- package/dist/http/payment/admin/queries.d.ts.map +1 -1
- package/dist/http/payment/admin/responses.d.ts +1 -0
- package/dist/http/payment/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/store/index.d.ts +1 -0
- package/dist/http/payment/store/index.d.ts.map +1 -1
- package/dist/http/payment/store/index.js +1 -0
- package/dist/http/payment/store/index.js.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +4 -0
- package/dist/http/payment/store/payloads.d.ts.map +1 -0
- package/dist/http/payment/store/payloads.js +3 -0
- package/dist/http/payment/store/payloads.js.map +1 -0
- package/dist/http/payment/store/queries.d.ts +1 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/pricing/admin/queries.d.ts +1 -0
- package/dist/http/pricing/admin/queries.d.ts.map +1 -1
- package/dist/http/product/admin/queries.d.ts +13 -4
- package/dist/http/product/admin/queries.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +3 -3
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +1 -0
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +1 -0
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/promotion/admin/index.d.ts +2 -0
- package/dist/http/promotion/admin/index.d.ts.map +1 -1
- package/dist/http/promotion/admin/index.js +2 -0
- package/dist/http/promotion/admin/index.js.map +1 -1
- package/dist/http/promotion/admin/payloads.d.ts +69 -0
- package/dist/http/promotion/admin/payloads.d.ts.map +1 -0
- package/dist/http/promotion/admin/payloads.js +3 -0
- package/dist/http/promotion/admin/payloads.js.map +1 -0
- package/dist/http/promotion/admin/queries.d.ts +30 -0
- package/dist/http/promotion/admin/queries.d.ts.map +1 -0
- package/dist/http/promotion/admin/queries.js +3 -0
- package/dist/http/promotion/admin/queries.js.map +1 -0
- package/dist/http/promotion/admin/responses.d.ts +2 -1
- package/dist/http/promotion/admin/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +2 -2
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/admin/queries.d.ts +10 -1
- package/dist/http/region/admin/queries.d.ts.map +1 -1
- package/dist/http/region/admin/responses.d.ts +2 -1
- package/dist/http/region/admin/responses.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +2 -3
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/reservation/admin/entities.d.ts +2 -2
- package/dist/http/reservation/admin/entities.d.ts.map +1 -1
- package/dist/http/reservation/admin/index.d.ts +2 -0
- package/dist/http/reservation/admin/index.d.ts.map +1 -1
- package/dist/http/reservation/admin/index.js +2 -0
- package/dist/http/reservation/admin/index.js.map +1 -1
- package/dist/http/reservation/admin/payloads.d.ts +15 -0
- package/dist/http/reservation/admin/payloads.d.ts.map +1 -0
- package/dist/http/reservation/admin/payloads.js +3 -0
- package/dist/http/reservation/admin/payloads.js.map +1 -0
- package/dist/http/reservation/admin/queries.d.ts +17 -0
- package/dist/http/reservation/admin/queries.d.ts.map +1 -0
- package/dist/http/reservation/admin/queries.js +3 -0
- package/dist/http/reservation/admin/queries.js.map +1 -0
- package/dist/http/reservation/admin/responses.d.ts +5 -4
- package/dist/http/reservation/admin/responses.d.ts.map +1 -1
- package/dist/http/return/admin/responses.d.ts +2 -1
- package/dist/http/return/admin/responses.d.ts.map +1 -1
- package/dist/http/return/common.d.ts +2 -0
- package/dist/http/return/common.d.ts.map +1 -1
- package/dist/http/return/store/index.d.ts +1 -0
- package/dist/http/return/store/index.d.ts.map +1 -1
- package/dist/http/return/store/index.js +1 -0
- package/dist/http/return/store/index.js.map +1 -1
- package/dist/http/return/store/payloads.d.ts +20 -0
- package/dist/http/return/store/payloads.d.ts.map +1 -0
- package/dist/http/return/store/payloads.js +3 -0
- package/dist/http/return/store/payloads.js.map +1 -0
- package/dist/http/shipping-option/admin/queries.d.ts +6 -4
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/store/index.d.ts +1 -0
- package/dist/http/shipping-option/store/index.d.ts.map +1 -1
- package/dist/http/shipping-option/store/index.js +1 -0
- package/dist/http/shipping-option/store/index.js.map +1 -1
- package/dist/http/shipping-option/store/queries.d.ts +6 -0
- package/dist/http/shipping-option/store/queries.d.ts.map +1 -0
- package/dist/http/shipping-option/store/queries.js +3 -0
- package/dist/http/shipping-option/store/queries.js.map +1 -0
- package/dist/http/stock-locations/admin/queries.d.ts +5 -1
- package/dist/http/stock-locations/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/queries.d.ts +6 -7
- package/dist/http/tax-rate/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/responses.d.ts +2 -1
- package/dist/http/tax-rate/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/entities.d.ts +54 -4
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/index.d.ts +1 -0
- package/dist/http/workflow-execution/admin/index.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/index.js +1 -0
- package/dist/http/workflow-execution/admin/index.js.map +1 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
- package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -0
- package/dist/http/workflow-execution/admin/queries.js +3 -0
- package/dist/http/workflow-execution/admin/queries.js.map +1 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/notification/common.d.ts +39 -0
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/notification/provider.d.ts +9 -0
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/order/common.d.ts +8 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +3 -0
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +175 -175
- package/dist/order/service.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +1 -1
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/shared-context.d.ts +5 -0
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/workflow/order/cancel-claim.d.ts +1 -0
- package/dist/workflow/order/cancel-claim.d.ts.map +1 -1
- package/dist/workflow/order/cancel-exchange.d.ts +1 -0
- package/dist/workflow/order/cancel-exchange.d.ts.map +1 -1
- package/dist/workflow/order/cancel-fulfillment.d.ts +1 -0
- package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/cancel-order.d.ts +1 -0
- package/dist/workflow/order/cancel-order.d.ts.map +1 -1
- package/dist/workflow/order/cancel-return.d.ts +1 -0
- package/dist/workflow/order/cancel-return.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/api-key/admin/api-key.d.ts.map +0 -1
- package/dist/http/api-key/admin/api-key.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product-category/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,eAAe,EAAE,mBAAmB,GAAG,IAAI,CAAA;IAC3C,iBAAiB,EAAE,mBAAmB,EA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CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAA;CACnC"}
|
@@ -1 +1 @@
|
|
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"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -15,5 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./queries"), exports);
|
18
20
|
__exportStar(require("./responses"), exports);
|
19
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, PromotionRuleOperatorValues, PromotionTypeValues } from "../../../promotion";
|
2
|
+
import { AdminCreateCampaign } from "../../campaign";
|
3
|
+
export interface AdminCreatePromotionRule {
|
4
|
+
operator: PromotionRuleOperatorValues;
|
5
|
+
description?: string | null;
|
6
|
+
attribute: string;
|
7
|
+
values: string | string[];
|
8
|
+
}
|
9
|
+
export interface AdminUpdatePromotionRule {
|
10
|
+
id: string;
|
11
|
+
operator?: PromotionRuleOperatorValues;
|
12
|
+
description?: string | null;
|
13
|
+
attribute?: string;
|
14
|
+
values: string | string[];
|
15
|
+
}
|
16
|
+
export interface AdminCreateApplicationMethod {
|
17
|
+
description?: string | null;
|
18
|
+
value: number;
|
19
|
+
currency_code?: string | null;
|
20
|
+
max_quantity?: number | null;
|
21
|
+
type: ApplicationMethodTypeValues;
|
22
|
+
target_type: ApplicationMethodTargetTypeValues;
|
23
|
+
allocation?: ApplicationMethodAllocationValues;
|
24
|
+
target_rules?: AdminCreatePromotionRule[];
|
25
|
+
buy_rules?: AdminCreatePromotionRule[];
|
26
|
+
apply_to_quantity?: number | null;
|
27
|
+
buy_rules_min_quantity?: number | null;
|
28
|
+
}
|
29
|
+
export interface AdminUpdateApplicationMethod {
|
30
|
+
description?: string | null;
|
31
|
+
value?: number;
|
32
|
+
max_quantity?: number | null;
|
33
|
+
currency_code?: string | null;
|
34
|
+
type?: ApplicationMethodTypeValues;
|
35
|
+
target_type?: ApplicationMethodTargetTypeValues;
|
36
|
+
allocation?: ApplicationMethodAllocationValues;
|
37
|
+
target_rules?: AdminCreatePromotionRule[];
|
38
|
+
buy_rules?: AdminCreatePromotionRule[];
|
39
|
+
apply_to_quantity?: number | null;
|
40
|
+
buy_rules_min_quantity?: number | null;
|
41
|
+
}
|
42
|
+
export interface AdminCreatePromotion {
|
43
|
+
code: string;
|
44
|
+
is_automatic?: boolean;
|
45
|
+
type: PromotionTypeValues;
|
46
|
+
campaign_id?: string | null;
|
47
|
+
campaign?: AdminCreateCampaign;
|
48
|
+
application_method: AdminCreateApplicationMethod;
|
49
|
+
rules?: AdminCreatePromotionRule[];
|
50
|
+
}
|
51
|
+
export interface AdminUpdatePromotion {
|
52
|
+
code?: string;
|
53
|
+
is_automatic?: boolean;
|
54
|
+
type?: PromotionTypeValues;
|
55
|
+
campaign_id?: string | null;
|
56
|
+
campaign?: AdminCreateCampaign;
|
57
|
+
application_method?: AdminUpdateApplicationMethod;
|
58
|
+
rules?: AdminCreatePromotionRule[];
|
59
|
+
}
|
60
|
+
export interface BatchAddPromotionRulesReq {
|
61
|
+
rules: AdminCreatePromotionRule[];
|
62
|
+
}
|
63
|
+
export interface BatchRemovePromotionRulesReq {
|
64
|
+
rule_ids: string[];
|
65
|
+
}
|
66
|
+
export interface BatchUpdatePromotionRulesReq {
|
67
|
+
rules: AdminUpdatePromotionRule[];
|
68
|
+
}
|
69
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,2BAA2B,EAC3B,mBAAmB,EACtB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,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
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams, SelectParams } from "../../common";
|
3
|
+
export interface AdminGetPromotionParams extends SelectParams {
|
4
|
+
}
|
5
|
+
export interface AdminGetPromotionsParams extends FindParams, BaseFilterable<AdminGetPromotionsParams> {
|
6
|
+
q?: string;
|
7
|
+
code?: string | string[];
|
8
|
+
campaign_id?: string | string[];
|
9
|
+
application_method?: {
|
10
|
+
currency_code?: string | string[];
|
11
|
+
};
|
12
|
+
created_at?: OperatorMap<string>;
|
13
|
+
updated_at?: OperatorMap<string>;
|
14
|
+
deleted_at?: OperatorMap<string>;
|
15
|
+
$and?: AdminGetPromotionsParams[];
|
16
|
+
$or?: AdminGetPromotionsParams[];
|
17
|
+
}
|
18
|
+
export interface AdminGetPromotionRuleParams {
|
19
|
+
promotion_type?: string;
|
20
|
+
application_method_type?: string;
|
21
|
+
}
|
22
|
+
export interface AdminGetPromotionRuleTypeParams extends SelectParams {
|
23
|
+
promotion_type?: string;
|
24
|
+
application_method_type?: string;
|
25
|
+
}
|
26
|
+
export interface AdminGetPromotionsRuleValueParams extends FindParams {
|
27
|
+
q?: string;
|
28
|
+
value?: string | string[];
|
29
|
+
}
|
30
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,uBAAwB,SAAQ,YAAY;CAAG;AAEhE,MAAM,WAAW,wBACf,SAAQ,UAAU,EAChB,cAAc,CAAC,wBAAwB,CAAC;IAC1C,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,kBAAkB,CAAC,EAAE;QACnB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAClC,CAAA;IACD,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACjC,GAAG,CAAC,EAAE,wBAAwB,EAAE,CAAA;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC;AAED,MAAM,WAAW,iCAAkC,SAAQ,UAAU;IACnE,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BatchMethodResponse } from "../../../common";
|
2
|
-
import { PaginatedResponse } from "../../common";
|
2
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
3
3
|
import { AdminPromotion, AdminPromotionRule, AdminRuleAttributeOption, AdminRuleOperatorOption, AdminRuleValueOption } from "./entities";
|
4
4
|
export interface AdminPromotionResponse {
|
5
5
|
promotion: AdminPromotion;
|
@@ -38,4 +38,5 @@ export type AdminRuleValueOptionsListResponse = {
|
|
38
38
|
values: AdminRuleValueOption[];
|
39
39
|
};
|
40
40
|
export type AdminPromotionRuleBatchResponse = BatchMethodResponse<AdminPromotionRule>;
|
41
|
+
export type AdminPromotionDeleteResponse = DeleteResponse<"promotion">;
|
41
42
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +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;
|
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,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjE,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;AAErF,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ApplicationMethodAllocationValues, ApplicationMethodTargetTypeValues, ApplicationMethodTypeValues, PromotionRuleOperatorValues, PromotionTypeValues } from "../../promotion";
|
2
|
-
import {
|
2
|
+
import { AdminCampaign } from "../campaign";
|
3
3
|
export interface BasePromotionRule {
|
4
4
|
id: string;
|
5
5
|
description?: string | null;
|
@@ -29,7 +29,7 @@ export interface BasePromotion {
|
|
29
29
|
application_method?: BaseApplicationMethod;
|
30
30
|
rules?: BasePromotionRule[];
|
31
31
|
campaign_id?: string;
|
32
|
-
campaign?:
|
32
|
+
campaign?: AdminCampaign;
|
33
33
|
}
|
34
34
|
export interface BasePromotionRuleValue {
|
35
35
|
id: string;
|
@@ -1 +1 @@
|
|
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,
|
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;AAC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,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"}
|
@@ -1,5 +1,14 @@
|
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams } from "../../common";
|
1
3
|
import { BaseRegionCountryFilters, BaseRegionFilters } from "../common";
|
2
|
-
export interface AdminRegionFilters extends BaseRegionFilters {
|
4
|
+
export interface AdminRegionFilters extends FindParams, BaseFilterable<BaseRegionFilters> {
|
5
|
+
q?: string;
|
6
|
+
id?: string | string[];
|
7
|
+
code?: string | string[];
|
8
|
+
name?: string | string[];
|
9
|
+
created_at?: OperatorMap<string>;
|
10
|
+
updated_at?: OperatorMap<string>;
|
11
|
+
deleted_at?: OperatorMap<string>;
|
3
12
|
}
|
4
13
|
export interface AdminRegionCountryFilters extends BaseRegionCountryFilters {
|
5
14
|
}
|
@@ -1 +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;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,kBAAmB,SAAQ,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IACvF,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AACD,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
2
|
import { AdminRegion } from "./entities";
|
3
3
|
export interface AdminRegionResponse {
|
4
4
|
region: AdminRegion;
|
@@ -6,4 +6,5 @@ export interface AdminRegionResponse {
|
|
6
6
|
export type AdminRegionListResponse = PaginatedResponse<{
|
7
7
|
regions: AdminRegion[];
|
8
8
|
}>;
|
9
|
+
export type AdminRegionDeleteResponse = DeleteResponse<"region">;
|
9
10
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +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;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/region/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjE,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;AAEF,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
|
@@ -22,9 +22,8 @@ export interface BaseRegionCountry {
|
|
22
22
|
export interface BaseRegionFilters extends BaseFilterable<BaseRegionFilters> {
|
23
23
|
q?: string;
|
24
24
|
id?: string[] | string | OperatorMap<string | string[]>;
|
25
|
-
name?: string |
|
26
|
-
|
27
|
-
metadata?: Record<string, unknown> | OperatorMap<Record<string, unknown>>;
|
25
|
+
name?: string | string[];
|
26
|
+
code?: string | string[];
|
28
27
|
created_at?: OperatorMap<string>;
|
29
28
|
updated_at?: OperatorMap<string>;
|
30
29
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GA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K,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
export interface
|
1
|
+
export interface AdminReservation {
|
2
2
|
id: string;
|
3
3
|
line_item_id: string | null;
|
4
4
|
location_id: string;
|
5
|
-
quantity:
|
5
|
+
quantity: number;
|
6
6
|
external_id: string | null;
|
7
7
|
description: string | null;
|
8
8
|
inventory_item_id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -15,5 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./queries"), exports);
|
18
20
|
__exportStar(require("./responses"), exports);
|
19
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export interface AdminCreateReservation {
|
2
|
+
line_item_id?: string | null;
|
3
|
+
location_id: string;
|
4
|
+
inventory_item_id: string;
|
5
|
+
quantity: number;
|
6
|
+
description?: string | null;
|
7
|
+
metadata?: Record<string, unknown> | null;
|
8
|
+
}
|
9
|
+
export interface AdminUpdateReservation {
|
10
|
+
location_id?: string;
|
11
|
+
quantity?: number;
|
12
|
+
description?: string | null;
|
13
|
+
metadata?: Record<string, unknown> | null;
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/payloads.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { OperatorMap } from "../../../dal";
|
2
|
+
import { SelectParams } from "../../common";
|
3
|
+
export interface AdminGetReservationsParams {
|
4
|
+
limit?: number;
|
5
|
+
offset?: number;
|
6
|
+
location_id?: string | string[];
|
7
|
+
inventory_item_id?: string | string[];
|
8
|
+
line_item_id?: string | string[];
|
9
|
+
created_by?: string | string[];
|
10
|
+
description?: string | OperatorMap<string>;
|
11
|
+
created_at?: OperatorMap<string>;
|
12
|
+
updated_at?: OperatorMap<string>;
|
13
|
+
deleted_at?: OperatorMap<string>;
|
14
|
+
}
|
15
|
+
export interface AdminReservationParams extends SelectParams {
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,WAAW,0BAA0B;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC1C,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,sBAAuB,SAAQ,YAAY;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
2
|
-
import {
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
|
+
import { AdminReservation } from "./entities";
|
3
3
|
export interface AdminReservationResponse {
|
4
|
-
reservation:
|
4
|
+
reservation: AdminReservation;
|
5
5
|
}
|
6
6
|
export type AdminReservationListResponse = PaginatedResponse<{
|
7
|
-
reservations:
|
7
|
+
reservations: AdminReservation[];
|
8
8
|
}>;
|
9
|
+
export type AdminReservationDeleteResponse = DeleteResponse<"reservation">;
|
9
10
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,gBAAgB,CAAA;CAC9B;AAED,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D,YAAY,EAAE,gBAAgB,EAAE,CAAA;CACjC,CAAC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,cAAc,CAAC,aAAa,CAAC,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OrderDTO } from "../../../order";
|
2
|
-
import { PaginatedResponse } from "../../common";
|
2
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
3
3
|
import { AdminOrderPreview } from "../../order";
|
4
4
|
import { AdminReturn } from "./entities";
|
5
5
|
export interface AdminReturnResponse {
|
@@ -16,4 +16,5 @@ export interface AdminReturnPreviewResponse {
|
|
16
16
|
order_preview: AdminOrderPreview;
|
17
17
|
return: AdminReturn;
|
18
18
|
}
|
19
|
+
export type AdminReturnDeleteResponse = DeleteResponse<"return">;
|
19
20
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/return/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,QAAQ,CAAA;IACf,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE,iBAAiB,CAAA;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
|
@@ -2,6 +2,7 @@ export interface BaseReturnItem {
|
|
2
2
|
id: string;
|
3
3
|
quantity: number;
|
4
4
|
received_quantity: number;
|
5
|
+
damaged_quantity: number;
|
5
6
|
reason_id?: string;
|
6
7
|
note?: string;
|
7
8
|
item_id: string;
|
@@ -22,5 +23,6 @@ export interface BaseReturn {
|
|
22
23
|
items: BaseReturnItem[];
|
23
24
|
received_at: string;
|
24
25
|
created_at: string;
|
26
|
+
canceled_at: string;
|
25
27
|
}
|
26
28
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/return/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;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AAW,EAAE,MAAM,CAAA;CACpB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
18
19
|
__exportStar(require("./responses"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/return/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/return/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
interface StoreCreateReturnItem {
|
2
|
+
id: string;
|
3
|
+
quantity: number;
|
4
|
+
reason_id?: string | null;
|
5
|
+
note?: string | null;
|
6
|
+
}
|
7
|
+
interface StoreCreateReturnShipping {
|
8
|
+
option_id: string;
|
9
|
+
price?: number;
|
10
|
+
}
|
11
|
+
export interface StoreCreateReturn {
|
12
|
+
order_id: string;
|
13
|
+
items: StoreCreateReturnItem[];
|
14
|
+
return_shipping: StoreCreateReturnShipping;
|
15
|
+
note?: string | null;
|
16
|
+
receive_now?: boolean;
|
17
|
+
location_id?: string | null;
|
18
|
+
}
|
19
|
+
export {};
|
20
|
+
//# sourceMappingURL=payloads.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/return/store/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,UAAU,yBAAyB;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,eAAe,EAAE,yBAAyB,CAAA;IAC1C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/return/store/payloads.ts"],"names":[],"mappings":""}
|
@@ -3,11 +3,13 @@ import { FindParams } from "../../common";
|
|
3
3
|
export interface AdminShippingOptionListParams extends FindParams {
|
4
4
|
id?: string | string[];
|
5
5
|
q?: string;
|
6
|
-
service_zone_id?: string;
|
6
|
+
service_zone_id?: string | string[];
|
7
7
|
stock_location_id?: string | string[];
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
is_return?: boolean;
|
9
|
+
admin_only?: boolean;
|
10
|
+
shipping_profile_id?: string | string[];
|
11
|
+
provider_id?: string | string[];
|
12
|
+
shipping_option_type_id?: string | string[];
|
11
13
|
created_at?: OperatorMap<string>;
|
12
14
|
updated_at?: OperatorMap<string>;
|
13
15
|
deleted_at?: OperatorMap<string>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,eAAe,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,6BAA8B,SAAQ,UAAU;IAC/D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,uBAAuB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3C,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./queries"), exports);
|
18
19
|
__exportStar(require("./responses"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/shipping-option/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/shipping-option/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,0BAA2B,SAC1C,UAAU,EAAE,cAAc,CAAC,0BAA0B,CAAC;IACpD,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/queries.ts"],"names":[],"mappings":""}
|