controlresell 2.20.12 → 2.20.13

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.
Files changed (32) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +1189 -0
  3. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +959 -0
  5. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  6. package/src/com/controlresell/api/responses/items/ListedItem.js +3 -1
  7. package/src/com/controlresell/api/responses/items/ListedItem.js.map +1 -1
  8. package/src/com/controlresell/api/responses/items/ListedItem.ts +3 -1
  9. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +732 -0
  10. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -0
  11. package/src/com/controlresell/api/responses/items/ListedItemOrder.js +10 -0
  12. package/src/com/controlresell/api/responses/items/ListedItemOrder.js.map +1 -0
  13. package/src/com/controlresell/api/responses/items/ListedItemOrder.ts +11 -0
  14. package/src/com/controlresell/models/items/CreatedItems.d.ts +1189 -0
  15. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  16. package/src/com/controlresell/models/items/ItemUpdate.d.ts +1189 -0
  17. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  18. package/src/com/controlresell/models/items/UpdatedItem.d.ts +1189 -0
  19. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  20. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1427 -8
  21. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  22. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1189 -0
  23. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  24. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +1189 -0
  25. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  26. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3198 -820
  27. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  28. package/src/index.d.ts +1 -0
  29. package/src/index.d.ts.map +1 -1
  30. package/src/index.js +1 -0
  31. package/src/index.js.map +1 -1
  32. package/src/index.ts +1 -0
@@ -0,0 +1,732 @@
1
+ import { z } from "zod";
2
+ export declare const ListedItemOrderSchema: z.ZodObject<{
3
+ transactionType: z.ZodEnum<["SINGLE_ITEM", "BUNDLE"]>;
4
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
5
+ id: z.ZodString;
6
+ orderId: z.ZodString;
7
+ fileId: z.ZodString;
8
+ nonCroppedFileId: z.ZodString;
9
+ originalFileId: z.ZodString;
10
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodString;
12
+ userId: z.ZodNumber;
13
+ path: z.ZodString;
14
+ signedUrl: z.ZodString;
15
+ createdAt: z.ZodDate;
16
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ path: string;
19
+ id: string;
20
+ createdAt: Date;
21
+ userId: number;
22
+ signedUrl: string;
23
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
24
+ }, {
25
+ path: string;
26
+ id: string;
27
+ createdAt: Date;
28
+ userId: number;
29
+ signedUrl: string;
30
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
31
+ }>>>;
32
+ nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ id: z.ZodString;
34
+ userId: z.ZodNumber;
35
+ path: z.ZodString;
36
+ signedUrl: z.ZodString;
37
+ createdAt: z.ZodDate;
38
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ path: string;
41
+ id: string;
42
+ createdAt: Date;
43
+ userId: number;
44
+ signedUrl: string;
45
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
46
+ }, {
47
+ path: string;
48
+ id: string;
49
+ createdAt: Date;
50
+ userId: number;
51
+ signedUrl: string;
52
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
53
+ }>>>;
54
+ originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
+ id: z.ZodString;
56
+ userId: z.ZodNumber;
57
+ path: z.ZodString;
58
+ signedUrl: z.ZodString;
59
+ createdAt: z.ZodDate;
60
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ path: string;
63
+ id: string;
64
+ createdAt: Date;
65
+ userId: number;
66
+ signedUrl: string;
67
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
68
+ }, {
69
+ path: string;
70
+ id: string;
71
+ createdAt: Date;
72
+ userId: number;
73
+ signedUrl: string;
74
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
75
+ }>>>;
76
+ carrier: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MONDIAL_RELAY", "MONDIAL_RELAY_2", "MONDIAL_RELAY_3", "MONDIAL_RELAY_4", "MONDIAL_RELAY_5", "UPS", "CHRONOPOST", "COLISSIMO", "RELAIS_COLIS", "VINTED_GO", "VINTED_GO_BE", "VINTED_VERIF", "B_POST", "VINTED_GO_IT", "DPD", "VINTED_GO_DIGITAL", "DHL", "DHL_ECONOMY", "UNKNOWN"]>>>>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ id: string;
79
+ fileId: string;
80
+ orderId: string;
81
+ nonCroppedFileId: string;
82
+ originalFileId: string;
83
+ originalFile?: {
84
+ path: string;
85
+ id: string;
86
+ createdAt: Date;
87
+ userId: number;
88
+ signedUrl: string;
89
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
90
+ } | null | undefined;
91
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
92
+ file?: {
93
+ path: string;
94
+ id: string;
95
+ createdAt: Date;
96
+ userId: number;
97
+ signedUrl: string;
98
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
99
+ } | null | undefined;
100
+ nonCroppedFile?: {
101
+ path: string;
102
+ id: string;
103
+ createdAt: Date;
104
+ userId: number;
105
+ signedUrl: string;
106
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
107
+ } | null | undefined;
108
+ }, {
109
+ id: string;
110
+ fileId: string;
111
+ orderId: string;
112
+ nonCroppedFileId: string;
113
+ originalFileId: string;
114
+ originalFile?: {
115
+ path: string;
116
+ id: string;
117
+ createdAt: Date;
118
+ userId: number;
119
+ signedUrl: string;
120
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
121
+ } | null | undefined;
122
+ carrier?: unknown;
123
+ file?: {
124
+ path: string;
125
+ id: string;
126
+ createdAt: Date;
127
+ userId: number;
128
+ signedUrl: string;
129
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
130
+ } | null | undefined;
131
+ nonCroppedFile?: {
132
+ path: string;
133
+ id: string;
134
+ createdAt: Date;
135
+ userId: number;
136
+ signedUrl: string;
137
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
138
+ } | null | undefined;
139
+ }>, "many">>>;
140
+ invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
141
+ id: z.ZodString;
142
+ invoiceNumber: z.ZodString;
143
+ userId: z.ZodNumber;
144
+ businessProfileId: z.ZodString;
145
+ businessProfile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
146
+ id: z.ZodString;
147
+ userId: z.ZodNumber;
148
+ businessName: z.ZodString;
149
+ address: z.ZodString;
150
+ siret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ vatNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ logoFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
156
+ id: z.ZodString;
157
+ userId: z.ZodNumber;
158
+ path: z.ZodString;
159
+ signedUrl: z.ZodString;
160
+ createdAt: z.ZodDate;
161
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ path: string;
164
+ id: string;
165
+ createdAt: Date;
166
+ userId: number;
167
+ signedUrl: string;
168
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
169
+ }, {
170
+ path: string;
171
+ id: string;
172
+ createdAt: Date;
173
+ userId: number;
174
+ signedUrl: string;
175
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
176
+ }>>>;
177
+ isActive: z.ZodBoolean;
178
+ createdAt: z.ZodDate;
179
+ updatedAt: z.ZodDate;
180
+ }, "strip", z.ZodTypeAny, {
181
+ id: string;
182
+ createdAt: Date;
183
+ userId: number;
184
+ updatedAt: Date;
185
+ businessName: string;
186
+ address: string;
187
+ isActive: boolean;
188
+ email?: string | null | undefined;
189
+ phone?: string | null | undefined;
190
+ siret?: string | null | undefined;
191
+ vatNumber?: string | null | undefined;
192
+ logoFileId?: string | null | undefined;
193
+ logo?: {
194
+ path: string;
195
+ id: string;
196
+ createdAt: Date;
197
+ userId: number;
198
+ signedUrl: string;
199
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
200
+ } | null | undefined;
201
+ }, {
202
+ id: string;
203
+ createdAt: Date;
204
+ userId: number;
205
+ updatedAt: Date;
206
+ businessName: string;
207
+ address: string;
208
+ isActive: boolean;
209
+ email?: string | null | undefined;
210
+ phone?: string | null | undefined;
211
+ siret?: string | null | undefined;
212
+ vatNumber?: string | null | undefined;
213
+ logoFileId?: string | null | undefined;
214
+ logo?: {
215
+ path: string;
216
+ id: string;
217
+ createdAt: Date;
218
+ userId: number;
219
+ signedUrl: string;
220
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
221
+ } | null | undefined;
222
+ }>>>;
223
+ customerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
225
+ id: z.ZodString;
226
+ userId: z.ZodNumber;
227
+ firstName: z.ZodString;
228
+ lastName: z.ZodString;
229
+ birthDate: z.ZodDate;
230
+ email: z.ZodString;
231
+ idNumber: z.ZodString;
232
+ phone: z.ZodString;
233
+ iban: z.ZodString;
234
+ bic: z.ZodString;
235
+ phoneVerified: z.ZodBoolean;
236
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ id: string;
243
+ userId: number;
244
+ firstName: string;
245
+ lastName: string;
246
+ birthDate: Date;
247
+ email: string;
248
+ idNumber: string;
249
+ phone: string;
250
+ iban: string;
251
+ bic: string;
252
+ phoneVerified: boolean;
253
+ addressLine1?: string | null | undefined;
254
+ addressLine2?: string | null | undefined;
255
+ city?: string | null | undefined;
256
+ postalCode?: string | null | undefined;
257
+ country?: string | null | undefined;
258
+ }, {
259
+ id: string;
260
+ userId: number;
261
+ firstName: string;
262
+ lastName: string;
263
+ birthDate: Date;
264
+ email: string;
265
+ idNumber: string;
266
+ phone: string;
267
+ iban: string;
268
+ bic: string;
269
+ phoneVerified: boolean;
270
+ addressLine1?: string | null | undefined;
271
+ addressLine2?: string | null | undefined;
272
+ city?: string | null | undefined;
273
+ postalCode?: string | null | undefined;
274
+ country?: string | null | undefined;
275
+ }>>>;
276
+ orderId: z.ZodString;
277
+ fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
+ id: z.ZodString;
280
+ userId: z.ZodNumber;
281
+ path: z.ZodString;
282
+ signedUrl: z.ZodString;
283
+ createdAt: z.ZodDate;
284
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "CONFIRMED"]>>>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ path: string;
287
+ id: string;
288
+ createdAt: Date;
289
+ userId: number;
290
+ signedUrl: string;
291
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
292
+ }, {
293
+ path: string;
294
+ id: string;
295
+ createdAt: Date;
296
+ userId: number;
297
+ signedUrl: string;
298
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
299
+ }>>>;
300
+ type: z.ZodEnum<["PURCHASE", "SALE"]>;
301
+ status: z.ZodString;
302
+ issueDate: z.ZodDate;
303
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
304
+ subtotal: z.ZodNumber;
305
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
306
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
307
+ total: z.ZodNumber;
308
+ currency: z.ZodString;
309
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
+ lineItems: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
311
+ id: z.ZodNumber;
312
+ invoiceId: z.ZodString;
313
+ itemOnPlatformId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
314
+ description: z.ZodString;
315
+ quantity: z.ZodNumber;
316
+ unitPrice: z.ZodNumber;
317
+ vatRate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
318
+ total: z.ZodNumber;
319
+ createdAt: z.ZodDate;
320
+ }, "strip", z.ZodTypeAny, {
321
+ description: string;
322
+ id: number;
323
+ createdAt: Date;
324
+ invoiceId: string;
325
+ quantity: number;
326
+ unitPrice: number;
327
+ total: number;
328
+ itemOnPlatformId?: string | null | undefined;
329
+ vatRate?: number | null | undefined;
330
+ }, {
331
+ description: string;
332
+ id: number;
333
+ createdAt: Date;
334
+ invoiceId: string;
335
+ quantity: number;
336
+ unitPrice: number;
337
+ total: number;
338
+ itemOnPlatformId?: string | null | undefined;
339
+ vatRate?: number | null | undefined;
340
+ }>, "many">>>;
341
+ createdAt: z.ZodDate;
342
+ updatedAt: z.ZodDate;
343
+ }, "strip", z.ZodTypeAny, {
344
+ type: "SALE" | "PURCHASE";
345
+ status: string;
346
+ id: string;
347
+ createdAt: Date;
348
+ userId: number;
349
+ currency: string;
350
+ orderId: string;
351
+ updatedAt: Date;
352
+ total: number;
353
+ invoiceNumber: string;
354
+ businessProfileId: string;
355
+ issueDate: Date;
356
+ subtotal: number;
357
+ fileId?: string | null | undefined;
358
+ file?: {
359
+ path: string;
360
+ id: string;
361
+ createdAt: Date;
362
+ userId: number;
363
+ signedUrl: string;
364
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
365
+ } | null | undefined;
366
+ vatRate?: number | null | undefined;
367
+ businessProfile?: {
368
+ id: string;
369
+ createdAt: Date;
370
+ userId: number;
371
+ updatedAt: Date;
372
+ businessName: string;
373
+ address: string;
374
+ isActive: boolean;
375
+ email?: string | null | undefined;
376
+ phone?: string | null | undefined;
377
+ siret?: string | null | undefined;
378
+ vatNumber?: string | null | undefined;
379
+ logoFileId?: string | null | undefined;
380
+ logo?: {
381
+ path: string;
382
+ id: string;
383
+ createdAt: Date;
384
+ userId: number;
385
+ signedUrl: string;
386
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
387
+ } | null | undefined;
388
+ } | null | undefined;
389
+ customerId?: string | null | undefined;
390
+ customer?: {
391
+ id: string;
392
+ userId: number;
393
+ firstName: string;
394
+ lastName: string;
395
+ birthDate: Date;
396
+ email: string;
397
+ idNumber: string;
398
+ phone: string;
399
+ iban: string;
400
+ bic: string;
401
+ phoneVerified: boolean;
402
+ addressLine1?: string | null | undefined;
403
+ addressLine2?: string | null | undefined;
404
+ city?: string | null | undefined;
405
+ postalCode?: string | null | undefined;
406
+ country?: string | null | undefined;
407
+ } | null | undefined;
408
+ dueDate?: Date | null | undefined;
409
+ vatAmount?: number | null | undefined;
410
+ notes?: string | null | undefined;
411
+ lineItems?: {
412
+ description: string;
413
+ id: number;
414
+ createdAt: Date;
415
+ invoiceId: string;
416
+ quantity: number;
417
+ unitPrice: number;
418
+ total: number;
419
+ itemOnPlatformId?: string | null | undefined;
420
+ vatRate?: number | null | undefined;
421
+ }[] | null | undefined;
422
+ }, {
423
+ type: "SALE" | "PURCHASE";
424
+ status: string;
425
+ id: string;
426
+ createdAt: Date;
427
+ userId: number;
428
+ currency: string;
429
+ orderId: string;
430
+ updatedAt: Date;
431
+ total: number;
432
+ invoiceNumber: string;
433
+ businessProfileId: string;
434
+ issueDate: Date;
435
+ subtotal: number;
436
+ fileId?: string | null | undefined;
437
+ file?: {
438
+ path: string;
439
+ id: string;
440
+ createdAt: Date;
441
+ userId: number;
442
+ signedUrl: string;
443
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
444
+ } | null | undefined;
445
+ vatRate?: number | null | undefined;
446
+ businessProfile?: {
447
+ id: string;
448
+ createdAt: Date;
449
+ userId: number;
450
+ updatedAt: Date;
451
+ businessName: string;
452
+ address: string;
453
+ isActive: boolean;
454
+ email?: string | null | undefined;
455
+ phone?: string | null | undefined;
456
+ siret?: string | null | undefined;
457
+ vatNumber?: string | null | undefined;
458
+ logoFileId?: string | null | undefined;
459
+ logo?: {
460
+ path: string;
461
+ id: string;
462
+ createdAt: Date;
463
+ userId: number;
464
+ signedUrl: string;
465
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
466
+ } | null | undefined;
467
+ } | null | undefined;
468
+ customerId?: string | null | undefined;
469
+ customer?: {
470
+ id: string;
471
+ userId: number;
472
+ firstName: string;
473
+ lastName: string;
474
+ birthDate: Date;
475
+ email: string;
476
+ idNumber: string;
477
+ phone: string;
478
+ iban: string;
479
+ bic: string;
480
+ phoneVerified: boolean;
481
+ addressLine1?: string | null | undefined;
482
+ addressLine2?: string | null | undefined;
483
+ city?: string | null | undefined;
484
+ postalCode?: string | null | undefined;
485
+ country?: string | null | undefined;
486
+ } | null | undefined;
487
+ dueDate?: Date | null | undefined;
488
+ vatAmount?: number | null | undefined;
489
+ notes?: string | null | undefined;
490
+ lineItems?: {
491
+ description: string;
492
+ id: number;
493
+ createdAt: Date;
494
+ invoiceId: string;
495
+ quantity: number;
496
+ unitPrice: number;
497
+ total: number;
498
+ itemOnPlatformId?: string | null | undefined;
499
+ vatRate?: number | null | undefined;
500
+ }[] | null | undefined;
501
+ }>, "many">>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
504
+ labels?: {
505
+ id: string;
506
+ fileId: string;
507
+ orderId: string;
508
+ nonCroppedFileId: string;
509
+ originalFileId: string;
510
+ originalFile?: {
511
+ path: string;
512
+ id: string;
513
+ createdAt: Date;
514
+ userId: number;
515
+ signedUrl: string;
516
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
517
+ } | null | undefined;
518
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
519
+ file?: {
520
+ path: string;
521
+ id: string;
522
+ createdAt: Date;
523
+ userId: number;
524
+ signedUrl: string;
525
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
526
+ } | null | undefined;
527
+ nonCroppedFile?: {
528
+ path: string;
529
+ id: string;
530
+ createdAt: Date;
531
+ userId: number;
532
+ signedUrl: string;
533
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
534
+ } | null | undefined;
535
+ }[] | null | undefined;
536
+ invoices?: {
537
+ type: "SALE" | "PURCHASE";
538
+ status: string;
539
+ id: string;
540
+ createdAt: Date;
541
+ userId: number;
542
+ currency: string;
543
+ orderId: string;
544
+ updatedAt: Date;
545
+ total: number;
546
+ invoiceNumber: string;
547
+ businessProfileId: string;
548
+ issueDate: Date;
549
+ subtotal: number;
550
+ fileId?: string | null | undefined;
551
+ file?: {
552
+ path: string;
553
+ id: string;
554
+ createdAt: Date;
555
+ userId: number;
556
+ signedUrl: string;
557
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
558
+ } | null | undefined;
559
+ vatRate?: number | null | undefined;
560
+ businessProfile?: {
561
+ id: string;
562
+ createdAt: Date;
563
+ userId: number;
564
+ updatedAt: Date;
565
+ businessName: string;
566
+ address: string;
567
+ isActive: boolean;
568
+ email?: string | null | undefined;
569
+ phone?: string | null | undefined;
570
+ siret?: string | null | undefined;
571
+ vatNumber?: string | null | undefined;
572
+ logoFileId?: string | null | undefined;
573
+ logo?: {
574
+ path: string;
575
+ id: string;
576
+ createdAt: Date;
577
+ userId: number;
578
+ signedUrl: string;
579
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
580
+ } | null | undefined;
581
+ } | null | undefined;
582
+ customerId?: string | null | undefined;
583
+ customer?: {
584
+ id: string;
585
+ userId: number;
586
+ firstName: string;
587
+ lastName: string;
588
+ birthDate: Date;
589
+ email: string;
590
+ idNumber: string;
591
+ phone: string;
592
+ iban: string;
593
+ bic: string;
594
+ phoneVerified: boolean;
595
+ addressLine1?: string | null | undefined;
596
+ addressLine2?: string | null | undefined;
597
+ city?: string | null | undefined;
598
+ postalCode?: string | null | undefined;
599
+ country?: string | null | undefined;
600
+ } | null | undefined;
601
+ dueDate?: Date | null | undefined;
602
+ vatAmount?: number | null | undefined;
603
+ notes?: string | null | undefined;
604
+ lineItems?: {
605
+ description: string;
606
+ id: number;
607
+ createdAt: Date;
608
+ invoiceId: string;
609
+ quantity: number;
610
+ unitPrice: number;
611
+ total: number;
612
+ itemOnPlatformId?: string | null | undefined;
613
+ vatRate?: number | null | undefined;
614
+ }[] | null | undefined;
615
+ }[] | null | undefined;
616
+ }, {
617
+ transactionType: "SINGLE_ITEM" | "BUNDLE";
618
+ labels?: {
619
+ id: string;
620
+ fileId: string;
621
+ orderId: string;
622
+ nonCroppedFileId: string;
623
+ originalFileId: string;
624
+ originalFile?: {
625
+ path: string;
626
+ id: string;
627
+ createdAt: Date;
628
+ userId: number;
629
+ signedUrl: string;
630
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
631
+ } | null | undefined;
632
+ carrier?: unknown;
633
+ file?: {
634
+ path: string;
635
+ id: string;
636
+ createdAt: Date;
637
+ userId: number;
638
+ signedUrl: string;
639
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
640
+ } | null | undefined;
641
+ nonCroppedFile?: {
642
+ path: string;
643
+ id: string;
644
+ createdAt: Date;
645
+ userId: number;
646
+ signedUrl: string;
647
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
648
+ } | null | undefined;
649
+ }[] | null | undefined;
650
+ invoices?: {
651
+ type: "SALE" | "PURCHASE";
652
+ status: string;
653
+ id: string;
654
+ createdAt: Date;
655
+ userId: number;
656
+ currency: string;
657
+ orderId: string;
658
+ updatedAt: Date;
659
+ total: number;
660
+ invoiceNumber: string;
661
+ businessProfileId: string;
662
+ issueDate: Date;
663
+ subtotal: number;
664
+ fileId?: string | null | undefined;
665
+ file?: {
666
+ path: string;
667
+ id: string;
668
+ createdAt: Date;
669
+ userId: number;
670
+ signedUrl: string;
671
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
672
+ } | null | undefined;
673
+ vatRate?: number | null | undefined;
674
+ businessProfile?: {
675
+ id: string;
676
+ createdAt: Date;
677
+ userId: number;
678
+ updatedAt: Date;
679
+ businessName: string;
680
+ address: string;
681
+ isActive: boolean;
682
+ email?: string | null | undefined;
683
+ phone?: string | null | undefined;
684
+ siret?: string | null | undefined;
685
+ vatNumber?: string | null | undefined;
686
+ logoFileId?: string | null | undefined;
687
+ logo?: {
688
+ path: string;
689
+ id: string;
690
+ createdAt: Date;
691
+ userId: number;
692
+ signedUrl: string;
693
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
694
+ } | null | undefined;
695
+ } | null | undefined;
696
+ customerId?: string | null | undefined;
697
+ customer?: {
698
+ id: string;
699
+ userId: number;
700
+ firstName: string;
701
+ lastName: string;
702
+ birthDate: Date;
703
+ email: string;
704
+ idNumber: string;
705
+ phone: string;
706
+ iban: string;
707
+ bic: string;
708
+ phoneVerified: boolean;
709
+ addressLine1?: string | null | undefined;
710
+ addressLine2?: string | null | undefined;
711
+ city?: string | null | undefined;
712
+ postalCode?: string | null | undefined;
713
+ country?: string | null | undefined;
714
+ } | null | undefined;
715
+ dueDate?: Date | null | undefined;
716
+ vatAmount?: number | null | undefined;
717
+ notes?: string | null | undefined;
718
+ lineItems?: {
719
+ description: string;
720
+ id: number;
721
+ createdAt: Date;
722
+ invoiceId: string;
723
+ quantity: number;
724
+ unitPrice: number;
725
+ total: number;
726
+ itemOnPlatformId?: string | null | undefined;
727
+ vatRate?: number | null | undefined;
728
+ }[] | null | undefined;
729
+ }[] | null | undefined;
730
+ }>;
731
+ export type ListedItemOrder = z.infer<typeof ListedItemOrderSchema>;
732
+ //# sourceMappingURL=ListedItemOrder.d.ts.map