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
@@ -224,56 +224,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
224
224
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
225
225
  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"]>;
226
226
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
227
- type: z.ZodLiteral<"EMPTY">;
228
- }, "strip", z.ZodTypeAny, {
229
- type: "EMPTY";
230
- }, {
231
- type: "EMPTY";
232
- }>, z.ZodObject<{
233
- type: z.ZodLiteral<"SCHEDULED">;
234
- data: z.ZodObject<{
235
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
236
- publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
237
- }, "strip", z.ZodTypeAny, {
238
- platform: "VINTED" | "SHOPIFY";
239
- publishingDate?: Date | null | undefined;
240
- }, {
241
- platform: "VINTED" | "SHOPIFY";
242
- publishingDate?: Date | null | undefined;
243
- }>;
244
- }, "strip", z.ZodTypeAny, {
245
- type: "SCHEDULED";
246
- data: {
247
- platform: "VINTED" | "SHOPIFY";
248
- publishingDate?: Date | null | undefined;
249
- };
250
- }, {
251
- type: "SCHEDULED";
252
- data: {
253
- platform: "VINTED" | "SHOPIFY";
254
- publishingDate?: Date | null | undefined;
255
- };
256
- }>, z.ZodObject<{
257
- type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
258
- data: z.ZodObject<{
259
- platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
260
- }, "strip", z.ZodTypeAny, {
261
- platform: "VINTED" | "SHOPIFY";
262
- }, {
263
- platform: "VINTED" | "SHOPIFY";
264
- }>;
265
- }, "strip", z.ZodTypeAny, {
266
- type: "FAILED_TO_PUBLISH";
267
- data: {
268
- platform: "VINTED" | "SHOPIFY";
269
- };
270
- }, {
271
- type: "FAILED_TO_PUBLISH";
272
- data: {
273
- platform: "VINTED" | "SHOPIFY";
274
- };
275
- }>, z.ZodObject<{
276
- type: z.ZodLiteral<"BUYER_PAID">;
277
227
  data: z.ZodObject<{
278
228
  soldAccountId: z.ZodString;
279
229
  soldOrderId: z.ZodString;
@@ -287,6 +237,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
287
237
  soldOrderId: string;
288
238
  soldConversationId?: string | null | undefined;
289
239
  }>;
240
+ type: z.ZodLiteral<"BUYER_PAID">;
290
241
  }, "strip", z.ZodTypeAny, {
291
242
  type: "BUYER_PAID";
292
243
  data: {
@@ -302,7 +253,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
302
253
  soldConversationId?: string | null | undefined;
303
254
  };
304
255
  }>, z.ZodObject<{
305
- type: z.ZodLiteral<"DELIVERED">;
306
256
  data: z.ZodObject<{
307
257
  soldAccountId: z.ZodString;
308
258
  soldOrderId: z.ZodString;
@@ -316,6 +266,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
316
266
  soldOrderId: string;
317
267
  soldConversationId?: string | null | undefined;
318
268
  }>;
269
+ type: z.ZodLiteral<"DELIVERED">;
319
270
  }, "strip", z.ZodTypeAny, {
320
271
  type: "DELIVERED";
321
272
  data: {
@@ -331,7 +282,31 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
331
282
  soldConversationId?: string | null | undefined;
332
283
  };
333
284
  }>, z.ZodObject<{
334
- type: z.ZodLiteral<"REPUBLISHING">;
285
+ type: z.ZodLiteral<"EMPTY">;
286
+ }, "strip", z.ZodTypeAny, {
287
+ type: "EMPTY";
288
+ }, {
289
+ type: "EMPTY";
290
+ }>, z.ZodObject<{
291
+ data: z.ZodObject<{
292
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ platform: "VINTED" | "SHOPIFY";
295
+ }, {
296
+ platform: "VINTED" | "SHOPIFY";
297
+ }>;
298
+ type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
299
+ }, "strip", z.ZodTypeAny, {
300
+ type: "FAILED_TO_PUBLISH";
301
+ data: {
302
+ platform: "VINTED" | "SHOPIFY";
303
+ };
304
+ }, {
305
+ type: "FAILED_TO_PUBLISH";
306
+ data: {
307
+ platform: "VINTED" | "SHOPIFY";
308
+ };
309
+ }>, z.ZodObject<{
335
310
  data: z.ZodObject<{
336
311
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
337
312
  }, "strip", z.ZodTypeAny, {
@@ -339,6 +314,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
339
314
  }, {
340
315
  platform: "VINTED" | "SHOPIFY";
341
316
  }>;
317
+ type: z.ZodLiteral<"REPUBLISHING">;
342
318
  }, "strip", z.ZodTypeAny, {
343
319
  type: "REPUBLISHING";
344
320
  data: {
@@ -349,27 +325,38 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
349
325
  data: {
350
326
  platform: "VINTED" | "SHOPIFY";
351
327
  };
352
- }>]>>>;
353
- createdAt: z.ZodDate;
354
- }, "strip", z.ZodTypeAny, {
355
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
356
- id: string;
357
- createdAt: Date;
358
- itemId: string | number;
359
- data?: {
360
- type: "EMPTY";
361
- } | {
328
+ }>, z.ZodObject<{
329
+ data: z.ZodObject<{
330
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
331
+ publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ platform: "VINTED" | "SHOPIFY";
334
+ publishingDate?: Date | null | undefined;
335
+ }, {
336
+ platform: "VINTED" | "SHOPIFY";
337
+ publishingDate?: Date | null | undefined;
338
+ }>;
339
+ type: z.ZodLiteral<"SCHEDULED">;
340
+ }, "strip", z.ZodTypeAny, {
362
341
  type: "SCHEDULED";
363
342
  data: {
364
343
  platform: "VINTED" | "SHOPIFY";
365
344
  publishingDate?: Date | null | undefined;
366
345
  };
367
- } | {
368
- type: "FAILED_TO_PUBLISH";
346
+ }, {
347
+ type: "SCHEDULED";
369
348
  data: {
370
349
  platform: "VINTED" | "SHOPIFY";
350
+ publishingDate?: Date | null | undefined;
371
351
  };
372
- } | {
352
+ }>]>>>;
353
+ createdAt: z.ZodDate;
354
+ }, "strip", z.ZodTypeAny, {
355
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
356
+ id: string;
357
+ createdAt: Date;
358
+ itemId: string | number;
359
+ data?: {
373
360
  type: "BUYER_PAID";
374
361
  data: {
375
362
  soldAccountId: string;
@@ -384,30 +371,30 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
384
371
  soldConversationId?: string | null | undefined;
385
372
  };
386
373
  } | {
387
- type: "REPUBLISHING";
374
+ type: "EMPTY";
375
+ } | {
376
+ type: "FAILED_TO_PUBLISH";
388
377
  data: {
389
378
  platform: "VINTED" | "SHOPIFY";
390
379
  };
391
- } | null | undefined;
392
- }, {
393
- type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
394
- id: string;
395
- createdAt: Date;
396
- itemId: string | number;
397
- data?: {
398
- type: "EMPTY";
399
380
  } | {
400
- type: "SCHEDULED";
381
+ type: "REPUBLISHING";
401
382
  data: {
402
383
  platform: "VINTED" | "SHOPIFY";
403
- publishingDate?: Date | null | undefined;
404
384
  };
405
385
  } | {
406
- type: "FAILED_TO_PUBLISH";
386
+ type: "SCHEDULED";
407
387
  data: {
408
388
  platform: "VINTED" | "SHOPIFY";
389
+ publishingDate?: Date | null | undefined;
409
390
  };
410
- } | {
391
+ } | null | undefined;
392
+ }, {
393
+ type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
394
+ id: string;
395
+ createdAt: Date;
396
+ itemId: string | number;
397
+ data?: {
411
398
  type: "BUYER_PAID";
412
399
  data: {
413
400
  soldAccountId: string;
@@ -421,11 +408,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
421
408
  soldOrderId: string;
422
409
  soldConversationId?: string | null | undefined;
423
410
  };
411
+ } | {
412
+ type: "EMPTY";
413
+ } | {
414
+ type: "FAILED_TO_PUBLISH";
415
+ data: {
416
+ platform: "VINTED" | "SHOPIFY";
417
+ };
424
418
  } | {
425
419
  type: "REPUBLISHING";
426
420
  data: {
427
421
  platform: "VINTED" | "SHOPIFY";
428
422
  };
423
+ } | {
424
+ type: "SCHEDULED";
425
+ data: {
426
+ platform: "VINTED" | "SHOPIFY";
427
+ publishingDate?: Date | null | undefined;
428
+ };
429
429
  } | null | undefined;
430
430
  }>>>;
431
431
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -441,6 +441,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
441
441
  accountId: z.ZodString;
442
442
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
443
443
  name: z.ZodString;
444
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
445
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
445
446
  }, "strip", z.ZodTypeAny, {
446
447
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -448,12 +449,14 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
448
449
  name: string;
449
450
  platform: "VINTED" | "SHOPIFY";
450
451
  accountId: string;
452
+ locale?: string | null | undefined;
451
453
  }, {
452
454
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
453
455
  userId: string | number;
454
456
  name: string;
455
457
  platform: "VINTED" | "SHOPIFY";
456
458
  accountId: string;
459
+ locale?: string | null | undefined;
457
460
  }>>>;
458
461
  }, "strip", z.ZodTypeAny, {
459
462
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -469,6 +472,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
469
472
  name: string;
470
473
  platform: "VINTED" | "SHOPIFY";
471
474
  accountId: string;
475
+ locale?: string | null | undefined;
472
476
  } | null | undefined;
473
477
  }, {
474
478
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -484,6 +488,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
484
488
  name: string;
485
489
  platform: "VINTED" | "SHOPIFY";
486
490
  accountId: string;
491
+ locale?: string | null | undefined;
487
492
  } | null | undefined;
488
493
  }>, "many">>>;
489
494
  createdAt: z.ZodDate;
@@ -528,6 +533,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
528
533
  name: string;
529
534
  platform: "VINTED" | "SHOPIFY";
530
535
  accountId: string;
536
+ locale?: string | null | undefined;
531
537
  } | null | undefined;
532
538
  }[] | null | undefined;
533
539
  files?: {
@@ -597,19 +603,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
597
603
  createdAt: Date;
598
604
  itemId: string | number;
599
605
  data?: {
600
- type: "EMPTY";
601
- } | {
602
- type: "SCHEDULED";
603
- data: {
604
- platform: "VINTED" | "SHOPIFY";
605
- publishingDate?: Date | null | undefined;
606
- };
607
- } | {
608
- type: "FAILED_TO_PUBLISH";
609
- data: {
610
- platform: "VINTED" | "SHOPIFY";
611
- };
612
- } | {
613
606
  type: "BUYER_PAID";
614
607
  data: {
615
608
  soldAccountId: string;
@@ -623,11 +616,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
623
616
  soldOrderId: string;
624
617
  soldConversationId?: string | null | undefined;
625
618
  };
619
+ } | {
620
+ type: "EMPTY";
621
+ } | {
622
+ type: "FAILED_TO_PUBLISH";
623
+ data: {
624
+ platform: "VINTED" | "SHOPIFY";
625
+ };
626
626
  } | {
627
627
  type: "REPUBLISHING";
628
628
  data: {
629
629
  platform: "VINTED" | "SHOPIFY";
630
630
  };
631
+ } | {
632
+ type: "SCHEDULED";
633
+ data: {
634
+ platform: "VINTED" | "SHOPIFY";
635
+ publishingDate?: Date | null | undefined;
636
+ };
631
637
  } | null | undefined;
632
638
  } | null | undefined;
633
639
  }, {
@@ -670,6 +676,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
670
676
  name: string;
671
677
  platform: "VINTED" | "SHOPIFY";
672
678
  accountId: string;
679
+ locale?: string | null | undefined;
673
680
  } | null | undefined;
674
681
  }[] | null | undefined;
675
682
  files?: {
@@ -739,19 +746,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
739
746
  createdAt: Date;
740
747
  itemId: string | number;
741
748
  data?: {
742
- type: "EMPTY";
743
- } | {
744
- type: "SCHEDULED";
745
- data: {
746
- platform: "VINTED" | "SHOPIFY";
747
- publishingDate?: Date | null | undefined;
748
- };
749
- } | {
750
- type: "FAILED_TO_PUBLISH";
751
- data: {
752
- platform: "VINTED" | "SHOPIFY";
753
- };
754
- } | {
755
749
  type: "BUYER_PAID";
756
750
  data: {
757
751
  soldAccountId: string;
@@ -765,11 +759,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
765
759
  soldOrderId: string;
766
760
  soldConversationId?: string | null | undefined;
767
761
  };
762
+ } | {
763
+ type: "EMPTY";
764
+ } | {
765
+ type: "FAILED_TO_PUBLISH";
766
+ data: {
767
+ platform: "VINTED" | "SHOPIFY";
768
+ };
768
769
  } | {
769
770
  type: "REPUBLISHING";
770
771
  data: {
771
772
  platform: "VINTED" | "SHOPIFY";
772
773
  };
774
+ } | {
775
+ type: "SCHEDULED";
776
+ data: {
777
+ platform: "VINTED" | "SHOPIFY";
778
+ publishingDate?: Date | null | undefined;
779
+ };
773
780
  } | null | undefined;
774
781
  } | null | undefined;
775
782
  }>, "many">;
@@ -818,6 +825,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
818
825
  name: string;
819
826
  platform: "VINTED" | "SHOPIFY";
820
827
  accountId: string;
828
+ locale?: string | null | undefined;
821
829
  } | null | undefined;
822
830
  }[] | null | undefined;
823
831
  files?: {
@@ -887,19 +895,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
887
895
  createdAt: Date;
888
896
  itemId: string | number;
889
897
  data?: {
890
- type: "EMPTY";
891
- } | {
892
- type: "SCHEDULED";
893
- data: {
894
- platform: "VINTED" | "SHOPIFY";
895
- publishingDate?: Date | null | undefined;
896
- };
897
- } | {
898
- type: "FAILED_TO_PUBLISH";
899
- data: {
900
- platform: "VINTED" | "SHOPIFY";
901
- };
902
- } | {
903
898
  type: "BUYER_PAID";
904
899
  data: {
905
900
  soldAccountId: string;
@@ -913,11 +908,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
913
908
  soldOrderId: string;
914
909
  soldConversationId?: string | null | undefined;
915
910
  };
911
+ } | {
912
+ type: "EMPTY";
913
+ } | {
914
+ type: "FAILED_TO_PUBLISH";
915
+ data: {
916
+ platform: "VINTED" | "SHOPIFY";
917
+ };
916
918
  } | {
917
919
  type: "REPUBLISHING";
918
920
  data: {
919
921
  platform: "VINTED" | "SHOPIFY";
920
922
  };
923
+ } | {
924
+ type: "SCHEDULED";
925
+ data: {
926
+ platform: "VINTED" | "SHOPIFY";
927
+ publishingDate?: Date | null | undefined;
928
+ };
921
929
  } | null | undefined;
922
930
  } | null | undefined;
923
931
  }[];
@@ -966,6 +974,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
966
974
  name: string;
967
975
  platform: "VINTED" | "SHOPIFY";
968
976
  accountId: string;
977
+ locale?: string | null | undefined;
969
978
  } | null | undefined;
970
979
  }[] | null | undefined;
971
980
  files?: {
@@ -1035,19 +1044,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
1035
1044
  createdAt: Date;
1036
1045
  itemId: string | number;
1037
1046
  data?: {
1038
- type: "EMPTY";
1039
- } | {
1040
- type: "SCHEDULED";
1041
- data: {
1042
- platform: "VINTED" | "SHOPIFY";
1043
- publishingDate?: Date | null | undefined;
1044
- };
1045
- } | {
1046
- type: "FAILED_TO_PUBLISH";
1047
- data: {
1048
- platform: "VINTED" | "SHOPIFY";
1049
- };
1050
- } | {
1051
1047
  type: "BUYER_PAID";
1052
1048
  data: {
1053
1049
  soldAccountId: string;
@@ -1061,11 +1057,24 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
1061
1057
  soldOrderId: string;
1062
1058
  soldConversationId?: string | null | undefined;
1063
1059
  };
1060
+ } | {
1061
+ type: "EMPTY";
1062
+ } | {
1063
+ type: "FAILED_TO_PUBLISH";
1064
+ data: {
1065
+ platform: "VINTED" | "SHOPIFY";
1066
+ };
1064
1067
  } | {
1065
1068
  type: "REPUBLISHING";
1066
1069
  data: {
1067
1070
  platform: "VINTED" | "SHOPIFY";
1068
1071
  };
1072
+ } | {
1073
+ type: "SCHEDULED";
1074
+ data: {
1075
+ platform: "VINTED" | "SHOPIFY";
1076
+ publishingDate?: Date | null | undefined;
1077
+ };
1069
1078
  } | null | undefined;
1070
1079
  } | null | undefined;
1071
1080
  }[];