controlresell 2.2.12 → 2.2.18

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 (56) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/models/catalogs/Catalog.d.ts +3 -6
  3. package/src/com/controlresell/models/catalogs/Catalog.js +2 -3
  4. package/src/com/controlresell/models/catalogs/Catalog.ts +2 -3
  5. package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts +5 -10
  6. package/src/com/controlresell/models/items/CreatedItems.d.ts +9 -0
  7. package/src/com/controlresell/models/items/Item.d.ts +7 -0
  8. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +9 -0
  9. package/src/com/controlresell/models/items/UpdatedItem.d.ts +9 -0
  10. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -0
  11. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +2 -2
  13. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +4 -4
  14. package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +15 -0
  15. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +5 -0
  16. package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +21 -0
  17. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +6 -0
  18. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.js +4 -0
  19. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.ts +4 -0
  20. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.d.ts +6 -0
  21. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.js +4 -1
  22. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.ts +4 -1
  23. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.d.ts +3 -0
  24. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.js +7 -0
  25. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.ts +6 -0
  26. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +6 -0
  27. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.js +4 -0
  28. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.ts +4 -0
  29. package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +10 -0
  30. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +6 -0
  31. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.js +4 -0
  32. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.ts +4 -0
  33. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +26 -0
  34. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +5 -0
  35. package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -0
  36. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -0
  37. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -0
  38. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +20 -0
  39. package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +9 -0
  40. package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +7 -0
  41. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +20 -0
  42. package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +14 -0
  43. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +3435 -0
  44. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +3 -1
  45. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +3 -1
  46. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
  47. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
  48. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
  49. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +1 -0
  50. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +1 -0
  51. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -0
  52. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +1 -0
  53. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +1 -0
  54. package/src/index.d.ts +1 -0
  55. package/src/index.js +5 -3
  56. package/src/index.ts +1 -0
@@ -15,6 +15,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
15
15
  accountId: z.ZodString;
16
16
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
17
17
  name: z.ZodString;
18
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
19
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
19
20
  }, "strip", z.ZodTypeAny, {
20
21
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -22,12 +23,14 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
22
23
  name: string;
23
24
  platform: "VINTED" | "SHOPIFY";
24
25
  accountId: string;
26
+ locale?: string | null | undefined;
25
27
  }, {
26
28
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
27
29
  userId: string | number;
28
30
  name: string;
29
31
  platform: "VINTED" | "SHOPIFY";
30
32
  accountId: string;
33
+ locale?: string | null | undefined;
31
34
  }>>>;
32
35
  }, "strip", z.ZodTypeAny, {
33
36
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -43,6 +46,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
43
46
  name: string;
44
47
  platform: "VINTED" | "SHOPIFY";
45
48
  accountId: string;
49
+ locale?: string | null | undefined;
46
50
  } | null | undefined;
47
51
  }, {
48
52
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -58,6 +62,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
58
62
  name: string;
59
63
  platform: "VINTED" | "SHOPIFY";
60
64
  accountId: string;
65
+ locale?: string | null | undefined;
61
66
  } | null | undefined;
62
67
  }>>>;
63
68
  }, "strip", z.ZodTypeAny, {
@@ -77,6 +82,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
77
82
  name: string;
78
83
  platform: "VINTED" | "SHOPIFY";
79
84
  accountId: string;
85
+ locale?: string | null | undefined;
80
86
  } | null | undefined;
81
87
  } | null | undefined;
82
88
  }, {
@@ -96,6 +102,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
96
102
  name: string;
97
103
  platform: "VINTED" | "SHOPIFY";
98
104
  accountId: string;
105
+ locale?: string | null | undefined;
99
106
  } | null | undefined;
100
107
  } | null | undefined;
101
108
  }>;
@@ -24,6 +24,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
24
24
  accountId: z.ZodString;
25
25
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
26
26
  name: z.ZodString;
27
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
28
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -31,12 +32,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
31
32
  name: string;
32
33
  platform: "VINTED" | "SHOPIFY";
33
34
  accountId: string;
35
+ locale?: string | null | undefined;
34
36
  }, {
35
37
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
36
38
  userId: string | number;
37
39
  name: string;
38
40
  platform: "VINTED" | "SHOPIFY";
39
41
  accountId: string;
42
+ locale?: string | null | undefined;
40
43
  }>>>;
41
44
  }, "strip", z.ZodTypeAny, {
42
45
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -52,6 +55,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
52
55
  name: string;
53
56
  platform: "VINTED" | "SHOPIFY";
54
57
  accountId: string;
58
+ locale?: string | null | undefined;
55
59
  } | null | undefined;
56
60
  }, {
57
61
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -67,6 +71,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
67
71
  name: string;
68
72
  platform: "VINTED" | "SHOPIFY";
69
73
  accountId: string;
74
+ locale?: string | null | undefined;
70
75
  } | null | undefined;
71
76
  }>>>;
72
77
  }, "strip", z.ZodTypeAny, {
@@ -86,6 +91,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
86
91
  name: string;
87
92
  platform: "VINTED" | "SHOPIFY";
88
93
  accountId: string;
94
+ locale?: string | null | undefined;
89
95
  } | null | undefined;
90
96
  } | null | undefined;
91
97
  }, {
@@ -105,6 +111,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
105
111
  name: string;
106
112
  platform: "VINTED" | "SHOPIFY";
107
113
  accountId: string;
114
+ locale?: string | null | undefined;
108
115
  } | null | undefined;
109
116
  } | null | undefined;
110
117
  }>, "many">>>;
@@ -129,6 +136,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
129
136
  name: string;
130
137
  platform: "VINTED" | "SHOPIFY";
131
138
  accountId: string;
139
+ locale?: string | null | undefined;
132
140
  } | null | undefined;
133
141
  } | null | undefined;
134
142
  }[] | null | undefined;
@@ -157,6 +165,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
157
165
  name: string;
158
166
  platform: "VINTED" | "SHOPIFY";
159
167
  accountId: string;
168
+ locale?: string | null | undefined;
160
169
  } | null | undefined;
161
170
  } | null | undefined;
162
171
  }[] | null | undefined;
@@ -604,6 +613,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
604
613
  accountId: z.ZodString;
605
614
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
606
615
  name: z.ZodString;
616
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
607
617
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
608
618
  }, "strip", z.ZodTypeAny, {
609
619
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -611,12 +621,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
611
621
  name: string;
612
622
  platform: "VINTED" | "SHOPIFY";
613
623
  accountId: string;
624
+ locale?: string | null | undefined;
614
625
  }, {
615
626
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
616
627
  userId: string | number;
617
628
  name: string;
618
629
  platform: "VINTED" | "SHOPIFY";
619
630
  accountId: string;
631
+ locale?: string | null | undefined;
620
632
  }>>>;
621
633
  }, "strip", z.ZodTypeAny, {
622
634
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -632,6 +644,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
632
644
  name: string;
633
645
  platform: "VINTED" | "SHOPIFY";
634
646
  accountId: string;
647
+ locale?: string | null | undefined;
635
648
  } | null | undefined;
636
649
  }, {
637
650
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -647,6 +660,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
647
660
  name: string;
648
661
  platform: "VINTED" | "SHOPIFY";
649
662
  accountId: string;
663
+ locale?: string | null | undefined;
650
664
  } | null | undefined;
651
665
  }>, "many">>>;
652
666
  createdAt: z.ZodDate;
@@ -691,6 +705,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
691
705
  name: string;
692
706
  platform: "VINTED" | "SHOPIFY";
693
707
  accountId: string;
708
+ locale?: string | null | undefined;
694
709
  } | null | undefined;
695
710
  }[] | null | undefined;
696
711
  files?: {
@@ -833,6 +848,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
833
848
  name: string;
834
849
  platform: "VINTED" | "SHOPIFY";
835
850
  accountId: string;
851
+ locale?: string | null | undefined;
836
852
  } | null | undefined;
837
853
  }[] | null | undefined;
838
854
  files?: {
@@ -977,6 +993,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
977
993
  name: string;
978
994
  platform: "VINTED" | "SHOPIFY";
979
995
  accountId: string;
996
+ locale?: string | null | undefined;
980
997
  } | null | undefined;
981
998
  }[] | null | undefined;
982
999
  files?: {
@@ -1101,6 +1118,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
1101
1118
  name: string;
1102
1119
  platform: "VINTED" | "SHOPIFY";
1103
1120
  accountId: string;
1121
+ locale?: string | null | undefined;
1104
1122
  } | null | undefined;
1105
1123
  } | null | undefined;
1106
1124
  }[] | null | undefined;
@@ -1150,6 +1168,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
1150
1168
  name: string;
1151
1169
  platform: "VINTED" | "SHOPIFY";
1152
1170
  accountId: string;
1171
+ locale?: string | null | undefined;
1153
1172
  } | null | undefined;
1154
1173
  }[] | null | undefined;
1155
1174
  files?: {
@@ -1274,6 +1293,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
1274
1293
  name: string;
1275
1294
  platform: "VINTED" | "SHOPIFY";
1276
1295
  accountId: string;
1296
+ locale?: string | null | undefined;
1277
1297
  } | null | undefined;
1278
1298
  } | null | undefined;
1279
1299
  }[] | null | undefined;
@@ -439,6 +439,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
439
439
  accountId: z.ZodString;
440
440
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
441
441
  name: z.ZodString;
442
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
443
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
443
444
  }, "strip", z.ZodTypeAny, {
444
445
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -446,12 +447,14 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
446
447
  name: string;
447
448
  platform: "VINTED" | "SHOPIFY";
448
449
  accountId: string;
450
+ locale?: string | null | undefined;
449
451
  }, {
450
452
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
451
453
  userId: string | number;
452
454
  name: string;
453
455
  platform: "VINTED" | "SHOPIFY";
454
456
  accountId: string;
457
+ locale?: string | null | undefined;
455
458
  }>>>;
456
459
  }, "strip", z.ZodTypeAny, {
457
460
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -467,6 +470,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
467
470
  name: string;
468
471
  platform: "VINTED" | "SHOPIFY";
469
472
  accountId: string;
473
+ locale?: string | null | undefined;
470
474
  } | null | undefined;
471
475
  }, {
472
476
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -482,6 +486,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
482
486
  name: string;
483
487
  platform: "VINTED" | "SHOPIFY";
484
488
  accountId: string;
489
+ locale?: string | null | undefined;
485
490
  } | null | undefined;
486
491
  }>, "many">>>;
487
492
  createdAt: z.ZodDate;
@@ -526,6 +531,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
526
531
  name: string;
527
532
  platform: "VINTED" | "SHOPIFY";
528
533
  accountId: string;
534
+ locale?: string | null | undefined;
529
535
  } | null | undefined;
530
536
  }[] | null | undefined;
531
537
  files?: {
@@ -668,6 +674,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
668
674
  name: string;
669
675
  platform: "VINTED" | "SHOPIFY";
670
676
  accountId: string;
677
+ locale?: string | null | undefined;
671
678
  } | null | undefined;
672
679
  }[] | null | undefined;
673
680
  files?: {
@@ -776,6 +783,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
776
783
  accountId: z.ZodString;
777
784
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
778
785
  name: z.ZodString;
786
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
787
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
780
788
  }, "strip", z.ZodTypeAny, {
781
789
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -783,12 +791,14 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
783
791
  name: string;
784
792
  platform: "VINTED" | "SHOPIFY";
785
793
  accountId: string;
794
+ locale?: string | null | undefined;
786
795
  }, {
787
796
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
788
797
  userId: string | number;
789
798
  name: string;
790
799
  platform: "VINTED" | "SHOPIFY";
791
800
  accountId: string;
801
+ locale?: string | null | undefined;
792
802
  }>, "many">>>;
793
803
  }, "strip", z.ZodTypeAny, {
794
804
  items?: {
@@ -831,6 +841,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
831
841
  name: string;
832
842
  platform: "VINTED" | "SHOPIFY";
833
843
  accountId: string;
844
+ locale?: string | null | undefined;
834
845
  } | null | undefined;
835
846
  }[] | null | undefined;
836
847
  files?: {
@@ -940,6 +951,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
940
951
  name: string;
941
952
  platform: "VINTED" | "SHOPIFY";
942
953
  accountId: string;
954
+ locale?: string | null | undefined;
943
955
  }[] | null | undefined;
944
956
  }, {
945
957
  items?: {
@@ -982,6 +994,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
982
994
  name: string;
983
995
  platform: "VINTED" | "SHOPIFY";
984
996
  accountId: string;
997
+ locale?: string | null | undefined;
985
998
  } | null | undefined;
986
999
  }[] | null | undefined;
987
1000
  files?: {
@@ -1091,6 +1104,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
1091
1104
  name: string;
1092
1105
  platform: "VINTED" | "SHOPIFY";
1093
1106
  accountId: string;
1107
+ locale?: string | null | undefined;
1094
1108
  }[] | null | undefined;
1095
1109
  }>;
1096
1110
  export type PreferenceFilter = z.infer<typeof PreferenceFilterSchema>;