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
@@ -221,56 +221,6 @@ export declare const ItemSchema: z.ZodObject<{
221
221
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
222
222
  type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
223
223
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
224
- type: z.ZodLiteral<"EMPTY">;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "EMPTY";
227
- }, {
228
- type: "EMPTY";
229
- }>, z.ZodObject<{
230
- type: z.ZodLiteral<"SCHEDULED">;
231
- data: z.ZodObject<{
232
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
233
- publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
234
- }, "strip", z.ZodTypeAny, {
235
- platform: "VINTED" | "SHOPIFY";
236
- publishingDate?: Date | null | undefined;
237
- }, {
238
- platform: "VINTED" | "SHOPIFY";
239
- publishingDate?: Date | null | undefined;
240
- }>;
241
- }, "strip", z.ZodTypeAny, {
242
- type: "SCHEDULED";
243
- data: {
244
- platform: "VINTED" | "SHOPIFY";
245
- publishingDate?: Date | null | undefined;
246
- };
247
- }, {
248
- type: "SCHEDULED";
249
- data: {
250
- platform: "VINTED" | "SHOPIFY";
251
- publishingDate?: Date | null | undefined;
252
- };
253
- }>, z.ZodObject<{
254
- type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
255
- data: z.ZodObject<{
256
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
257
- }, "strip", z.ZodTypeAny, {
258
- platform: "VINTED" | "SHOPIFY";
259
- }, {
260
- platform: "VINTED" | "SHOPIFY";
261
- }>;
262
- }, "strip", z.ZodTypeAny, {
263
- type: "FAILED_TO_PUBLISH";
264
- data: {
265
- platform: "VINTED" | "SHOPIFY";
266
- };
267
- }, {
268
- type: "FAILED_TO_PUBLISH";
269
- data: {
270
- platform: "VINTED" | "SHOPIFY";
271
- };
272
- }>, z.ZodObject<{
273
- type: z.ZodLiteral<"BUYER_PAID">;
274
224
  data: z.ZodObject<{
275
225
  soldAccountId: z.ZodString;
276
226
  soldOrderId: z.ZodString;
@@ -284,6 +234,7 @@ export declare const ItemSchema: z.ZodObject<{
284
234
  soldOrderId: string;
285
235
  soldConversationId?: string | null | undefined;
286
236
  }>;
237
+ type: z.ZodLiteral<"BUYER_PAID">;
287
238
  }, "strip", z.ZodTypeAny, {
288
239
  type: "BUYER_PAID";
289
240
  data: {
@@ -299,7 +250,6 @@ export declare const ItemSchema: z.ZodObject<{
299
250
  soldConversationId?: string | null | undefined;
300
251
  };
301
252
  }>, z.ZodObject<{
302
- type: z.ZodLiteral<"DELIVERED">;
303
253
  data: z.ZodObject<{
304
254
  soldAccountId: z.ZodString;
305
255
  soldOrderId: z.ZodString;
@@ -313,6 +263,7 @@ export declare const ItemSchema: z.ZodObject<{
313
263
  soldOrderId: string;
314
264
  soldConversationId?: string | null | undefined;
315
265
  }>;
266
+ type: z.ZodLiteral<"DELIVERED">;
316
267
  }, "strip", z.ZodTypeAny, {
317
268
  type: "DELIVERED";
318
269
  data: {
@@ -328,7 +279,31 @@ export declare const ItemSchema: z.ZodObject<{
328
279
  soldConversationId?: string | null | undefined;
329
280
  };
330
281
  }>, z.ZodObject<{
331
- type: z.ZodLiteral<"REPUBLISHING">;
282
+ type: z.ZodLiteral<"EMPTY">;
283
+ }, "strip", z.ZodTypeAny, {
284
+ type: "EMPTY";
285
+ }, {
286
+ type: "EMPTY";
287
+ }>, z.ZodObject<{
288
+ data: z.ZodObject<{
289
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ platform: "VINTED" | "SHOPIFY";
292
+ }, {
293
+ platform: "VINTED" | "SHOPIFY";
294
+ }>;
295
+ type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
296
+ }, "strip", z.ZodTypeAny, {
297
+ type: "FAILED_TO_PUBLISH";
298
+ data: {
299
+ platform: "VINTED" | "SHOPIFY";
300
+ };
301
+ }, {
302
+ type: "FAILED_TO_PUBLISH";
303
+ data: {
304
+ platform: "VINTED" | "SHOPIFY";
305
+ };
306
+ }>, z.ZodObject<{
332
307
  data: z.ZodObject<{
333
308
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
334
309
  }, "strip", z.ZodTypeAny, {
@@ -336,6 +311,7 @@ export declare const ItemSchema: z.ZodObject<{
336
311
  }, {
337
312
  platform: "VINTED" | "SHOPIFY";
338
313
  }>;
314
+ type: z.ZodLiteral<"REPUBLISHING">;
339
315
  }, "strip", z.ZodTypeAny, {
340
316
  type: "REPUBLISHING";
341
317
  data: {
@@ -346,27 +322,38 @@ export declare const ItemSchema: z.ZodObject<{
346
322
  data: {
347
323
  platform: "VINTED" | "SHOPIFY";
348
324
  };
349
- }>]>>>;
350
- createdAt: z.ZodDate;
351
- }, "strip", z.ZodTypeAny, {
352
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
353
- id: string;
354
- createdAt: Date;
355
- itemId: string | number;
356
- data?: {
357
- type: "EMPTY";
358
- } | {
325
+ }>, z.ZodObject<{
326
+ data: z.ZodObject<{
327
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
328
+ publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ platform: "VINTED" | "SHOPIFY";
331
+ publishingDate?: Date | null | undefined;
332
+ }, {
333
+ platform: "VINTED" | "SHOPIFY";
334
+ publishingDate?: Date | null | undefined;
335
+ }>;
336
+ type: z.ZodLiteral<"SCHEDULED">;
337
+ }, "strip", z.ZodTypeAny, {
359
338
  type: "SCHEDULED";
360
339
  data: {
361
340
  platform: "VINTED" | "SHOPIFY";
362
341
  publishingDate?: Date | null | undefined;
363
342
  };
364
- } | {
365
- type: "FAILED_TO_PUBLISH";
343
+ }, {
344
+ type: "SCHEDULED";
366
345
  data: {
367
346
  platform: "VINTED" | "SHOPIFY";
347
+ publishingDate?: Date | null | undefined;
368
348
  };
369
- } | {
349
+ }>]>>>;
350
+ createdAt: z.ZodDate;
351
+ }, "strip", z.ZodTypeAny, {
352
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
353
+ id: string;
354
+ createdAt: Date;
355
+ itemId: string | number;
356
+ data?: {
370
357
  type: "BUYER_PAID";
371
358
  data: {
372
359
  soldAccountId: string;
@@ -381,30 +368,30 @@ export declare const ItemSchema: z.ZodObject<{
381
368
  soldConversationId?: string | null | undefined;
382
369
  };
383
370
  } | {
384
- type: "REPUBLISHING";
371
+ type: "EMPTY";
372
+ } | {
373
+ type: "FAILED_TO_PUBLISH";
385
374
  data: {
386
375
  platform: "VINTED" | "SHOPIFY";
387
376
  };
388
- } | null | undefined;
389
- }, {
390
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
391
- id: string;
392
- createdAt: Date;
393
- itemId: string | number;
394
- data?: {
395
- type: "EMPTY";
396
377
  } | {
397
- type: "SCHEDULED";
378
+ type: "REPUBLISHING";
398
379
  data: {
399
380
  platform: "VINTED" | "SHOPIFY";
400
- publishingDate?: Date | null | undefined;
401
381
  };
402
382
  } | {
403
- type: "FAILED_TO_PUBLISH";
383
+ type: "SCHEDULED";
404
384
  data: {
405
385
  platform: "VINTED" | "SHOPIFY";
386
+ publishingDate?: Date | null | undefined;
406
387
  };
407
- } | {
388
+ } | null | undefined;
389
+ }, {
390
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
391
+ id: string;
392
+ createdAt: Date;
393
+ itemId: string | number;
394
+ data?: {
408
395
  type: "BUYER_PAID";
409
396
  data: {
410
397
  soldAccountId: string;
@@ -418,11 +405,24 @@ export declare const ItemSchema: z.ZodObject<{
418
405
  soldOrderId: string;
419
406
  soldConversationId?: string | null | undefined;
420
407
  };
408
+ } | {
409
+ type: "EMPTY";
410
+ } | {
411
+ type: "FAILED_TO_PUBLISH";
412
+ data: {
413
+ platform: "VINTED" | "SHOPIFY";
414
+ };
421
415
  } | {
422
416
  type: "REPUBLISHING";
423
417
  data: {
424
418
  platform: "VINTED" | "SHOPIFY";
425
419
  };
420
+ } | {
421
+ type: "SCHEDULED";
422
+ data: {
423
+ platform: "VINTED" | "SHOPIFY";
424
+ publishingDate?: Date | null | undefined;
425
+ };
426
426
  } | null | undefined;
427
427
  }>>>;
428
428
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -438,6 +438,7 @@ export declare const ItemSchema: z.ZodObject<{
438
438
  accountId: z.ZodString;
439
439
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
440
440
  name: z.ZodString;
441
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
442
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
442
443
  }, "strip", z.ZodTypeAny, {
443
444
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -445,12 +446,14 @@ export declare const ItemSchema: z.ZodObject<{
445
446
  name: string;
446
447
  platform: "VINTED" | "SHOPIFY";
447
448
  accountId: string;
449
+ locale?: string | null | undefined;
448
450
  }, {
449
451
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
450
452
  userId: string | number;
451
453
  name: string;
452
454
  platform: "VINTED" | "SHOPIFY";
453
455
  accountId: string;
456
+ locale?: string | null | undefined;
454
457
  }>>>;
455
458
  }, "strip", z.ZodTypeAny, {
456
459
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -466,6 +469,7 @@ export declare const ItemSchema: z.ZodObject<{
466
469
  name: string;
467
470
  platform: "VINTED" | "SHOPIFY";
468
471
  accountId: string;
472
+ locale?: string | null | undefined;
469
473
  } | null | undefined;
470
474
  }, {
471
475
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -481,6 +485,7 @@ export declare const ItemSchema: z.ZodObject<{
481
485
  name: string;
482
486
  platform: "VINTED" | "SHOPIFY";
483
487
  accountId: string;
488
+ locale?: string | null | undefined;
484
489
  } | null | undefined;
485
490
  }>, "many">>>;
486
491
  createdAt: z.ZodDate;
@@ -525,6 +530,7 @@ export declare const ItemSchema: z.ZodObject<{
525
530
  name: string;
526
531
  platform: "VINTED" | "SHOPIFY";
527
532
  accountId: string;
533
+ locale?: string | null | undefined;
528
534
  } | null | undefined;
529
535
  }[] | null | undefined;
530
536
  files?: {
@@ -594,19 +600,6 @@ export declare const ItemSchema: z.ZodObject<{
594
600
  createdAt: Date;
595
601
  itemId: string | number;
596
602
  data?: {
597
- type: "EMPTY";
598
- } | {
599
- type: "SCHEDULED";
600
- data: {
601
- platform: "VINTED" | "SHOPIFY";
602
- publishingDate?: Date | null | undefined;
603
- };
604
- } | {
605
- type: "FAILED_TO_PUBLISH";
606
- data: {
607
- platform: "VINTED" | "SHOPIFY";
608
- };
609
- } | {
610
603
  type: "BUYER_PAID";
611
604
  data: {
612
605
  soldAccountId: string;
@@ -620,11 +613,24 @@ export declare const ItemSchema: z.ZodObject<{
620
613
  soldOrderId: string;
621
614
  soldConversationId?: string | null | undefined;
622
615
  };
616
+ } | {
617
+ type: "EMPTY";
618
+ } | {
619
+ type: "FAILED_TO_PUBLISH";
620
+ data: {
621
+ platform: "VINTED" | "SHOPIFY";
622
+ };
623
623
  } | {
624
624
  type: "REPUBLISHING";
625
625
  data: {
626
626
  platform: "VINTED" | "SHOPIFY";
627
627
  };
628
+ } | {
629
+ type: "SCHEDULED";
630
+ data: {
631
+ platform: "VINTED" | "SHOPIFY";
632
+ publishingDate?: Date | null | undefined;
633
+ };
628
634
  } | null | undefined;
629
635
  } | null | undefined;
630
636
  }, {
@@ -667,6 +673,7 @@ export declare const ItemSchema: z.ZodObject<{
667
673
  name: string;
668
674
  platform: "VINTED" | "SHOPIFY";
669
675
  accountId: string;
676
+ locale?: string | null | undefined;
670
677
  } | null | undefined;
671
678
  }[] | null | undefined;
672
679
  files?: {
@@ -736,19 +743,6 @@ export declare const ItemSchema: z.ZodObject<{
736
743
  createdAt: Date;
737
744
  itemId: string | number;
738
745
  data?: {
739
- type: "EMPTY";
740
- } | {
741
- type: "SCHEDULED";
742
- data: {
743
- platform: "VINTED" | "SHOPIFY";
744
- publishingDate?: Date | null | undefined;
745
- };
746
- } | {
747
- type: "FAILED_TO_PUBLISH";
748
- data: {
749
- platform: "VINTED" | "SHOPIFY";
750
- };
751
- } | {
752
746
  type: "BUYER_PAID";
753
747
  data: {
754
748
  soldAccountId: string;
@@ -762,11 +756,24 @@ export declare const ItemSchema: z.ZodObject<{
762
756
  soldOrderId: string;
763
757
  soldConversationId?: string | null | undefined;
764
758
  };
759
+ } | {
760
+ type: "EMPTY";
761
+ } | {
762
+ type: "FAILED_TO_PUBLISH";
763
+ data: {
764
+ platform: "VINTED" | "SHOPIFY";
765
+ };
765
766
  } | {
766
767
  type: "REPUBLISHING";
767
768
  data: {
768
769
  platform: "VINTED" | "SHOPIFY";
769
770
  };
771
+ } | {
772
+ type: "SCHEDULED";
773
+ data: {
774
+ platform: "VINTED" | "SHOPIFY";
775
+ publishingDate?: Date | null | undefined;
776
+ };
770
777
  } | null | undefined;
771
778
  } | null | undefined;
772
779
  }>;