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
@@ -222,56 +222,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
222
222
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
223
223
  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"]>;
224
224
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
225
- type: z.ZodLiteral<"EMPTY">;
226
- }, "strip", z.ZodTypeAny, {
227
- type: "EMPTY";
228
- }, {
229
- type: "EMPTY";
230
- }>, z.ZodObject<{
231
- type: z.ZodLiteral<"SCHEDULED">;
232
- data: z.ZodObject<{
233
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
234
- publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
235
- }, "strip", z.ZodTypeAny, {
236
- platform: "VINTED" | "SHOPIFY";
237
- publishingDate?: Date | null | undefined;
238
- }, {
239
- platform: "VINTED" | "SHOPIFY";
240
- publishingDate?: Date | null | undefined;
241
- }>;
242
- }, "strip", z.ZodTypeAny, {
243
- type: "SCHEDULED";
244
- data: {
245
- platform: "VINTED" | "SHOPIFY";
246
- publishingDate?: Date | null | undefined;
247
- };
248
- }, {
249
- type: "SCHEDULED";
250
- data: {
251
- platform: "VINTED" | "SHOPIFY";
252
- publishingDate?: Date | null | undefined;
253
- };
254
- }>, z.ZodObject<{
255
- type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
256
- data: z.ZodObject<{
257
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
258
- }, "strip", z.ZodTypeAny, {
259
- platform: "VINTED" | "SHOPIFY";
260
- }, {
261
- platform: "VINTED" | "SHOPIFY";
262
- }>;
263
- }, "strip", z.ZodTypeAny, {
264
- type: "FAILED_TO_PUBLISH";
265
- data: {
266
- platform: "VINTED" | "SHOPIFY";
267
- };
268
- }, {
269
- type: "FAILED_TO_PUBLISH";
270
- data: {
271
- platform: "VINTED" | "SHOPIFY";
272
- };
273
- }>, z.ZodObject<{
274
- type: z.ZodLiteral<"BUYER_PAID">;
275
225
  data: z.ZodObject<{
276
226
  soldAccountId: z.ZodString;
277
227
  soldOrderId: z.ZodString;
@@ -285,6 +235,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
285
235
  soldOrderId: string;
286
236
  soldConversationId?: string | null | undefined;
287
237
  }>;
238
+ type: z.ZodLiteral<"BUYER_PAID">;
288
239
  }, "strip", z.ZodTypeAny, {
289
240
  type: "BUYER_PAID";
290
241
  data: {
@@ -300,7 +251,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
300
251
  soldConversationId?: string | null | undefined;
301
252
  };
302
253
  }>, z.ZodObject<{
303
- type: z.ZodLiteral<"DELIVERED">;
304
254
  data: z.ZodObject<{
305
255
  soldAccountId: z.ZodString;
306
256
  soldOrderId: z.ZodString;
@@ -314,6 +264,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
314
264
  soldOrderId: string;
315
265
  soldConversationId?: string | null | undefined;
316
266
  }>;
267
+ type: z.ZodLiteral<"DELIVERED">;
317
268
  }, "strip", z.ZodTypeAny, {
318
269
  type: "DELIVERED";
319
270
  data: {
@@ -329,7 +280,31 @@ export declare const UpdatedItemSchema: z.ZodObject<{
329
280
  soldConversationId?: string | null | undefined;
330
281
  };
331
282
  }>, z.ZodObject<{
332
- type: z.ZodLiteral<"REPUBLISHING">;
283
+ type: z.ZodLiteral<"EMPTY">;
284
+ }, "strip", z.ZodTypeAny, {
285
+ type: "EMPTY";
286
+ }, {
287
+ type: "EMPTY";
288
+ }>, z.ZodObject<{
289
+ data: z.ZodObject<{
290
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ platform: "VINTED" | "SHOPIFY";
293
+ }, {
294
+ platform: "VINTED" | "SHOPIFY";
295
+ }>;
296
+ type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
297
+ }, "strip", z.ZodTypeAny, {
298
+ type: "FAILED_TO_PUBLISH";
299
+ data: {
300
+ platform: "VINTED" | "SHOPIFY";
301
+ };
302
+ }, {
303
+ type: "FAILED_TO_PUBLISH";
304
+ data: {
305
+ platform: "VINTED" | "SHOPIFY";
306
+ };
307
+ }>, z.ZodObject<{
333
308
  data: z.ZodObject<{
334
309
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
335
310
  }, "strip", z.ZodTypeAny, {
@@ -337,6 +312,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
337
312
  }, {
338
313
  platform: "VINTED" | "SHOPIFY";
339
314
  }>;
315
+ type: z.ZodLiteral<"REPUBLISHING">;
340
316
  }, "strip", z.ZodTypeAny, {
341
317
  type: "REPUBLISHING";
342
318
  data: {
@@ -347,27 +323,38 @@ export declare const UpdatedItemSchema: z.ZodObject<{
347
323
  data: {
348
324
  platform: "VINTED" | "SHOPIFY";
349
325
  };
350
- }>]>>>;
351
- createdAt: z.ZodDate;
352
- }, "strip", z.ZodTypeAny, {
353
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
354
- id: string;
355
- createdAt: Date;
356
- itemId: string | number;
357
- data?: {
358
- type: "EMPTY";
359
- } | {
326
+ }>, z.ZodObject<{
327
+ data: z.ZodObject<{
328
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
329
+ publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ platform: "VINTED" | "SHOPIFY";
332
+ publishingDate?: Date | null | undefined;
333
+ }, {
334
+ platform: "VINTED" | "SHOPIFY";
335
+ publishingDate?: Date | null | undefined;
336
+ }>;
337
+ type: z.ZodLiteral<"SCHEDULED">;
338
+ }, "strip", z.ZodTypeAny, {
360
339
  type: "SCHEDULED";
361
340
  data: {
362
341
  platform: "VINTED" | "SHOPIFY";
363
342
  publishingDate?: Date | null | undefined;
364
343
  };
365
- } | {
366
- type: "FAILED_TO_PUBLISH";
344
+ }, {
345
+ type: "SCHEDULED";
367
346
  data: {
368
347
  platform: "VINTED" | "SHOPIFY";
348
+ publishingDate?: Date | null | undefined;
369
349
  };
370
- } | {
350
+ }>]>>>;
351
+ createdAt: z.ZodDate;
352
+ }, "strip", z.ZodTypeAny, {
353
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
354
+ id: string;
355
+ createdAt: Date;
356
+ itemId: string | number;
357
+ data?: {
371
358
  type: "BUYER_PAID";
372
359
  data: {
373
360
  soldAccountId: string;
@@ -382,30 +369,30 @@ export declare const UpdatedItemSchema: z.ZodObject<{
382
369
  soldConversationId?: string | null | undefined;
383
370
  };
384
371
  } | {
385
- type: "REPUBLISHING";
372
+ type: "EMPTY";
373
+ } | {
374
+ type: "FAILED_TO_PUBLISH";
386
375
  data: {
387
376
  platform: "VINTED" | "SHOPIFY";
388
377
  };
389
- } | null | undefined;
390
- }, {
391
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
392
- id: string;
393
- createdAt: Date;
394
- itemId: string | number;
395
- data?: {
396
- type: "EMPTY";
397
378
  } | {
398
- type: "SCHEDULED";
379
+ type: "REPUBLISHING";
399
380
  data: {
400
381
  platform: "VINTED" | "SHOPIFY";
401
- publishingDate?: Date | null | undefined;
402
382
  };
403
383
  } | {
404
- type: "FAILED_TO_PUBLISH";
384
+ type: "SCHEDULED";
405
385
  data: {
406
386
  platform: "VINTED" | "SHOPIFY";
387
+ publishingDate?: Date | null | undefined;
407
388
  };
408
- } | {
389
+ } | null | undefined;
390
+ }, {
391
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
392
+ id: string;
393
+ createdAt: Date;
394
+ itemId: string | number;
395
+ data?: {
409
396
  type: "BUYER_PAID";
410
397
  data: {
411
398
  soldAccountId: string;
@@ -419,11 +406,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
419
406
  soldOrderId: string;
420
407
  soldConversationId?: string | null | undefined;
421
408
  };
409
+ } | {
410
+ type: "EMPTY";
411
+ } | {
412
+ type: "FAILED_TO_PUBLISH";
413
+ data: {
414
+ platform: "VINTED" | "SHOPIFY";
415
+ };
422
416
  } | {
423
417
  type: "REPUBLISHING";
424
418
  data: {
425
419
  platform: "VINTED" | "SHOPIFY";
426
420
  };
421
+ } | {
422
+ type: "SCHEDULED";
423
+ data: {
424
+ platform: "VINTED" | "SHOPIFY";
425
+ publishingDate?: Date | null | undefined;
426
+ };
427
427
  } | null | undefined;
428
428
  }>>>;
429
429
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -439,6 +439,7 @@ export declare const UpdatedItemSchema: 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 UpdatedItemSchema: 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 UpdatedItemSchema: 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 UpdatedItemSchema: 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 UpdatedItemSchema: 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?: {
@@ -595,19 +601,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
595
601
  createdAt: Date;
596
602
  itemId: string | number;
597
603
  data?: {
598
- type: "EMPTY";
599
- } | {
600
- type: "SCHEDULED";
601
- data: {
602
- platform: "VINTED" | "SHOPIFY";
603
- publishingDate?: Date | null | undefined;
604
- };
605
- } | {
606
- type: "FAILED_TO_PUBLISH";
607
- data: {
608
- platform: "VINTED" | "SHOPIFY";
609
- };
610
- } | {
611
604
  type: "BUYER_PAID";
612
605
  data: {
613
606
  soldAccountId: string;
@@ -621,11 +614,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
621
614
  soldOrderId: string;
622
615
  soldConversationId?: string | null | undefined;
623
616
  };
617
+ } | {
618
+ type: "EMPTY";
619
+ } | {
620
+ type: "FAILED_TO_PUBLISH";
621
+ data: {
622
+ platform: "VINTED" | "SHOPIFY";
623
+ };
624
624
  } | {
625
625
  type: "REPUBLISHING";
626
626
  data: {
627
627
  platform: "VINTED" | "SHOPIFY";
628
628
  };
629
+ } | {
630
+ type: "SCHEDULED";
631
+ data: {
632
+ platform: "VINTED" | "SHOPIFY";
633
+ publishingDate?: Date | null | undefined;
634
+ };
629
635
  } | null | undefined;
630
636
  } | null | undefined;
631
637
  }, {
@@ -668,6 +674,7 @@ export declare const UpdatedItemSchema: 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?: {
@@ -737,19 +744,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
737
744
  createdAt: Date;
738
745
  itemId: string | number;
739
746
  data?: {
740
- type: "EMPTY";
741
- } | {
742
- type: "SCHEDULED";
743
- data: {
744
- platform: "VINTED" | "SHOPIFY";
745
- publishingDate?: Date | null | undefined;
746
- };
747
- } | {
748
- type: "FAILED_TO_PUBLISH";
749
- data: {
750
- platform: "VINTED" | "SHOPIFY";
751
- };
752
- } | {
753
747
  type: "BUYER_PAID";
754
748
  data: {
755
749
  soldAccountId: string;
@@ -763,11 +757,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
763
757
  soldOrderId: string;
764
758
  soldConversationId?: string | null | undefined;
765
759
  };
760
+ } | {
761
+ type: "EMPTY";
762
+ } | {
763
+ type: "FAILED_TO_PUBLISH";
764
+ data: {
765
+ platform: "VINTED" | "SHOPIFY";
766
+ };
766
767
  } | {
767
768
  type: "REPUBLISHING";
768
769
  data: {
769
770
  platform: "VINTED" | "SHOPIFY";
770
771
  };
772
+ } | {
773
+ type: "SCHEDULED";
774
+ data: {
775
+ platform: "VINTED" | "SHOPIFY";
776
+ publishingDate?: Date | null | undefined;
777
+ };
771
778
  } | null | undefined;
772
779
  } | null | undefined;
773
780
  }>;
@@ -842,6 +849,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
842
849
  name: string;
843
850
  platform: "VINTED" | "SHOPIFY";
844
851
  accountId: string;
852
+ locale?: string | null | undefined;
845
853
  } | null | undefined;
846
854
  }[] | null | undefined;
847
855
  files?: {
@@ -911,19 +919,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
911
919
  createdAt: Date;
912
920
  itemId: string | number;
913
921
  data?: {
914
- type: "EMPTY";
915
- } | {
916
- type: "SCHEDULED";
917
- data: {
918
- platform: "VINTED" | "SHOPIFY";
919
- publishingDate?: Date | null | undefined;
920
- };
921
- } | {
922
- type: "FAILED_TO_PUBLISH";
923
- data: {
924
- platform: "VINTED" | "SHOPIFY";
925
- };
926
- } | {
927
922
  type: "BUYER_PAID";
928
923
  data: {
929
924
  soldAccountId: string;
@@ -937,11 +932,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
937
932
  soldOrderId: string;
938
933
  soldConversationId?: string | null | undefined;
939
934
  };
935
+ } | {
936
+ type: "EMPTY";
937
+ } | {
938
+ type: "FAILED_TO_PUBLISH";
939
+ data: {
940
+ platform: "VINTED" | "SHOPIFY";
941
+ };
940
942
  } | {
941
943
  type: "REPUBLISHING";
942
944
  data: {
943
945
  platform: "VINTED" | "SHOPIFY";
944
946
  };
947
+ } | {
948
+ type: "SCHEDULED";
949
+ data: {
950
+ platform: "VINTED" | "SHOPIFY";
951
+ publishingDate?: Date | null | undefined;
952
+ };
945
953
  } | null | undefined;
946
954
  } | null | undefined;
947
955
  };
@@ -994,6 +1002,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
994
1002
  name: string;
995
1003
  platform: "VINTED" | "SHOPIFY";
996
1004
  accountId: string;
1005
+ locale?: string | null | undefined;
997
1006
  } | null | undefined;
998
1007
  }[] | null | undefined;
999
1008
  files?: {
@@ -1063,19 +1072,6 @@ export declare const UpdatedItemSchema: z.ZodObject<{
1063
1072
  createdAt: Date;
1064
1073
  itemId: string | number;
1065
1074
  data?: {
1066
- type: "EMPTY";
1067
- } | {
1068
- type: "SCHEDULED";
1069
- data: {
1070
- platform: "VINTED" | "SHOPIFY";
1071
- publishingDate?: Date | null | undefined;
1072
- };
1073
- } | {
1074
- type: "FAILED_TO_PUBLISH";
1075
- data: {
1076
- platform: "VINTED" | "SHOPIFY";
1077
- };
1078
- } | {
1079
1075
  type: "BUYER_PAID";
1080
1076
  data: {
1081
1077
  soldAccountId: string;
@@ -1089,11 +1085,24 @@ export declare const UpdatedItemSchema: z.ZodObject<{
1089
1085
  soldOrderId: string;
1090
1086
  soldConversationId?: string | null | undefined;
1091
1087
  };
1088
+ } | {
1089
+ type: "EMPTY";
1090
+ } | {
1091
+ type: "FAILED_TO_PUBLISH";
1092
+ data: {
1093
+ platform: "VINTED" | "SHOPIFY";
1094
+ };
1092
1095
  } | {
1093
1096
  type: "REPUBLISHING";
1094
1097
  data: {
1095
1098
  platform: "VINTED" | "SHOPIFY";
1096
1099
  };
1100
+ } | {
1101
+ type: "SCHEDULED";
1102
+ data: {
1103
+ platform: "VINTED" | "SHOPIFY";
1104
+ publishingDate?: Date | null | undefined;
1105
+ };
1097
1106
  } | null | undefined;
1098
1107
  } | null | undefined;
1099
1108
  };