controlresell 2.1.12 → 2.1.14

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 (40) hide show
  1. package/package.json +3 -3
  2. package/src/com/controlresell/models/items/CreatedItems.d.ts +14 -0
  3. package/src/com/controlresell/models/items/Item.d.ts +7 -0
  4. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -0
  5. package/src/com/controlresell/models/items/ItemFiltersContext.js +1 -0
  6. package/src/com/controlresell/models/items/ItemFiltersContext.ts +1 -0
  7. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +9 -33
  8. package/src/com/controlresell/models/items/ItemsWithFilters.js +1 -3
  9. package/src/com/controlresell/models/items/ItemsWithFilters.ts +1 -3
  10. package/src/com/controlresell/models/items/UpdatedItem.d.ts +14 -0
  11. package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +5 -0
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +7 -0
  13. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +3 -0
  14. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.js +2 -1
  15. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.ts +2 -1
  16. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +5 -0
  17. package/src/com/controlresell/models/metadata/labels/Label.d.ts +3 -0
  18. package/src/com/controlresell/models/metadata/labels/Label.js +2 -1
  19. package/src/com/controlresell/models/metadata/labels/Label.ts +2 -1
  20. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +61 -164
  21. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
  22. package/src/com/controlresell/models/platforms/orders/Order.d.ts +5 -5
  23. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  24. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
  25. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +18 -9
  26. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +33 -0
  27. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +16 -0
  28. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +15 -0
  29. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +39 -0
  30. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +19 -0
  31. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +18 -0
  32. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +27 -0
  33. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +13 -0
  34. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +12 -0
  35. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +9 -0
  36. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +3 -3
  37. package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +6 -6
  38. package/src/index.d.ts +141 -138
  39. package/src/index.js +285 -152
  40. package/src/index.ts +141 -138
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.1.12",
3
+ "version": "2.1.14",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,8 +17,8 @@
17
17
  "typescript": "^5.8.3"
18
18
  },
19
19
  "dependencies": {
20
- "controlresell-connector": "^0.2.20",
21
- "zod": "^3.25.16",
20
+ "controlresell-connector": "^0.3.4",
21
+ "zod": "^3.25.51",
22
22
  "zodable-idschema": "^1.0.0"
23
23
  }
24
24
  }
@@ -120,17 +120,20 @@ export declare const CreatedItemsSchema: z.ZodObject<{
120
120
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
121
121
  isUserLabel: z.ZodBoolean;
122
122
  createdAt: z.ZodDate;
123
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
123
124
  }, "strip", z.ZodTypeAny, {
124
125
  id: string | number;
125
126
  createdAt: Date;
126
127
  name: string;
127
128
  isUserLabel: boolean;
129
+ itemCount?: number | null | undefined;
128
130
  userId?: string | number | null | undefined;
129
131
  }, {
130
132
  id: string | number;
131
133
  createdAt: Date;
132
134
  name: string;
133
135
  isUserLabel: boolean;
136
+ itemCount?: number | null | undefined;
134
137
  userId?: string | number | null | undefined;
135
138
  }>>>;
136
139
  }, "strip", z.ZodTypeAny, {
@@ -141,6 +144,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
141
144
  createdAt: Date;
142
145
  name: string;
143
146
  isUserLabel: boolean;
147
+ itemCount?: number | null | undefined;
144
148
  userId?: string | number | null | undefined;
145
149
  } | null | undefined;
146
150
  }, {
@@ -151,6 +155,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
151
155
  createdAt: Date;
152
156
  name: string;
153
157
  isUserLabel: boolean;
158
+ itemCount?: number | null | undefined;
154
159
  userId?: string | number | null | undefined;
155
160
  } | null | undefined;
156
161
  }>, "many">>>;
@@ -312,6 +317,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
312
317
  createdAt: Date;
313
318
  name: string;
314
319
  isUserLabel: boolean;
320
+ itemCount?: number | null | undefined;
315
321
  userId?: string | number | null | undefined;
316
322
  } | null | undefined;
317
323
  }[] | null | undefined;
@@ -421,6 +427,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
421
427
  createdAt: Date;
422
428
  name: string;
423
429
  isUserLabel: boolean;
430
+ itemCount?: number | null | undefined;
424
431
  userId?: string | number | null | undefined;
425
432
  } | null | undefined;
426
433
  }[] | null | undefined;
@@ -516,17 +523,20 @@ export declare const CreatedItemsSchema: z.ZodObject<{
516
523
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
517
524
  isUserLabel: z.ZodBoolean;
518
525
  createdAt: z.ZodDate;
526
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
519
527
  }, "strip", z.ZodTypeAny, {
520
528
  id: string | number;
521
529
  createdAt: Date;
522
530
  name: string;
523
531
  isUserLabel: boolean;
532
+ itemCount?: number | null | undefined;
524
533
  userId?: string | number | null | undefined;
525
534
  }, {
526
535
  id: string | number;
527
536
  createdAt: Date;
528
537
  name: string;
529
538
  isUserLabel: boolean;
539
+ itemCount?: number | null | undefined;
530
540
  userId?: string | number | null | undefined;
531
541
  }>, "many">;
532
542
  }, "strip", z.ZodTypeAny, {
@@ -551,6 +561,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
551
561
  createdAt: Date;
552
562
  name: string;
553
563
  isUserLabel: boolean;
564
+ itemCount?: number | null | undefined;
554
565
  userId?: string | number | null | undefined;
555
566
  } | null | undefined;
556
567
  }[] | null | undefined;
@@ -645,6 +656,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
645
656
  createdAt: Date;
646
657
  name: string;
647
658
  isUserLabel: boolean;
659
+ itemCount?: number | null | undefined;
648
660
  userId?: string | number | null | undefined;
649
661
  }[];
650
662
  }, {
@@ -669,6 +681,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
669
681
  createdAt: Date;
670
682
  name: string;
671
683
  isUserLabel: boolean;
684
+ itemCount?: number | null | undefined;
672
685
  userId?: string | number | null | undefined;
673
686
  } | null | undefined;
674
687
  }[] | null | undefined;
@@ -763,6 +776,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
763
776
  createdAt: Date;
764
777
  name: string;
765
778
  isUserLabel: boolean;
779
+ itemCount?: number | null | undefined;
766
780
  userId?: string | number | null | undefined;
767
781
  }[];
768
782
  }>;
@@ -119,17 +119,20 @@ export declare const ItemSchema: z.ZodObject<{
119
119
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
120
120
  isUserLabel: z.ZodBoolean;
121
121
  createdAt: z.ZodDate;
122
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
122
123
  }, "strip", z.ZodTypeAny, {
123
124
  id: string | number;
124
125
  createdAt: Date;
125
126
  name: string;
126
127
  isUserLabel: boolean;
128
+ itemCount?: number | null | undefined;
127
129
  userId?: string | number | null | undefined;
128
130
  }, {
129
131
  id: string | number;
130
132
  createdAt: Date;
131
133
  name: string;
132
134
  isUserLabel: boolean;
135
+ itemCount?: number | null | undefined;
133
136
  userId?: string | number | null | undefined;
134
137
  }>>>;
135
138
  }, "strip", z.ZodTypeAny, {
@@ -140,6 +143,7 @@ export declare const ItemSchema: z.ZodObject<{
140
143
  createdAt: Date;
141
144
  name: string;
142
145
  isUserLabel: boolean;
146
+ itemCount?: number | null | undefined;
143
147
  userId?: string | number | null | undefined;
144
148
  } | null | undefined;
145
149
  }, {
@@ -150,6 +154,7 @@ export declare const ItemSchema: z.ZodObject<{
150
154
  createdAt: Date;
151
155
  name: string;
152
156
  isUserLabel: boolean;
157
+ itemCount?: number | null | undefined;
153
158
  userId?: string | number | null | undefined;
154
159
  } | null | undefined;
155
160
  }>, "many">>>;
@@ -311,6 +316,7 @@ export declare const ItemSchema: z.ZodObject<{
311
316
  createdAt: Date;
312
317
  name: string;
313
318
  isUserLabel: boolean;
319
+ itemCount?: number | null | undefined;
314
320
  userId?: string | number | null | undefined;
315
321
  } | null | undefined;
316
322
  }[] | null | undefined;
@@ -420,6 +426,7 @@ export declare const ItemSchema: z.ZodObject<{
420
426
  createdAt: Date;
421
427
  name: string;
422
428
  isUserLabel: boolean;
429
+ itemCount?: number | null | undefined;
423
430
  userId?: string | number | null | undefined;
424
431
  } | null | undefined;
425
432
  }[] | null | undefined;
@@ -6,6 +6,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
6
6
  brandsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
7
7
  sex: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
8
8
  sizesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
9
+ labelsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
9
10
  purchasePlacesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
10
11
  sellingPlacesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
11
12
  states: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
@@ -25,6 +26,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
25
26
  categoriesId?: number[] | null | undefined;
26
27
  brandsId?: number[] | null | undefined;
27
28
  sizesId?: number[] | null | undefined;
29
+ labelsId?: number[] | null | undefined;
28
30
  purchasePlacesId?: number[] | null | undefined;
29
31
  sellingPlacesId?: number[] | null | undefined;
30
32
  states?: number[] | null | undefined;
@@ -44,6 +46,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
44
46
  categoriesId?: number[] | null | undefined;
45
47
  brandsId?: number[] | null | undefined;
46
48
  sizesId?: number[] | null | undefined;
49
+ labelsId?: number[] | null | undefined;
47
50
  purchasePlacesId?: number[] | null | undefined;
48
51
  sellingPlacesId?: number[] | null | undefined;
49
52
  states?: number[] | null | undefined;
@@ -11,6 +11,7 @@ exports.ItemFiltersContextSchema = zod_1.z.object({
11
11
  brandsId: zod_1.z.array(zod_1.z.number()).nullish(),
12
12
  sex: zod_1.z.array(zod_1.z.string()).nullish(),
13
13
  sizesId: zod_1.z.array(zod_1.z.number()).nullish(),
14
+ labelsId: zod_1.z.array(zod_1.z.number()).nullish(),
14
15
  purchasePlacesId: zod_1.z.array(zod_1.z.number()).nullish(),
15
16
  sellingPlacesId: zod_1.z.array(zod_1.z.number()).nullish(),
16
17
  states: zod_1.z.array(zod_1.z.number()).max(2).nullish(),
@@ -9,6 +9,7 @@ export const ItemFiltersContextSchema = z.object({
9
9
  brandsId: z.array(z.number()).nullish(),
10
10
  sex: z.array(z.string()).nullish(),
11
11
  sizesId: z.array(z.number()).nullish(),
12
+ labelsId: z.array(z.number()).nullish(),
12
13
  purchasePlacesId: z.array(z.number()).nullish(),
13
14
  sellingPlacesId: z.array(z.number()).nullish(),
14
15
  states: z.array(z.number()).max(2).nullish(),
@@ -122,17 +122,20 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
122
122
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
123
123
  isUserLabel: z.ZodBoolean;
124
124
  createdAt: z.ZodDate;
125
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
125
126
  }, "strip", z.ZodTypeAny, {
126
127
  id: string | number;
127
128
  createdAt: Date;
128
129
  name: string;
129
130
  isUserLabel: boolean;
131
+ itemCount?: number | null | undefined;
130
132
  userId?: string | number | null | undefined;
131
133
  }, {
132
134
  id: string | number;
133
135
  createdAt: Date;
134
136
  name: string;
135
137
  isUserLabel: boolean;
138
+ itemCount?: number | null | undefined;
136
139
  userId?: string | number | null | undefined;
137
140
  }>>>;
138
141
  }, "strip", z.ZodTypeAny, {
@@ -143,6 +146,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
143
146
  createdAt: Date;
144
147
  name: string;
145
148
  isUserLabel: boolean;
149
+ itemCount?: number | null | undefined;
146
150
  userId?: string | number | null | undefined;
147
151
  } | null | undefined;
148
152
  }, {
@@ -153,6 +157,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
153
157
  createdAt: Date;
154
158
  name: string;
155
159
  isUserLabel: boolean;
160
+ itemCount?: number | null | undefined;
156
161
  userId?: string | number | null | undefined;
157
162
  } | null | undefined;
158
163
  }>, "many">>>;
@@ -314,6 +319,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
314
319
  createdAt: Date;
315
320
  name: string;
316
321
  isUserLabel: boolean;
322
+ itemCount?: number | null | undefined;
317
323
  userId?: string | number | null | undefined;
318
324
  } | null | undefined;
319
325
  }[] | null | undefined;
@@ -423,6 +429,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
423
429
  createdAt: Date;
424
430
  name: string;
425
431
  isUserLabel: boolean;
432
+ itemCount?: number | null | undefined;
426
433
  userId?: string | number | null | undefined;
427
434
  } | null | undefined;
428
435
  }[] | null | undefined;
@@ -514,25 +521,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
514
521
  }>, "many">;
515
522
  currentPage: z.ZodNumber;
516
523
  totalPages: z.ZodNumber;
517
- gettingStartedSteps: z.ZodOptional<z.ZodNullable<z.ZodObject<{
518
- isShown: z.ZodBoolean;
519
- addFirstItem: z.ZodBoolean;
520
- markItemAsSold: z.ZodBoolean;
521
- reach100Sales: z.ZodBoolean;
522
- add10Items: z.ZodBoolean;
523
- }, "strip", z.ZodTypeAny, {
524
- isShown: boolean;
525
- addFirstItem: boolean;
526
- markItemAsSold: boolean;
527
- reach100Sales: boolean;
528
- add10Items: boolean;
529
- }, {
530
- isShown: boolean;
531
- addFirstItem: boolean;
532
- markItemAsSold: boolean;
533
- reach100Sales: boolean;
534
- add10Items: boolean;
535
- }>>>;
536
524
  }, "strip", z.ZodTypeAny, {
537
525
  count: number;
538
526
  allItemsCount: number;
@@ -557,6 +545,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
557
545
  createdAt: Date;
558
546
  name: string;
559
547
  isUserLabel: boolean;
548
+ itemCount?: number | null | undefined;
560
549
  userId?: string | number | null | undefined;
561
550
  } | null | undefined;
562
551
  }[] | null | undefined;
@@ -648,13 +637,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
648
637
  }[];
649
638
  currentPage: number;
650
639
  totalPages: number;
651
- gettingStartedSteps?: {
652
- isShown: boolean;
653
- addFirstItem: boolean;
654
- markItemAsSold: boolean;
655
- reach100Sales: boolean;
656
- add10Items: boolean;
657
- } | null | undefined;
658
640
  }, {
659
641
  count: number;
660
642
  allItemsCount: number;
@@ -679,6 +661,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
679
661
  createdAt: Date;
680
662
  name: string;
681
663
  isUserLabel: boolean;
664
+ itemCount?: number | null | undefined;
682
665
  userId?: string | number | null | undefined;
683
666
  } | null | undefined;
684
667
  }[] | null | undefined;
@@ -770,12 +753,5 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
770
753
  }[];
771
754
  currentPage: number;
772
755
  totalPages: number;
773
- gettingStartedSteps?: {
774
- isShown: boolean;
775
- addFirstItem: boolean;
776
- markItemAsSold: boolean;
777
- reach100Sales: boolean;
778
- add10Items: boolean;
779
- } | null | undefined;
780
756
  }>;
781
757
  export type ItemsWithFilters = z.infer<typeof ItemsWithFiltersSchema>;
@@ -3,12 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ItemsWithFiltersSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const Item_1 = require("./Item");
6
- const GettingStartedSteps_1 = require("../users/GettingStartedSteps");
7
6
  exports.ItemsWithFiltersSchema = zod_1.z.object({
8
7
  count: zod_1.z.number(),
9
8
  allItemsCount: zod_1.z.number(),
10
9
  rows: zod_1.z.array(Item_1.ItemSchema),
11
10
  currentPage: zod_1.z.number(),
12
- totalPages: zod_1.z.number(),
13
- gettingStartedSteps: GettingStartedSteps_1.GettingStartedStepsSchema.nullish()
11
+ totalPages: zod_1.z.number()
14
12
  });
@@ -1,13 +1,11 @@
1
1
  import {z} from "zod"
2
2
  import {ItemSchema} from "./Item"
3
- import {GettingStartedStepsSchema} from "../users/GettingStartedSteps"
4
3
 
5
4
  export const ItemsWithFiltersSchema = z.object({
6
5
  count: z.number(),
7
6
  allItemsCount: z.number(),
8
7
  rows: z.array(ItemSchema),
9
8
  currentPage: z.number(),
10
- totalPages: z.number(),
11
- gettingStartedSteps: GettingStartedStepsSchema.nullish()
9
+ totalPages: z.number()
12
10
  })
13
11
  export type ItemsWithFilters = z.infer<typeof ItemsWithFiltersSchema>
@@ -120,17 +120,20 @@ export declare const UpdatedItemSchema: z.ZodObject<{
120
120
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
121
121
  isUserLabel: z.ZodBoolean;
122
122
  createdAt: z.ZodDate;
123
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
123
124
  }, "strip", z.ZodTypeAny, {
124
125
  id: string | number;
125
126
  createdAt: Date;
126
127
  name: string;
127
128
  isUserLabel: boolean;
129
+ itemCount?: number | null | undefined;
128
130
  userId?: string | number | null | undefined;
129
131
  }, {
130
132
  id: string | number;
131
133
  createdAt: Date;
132
134
  name: string;
133
135
  isUserLabel: boolean;
136
+ itemCount?: number | null | undefined;
134
137
  userId?: string | number | null | undefined;
135
138
  }>>>;
136
139
  }, "strip", z.ZodTypeAny, {
@@ -141,6 +144,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
141
144
  createdAt: Date;
142
145
  name: string;
143
146
  isUserLabel: boolean;
147
+ itemCount?: number | null | undefined;
144
148
  userId?: string | number | null | undefined;
145
149
  } | null | undefined;
146
150
  }, {
@@ -151,6 +155,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
151
155
  createdAt: Date;
152
156
  name: string;
153
157
  isUserLabel: boolean;
158
+ itemCount?: number | null | undefined;
154
159
  userId?: string | number | null | undefined;
155
160
  } | null | undefined;
156
161
  }>, "many">>>;
@@ -312,6 +317,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
312
317
  createdAt: Date;
313
318
  name: string;
314
319
  isUserLabel: boolean;
320
+ itemCount?: number | null | undefined;
315
321
  userId?: string | number | null | undefined;
316
322
  } | null | undefined;
317
323
  }[] | null | undefined;
@@ -421,6 +427,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
421
427
  createdAt: Date;
422
428
  name: string;
423
429
  isUserLabel: boolean;
430
+ itemCount?: number | null | undefined;
424
431
  userId?: string | number | null | undefined;
425
432
  } | null | undefined;
426
433
  }[] | null | undefined;
@@ -516,17 +523,20 @@ export declare const UpdatedItemSchema: z.ZodObject<{
516
523
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
517
524
  isUserLabel: z.ZodBoolean;
518
525
  createdAt: z.ZodDate;
526
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
519
527
  }, "strip", z.ZodTypeAny, {
520
528
  id: string | number;
521
529
  createdAt: Date;
522
530
  name: string;
523
531
  isUserLabel: boolean;
532
+ itemCount?: number | null | undefined;
524
533
  userId?: string | number | null | undefined;
525
534
  }, {
526
535
  id: string | number;
527
536
  createdAt: Date;
528
537
  name: string;
529
538
  isUserLabel: boolean;
539
+ itemCount?: number | null | undefined;
530
540
  userId?: string | number | null | undefined;
531
541
  }>, "many">;
532
542
  }, "strip", z.ZodTypeAny, {
@@ -535,6 +545,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
535
545
  createdAt: Date;
536
546
  name: string;
537
547
  isUserLabel: boolean;
548
+ itemCount?: number | null | undefined;
538
549
  userId?: string | number | null | undefined;
539
550
  }[];
540
551
  item: {
@@ -558,6 +569,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
558
569
  createdAt: Date;
559
570
  name: string;
560
571
  isUserLabel: boolean;
572
+ itemCount?: number | null | undefined;
561
573
  userId?: string | number | null | undefined;
562
574
  } | null | undefined;
563
575
  }[] | null | undefined;
@@ -653,6 +665,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
653
665
  createdAt: Date;
654
666
  name: string;
655
667
  isUserLabel: boolean;
668
+ itemCount?: number | null | undefined;
656
669
  userId?: string | number | null | undefined;
657
670
  }[];
658
671
  item: {
@@ -676,6 +689,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
676
689
  createdAt: Date;
677
690
  name: string;
678
691
  isUserLabel: boolean;
692
+ itemCount?: number | null | undefined;
679
693
  userId?: string | number | null | undefined;
680
694
  } | null | undefined;
681
695
  }[] | null | undefined;
@@ -8,17 +8,20 @@ export declare const ItemLabelSchema: z.ZodObject<{
8
8
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
9
9
  isUserLabel: z.ZodBoolean;
10
10
  createdAt: z.ZodDate;
11
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
12
  }, "strip", z.ZodTypeAny, {
12
13
  id: string | number;
13
14
  createdAt: Date;
14
15
  name: string;
15
16
  isUserLabel: boolean;
17
+ itemCount?: number | null | undefined;
16
18
  userId?: string | number | null | undefined;
17
19
  }, {
18
20
  id: string | number;
19
21
  createdAt: Date;
20
22
  name: string;
21
23
  isUserLabel: boolean;
24
+ itemCount?: number | null | undefined;
22
25
  userId?: string | number | null | undefined;
23
26
  }>>>;
24
27
  }, "strip", z.ZodTypeAny, {
@@ -29,6 +32,7 @@ export declare const ItemLabelSchema: z.ZodObject<{
29
32
  createdAt: Date;
30
33
  name: string;
31
34
  isUserLabel: boolean;
35
+ itemCount?: number | null | undefined;
32
36
  userId?: string | number | null | undefined;
33
37
  } | null | undefined;
34
38
  }, {
@@ -39,6 +43,7 @@ export declare const ItemLabelSchema: z.ZodObject<{
39
43
  createdAt: Date;
40
44
  name: string;
41
45
  isUserLabel: boolean;
46
+ itemCount?: number | null | undefined;
42
47
  userId?: string | number | null | undefined;
43
48
  } | null | undefined;
44
49
  }>;
@@ -21,6 +21,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
21
21
  isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
22
  material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
23
23
  manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
24
25
  }, "strip", z.ZodTypeAny, {
25
26
  title?: string | null | undefined;
26
27
  description?: string | null | undefined;
@@ -37,6 +38,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
37
38
  isDraft?: boolean | null | undefined;
38
39
  material?: number[] | null | undefined;
39
40
  manufacturerLabelling?: string | null | undefined;
41
+ labels?: string[] | null | undefined;
40
42
  }, {
41
43
  title?: string | null | undefined;
42
44
  description?: string | null | undefined;
@@ -53,6 +55,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
53
55
  isDraft?: boolean | null | undefined;
54
56
  material?: number[] | null | undefined;
55
57
  manufacturerLabelling?: string | null | undefined;
58
+ labels?: string[] | null | undefined;
56
59
  }>;
57
60
  data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
61
  }, "strip", z.ZodTypeAny, {
@@ -73,6 +76,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
73
76
  isDraft?: boolean | null | undefined;
74
77
  material?: number[] | null | undefined;
75
78
  manufacturerLabelling?: string | null | undefined;
79
+ labels?: string[] | null | undefined;
76
80
  };
77
81
  data?: string | null | undefined;
78
82
  createdAt?: Date | null | undefined;
@@ -96,6 +100,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
96
100
  isDraft?: boolean | null | undefined;
97
101
  material?: number[] | null | undefined;
98
102
  manufacturerLabelling?: string | null | undefined;
103
+ labels?: string[] | null | undefined;
99
104
  };
100
105
  data?: string | null | undefined;
101
106
  createdAt?: Date | null | undefined;
@@ -147,6 +152,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
147
152
  isDraft?: boolean | null | undefined;
148
153
  material?: number[] | null | undefined;
149
154
  manufacturerLabelling?: string | null | undefined;
155
+ labels?: string[] | null | undefined;
150
156
  };
151
157
  data?: string | null | undefined;
152
158
  createdAt?: Date | null | undefined;
@@ -179,6 +185,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
179
185
  isDraft?: boolean | null | undefined;
180
186
  material?: number[] | null | undefined;
181
187
  manufacturerLabelling?: string | null | undefined;
188
+ labels?: string[] | null | undefined;
182
189
  };
183
190
  data?: string | null | undefined;
184
191
  createdAt?: Date | null | undefined;
@@ -3,13 +3,16 @@ export declare const ItemOnPlatformsRequestSchema: z.ZodObject<{
3
3
  accountsId: z.ZodArray<z.ZodString, "many">;
4
4
  publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
5
5
  disableGetDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6
+ overrideFileIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  accountsId: string[];
8
9
  publishingDate?: Date | null | undefined;
9
10
  disableGetDraft?: boolean | null | undefined;
11
+ overrideFileIds?: string[] | null | undefined;
10
12
  }, {
11
13
  accountsId: string[];
12
14
  publishingDate?: Date | null | undefined;
13
15
  disableGetDraft?: boolean | null | undefined;
16
+ overrideFileIds?: string[] | null | undefined;
14
17
  }>;
15
18
  export type ItemOnPlatformsRequest = z.infer<typeof ItemOnPlatformsRequestSchema>;
@@ -5,5 +5,6 @@ const zod_1 = require("zod");
5
5
  exports.ItemOnPlatformsRequestSchema = zod_1.z.object({
6
6
  accountsId: zod_1.z.array(zod_1.z.string().uuid()),
7
7
  publishingDate: zod_1.z.coerce.date().nullish(),
8
- disableGetDraft: zod_1.z.boolean().nullish()
8
+ disableGetDraft: zod_1.z.boolean().nullish(),
9
+ overrideFileIds: zod_1.z.array(zod_1.z.string().uuid()).nullish()
9
10
  });
@@ -3,6 +3,7 @@ import {z} from "zod"
3
3
  export const ItemOnPlatformsRequestSchema = z.object({
4
4
  accountsId: z.array(z.string().uuid()),
5
5
  publishingDate: z.coerce.date().nullish(),
6
- disableGetDraft: z.boolean().nullish()
6
+ disableGetDraft: z.boolean().nullish(),
7
+ overrideFileIds: z.array(z.string().uuid()).nullish()
7
8
  })
8
9
  export type ItemOnPlatformsRequest = z.infer<typeof ItemOnPlatformsRequestSchema>
@@ -4,14 +4,17 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
4
4
  accountsId: z.ZodArray<z.ZodString, "many">;
5
5
  publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
6
6
  disableGetDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7
+ overrideFileIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  accountsId: string[];
9
10
  publishingDate?: Date | null | undefined;
10
11
  disableGetDraft?: boolean | null | undefined;
12
+ overrideFileIds?: string[] | null | undefined;
11
13
  }, {
12
14
  accountsId: string[];
13
15
  publishingDate?: Date | null | undefined;
14
16
  disableGetDraft?: boolean | null | undefined;
17
+ overrideFileIds?: string[] | null | undefined;
15
18
  }>;
16
19
  itemId: z.ZodNumber;
17
20
  userId: z.ZodNumber;
@@ -22,6 +25,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
22
25
  accountsId: string[];
23
26
  publishingDate?: Date | null | undefined;
24
27
  disableGetDraft?: boolean | null | undefined;
28
+ overrideFileIds?: string[] | null | undefined;
25
29
  };
26
30
  }, {
27
31
  userId: number;
@@ -30,6 +34,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
30
34
  accountsId: string[];
31
35
  publishingDate?: Date | null | undefined;
32
36
  disableGetDraft?: boolean | null | undefined;
37
+ overrideFileIds?: string[] | null | undefined;
33
38
  };
34
39
  }>;
35
40
  export type ItemOnPlatformsRequestWithItem = z.infer<typeof ItemOnPlatformsRequestWithItemSchema>;
@@ -5,17 +5,20 @@ export declare const LabelSchema: z.ZodObject<{
5
5
  userId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
6
6
  isUserLabel: z.ZodBoolean;
7
7
  createdAt: z.ZodDate;
8
+ itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
9
  }, "strip", z.ZodTypeAny, {
9
10
  id: string | number;
10
11
  createdAt: Date;
11
12
  name: string;
12
13
  isUserLabel: boolean;
14
+ itemCount?: number | null | undefined;
13
15
  userId?: string | number | null | undefined;
14
16
  }, {
15
17
  id: string | number;
16
18
  createdAt: Date;
17
19
  name: string;
18
20
  isUserLabel: boolean;
21
+ itemCount?: number | null | undefined;
19
22
  userId?: string | number | null | undefined;
20
23
  }>;
21
24
  export type Label = z.infer<typeof LabelSchema>;
@@ -8,5 +8,6 @@ exports.LabelSchema = zod_1.z.object({
8
8
  name: zod_1.z.string(),
9
9
  userId: zodable_idschema_1.IdSchema.nullish(),
10
10
  isUserLabel: zod_1.z.boolean(),
11
- createdAt: zod_1.z.coerce.date()
11
+ createdAt: zod_1.z.coerce.date(),
12
+ itemCount: zod_1.z.number().nullish()
12
13
  });