controlresell 2.1.14 → 2.2.1

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 (100) hide show
  1. package/package.json +3 -3
  2. package/src/com/controlresell/models/filters/SavedFilters.d.ts +133 -0
  3. package/src/com/controlresell/models/filters/SavedFilters.js +13 -0
  4. package/src/com/controlresell/models/filters/SavedFilters.ts +12 -0
  5. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +127 -0
  6. package/src/com/controlresell/models/filters/SavedFiltersPayload.js +10 -0
  7. package/src/com/controlresell/models/filters/SavedFiltersPayload.ts +9 -0
  8. package/src/com/controlresell/models/items/CreatedItems.d.ts +70 -70
  9. package/src/com/controlresell/models/items/Item.d.ts +36 -36
  10. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +2 -2
  11. package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
  12. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +70 -70
  13. package/src/com/controlresell/models/items/UpdatedItem.d.ts +70 -70
  14. package/src/com/controlresell/models/items/platforms/CreateItemOnPlatformPayload.d.ts +2 -2
  15. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +2 -2
  16. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +4 -4
  17. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +3 -3
  18. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.js +1 -1
  19. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.ts +1 -1
  20. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +5 -5
  21. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
  22. package/src/com/controlresell/models/platforms/PlatformFiltersContext.d.ts +12 -0
  23. package/src/com/controlresell/models/platforms/PlatformFiltersContext.js +9 -0
  24. package/src/com/controlresell/models/platforms/PlatformFiltersContext.ts +8 -0
  25. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
  26. package/src/com/controlresell/models/platforms/orders/Order.d.ts +6 -6
  27. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
  28. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -78
  29. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +3 -0
  30. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +2 -1
  31. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +2 -1
  32. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +3 -0
  33. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +2 -1
  34. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +2 -1
  35. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +3 -0
  36. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +2 -1
  37. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +2 -1
  38. package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +6 -6
  39. package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +4 -4
  40. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +78 -78
  41. package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +18 -0
  42. package/src/com/controlresell/models/preferences/CreatePreferencePayload.js +11 -0
  43. package/src/com/controlresell/models/preferences/CreatePreferencePayload.ts +10 -0
  44. package/src/com/controlresell/models/preferences/Preference.d.ts +52 -0
  45. package/src/com/controlresell/models/preferences/Preference.js +16 -0
  46. package/src/com/controlresell/models/preferences/Preference.ts +15 -0
  47. package/src/com/controlresell/models/preferences/PreferenceType.d.ts +3 -0
  48. package/src/com/controlresell/models/preferences/PreferenceType.js +7 -0
  49. package/src/com/controlresell/models/preferences/PreferenceType.ts +6 -0
  50. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.d.ts +12 -0
  51. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.js +8 -0
  52. package/src/com/controlresell/models/preferences/UpdatePreferencePayload.ts +7 -0
  53. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +18 -0
  54. package/src/com/controlresell/models/preferences/cases/PreferenceCase.js +10 -0
  55. package/src/com/controlresell/models/preferences/cases/PreferenceCase.ts +9 -0
  56. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.d.ts +12 -0
  57. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.js +8 -0
  58. package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.ts +7 -0
  59. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +12 -0
  60. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +9 -0
  61. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +8 -0
  62. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +3 -0
  63. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +7 -0
  64. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +6 -0
  65. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.d.ts +27 -0
  66. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.js +9 -0
  67. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionVariantPayload.ts +8 -0
  68. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +45 -0
  69. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.js +8 -0
  70. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.ts +7 -0
  71. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.d.ts +24 -0
  72. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.js +8 -0
  73. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayload.ts +7 -0
  74. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.d.ts +12 -0
  75. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js +8 -0
  76. package/src/com/controlresell/models/preferences/payloads/fees/PreferenceFeesPayloadFee.ts +7 -0
  77. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.d.ts +3 -0
  78. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.js +7 -0
  79. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.ts +6 -0
  80. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.d.ts +21 -0
  81. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.js +14 -0
  82. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.ts +13 -0
  83. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.d.ts +3 -0
  84. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js +7 -0
  85. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadRoundType.ts +6 -0
  86. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.d.ts +3 -0
  87. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.js +7 -0
  88. package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayloadType.ts +6 -0
  89. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.d.ts +9 -0
  90. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.js +7 -0
  91. package/src/com/controlresell/models/preferences/payloads/texts/PreferenceTextPayload.ts +6 -0
  92. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.d.ts +45 -0
  93. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.js +19 -0
  94. package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.ts +18 -0
  95. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +3 -3
  96. package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +6 -6
  97. package/src/com/controlresell/models/users/preferences/UserPreference.d.ts +2 -2
  98. package/src/index.d.ts +21 -0
  99. package/src/index.js +46 -3
  100. package/src/index.ts +21 -0
@@ -39,7 +39,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
39
39
  accountId: string;
40
40
  }>>>;
41
41
  }, "strip", z.ZodTypeAny, {
42
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
42
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
43
43
  id: string;
44
44
  itemId: string | number;
45
45
  accountId: string;
@@ -54,7 +54,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
54
54
  accountId: string;
55
55
  } | null | undefined;
56
56
  }, {
57
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
57
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
58
58
  id: string;
59
59
  itemId: string | number;
60
60
  accountId: string;
@@ -73,7 +73,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
73
73
  transactionId: string;
74
74
  itemOnPlatformId: string;
75
75
  itemOnPlatform?: {
76
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
76
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
77
77
  id: string;
78
78
  itemId: string | number;
79
79
  accountId: string;
@@ -92,7 +92,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
92
92
  transactionId: string;
93
93
  itemOnPlatformId: string;
94
94
  itemOnPlatform?: {
95
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
95
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
96
96
  id: string;
97
97
  itemId: string | number;
98
98
  accountId: string;
@@ -116,7 +116,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
116
116
  transactionId: string;
117
117
  itemOnPlatformId: string;
118
118
  itemOnPlatform?: {
119
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
119
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
120
120
  id: string;
121
121
  itemId: string | number;
122
122
  accountId: string;
@@ -144,7 +144,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
144
144
  transactionId: string;
145
145
  itemOnPlatformId: string;
146
146
  itemOnPlatform?: {
147
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
147
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
148
148
  id: string;
149
149
  itemId: string | number;
150
150
  accountId: string;
@@ -429,7 +429,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
429
429
  accountId: string;
430
430
  }>>>;
431
431
  }, "strip", z.ZodTypeAny, {
432
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
432
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
433
433
  id: string;
434
434
  itemId: string | number;
435
435
  accountId: string;
@@ -444,7 +444,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
444
444
  accountId: string;
445
445
  } | null | undefined;
446
446
  }, {
447
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
447
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
448
448
  id: string;
449
449
  itemId: string | number;
450
450
  accountId: string;
@@ -470,6 +470,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
470
470
  sold: boolean;
471
471
  description?: string | null | undefined;
472
472
  customerId?: string | number | null | undefined;
473
+ sex?: string | null | undefined;
473
474
  state?: number | null | undefined;
474
475
  colorIds?: number[] | null | undefined;
475
476
  packageSizeId?: number | null | undefined;
@@ -486,6 +487,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
486
487
  userId?: string | number | null | undefined;
487
488
  } | null | undefined;
488
489
  }[] | null | undefined;
490
+ platforms?: {
491
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
492
+ id: string;
493
+ itemId: string | number;
494
+ accountId: string;
495
+ platformId: string;
496
+ platformUrl: string;
497
+ platformPrice: number;
498
+ account?: {
499
+ status: "ERROR" | "CONNECTED" | "DISCONNECTED";
500
+ userId: string | number;
501
+ name: string;
502
+ platform: "VINTED" | "SHOPIFY";
503
+ accountId: string;
504
+ } | null | undefined;
505
+ }[] | null | undefined;
489
506
  files?: {
490
507
  fileId: string;
491
508
  itemId: string | number;
@@ -500,7 +517,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
500
517
  }[] | null | undefined;
501
518
  categoryId?: number | null | undefined;
502
519
  brandId?: string | number | null | undefined;
503
- sex?: string | null | undefined;
504
520
  purchasePrice?: number | null | undefined;
505
521
  purchaseDate?: Date | null | undefined;
506
522
  purchasePlaceId?: string | number | null | undefined;
@@ -555,22 +571,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
555
571
  itemId: string | number;
556
572
  data?: string | null | undefined;
557
573
  } | null | undefined;
558
- platforms?: {
559
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
560
- id: string;
561
- itemId: string | number;
562
- accountId: string;
563
- platformId: string;
564
- platformUrl: string;
565
- platformPrice: number;
566
- account?: {
567
- status: "ERROR" | "CONNECTED" | "DISCONNECTED";
568
- userId: string | number;
569
- name: string;
570
- platform: "VINTED" | "SHOPIFY";
571
- accountId: string;
572
- } | null | undefined;
573
- }[] | null | undefined;
574
574
  }, {
575
575
  id: string | number;
576
576
  userId: string | number;
@@ -580,6 +580,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
580
580
  sold: boolean;
581
581
  description?: string | null | undefined;
582
582
  customerId?: string | number | null | undefined;
583
+ sex?: string | null | undefined;
583
584
  state?: number | null | undefined;
584
585
  colorIds?: number[] | null | undefined;
585
586
  packageSizeId?: number | null | undefined;
@@ -596,6 +597,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
596
597
  userId?: string | number | null | undefined;
597
598
  } | null | undefined;
598
599
  }[] | null | undefined;
600
+ platforms?: {
601
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
602
+ id: string;
603
+ itemId: string | number;
604
+ accountId: string;
605
+ platformId: string;
606
+ platformUrl: string;
607
+ platformPrice: number;
608
+ account?: {
609
+ status: "ERROR" | "CONNECTED" | "DISCONNECTED";
610
+ userId: string | number;
611
+ name: string;
612
+ platform: "VINTED" | "SHOPIFY";
613
+ accountId: string;
614
+ } | null | undefined;
615
+ }[] | null | undefined;
599
616
  files?: {
600
617
  fileId: string;
601
618
  itemId: string | number;
@@ -610,7 +627,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
610
627
  }[] | null | undefined;
611
628
  categoryId?: number | null | undefined;
612
629
  brandId?: string | number | null | undefined;
613
- sex?: string | null | undefined;
614
630
  purchasePrice?: number | null | undefined;
615
631
  purchaseDate?: Date | null | undefined;
616
632
  purchasePlaceId?: string | number | null | undefined;
@@ -665,22 +681,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
665
681
  itemId: string | number;
666
682
  data?: string | null | undefined;
667
683
  } | null | undefined;
668
- platforms?: {
669
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
670
- id: string;
671
- itemId: string | number;
672
- accountId: string;
673
- platformId: string;
674
- platformUrl: string;
675
- platformPrice: number;
676
- account?: {
677
- status: "ERROR" | "CONNECTED" | "DISCONNECTED";
678
- userId: string | number;
679
- name: string;
680
- platform: "VINTED" | "SHOPIFY";
681
- accountId: string;
682
- } | null | undefined;
683
- }[] | null | undefined;
684
684
  }>, "many">;
685
685
  }, "strip", z.ZodTypeAny, {
686
686
  items: {
@@ -692,6 +692,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
692
692
  sold: boolean;
693
693
  description?: string | null | undefined;
694
694
  customerId?: string | number | null | undefined;
695
+ sex?: string | null | undefined;
695
696
  state?: number | null | undefined;
696
697
  colorIds?: number[] | null | undefined;
697
698
  packageSizeId?: number | null | undefined;
@@ -708,6 +709,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
708
709
  userId?: string | number | null | undefined;
709
710
  } | null | undefined;
710
711
  }[] | null | undefined;
712
+ platforms?: {
713
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
714
+ id: string;
715
+ itemId: string | number;
716
+ accountId: string;
717
+ platformId: string;
718
+ platformUrl: string;
719
+ platformPrice: number;
720
+ account?: {
721
+ status: "ERROR" | "CONNECTED" | "DISCONNECTED";
722
+ userId: string | number;
723
+ name: string;
724
+ platform: "VINTED" | "SHOPIFY";
725
+ accountId: string;
726
+ } | null | undefined;
727
+ }[] | null | undefined;
711
728
  files?: {
712
729
  fileId: string;
713
730
  itemId: string | number;
@@ -722,7 +739,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
722
739
  }[] | null | undefined;
723
740
  categoryId?: number | null | undefined;
724
741
  brandId?: string | number | null | undefined;
725
- sex?: string | null | undefined;
726
742
  purchasePrice?: number | null | undefined;
727
743
  purchaseDate?: Date | null | undefined;
728
744
  purchasePlaceId?: string | number | null | undefined;
@@ -777,22 +793,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
777
793
  itemId: string | number;
778
794
  data?: string | null | undefined;
779
795
  } | null | undefined;
780
- platforms?: {
781
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
782
- id: string;
783
- itemId: string | number;
784
- accountId: string;
785
- platformId: string;
786
- platformUrl: string;
787
- platformPrice: number;
788
- account?: {
789
- status: "ERROR" | "CONNECTED" | "DISCONNECTED";
790
- userId: string | number;
791
- name: string;
792
- platform: "VINTED" | "SHOPIFY";
793
- accountId: string;
794
- } | null | undefined;
795
- }[] | null | undefined;
796
796
  }[];
797
797
  transaction: {
798
798
  id: string;
@@ -802,7 +802,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
802
802
  transactionId: string;
803
803
  itemOnPlatformId: string;
804
804
  itemOnPlatform?: {
805
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
805
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
806
806
  id: string;
807
807
  itemId: string | number;
808
808
  accountId: string;
@@ -833,6 +833,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
833
833
  sold: boolean;
834
834
  description?: string | null | undefined;
835
835
  customerId?: string | number | null | undefined;
836
+ sex?: string | null | undefined;
836
837
  state?: number | null | undefined;
837
838
  colorIds?: number[] | null | undefined;
838
839
  packageSizeId?: number | null | undefined;
@@ -849,6 +850,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
849
850
  userId?: string | number | null | undefined;
850
851
  } | null | undefined;
851
852
  }[] | null | undefined;
853
+ platforms?: {
854
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
855
+ id: string;
856
+ itemId: string | number;
857
+ accountId: string;
858
+ platformId: string;
859
+ platformUrl: string;
860
+ platformPrice: number;
861
+ account?: {
862
+ status: "ERROR" | "CONNECTED" | "DISCONNECTED";
863
+ userId: string | number;
864
+ name: string;
865
+ platform: "VINTED" | "SHOPIFY";
866
+ accountId: string;
867
+ } | null | undefined;
868
+ }[] | null | undefined;
852
869
  files?: {
853
870
  fileId: string;
854
871
  itemId: string | number;
@@ -863,7 +880,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
863
880
  }[] | null | undefined;
864
881
  categoryId?: number | null | undefined;
865
882
  brandId?: string | number | null | undefined;
866
- sex?: string | null | undefined;
867
883
  purchasePrice?: number | null | undefined;
868
884
  purchaseDate?: Date | null | undefined;
869
885
  purchasePlaceId?: string | number | null | undefined;
@@ -918,22 +934,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
918
934
  itemId: string | number;
919
935
  data?: string | null | undefined;
920
936
  } | null | undefined;
921
- platforms?: {
922
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
923
- id: string;
924
- itemId: string | number;
925
- accountId: string;
926
- platformId: string;
927
- platformUrl: string;
928
- platformPrice: number;
929
- account?: {
930
- status: "ERROR" | "CONNECTED" | "DISCONNECTED";
931
- userId: string | number;
932
- name: string;
933
- platform: "VINTED" | "SHOPIFY";
934
- accountId: string;
935
- } | null | undefined;
936
- }[] | null | undefined;
937
937
  }[];
938
938
  transaction: {
939
939
  id: string;
@@ -943,7 +943,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
943
943
  transactionId: string;
944
944
  itemOnPlatformId: string;
945
945
  itemOnPlatform?: {
946
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
946
+ status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
947
947
  id: string;
948
948
  itemId: string | number;
949
949
  accountId: string;
@@ -0,0 +1,18 @@
1
+ import { z } from "zod";
2
+ export declare const CreatePreferencePayloadSchema: z.ZodObject<{
3
+ parentPreferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ type: z.ZodEnum<["NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>;
5
+ enabled: z.ZodBoolean;
6
+ testMode: z.ZodBoolean;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: "NEGOTIATION" | "VISION" | "TITLE" | "DESCRIPTION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
9
+ enabled: boolean;
10
+ testMode: boolean;
11
+ parentPreferenceId?: string | null | undefined;
12
+ }, {
13
+ type: "NEGOTIATION" | "VISION" | "TITLE" | "DESCRIPTION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
14
+ enabled: boolean;
15
+ testMode: boolean;
16
+ parentPreferenceId?: string | null | undefined;
17
+ }>;
18
+ export type CreatePreferencePayload = z.infer<typeof CreatePreferencePayloadSchema>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreatePreferencePayloadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const PreferenceType_1 = require("./PreferenceType");
6
+ exports.CreatePreferencePayloadSchema = zod_1.z.object({
7
+ parentPreferenceId: zod_1.z.string().uuid().nullish(),
8
+ type: PreferenceType_1.PreferenceTypeSchema,
9
+ enabled: zod_1.z.boolean(),
10
+ testMode: zod_1.z.boolean()
11
+ });
@@ -0,0 +1,10 @@
1
+ import {z} from "zod"
2
+ import {PreferenceTypeSchema} from "./PreferenceType"
3
+
4
+ export const CreatePreferencePayloadSchema = z.object({
5
+ parentPreferenceId: z.string().uuid().nullish(),
6
+ type: PreferenceTypeSchema,
7
+ enabled: z.boolean(),
8
+ testMode: z.boolean()
9
+ })
10
+ export type CreatePreferencePayload = z.infer<typeof CreatePreferencePayloadSchema>
@@ -0,0 +1,52 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ parentPreferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
6
+ type: z.ZodEnum<["NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>;
7
+ enabled: z.ZodBoolean;
8
+ testMode: z.ZodBoolean;
9
+ cases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodString;
11
+ preferenceId: z.ZodString;
12
+ savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ payload: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ payload: string;
17
+ preferenceId: string;
18
+ savedFiltersId?: string | null | undefined;
19
+ }, {
20
+ id: string;
21
+ payload: string;
22
+ preferenceId: string;
23
+ savedFiltersId?: string | null | undefined;
24
+ }>, "many">>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "NEGOTIATION" | "VISION" | "TITLE" | "DESCRIPTION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
27
+ id: string;
28
+ userId: string | number;
29
+ enabled: boolean;
30
+ testMode: boolean;
31
+ parentPreferenceId?: string | null | undefined;
32
+ cases?: {
33
+ id: string;
34
+ payload: string;
35
+ preferenceId: string;
36
+ savedFiltersId?: string | null | undefined;
37
+ }[] | null | undefined;
38
+ }, {
39
+ type: "NEGOTIATION" | "VISION" | "TITLE" | "DESCRIPTION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
40
+ id: string;
41
+ userId: string | number;
42
+ enabled: boolean;
43
+ testMode: boolean;
44
+ parentPreferenceId?: string | null | undefined;
45
+ cases?: {
46
+ id: string;
47
+ payload: string;
48
+ preferenceId: string;
49
+ savedFiltersId?: string | null | undefined;
50
+ }[] | null | undefined;
51
+ }>;
52
+ export type Preference = z.infer<typeof PreferenceSchema>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const zodable_idschema_1 = require("zodable-idschema");
6
+ const PreferenceType_1 = require("./PreferenceType");
7
+ const PreferenceCase_1 = require("./cases/PreferenceCase");
8
+ exports.PreferenceSchema = zod_1.z.object({
9
+ id: zod_1.z.string().uuid(),
10
+ parentPreferenceId: zod_1.z.string().uuid().nullish(),
11
+ userId: zodable_idschema_1.IdSchema,
12
+ type: PreferenceType_1.PreferenceTypeSchema,
13
+ enabled: zod_1.z.boolean(),
14
+ testMode: zod_1.z.boolean(),
15
+ cases: zod_1.z.array(PreferenceCase_1.PreferenceCaseSchema).nullish()
16
+ });
@@ -0,0 +1,15 @@
1
+ import {z} from "zod"
2
+ import {IdSchema} from "zodable-idschema"
3
+ import {PreferenceTypeSchema} from "./PreferenceType"
4
+ import {PreferenceCaseSchema} from "./cases/PreferenceCase"
5
+
6
+ export const PreferenceSchema = z.object({
7
+ id: z.string().uuid(),
8
+ parentPreferenceId: z.string().uuid().nullish(),
9
+ userId: IdSchema,
10
+ type: PreferenceTypeSchema,
11
+ enabled: z.boolean(),
12
+ testMode: z.boolean(),
13
+ cases: z.array(PreferenceCaseSchema).nullish()
14
+ })
15
+ export type Preference = z.infer<typeof PreferenceSchema>
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceTypeSchema: z.ZodEnum<["NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>;
3
+ export type PreferenceType = z.infer<typeof PreferenceTypeSchema>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferenceTypeSchema = zod_1.z.enum([
6
+ "NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"
7
+ ]);
@@ -0,0 +1,6 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferenceTypeSchema = z.enum([
4
+ "NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"
5
+ ])
6
+ export type PreferenceType = z.infer<typeof PreferenceTypeSchema>
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const UpdatePreferencePayloadSchema: z.ZodObject<{
3
+ enabled: z.ZodBoolean;
4
+ testMode: z.ZodBoolean;
5
+ }, "strip", z.ZodTypeAny, {
6
+ enabled: boolean;
7
+ testMode: boolean;
8
+ }, {
9
+ enabled: boolean;
10
+ testMode: boolean;
11
+ }>;
12
+ export type UpdatePreferencePayload = z.infer<typeof UpdatePreferencePayloadSchema>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePreferencePayloadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.UpdatePreferencePayloadSchema = zod_1.z.object({
6
+ enabled: zod_1.z.boolean(),
7
+ testMode: zod_1.z.boolean()
8
+ });
@@ -0,0 +1,7 @@
1
+ import {z} from "zod"
2
+
3
+ export const UpdatePreferencePayloadSchema = z.object({
4
+ enabled: z.boolean(),
5
+ testMode: z.boolean()
6
+ })
7
+ export type UpdatePreferencePayload = z.infer<typeof UpdatePreferencePayloadSchema>
@@ -0,0 +1,18 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceCaseSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ preferenceId: z.ZodString;
5
+ savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ payload: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ id: string;
9
+ payload: string;
10
+ preferenceId: string;
11
+ savedFiltersId?: string | null | undefined;
12
+ }, {
13
+ id: string;
14
+ payload: string;
15
+ preferenceId: string;
16
+ savedFiltersId?: string | null | undefined;
17
+ }>;
18
+ export type PreferenceCase = z.infer<typeof PreferenceCaseSchema>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceCaseSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferenceCaseSchema = zod_1.z.object({
6
+ id: zod_1.z.string().uuid(),
7
+ preferenceId: zod_1.z.string().uuid(),
8
+ savedFiltersId: zod_1.z.string().uuid().nullish(),
9
+ payload: zod_1.z.string()
10
+ });
@@ -0,0 +1,9 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferenceCaseSchema = z.object({
4
+ id: z.string().uuid(),
5
+ preferenceId: z.string().uuid(),
6
+ savedFiltersId: z.string().uuid().nullish(),
7
+ payload: z.string()
8
+ })
9
+ export type PreferenceCase = z.infer<typeof PreferenceCaseSchema>
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceCasePayloadSchema: z.ZodObject<{
3
+ savedFiltersId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ payload: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ payload: string;
7
+ savedFiltersId?: string | null | undefined;
8
+ }, {
9
+ payload: string;
10
+ savedFiltersId?: string | null | undefined;
11
+ }>;
12
+ export type PreferenceCasePayload = z.infer<typeof PreferenceCasePayloadSchema>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceCasePayloadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferenceCasePayloadSchema = zod_1.z.object({
6
+ savedFiltersId: zod_1.z.string().uuid().nullish(),
7
+ payload: zod_1.z.string()
8
+ });
@@ -0,0 +1,7 @@
1
+ import {z} from "zod"
2
+
3
+ export const PreferenceCasePayloadSchema = z.object({
4
+ savedFiltersId: z.string().uuid().nullish(),
5
+ payload: z.string()
6
+ })
7
+ export type PreferenceCasePayload = z.infer<typeof PreferenceCasePayloadSchema>
@@ -0,0 +1,12 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceActionPayloadSchema: z.ZodObject<{
3
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
4
+ payload: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
7
+ payload: string;
8
+ }, {
9
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
10
+ payload: string;
11
+ }>;
12
+ export type PreferenceActionPayload = z.infer<typeof PreferenceActionPayloadSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceActionPayloadSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const PreferenceActionPayloadType_1 = require("./PreferenceActionPayloadType");
6
+ exports.PreferenceActionPayloadSchema = zod_1.z.object({
7
+ type: PreferenceActionPayloadType_1.PreferenceActionPayloadTypeSchema,
8
+ payload: zod_1.z.string()
9
+ });
@@ -0,0 +1,8 @@
1
+ import {z} from "zod"
2
+ import {PreferenceActionPayloadTypeSchema} from "./PreferenceActionPayloadType"
3
+
4
+ export const PreferenceActionPayloadSchema = z.object({
5
+ type: PreferenceActionPayloadTypeSchema,
6
+ payload: z.string()
7
+ })
8
+ export type PreferenceActionPayload = z.infer<typeof PreferenceActionPayloadSchema>
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const PreferenceActionPayloadTypeSchema: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
3
+ export type PreferenceActionPayloadType = z.infer<typeof PreferenceActionPayloadTypeSchema>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PreferenceActionPayloadTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.PreferenceActionPayloadTypeSchema = zod_1.z.enum([
6
+ "WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"
7
+ ]);