@medusajs/order 0.1.3-snapshot-20240719133408 → 0.1.3-snapshot-20240724143042
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/migrations/Migration20240219102530.js +19 -19
- package/dist/migrations/Migration20240604100512.js +34 -34
- package/dist/models/claim-item-image.js +2 -2
- package/dist/models/claim-item-image.js.map +1 -1
- package/dist/models/claim-item.js +1 -1
- package/dist/models/claim-item.js.map +1 -1
- package/dist/models/exchange-item.js +2 -2
- package/dist/models/exchange-item.js.map +1 -1
- package/dist/models/order-change.js +1 -1
- package/dist/models/return-item.js +2 -2
- package/dist/models/return-item.js.map +1 -1
- package/dist/utils/transform-order.d.ts.map +1 -1
- package/dist/utils/transform-order.js +8 -4
- package/dist/utils/transform-order.js.map +1 -1
- package/package.json +5 -5
@@ -113,37 +113,37 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
113
113
|
CREATE INDEX IF NOT EXISTS "IDX_order_display_id" ON "order" (
|
114
114
|
display_id
|
115
115
|
)
|
116
|
-
WHERE deleted_at IS
|
116
|
+
WHERE deleted_at IS NULL;
|
117
117
|
|
118
118
|
CREATE INDEX IF NOT EXISTS "IDX_order_region_id" ON "order" (
|
119
119
|
region_id
|
120
120
|
)
|
121
|
-
WHERE deleted_at IS
|
121
|
+
WHERE deleted_at IS NULL;
|
122
122
|
|
123
123
|
CREATE INDEX IF NOT EXISTS "IDX_order_customer_id" ON "order" (
|
124
124
|
customer_id
|
125
125
|
)
|
126
|
-
WHERE deleted_at IS
|
126
|
+
WHERE deleted_at IS NULL;
|
127
127
|
|
128
128
|
CREATE INDEX IF NOT EXISTS "IDX_order_customer_id" ON "order" (
|
129
129
|
customer_id
|
130
130
|
)
|
131
|
-
WHERE deleted_at IS
|
131
|
+
WHERE deleted_at IS NULL;
|
132
132
|
|
133
133
|
CREATE INDEX IF NOT EXISTS "IDX_order_currency_code" ON "order" (
|
134
134
|
currency_code
|
135
135
|
)
|
136
|
-
WHERE deleted_at IS
|
136
|
+
WHERE deleted_at IS NULL;
|
137
137
|
|
138
138
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_address_id" ON "order" (
|
139
139
|
shipping_address_id
|
140
140
|
)
|
141
|
-
WHERE deleted_at IS
|
141
|
+
WHERE deleted_at IS NULL;
|
142
142
|
|
143
143
|
CREATE INDEX IF NOT EXISTS "IDX_order_billing_address_id" ON "order" (
|
144
144
|
billing_address_id
|
145
145
|
)
|
146
|
-
WHERE deleted_at IS
|
146
|
+
WHERE deleted_at IS NULL;
|
147
147
|
|
148
148
|
CREATE INDEX IF NOT EXISTS "IDX_order_deleted_at" ON "order" (
|
149
149
|
deleted_at
|
@@ -152,7 +152,7 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
152
152
|
CREATE INDEX IF NOT EXISTS "IDX_order_is_draft_order" ON "order" (
|
153
153
|
is_draft_order
|
154
154
|
)
|
155
|
-
WHERE deleted_at IS
|
155
|
+
WHERE deleted_at IS NULL;
|
156
156
|
|
157
157
|
|
158
158
|
CREATE TABLE IF NOT EXISTS "order_summary" (
|
@@ -170,7 +170,7 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
170
170
|
order_id,
|
171
171
|
version
|
172
172
|
)
|
173
|
-
WHERE deleted_at IS
|
173
|
+
WHERE deleted_at IS NULL;
|
174
174
|
|
175
175
|
CREATE TABLE IF NOT EXISTS "order_change" (
|
176
176
|
"id" TEXT NOT NULL,
|
@@ -274,18 +274,18 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
274
274
|
CREATE INDEX IF NOT EXISTS "IDX_order_item_order_id" ON "order_item" (
|
275
275
|
order_id
|
276
276
|
)
|
277
|
-
WHERE deleted_at IS
|
277
|
+
WHERE deleted_at IS NULL;
|
278
278
|
|
279
279
|
CREATE INDEX IF NOT EXISTS "IDX_order_item_order_id_version" ON "order_item" (
|
280
280
|
order_id,
|
281
281
|
version
|
282
282
|
)
|
283
|
-
WHERE deleted_at IS
|
283
|
+
WHERE deleted_at IS NULL;
|
284
284
|
|
285
285
|
CREATE INDEX IF NOT EXISTS "IDX_order_item_item_id" ON "order_item" (
|
286
286
|
item_id
|
287
287
|
)
|
288
|
-
WHERE deleted_at IS
|
288
|
+
WHERE deleted_at IS NULL;
|
289
289
|
|
290
290
|
CREATE TABLE IF NOT EXISTS "order_shipping" (
|
291
291
|
"id" TEXT NOT NULL,
|
@@ -301,18 +301,18 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
301
301
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_order_id" ON "order_shipping" (
|
302
302
|
order_id
|
303
303
|
)
|
304
|
-
WHERE deleted_at IS
|
304
|
+
WHERE deleted_at IS NULL;
|
305
305
|
|
306
306
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_order_id_version" ON "order_shipping" (
|
307
307
|
order_id,
|
308
308
|
version
|
309
309
|
)
|
310
|
-
WHERE deleted_at IS
|
310
|
+
WHERE deleted_at IS NULL;
|
311
311
|
|
312
312
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_item_id" ON "order_shipping" (
|
313
313
|
shipping_method_id
|
314
314
|
)
|
315
|
-
WHERE deleted_at IS
|
315
|
+
WHERE deleted_at IS NULL;
|
316
316
|
|
317
317
|
CREATE TABLE IF NOT EXISTS "order_line_item" (
|
318
318
|
"id" TEXT NOT NULL,
|
@@ -459,17 +459,17 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
459
459
|
order_id,
|
460
460
|
version
|
461
461
|
)
|
462
|
-
WHERE deleted_at IS
|
462
|
+
WHERE deleted_at IS NULL;
|
463
463
|
|
464
464
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_currency_code" ON "order_transaction" (
|
465
465
|
currency_code
|
466
466
|
)
|
467
|
-
WHERE deleted_at IS
|
467
|
+
WHERE deleted_at IS NULL;
|
468
468
|
|
469
469
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_reference_id" ON "order_transaction" (
|
470
470
|
reference_id
|
471
471
|
)
|
472
|
-
WHERE deleted_at IS
|
472
|
+
WHERE deleted_at IS NULL;
|
473
473
|
|
474
474
|
CREATE TABLE IF NOT EXISTS "return_reason"
|
475
475
|
(
|
@@ -490,7 +490,7 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
490
490
|
);
|
491
491
|
|
492
492
|
CREATE UNIQUE INDEX IF NOT EXISTS "IDX_return_reason_value" ON "return_reason" USING btree (value ASC NULLS LAST)
|
493
|
-
WHERE deleted_at IS
|
493
|
+
WHERE deleted_at IS NULL;
|
494
494
|
|
495
495
|
|
496
496
|
ALTER TABLE if exists "order"
|
@@ -34,17 +34,17 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
34
34
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_return_id" ON "order_transaction" (
|
35
35
|
return_id
|
36
36
|
)
|
37
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
37
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
38
38
|
|
39
39
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_claim_id" ON "order_transaction" (
|
40
40
|
claim_id
|
41
41
|
)
|
42
|
-
WHERE claim_id IS NOT NULL AND deleted_at IS
|
42
|
+
WHERE claim_id IS NOT NULL AND deleted_at IS NULL;
|
43
43
|
|
44
44
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_exchange_id" ON "order_transaction" (
|
45
45
|
exchange_id
|
46
46
|
)
|
47
|
-
WHERE exchange_id IS NOT NULL AND deleted_at IS
|
47
|
+
WHERE exchange_id IS NOT NULL AND deleted_at IS NULL;
|
48
48
|
|
49
49
|
|
50
50
|
|
@@ -60,17 +60,17 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
60
60
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_return_id" ON "order_shipping" (
|
61
61
|
return_id
|
62
62
|
)
|
63
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
63
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
64
64
|
|
65
65
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_claim_id" ON "order_shipping" (
|
66
66
|
claim_id
|
67
67
|
)
|
68
|
-
WHERE claim_id IS NOT NULL AND deleted_at IS
|
68
|
+
WHERE claim_id IS NOT NULL AND deleted_at IS NULL;
|
69
69
|
|
70
70
|
CREATE INDEX IF NOT EXISTS "IDX_order_shipping_exchange_id" ON "order_shipping" (
|
71
71
|
exchange_id
|
72
72
|
)
|
73
|
-
WHERE exchange_id IS NOT NULL AND deleted_at IS
|
73
|
+
WHERE exchange_id IS NOT NULL AND deleted_at IS NULL;
|
74
74
|
|
75
75
|
|
76
76
|
|
@@ -87,17 +87,17 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
87
87
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_return_id" ON "order_change" (
|
88
88
|
return_id
|
89
89
|
)
|
90
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
90
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
91
91
|
|
92
92
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_claim_id" ON "order_change" (
|
93
93
|
claim_id
|
94
94
|
)
|
95
|
-
WHERE claim_id IS NOT NULL AND deleted_at IS
|
95
|
+
WHERE claim_id IS NOT NULL AND deleted_at IS NULL;
|
96
96
|
|
97
97
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_exchange_id" ON "order_change" (
|
98
98
|
exchange_id
|
99
99
|
)
|
100
|
-
WHERE exchange_id IS NOT NULL AND deleted_at IS
|
100
|
+
WHERE exchange_id IS NOT NULL AND deleted_at IS NULL;
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -120,17 +120,17 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
120
120
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_action_return_id" ON "order_change_action" (
|
121
121
|
return_id
|
122
122
|
)
|
123
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
123
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
124
124
|
|
125
125
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_action_claim_id" ON "order_change_action" (
|
126
126
|
claim_id
|
127
127
|
)
|
128
|
-
WHERE claim_id IS NOT NULL AND deleted_at IS
|
128
|
+
WHERE claim_id IS NOT NULL AND deleted_at IS NULL;
|
129
129
|
|
130
130
|
CREATE INDEX IF NOT EXISTS "IDX_order_change_action_exchange_id" ON "order_change_action" (
|
131
131
|
exchange_id
|
132
132
|
)
|
133
|
-
WHERE exchange_id IS NOT NULL AND deleted_at IS
|
133
|
+
WHERE exchange_id IS NOT NULL AND deleted_at IS NULL;
|
134
134
|
|
135
135
|
|
136
136
|
|
@@ -164,22 +164,22 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
164
164
|
CREATE INDEX IF NOT EXISTS "IDX_return_order_id" ON "return" (
|
165
165
|
order_id
|
166
166
|
)
|
167
|
-
WHERE deleted_at IS
|
167
|
+
WHERE deleted_at IS NULL;
|
168
168
|
|
169
169
|
CREATE INDEX IF NOT EXISTS "IDX_return_claim_id" ON "return" (
|
170
170
|
claim_id
|
171
171
|
)
|
172
|
-
WHERE claim_id IS NOT NULL AND deleted_at IS
|
172
|
+
WHERE claim_id IS NOT NULL AND deleted_at IS NULL;
|
173
173
|
|
174
174
|
CREATE INDEX IF NOT EXISTS "IDX_return_exchange_id" ON "return" (
|
175
175
|
exchange_id
|
176
176
|
)
|
177
|
-
WHERE exchange_id IS NOT NULL AND deleted_at IS
|
177
|
+
WHERE exchange_id IS NOT NULL AND deleted_at IS NULL;
|
178
178
|
|
179
179
|
CREATE INDEX IF NOT EXISTS "IDX_return_display_id" ON "return" (
|
180
180
|
display_id
|
181
181
|
)
|
182
|
-
WHERE deleted_at IS
|
182
|
+
WHERE deleted_at IS NULL;
|
183
183
|
|
184
184
|
|
185
185
|
CREATE TABLE IF NOT EXISTS "return_item" (
|
@@ -200,16 +200,16 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
200
200
|
);
|
201
201
|
|
202
202
|
CREATE INDEX IF NOT EXISTS "IDX_return_item_deleted_at" ON "return_item" ("deleted_at")
|
203
|
-
WHERE deleted_at IS
|
203
|
+
WHERE deleted_at IS NULL;
|
204
204
|
|
205
205
|
CREATE INDEX IF NOT EXISTS "IDX_return_item_return_id" ON "return_item" ("return_id")
|
206
|
-
WHERE deleted_at IS
|
206
|
+
WHERE deleted_at IS NULL;
|
207
207
|
|
208
208
|
CREATE INDEX IF NOT EXISTS "IDX_return_item_item_id" ON "return_item" ("item_id")
|
209
|
-
WHERE deleted_at IS
|
209
|
+
WHERE deleted_at IS NULL;
|
210
210
|
|
211
211
|
CREATE INDEX IF NOT EXISTS "IDX_return_item_reason_id" ON "return_item" ("reason_id")
|
212
|
-
WHERE deleted_at IS
|
212
|
+
WHERE deleted_at IS NULL;
|
213
213
|
|
214
214
|
|
215
215
|
|
@@ -232,16 +232,16 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
232
232
|
);
|
233
233
|
|
234
234
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_display_id" ON "order_exchange" ("display_id")
|
235
|
-
WHERE deleted_at IS
|
235
|
+
WHERE deleted_at IS NULL;
|
236
236
|
|
237
237
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_deleted_at" ON "order_exchange" ("deleted_at")
|
238
|
-
WHERE deleted_at IS
|
238
|
+
WHERE deleted_at IS NULL;
|
239
239
|
|
240
240
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_order_id" ON "order_exchange" ("order_id")
|
241
|
-
WHERE deleted_at IS
|
241
|
+
WHERE deleted_at IS NULL;
|
242
242
|
|
243
243
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_return_id" ON "order_exchange" ("return_id")
|
244
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
244
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
245
245
|
|
246
246
|
|
247
247
|
CREATE TABLE IF NOT EXISTS "order_exchange_item" (
|
@@ -259,13 +259,13 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
259
259
|
);
|
260
260
|
|
261
261
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_item_deleted_at" ON "order_exchange_item" ("deleted_at")
|
262
|
-
WHERE deleted_at IS
|
262
|
+
WHERE deleted_at IS NULL;
|
263
263
|
|
264
264
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_item_exchange_id" ON "order_exchange_item" ("exchange_id")
|
265
|
-
WHERE deleted_at IS
|
265
|
+
WHERE deleted_at IS NULL;
|
266
266
|
|
267
267
|
CREATE INDEX IF NOT EXISTS "IDX_order_exchange_item_item_id" ON "order_exchange_item" ("item_id")
|
268
|
-
WHERE deleted_at IS
|
268
|
+
WHERE deleted_at IS NULL;
|
269
269
|
|
270
270
|
|
271
271
|
|
@@ -293,16 +293,16 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
293
293
|
);
|
294
294
|
|
295
295
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_display_id" ON "order_claim" ("display_id")
|
296
|
-
WHERE deleted_at IS
|
296
|
+
WHERE deleted_at IS NULL;
|
297
297
|
|
298
298
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_deleted_at" ON "order_claim" ("deleted_at")
|
299
|
-
WHERE deleted_at IS
|
299
|
+
WHERE deleted_at IS NULL;
|
300
300
|
|
301
301
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_order_id" ON "order_claim" ("order_id")
|
302
|
-
WHERE deleted_at IS
|
302
|
+
WHERE deleted_at IS NULL;
|
303
303
|
|
304
304
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_return_id" ON "order_claim" ("return_id")
|
305
|
-
WHERE return_id IS NOT NULL AND deleted_at IS
|
305
|
+
WHERE return_id IS NOT NULL AND deleted_at IS NULL;
|
306
306
|
|
307
307
|
|
308
308
|
|
@@ -330,13 +330,13 @@ class Migration20240604100512 extends migrations_1.Migration {
|
|
330
330
|
);
|
331
331
|
|
332
332
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_item_deleted_at" ON "order_claim_item" ("deleted_at")
|
333
|
-
WHERE deleted_at IS
|
333
|
+
WHERE deleted_at IS NULL;
|
334
334
|
|
335
335
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_item_claim_id" ON "order_claim_item" ("claim_id")
|
336
|
-
WHERE deleted_at IS
|
336
|
+
WHERE deleted_at IS NULL;
|
337
337
|
|
338
338
|
CREATE INDEX IF NOT EXISTS "IDX_order_claim_item_item_id" ON "order_claim_item" ("item_id")
|
339
|
-
WHERE deleted_at IS
|
339
|
+
WHERE deleted_at IS NULL;
|
340
340
|
|
341
341
|
|
342
342
|
|
@@ -32,11 +32,11 @@ let ClaimItemImage = class ClaimItemImage {
|
|
32
32
|
}
|
33
33
|
onCreate() {
|
34
34
|
this.id = (0, utils_1.generateEntityId)(this.id, "climg");
|
35
|
-
this.claim_item_id
|
35
|
+
this.claim_item_id ??= this.item?.id;
|
36
36
|
}
|
37
37
|
onInit() {
|
38
38
|
this.id = (0, utils_1.generateEntityId)(this.id, "climg");
|
39
|
-
this.claim_item_id
|
39
|
+
this.claim_item_id ??= this.item?.id;
|
40
40
|
}
|
41
41
|
};
|
42
42
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim-item-image.js","sourceRoot":"","sources":["../../src/models/claim-item-image.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAUwB;AACxB,8DAAoC;AAIpC,MAAM,4BAA4B,GAAG,IAAA,sCAA8B,EAAC;IAClE,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,IAAA,sCAA8B,EAAC;IACtD,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,CAAC,eAAe,CAAC;IAC1B,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAIa,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;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DoB,cAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim-item.js","sourceRoot":"","sources":["../../src/models/claim-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAKwB;AACxB,0CAawB;AACxB,oDAA2B;AAC3B,0EAA+C;AAC/C,4DAAkC;AAIlC,MAAM,YAAY,GAAG,IAAA,sCAA8B,EAAC;IAClD,SAAS,EAAE,kBAAkB;IAC7B,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,kBAAkB;IAC7B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAA,sCAA8B,EAAC;IACpD,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAGa,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QASb,WAAM,GAAG,IAAI,iBAAU,CAAsB,IAAI,CAAC,CAAA;QAGlD,WAAM,GAA4B,IAAI,CAAA;QAqCtC,uBAAkB,GAAY,KAAK,CAAA;QAMnC,aAAQ,GAAmC,IAAI,CAAA;QAmB/C,eAAU,GAAgB,IAAI,CAAA;IAahC,CAAC;IAVC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;QAC9C,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,EAAE,CAAA;IAChC,CAAC;IAGD,MAAM;QACJ,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;QAC9C,IAAI,CAAC,QAAQ,
|
1
|
+
{"version":3,"file":"claim-item.js","sourceRoot":"","sources":["../../src/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AE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACrC;AAGZ;IADC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACH;AAO/C;IALC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;kDAAA;AAQhB;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;kDAAA;AAIhB;IAFC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvD,cAAc,CAAC,aAAa,EAAE;;kDACD;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;8CAId;AAGD;IADC,IAAA,aAAM,GAAE;;;;4CAIR;AAtFkB,cAAc;IADlC,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;GACrB,cAAc,CAuFlC;kBAvFoB,cAAc"}
|
@@ -38,11 +38,11 @@ let OrderExchangeItem = class OrderExchangeItem {
|
|
38
38
|
}
|
39
39
|
onCreate() {
|
40
40
|
this.id = (0, utils_1.generateEntityId)(this.id, "oexcitem");
|
41
|
-
this.exchange_id
|
41
|
+
this.exchange_id ??= this.exchange?.id;
|
42
42
|
}
|
43
43
|
onInit() {
|
44
44
|
this.id = (0, utils_1.generateEntityId)(this.id, "oexcitem");
|
45
|
-
this.exchange_id
|
45
|
+
this.exchange_id ??= this.exchange?.id;
|
46
46
|
}
|
47
47
|
};
|
48
48
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"exchange-item.js","sourceRoot":"","sources":["../../src/models/exchange-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAQwB;AACxB,0DAAiC;AACjC,4DAAkC;AAIlC,MAAM,eAAe,GAAG,IAAA,sCAA8B,EAAC;IACrD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAA,sCAA8B,EAAC;IACpD,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAGa,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QA4Cb,aAAQ,GAAmC,IAAI,CAAA;QAmB/C,eAAU,GAAgB,IAAI,CAAA;IAahC,CAAC;IAVC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,UAAU,CAAC,CAAA;QAC/C,IAAI,CAAC,WAAW,
|
1
|
+
{"version":3,"file":"exchange-item.js","sourceRoot":"","sources":["../../src/models/exchange-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAQwB;AACxB,0DAAiC;AACjC,4DAAkC;AAIlC,MAAM,eAAe,GAAG,IAAA,sCAA8B,EAAC;IACrD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,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7 +179,7 @@ __decorate([
|
|
179
179
|
], OrderChange.prototype, "change_type", void 0);
|
180
180
|
__decorate([
|
181
181
|
(0, core_1.OneToMany)(() => order_change_action_1.default, (action) => action.order_change, {
|
182
|
-
cascade: [core_1.Cascade.PERSIST, "
|
182
|
+
cascade: [core_1.Cascade.PERSIST, "soft-remove"],
|
183
183
|
}),
|
184
184
|
__metadata("design:type", Object)
|
185
185
|
], OrderChange.prototype, "actions", void 0);
|
@@ -46,11 +46,11 @@ let ReturnItem = class ReturnItem {
|
|
46
46
|
}
|
47
47
|
onCreate() {
|
48
48
|
this.id = (0, utils_1.generateEntityId)(this.id, "retitem");
|
49
|
-
this.return_id
|
49
|
+
this.return_id ??= this.return?.id;
|
50
50
|
}
|
51
51
|
onInit() {
|
52
52
|
this.id = (0, utils_1.generateEntityId)(this.id, "retitem");
|
53
|
-
this.return_id
|
53
|
+
this.return_id ??= this.return?.id;
|
54
54
|
}
|
55
55
|
};
|
56
56
|
__decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"return-item.js","sourceRoot":"","sources":["../../src/models/return-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAQwB;AACxB,4DAAkC;AAClC,sDAA6B;AAC7B,oEAA0C;AAI1C,MAAM,aAAa,GAAG,IAAA,sCAA8B,EAAC;IACnD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,mBAAmB,GAAG,IAAA,sCAA8B,EAAC;IACzD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IA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AC;IACvD,cAAc,CAAC,aAAa,EAAE;;8CACD;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;0CAId;AAGD;IADC,IAAA,aAAM,GAAE;;;;wCAIR;AA/FkB,UAAU;IAD9B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;GAChB,UAAU,CAgG9B;kBAhGoB,UAAU"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transform-order.d.ts","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"transform-order.d.ts","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAW5C,wBAAgB,WAAW,CACzB,KAAK,KAAA,EACL,OAAO,EAAE;IACP,MAAM,EAAE,GAAG,CAAA;IACX,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACA,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAkF/D;AAwFD,wBAAgB,yBAAyB,CAAC,MAAM,KAAA,EAAE,eAAe,UAAQ,OAwExE"}
|
@@ -73,10 +73,14 @@ function formatOrder(order, options) {
|
|
73
73
|
}
|
74
74
|
exports.formatOrder = formatOrder;
|
75
75
|
function cleanNestedRelations(obj) {
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
76
|
+
if (!(0, utils_1.isObject)(obj)) {
|
77
|
+
return;
|
78
|
+
}
|
79
|
+
const obj_ = obj;
|
80
|
+
delete obj_.order;
|
81
|
+
delete obj_.return;
|
82
|
+
delete obj_.claim;
|
83
|
+
delete obj_.exchange;
|
80
84
|
}
|
81
85
|
function formatOrderReturn(orderReturn, mainOrder) {
|
82
86
|
orderReturn.items?.forEach((orderItem) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transform-order.js","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"transform-order.js","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":";;;AACA,2CAMwB;AAExB,iDAAiD;AACjD,+FAA+F;AAC/F,SAAgB,WAAW,CACzB,KAAK,EACL,OAGC;IAED,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,MAAM,MAAM,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IAE/C,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACnB,IAAI,SAAS,GAAG,KAAK,CAAA;QAErB,MAAM,eAAe,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,KAAK,OAAO,CAAA;QAEzD,yFAAyF;QACzF,IAAI,eAAe,EAAE,CAAC;YACpB,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACjB,OAAO,KAAK,CAAA;YACd,CAAC;YAED,SAAS,GAAG,KAAK,CAAC,KAAK,CAAA;QACzB,CAAC;QAED,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;YACnD,MAAM,WAAW,GAAG,IAAA,iBAAS,EAAC,SAAS,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;YACnE,IAAI,WAAW,EAAE,CAAC;gBAChB,OAAO,SAAS,CAAA;YAClB,CAAC;YAED,MAAM,MAAM,GAAG,EAAE,GAAG,SAAS,EAAE,CAAA;YAC/B,OAAO,MAAM,CAAC,KAAK,CAAA;YACnB,OAAO,MAAM,CAAC,IAAI,CAAA;YAElB,OAAO;gBACL,GAAG,SAAS,CAAC,IAAI;gBACjB,QAAQ,EAAE,M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AAI,CAAC,kCAAkC,CAAC,CAAA;gBAErD,OAAO,GAAG,CAAC,OAAO,CAChB,kBAAkB,EAClB,kCAAkC,CACnC,CAAA;YACH,CAAC;YACD,OAAO,GAAG,CAAA;QACZ,CAAC,CAAC,CACH,CAAA;IACH,CAAC;IAED,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;IACvD,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;IAE3D,OAAO,IAAI,CAAA;AACb,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/order",
|
3
|
-
"version": "0.1.3-snapshot-
|
3
|
+
"version": "0.1.3-snapshot-20240724143042",
|
4
4
|
"description": "Medusa Order module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -34,19 +34,19 @@
|
|
34
34
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
38
|
-
"@medusajs/types": "1.12.0-snapshot-
|
37
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240724143042",
|
38
|
+
"@medusajs/types": "1.12.0-snapshot-20240724143042",
|
39
39
|
"@mikro-orm/cli": "5.9.7",
|
40
40
|
"cross-env": "^5.2.1",
|
41
41
|
"jest": "^29.7.0",
|
42
|
-
"medusa-test-utils": "1.1.45-snapshot-
|
42
|
+
"medusa-test-utils": "1.1.45-snapshot-20240724143042",
|
43
43
|
"rimraf": "^3.0.2",
|
44
44
|
"ts-node": "^10.9.1",
|
45
45
|
"tsc-alias": "^1.8.6",
|
46
46
|
"typescript": "^5.1.6"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
49
|
+
"@medusajs/utils": "1.12.0-snapshot-20240724143042",
|
50
50
|
"@mikro-orm/core": "5.9.7",
|
51
51
|
"@mikro-orm/migrations": "5.9.7",
|
52
52
|
"@mikro-orm/postgresql": "5.9.7",
|