controlresell 2.0.1 → 2.0.3

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 (44) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/catalogs/Catalog.d.ts +3 -3
  3. package/src/com/controlresell/models/catalogs/Catalog.js +1 -1
  4. package/src/com/controlresell/models/catalogs/Catalog.ts +1 -1
  5. package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts +5 -5
  6. package/src/com/controlresell/models/customers/contracts/ContractItem.d.ts +2 -2
  7. package/src/com/controlresell/models/customers/contracts/PrepareContractPayload.d.ts +4 -4
  8. package/src/com/controlresell/models/fees/Fee.d.ts +2 -2
  9. package/src/com/controlresell/models/items/CreatedItems.d.ts +37 -42
  10. package/src/com/controlresell/models/items/Item.d.ts +23 -26
  11. package/src/com/controlresell/models/items/Item.js +0 -1
  12. package/src/com/controlresell/models/items/Item.ts +0 -1
  13. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
  14. package/src/com/controlresell/models/items/ItemSort.d.ts +1 -1
  15. package/src/com/controlresell/models/items/ItemSort.js +1 -1
  16. package/src/com/controlresell/models/items/ItemSort.ts +1 -1
  17. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +43 -48
  18. package/src/com/controlresell/models/items/ItemsWithFilters.js +1 -1
  19. package/src/com/controlresell/models/items/ItemsWithFilters.ts +1 -1
  20. package/src/com/controlresell/models/items/UpdatedItem.d.ts +37 -42
  21. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +3 -3
  22. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +3 -3
  23. package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
  24. package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
  25. package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
  26. package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
  27. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +4 -4
  28. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +33 -38
  29. package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
  30. package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
  31. package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
  32. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
  33. package/src/com/controlresell/models/platforms/orders/Order.d.ts +11 -11
  34. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
  35. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +6 -6
  36. package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -0
  37. package/src/com/controlresell/models/users/UpdateUserPayload.js +2 -0
  38. package/src/com/controlresell/models/users/UpdateUserPayload.ts +2 -0
  39. package/src/com/controlresell/models/users/User.d.ts +3 -0
  40. package/src/com/controlresell/models/users/User.js +2 -1
  41. package/src/com/controlresell/models/users/User.ts +2 -1
  42. package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
  43. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +4 -4
  44. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +2 -2
@@ -7,7 +7,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
7
7
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8
8
  name: z.ZodString;
9
9
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- images: z.ZodArray<z.ZodString, "many">;
11
10
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
11
  fileId: z.ZodString;
13
12
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -86,10 +85,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
86
85
  value: number;
87
86
  type: string;
88
87
  id: string | number;
88
+ name: string;
89
89
  userId: string | number;
90
90
  createdAt: Date;
91
91
  updatedAt: Date;
92
- name: string;
93
92
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
94
93
  startDate: Date;
95
94
  active: boolean;
@@ -101,10 +100,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
101
100
  value: number;
102
101
  type: string;
103
102
  id: string | number;
103
+ name: string;
104
104
  userId: string | number;
105
105
  createdAt: Date;
106
106
  updatedAt: Date;
107
- name: string;
108
107
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
109
108
  startDate: Date;
110
109
  active: boolean;
@@ -125,14 +124,14 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
125
124
  createdAt: z.ZodDate;
126
125
  }, "strip", z.ZodTypeAny, {
127
126
  id: string | number;
128
- createdAt: Date;
129
127
  name: string;
128
+ createdAt: Date;
130
129
  isUserLabel: boolean;
131
130
  userId?: string | number | null | undefined;
132
131
  }, {
133
132
  id: string | number;
134
- createdAt: Date;
135
133
  name: string;
134
+ createdAt: Date;
136
135
  isUserLabel: boolean;
137
136
  userId?: string | number | null | undefined;
138
137
  }>>>;
@@ -141,8 +140,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
141
140
  labelId: string | number;
142
141
  label?: {
143
142
  id: string | number;
144
- createdAt: Date;
145
143
  name: string;
144
+ createdAt: Date;
146
145
  isUserLabel: boolean;
147
146
  userId?: string | number | null | undefined;
148
147
  } | null | undefined;
@@ -151,8 +150,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
151
150
  labelId: string | number;
152
151
  label?: {
153
152
  id: string | number;
154
- createdAt: Date;
155
153
  name: string;
154
+ createdAt: Date;
156
155
  isUserLabel: boolean;
157
156
  userId?: string | number | null | undefined;
158
157
  } | null | undefined;
@@ -218,17 +217,17 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
218
217
  lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
219
218
  id: z.ZodString;
220
219
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
221
- type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
220
+ type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
222
221
  data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
222
  createdAt: z.ZodDate;
224
223
  }, "strip", z.ZodTypeAny, {
225
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
224
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
226
225
  id: string;
227
226
  createdAt: Date;
228
227
  itemId: string | number;
229
228
  data?: string | null | undefined;
230
229
  }, {
231
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
230
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
232
231
  id: string;
233
232
  createdAt: Date;
234
233
  itemId: string | number;
@@ -252,14 +251,14 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
252
251
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
253
252
  platform: "VINTED" | "SHOPIFY";
254
253
  accountId: string;
255
- userId: string | number;
256
254
  name: string;
255
+ userId: string | number;
257
256
  }, {
258
257
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
259
258
  platform: "VINTED" | "SHOPIFY";
260
259
  accountId: string;
261
- userId: string | number;
262
260
  name: string;
261
+ userId: string | number;
263
262
  }>>>;
264
263
  }, "strip", z.ZodTypeAny, {
265
264
  status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
@@ -273,8 +272,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
273
272
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
274
273
  platform: "VINTED" | "SHOPIFY";
275
274
  accountId: string;
276
- userId: string | number;
277
275
  name: string;
276
+ userId: string | number;
278
277
  } | null | undefined;
279
278
  }, {
280
279
  status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
@@ -288,19 +287,18 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
288
287
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
289
288
  platform: "VINTED" | "SHOPIFY";
290
289
  accountId: string;
291
- userId: string | number;
292
290
  name: string;
291
+ userId: string | number;
293
292
  } | null | undefined;
294
293
  }>, "many">>>;
295
294
  createdAt: z.ZodDate;
296
295
  updatedAt: z.ZodDate;
297
296
  }, "strip", z.ZodTypeAny, {
298
297
  id: string | number;
298
+ name: string;
299
299
  userId: string | number;
300
300
  createdAt: Date;
301
301
  updatedAt: Date;
302
- name: string;
303
- images: string[];
304
302
  sold: boolean;
305
303
  description?: string | null | undefined;
306
304
  colorIds?: number[] | null | undefined;
@@ -334,10 +332,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
334
332
  value: number;
335
333
  type: string;
336
334
  id: string | number;
335
+ name: string;
337
336
  userId: string | number;
338
337
  createdAt: Date;
339
338
  updatedAt: Date;
340
- name: string;
341
339
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
342
340
  startDate: Date;
343
341
  active: boolean;
@@ -352,8 +350,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
352
350
  labelId: string | number;
353
351
  label?: {
354
352
  id: string | number;
355
- createdAt: Date;
356
353
  name: string;
354
+ createdAt: Date;
357
355
  isUserLabel: boolean;
358
356
  userId?: string | number | null | undefined;
359
357
  } | null | undefined;
@@ -382,7 +380,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
382
380
  fieldId: string | number;
383
381
  }[] | null | undefined;
384
382
  lastHistory?: {
385
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
383
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
386
384
  id: string;
387
385
  createdAt: Date;
388
386
  itemId: string | number;
@@ -400,17 +398,16 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
400
398
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
401
399
  platform: "VINTED" | "SHOPIFY";
402
400
  accountId: string;
403
- userId: string | number;
404
401
  name: string;
402
+ userId: string | number;
405
403
  } | null | undefined;
406
404
  }[] | null | undefined;
407
405
  }, {
408
406
  id: string | number;
407
+ name: string;
409
408
  userId: string | number;
410
409
  createdAt: Date;
411
410
  updatedAt: Date;
412
- name: string;
413
- images: string[];
414
411
  sold: boolean;
415
412
  description?: string | null | undefined;
416
413
  colorIds?: number[] | null | undefined;
@@ -444,10 +441,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
444
441
  value: number;
445
442
  type: string;
446
443
  id: string | number;
444
+ name: string;
447
445
  userId: string | number;
448
446
  createdAt: Date;
449
447
  updatedAt: Date;
450
- name: string;
451
448
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
452
449
  startDate: Date;
453
450
  active: boolean;
@@ -462,8 +459,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
462
459
  labelId: string | number;
463
460
  label?: {
464
461
  id: string | number;
465
- createdAt: Date;
466
462
  name: string;
463
+ createdAt: Date;
467
464
  isUserLabel: boolean;
468
465
  userId?: string | number | null | undefined;
469
466
  } | null | undefined;
@@ -492,7 +489,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
492
489
  fieldId: string | number;
493
490
  }[] | null | undefined;
494
491
  lastHistory?: {
495
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
492
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
496
493
  id: string;
497
494
  createdAt: Date;
498
495
  itemId: string | number;
@@ -510,8 +507,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
510
507
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
511
508
  platform: "VINTED" | "SHOPIFY";
512
509
  accountId: string;
513
- userId: string | number;
514
510
  name: string;
511
+ userId: string | number;
515
512
  } | null | undefined;
516
513
  }[] | null | undefined;
517
514
  }>, "many">;
@@ -528,22 +525,22 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
528
525
  }, "strip", z.ZodTypeAny, {
529
526
  type: "TEXT" | "SPOT";
530
527
  id: string | number;
531
- userId: string | number;
532
528
  name: string;
529
+ userId: string | number;
533
530
  section: string;
534
531
  config?: string | null | undefined;
535
532
  defaultValue?: string | null | undefined;
536
533
  }, {
537
534
  type: "TEXT" | "SPOT";
538
535
  id: string | number;
539
- userId: string | number;
540
536
  name: string;
537
+ userId: string | number;
541
538
  section: string;
542
539
  config?: string | null | undefined;
543
540
  defaultValue?: string | null | undefined;
544
541
  }>, "many">;
545
542
  fieldsData: z.ZodRecord<z.ZodNumber, z.ZodArray<z.ZodString, "many">>;
546
- gettingStartedSteps: z.ZodObject<{
543
+ gettingStartedSteps: z.ZodOptional<z.ZodNullable<z.ZodObject<{
547
544
  isShown: z.ZodBoolean;
548
545
  addFirstItem: z.ZodBoolean;
549
546
  markItemAsSold: z.ZodBoolean;
@@ -561,13 +558,13 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
561
558
  markItemAsSold: boolean;
562
559
  reach100Sales: boolean;
563
560
  add10Items: boolean;
564
- }>;
561
+ }>>>;
565
562
  }, "strip", z.ZodTypeAny, {
566
563
  fields: {
567
564
  type: "TEXT" | "SPOT";
568
565
  id: string | number;
569
- userId: string | number;
570
566
  name: string;
567
+ userId: string | number;
571
568
  section: string;
572
569
  config?: string | null | undefined;
573
570
  defaultValue?: string | null | undefined;
@@ -576,11 +573,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
576
573
  allItemsCount: number;
577
574
  rows: {
578
575
  id: string | number;
576
+ name: string;
579
577
  userId: string | number;
580
578
  createdAt: Date;
581
579
  updatedAt: Date;
582
- name: string;
583
- images: string[];
584
580
  sold: boolean;
585
581
  description?: string | null | undefined;
586
582
  colorIds?: number[] | null | undefined;
@@ -614,10 +610,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
614
610
  value: number;
615
611
  type: string;
616
612
  id: string | number;
613
+ name: string;
617
614
  userId: string | number;
618
615
  createdAt: Date;
619
616
  updatedAt: Date;
620
- name: string;
621
617
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
622
618
  startDate: Date;
623
619
  active: boolean;
@@ -632,8 +628,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
632
628
  labelId: string | number;
633
629
  label?: {
634
630
  id: string | number;
635
- createdAt: Date;
636
631
  name: string;
632
+ createdAt: Date;
637
633
  isUserLabel: boolean;
638
634
  userId?: string | number | null | undefined;
639
635
  } | null | undefined;
@@ -662,7 +658,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
662
658
  fieldId: string | number;
663
659
  }[] | null | undefined;
664
660
  lastHistory?: {
665
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
661
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
666
662
  id: string;
667
663
  createdAt: Date;
668
664
  itemId: string | number;
@@ -680,27 +676,27 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
680
676
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
681
677
  platform: "VINTED" | "SHOPIFY";
682
678
  accountId: string;
683
- userId: string | number;
684
679
  name: string;
680
+ userId: string | number;
685
681
  } | null | undefined;
686
682
  }[] | null | undefined;
687
683
  }[];
688
684
  currentPage: number;
689
685
  totalPages: number;
690
686
  fieldsData: Record<number, string[]>;
691
- gettingStartedSteps: {
687
+ gettingStartedSteps?: {
692
688
  isShown: boolean;
693
689
  addFirstItem: boolean;
694
690
  markItemAsSold: boolean;
695
691
  reach100Sales: boolean;
696
692
  add10Items: boolean;
697
- };
693
+ } | null | undefined;
698
694
  }, {
699
695
  fields: {
700
696
  type: "TEXT" | "SPOT";
701
697
  id: string | number;
702
- userId: string | number;
703
698
  name: string;
699
+ userId: string | number;
704
700
  section: string;
705
701
  config?: string | null | undefined;
706
702
  defaultValue?: string | null | undefined;
@@ -709,11 +705,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
709
705
  allItemsCount: number;
710
706
  rows: {
711
707
  id: string | number;
708
+ name: string;
712
709
  userId: string | number;
713
710
  createdAt: Date;
714
711
  updatedAt: Date;
715
- name: string;
716
- images: string[];
717
712
  sold: boolean;
718
713
  description?: string | null | undefined;
719
714
  colorIds?: number[] | null | undefined;
@@ -747,10 +742,10 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
747
742
  value: number;
748
743
  type: string;
749
744
  id: string | number;
745
+ name: string;
750
746
  userId: string | number;
751
747
  createdAt: Date;
752
748
  updatedAt: Date;
753
- name: string;
754
749
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
755
750
  startDate: Date;
756
751
  active: boolean;
@@ -765,8 +760,8 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
765
760
  labelId: string | number;
766
761
  label?: {
767
762
  id: string | number;
768
- createdAt: Date;
769
763
  name: string;
764
+ createdAt: Date;
770
765
  isUserLabel: boolean;
771
766
  userId?: string | number | null | undefined;
772
767
  } | null | undefined;
@@ -795,7 +790,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
795
790
  fieldId: string | number;
796
791
  }[] | null | undefined;
797
792
  lastHistory?: {
798
- type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
793
+ type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
799
794
  id: string;
800
795
  createdAt: Date;
801
796
  itemId: string | number;
@@ -813,20 +808,20 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
813
808
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
814
809
  platform: "VINTED" | "SHOPIFY";
815
810
  accountId: string;
816
- userId: string | number;
817
811
  name: string;
812
+ userId: string | number;
818
813
  } | null | undefined;
819
814
  }[] | null | undefined;
820
815
  }[];
821
816
  currentPage: number;
822
817
  totalPages: number;
823
818
  fieldsData: Record<number, string[]>;
824
- gettingStartedSteps: {
819
+ gettingStartedSteps?: {
825
820
  isShown: boolean;
826
821
  addFirstItem: boolean;
827
822
  markItemAsSold: boolean;
828
823
  reach100Sales: boolean;
829
824
  add10Items: boolean;
830
- };
825
+ } | null | undefined;
831
826
  }>;
832
827
  export type ItemsWithFilters = z.infer<typeof ItemsWithFiltersSchema>;
@@ -13,5 +13,5 @@ exports.ItemsWithFiltersSchema = zod_1.z.object({
13
13
  totalPages: zod_1.z.number(),
14
14
  fields: zod_1.z.array(Field_1.FieldSchema),
15
15
  fieldsData: zod_1.z.record(zod_1.z.coerce.number(), zod_1.z.array(zod_1.z.string())),
16
- gettingStartedSteps: GettingStartedSteps_1.GettingStartedStepsSchema
16
+ gettingStartedSteps: GettingStartedSteps_1.GettingStartedStepsSchema.nullish()
17
17
  });
@@ -11,6 +11,6 @@ export const ItemsWithFiltersSchema = z.object({
11
11
  totalPages: z.number(),
12
12
  fields: z.array(FieldSchema),
13
13
  fieldsData: z.record(z.coerce.number(), z.array(z.string())),
14
- gettingStartedSteps: GettingStartedStepsSchema
14
+ gettingStartedSteps: GettingStartedStepsSchema.nullish()
15
15
  })
16
16
  export type ItemsWithFilters = z.infer<typeof ItemsWithFiltersSchema>