controlresell 0.0.49 → 0.0.51
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 +5 -5
- package/src/com/controlresell/models/items/Item.d.ts +3 -3
- package/src/com/controlresell/models/items/Item.js +1 -1
- package/src/com/controlresell/models/items/Item.ts +1 -1
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +5 -5
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +5 -5
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +5 -5
package/package.json
CHANGED
|
@@ -227,7 +227,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
227
227
|
itemId: string | number;
|
|
228
228
|
data?: string | null | undefined;
|
|
229
229
|
}>>>;
|
|
230
|
-
|
|
230
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
231
231
|
id: z.ZodString;
|
|
232
232
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
233
233
|
accountId: z.ZodString;
|
|
@@ -375,7 +375,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
375
375
|
itemId: string | number;
|
|
376
376
|
data?: string | null | undefined;
|
|
377
377
|
} | null | undefined;
|
|
378
|
-
|
|
378
|
+
platforms?: {
|
|
379
379
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
380
380
|
id: string;
|
|
381
381
|
accountId: string;
|
|
@@ -483,7 +483,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
483
483
|
itemId: string | number;
|
|
484
484
|
data?: string | null | undefined;
|
|
485
485
|
} | null | undefined;
|
|
486
|
-
|
|
486
|
+
platforms?: {
|
|
487
487
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
488
488
|
id: string;
|
|
489
489
|
accountId: string;
|
|
@@ -609,7 +609,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
609
609
|
itemId: string | number;
|
|
610
610
|
data?: string | null | undefined;
|
|
611
611
|
} | null | undefined;
|
|
612
|
-
|
|
612
|
+
platforms?: {
|
|
613
613
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
614
614
|
id: string;
|
|
615
615
|
accountId: string;
|
|
@@ -725,7 +725,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
725
725
|
itemId: string | number;
|
|
726
726
|
data?: string | null | undefined;
|
|
727
727
|
} | null | undefined;
|
|
728
|
-
|
|
728
|
+
platforms?: {
|
|
729
729
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
730
730
|
id: string;
|
|
731
731
|
accountId: string;
|
|
@@ -226,7 +226,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
226
226
|
itemId: string | number;
|
|
227
227
|
data?: string | null | undefined;
|
|
228
228
|
}>>>;
|
|
229
|
-
|
|
229
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
230
230
|
id: z.ZodString;
|
|
231
231
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
232
232
|
accountId: z.ZodString;
|
|
@@ -374,7 +374,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
374
374
|
itemId: string | number;
|
|
375
375
|
data?: string | null | undefined;
|
|
376
376
|
} | null | undefined;
|
|
377
|
-
|
|
377
|
+
platforms?: {
|
|
378
378
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
379
379
|
id: string;
|
|
380
380
|
accountId: string;
|
|
@@ -482,7 +482,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
482
482
|
itemId: string | number;
|
|
483
483
|
data?: string | null | undefined;
|
|
484
484
|
} | null | undefined;
|
|
485
|
-
|
|
485
|
+
platforms?: {
|
|
486
486
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
487
487
|
id: string;
|
|
488
488
|
accountId: string;
|
|
@@ -44,7 +44,7 @@ exports.ItemSchema = zod_1.z.object({
|
|
|
44
44
|
contractId: zodable_idschema_1.IdSchema.nullish(),
|
|
45
45
|
fields: zod_1.z.array(ItemField_1.ItemFieldSchema).nullish(),
|
|
46
46
|
lastHistory: ItemHistory_1.ItemHistorySchema.nullish(),
|
|
47
|
-
|
|
47
|
+
platforms: zod_1.z.array(ItemOnPlatform_1.ItemOnPlatformSchema).nullish(),
|
|
48
48
|
createdAt: zod_1.z.coerce.date(),
|
|
49
49
|
updatedAt: zod_1.z.coerce.date()
|
|
50
50
|
});
|
|
@@ -42,7 +42,7 @@ export const ItemSchema = z.object({
|
|
|
42
42
|
contractId: IdSchema.nullish(),
|
|
43
43
|
fields: z.array(ItemFieldSchema).nullish(),
|
|
44
44
|
lastHistory: ItemHistorySchema.nullish(),
|
|
45
|
-
|
|
45
|
+
platforms: z.array(ItemOnPlatformSchema).nullish(),
|
|
46
46
|
createdAt: z.coerce.date(),
|
|
47
47
|
updatedAt: z.coerce.date()
|
|
48
48
|
})
|
|
@@ -229,7 +229,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
229
229
|
itemId: string | number;
|
|
230
230
|
data?: string | null | undefined;
|
|
231
231
|
}>>>;
|
|
232
|
-
|
|
232
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
233
233
|
id: z.ZodString;
|
|
234
234
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
235
235
|
accountId: z.ZodString;
|
|
@@ -377,7 +377,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
377
377
|
itemId: string | number;
|
|
378
378
|
data?: string | null | undefined;
|
|
379
379
|
} | null | undefined;
|
|
380
|
-
|
|
380
|
+
platforms?: {
|
|
381
381
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
382
382
|
id: string;
|
|
383
383
|
accountId: string;
|
|
@@ -485,7 +485,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
485
485
|
itemId: string | number;
|
|
486
486
|
data?: string | null | undefined;
|
|
487
487
|
} | null | undefined;
|
|
488
|
-
|
|
488
|
+
platforms?: {
|
|
489
489
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
490
490
|
id: string;
|
|
491
491
|
accountId: string;
|
|
@@ -653,7 +653,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
653
653
|
itemId: string | number;
|
|
654
654
|
data?: string | null | undefined;
|
|
655
655
|
} | null | undefined;
|
|
656
|
-
|
|
656
|
+
platforms?: {
|
|
657
657
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
658
658
|
id: string;
|
|
659
659
|
accountId: string;
|
|
@@ -784,7 +784,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
784
784
|
itemId: string | number;
|
|
785
785
|
data?: string | null | undefined;
|
|
786
786
|
} | null | undefined;
|
|
787
|
-
|
|
787
|
+
platforms?: {
|
|
788
788
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
789
789
|
id: string;
|
|
790
790
|
accountId: string;
|
|
@@ -227,7 +227,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
227
227
|
itemId: string | number;
|
|
228
228
|
data?: string | null | undefined;
|
|
229
229
|
}>>>;
|
|
230
|
-
|
|
230
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
231
231
|
id: z.ZodString;
|
|
232
232
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
233
233
|
accountId: z.ZodString;
|
|
@@ -375,7 +375,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
375
375
|
itemId: string | number;
|
|
376
376
|
data?: string | null | undefined;
|
|
377
377
|
} | null | undefined;
|
|
378
|
-
|
|
378
|
+
platforms?: {
|
|
379
379
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
380
380
|
id: string;
|
|
381
381
|
accountId: string;
|
|
@@ -483,7 +483,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
483
483
|
itemId: string | number;
|
|
484
484
|
data?: string | null | undefined;
|
|
485
485
|
} | null | undefined;
|
|
486
|
-
|
|
486
|
+
platforms?: {
|
|
487
487
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
488
488
|
id: string;
|
|
489
489
|
accountId: string;
|
|
@@ -615,7 +615,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
615
615
|
itemId: string | number;
|
|
616
616
|
data?: string | null | undefined;
|
|
617
617
|
} | null | undefined;
|
|
618
|
-
|
|
618
|
+
platforms?: {
|
|
619
619
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
620
620
|
id: string;
|
|
621
621
|
accountId: string;
|
|
@@ -731,7 +731,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
731
731
|
itemId: string | number;
|
|
732
732
|
data?: string | null | undefined;
|
|
733
733
|
} | null | undefined;
|
|
734
|
-
|
|
734
|
+
platforms?: {
|
|
735
735
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
736
736
|
id: string;
|
|
737
737
|
accountId: string;
|
|
@@ -237,7 +237,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
237
237
|
itemId: string | number;
|
|
238
238
|
data?: string | null | undefined;
|
|
239
239
|
}>>>;
|
|
240
|
-
|
|
240
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
241
241
|
id: z.ZodString;
|
|
242
242
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
243
243
|
accountId: z.ZodString;
|
|
@@ -385,7 +385,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
385
385
|
itemId: string | number;
|
|
386
386
|
data?: string | null | undefined;
|
|
387
387
|
} | null | undefined;
|
|
388
|
-
|
|
388
|
+
platforms?: {
|
|
389
389
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
390
390
|
id: string;
|
|
391
391
|
accountId: string;
|
|
@@ -493,7 +493,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
493
493
|
itemId: string | number;
|
|
494
494
|
data?: string | null | undefined;
|
|
495
495
|
} | null | undefined;
|
|
496
|
-
|
|
496
|
+
platforms?: {
|
|
497
497
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
498
498
|
id: string;
|
|
499
499
|
accountId: string;
|
|
@@ -603,7 +603,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
603
603
|
itemId: string | number;
|
|
604
604
|
data?: string | null | undefined;
|
|
605
605
|
} | null | undefined;
|
|
606
|
-
|
|
606
|
+
platforms?: {
|
|
607
607
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
608
608
|
id: string;
|
|
609
609
|
accountId: string;
|
|
@@ -717,7 +717,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
717
717
|
itemId: string | number;
|
|
718
718
|
data?: string | null | undefined;
|
|
719
719
|
} | null | undefined;
|
|
720
|
-
|
|
720
|
+
platforms?: {
|
|
721
721
|
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
722
722
|
id: string;
|
|
723
723
|
accountId: string;
|