@medusajs/medusa 1.3.6 → 1.3.8-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +19 -0
- package/dist/api/routes/admin/discounts/create-condition.d.ts +2 -2
- package/dist/api/routes/admin/discounts/create-condition.js +2 -2
- package/dist/api/routes/admin/discounts/update-condition.d.ts +2 -2
- package/dist/api/routes/admin/discounts/update-condition.js +2 -2
- package/dist/api/routes/admin/gift-cards/update-gift-card.d.ts +2 -2
- package/dist/api/routes/admin/gift-cards/update-gift-card.js +2 -2
- package/dist/api/routes/admin/orders/create-swap-shipment.d.ts +1 -1
- package/dist/api/routes/admin/orders/create-swap-shipment.js +1 -1
- package/dist/api/routes/admin/orders/fulfill-swap.d.ts +1 -1
- package/dist/api/routes/admin/orders/fulfill-swap.js.map +1 -1
- package/dist/api/routes/admin/products/create-product.d.ts +1 -1
- package/dist/api/routes/admin/products/create-product.js +1 -1
- package/dist/api/routes/admin/products/update-variant.d.ts +1 -1
- package/dist/api/routes/admin/products/update-variant.js +1 -1
- package/dist/api/routes/admin/swaps/list-swaps.js +1 -1
- package/dist/api/routes/admin/swaps/list-swaps.js.map +1 -1
- package/dist/api/routes/store/customers/list-orders.d.ts +94 -7
- package/dist/api/routes/store/customers/list-orders.js +96 -9
- package/dist/api/routes/store/customers/list-orders.js.map +1 -1
- package/dist/api/routes/store/swaps/index.d.ts +2 -1
- package/dist/api/routes/store/swaps/index.js.map +1 -1
- package/dist/commands/develop.js +3 -0
- package/dist/commands/develop.js.map +1 -1
- package/dist/loaders/strategies.js +9 -1
- package/dist/loaders/strategies.js.map +1 -1
- package/dist/migrations/1661863940645-swap_fulfillment_status_requires_action.d.ts +6 -0
- package/dist/migrations/1661863940645-swap_fulfillment_status_requires_action.js +89 -0
- package/dist/migrations/1661863940645-swap_fulfillment_status_requires_action.js.map +1 -0
- package/dist/models/shipping-method-tax-line.d.ts +4 -4
- package/dist/models/shipping-method-tax-line.js +4 -4
- package/dist/models/shipping-method.d.ts +1 -1
- package/dist/models/shipping-method.js +1 -1
- package/dist/models/swap.d.ts +2 -1
- package/dist/models/swap.js +2 -1
- package/dist/models/swap.js.map +1 -1
- package/dist/repositories/sales-channel.d.ts +3 -1
- package/dist/repositories/sales-channel.js +123 -0
- package/dist/repositories/sales-channel.js.map +1 -1
- package/dist/services/batch-job.js.map +1 -1
- package/dist/services/cart.d.ts +0 -7
- package/dist/services/cart.js +10 -58
- package/dist/services/cart.js.map +1 -1
- package/dist/services/csv-parser.d.ts +1 -3
- package/dist/services/csv-parser.js +4 -4
- package/dist/services/csv-parser.js.map +1 -1
- package/dist/services/event-bus.d.ts +4 -4
- package/dist/services/line-item.d.ts +8 -0
- package/dist/services/line-item.js +9 -0
- package/dist/services/line-item.js.map +1 -1
- package/dist/services/product-variant.d.ts +2 -2
- package/dist/services/product-variant.js +43 -35
- package/dist/services/product-variant.js.map +1 -1
- package/dist/services/product.d.ts +9 -1
- package/dist/services/product.js +36 -15
- package/dist/services/product.js.map +1 -1
- package/dist/services/region.d.ts +7 -0
- package/dist/services/region.js +22 -0
- package/dist/services/region.js.map +1 -1
- package/dist/services/sales-channel.d.ts +19 -1
- package/dist/services/sales-channel.js +64 -14
- package/dist/services/sales-channel.js.map +1 -1
- package/dist/services/swap.d.ts +152 -168
- package/dist/services/swap.js +898 -878
- package/dist/services/swap.js.map +1 -1
- package/dist/services/tax-provider.d.ts +1 -1
- package/dist/services/user.d.ts +1 -7
- package/dist/services/user.js +3 -15
- package/dist/services/user.js.map +1 -1
- package/dist/strategies/batch-jobs/product/import.d.ts +140 -0
- package/dist/strategies/batch-jobs/product/import.js +1162 -0
- package/dist/strategies/batch-jobs/product/import.js.map +1 -0
- package/dist/strategies/batch-jobs/product/types.d.ts +47 -0
- package/dist/strategies/batch-jobs/product/types.js +14 -0
- package/dist/strategies/batch-jobs/product/types.js.map +1 -0
- package/dist/strategies/batch-jobs/product/utils.d.ts +15 -0
- package/dist/strategies/batch-jobs/product/utils.js +44 -0
- package/dist/strategies/batch-jobs/product/utils.js.map +1 -0
- package/dist/subscribers/batch-job.js +28 -8
- package/dist/subscribers/batch-job.js.map +1 -1
- package/dist/types/fulfillment.d.ts +4 -2
- package/dist/utils/is-email.d.ts +6 -0
- package/dist/utils/is-email.js +19 -0
- package/dist/utils/is-email.js.map +1 -0
- package/package.json +3 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[
|
|
1
|
+
[33m@medusajs/medusa:build[0m: cache hit, replaying output [2md38537986315da38[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.3.8-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2069](https://github.com/medusajs/medusa/pull/2069) [`ad717b953`](https://github.com/medusajs/medusa/commit/ad717b9533a0500e20c4e312d1ee48b35ea9d5e1) Thanks [@olivermrbl](https://github.com/olivermrbl)! - Remove deprecated dependency `@hapi/joi`
|
|
8
|
+
|
|
9
|
+
* [#1846](https://github.com/medusajs/medusa/pull/1846) [`d14a0398f`](https://github.com/medusajs/medusa/commit/d14a0398fb884a1cd472c147af8ff5fa6fdbe4cb) Thanks [@olivermrbl](https://github.com/olivermrbl)! - Fixes an error thrown when deleting product options on a product without variants
|
|
10
|
+
|
|
11
|
+
- [#2000](https://github.com/medusajs/medusa/pull/2000) [`ba6416f09`](https://github.com/medusajs/medusa/commit/ba6416f095e465cc07e35bfc6d6f311c12f57574) Thanks [@fPolic](https://github.com/fPolic)! - Convert SwapService to TypeScript
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`ad717b953`](https://github.com/medusajs/medusa/commit/ad717b9533a0500e20c4e312d1ee48b35ea9d5e1)]:
|
|
14
|
+
- @medusajs/medusa-cli@1.3.3-alpha.0
|
|
15
|
+
|
|
16
|
+
## 1.3.7
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#2105](https://github.com/medusajs/medusa/pull/2105) [`846ae637e`](https://github.com/medusajs/medusa/commit/846ae637e2be6d557df37f45421da689127b9da6) Thanks [@carlos-r-l-rodrigues](https://github.com/carlos-r-l-rodrigues)! - Fix development hot reload on Windows
|
|
21
|
+
|
|
3
22
|
## 1.3.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -3,13 +3,13 @@ import { AdminUpsertConditionsReq } from "../../../../types/discount";
|
|
|
3
3
|
/**
|
|
4
4
|
* @oas [post] /discounts/{discount_id}/conditions
|
|
5
5
|
* operationId: "PostDiscountsDiscountConditions"
|
|
6
|
-
* summary: "
|
|
6
|
+
* summary: "Create a DiscountCondition"
|
|
7
|
+
* description: "Creates a DiscountCondition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided."
|
|
7
8
|
* x-authenticated: true
|
|
8
9
|
* parameters:
|
|
9
10
|
* - (path) discount_id=* {string} The ID of the Product.
|
|
10
11
|
* - (query) expand {string} (Comma separated) Which fields should be expanded in each product of the result.
|
|
11
12
|
* - (query) fields {string} (Comma separated) Which fields should be included in each product of the result.
|
|
12
|
-
* description: "Creates a DiscountCondition"
|
|
13
13
|
* requestBody:
|
|
14
14
|
* content:
|
|
15
15
|
* application/json:
|
|
@@ -81,13 +81,13 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
81
81
|
/**
|
|
82
82
|
* @oas [post] /discounts/{discount_id}/conditions
|
|
83
83
|
* operationId: "PostDiscountsDiscountConditions"
|
|
84
|
-
* summary: "
|
|
84
|
+
* summary: "Create a DiscountCondition"
|
|
85
|
+
* description: "Creates a DiscountCondition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided."
|
|
85
86
|
* x-authenticated: true
|
|
86
87
|
* parameters:
|
|
87
88
|
* - (path) discount_id=* {string} The ID of the Product.
|
|
88
89
|
* - (query) expand {string} (Comma separated) Which fields should be expanded in each product of the result.
|
|
89
90
|
* - (query) fields {string} (Comma separated) Which fields should be included in each product of the result.
|
|
90
|
-
* description: "Creates a DiscountCondition"
|
|
91
91
|
* requestBody:
|
|
92
92
|
* content:
|
|
93
93
|
* application/json:
|
|
@@ -2,14 +2,14 @@ import { AdminUpsertConditionsReq } from "../../../../types/discount";
|
|
|
2
2
|
/**
|
|
3
3
|
* @oas [post] /discounts/{discount_id}/conditions/{condition_id}
|
|
4
4
|
* operationId: "PostDiscountsDiscountConditionsCondition"
|
|
5
|
-
* summary: "
|
|
5
|
+
* summary: "Update a DiscountCondition"
|
|
6
|
+
* description: "Updates a DiscountCondition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided."
|
|
6
7
|
* x-authenticated: true
|
|
7
8
|
* parameters:
|
|
8
9
|
* - (path) discount_id=* {string} The ID of the Product.
|
|
9
10
|
* - (path) condition_id=* {string} The ID of the DiscountCondition.
|
|
10
11
|
* - (query) expand {string} (Comma separated) Which fields should be expanded in each item of the result.
|
|
11
12
|
* - (query) fields {string} (Comma separated) Which fields should be included in each item of the result.
|
|
12
|
-
* description: "Updates a DiscountCondition"
|
|
13
13
|
* requestBody:
|
|
14
14
|
* content:
|
|
15
15
|
* application/json:
|
|
@@ -80,14 +80,14 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
80
80
|
/**
|
|
81
81
|
* @oas [post] /discounts/{discount_id}/conditions/{condition_id}
|
|
82
82
|
* operationId: "PostDiscountsDiscountConditionsCondition"
|
|
83
|
-
* summary: "
|
|
83
|
+
* summary: "Update a DiscountCondition"
|
|
84
|
+
* description: "Updates a DiscountCondition. Only one of `products`, `product_types`, `product_collections`, `product_tags`, and `customer_groups` should be provided."
|
|
84
85
|
* x-authenticated: true
|
|
85
86
|
* parameters:
|
|
86
87
|
* - (path) discount_id=* {string} The ID of the Product.
|
|
87
88
|
* - (path) condition_id=* {string} The ID of the DiscountCondition.
|
|
88
89
|
* - (query) expand {string} (Comma separated) Which fields should be expanded in each item of the result.
|
|
89
90
|
* - (query) fields {string} (Comma separated) Which fields should be included in each item of the result.
|
|
90
|
-
* description: "Updates a DiscountCondition"
|
|
91
91
|
* requestBody:
|
|
92
92
|
* content:
|
|
93
93
|
* application/json:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @oas [post] /gift-cards/{id}
|
|
3
3
|
* operationId: "PostGiftCardsGiftCard"
|
|
4
|
-
* summary: "
|
|
5
|
-
* description: "
|
|
4
|
+
* summary: "Update a Gift Card"
|
|
5
|
+
* description: "Update a Gift Card that can redeemed by its unique code. The Gift Card is only valid within 1 region."
|
|
6
6
|
* x-authenticated: true
|
|
7
7
|
* parameters:
|
|
8
8
|
* - (path) id=* {string} The ID of the Gift Card.
|
|
@@ -53,8 +53,8 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
53
53
|
/**
|
|
54
54
|
* @oas [post] /gift-cards/{id}
|
|
55
55
|
* operationId: "PostGiftCardsGiftCard"
|
|
56
|
-
* summary: "
|
|
57
|
-
* description: "
|
|
56
|
+
* summary: "Update a Gift Card"
|
|
57
|
+
* description: "Update a Gift Card that can redeemed by its unique code. The Gift Card is only valid within 1 region."
|
|
58
58
|
* x-authenticated: true
|
|
59
59
|
* parameters:
|
|
60
60
|
* - (path) id=* {string} The ID of the Gift Card.
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* items:
|
|
24
24
|
* type: string
|
|
25
25
|
* no_notification:
|
|
26
|
-
* description: If set to true no notification will be
|
|
26
|
+
* description: If set to true no notification will be sent related to this Claim.
|
|
27
27
|
* type: boolean
|
|
28
28
|
* tags:
|
|
29
29
|
* - Swap
|
|
@@ -74,7 +74,7 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
74
74
|
* items:
|
|
75
75
|
* type: string
|
|
76
76
|
* no_notification:
|
|
77
|
-
* description: If set to true no notification will be
|
|
77
|
+
* description: If set to true no notification will be sent related to this Claim.
|
|
78
78
|
* type: boolean
|
|
79
79
|
* tags:
|
|
80
80
|
* - Swap
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fulfill-swap.js","sourceRoot":"","sources":["../../../../../src/api/routes/admin/orders/fulfill-swap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAiE;AAEjE,sBAAyE;AAGzE,yDAAuD;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,mBAAe,UAAO,GAAG,EAAE,GAAG;;;;;gBACtB,KAAkB,GAAG,CAAC,MAAM,EAA1B,EAAE,QAAA,EAAE,OAAO,aAAA,CAAe;gBAEhB,qBAAM,IAAA,qBAAS,EAC/B,4CAA4C,EAC5C,GAAG,CAAC,IAAI,CACT,EAAA;;gBAHK,SAAS,GAAG,SAGjB;gBAEK,YAAY,GAAiB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,CAAA;gBAC9D,WAAW,GAAgB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;gBAC3D,aAAa,GAAkB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;gBAEjE,qBAAM,aAAa,CAAC,WAAW,CAAC,UAAO,OAAO;;;wCAC5C,qBAAM,WAAW,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,OAAO,EAAE;wCACpE,QAAQ,EAAE,SAAS,CAAC,QAAQ;wCAC5B,eAAe,EAAE,SAAS,CAAC,eAAe;qCAC3C,CAAC,EAAA;;oCAHF,SAGE,CAAA;;;;yBACH,CAAC,EAAA;;gBALF,SAKE,CAAA;gBAEY,qBAAM,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE;wBAC5C,MAAM,EAAE,2BAAwB;wBAChC,SAAS,EAAE,8BAA2B;qBACvC,CAAC,EAAA;;gBA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M,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE;wBAC5C,MAAM,EAAE,2BAAwB;wBAChC,SAAS,EAAE,8BAA2B;qBACvC,CAAC,EAAA;;gBAHI,KAAK,GAAG,SAGZ;gBAEF,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,OAAA,EAAE,CAAC,CAAA;;;;KAChC,EAAA;AAED;IAAA;IAQA,CAAC;IALC;QAFC,IAAA,0BAAQ,GAAE;QACV,IAAA,4BAAU,GAAE;;kFACqB;IAIlC;QAFC,IAAA,2BAAS,GAAE;QACX,IAAA,4BAAU,GAAE;;yFACY;IAC3B,mDAAC;CAAA,AARD,IAQC;AARY,oGAA4C"}
|
|
@@ -188,7 +188,7 @@ import { ProductStatus } from "../../../../models";
|
|
|
188
188
|
* description: The value to give for the Product Option at the same index in the Product's `options` field.
|
|
189
189
|
* type: string
|
|
190
190
|
* weight:
|
|
191
|
-
* description: The
|
|
191
|
+
* description: The weight of the Product.
|
|
192
192
|
* type: number
|
|
193
193
|
* length:
|
|
194
194
|
* description: The length of the Product.
|
|
@@ -283,7 +283,7 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
283
283
|
* description: The value to give for the Product Option at the same index in the Product's `options` field.
|
|
284
284
|
* type: string
|
|
285
285
|
* weight:
|
|
286
|
-
* description: The
|
|
286
|
+
* description: The weight of the Product.
|
|
287
287
|
* type: number
|
|
288
288
|
* length:
|
|
289
289
|
* description: The length of the Product.
|
|
@@ -41,7 +41,7 @@ import { ProductVariantPricesUpdateReq } from "../../../../types/product-variant
|
|
|
41
41
|
* description: Whether Medusa should keep track of the inventory for this Product Variant.
|
|
42
42
|
* type: boolean
|
|
43
43
|
* weight:
|
|
44
|
-
* description: The
|
|
44
|
+
* description: The weight of the Product Variant.
|
|
45
45
|
* type: number
|
|
46
46
|
* length:
|
|
47
47
|
* description: The length of the Product Variant.
|
|
@@ -121,7 +121,7 @@ var validator_1 = require("../../../../utils/validator");
|
|
|
121
121
|
* description: Whether Medusa should keep track of the inventory for this Product Variant.
|
|
122
122
|
* type: boolean
|
|
123
123
|
* weight:
|
|
124
|
-
* description: The
|
|
124
|
+
* description: The weight of the Product Variant.
|
|
125
125
|
* type: number
|
|
126
126
|
* length:
|
|
127
127
|
* description: The length of the Product Variant.
|
|
@@ -57,8 +57,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
57
57
|
};
|
|
58
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
59
|
exports.AdminGetSwapsParams = void 0;
|
|
60
|
-
var class_validator_1 = require("class-validator");
|
|
61
60
|
var class_transformer_1 = require("class-transformer");
|
|
61
|
+
var class_validator_1 = require("class-validator");
|
|
62
62
|
var validator_1 = require("../../../../utils/validator");
|
|
63
63
|
/**
|
|
64
64
|
* @oas [get] /swaps
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-swaps.js","sourceRoot":"","sources":["../../../../../src/api/routes/admin/swaps/list-swaps.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAmD;AAGnD,
|
|
1
|
+
{"version":3,"file":"list-swaps.js","sourceRoot":"","sources":["../../../../../src/api/routes/admin/swaps/list-swaps.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAwC;AACxC,mDAAmD;AAGnD,yDAAuD;AAIvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,mBAAe,UAAO,GAAG,EAAE,GAAG;;;;;gBACtB,WAAW,GAAgB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;gBAEvC,qBAAM,IAAA,qBAAS,EAAC,mBAAmB,EAAE,GAAG,CAAC,KAAK,CAAC,EAAA;;gBAAnE,KAAoB,SAA+C,EAAjE,MAAM,YAAA,EAAE,KAAK,WAAA;gBAEf,QAAQ,GAAG,EAAE,CAAA;gBAEb,UAAU,GAAqB;oBACnC,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,KAAK;oBACX,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE;iBAC9B,CAAA;gBAEa,qBAAM,WAAW,CAAC,IAAI,CAAC,QAAQ,eAAO,UAAU,EAAG,EAAA;;gBAA3D,KAAK,GAAG,SAAmD;gBAEjE,GAAG,CAAC,IAAI,CAAC,EAAE,KAAK,OAAA,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,QAAA,EAAE,KAAK,OAAA,EAAE,CAAC,CAAA;;;;KACxD,EAAA;AAED;IAAA;QAIE,UAAK,GAAY,EAAE,CAAA;QAKnB,WAAM,GAAY,CAAC,CAAA;IACrB,CAAC;IANC;QAHC,IAAA,uBAAK,GAAE;QACP,IAAA,4BAAU,GAAE;QACZ,IAAA,wBAAI,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC;;sDACA;IAKnB;QAHC,IAAA,uBAAK,GAAE;QACP,IAAA,4BAAU,GAAE;QACZ,IAAA,wBAAI,EAAC,cAAM,OAAA,MAAM,EAAN,CAAM,CAAC;;uDACA;IACrB,0BAAC;CAAA,AAVD,IAUC;AAVY,kDAAmB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Request, Response } from "express";
|
|
2
1
|
import { FulfillmentStatus, OrderStatus, PaymentStatus } from "../../../../models/order";
|
|
2
|
+
import { Request, Response } from "express";
|
|
3
3
|
import { DateComparisonOperator } from "../../../../types/common";
|
|
4
4
|
/**
|
|
5
5
|
* @oas [get] /customers/me/orders
|
|
@@ -10,18 +10,105 @@ import { DateComparisonOperator } from "../../../../types/common";
|
|
|
10
10
|
* parameters:
|
|
11
11
|
* - (query) q {string} Query used for searching orders.
|
|
12
12
|
* - (query) id {string} Id of the order to search for.
|
|
13
|
-
* -
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* - in: query
|
|
14
|
+
* name: status
|
|
15
|
+
* style: form
|
|
16
|
+
* explode: false
|
|
17
|
+
* description: Status to search for.
|
|
18
|
+
* schema:
|
|
19
|
+
* type: array
|
|
20
|
+
* items:
|
|
21
|
+
* type: string
|
|
22
|
+
* - in: query
|
|
23
|
+
* name: fulfillment_status
|
|
24
|
+
* style: form
|
|
25
|
+
* explode: false
|
|
26
|
+
* description: Fulfillment status to search for.
|
|
27
|
+
* schema:
|
|
28
|
+
* type: array
|
|
29
|
+
* items:
|
|
30
|
+
* type: string
|
|
31
|
+
* - in: query
|
|
32
|
+
* name: payment_status
|
|
33
|
+
* style: form
|
|
34
|
+
* explode: false
|
|
35
|
+
* description: Payment status to search for.
|
|
36
|
+
* schema:
|
|
37
|
+
* type: array
|
|
38
|
+
* items:
|
|
39
|
+
* type: string
|
|
16
40
|
* - (query) display_id {string} Display id to search for.
|
|
17
41
|
* - (query) cart_id {string} to search for.
|
|
18
42
|
* - (query) email {string} to search for.
|
|
19
43
|
* - (query) region_id {string} to search for.
|
|
20
44
|
* - (query) currency_code {string} to search for.
|
|
21
45
|
* - (query) tax_rate {string} to search for.
|
|
22
|
-
* -
|
|
23
|
-
*
|
|
24
|
-
*
|
|
46
|
+
* - in: query
|
|
47
|
+
* name: created_at
|
|
48
|
+
* description: Date comparison for when resulting collections were created.
|
|
49
|
+
* schema:
|
|
50
|
+
* type: object
|
|
51
|
+
* properties:
|
|
52
|
+
* lt:
|
|
53
|
+
* type: string
|
|
54
|
+
* description: filter by dates less than this date
|
|
55
|
+
* format: date
|
|
56
|
+
* gt:
|
|
57
|
+
* type: string
|
|
58
|
+
* description: filter by dates greater than this date
|
|
59
|
+
* format: date
|
|
60
|
+
* lte:
|
|
61
|
+
* type: string
|
|
62
|
+
* description: filter by dates less than or equal to this date
|
|
63
|
+
* format: date
|
|
64
|
+
* gte:
|
|
65
|
+
* type: string
|
|
66
|
+
* description: filter by dates greater than or equal to this date
|
|
67
|
+
* format: date
|
|
68
|
+
* - in: query
|
|
69
|
+
* name: updated_at
|
|
70
|
+
* description: Date comparison for when resulting collections were updated.
|
|
71
|
+
* schema:
|
|
72
|
+
* type: object
|
|
73
|
+
* properties:
|
|
74
|
+
* lt:
|
|
75
|
+
* type: string
|
|
76
|
+
* description: filter by dates less than this date
|
|
77
|
+
* format: date
|
|
78
|
+
* gt:
|
|
79
|
+
* type: string
|
|
80
|
+
* description: filter by dates greater than this date
|
|
81
|
+
* format: date
|
|
82
|
+
* lte:
|
|
83
|
+
* type: string
|
|
84
|
+
* description: filter by dates less than or equal to this date
|
|
85
|
+
* format: date
|
|
86
|
+
* gte:
|
|
87
|
+
* type: string
|
|
88
|
+
* description: filter by dates greater than or equal to this date
|
|
89
|
+
* format: date
|
|
90
|
+
* - in: query
|
|
91
|
+
* name: canceled_at
|
|
92
|
+
* description: Date comparison for when resulting collections were canceled.
|
|
93
|
+
* schema:
|
|
94
|
+
* type: object
|
|
95
|
+
* properties:
|
|
96
|
+
* lt:
|
|
97
|
+
* type: string
|
|
98
|
+
* description: filter by dates less than this date
|
|
99
|
+
* format: date
|
|
100
|
+
* gt:
|
|
101
|
+
* type: string
|
|
102
|
+
* description: filter by dates greater than this date
|
|
103
|
+
* format: date
|
|
104
|
+
* lte:
|
|
105
|
+
* type: string
|
|
106
|
+
* description: filter by dates less than or equal to this date
|
|
107
|
+
* format: date
|
|
108
|
+
* gte:
|
|
109
|
+
* type: string
|
|
110
|
+
* description: filter by dates greater than or equal to this date
|
|
111
|
+
* format: date
|
|
25
112
|
* - (query) limit=10 {integer} How many orders to return.
|
|
26
113
|
* - (query) offset=0 {integer} The offset in the resulting orders.
|
|
27
114
|
* - (query) fields {string} (Comma separated string) Which fields should be included in the resulting orders.
|
|
@@ -88,11 +88,11 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
88
88
|
};
|
|
89
89
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
90
90
|
exports.StoreGetCustomersCustomerOrdersParams = exports.StoreGetCustomersCustomerOrdersPaginationParams = void 0;
|
|
91
|
-
var class_transformer_1 = require("class-transformer");
|
|
92
|
-
var class_validator_1 = require("class-validator");
|
|
93
|
-
var medusa_core_utils_1 = require("medusa-core-utils");
|
|
94
91
|
var order_1 = require("../../../../models/order");
|
|
92
|
+
var class_validator_1 = require("class-validator");
|
|
95
93
|
var common_1 = require("../../../../types/common");
|
|
94
|
+
var medusa_core_utils_1 = require("medusa-core-utils");
|
|
95
|
+
var class_transformer_1 = require("class-transformer");
|
|
96
96
|
/**
|
|
97
97
|
* @oas [get] /customers/me/orders
|
|
98
98
|
* operationId: GetCustomersCustomerOrders
|
|
@@ -102,18 +102,105 @@ var common_1 = require("../../../../types/common");
|
|
|
102
102
|
* parameters:
|
|
103
103
|
* - (query) q {string} Query used for searching orders.
|
|
104
104
|
* - (query) id {string} Id of the order to search for.
|
|
105
|
-
* -
|
|
106
|
-
*
|
|
107
|
-
*
|
|
105
|
+
* - in: query
|
|
106
|
+
* name: status
|
|
107
|
+
* style: form
|
|
108
|
+
* explode: false
|
|
109
|
+
* description: Status to search for.
|
|
110
|
+
* schema:
|
|
111
|
+
* type: array
|
|
112
|
+
* items:
|
|
113
|
+
* type: string
|
|
114
|
+
* - in: query
|
|
115
|
+
* name: fulfillment_status
|
|
116
|
+
* style: form
|
|
117
|
+
* explode: false
|
|
118
|
+
* description: Fulfillment status to search for.
|
|
119
|
+
* schema:
|
|
120
|
+
* type: array
|
|
121
|
+
* items:
|
|
122
|
+
* type: string
|
|
123
|
+
* - in: query
|
|
124
|
+
* name: payment_status
|
|
125
|
+
* style: form
|
|
126
|
+
* explode: false
|
|
127
|
+
* description: Payment status to search for.
|
|
128
|
+
* schema:
|
|
129
|
+
* type: array
|
|
130
|
+
* items:
|
|
131
|
+
* type: string
|
|
108
132
|
* - (query) display_id {string} Display id to search for.
|
|
109
133
|
* - (query) cart_id {string} to search for.
|
|
110
134
|
* - (query) email {string} to search for.
|
|
111
135
|
* - (query) region_id {string} to search for.
|
|
112
136
|
* - (query) currency_code {string} to search for.
|
|
113
137
|
* - (query) tax_rate {string} to search for.
|
|
114
|
-
* -
|
|
115
|
-
*
|
|
116
|
-
*
|
|
138
|
+
* - in: query
|
|
139
|
+
* name: created_at
|
|
140
|
+
* description: Date comparison for when resulting collections were created.
|
|
141
|
+
* schema:
|
|
142
|
+
* type: object
|
|
143
|
+
* properties:
|
|
144
|
+
* lt:
|
|
145
|
+
* type: string
|
|
146
|
+
* description: filter by dates less than this date
|
|
147
|
+
* format: date
|
|
148
|
+
* gt:
|
|
149
|
+
* type: string
|
|
150
|
+
* description: filter by dates greater than this date
|
|
151
|
+
* format: date
|
|
152
|
+
* lte:
|
|
153
|
+
* type: string
|
|
154
|
+
* description: filter by dates less than or equal to this date
|
|
155
|
+
* format: date
|
|
156
|
+
* gte:
|
|
157
|
+
* type: string
|
|
158
|
+
* description: filter by dates greater than or equal to this date
|
|
159
|
+
* format: date
|
|
160
|
+
* - in: query
|
|
161
|
+
* name: updated_at
|
|
162
|
+
* description: Date comparison for when resulting collections were updated.
|
|
163
|
+
* schema:
|
|
164
|
+
* type: object
|
|
165
|
+
* properties:
|
|
166
|
+
* lt:
|
|
167
|
+
* type: string
|
|
168
|
+
* description: filter by dates less than this date
|
|
169
|
+
* format: date
|
|
170
|
+
* gt:
|
|
171
|
+
* type: string
|
|
172
|
+
* description: filter by dates greater than this date
|
|
173
|
+
* format: date
|
|
174
|
+
* lte:
|
|
175
|
+
* type: string
|
|
176
|
+
* description: filter by dates less than or equal to this date
|
|
177
|
+
* format: date
|
|
178
|
+
* gte:
|
|
179
|
+
* type: string
|
|
180
|
+
* description: filter by dates greater than or equal to this date
|
|
181
|
+
* format: date
|
|
182
|
+
* - in: query
|
|
183
|
+
* name: canceled_at
|
|
184
|
+
* description: Date comparison for when resulting collections were canceled.
|
|
185
|
+
* schema:
|
|
186
|
+
* type: object
|
|
187
|
+
* properties:
|
|
188
|
+
* lt:
|
|
189
|
+
* type: string
|
|
190
|
+
* description: filter by dates less than this date
|
|
191
|
+
* format: date
|
|
192
|
+
* gt:
|
|
193
|
+
* type: string
|
|
194
|
+
* description: filter by dates greater than this date
|
|
195
|
+
* format: date
|
|
196
|
+
* lte:
|
|
197
|
+
* type: string
|
|
198
|
+
* description: filter by dates less than or equal to this date
|
|
199
|
+
* format: date
|
|
200
|
+
* gte:
|
|
201
|
+
* type: string
|
|
202
|
+
* description: filter by dates greater than or equal to this date
|
|
203
|
+
* format: date
|
|
117
204
|
* - (query) limit=10 {integer} How many orders to return.
|
|
118
205
|
* - (query) offset=0 {integer} The offset in the resulting orders.
|
|
119
206
|
* - (query) fields {string} (Comma separated string) Which fields should be included in the resulting orders.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-orders.js","sourceRoot":"","sources":["../../../../../src/api/routes/store/customers/list-orders.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"list-orders.js","sourceRoot":"","sources":["../../../../../src/api/routes/store/customers/list-orders.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AACjC,mDAMwB;AAGxB,mDAAiE;AACjE,uDAA+C;AAE/C,uDAAwC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsIG;AACH,mBAAe,UAAO,GAAY,EAAE,GAAa;;;;;;gBACzC,EAAE,GAAuB,MAAA,GAAG,CAAC,IAAI,0CAAE,WAAW,CAAA;gBAEpD,IAAI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AC,cAAM,OAAA,+BAAsB,EAAtB,CAAsB,CAAC;kCACrB,+BAAsB;8EAAA;IACtC,4CAAC;CAAA,AA3DD,CAA2D,+CAA+C,GA2DzG;AA3DY,sFAAqC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Swap } from "./../../../../";
|
|
2
|
+
import { FindConfig } from "../../../../types/common";
|
|
2
3
|
declare const _default: (app: any) => any;
|
|
3
4
|
export default _default;
|
|
4
5
|
export declare const defaultStoreSwapRelations: string[];
|
|
5
|
-
export declare const defaultStoreSwapFields:
|
|
6
|
+
export declare const defaultStoreSwapFields: FindConfig<Swap>["select"];
|
|
6
7
|
export declare type StoreSwapsRes = {
|
|
7
8
|
swap: Swap;
|
|
8
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/routes/store/swaps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/routes/store/swaps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,mCAAgC;AAGhC,qEAA8C;AAG9C,IAAM,KAAK,GAAG,IAAA,gBAAM,GAAE,CAAA;AAEtB,mBAAe,UAAC,GAAG;IACjB,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;IAExB,KAAK,CAAC,GAAG,CACP,WAAW,EACX,qBAAW,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,CACxD,CAAA;IACD,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,qBAAW,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;IAEnE,OAAO,GAAG,CAAA;AACZ,CAAC,EAAA;AAEY,QAAA,yBAAyB,GAAG;IACvC,OAAO;IACP,kBAAkB;IAClB,cAAc;IACd,8BAA8B;IAC9B,cAAc;IACd,SAAS;IACT,kBAAkB;IAClB,kBAAkB;IAClB,MAAM;CACP,CAAA;AACY,QAAA,sBAAsB,GAA+B;IAChE,IAAI;IACJ,oBAAoB;IACpB,gBAAgB;IAChB,UAAU;IACV,gBAAgB;IAChB,qBAAqB;IACrB,SAAS;IACT,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,iBAAiB;CAClB,CAAA;AAMD,gDAA6B;AAC7B,qDAAkC"}
|
package/dist/commands/develop.js
CHANGED
|
@@ -92,6 +92,9 @@ function default_1(_a) {
|
|
|
92
92
|
chokidar_1.default.watch("".concat(directory, "/src")).on("change", function (file) {
|
|
93
93
|
var f = file.split("src")[1];
|
|
94
94
|
logger_1.default.info("".concat(f, " changed: restarting..."));
|
|
95
|
+
if (process.platform === "win32") {
|
|
96
|
+
(0, child_process_1.execSync)("taskkill /PID ".concat(child.pid, " /F /T"));
|
|
97
|
+
}
|
|
95
98
|
child.kill("SIGINT");
|
|
96
99
|
(0, child_process_1.execSync)("".concat(babelPath, " src -d dist --extensions \".ts,.js\""), {
|
|
97
100
|
cwd: directory,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"develop.js","sourceRoot":"","sources":["../../src/commands/develop.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,+CAAwC;AACxC,4DAA+B;AAC/B,sDAA+B;AAE/B,6DAAsC;AAEtC,
|
|
1
|
+
{"version":3,"file":"develop.js","sourceRoot":"","sources":["../../src/commands/develop.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,+CAAwC;AACxC,4DAA+B;AAC/B,sDAA+B;AAE/B,6DAAsC;AAEtC,mBAA8B,EAAmB;QAAjB,IAA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BAEpB,IAAA,wBAAQ,EAAC,UAAG,SAAS,0CAAuC,EAAE;oBAC5D,GAAG,EAAE,SAAS;oBACd,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC;iBAChD,CAAC,CAAA;gBAEF,gBAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;gBAEtB,KAAK,GAAG,IAAA,qBAAK,EAAC,OAAO,iBAAG,OAAO,UAAK,IAAI,WAAG;oBACzC,GAAG,EAAE,SAAS;oBACd,GAAG,EAAE,OAAO,CAAC,GAAG;oBAChB,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC;iBAChD,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;;;;CACH;AA3CD,4BA2CC"}
|
|
@@ -22,7 +22,15 @@ exports.default = (function (_a) {
|
|
|
22
22
|
var coreFull = path_1.default.join(__dirname, corePath);
|
|
23
23
|
var core = glob_1.default.sync(coreFull, {
|
|
24
24
|
cwd: __dirname,
|
|
25
|
-
ignore: [
|
|
25
|
+
ignore: [
|
|
26
|
+
"**/__fixtures__/**",
|
|
27
|
+
"**/index.js",
|
|
28
|
+
"**/index.ts",
|
|
29
|
+
"**/utils.js",
|
|
30
|
+
"**/utils.ts",
|
|
31
|
+
"**/types.js",
|
|
32
|
+
"**/types.ts",
|
|
33
|
+
],
|
|
26
34
|
});
|
|
27
35
|
core.forEach(function (fn) {
|
|
28
36
|
var _a, _b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strategies.js","sourceRoot":"","sources":["../../src/loaders/strategies.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,8CAAuB;AACvB,iCAA4C;AAE5C,+FAAsE;AACtE,4CAAkD;AAElD,kCAAoC;AAQpC;;;GAGG;AACH,mBAAe,UAAC,EAAkD;QAAhD,SAAS,eAAA,EAAE,YAAY,kBAAA,EAAE,M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A;IAEF,IAAI,CAAC,OAAO,CAAC,UAAC,EAAE;;QACd,8DAA8D;QAC9D,IAAM,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC,OAAO,CAAA;QAClC,IAAM,IAAI,GAAG,IAAA,kCAAsB,EAAC,EAAE,CAAC,CAAA;QAEvC,IAAI,IAAA,+BAAkB,EAAC,MAAM,CAAC,SAAS,CAAC,EAAE;YACxC,SAAS,CAAC,WAAW,CACnB,oBAAoB,EACpB,IAAA,mBAAU,EAAC,UAAC,MAAM,IAAK,OAAA,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EAAhC,CAAgC,CAAC,CACzD,CAAA;YAED,SAAS,CAAC,QAAQ;gBAChB,GAAC,IAAI,IAAG,IAAA,mBAAU,EAChB,UAAC,MAAM,IAAK,OAAA,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EAAhC,CAAgC,CAC7C,CAAC,SAAS,EAAE;gBACb,GAAC,gBAAS,MAAM,CAAC,UAAU,CAAE,IAAG,IAAA,gBAAO,EAAC,IAAI,CAAC;gBAC7C,GAAC,oBAAa,MAAM,CAAC,SAAS,CAAE,IAAG,IAAA,gBAAO,EAAC,IAAI,CAAC;oBAChD,CAAA;SACH;aAAM;YACL,SAAS,CAAC,QAAQ;gBAChB,GAAC,IAAI,IAAG,IAAA,mBAAU,EAChB,UAAC,MAAM,IAAK,OAAA,IAAI,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EAAhC,CAAgC,CAC7C,CAAC,SAAS,EAAE;oBACb,CAAA;SACH;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,EAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
2
|
+
export declare class swapFulfillmentStatusRequiresAction1661863940645 implements MigrationInterface {
|
|
3
|
+
name: string;
|
|
4
|
+
up(queryRunner: QueryRunner): Promise<void>;
|
|
5
|
+
down(queryRunner: QueryRunner): Promise<void>;
|
|
6
|
+
}
|