controlresell 0.0.46 → 0.0.47
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/package.json +1 -1
- package/src/com/controlresell/models/items/CreatedItems.d.ts +47 -259
- package/src/com/controlresell/models/items/Item.d.ts +33 -181
- package/src/com/controlresell/models/items/Item.js +2 -13
- package/src/com/controlresell/models/items/Item.ts +2 -13
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +47 -259
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +47 -259
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +47 -259
package/package.json
CHANGED
|
@@ -53,97 +53,17 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
53
53
|
index?: number | null | undefined;
|
|
54
54
|
}>, "many">>>;
|
|
55
55
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
|
-
category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
-
id: z.ZodNumber;
|
|
58
|
-
sizeGroupIds: z.ZodArray<z.ZodNumber, "many">;
|
|
59
|
-
title: z.ZodString;
|
|
60
|
-
disabledFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
id: number;
|
|
63
|
-
sizeGroupIds: number[];
|
|
64
|
-
title: string;
|
|
65
|
-
disabledFields?: string[] | null | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
id: number;
|
|
68
|
-
sizeGroupIds: number[];
|
|
69
|
-
title: string;
|
|
70
|
-
disabledFields?: string[] | null | undefined;
|
|
71
|
-
}>>>;
|
|
72
56
|
brandId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
73
|
-
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
75
|
-
name: z.ZodString;
|
|
76
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
77
|
-
createdAt: z.ZodDate;
|
|
78
|
-
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
id: string | number;
|
|
81
|
-
createdAt: Date;
|
|
82
|
-
name: string;
|
|
83
|
-
itemCount?: number | null | undefined;
|
|
84
|
-
userId?: string | number | null | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
id: string | number;
|
|
87
|
-
createdAt: Date;
|
|
88
|
-
name: string;
|
|
89
|
-
itemCount?: number | null | undefined;
|
|
90
|
-
userId?: string | number | null | undefined;
|
|
91
|
-
}>>>;
|
|
92
57
|
sex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
58
|
state: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
94
59
|
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
95
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
96
|
-
id: z.ZodNumber;
|
|
97
|
-
title: z.ZodString;
|
|
98
|
-
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
id: number;
|
|
101
|
-
title: string;
|
|
102
|
-
itemCount?: number | null | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
id: number;
|
|
105
|
-
title: string;
|
|
106
|
-
itemCount?: number | null | undefined;
|
|
107
|
-
}>>>;
|
|
108
60
|
purchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109
61
|
purchaseDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
110
62
|
purchasePlaceId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
111
|
-
purchasePlace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
112
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
113
|
-
name: z.ZodString;
|
|
114
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
115
|
-
createdAt: z.ZodDate;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
id: string | number;
|
|
118
|
-
createdAt: Date;
|
|
119
|
-
name: string;
|
|
120
|
-
userId?: string | number | null | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
id: string | number;
|
|
123
|
-
createdAt: Date;
|
|
124
|
-
name: string;
|
|
125
|
-
userId?: string | number | null | undefined;
|
|
126
|
-
}>>>;
|
|
127
63
|
sold: z.ZodBoolean;
|
|
128
64
|
sellingPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
129
65
|
sellingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
130
66
|
sellingPlaceId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
131
|
-
sellingPlace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
132
|
-
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
133
|
-
name: z.ZodString;
|
|
134
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
135
|
-
createdAt: z.ZodDate;
|
|
136
|
-
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
id: string | number;
|
|
138
|
-
createdAt: Date;
|
|
139
|
-
name: string;
|
|
140
|
-
userId?: string | number | null | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
id: string | number;
|
|
143
|
-
createdAt: Date;
|
|
144
|
-
name: string;
|
|
145
|
-
userId?: string | number | null | undefined;
|
|
146
|
-
}>>>;
|
|
147
67
|
estimatedPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
148
68
|
fees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
149
69
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -231,30 +151,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
231
151
|
} | null | undefined;
|
|
232
152
|
}>, "many">>>;
|
|
233
153
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
234
|
-
colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
235
|
-
id: z.ZodNumber;
|
|
236
|
-
title: z.ZodString;
|
|
237
|
-
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
id: number;
|
|
239
|
-
title: string;
|
|
240
|
-
}, {
|
|
241
|
-
id: number;
|
|
242
|
-
title: string;
|
|
243
|
-
}>, "many">>>;
|
|
244
154
|
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
245
|
-
packageSize: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
246
|
-
id: z.ZodNumber;
|
|
247
|
-
title: z.ZodString;
|
|
248
|
-
weightDescription: z.ZodString;
|
|
249
|
-
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
id: number;
|
|
251
|
-
title: string;
|
|
252
|
-
weightDescription: string;
|
|
253
|
-
}, {
|
|
254
|
-
id: number;
|
|
255
|
-
title: string;
|
|
256
|
-
weightDescription: string;
|
|
257
|
-
}>>>;
|
|
258
155
|
customerId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
259
156
|
customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
260
157
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -311,6 +208,25 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
311
208
|
itemId: string | number;
|
|
312
209
|
fieldId: string | number;
|
|
313
210
|
}>, "many">>>;
|
|
211
|
+
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
212
|
+
id: z.ZodString;
|
|
213
|
+
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
214
|
+
type: z.ZodEnum<["IMPORT", "CREATE", "UPDATE", "DELETE"]>;
|
|
215
|
+
data: z.ZodString;
|
|
216
|
+
createdAt: z.ZodDate;
|
|
217
|
+
}, "strip", z.ZodTypeAny, {
|
|
218
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
219
|
+
id: string;
|
|
220
|
+
data: string;
|
|
221
|
+
createdAt: Date;
|
|
222
|
+
itemId: string | number;
|
|
223
|
+
}, {
|
|
224
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
225
|
+
id: string;
|
|
226
|
+
data: string;
|
|
227
|
+
createdAt: Date;
|
|
228
|
+
itemId: string | number;
|
|
229
|
+
}>>>;
|
|
314
230
|
createdAt: z.ZodDate;
|
|
315
231
|
updatedAt: z.ZodDate;
|
|
316
232
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -321,18 +237,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
321
237
|
name: string;
|
|
322
238
|
images: string[];
|
|
323
239
|
sold: boolean;
|
|
324
|
-
colors?: {
|
|
325
|
-
id: number;
|
|
326
|
-
title: string;
|
|
327
|
-
}[] | null | undefined;
|
|
328
240
|
description?: string | null | undefined;
|
|
329
|
-
brand?: {
|
|
330
|
-
id: string | number;
|
|
331
|
-
createdAt: Date;
|
|
332
|
-
name: string;
|
|
333
|
-
itemCount?: number | null | undefined;
|
|
334
|
-
userId?: string | number | null | undefined;
|
|
335
|
-
} | null | undefined;
|
|
336
241
|
colorIds?: number[] | null | undefined;
|
|
337
242
|
packageSizeId?: number | null | undefined;
|
|
338
243
|
sizeId?: number | null | undefined;
|
|
@@ -350,38 +255,15 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
350
255
|
index?: number | null | undefined;
|
|
351
256
|
}[] | null | undefined;
|
|
352
257
|
categoryId?: number | null | undefined;
|
|
353
|
-
category?: {
|
|
354
|
-
id: number;
|
|
355
|
-
sizeGroupIds: number[];
|
|
356
|
-
title: string;
|
|
357
|
-
disabledFields?: string[] | null | undefined;
|
|
358
|
-
} | null | undefined;
|
|
359
258
|
brandId?: string | number | null | undefined;
|
|
360
259
|
sex?: string | null | undefined;
|
|
361
260
|
state?: number | null | undefined;
|
|
362
|
-
size?: {
|
|
363
|
-
id: number;
|
|
364
|
-
title: string;
|
|
365
|
-
itemCount?: number | null | undefined;
|
|
366
|
-
} | null | undefined;
|
|
367
261
|
purchasePrice?: number | null | undefined;
|
|
368
262
|
purchaseDate?: Date | null | undefined;
|
|
369
263
|
purchasePlaceId?: string | number | null | undefined;
|
|
370
|
-
purchasePlace?: {
|
|
371
|
-
id: string | number;
|
|
372
|
-
createdAt: Date;
|
|
373
|
-
name: string;
|
|
374
|
-
userId?: string | number | null | undefined;
|
|
375
|
-
} | null | undefined;
|
|
376
264
|
sellingPrice?: number | null | undefined;
|
|
377
265
|
sellingDate?: Date | null | undefined;
|
|
378
266
|
sellingPlaceId?: string | number | null | undefined;
|
|
379
|
-
sellingPlace?: {
|
|
380
|
-
id: string | number;
|
|
381
|
-
createdAt: Date;
|
|
382
|
-
name: string;
|
|
383
|
-
userId?: string | number | null | undefined;
|
|
384
|
-
} | null | undefined;
|
|
385
267
|
estimatedPrice?: number | null | undefined;
|
|
386
268
|
fees?: {
|
|
387
269
|
value: number;
|
|
@@ -410,11 +292,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
410
292
|
userId?: string | number | null | undefined;
|
|
411
293
|
} | null | undefined;
|
|
412
294
|
}[] | null | undefined;
|
|
413
|
-
packageSize?: {
|
|
414
|
-
id: number;
|
|
415
|
-
title: string;
|
|
416
|
-
weightDescription: string;
|
|
417
|
-
} | null | undefined;
|
|
418
295
|
customer?: {
|
|
419
296
|
id: string | number;
|
|
420
297
|
userId: string | number;
|
|
@@ -438,6 +315,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
438
315
|
itemId: string | number;
|
|
439
316
|
fieldId: string | number;
|
|
440
317
|
}[] | null | undefined;
|
|
318
|
+
lastHistory?: {
|
|
319
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
320
|
+
id: string;
|
|
321
|
+
data: string;
|
|
322
|
+
createdAt: Date;
|
|
323
|
+
itemId: string | number;
|
|
324
|
+
} | null | undefined;
|
|
441
325
|
}, {
|
|
442
326
|
id: string | number;
|
|
443
327
|
userId: string | number;
|
|
@@ -446,18 +330,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
446
330
|
name: string;
|
|
447
331
|
images: string[];
|
|
448
332
|
sold: boolean;
|
|
449
|
-
colors?: {
|
|
450
|
-
id: number;
|
|
451
|
-
title: string;
|
|
452
|
-
}[] | null | undefined;
|
|
453
333
|
description?: string | null | undefined;
|
|
454
|
-
brand?: {
|
|
455
|
-
id: string | number;
|
|
456
|
-
createdAt: Date;
|
|
457
|
-
name: string;
|
|
458
|
-
itemCount?: number | null | undefined;
|
|
459
|
-
userId?: string | number | null | undefined;
|
|
460
|
-
} | null | undefined;
|
|
461
334
|
colorIds?: number[] | null | undefined;
|
|
462
335
|
packageSizeId?: number | null | undefined;
|
|
463
336
|
sizeId?: number | null | undefined;
|
|
@@ -475,38 +348,15 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
475
348
|
index?: number | null | undefined;
|
|
476
349
|
}[] | null | undefined;
|
|
477
350
|
categoryId?: number | null | undefined;
|
|
478
|
-
category?: {
|
|
479
|
-
id: number;
|
|
480
|
-
sizeGroupIds: number[];
|
|
481
|
-
title: string;
|
|
482
|
-
disabledFields?: string[] | null | undefined;
|
|
483
|
-
} | null | undefined;
|
|
484
351
|
brandId?: string | number | null | undefined;
|
|
485
352
|
sex?: string | null | undefined;
|
|
486
353
|
state?: number | null | undefined;
|
|
487
|
-
size?: {
|
|
488
|
-
id: number;
|
|
489
|
-
title: string;
|
|
490
|
-
itemCount?: number | null | undefined;
|
|
491
|
-
} | null | undefined;
|
|
492
354
|
purchasePrice?: number | null | undefined;
|
|
493
355
|
purchaseDate?: Date | null | undefined;
|
|
494
356
|
purchasePlaceId?: string | number | null | undefined;
|
|
495
|
-
purchasePlace?: {
|
|
496
|
-
id: string | number;
|
|
497
|
-
createdAt: Date;
|
|
498
|
-
name: string;
|
|
499
|
-
userId?: string | number | null | undefined;
|
|
500
|
-
} | null | undefined;
|
|
501
357
|
sellingPrice?: number | null | undefined;
|
|
502
358
|
sellingDate?: Date | null | undefined;
|
|
503
359
|
sellingPlaceId?: string | number | null | undefined;
|
|
504
|
-
sellingPlace?: {
|
|
505
|
-
id: string | number;
|
|
506
|
-
createdAt: Date;
|
|
507
|
-
name: string;
|
|
508
|
-
userId?: string | number | null | undefined;
|
|
509
|
-
} | null | undefined;
|
|
510
360
|
estimatedPrice?: number | null | undefined;
|
|
511
361
|
fees?: {
|
|
512
362
|
value: number;
|
|
@@ -535,11 +385,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
535
385
|
userId?: string | number | null | undefined;
|
|
536
386
|
} | null | undefined;
|
|
537
387
|
}[] | null | undefined;
|
|
538
|
-
packageSize?: {
|
|
539
|
-
id: number;
|
|
540
|
-
title: string;
|
|
541
|
-
weightDescription: string;
|
|
542
|
-
} | null | undefined;
|
|
543
388
|
customer?: {
|
|
544
389
|
id: string | number;
|
|
545
390
|
userId: string | number;
|
|
@@ -563,6 +408,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
563
408
|
itemId: string | number;
|
|
564
409
|
fieldId: string | number;
|
|
565
410
|
}[] | null | undefined;
|
|
411
|
+
lastHistory?: {
|
|
412
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
413
|
+
id: string;
|
|
414
|
+
data: string;
|
|
415
|
+
createdAt: Date;
|
|
416
|
+
itemId: string | number;
|
|
417
|
+
} | null | undefined;
|
|
566
418
|
}>, "many">;
|
|
567
419
|
newUserLabels: z.ZodArray<z.ZodObject<{
|
|
568
420
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -589,18 +441,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
589
441
|
name: string;
|
|
590
442
|
images: string[];
|
|
591
443
|
sold: boolean;
|
|
592
|
-
colors?: {
|
|
593
|
-
id: number;
|
|
594
|
-
title: string;
|
|
595
|
-
}[] | null | undefined;
|
|
596
444
|
description?: string | null | undefined;
|
|
597
|
-
brand?: {
|
|
598
|
-
id: string | number;
|
|
599
|
-
createdAt: Date;
|
|
600
|
-
name: string;
|
|
601
|
-
itemCount?: number | null | undefined;
|
|
602
|
-
userId?: string | number | null | undefined;
|
|
603
|
-
} | null | undefined;
|
|
604
445
|
colorIds?: number[] | null | undefined;
|
|
605
446
|
packageSizeId?: number | null | undefined;
|
|
606
447
|
sizeId?: number | null | undefined;
|
|
@@ -618,38 +459,15 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
618
459
|
index?: number | null | undefined;
|
|
619
460
|
}[] | null | undefined;
|
|
620
461
|
categoryId?: number | null | undefined;
|
|
621
|
-
category?: {
|
|
622
|
-
id: number;
|
|
623
|
-
sizeGroupIds: number[];
|
|
624
|
-
title: string;
|
|
625
|
-
disabledFields?: string[] | null | undefined;
|
|
626
|
-
} | null | undefined;
|
|
627
462
|
brandId?: string | number | null | undefined;
|
|
628
463
|
sex?: string | null | undefined;
|
|
629
464
|
state?: number | null | undefined;
|
|
630
|
-
size?: {
|
|
631
|
-
id: number;
|
|
632
|
-
title: string;
|
|
633
|
-
itemCount?: number | null | undefined;
|
|
634
|
-
} | null | undefined;
|
|
635
465
|
purchasePrice?: number | null | undefined;
|
|
636
466
|
purchaseDate?: Date | null | undefined;
|
|
637
467
|
purchasePlaceId?: string | number | null | undefined;
|
|
638
|
-
purchasePlace?: {
|
|
639
|
-
id: string | number;
|
|
640
|
-
createdAt: Date;
|
|
641
|
-
name: string;
|
|
642
|
-
userId?: string | number | null | undefined;
|
|
643
|
-
} | null | undefined;
|
|
644
468
|
sellingPrice?: number | null | undefined;
|
|
645
469
|
sellingDate?: Date | null | undefined;
|
|
646
470
|
sellingPlaceId?: string | number | null | undefined;
|
|
647
|
-
sellingPlace?: {
|
|
648
|
-
id: string | number;
|
|
649
|
-
createdAt: Date;
|
|
650
|
-
name: string;
|
|
651
|
-
userId?: string | number | null | undefined;
|
|
652
|
-
} | null | undefined;
|
|
653
471
|
estimatedPrice?: number | null | undefined;
|
|
654
472
|
fees?: {
|
|
655
473
|
value: number;
|
|
@@ -678,11 +496,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
678
496
|
userId?: string | number | null | undefined;
|
|
679
497
|
} | null | undefined;
|
|
680
498
|
}[] | null | undefined;
|
|
681
|
-
packageSize?: {
|
|
682
|
-
id: number;
|
|
683
|
-
title: string;
|
|
684
|
-
weightDescription: string;
|
|
685
|
-
} | null | undefined;
|
|
686
499
|
customer?: {
|
|
687
500
|
id: string | number;
|
|
688
501
|
userId: string | number;
|
|
@@ -706,6 +519,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
706
519
|
itemId: string | number;
|
|
707
520
|
fieldId: string | number;
|
|
708
521
|
}[] | null | undefined;
|
|
522
|
+
lastHistory?: {
|
|
523
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
524
|
+
id: string;
|
|
525
|
+
data: string;
|
|
526
|
+
createdAt: Date;
|
|
527
|
+
itemId: string | number;
|
|
528
|
+
} | null | undefined;
|
|
709
529
|
}[];
|
|
710
530
|
newUserLabels: {
|
|
711
531
|
id: string | number;
|
|
@@ -722,18 +542,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
722
542
|
name: string;
|
|
723
543
|
images: string[];
|
|
724
544
|
sold: boolean;
|
|
725
|
-
colors?: {
|
|
726
|
-
id: number;
|
|
727
|
-
title: string;
|
|
728
|
-
}[] | null | undefined;
|
|
729
545
|
description?: string | null | undefined;
|
|
730
|
-
brand?: {
|
|
731
|
-
id: string | number;
|
|
732
|
-
createdAt: Date;
|
|
733
|
-
name: string;
|
|
734
|
-
itemCount?: number | null | undefined;
|
|
735
|
-
userId?: string | number | null | undefined;
|
|
736
|
-
} | null | undefined;
|
|
737
546
|
colorIds?: number[] | null | undefined;
|
|
738
547
|
packageSizeId?: number | null | undefined;
|
|
739
548
|
sizeId?: number | null | undefined;
|
|
@@ -751,38 +560,15 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
751
560
|
index?: number | null | undefined;
|
|
752
561
|
}[] | null | undefined;
|
|
753
562
|
categoryId?: number | null | undefined;
|
|
754
|
-
category?: {
|
|
755
|
-
id: number;
|
|
756
|
-
sizeGroupIds: number[];
|
|
757
|
-
title: string;
|
|
758
|
-
disabledFields?: string[] | null | undefined;
|
|
759
|
-
} | null | undefined;
|
|
760
563
|
brandId?: string | number | null | undefined;
|
|
761
564
|
sex?: string | null | undefined;
|
|
762
565
|
state?: number | null | undefined;
|
|
763
|
-
size?: {
|
|
764
|
-
id: number;
|
|
765
|
-
title: string;
|
|
766
|
-
itemCount?: number | null | undefined;
|
|
767
|
-
} | null | undefined;
|
|
768
566
|
purchasePrice?: number | null | undefined;
|
|
769
567
|
purchaseDate?: Date | null | undefined;
|
|
770
568
|
purchasePlaceId?: string | number | null | undefined;
|
|
771
|
-
purchasePlace?: {
|
|
772
|
-
id: string | number;
|
|
773
|
-
createdAt: Date;
|
|
774
|
-
name: string;
|
|
775
|
-
userId?: string | number | null | undefined;
|
|
776
|
-
} | null | undefined;
|
|
777
569
|
sellingPrice?: number | null | undefined;
|
|
778
570
|
sellingDate?: Date | null | undefined;
|
|
779
571
|
sellingPlaceId?: string | number | null | undefined;
|
|
780
|
-
sellingPlace?: {
|
|
781
|
-
id: string | number;
|
|
782
|
-
createdAt: Date;
|
|
783
|
-
name: string;
|
|
784
|
-
userId?: string | number | null | undefined;
|
|
785
|
-
} | null | undefined;
|
|
786
572
|
estimatedPrice?: number | null | undefined;
|
|
787
573
|
fees?: {
|
|
788
574
|
value: number;
|
|
@@ -811,11 +597,6 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
811
597
|
userId?: string | number | null | undefined;
|
|
812
598
|
} | null | undefined;
|
|
813
599
|
}[] | null | undefined;
|
|
814
|
-
packageSize?: {
|
|
815
|
-
id: number;
|
|
816
|
-
title: string;
|
|
817
|
-
weightDescription: string;
|
|
818
|
-
} | null | undefined;
|
|
819
600
|
customer?: {
|
|
820
601
|
id: string | number;
|
|
821
602
|
userId: string | number;
|
|
@@ -839,6 +620,13 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
839
620
|
itemId: string | number;
|
|
840
621
|
fieldId: string | number;
|
|
841
622
|
}[] | null | undefined;
|
|
623
|
+
lastHistory?: {
|
|
624
|
+
type: "IMPORT" | "CREATE" | "UPDATE" | "DELETE";
|
|
625
|
+
id: string;
|
|
626
|
+
data: string;
|
|
627
|
+
createdAt: Date;
|
|
628
|
+
itemId: string | number;
|
|
629
|
+
} | null | undefined;
|
|
842
630
|
}[];
|
|
843
631
|
newUserLabels: {
|
|
844
632
|
id: string | number;
|