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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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 PreferenceFilterSchema: 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
  }>, "many">>>;
@@ -776,6 +783,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
776
783
  accountId: z.ZodString;
777
784
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
778
785
  name: z.ZodString;
786
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
787
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
780
788
  }, "strip", z.ZodTypeAny, {
781
789
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -783,12 +791,14 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
783
791
  name: string;
784
792
  platform: "VINTED" | "SHOPIFY";
785
793
  accountId: string;
794
+ locale?: string | null | undefined;
786
795
  }, {
787
796
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
788
797
  userId: string | number;
789
798
  name: string;
790
799
  platform: "VINTED" | "SHOPIFY";
791
800
  accountId: string;
801
+ locale?: string | null | undefined;
792
802
  }>, "many">>>;
793
803
  }, "strip", z.ZodTypeAny, {
794
804
  items?: {
@@ -831,6 +841,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
831
841
  name: string;
832
842
  platform: "VINTED" | "SHOPIFY";
833
843
  accountId: string;
844
+ locale?: string | null | undefined;
834
845
  } | null | undefined;
835
846
  }[] | null | undefined;
836
847
  files?: {
@@ -900,19 +911,6 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
900
911
  createdAt: Date;
901
912
  itemId: string | number;
902
913
  data?: {
903
- type: "EMPTY";
904
- } | {
905
- type: "SCHEDULED";
906
- data: {
907
- platform: "VINTED" | "SHOPIFY";
908
- publishingDate?: Date | null | undefined;
909
- };
910
- } | {
911
- type: "FAILED_TO_PUBLISH";
912
- data: {
913
- platform: "VINTED" | "SHOPIFY";
914
- };
915
- } | {
916
914
  type: "BUYER_PAID";
917
915
  data: {
918
916
  soldAccountId: string;
@@ -926,11 +924,24 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
926
924
  soldOrderId: string;
927
925
  soldConversationId?: string | null | undefined;
928
926
  };
927
+ } | {
928
+ type: "EMPTY";
929
+ } | {
930
+ type: "FAILED_TO_PUBLISH";
931
+ data: {
932
+ platform: "VINTED" | "SHOPIFY";
933
+ };
929
934
  } | {
930
935
  type: "REPUBLISHING";
931
936
  data: {
932
937
  platform: "VINTED" | "SHOPIFY";
933
938
  };
939
+ } | {
940
+ type: "SCHEDULED";
941
+ data: {
942
+ platform: "VINTED" | "SHOPIFY";
943
+ publishingDate?: Date | null | undefined;
944
+ };
934
945
  } | null | undefined;
935
946
  } | null | undefined;
936
947
  }[] | null | undefined;
@@ -940,6 +951,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
940
951
  name: string;
941
952
  platform: "VINTED" | "SHOPIFY";
942
953
  accountId: string;
954
+ locale?: string | null | undefined;
943
955
  }[] | null | undefined;
944
956
  }, {
945
957
  items?: {
@@ -982,6 +994,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
982
994
  name: string;
983
995
  platform: "VINTED" | "SHOPIFY";
984
996
  accountId: string;
997
+ locale?: string | null | undefined;
985
998
  } | null | undefined;
986
999
  }[] | null | undefined;
987
1000
  files?: {
@@ -1051,19 +1064,6 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
1051
1064
  createdAt: Date;
1052
1065
  itemId: string | number;
1053
1066
  data?: {
1054
- type: "EMPTY";
1055
- } | {
1056
- type: "SCHEDULED";
1057
- data: {
1058
- platform: "VINTED" | "SHOPIFY";
1059
- publishingDate?: Date | null | undefined;
1060
- };
1061
- } | {
1062
- type: "FAILED_TO_PUBLISH";
1063
- data: {
1064
- platform: "VINTED" | "SHOPIFY";
1065
- };
1066
- } | {
1067
1067
  type: "BUYER_PAID";
1068
1068
  data: {
1069
1069
  soldAccountId: string;
@@ -1077,11 +1077,24 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
1077
1077
  soldOrderId: string;
1078
1078
  soldConversationId?: string | null | undefined;
1079
1079
  };
1080
+ } | {
1081
+ type: "EMPTY";
1082
+ } | {
1083
+ type: "FAILED_TO_PUBLISH";
1084
+ data: {
1085
+ platform: "VINTED" | "SHOPIFY";
1086
+ };
1080
1087
  } | {
1081
1088
  type: "REPUBLISHING";
1082
1089
  data: {
1083
1090
  platform: "VINTED" | "SHOPIFY";
1084
1091
  };
1092
+ } | {
1093
+ type: "SCHEDULED";
1094
+ data: {
1095
+ platform: "VINTED" | "SHOPIFY";
1096
+ publishingDate?: Date | null | undefined;
1097
+ };
1085
1098
  } | null | undefined;
1086
1099
  } | null | undefined;
1087
1100
  }[] | null | undefined;
@@ -1091,6 +1104,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
1091
1104
  name: string;
1092
1105
  platform: "VINTED" | "SHOPIFY";
1093
1106
  accountId: string;
1107
+ locale?: string | null | undefined;
1094
1108
  }[] | null | undefined;
1095
1109
  }>;
1096
1110
  export type PreferenceFilter = z.infer<typeof PreferenceFilterSchema>;