@medusajs/medusa 2.8.8-snapshot-20250709122703 → 2.8.8-snapshot-20250714090316
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/dist/api/admin/api-keys/validators.d.ts +13 -27
- package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
- package/dist/api/admin/campaigns/validators.d.ts +23 -37
- package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
- package/dist/api/admin/claims/validators.d.ts +64 -61
- package/dist/api/admin/claims/validators.d.ts.map +1 -1
- package/dist/api/admin/collections/validators.d.ts +14 -28
- package/dist/api/admin/collections/validators.d.ts.map +1 -1
- package/dist/api/admin/currencies/validators.d.ts +7 -21
- package/dist/api/admin/currencies/validators.d.ts.map +1 -1
- package/dist/api/admin/customer-groups/validators.d.ts +45 -59
- package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
- package/dist/api/admin/customers/validators.d.ts +44 -56
- package/dist/api/admin/customers/validators.d.ts.map +1 -1
- package/dist/api/admin/draft-orders/validators.d.ts +128 -154
- package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
- package/dist/api/admin/exchanges/validators.d.ts +52 -49
- package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-providers/validators.d.ts +9 -7
- package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +8 -4
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators.d.ts +42 -30
- package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillments/validators.d.ts +6 -6
- package/dist/api/admin/inventory-items/validators.d.ts +68 -96
- package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
- package/dist/api/admin/invites/validators.d.ts +8 -21
- package/dist/api/admin/invites/validators.d.ts.map +1 -1
- package/dist/api/admin/notifications/validators.d.ts +7 -21
- package/dist/api/admin/notifications/validators.d.ts.map +1 -1
- package/dist/api/admin/order-edits/validators.d.ts +22 -22
- package/dist/api/admin/orders/validators.d.ts +51 -46
- package/dist/api/admin/orders/validators.d.ts.map +1 -1
- package/dist/api/admin/payments/validators.d.ts +14 -42
- package/dist/api/admin/payments/validators.d.ts.map +1 -1
- package/dist/api/admin/price-lists/validators.d.ts +34 -48
- package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
- package/dist/api/admin/price-preferences/validators.d.ts +11 -25
- package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
- package/dist/api/admin/product-categories/validators.d.ts +29 -42
- package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
- package/dist/api/admin/product-tags/validators.d.ts +7 -21
- package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
- package/dist/api/admin/product-types/validators.d.ts +7 -21
- package/dist/api/admin/product-types/validators.d.ts.map +1 -1
- package/dist/api/admin/product-variants/validators.d.ts +11 -25
- package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.d.ts +477 -521
- package/dist/api/admin/products/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.js.map +1 -1
- package/dist/api/admin/promotions/validators.d.ts +108 -119
- package/dist/api/admin/promotions/validators.d.ts.map +1 -1
- package/dist/api/admin/refund-reasons/validators.d.ts +12 -10
- package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/regions/validators.d.ts +21 -35
- package/dist/api/admin/regions/validators.d.ts.map +1 -1
- package/dist/api/admin/reservations/validators.d.ts +25 -23
- package/dist/api/admin/reservations/validators.d.ts.map +1 -1
- package/dist/api/admin/return-reasons/validators.d.ts +26 -39
- package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/returns/validators.d.ts +48 -45
- package/dist/api/admin/returns/validators.d.ts.map +1 -1
- package/dist/api/admin/sales-channels/validators.d.ts +29 -20
- package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-options/validators.d.ts +69 -67
- package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-profiles/validators.d.ts +11 -25
- package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
- package/dist/api/admin/stock-locations/validators.d.ts +59 -50
- package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
- package/dist/api/admin/stores/validators.d.ts +18 -32
- package/dist/api/admin/stores/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-providers/validators.d.ts +5 -19
- package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-rates/validators.d.ts +22 -36
- package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-regions/validators.d.ts +22 -36
- package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
- package/dist/api/admin/users/validators.d.ts +15 -13
- package/dist/api/admin/users/validators.d.ts.map +1 -1
- package/dist/api/admin/workflows-executions/validators.d.ts +7 -5
- package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
- package/dist/api/store/carts/validators.d.ts +44 -44
- package/dist/api/store/collections/validators.d.ts +10 -24
- package/dist/api/store/collections/validators.d.ts.map +1 -1
- package/dist/api/store/currencies/validators.d.ts +7 -21
- package/dist/api/store/currencies/validators.d.ts.map +1 -1
- package/dist/api/store/customers/validators.d.ts +17 -13
- package/dist/api/store/customers/validators.d.ts.map +1 -1
- package/dist/api/store/orders/validators.d.ts +5 -19
- package/dist/api/store/orders/validators.d.ts.map +1 -1
- package/dist/api/store/payment-providers/validators.d.ts +3 -1
- package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
- package/dist/api/store/product-categories/validators.d.ts +14 -27
- package/dist/api/store/product-categories/validators.d.ts.map +1 -1
- package/dist/api/store/product-tags/validators.d.ts +7 -21
- package/dist/api/store/product-tags/validators.d.ts.map +1 -1
- package/dist/api/store/product-types/validators.d.ts +7 -21
- package/dist/api/store/product-types/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.d.ts +40 -71
- package/dist/api/store/products/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.js.map +1 -1
- package/dist/api/store/regions/validators.d.ts +9 -23
- package/dist/api/store/regions/validators.d.ts.map +1 -1
- package/dist/api/store/return-reasons/validators.d.ts +3 -2
- package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/store/returns/validators.d.ts +7 -21
- package/dist/api/store/returns/validators.d.ts.map +1 -1
- package/dist/api/store/shipping-options/validators.d.ts +5 -19
- package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/utils/common-validators/common.d.ts +7 -20
- package/dist/api/utils/common-validators/common.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.d.ts +17 -16
- package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.js +14 -14
- package/dist/api/utils/common-validators/products/index.js.map +1 -1
- package/dist/api/utils/validators.d.ts +5 -4
- package/dist/api/utils/validators.d.ts.map +1 -1
- package/package.json +50 -50
@@ -179,31 +179,29 @@ export declare const AdminGetPromotionsParamsFields: z.ZodObject<{
|
|
179
179
|
$lte?: any;
|
180
180
|
}>]>>;
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
182
|
-
|
182
|
+
created_at?: any;
|
183
|
+
updated_at?: any;
|
184
|
+
deleted_at?: any;
|
183
185
|
code?: any;
|
186
|
+
q?: string | undefined;
|
184
187
|
campaign_id?: string | string[] | undefined;
|
185
188
|
application_method?: {
|
186
189
|
currency_code?: string | string[] | undefined;
|
187
190
|
} | undefined;
|
191
|
+
}, {
|
188
192
|
created_at?: any;
|
189
193
|
updated_at?: any;
|
190
194
|
deleted_at?: any;
|
191
|
-
}, {
|
192
|
-
q?: string | undefined;
|
193
195
|
code?: any;
|
196
|
+
q?: string | undefined;
|
194
197
|
campaign_id?: string | string[] | undefined;
|
195
198
|
application_method?: {
|
196
199
|
currency_code?: string | string[] | undefined;
|
197
200
|
} | undefined;
|
198
|
-
created_at?: any;
|
199
|
-
updated_at?: any;
|
200
|
-
deleted_at?: any;
|
201
201
|
}>;
|
202
202
|
export type AdminGetPromotionsParamsType = z.infer<typeof AdminGetPromotionsParams>;
|
203
|
-
export declare const AdminGetPromotionsParams: z.ZodObject<{
|
203
|
+
export declare const AdminGetPromotionsParams: z.ZodObject<{} & {
|
204
204
|
[x: string]: any;
|
205
|
-
[x: number]: any;
|
206
|
-
[x: symbol]: any;
|
207
205
|
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
208
206
|
[x: string]: any;
|
209
207
|
}, {
|
@@ -216,24 +214,12 @@ export declare const AdminGetPromotionsParams: z.ZodObject<{
|
|
216
214
|
}>, "many">>>;
|
217
215
|
}, "strict", z.ZodTypeAny, {
|
218
216
|
[x: string]: any;
|
219
|
-
|
220
|
-
|
221
|
-
$and?: {
|
222
|
-
[x: string]: any;
|
223
|
-
}[] | undefined;
|
224
|
-
$or?: {
|
225
|
-
[x: string]: any;
|
226
|
-
}[] | undefined;
|
217
|
+
$and?: unknown;
|
218
|
+
$or?: unknown;
|
227
219
|
}, {
|
228
220
|
[x: string]: any;
|
229
|
-
|
230
|
-
|
231
|
-
$and?: {
|
232
|
-
[x: string]: any;
|
233
|
-
}[] | undefined;
|
234
|
-
$or?: {
|
235
|
-
[x: string]: any;
|
236
|
-
}[] | undefined;
|
221
|
+
$and?: unknown;
|
222
|
+
$or?: unknown;
|
237
223
|
}>;
|
238
224
|
export type AdminGetPromotionRuleParamsType = z.infer<typeof AdminGetPromotionRuleParams>;
|
239
225
|
export declare const AdminGetPromotionRuleParams: z.ZodObject<{
|
@@ -249,6 +235,7 @@ export declare const AdminGetPromotionRuleParams: z.ZodObject<{
|
|
249
235
|
export type AdminGetPromotionRuleTypeParamsType = z.infer<typeof AdminGetPromotionRuleTypeParams>;
|
250
236
|
export declare const AdminGetPromotionRuleTypeParams: z.ZodObject<{
|
251
237
|
fields: z.ZodOptional<z.ZodString>;
|
238
|
+
} & {
|
252
239
|
promotion_type: z.ZodOptional<z.ZodString>;
|
253
240
|
application_method_type: z.ZodOptional<z.ZodString>;
|
254
241
|
}, "strip", z.ZodTypeAny, {
|
@@ -262,29 +249,31 @@ export declare const AdminGetPromotionRuleTypeParams: z.ZodObject<{
|
|
262
249
|
}>;
|
263
250
|
export type AdminGetPromotionsRuleValueParamsType = z.infer<typeof AdminGetPromotionsRuleValueParams>;
|
264
251
|
export declare const AdminGetPromotionsRuleValueParams: z.ZodObject<{
|
265
|
-
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
266
252
|
fields: z.ZodOptional<z.ZodString>;
|
253
|
+
} & {
|
267
254
|
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
268
255
|
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
256
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
269
257
|
with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
258
|
+
} & {
|
270
259
|
q: z.ZodOptional<z.ZodString>;
|
271
260
|
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
272
261
|
}, "strip", z.ZodTypeAny, {
|
273
262
|
offset: number;
|
274
263
|
limit: number;
|
275
264
|
order?: string | undefined;
|
265
|
+
value?: string | string[] | undefined;
|
276
266
|
fields?: string | undefined;
|
277
267
|
with_deleted?: boolean | undefined;
|
278
268
|
q?: string | undefined;
|
279
|
-
value?: string | string[] | undefined;
|
280
269
|
}, {
|
281
270
|
order?: string | undefined;
|
271
|
+
value?: string | string[] | undefined;
|
282
272
|
fields?: string | undefined;
|
283
273
|
offset?: unknown;
|
284
274
|
limit?: unknown;
|
285
275
|
with_deleted?: unknown;
|
286
276
|
q?: string | undefined;
|
287
|
-
value?: string | string[] | undefined;
|
288
277
|
}>;
|
289
278
|
export type AdminCreatePromotionRuleType = z.infer<typeof AdminCreatePromotionRule>;
|
290
279
|
export declare const AdminCreatePromotionRule: z.ZodObject<{
|
@@ -293,12 +282,12 @@ export declare const AdminCreatePromotionRule: z.ZodObject<{
|
|
293
282
|
attribute: z.ZodString;
|
294
283
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
295
284
|
}, "strict", z.ZodTypeAny, {
|
296
|
-
values:
|
285
|
+
values: string | string[];
|
297
286
|
attribute: string;
|
298
287
|
operator: PromotionRuleOperator;
|
299
288
|
description?: string | null | undefined;
|
300
289
|
}, {
|
301
|
-
values:
|
290
|
+
values: string | string[];
|
302
291
|
attribute: string;
|
303
292
|
operator: PromotionRuleOperator;
|
304
293
|
description?: string | null | undefined;
|
@@ -311,17 +300,17 @@ export declare const AdminUpdatePromotionRule: z.ZodObject<{
|
|
311
300
|
attribute: z.ZodOptional<z.ZodString>;
|
312
301
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
313
302
|
}, "strict", z.ZodTypeAny, {
|
314
|
-
values:
|
303
|
+
values: string | string[];
|
315
304
|
id: string;
|
316
|
-
operator?: PromotionRuleOperator | undefined;
|
317
305
|
description?: string | null | undefined;
|
318
306
|
attribute?: string | undefined;
|
307
|
+
operator?: PromotionRuleOperator | undefined;
|
319
308
|
}, {
|
320
|
-
values:
|
309
|
+
values: string | string[];
|
321
310
|
id: string;
|
322
|
-
operator?: PromotionRuleOperator | undefined;
|
323
311
|
description?: string | null | undefined;
|
324
312
|
attribute?: string | undefined;
|
313
|
+
operator?: PromotionRuleOperator | undefined;
|
325
314
|
}>;
|
326
315
|
export type AdminCreateApplicationMethodType = z.infer<typeof AdminCreateApplicationMethod>;
|
327
316
|
export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
@@ -338,12 +327,12 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
338
327
|
attribute: z.ZodString;
|
339
328
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
340
329
|
}, "strict", z.ZodTypeAny, {
|
341
|
-
values:
|
330
|
+
values: string | string[];
|
342
331
|
attribute: string;
|
343
332
|
operator: PromotionRuleOperator;
|
344
333
|
description?: string | null | undefined;
|
345
334
|
}, {
|
346
|
-
values:
|
335
|
+
values: string | string[];
|
347
336
|
attribute: string;
|
348
337
|
operator: PromotionRuleOperator;
|
349
338
|
description?: string | null | undefined;
|
@@ -354,12 +343,12 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
354
343
|
attribute: z.ZodString;
|
355
344
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
356
345
|
}, "strict", z.ZodTypeAny, {
|
357
|
-
values:
|
346
|
+
values: string | string[];
|
358
347
|
attribute: string;
|
359
348
|
operator: PromotionRuleOperator;
|
360
349
|
description?: string | null | undefined;
|
361
350
|
}, {
|
362
|
-
values:
|
351
|
+
values: string | string[];
|
363
352
|
attribute: string;
|
364
353
|
operator: PromotionRuleOperator;
|
365
354
|
description?: string | null | undefined;
|
@@ -370,18 +359,18 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
370
359
|
type: ApplicationMethodType;
|
371
360
|
value: number;
|
372
361
|
target_type: ApplicationMethodTargetType;
|
373
|
-
description?: string | null | undefined;
|
374
362
|
currency_code?: string | null | undefined;
|
363
|
+
description?: string | null | undefined;
|
375
364
|
max_quantity?: number | null | undefined;
|
376
365
|
allocation?: ApplicationMethodAllocation | undefined;
|
377
366
|
target_rules?: {
|
378
|
-
values:
|
367
|
+
values: string | string[];
|
379
368
|
attribute: string;
|
380
369
|
operator: PromotionRuleOperator;
|
381
370
|
description?: string | null | undefined;
|
382
371
|
}[] | undefined;
|
383
372
|
buy_rules?: {
|
384
|
-
values:
|
373
|
+
values: string | string[];
|
385
374
|
attribute: string;
|
386
375
|
operator: PromotionRuleOperator;
|
387
376
|
description?: string | null | undefined;
|
@@ -392,18 +381,18 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
392
381
|
type: ApplicationMethodType;
|
393
382
|
value: number;
|
394
383
|
target_type: ApplicationMethodTargetType;
|
395
|
-
description?: string | null | undefined;
|
396
384
|
currency_code?: string | null | undefined;
|
385
|
+
description?: string | null | undefined;
|
397
386
|
max_quantity?: number | null | undefined;
|
398
387
|
allocation?: ApplicationMethodAllocation | undefined;
|
399
388
|
target_rules?: {
|
400
|
-
values:
|
389
|
+
values: string | string[];
|
401
390
|
attribute: string;
|
402
391
|
operator: PromotionRuleOperator;
|
403
392
|
description?: string | null | undefined;
|
404
393
|
}[] | undefined;
|
405
394
|
buy_rules?: {
|
406
|
-
values:
|
395
|
+
values: string | string[];
|
407
396
|
attribute: string;
|
408
397
|
operator: PromotionRuleOperator;
|
409
398
|
description?: string | null | undefined;
|
@@ -423,21 +412,21 @@ export declare const AdminUpdateApplicationMethod: z.ZodObject<{
|
|
423
412
|
apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
424
413
|
buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
425
414
|
}, "strict", z.ZodTypeAny, {
|
426
|
-
|
415
|
+
type?: ApplicationMethodType | undefined;
|
427
416
|
value?: number | undefined;
|
428
|
-
max_quantity?: number | null | undefined;
|
429
417
|
currency_code?: string | null | undefined;
|
430
|
-
|
418
|
+
description?: string | null | undefined;
|
419
|
+
max_quantity?: number | null | undefined;
|
431
420
|
target_type?: ApplicationMethodTargetType | undefined;
|
432
421
|
allocation?: ApplicationMethodAllocation | undefined;
|
433
422
|
apply_to_quantity?: number | null | undefined;
|
434
423
|
buy_rules_min_quantity?: number | null | undefined;
|
435
424
|
}, {
|
436
|
-
|
425
|
+
type?: ApplicationMethodType | undefined;
|
437
426
|
value?: number | undefined;
|
438
|
-
max_quantity?: number | null | undefined;
|
439
427
|
currency_code?: string | null | undefined;
|
440
|
-
|
428
|
+
description?: string | null | undefined;
|
429
|
+
max_quantity?: number | null | undefined;
|
441
430
|
target_type?: ApplicationMethodTargetType | undefined;
|
442
431
|
allocation?: ApplicationMethodAllocation | undefined;
|
443
432
|
apply_to_quantity?: number | null | undefined;
|
@@ -461,28 +450,28 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
461
450
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
462
451
|
}, "strict", z.ZodTypeAny, {
|
463
452
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
464
|
-
limit?: number | null | undefined;
|
465
453
|
currency_code?: string | null | undefined;
|
454
|
+
limit?: number | null | undefined;
|
466
455
|
}, {
|
467
456
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
468
|
-
limit?: number | null | undefined;
|
469
457
|
currency_code?: string | null | undefined;
|
458
|
+
limit?: number | null | undefined;
|
470
459
|
}>, {
|
471
460
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
472
|
-
limit?: number | null | undefined;
|
473
461
|
currency_code?: string | null | undefined;
|
462
|
+
limit?: number | null | undefined;
|
474
463
|
}, {
|
475
464
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
476
|
-
limit?: number | null | undefined;
|
477
465
|
currency_code?: string | null | undefined;
|
466
|
+
limit?: number | null | undefined;
|
478
467
|
}>, {
|
479
468
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
480
|
-
limit?: number | null | undefined;
|
481
469
|
currency_code?: string | null | undefined;
|
470
|
+
limit?: number | null | undefined;
|
482
471
|
}, {
|
483
472
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
484
|
-
limit?: number | null | undefined;
|
485
473
|
currency_code?: string | null | undefined;
|
474
|
+
limit?: number | null | undefined;
|
486
475
|
}>>>;
|
487
476
|
starts_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
488
477
|
ends_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
@@ -490,24 +479,24 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
490
479
|
name: string;
|
491
480
|
campaign_identifier: string;
|
492
481
|
description?: string | null | undefined;
|
482
|
+
starts_at?: Date | null | undefined;
|
483
|
+
ends_at?: Date | null | undefined;
|
493
484
|
budget?: {
|
494
485
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
495
|
-
limit?: number | null | undefined;
|
496
486
|
currency_code?: string | null | undefined;
|
487
|
+
limit?: number | null | undefined;
|
497
488
|
} | null | undefined;
|
498
|
-
starts_at?: Date | null | undefined;
|
499
|
-
ends_at?: Date | null | undefined;
|
500
489
|
}, {
|
501
490
|
name: string;
|
502
491
|
campaign_identifier: string;
|
503
492
|
description?: string | null | undefined;
|
493
|
+
starts_at?: Date | null | undefined;
|
494
|
+
ends_at?: Date | null | undefined;
|
504
495
|
budget?: {
|
505
496
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
506
|
-
limit?: number | null | undefined;
|
507
497
|
currency_code?: string | null | undefined;
|
498
|
+
limit?: number | null | undefined;
|
508
499
|
} | null | undefined;
|
509
|
-
starts_at?: Date | null | undefined;
|
510
|
-
ends_at?: Date | null | undefined;
|
511
500
|
}>>;
|
512
501
|
application_method: z.ZodObject<{
|
513
502
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -523,12 +512,12 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
523
512
|
attribute: z.ZodString;
|
524
513
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
525
514
|
}, "strict", z.ZodTypeAny, {
|
526
|
-
values:
|
515
|
+
values: string | string[];
|
527
516
|
attribute: string;
|
528
517
|
operator: PromotionRuleOperator;
|
529
518
|
description?: string | null | undefined;
|
530
519
|
}, {
|
531
|
-
values:
|
520
|
+
values: string | string[];
|
532
521
|
attribute: string;
|
533
522
|
operator: PromotionRuleOperator;
|
534
523
|
description?: string | null | undefined;
|
@@ -539,12 +528,12 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
539
528
|
attribute: z.ZodString;
|
540
529
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
541
530
|
}, "strict", z.ZodTypeAny, {
|
542
|
-
values:
|
531
|
+
values: string | string[];
|
543
532
|
attribute: string;
|
544
533
|
operator: PromotionRuleOperator;
|
545
534
|
description?: string | null | undefined;
|
546
535
|
}, {
|
547
|
-
values:
|
536
|
+
values: string | string[];
|
548
537
|
attribute: string;
|
549
538
|
operator: PromotionRuleOperator;
|
550
539
|
description?: string | null | undefined;
|
@@ -555,18 +544,18 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
555
544
|
type: ApplicationMethodType;
|
556
545
|
value: number;
|
557
546
|
target_type: ApplicationMethodTargetType;
|
558
|
-
description?: string | null | undefined;
|
559
547
|
currency_code?: string | null | undefined;
|
548
|
+
description?: string | null | undefined;
|
560
549
|
max_quantity?: number | null | undefined;
|
561
550
|
allocation?: ApplicationMethodAllocation | undefined;
|
562
551
|
target_rules?: {
|
563
|
-
values:
|
552
|
+
values: string | string[];
|
564
553
|
attribute: string;
|
565
554
|
operator: PromotionRuleOperator;
|
566
555
|
description?: string | null | undefined;
|
567
556
|
}[] | undefined;
|
568
557
|
buy_rules?: {
|
569
|
-
values:
|
558
|
+
values: string | string[];
|
570
559
|
attribute: string;
|
571
560
|
operator: PromotionRuleOperator;
|
572
561
|
description?: string | null | undefined;
|
@@ -577,18 +566,18 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
577
566
|
type: ApplicationMethodType;
|
578
567
|
value: number;
|
579
568
|
target_type: ApplicationMethodTargetType;
|
580
|
-
description?: string | null | undefined;
|
581
569
|
currency_code?: string | null | undefined;
|
570
|
+
description?: string | null | undefined;
|
582
571
|
max_quantity?: number | null | undefined;
|
583
572
|
allocation?: ApplicationMethodAllocation | undefined;
|
584
573
|
target_rules?: {
|
585
|
-
values:
|
574
|
+
values: string | string[];
|
586
575
|
attribute: string;
|
587
576
|
operator: PromotionRuleOperator;
|
588
577
|
description?: string | null | undefined;
|
589
578
|
}[] | undefined;
|
590
579
|
buy_rules?: {
|
591
|
-
values:
|
580
|
+
values: string | string[];
|
592
581
|
attribute: string;
|
593
582
|
operator: PromotionRuleOperator;
|
594
583
|
description?: string | null | undefined;
|
@@ -602,12 +591,12 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
602
591
|
attribute: z.ZodString;
|
603
592
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
604
593
|
}, "strict", z.ZodTypeAny, {
|
605
|
-
values:
|
594
|
+
values: string | string[];
|
606
595
|
attribute: string;
|
607
596
|
operator: PromotionRuleOperator;
|
608
597
|
description?: string | null | undefined;
|
609
598
|
}, {
|
610
|
-
values:
|
599
|
+
values: string | string[];
|
611
600
|
attribute: string;
|
612
601
|
operator: PromotionRuleOperator;
|
613
602
|
description?: string | null | undefined;
|
@@ -620,18 +609,18 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
620
609
|
type: ApplicationMethodType;
|
621
610
|
value: number;
|
622
611
|
target_type: ApplicationMethodTargetType;
|
623
|
-
description?: string | null | undefined;
|
624
612
|
currency_code?: string | null | undefined;
|
613
|
+
description?: string | null | undefined;
|
625
614
|
max_quantity?: number | null | undefined;
|
626
615
|
allocation?: ApplicationMethodAllocation | undefined;
|
627
616
|
target_rules?: {
|
628
|
-
values:
|
617
|
+
values: string | string[];
|
629
618
|
attribute: string;
|
630
619
|
operator: PromotionRuleOperator;
|
631
620
|
description?: string | null | undefined;
|
632
621
|
}[] | undefined;
|
633
622
|
buy_rules?: {
|
634
|
-
values:
|
623
|
+
values: string | string[];
|
635
624
|
attribute: string;
|
636
625
|
operator: PromotionRuleOperator;
|
637
626
|
description?: string | null | undefined;
|
@@ -639,27 +628,27 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
639
628
|
apply_to_quantity?: number | null | undefined;
|
640
629
|
buy_rules_min_quantity?: number | null | undefined;
|
641
630
|
};
|
642
|
-
|
631
|
+
rules?: {
|
632
|
+
values: string | string[];
|
633
|
+
attribute: string;
|
634
|
+
operator: PromotionRuleOperator;
|
635
|
+
description?: string | null | undefined;
|
636
|
+
}[] | undefined;
|
643
637
|
is_tax_inclusive?: boolean | undefined;
|
638
|
+
is_automatic?: boolean | undefined;
|
644
639
|
campaign_id?: string | null | undefined;
|
645
640
|
campaign?: {
|
646
641
|
name: string;
|
647
642
|
campaign_identifier: string;
|
648
643
|
description?: string | null | undefined;
|
644
|
+
starts_at?: Date | null | undefined;
|
645
|
+
ends_at?: Date | null | undefined;
|
649
646
|
budget?: {
|
650
647
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
651
|
-
limit?: number | null | undefined;
|
652
648
|
currency_code?: string | null | undefined;
|
649
|
+
limit?: number | null | undefined;
|
653
650
|
} | null | undefined;
|
654
|
-
starts_at?: Date | null | undefined;
|
655
|
-
ends_at?: Date | null | undefined;
|
656
651
|
} | undefined;
|
657
|
-
rules?: {
|
658
|
-
values: (string | string[]) & (string | string[] | undefined);
|
659
|
-
attribute: string;
|
660
|
-
operator: PromotionRuleOperator;
|
661
|
-
description?: string | null | undefined;
|
662
|
-
}[] | undefined;
|
663
652
|
}, {
|
664
653
|
type: PromotionType;
|
665
654
|
code: string;
|
@@ -667,18 +656,18 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
667
656
|
type: ApplicationMethodType;
|
668
657
|
value: number;
|
669
658
|
target_type: ApplicationMethodTargetType;
|
670
|
-
description?: string | null | undefined;
|
671
659
|
currency_code?: string | null | undefined;
|
660
|
+
description?: string | null | undefined;
|
672
661
|
max_quantity?: number | null | undefined;
|
673
662
|
allocation?: ApplicationMethodAllocation | undefined;
|
674
663
|
target_rules?: {
|
675
|
-
values:
|
664
|
+
values: string | string[];
|
676
665
|
attribute: string;
|
677
666
|
operator: PromotionRuleOperator;
|
678
667
|
description?: string | null | undefined;
|
679
668
|
}[] | undefined;
|
680
669
|
buy_rules?: {
|
681
|
-
values:
|
670
|
+
values: string | string[];
|
682
671
|
attribute: string;
|
683
672
|
operator: PromotionRuleOperator;
|
684
673
|
description?: string | null | undefined;
|
@@ -686,28 +675,28 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
686
675
|
apply_to_quantity?: number | null | undefined;
|
687
676
|
buy_rules_min_quantity?: number | null | undefined;
|
688
677
|
};
|
689
|
-
|
690
|
-
|
678
|
+
rules?: {
|
679
|
+
values: string | string[];
|
680
|
+
attribute: string;
|
681
|
+
operator: PromotionRuleOperator;
|
682
|
+
description?: string | null | undefined;
|
683
|
+
}[] | undefined;
|
691
684
|
status?: PromotionStatus | undefined;
|
685
|
+
is_tax_inclusive?: boolean | undefined;
|
686
|
+
is_automatic?: boolean | undefined;
|
692
687
|
campaign_id?: string | null | undefined;
|
693
688
|
campaign?: {
|
694
689
|
name: string;
|
695
690
|
campaign_identifier: string;
|
696
691
|
description?: string | null | undefined;
|
692
|
+
starts_at?: Date | null | undefined;
|
693
|
+
ends_at?: Date | null | undefined;
|
697
694
|
budget?: {
|
698
695
|
type: import("@medusajs/framework/utils").CampaignBudgetType;
|
699
|
-
limit?: number | null | undefined;
|
700
696
|
currency_code?: string | null | undefined;
|
697
|
+
limit?: number | null | undefined;
|
701
698
|
} | null | undefined;
|
702
|
-
starts_at?: Date | null | undefined;
|
703
|
-
ends_at?: Date | null | undefined;
|
704
699
|
} | undefined;
|
705
|
-
rules?: {
|
706
|
-
values: (string | string[]) & (string | string[] | undefined);
|
707
|
-
attribute: string;
|
708
|
-
operator: PromotionRuleOperator;
|
709
|
-
description?: string | null | undefined;
|
710
|
-
}[] | undefined;
|
711
700
|
}>;
|
712
701
|
export declare const AdminCreatePromotion: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
713
702
|
[x: string]: any;
|
@@ -733,57 +722,57 @@ export declare const UpdatePromotion: z.ZodObject<{
|
|
733
722
|
apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
734
723
|
buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
735
724
|
}, "strict", z.ZodTypeAny, {
|
736
|
-
|
725
|
+
type?: ApplicationMethodType | undefined;
|
737
726
|
value?: number | undefined;
|
738
|
-
max_quantity?: number | null | undefined;
|
739
727
|
currency_code?: string | null | undefined;
|
740
|
-
|
728
|
+
description?: string | null | undefined;
|
729
|
+
max_quantity?: number | null | undefined;
|
741
730
|
target_type?: ApplicationMethodTargetType | undefined;
|
742
731
|
allocation?: ApplicationMethodAllocation | undefined;
|
743
732
|
apply_to_quantity?: number | null | undefined;
|
744
733
|
buy_rules_min_quantity?: number | null | undefined;
|
745
734
|
}, {
|
746
|
-
|
735
|
+
type?: ApplicationMethodType | undefined;
|
747
736
|
value?: number | undefined;
|
748
|
-
max_quantity?: number | null | undefined;
|
749
737
|
currency_code?: string | null | undefined;
|
750
|
-
|
738
|
+
description?: string | null | undefined;
|
739
|
+
max_quantity?: number | null | undefined;
|
751
740
|
target_type?: ApplicationMethodTargetType | undefined;
|
752
741
|
allocation?: ApplicationMethodAllocation | undefined;
|
753
742
|
apply_to_quantity?: number | null | undefined;
|
754
743
|
buy_rules_min_quantity?: number | null | undefined;
|
755
744
|
}>>;
|
756
745
|
}, "strict", z.ZodTypeAny, {
|
757
|
-
code?: string | undefined;
|
758
|
-
is_automatic?: boolean | undefined;
|
759
|
-
is_tax_inclusive?: boolean | undefined;
|
760
746
|
type?: PromotionType | undefined;
|
747
|
+
code?: string | undefined;
|
761
748
|
status?: PromotionStatus | undefined;
|
749
|
+
is_tax_inclusive?: boolean | undefined;
|
750
|
+
is_automatic?: boolean | undefined;
|
762
751
|
campaign_id?: string | null | undefined;
|
763
752
|
application_method?: {
|
764
|
-
|
753
|
+
type?: ApplicationMethodType | undefined;
|
765
754
|
value?: number | undefined;
|
766
|
-
max_quantity?: number | null | undefined;
|
767
755
|
currency_code?: string | null | undefined;
|
768
|
-
|
756
|
+
description?: string | null | undefined;
|
757
|
+
max_quantity?: number | null | undefined;
|
769
758
|
target_type?: ApplicationMethodTargetType | undefined;
|
770
759
|
allocation?: ApplicationMethodAllocation | undefined;
|
771
760
|
apply_to_quantity?: number | null | undefined;
|
772
761
|
buy_rules_min_quantity?: number | null | undefined;
|
773
762
|
} | undefined;
|
774
763
|
}, {
|
775
|
-
code?: string | undefined;
|
776
|
-
is_automatic?: boolean | undefined;
|
777
|
-
is_tax_inclusive?: boolean | undefined;
|
778
764
|
type?: PromotionType | undefined;
|
765
|
+
code?: string | undefined;
|
779
766
|
status?: PromotionStatus | undefined;
|
767
|
+
is_tax_inclusive?: boolean | undefined;
|
768
|
+
is_automatic?: boolean | undefined;
|
780
769
|
campaign_id?: string | null | undefined;
|
781
770
|
application_method?: {
|
782
|
-
|
771
|
+
type?: ApplicationMethodType | undefined;
|
783
772
|
value?: number | undefined;
|
784
|
-
max_quantity?: number | null | undefined;
|
785
773
|
currency_code?: string | null | undefined;
|
786
|
-
|
774
|
+
description?: string | null | undefined;
|
775
|
+
max_quantity?: number | null | undefined;
|
787
776
|
target_type?: ApplicationMethodTargetType | undefined;
|
788
777
|
allocation?: ApplicationMethodAllocation | undefined;
|
789
778
|
apply_to_quantity?: number | null | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/promotions/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,aAAa,EACd,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,uBAAuB,CAC/B,CAAA;AACD,eAAO,MAAM,uBAAuB;;;;;;EAAuB,CAAA;AAE3D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,wBAAwB,CAChC,CAAA;AACD,eAAO,MAAM,wBAAwB
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/promotions/validators.ts"],"names":[],"mappings":"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"}
|
@@ -15,21 +15,23 @@ export declare const AdminUpdatePaymentRefundReason: z.ZodObject<{
|
|
15
15
|
label: z.ZodOptional<z.ZodString>;
|
16
16
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
18
|
-
label?: string | undefined;
|
19
18
|
description?: string | null | undefined;
|
20
|
-
}, {
|
21
19
|
label?: string | undefined;
|
20
|
+
}, {
|
22
21
|
description?: string | null | undefined;
|
22
|
+
label?: string | undefined;
|
23
23
|
}>;
|
24
24
|
/**
|
25
25
|
* Parameters used to filter and configure the pagination of the retrieved refund reason.
|
26
26
|
*/
|
27
27
|
export declare const AdminGetRefundReasonsParams: z.ZodObject<{
|
28
|
-
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
29
28
|
fields: z.ZodOptional<z.ZodString>;
|
29
|
+
} & {
|
30
30
|
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
31
31
|
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
32
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
32
33
|
with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
34
|
+
} & {
|
33
35
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
34
36
|
q: z.ZodOptional<z.ZodString>;
|
35
37
|
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
@@ -156,24 +158,24 @@ export declare const AdminGetRefundReasonsParams: z.ZodObject<{
|
|
156
158
|
offset: number;
|
157
159
|
limit: number;
|
158
160
|
order?: string | undefined;
|
159
|
-
fields?: string | undefined;
|
160
|
-
with_deleted?: boolean | undefined;
|
161
161
|
id?: string | string[] | undefined;
|
162
|
-
|
162
|
+
fields?: string | undefined;
|
163
163
|
created_at?: any;
|
164
164
|
updated_at?: any;
|
165
165
|
deleted_at?: any;
|
166
|
+
with_deleted?: boolean | undefined;
|
167
|
+
q?: string | undefined;
|
166
168
|
}, {
|
167
169
|
order?: string | undefined;
|
170
|
+
id?: string | string[] | undefined;
|
168
171
|
fields?: string | undefined;
|
172
|
+
created_at?: any;
|
173
|
+
updated_at?: any;
|
174
|
+
deleted_at?: any;
|
169
175
|
offset?: unknown;
|
170
176
|
limit?: unknown;
|
171
177
|
with_deleted?: unknown;
|
172
|
-
id?: string | string[] | undefined;
|
173
178
|
q?: string | undefined;
|
174
|
-
created_at?: any;
|
175
|
-
updated_at?: any;
|
176
|
-
deleted_at?: any;
|
177
179
|
}>;
|
178
180
|
export type AdminGetRefundReasonsParamsType = z.infer<typeof AdminGetRefundReasonsParams>;
|
179
181
|
//# sourceMappingURL=validators.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/refund-reasons/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8BAA8B,CACtC,CAAA;AACD,eAAO,MAAM,8BAA8B;;;;;;;;;EAKhC,CAAA;AAEX,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8BAA8B,CACtC,CAAA;AACD,eAAO,MAAM,8BAA8B;;;;;;;;;EAKhC,CAAA;AAEX;;GAEG;AACH,eAAO,MAAM,2BAA2B
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/refund-reasons/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8BAA8B,CACtC,CAAA;AACD,eAAO,MAAM,8BAA8B;;;;;;;;;EAKhC,CAAA;AAEX,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,8BAA8B,CACtC,CAAA;AACD,eAAO,MAAM,8BAA8B;;;;;;;;;EAKhC,CAAA;AAEX;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWvC,CAAA;AACD,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,2BAA2B,CACnC,CAAA"}
|