controlresell 2.2.12 → 2.3.2

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 (81) hide show
  1. package/package.json +2 -2
  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 +139 -130
  7. package/src/com/controlresell/models/items/Item.d.ts +111 -104
  8. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +139 -130
  9. package/src/com/controlresell/models/items/UpdatedItem.d.ts +139 -130
  10. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +71 -71
  11. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +78 -78
  12. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +156 -18
  13. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +32 -26
  14. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +43 -26
  15. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -0
  16. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
  17. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +2 -2
  18. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +4 -4
  19. package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +15 -0
  20. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +5 -0
  21. package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +21 -0
  22. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +6 -0
  23. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.js +4 -0
  24. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.ts +4 -0
  25. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.d.ts +6 -0
  26. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.js +4 -1
  27. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.ts +4 -1
  28. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.d.ts +3 -0
  29. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.js +7 -0
  30. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.ts +6 -0
  31. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +6 -0
  32. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.js +4 -0
  33. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.ts +4 -0
  34. package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +10 -0
  35. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +6 -0
  36. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.js +4 -0
  37. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.ts +4 -0
  38. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +26 -0
  39. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +5 -0
  40. package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -0
  41. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -0
  42. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -0
  43. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +150 -130
  44. package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +9 -0
  45. package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +7 -0
  46. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +150 -130
  47. package/src/com/controlresell/models/preferences/Preference.d.ts +356 -356
  48. package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +144 -130
  49. package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +1121 -1121
  50. package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +815 -815
  51. package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +275 -275
  52. package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +276 -276
  53. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +286 -286
  54. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +31 -31
  55. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +96 -5
  56. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +20 -16
  57. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +27 -16
  58. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +41 -41
  59. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +3476 -41
  60. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +3 -1
  61. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +3 -1
  62. package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +229 -229
  63. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +232 -232
  64. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +541 -83
  65. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js +33 -27
  66. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.ts +44 -27
  67. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +229 -229
  68. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
  69. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
  70. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
  71. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +1 -0
  72. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +1 -0
  73. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -0
  74. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +1 -0
  75. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +1 -0
  76. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +1205 -0
  77. package/src/com/controlresell/models/users/ws/UserWsPayload.js +34 -0
  78. package/src/com/controlresell/models/users/ws/UserWsPayload.ts +43 -0
  79. package/src/index.d.ts +2 -0
  80. package/src/index.js +7 -3
  81. package/src/index.ts +2 -0
@@ -10,6 +10,7 @@ export declare const FavoriteSchema: z.ZodObject<{
10
10
  accountId: z.ZodString;
11
11
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
12
12
  name: z.ZodString;
13
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
14
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
14
15
  }, "strip", z.ZodTypeAny, {
15
16
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -17,12 +18,14 @@ export declare const FavoriteSchema: z.ZodObject<{
17
18
  name: string;
18
19
  platform: "VINTED" | "SHOPIFY";
19
20
  accountId: string;
21
+ locale?: string | null | undefined;
20
22
  }, {
21
23
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
22
24
  userId: string | number;
23
25
  name: string;
24
26
  platform: "VINTED" | "SHOPIFY";
25
27
  accountId: string;
28
+ locale?: string | null | undefined;
26
29
  }>>>;
27
30
  conversation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
31
  id: z.ZodString;
@@ -34,6 +37,7 @@ export declare const FavoriteSchema: z.ZodObject<{
34
37
  accountId: z.ZodString;
35
38
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
36
39
  name: z.ZodString;
40
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
41
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
38
42
  }, "strip", z.ZodTypeAny, {
39
43
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -41,12 +45,14 @@ export declare const FavoriteSchema: z.ZodObject<{
41
45
  name: string;
42
46
  platform: "VINTED" | "SHOPIFY";
43
47
  accountId: string;
48
+ locale?: string | null | undefined;
44
49
  }, {
45
50
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
46
51
  userId: string | number;
47
52
  name: string;
48
53
  platform: "VINTED" | "SHOPIFY";
49
54
  accountId: string;
55
+ locale?: string | null | undefined;
50
56
  }>>>;
51
57
  lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
58
  id: z.ZodString;
@@ -54,6 +60,8 @@ export declare const FavoriteSchema: z.ZodObject<{
54
60
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
61
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
62
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
63
+ status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "SENT"]>;
64
+ associatedPreferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEGOTIATION", "REPUBLISH", "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"]>>>;
57
65
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
66
  createdAt: z.ZodDate;
59
67
  offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -142,6 +150,7 @@ export declare const FavoriteSchema: z.ZodObject<{
142
150
  }>, "many">>>;
143
151
  }, "strip", z.ZodTypeAny, {
144
152
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
153
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
145
154
  id: string;
146
155
  createdAt: Date;
147
156
  conversationId: string;
@@ -169,6 +178,7 @@ export declare const FavoriteSchema: z.ZodObject<{
169
178
  }[] | null | undefined;
170
179
  conversationUserId?: string | null | undefined;
171
180
  platformMessageId?: string | null | undefined;
181
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
172
182
  translation?: {
173
183
  body: string;
174
184
  messageId: string;
@@ -176,6 +186,7 @@ export declare const FavoriteSchema: z.ZodObject<{
176
186
  } | null | undefined;
177
187
  }, {
178
188
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
189
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
179
190
  id: string;
180
191
  createdAt: Date;
181
192
  conversationId: string;
@@ -203,6 +214,7 @@ export declare const FavoriteSchema: z.ZodObject<{
203
214
  }[] | null | undefined;
204
215
  conversationUserId?: string | null | undefined;
205
216
  platformMessageId?: string | null | undefined;
217
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
206
218
  translation?: {
207
219
  body: string;
208
220
  messageId: string;
@@ -281,6 +293,7 @@ export declare const FavoriteSchema: z.ZodObject<{
281
293
  name: string;
282
294
  platform: "VINTED" | "SHOPIFY";
283
295
  accountId: string;
296
+ locale?: string | null | undefined;
284
297
  } | null | undefined;
285
298
  users?: {
286
299
  id: string;
@@ -301,6 +314,7 @@ export declare const FavoriteSchema: z.ZodObject<{
301
314
  }[] | null | undefined;
302
315
  lastMessage?: {
303
316
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
317
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
304
318
  id: string;
305
319
  createdAt: Date;
306
320
  conversationId: string;
@@ -328,6 +342,7 @@ export declare const FavoriteSchema: z.ZodObject<{
328
342
  }[] | null | undefined;
329
343
  conversationUserId?: string | null | undefined;
330
344
  platformMessageId?: string | null | undefined;
345
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
331
346
  translation?: {
332
347
  body: string;
333
348
  messageId: string;
@@ -345,6 +360,7 @@ export declare const FavoriteSchema: z.ZodObject<{
345
360
  name: string;
346
361
  platform: "VINTED" | "SHOPIFY";
347
362
  accountId: string;
363
+ locale?: string | null | undefined;
348
364
  } | null | undefined;
349
365
  users?: {
350
366
  id: string;
@@ -365,6 +381,7 @@ export declare const FavoriteSchema: z.ZodObject<{
365
381
  }[] | null | undefined;
366
382
  lastMessage?: {
367
383
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
384
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
368
385
  id: string;
369
386
  createdAt: Date;
370
387
  conversationId: string;
@@ -392,6 +409,7 @@ export declare const FavoriteSchema: z.ZodObject<{
392
409
  }[] | null | undefined;
393
410
  conversationUserId?: string | null | undefined;
394
411
  platformMessageId?: string | null | undefined;
412
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
395
413
  translation?: {
396
414
  body: string;
397
415
  messageId: string;
@@ -410,6 +428,7 @@ export declare const FavoriteSchema: z.ZodObject<{
410
428
  name: string;
411
429
  platform: "VINTED" | "SHOPIFY";
412
430
  accountId: string;
431
+ locale?: string | null | undefined;
413
432
  } | null | undefined;
414
433
  conversationId?: string | null | undefined;
415
434
  conversation?: {
@@ -423,6 +442,7 @@ export declare const FavoriteSchema: z.ZodObject<{
423
442
  name: string;
424
443
  platform: "VINTED" | "SHOPIFY";
425
444
  accountId: string;
445
+ locale?: string | null | undefined;
426
446
  } | null | undefined;
427
447
  users?: {
428
448
  id: string;
@@ -443,6 +463,7 @@ export declare const FavoriteSchema: z.ZodObject<{
443
463
  }[] | null | undefined;
444
464
  lastMessage?: {
445
465
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
466
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
446
467
  id: string;
447
468
  createdAt: Date;
448
469
  conversationId: string;
@@ -470,6 +491,7 @@ export declare const FavoriteSchema: z.ZodObject<{
470
491
  }[] | null | undefined;
471
492
  conversationUserId?: string | null | undefined;
472
493
  platformMessageId?: string | null | undefined;
494
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
473
495
  translation?: {
474
496
  body: string;
475
497
  messageId: string;
@@ -488,6 +510,7 @@ export declare const FavoriteSchema: z.ZodObject<{
488
510
  name: string;
489
511
  platform: "VINTED" | "SHOPIFY";
490
512
  accountId: string;
513
+ locale?: string | null | undefined;
491
514
  } | null | undefined;
492
515
  conversationId?: string | null | undefined;
493
516
  conversation?: {
@@ -501,6 +524,7 @@ export declare const FavoriteSchema: z.ZodObject<{
501
524
  name: string;
502
525
  platform: "VINTED" | "SHOPIFY";
503
526
  accountId: string;
527
+ locale?: string | null | undefined;
504
528
  } | null | undefined;
505
529
  users?: {
506
530
  id: string;
@@ -521,6 +545,7 @@ export declare const FavoriteSchema: z.ZodObject<{
521
545
  }[] | null | undefined;
522
546
  lastMessage?: {
523
547
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
548
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
524
549
  id: string;
525
550
  createdAt: Date;
526
551
  conversationId: string;
@@ -548,6 +573,7 @@ export declare const FavoriteSchema: z.ZodObject<{
548
573
  }[] | null | undefined;
549
574
  conversationUserId?: string | null | undefined;
550
575
  platformMessageId?: string | null | undefined;
576
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "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" | null | undefined;
551
577
  translation?: {
552
578
  body: string;
553
579
  messageId: string;
@@ -12,6 +12,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
12
12
  accountId: z.ZodString;
13
13
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
14
14
  name: z.ZodString;
15
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
16
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
16
17
  }, "strip", z.ZodTypeAny, {
17
18
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -19,12 +20,14 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
19
20
  name: string;
20
21
  platform: "VINTED" | "SHOPIFY";
21
22
  accountId: string;
23
+ locale?: string | null | undefined;
22
24
  }, {
23
25
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
24
26
  userId: string | number;
25
27
  name: string;
26
28
  platform: "VINTED" | "SHOPIFY";
27
29
  accountId: string;
30
+ locale?: string | null | undefined;
28
31
  }>;
29
32
  }, "strip", z.ZodTypeAny, {
30
33
  account: {
@@ -33,6 +36,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
33
36
  name: string;
34
37
  platform: "VINTED" | "SHOPIFY";
35
38
  accountId: string;
39
+ locale?: string | null | undefined;
36
40
  };
37
41
  favorite: {
38
42
  conversationId: string;
@@ -44,6 +48,7 @@ export declare const FavoriteOnPlatformUpdateRequestSchema: z.ZodObject<{
44
48
  name: string;
45
49
  platform: "VINTED" | "SHOPIFY";
46
50
  accountId: string;
51
+ locale?: string | null | undefined;
47
52
  };
48
53
  favorite: {
49
54
  conversationId: string;
@@ -24,6 +24,7 @@ export declare const OrderSchema: 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 OrderSchema: 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 OrderSchema: 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 OrderSchema: 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 OrderSchema: 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 OrderSchema: 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">>>;
@@ -214,6 +221,7 @@ export declare const OrderSchema: z.ZodObject<{
214
221
  name: string;
215
222
  platform: "VINTED" | "SHOPIFY";
216
223
  accountId: string;
224
+ locale?: string | null | undefined;
217
225
  } | null | undefined;
218
226
  } | null | undefined;
219
227
  }[] | null | undefined;
@@ -263,6 +271,7 @@ export declare const OrderSchema: z.ZodObject<{
263
271
  name: string;
264
272
  platform: "VINTED" | "SHOPIFY";
265
273
  accountId: string;
274
+ locale?: string | null | undefined;
266
275
  } | null | undefined;
267
276
  } | null | undefined;
268
277
  }[] | null | undefined;
@@ -30,6 +30,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
30
30
  accountId: z.ZodString;
31
31
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
32
32
  name: z.ZodString;
33
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
34
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
34
35
  }, "strip", z.ZodTypeAny, {
35
36
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -37,12 +38,14 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
37
38
  name: string;
38
39
  platform: "VINTED" | "SHOPIFY";
39
40
  accountId: string;
41
+ locale?: string | null | undefined;
40
42
  }, {
41
43
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
42
44
  userId: string | number;
43
45
  name: string;
44
46
  platform: "VINTED" | "SHOPIFY";
45
47
  accountId: string;
48
+ locale?: string | null | undefined;
46
49
  }>;
47
50
  }, "strip", z.ZodTypeAny, {
48
51
  account: {
@@ -51,6 +54,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
51
54
  name: string;
52
55
  platform: "VINTED" | "SHOPIFY";
53
56
  accountId: string;
57
+ locale?: string | null | undefined;
54
58
  };
55
59
  order: {
56
60
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELLED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -68,6 +72,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
68
72
  name: string;
69
73
  platform: "VINTED" | "SHOPIFY";
70
74
  accountId: string;
75
+ locale?: string | null | undefined;
71
76
  };
72
77
  order: {
73
78
  status: "PAYMENT_VALIDATED" | "ORDER_CANCELLED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
@@ -15,6 +15,7 @@ export declare const ItemInOrderSchema: 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 ItemInOrderSchema: 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 ItemInOrderSchema: 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 ItemInOrderSchema: 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 ItemInOrderSchema: 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 ItemInOrderSchema: 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
  }>;