aivilife-contracts 5.0.0 → 5.2.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.
@@ -0,0 +1,542 @@
1
+ import { z } from 'zod';
2
+ import { C as CartItemAvailability } from '../cart.enums-Q3FbqDWC.js';
3
+
4
+ declare enum OrderDeliveryMethod {
5
+ PICKUP = "PICKUP"
6
+ }
7
+ declare enum OrderPaymentMethod {
8
+ CASH = "CASH",
9
+ MAIN_WALLET = "MAIN_WALLET"
10
+ }
11
+ declare enum OrderStatus {
12
+ PENDING_PAYMENT = "PENDING_PAYMENT",
13
+ PROCESSING = "PROCESSING",
14
+ READY_FOR_PICKUP = "READY_FOR_PICKUP",
15
+ COMPLETED = "COMPLETED",
16
+ CANCELLED = "CANCELLED"
17
+ }
18
+ declare enum OrderPaymentStatus {
19
+ AWAITING_RECEIPT = "AWAITING_RECEIPT",
20
+ UNDER_REVIEW = "UNDER_REVIEW",
21
+ REJECTED = "REJECTED",
22
+ PAID = "PAID",
23
+ CANCELLED = "CANCELLED"
24
+ }
25
+ declare enum OrderReceiptStatus {
26
+ UNDER_REVIEW = "UNDER_REVIEW",
27
+ APPROVED = "APPROVED",
28
+ REJECTED = "REJECTED"
29
+ }
30
+ declare enum OrderReceiptDecision {
31
+ APPROVE = "APPROVE",
32
+ REJECT = "REJECT"
33
+ }
34
+ declare enum OrderStockAvailability {
35
+ AVAILABLE = "AVAILABLE",
36
+ OUT_OF_STOCK = "OUT_OF_STOCK",
37
+ INSUFFICIENT_STOCK = "INSUFFICIENT_STOCK"
38
+ }
39
+ declare enum OrderEventType {
40
+ CREATED = "CREATED",
41
+ WALLET_DEBITED = "WALLET_DEBITED",
42
+ RECEIPT_UPLOADED = "RECEIPT_UPLOADED",
43
+ PAYMENT_APPROVED = "PAYMENT_APPROVED",
44
+ PAYMENT_REJECTED = "PAYMENT_REJECTED",
45
+ CANCELLED_TIMEOUT = "CANCELLED_TIMEOUT",
46
+ WALLET_REFUNDED = "WALLET_REFUNDED"
47
+ }
48
+ declare enum OrderNotificationType {
49
+ ORDER_CREATED = "ORDER_CREATED",
50
+ RECEIPT_RECEIVED = "RECEIPT_RECEIVED",
51
+ PAYMENT_APPROVED = "PAYMENT_APPROVED",
52
+ PAYMENT_REJECTED = "PAYMENT_REJECTED",
53
+ ORDER_CANCELLED = "ORDER_CANCELLED"
54
+ }
55
+
56
+ declare const CheckoutWarehouseQuerySchema: z.ZodObject<{
57
+ countryCode: z.ZodString;
58
+ city: z.ZodString;
59
+ }, z.core.$strip>;
60
+ declare const CheckoutLocationSchema: z.ZodObject<{
61
+ countryCode: z.ZodString;
62
+ country: z.ZodString;
63
+ cities: z.ZodArray<z.ZodString>;
64
+ }, z.core.$strip>;
65
+ declare const CheckoutSnapshotSchema: z.ZodObject<{
66
+ cart: z.ZodObject<{
67
+ publicId: z.ZodNullable<z.ZodUUID>;
68
+ items: z.ZodArray<z.ZodObject<{
69
+ publicId: z.ZodUUID;
70
+ quantity: z.ZodNumber;
71
+ version: z.ZodNumber;
72
+ availability: z.ZodEnum<typeof CartItemAvailability>;
73
+ product: z.ZodObject<{
74
+ publicId: z.ZodUUID;
75
+ slug: z.ZodString;
76
+ name: z.ZodString;
77
+ coverContentUrl: z.ZodNullable<z.ZodString>;
78
+ }, z.core.$strip>;
79
+ variant: z.ZodObject<{
80
+ publicId: z.ZodUUID;
81
+ sku: z.ZodString;
82
+ quantity: z.ZodString;
83
+ unit: z.ZodEnum<{
84
+ readonly CAPSULE: "CAPSULE";
85
+ readonly GRAM: "GRAM";
86
+ readonly MILLILITER: "MILLILITER";
87
+ readonly PIECE: "PIECE";
88
+ }>;
89
+ priceUsd: z.ZodString;
90
+ pv: z.ZodString;
91
+ }, z.core.$strip>;
92
+ lineTotalUsd: z.ZodString;
93
+ lineTotalPv: z.ZodString;
94
+ createdAt: z.ZodString;
95
+ updatedAt: z.ZodString;
96
+ }, z.core.$strip>>;
97
+ totalQuantity: z.ZodNumber;
98
+ subtotalUsd: z.ZodString;
99
+ totalPv: z.ZodString;
100
+ hasUnavailableItems: z.ZodBoolean;
101
+ updatedAt: z.ZodNullable<z.ZodString>;
102
+ }, z.core.$strip>;
103
+ locations: z.ZodArray<z.ZodObject<{
104
+ countryCode: z.ZodString;
105
+ country: z.ZodString;
106
+ cities: z.ZodArray<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ mainWallet: z.ZodObject<{
109
+ balanceUsd: z.ZodString;
110
+ availableBalanceUsd: z.ZodString;
111
+ }, z.core.$strip>;
112
+ paymentMethods: z.ZodArray<z.ZodEnum<typeof OrderPaymentMethod>>;
113
+ reserveDurationHours: z.ZodLiteral<24>;
114
+ }, z.core.$strip>;
115
+ declare const CheckoutWarehouseAvailabilitySchema: z.ZodObject<{
116
+ variantPublicId: z.ZodUUID;
117
+ requestedQuantity: z.ZodNumber;
118
+ availableQuantity: z.ZodNumber;
119
+ availability: z.ZodEnum<typeof OrderStockAvailability>;
120
+ }, z.core.$strip>;
121
+ declare const CheckoutWarehouseSchema: z.ZodObject<{
122
+ publicId: z.ZodUUID;
123
+ code: z.ZodString;
124
+ name: z.ZodString;
125
+ countryCode: z.ZodString;
126
+ country: z.ZodString;
127
+ city: z.ZodString;
128
+ address: z.ZodString;
129
+ phoneNumber: z.ZodString;
130
+ mapUrl: z.ZodURL;
131
+ timezone: z.ZodString;
132
+ schedule: z.ZodRecord<z.ZodEnum<{
133
+ readonly MONDAY: "MONDAY";
134
+ readonly TUESDAY: "TUESDAY";
135
+ readonly WEDNESDAY: "WEDNESDAY";
136
+ readonly THURSDAY: "THURSDAY";
137
+ readonly FRIDAY: "FRIDAY";
138
+ readonly SATURDAY: "SATURDAY";
139
+ readonly SUNDAY: "SUNDAY";
140
+ }>, z.ZodObject<{
141
+ isOpen: z.ZodBoolean;
142
+ opensAt: z.ZodNullable<z.ZodString>;
143
+ closesAt: z.ZodNullable<z.ZodString>;
144
+ }, z.core.$strip>>;
145
+ canFulfill: z.ZodBoolean;
146
+ items: z.ZodArray<z.ZodObject<{
147
+ variantPublicId: z.ZodUUID;
148
+ requestedQuantity: z.ZodNumber;
149
+ availableQuantity: z.ZodNumber;
150
+ availability: z.ZodEnum<typeof OrderStockAvailability>;
151
+ }, z.core.$strip>>;
152
+ }, z.core.$strip>;
153
+ declare const CheckoutWarehouseListSchema: z.ZodArray<z.ZodObject<{
154
+ publicId: z.ZodUUID;
155
+ code: z.ZodString;
156
+ name: z.ZodString;
157
+ countryCode: z.ZodString;
158
+ country: z.ZodString;
159
+ city: z.ZodString;
160
+ address: z.ZodString;
161
+ phoneNumber: z.ZodString;
162
+ mapUrl: z.ZodURL;
163
+ timezone: z.ZodString;
164
+ schedule: z.ZodRecord<z.ZodEnum<{
165
+ readonly MONDAY: "MONDAY";
166
+ readonly TUESDAY: "TUESDAY";
167
+ readonly WEDNESDAY: "WEDNESDAY";
168
+ readonly THURSDAY: "THURSDAY";
169
+ readonly FRIDAY: "FRIDAY";
170
+ readonly SATURDAY: "SATURDAY";
171
+ readonly SUNDAY: "SUNDAY";
172
+ }>, z.ZodObject<{
173
+ isOpen: z.ZodBoolean;
174
+ opensAt: z.ZodNullable<z.ZodString>;
175
+ closesAt: z.ZodNullable<z.ZodString>;
176
+ }, z.core.$strip>>;
177
+ canFulfill: z.ZodBoolean;
178
+ items: z.ZodArray<z.ZodObject<{
179
+ variantPublicId: z.ZodUUID;
180
+ requestedQuantity: z.ZodNumber;
181
+ availableQuantity: z.ZodNumber;
182
+ availability: z.ZodEnum<typeof OrderStockAvailability>;
183
+ }, z.core.$strip>>;
184
+ }, z.core.$strip>>;
185
+ declare const CreateOrderRequestSchema: z.ZodObject<{
186
+ warehousePublicId: z.ZodUUID;
187
+ deliveryMethod: z.ZodLiteral<OrderDeliveryMethod>;
188
+ paymentMethod: z.ZodEnum<typeof OrderPaymentMethod>;
189
+ walletAmountUsd: z.ZodOptional<z.ZodString>;
190
+ idempotencyKey: z.ZodUUID;
191
+ }, z.core.$strip>;
192
+ declare const OrderPublicIdParamSchema: z.ZodObject<{
193
+ publicId: z.ZodUUID;
194
+ }, z.core.$strip>;
195
+ declare const OrderReceiptParamSchema: z.ZodObject<{
196
+ publicId: z.ZodUUID;
197
+ receiptPublicId: z.ZodUUID;
198
+ }, z.core.$strip>;
199
+ declare const OrderWarehouseSchema: z.ZodObject<{
200
+ publicId: z.ZodUUID;
201
+ code: z.ZodString;
202
+ name: z.ZodString;
203
+ countryCode: z.ZodString;
204
+ country: z.ZodString;
205
+ city: z.ZodString;
206
+ address: z.ZodString;
207
+ phoneNumber: z.ZodString;
208
+ mapUrl: z.ZodURL;
209
+ timezone: z.ZodString;
210
+ schedule: z.ZodRecord<z.ZodEnum<{
211
+ readonly MONDAY: "MONDAY";
212
+ readonly TUESDAY: "TUESDAY";
213
+ readonly WEDNESDAY: "WEDNESDAY";
214
+ readonly THURSDAY: "THURSDAY";
215
+ readonly FRIDAY: "FRIDAY";
216
+ readonly SATURDAY: "SATURDAY";
217
+ readonly SUNDAY: "SUNDAY";
218
+ }>, z.ZodObject<{
219
+ isOpen: z.ZodBoolean;
220
+ opensAt: z.ZodNullable<z.ZodString>;
221
+ closesAt: z.ZodNullable<z.ZodString>;
222
+ }, z.core.$strip>>;
223
+ }, z.core.$strip>;
224
+ declare const OrderItemSchema: z.ZodObject<{
225
+ publicId: z.ZodUUID;
226
+ productPublicId: z.ZodUUID;
227
+ variantPublicId: z.ZodUUID;
228
+ productName: z.ZodString;
229
+ sku: z.ZodString;
230
+ variantQuantity: z.ZodString;
231
+ unit: z.ZodEnum<{
232
+ readonly CAPSULE: "CAPSULE";
233
+ readonly GRAM: "GRAM";
234
+ readonly MILLILITER: "MILLILITER";
235
+ readonly PIECE: "PIECE";
236
+ }>;
237
+ quantity: z.ZodNumber;
238
+ unitPriceUsd: z.ZodString;
239
+ lineTotalUsd: z.ZodString;
240
+ unitPv: z.ZodString;
241
+ lineTotalPv: z.ZodString;
242
+ coverContentUrl: z.ZodNullable<z.ZodString>;
243
+ }, z.core.$strip>;
244
+ declare const OrderReceiptSchema: z.ZodObject<{
245
+ publicId: z.ZodUUID;
246
+ status: z.ZodEnum<typeof OrderReceiptStatus>;
247
+ originalName: z.ZodNullable<z.ZodString>;
248
+ mimeType: z.ZodString;
249
+ sizeBytes: z.ZodNumber;
250
+ version: z.ZodNumber;
251
+ rejectionReason: z.ZodNullable<z.ZodString>;
252
+ reviewedAt: z.ZodNullable<z.ZodISODateTime>;
253
+ createdAt: z.ZodISODateTime;
254
+ contentUrl: z.ZodString;
255
+ }, z.core.$strip>;
256
+ declare const OrderEventSchema: z.ZodObject<{
257
+ publicId: z.ZodUUID;
258
+ type: z.ZodEnum<typeof OrderEventType>;
259
+ actorLogin: z.ZodNullable<z.ZodString>;
260
+ comment: z.ZodNullable<z.ZodString>;
261
+ createdAt: z.ZodISODateTime;
262
+ }, z.core.$strip>;
263
+ declare const OrderSchema: z.ZodObject<{
264
+ publicId: z.ZodUUID;
265
+ number: z.ZodString;
266
+ status: z.ZodEnum<typeof OrderStatus>;
267
+ paymentStatus: z.ZodEnum<typeof OrderPaymentStatus>;
268
+ deliveryMethod: z.ZodEnum<typeof OrderDeliveryMethod>;
269
+ paymentMethod: z.ZodEnum<typeof OrderPaymentMethod>;
270
+ locale: z.ZodString;
271
+ baseCurrencyCode: z.ZodString;
272
+ displayCurrencyCode: z.ZodString;
273
+ displayRate: z.ZodString;
274
+ subtotalUsd: z.ZodString;
275
+ totalPv: z.ZodString;
276
+ walletPaidUsd: z.ZodString;
277
+ walletRefundedUsd: z.ZodString;
278
+ cashDueUsd: z.ZodString;
279
+ reserveExpiresAt: z.ZodNullable<z.ZodISODateTime>;
280
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
281
+ cancelledAt: z.ZodNullable<z.ZodISODateTime>;
282
+ cancellationReason: z.ZodNullable<z.ZodString>;
283
+ warehouse: z.ZodObject<{
284
+ publicId: z.ZodUUID;
285
+ code: z.ZodString;
286
+ name: z.ZodString;
287
+ countryCode: z.ZodString;
288
+ country: z.ZodString;
289
+ city: z.ZodString;
290
+ address: z.ZodString;
291
+ phoneNumber: z.ZodString;
292
+ mapUrl: z.ZodURL;
293
+ timezone: z.ZodString;
294
+ schedule: z.ZodRecord<z.ZodEnum<{
295
+ readonly MONDAY: "MONDAY";
296
+ readonly TUESDAY: "TUESDAY";
297
+ readonly WEDNESDAY: "WEDNESDAY";
298
+ readonly THURSDAY: "THURSDAY";
299
+ readonly FRIDAY: "FRIDAY";
300
+ readonly SATURDAY: "SATURDAY";
301
+ readonly SUNDAY: "SUNDAY";
302
+ }>, z.ZodObject<{
303
+ isOpen: z.ZodBoolean;
304
+ opensAt: z.ZodNullable<z.ZodString>;
305
+ closesAt: z.ZodNullable<z.ZodString>;
306
+ }, z.core.$strip>>;
307
+ }, z.core.$strip>;
308
+ items: z.ZodArray<z.ZodObject<{
309
+ publicId: z.ZodUUID;
310
+ productPublicId: z.ZodUUID;
311
+ variantPublicId: z.ZodUUID;
312
+ productName: z.ZodString;
313
+ sku: z.ZodString;
314
+ variantQuantity: z.ZodString;
315
+ unit: z.ZodEnum<{
316
+ readonly CAPSULE: "CAPSULE";
317
+ readonly GRAM: "GRAM";
318
+ readonly MILLILITER: "MILLILITER";
319
+ readonly PIECE: "PIECE";
320
+ }>;
321
+ quantity: z.ZodNumber;
322
+ unitPriceUsd: z.ZodString;
323
+ lineTotalUsd: z.ZodString;
324
+ unitPv: z.ZodString;
325
+ lineTotalPv: z.ZodString;
326
+ coverContentUrl: z.ZodNullable<z.ZodString>;
327
+ }, z.core.$strip>>;
328
+ receipts: z.ZodArray<z.ZodObject<{
329
+ publicId: z.ZodUUID;
330
+ status: z.ZodEnum<typeof OrderReceiptStatus>;
331
+ originalName: z.ZodNullable<z.ZodString>;
332
+ mimeType: z.ZodString;
333
+ sizeBytes: z.ZodNumber;
334
+ version: z.ZodNumber;
335
+ rejectionReason: z.ZodNullable<z.ZodString>;
336
+ reviewedAt: z.ZodNullable<z.ZodISODateTime>;
337
+ createdAt: z.ZodISODateTime;
338
+ contentUrl: z.ZodString;
339
+ }, z.core.$strip>>;
340
+ events: z.ZodArray<z.ZodObject<{
341
+ publicId: z.ZodUUID;
342
+ type: z.ZodEnum<typeof OrderEventType>;
343
+ actorLogin: z.ZodNullable<z.ZodString>;
344
+ comment: z.ZodNullable<z.ZodString>;
345
+ createdAt: z.ZodISODateTime;
346
+ }, z.core.$strip>>;
347
+ createdAt: z.ZodISODateTime;
348
+ updatedAt: z.ZodISODateTime;
349
+ }, z.core.$strip>;
350
+ declare const OrderListItemSchema: z.ZodObject<{
351
+ number: z.ZodString;
352
+ createdAt: z.ZodISODateTime;
353
+ updatedAt: z.ZodISODateTime;
354
+ locale: z.ZodString;
355
+ status: z.ZodEnum<typeof OrderStatus>;
356
+ publicId: z.ZodUUID;
357
+ subtotalUsd: z.ZodString;
358
+ totalPv: z.ZodString;
359
+ items: z.ZodArray<z.ZodObject<{
360
+ publicId: z.ZodUUID;
361
+ productPublicId: z.ZodUUID;
362
+ variantPublicId: z.ZodUUID;
363
+ productName: z.ZodString;
364
+ sku: z.ZodString;
365
+ variantQuantity: z.ZodString;
366
+ unit: z.ZodEnum<{
367
+ readonly CAPSULE: "CAPSULE";
368
+ readonly GRAM: "GRAM";
369
+ readonly MILLILITER: "MILLILITER";
370
+ readonly PIECE: "PIECE";
371
+ }>;
372
+ quantity: z.ZodNumber;
373
+ unitPriceUsd: z.ZodString;
374
+ lineTotalUsd: z.ZodString;
375
+ unitPv: z.ZodString;
376
+ lineTotalPv: z.ZodString;
377
+ coverContentUrl: z.ZodNullable<z.ZodString>;
378
+ }, z.core.$strip>>;
379
+ warehouse: z.ZodObject<{
380
+ publicId: z.ZodUUID;
381
+ code: z.ZodString;
382
+ name: z.ZodString;
383
+ countryCode: z.ZodString;
384
+ country: z.ZodString;
385
+ city: z.ZodString;
386
+ address: z.ZodString;
387
+ phoneNumber: z.ZodString;
388
+ mapUrl: z.ZodURL;
389
+ timezone: z.ZodString;
390
+ schedule: z.ZodRecord<z.ZodEnum<{
391
+ readonly MONDAY: "MONDAY";
392
+ readonly TUESDAY: "TUESDAY";
393
+ readonly WEDNESDAY: "WEDNESDAY";
394
+ readonly THURSDAY: "THURSDAY";
395
+ readonly FRIDAY: "FRIDAY";
396
+ readonly SATURDAY: "SATURDAY";
397
+ readonly SUNDAY: "SUNDAY";
398
+ }>, z.ZodObject<{
399
+ isOpen: z.ZodBoolean;
400
+ opensAt: z.ZodNullable<z.ZodString>;
401
+ closesAt: z.ZodNullable<z.ZodString>;
402
+ }, z.core.$strip>>;
403
+ }, z.core.$strip>;
404
+ deliveryMethod: z.ZodEnum<typeof OrderDeliveryMethod>;
405
+ paymentMethod: z.ZodEnum<typeof OrderPaymentMethod>;
406
+ walletPaidUsd: z.ZodString;
407
+ walletRefundedUsd: z.ZodString;
408
+ cashDueUsd: z.ZodString;
409
+ paymentStatus: z.ZodEnum<typeof OrderPaymentStatus>;
410
+ baseCurrencyCode: z.ZodString;
411
+ displayCurrencyCode: z.ZodString;
412
+ displayRate: z.ZodString;
413
+ reserveExpiresAt: z.ZodNullable<z.ZodISODateTime>;
414
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
415
+ cancelledAt: z.ZodNullable<z.ZodISODateTime>;
416
+ cancellationReason: z.ZodNullable<z.ZodString>;
417
+ }, z.core.$strip>;
418
+ declare const OrderListQuerySchema: z.ZodObject<{
419
+ page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
420
+ limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
421
+ search: z.ZodOptional<z.ZodString>;
422
+ dateFrom: z.ZodOptional<z.ZodString>;
423
+ dateTo: z.ZodOptional<z.ZodString>;
424
+ sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
425
+ asc: "asc";
426
+ desc: "desc";
427
+ }>>>;
428
+ status: z.ZodOptional<z.ZodEnum<typeof OrderStatus>>;
429
+ paymentStatus: z.ZodOptional<z.ZodEnum<typeof OrderPaymentStatus>>;
430
+ }, z.core.$strip>;
431
+ declare const OrderListResponseSchema: z.ZodObject<{
432
+ items: z.ZodArray<z.ZodObject<{
433
+ number: z.ZodString;
434
+ createdAt: z.ZodISODateTime;
435
+ updatedAt: z.ZodISODateTime;
436
+ locale: z.ZodString;
437
+ status: z.ZodEnum<typeof OrderStatus>;
438
+ publicId: z.ZodUUID;
439
+ subtotalUsd: z.ZodString;
440
+ totalPv: z.ZodString;
441
+ items: z.ZodArray<z.ZodObject<{
442
+ publicId: z.ZodUUID;
443
+ productPublicId: z.ZodUUID;
444
+ variantPublicId: z.ZodUUID;
445
+ productName: z.ZodString;
446
+ sku: z.ZodString;
447
+ variantQuantity: z.ZodString;
448
+ unit: z.ZodEnum<{
449
+ readonly CAPSULE: "CAPSULE";
450
+ readonly GRAM: "GRAM";
451
+ readonly MILLILITER: "MILLILITER";
452
+ readonly PIECE: "PIECE";
453
+ }>;
454
+ quantity: z.ZodNumber;
455
+ unitPriceUsd: z.ZodString;
456
+ lineTotalUsd: z.ZodString;
457
+ unitPv: z.ZodString;
458
+ lineTotalPv: z.ZodString;
459
+ coverContentUrl: z.ZodNullable<z.ZodString>;
460
+ }, z.core.$strip>>;
461
+ warehouse: z.ZodObject<{
462
+ publicId: z.ZodUUID;
463
+ code: z.ZodString;
464
+ name: z.ZodString;
465
+ countryCode: z.ZodString;
466
+ country: z.ZodString;
467
+ city: z.ZodString;
468
+ address: z.ZodString;
469
+ phoneNumber: z.ZodString;
470
+ mapUrl: z.ZodURL;
471
+ timezone: z.ZodString;
472
+ schedule: z.ZodRecord<z.ZodEnum<{
473
+ readonly MONDAY: "MONDAY";
474
+ readonly TUESDAY: "TUESDAY";
475
+ readonly WEDNESDAY: "WEDNESDAY";
476
+ readonly THURSDAY: "THURSDAY";
477
+ readonly FRIDAY: "FRIDAY";
478
+ readonly SATURDAY: "SATURDAY";
479
+ readonly SUNDAY: "SUNDAY";
480
+ }>, z.ZodObject<{
481
+ isOpen: z.ZodBoolean;
482
+ opensAt: z.ZodNullable<z.ZodString>;
483
+ closesAt: z.ZodNullable<z.ZodString>;
484
+ }, z.core.$strip>>;
485
+ }, z.core.$strip>;
486
+ deliveryMethod: z.ZodEnum<typeof OrderDeliveryMethod>;
487
+ paymentMethod: z.ZodEnum<typeof OrderPaymentMethod>;
488
+ walletPaidUsd: z.ZodString;
489
+ walletRefundedUsd: z.ZodString;
490
+ cashDueUsd: z.ZodString;
491
+ paymentStatus: z.ZodEnum<typeof OrderPaymentStatus>;
492
+ baseCurrencyCode: z.ZodString;
493
+ displayCurrencyCode: z.ZodString;
494
+ displayRate: z.ZodString;
495
+ reserveExpiresAt: z.ZodNullable<z.ZodISODateTime>;
496
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
497
+ cancelledAt: z.ZodNullable<z.ZodISODateTime>;
498
+ cancellationReason: z.ZodNullable<z.ZodString>;
499
+ }, z.core.$strip>>;
500
+ meta: z.ZodObject<{
501
+ page: z.ZodNumber;
502
+ limit: z.ZodNumber;
503
+ total: z.ZodNumber;
504
+ pageCount: z.ZodNumber;
505
+ }, z.core.$strip>;
506
+ }, z.core.$strip>;
507
+ declare const ReviewOrderReceiptRequestSchema: z.ZodObject<{
508
+ decision: z.ZodEnum<typeof OrderReceiptDecision>;
509
+ version: z.ZodNumber;
510
+ rejectionReason: z.ZodOptional<z.ZodString>;
511
+ }, z.core.$strip>;
512
+ declare const OrderNotificationSchema: z.ZodObject<{
513
+ publicId: z.ZodUUID;
514
+ orderPublicId: z.ZodUUID;
515
+ orderNumber: z.ZodString;
516
+ type: z.ZodEnum<typeof OrderNotificationType>;
517
+ isRead: z.ZodBoolean;
518
+ createdAt: z.ZodISODateTime;
519
+ }, z.core.$strip>;
520
+ declare const OrderNotificationListSchema: z.ZodArray<z.ZodObject<{
521
+ publicId: z.ZodUUID;
522
+ orderPublicId: z.ZodUUID;
523
+ orderNumber: z.ZodString;
524
+ type: z.ZodEnum<typeof OrderNotificationType>;
525
+ isRead: z.ZodBoolean;
526
+ createdAt: z.ZodISODateTime;
527
+ }, z.core.$strip>>;
528
+
529
+ type CheckoutLocationResponse = z.infer<typeof CheckoutLocationSchema>;
530
+ type CheckoutSnapshotResponse = z.infer<typeof CheckoutSnapshotSchema>;
531
+ type CheckoutWarehouseQuery = z.infer<typeof CheckoutWarehouseQuerySchema>;
532
+ type CheckoutWarehouseListResponse = z.infer<typeof CheckoutWarehouseListSchema>;
533
+ type CreateOrderRequest = z.infer<typeof CreateOrderRequestSchema>;
534
+ type OrderResponse = z.infer<typeof OrderSchema>;
535
+ type OrderListItemResponse = z.infer<typeof OrderListItemSchema>;
536
+ type OrderListQuery = z.infer<typeof OrderListQuerySchema>;
537
+ type OrderListResponse = z.infer<typeof OrderListResponseSchema>;
538
+ type ReviewOrderReceiptRequest = z.infer<typeof ReviewOrderReceiptRequestSchema>;
539
+ type OrderNotificationResponse = z.infer<typeof OrderNotificationSchema>;
540
+ type OrderNotificationListResponse = z.infer<typeof OrderNotificationListSchema>;
541
+
542
+ export { type CheckoutLocationResponse, CheckoutLocationSchema, type CheckoutSnapshotResponse, CheckoutSnapshotSchema, CheckoutWarehouseAvailabilitySchema, type CheckoutWarehouseListResponse, CheckoutWarehouseListSchema, type CheckoutWarehouseQuery, CheckoutWarehouseQuerySchema, CheckoutWarehouseSchema, type CreateOrderRequest, CreateOrderRequestSchema, OrderDeliveryMethod, OrderEventSchema, OrderEventType, OrderItemSchema, type OrderListItemResponse, OrderListItemSchema, type OrderListQuery, OrderListQuerySchema, type OrderListResponse, OrderListResponseSchema, type OrderNotificationListResponse, OrderNotificationListSchema, type OrderNotificationResponse, OrderNotificationSchema, OrderNotificationType, OrderPaymentMethod, OrderPaymentStatus, OrderPublicIdParamSchema, OrderReceiptDecision, OrderReceiptParamSchema, OrderReceiptSchema, OrderReceiptStatus, type OrderResponse, OrderSchema, OrderStatus, OrderStockAvailability, OrderWarehouseSchema, type ReviewOrderReceiptRequest, ReviewOrderReceiptRequestSchema };