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
@@ -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
  }>;
@@ -25,6 +25,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
25
25
  accountId: z.ZodString;
26
26
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
27
27
  name: z.ZodString;
28
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
29
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
29
30
  }, "strip", z.ZodTypeAny, {
30
31
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -32,12 +33,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
32
33
  name: string;
33
34
  platform: "VINTED" | "SHOPIFY";
34
35
  accountId: string;
36
+ locale?: string | null | undefined;
35
37
  }, {
36
38
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
37
39
  userId: string | number;
38
40
  name: string;
39
41
  platform: "VINTED" | "SHOPIFY";
40
42
  accountId: string;
43
+ locale?: string | null | undefined;
41
44
  }>>>;
42
45
  }, "strip", z.ZodTypeAny, {
43
46
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -53,6 +56,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
53
56
  name: string;
54
57
  platform: "VINTED" | "SHOPIFY";
55
58
  accountId: string;
59
+ locale?: string | null | undefined;
56
60
  } | null | undefined;
57
61
  }, {
58
62
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -68,6 +72,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
68
72
  name: string;
69
73
  platform: "VINTED" | "SHOPIFY";
70
74
  accountId: string;
75
+ locale?: string | null | undefined;
71
76
  } | null | undefined;
72
77
  }>>>;
73
78
  }, "strip", z.ZodTypeAny, {
@@ -87,6 +92,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
87
92
  name: string;
88
93
  platform: "VINTED" | "SHOPIFY";
89
94
  accountId: string;
95
+ locale?: string | null | undefined;
90
96
  } | null | undefined;
91
97
  } | null | undefined;
92
98
  }, {
@@ -106,6 +112,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
106
112
  name: string;
107
113
  platform: "VINTED" | "SHOPIFY";
108
114
  accountId: string;
115
+ locale?: string | null | undefined;
109
116
  } | null | undefined;
110
117
  } | null | undefined;
111
118
  }>, "many">>>;
@@ -215,6 +222,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
215
222
  name: string;
216
223
  platform: "VINTED" | "SHOPIFY";
217
224
  accountId: string;
225
+ locale?: string | null | undefined;
218
226
  } | null | undefined;
219
227
  } | null | undefined;
220
228
  }[] | null | undefined;
@@ -264,6 +272,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
264
272
  name: string;
265
273
  platform: "VINTED" | "SHOPIFY";
266
274
  accountId: string;
275
+ locale?: string | null | undefined;
267
276
  } | null | undefined;
268
277
  } | null | undefined;
269
278
  }[] | null | undefined;
@@ -729,6 +738,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
729
738
  accountId: z.ZodString;
730
739
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
731
740
  name: z.ZodString;
741
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
742
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
733
743
  }, "strip", z.ZodTypeAny, {
734
744
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -736,12 +746,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
736
746
  name: string;
737
747
  platform: "VINTED" | "SHOPIFY";
738
748
  accountId: string;
749
+ locale?: string | null | undefined;
739
750
  }, {
740
751
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
741
752
  userId: string | number;
742
753
  name: string;
743
754
  platform: "VINTED" | "SHOPIFY";
744
755
  accountId: string;
756
+ locale?: string | null | undefined;
745
757
  }>>>;
746
758
  }, "strip", z.ZodTypeAny, {
747
759
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -757,6 +769,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
757
769
  name: string;
758
770
  platform: "VINTED" | "SHOPIFY";
759
771
  accountId: string;
772
+ locale?: string | null | undefined;
760
773
  } | null | undefined;
761
774
  }, {
762
775
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -772,6 +785,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
772
785
  name: string;
773
786
  platform: "VINTED" | "SHOPIFY";
774
787
  accountId: string;
788
+ locale?: string | null | undefined;
775
789
  } | null | undefined;
776
790
  }>, "many">>>;
777
791
  createdAt: z.ZodDate;
@@ -816,6 +830,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
816
830
  name: string;
817
831
  platform: "VINTED" | "SHOPIFY";
818
832
  accountId: string;
833
+ locale?: string | null | undefined;
819
834
  } | null | undefined;
820
835
  }[] | null | undefined;
821
836
  files?: {
@@ -958,6 +973,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
958
973
  name: string;
959
974
  platform: "VINTED" | "SHOPIFY";
960
975
  accountId: string;
976
+ locale?: string | null | undefined;
961
977
  } | null | undefined;
962
978
  }[] | null | undefined;
963
979
  files?: {
@@ -1102,6 +1118,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1102
1118
  name: string;
1103
1119
  platform: "VINTED" | "SHOPIFY";
1104
1120
  accountId: string;
1121
+ locale?: string | null | undefined;
1105
1122
  } | null | undefined;
1106
1123
  }[] | null | undefined;
1107
1124
  files?: {
@@ -1229,6 +1246,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1229
1246
  name: string;
1230
1247
  platform: "VINTED" | "SHOPIFY";
1231
1248
  accountId: string;
1249
+ locale?: string | null | undefined;
1232
1250
  } | null | undefined;
1233
1251
  } | null | undefined;
1234
1252
  }[] | null | undefined;
@@ -1296,6 +1314,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1296
1314
  name: string;
1297
1315
  platform: "VINTED" | "SHOPIFY";
1298
1316
  accountId: string;
1317
+ locale?: string | null | undefined;
1299
1318
  } | null | undefined;
1300
1319
  }[] | null | undefined;
1301
1320
  files?: {
@@ -1423,6 +1442,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1423
1442
  name: string;
1424
1443
  platform: "VINTED" | "SHOPIFY";
1425
1444
  accountId: string;
1445
+ locale?: string | null | undefined;
1426
1446
  } | null | undefined;
1427
1447
  } | null | undefined;
1428
1448
  }[] | null | undefined;
@@ -23,6 +23,7 @@ export declare const TransactionSchema: z.ZodObject<{
23
23
  accountId: z.ZodString;
24
24
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
25
25
  name: z.ZodString;
26
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
27
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
27
28
  }, "strip", z.ZodTypeAny, {
28
29
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -30,12 +31,14 @@ export declare const TransactionSchema: z.ZodObject<{
30
31
  name: string;
31
32
  platform: "VINTED" | "SHOPIFY";
32
33
  accountId: string;
34
+ locale?: string | null | undefined;
33
35
  }, {
34
36
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
35
37
  userId: string | number;
36
38
  name: string;
37
39
  platform: "VINTED" | "SHOPIFY";
38
40
  accountId: string;
41
+ locale?: string | null | undefined;
39
42
  }>>>;
40
43
  }, "strip", z.ZodTypeAny, {
41
44
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -51,6 +54,7 @@ export declare const TransactionSchema: z.ZodObject<{
51
54
  name: string;
52
55
  platform: "VINTED" | "SHOPIFY";
53
56
  accountId: string;
57
+ locale?: string | null | undefined;
54
58
  } | null | undefined;
55
59
  }, {
56
60
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -66,6 +70,7 @@ export declare const TransactionSchema: z.ZodObject<{
66
70
  name: string;
67
71
  platform: "VINTED" | "SHOPIFY";
68
72
  accountId: string;
73
+ locale?: string | null | undefined;
69
74
  } | null | undefined;
70
75
  }>>>;
71
76
  }, "strip", z.ZodTypeAny, {
@@ -85,6 +90,7 @@ export declare const TransactionSchema: z.ZodObject<{
85
90
  name: string;
86
91
  platform: "VINTED" | "SHOPIFY";
87
92
  accountId: string;
93
+ locale?: string | null | undefined;
88
94
  } | null | undefined;
89
95
  } | null | undefined;
90
96
  }, {
@@ -104,6 +110,7 @@ export declare const TransactionSchema: z.ZodObject<{
104
110
  name: string;
105
111
  platform: "VINTED" | "SHOPIFY";
106
112
  accountId: string;
113
+ locale?: string | null | undefined;
107
114
  } | null | undefined;
108
115
  } | null | undefined;
109
116
  }>, "many">>>;
@@ -128,6 +135,7 @@ export declare const TransactionSchema: z.ZodObject<{
128
135
  name: string;
129
136
  platform: "VINTED" | "SHOPIFY";
130
137
  accountId: string;
138
+ locale?: string | null | undefined;
131
139
  } | null | undefined;
132
140
  } | null | undefined;
133
141
  }[] | null | undefined;
@@ -156,6 +164,7 @@ export declare const TransactionSchema: z.ZodObject<{
156
164
  name: string;
157
165
  platform: "VINTED" | "SHOPIFY";
158
166
  accountId: string;
167
+ locale?: string | null | undefined;
159
168
  } | null | undefined;
160
169
  } | null | undefined;
161
170
  }[] | null | undefined;