controlresell 2.2.12 → 2.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/models/catalogs/Catalog.d.ts +3 -6
  3. package/src/com/controlresell/models/catalogs/Catalog.js +2 -3
  4. package/src/com/controlresell/models/catalogs/Catalog.ts +2 -3
  5. package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts +5 -10
  6. package/src/com/controlresell/models/items/CreatedItems.d.ts +9 -0
  7. package/src/com/controlresell/models/items/Item.d.ts +7 -0
  8. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +9 -0
  9. package/src/com/controlresell/models/items/UpdatedItem.d.ts +9 -0
  10. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -0
  11. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +2 -2
  13. package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +4 -4
  14. package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +15 -0
  15. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +5 -0
  16. package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +21 -0
  17. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +6 -0
  18. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.js +4 -0
  19. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.ts +4 -0
  20. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.d.ts +6 -0
  21. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.js +4 -1
  22. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageRequest.ts +4 -1
  23. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.d.ts +3 -0
  24. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.js +7 -0
  25. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessageStatus.ts +6 -0
  26. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +6 -0
  27. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.js +4 -0
  28. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.ts +4 -0
  29. package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +10 -0
  30. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +6 -0
  31. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.js +4 -0
  32. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.ts +4 -0
  33. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +26 -0
  34. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +5 -0
  35. package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -0
  36. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -0
  37. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -0
  38. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +20 -0
  39. package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +9 -0
  40. package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +7 -0
  41. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +20 -0
  42. package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +14 -0
  43. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +3435 -0
  44. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +3 -1
  45. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +3 -1
  46. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
  47. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
  48. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
  49. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +1 -0
  50. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +1 -0
  51. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -0
  52. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +1 -0
  53. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +1 -0
  54. package/src/index.d.ts +1 -0
  55. package/src/index.js +5 -3
  56. package/src/index.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.2.12",
3
+ "version": "2.2.18",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,18 +1,15 @@
1
1
  import { z } from "zod";
2
2
  export declare const CatalogSchema: z.ZodObject<{
3
3
  id: z.ZodNumber;
4
- sizeGroupIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
4
+ multipleSizeGroupIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
5
5
  title: z.ZodString;
6
- disabledFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
7
6
  }, "strip", z.ZodTypeAny, {
8
7
  id: number;
9
8
  title: string;
10
- sizeGroupIds?: number[] | null | undefined;
11
- disabledFields?: string[] | null | undefined;
9
+ multipleSizeGroupIds?: number[] | null | undefined;
12
10
  }, {
13
11
  id: number;
14
12
  title: string;
15
- sizeGroupIds?: number[] | null | undefined;
16
- disabledFields?: string[] | null | undefined;
13
+ multipleSizeGroupIds?: number[] | null | undefined;
17
14
  }>;
18
15
  export type Catalog = z.infer<typeof CatalogSchema>;
@@ -4,7 +4,6 @@ exports.CatalogSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.CatalogSchema = zod_1.z.object({
6
6
  id: zod_1.z.number(),
7
- sizeGroupIds: zod_1.z.array(zod_1.z.number()).nullish(),
8
- title: zod_1.z.string(),
9
- disabledFields: zod_1.z.array(zod_1.z.string()).nullish()
7
+ multipleSizeGroupIds: zod_1.z.array(zod_1.z.number()).nullish(),
8
+ title: zod_1.z.string()
10
9
  });
@@ -2,8 +2,7 @@ import {z} from "zod"
2
2
 
3
3
  export const CatalogSchema = z.object({
4
4
  id: z.number(),
5
- sizeGroupIds: z.array(z.number()).nullish(),
6
- title: z.string(),
7
- disabledFields: z.array(z.string()).nullish()
5
+ multipleSizeGroupIds: z.array(z.number()).nullish(),
6
+ title: z.string()
8
7
  })
9
8
  export type Catalog = z.infer<typeof CatalogSchema>
@@ -2,33 +2,28 @@ import { z } from "zod";
2
2
  export declare const CatalogRootSchema: z.ZodObject<{
3
3
  catalogs: z.ZodArray<z.ZodObject<{
4
4
  id: z.ZodNumber;
5
- sizeGroupIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
5
+ multipleSizeGroupIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
6
6
  title: z.ZodString;
7
- disabledFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
8
7
  }, "strip", z.ZodTypeAny, {
9
8
  id: number;
10
9
  title: string;
11
- sizeGroupIds?: number[] | null | undefined;
12
- disabledFields?: string[] | null | undefined;
10
+ multipleSizeGroupIds?: number[] | null | undefined;
13
11
  }, {
14
12
  id: number;
15
13
  title: string;
16
- sizeGroupIds?: number[] | null | undefined;
17
- disabledFields?: string[] | null | undefined;
14
+ multipleSizeGroupIds?: number[] | null | undefined;
18
15
  }>, "many">;
19
16
  }, "strip", z.ZodTypeAny, {
20
17
  catalogs: {
21
18
  id: number;
22
19
  title: string;
23
- sizeGroupIds?: number[] | null | undefined;
24
- disabledFields?: string[] | null | undefined;
20
+ multipleSizeGroupIds?: number[] | null | undefined;
25
21
  }[];
26
22
  }, {
27
23
  catalogs: {
28
24
  id: number;
29
25
  title: string;
30
- sizeGroupIds?: number[] | null | undefined;
31
- disabledFields?: string[] | null | undefined;
26
+ multipleSizeGroupIds?: number[] | null | undefined;
32
27
  }[];
33
28
  }>;
34
29
  export type CatalogRoot = z.infer<typeof CatalogRootSchema>;
@@ -439,6 +439,7 @@ export declare const CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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 CreatedItemsSchema: 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?: {
@@ -668,6 +674,7 @@ export declare const CreatedItemsSchema: 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?: {
@@ -834,6 +841,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
834
841
  name: string;
835
842
  platform: "VINTED" | "SHOPIFY";
836
843
  accountId: string;
844
+ locale?: string | null | undefined;
837
845
  } | null | undefined;
838
846
  }[] | null | undefined;
839
847
  files?: {
@@ -986,6 +994,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
986
994
  name: string;
987
995
  platform: "VINTED" | "SHOPIFY";
988
996
  accountId: string;
997
+ locale?: string | null | undefined;
989
998
  } | null | undefined;
990
999
  }[] | null | undefined;
991
1000
  files?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -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?: {
@@ -12,6 +12,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
12
12
  accountId: z.ZodString;
13
13
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
14
14
  name: z.ZodString;
15
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
16
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
16
17
  }, "strip", z.ZodTypeAny, {
17
18
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -19,12 +20,14 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
19
20
  name: string;
20
21
  platform: "VINTED" | "SHOPIFY";
21
22
  accountId: string;
23
+ locale?: string | null | undefined;
22
24
  }, {
23
25
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
24
26
  userId: string | number;
25
27
  name: string;
26
28
  platform: "VINTED" | "SHOPIFY";
27
29
  accountId: string;
30
+ locale?: string | null | undefined;
28
31
  }>>>;
29
32
  }, "strip", z.ZodTypeAny, {
30
33
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -40,6 +43,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
40
43
  name: string;
41
44
  platform: "VINTED" | "SHOPIFY";
42
45
  accountId: string;
46
+ locale?: string | null | undefined;
43
47
  } | null | undefined;
44
48
  }, {
45
49
  status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
@@ -55,6 +59,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
55
59
  name: string;
56
60
  platform: "VINTED" | "SHOPIFY";
57
61
  accountId: string;
62
+ locale?: string | null | undefined;
58
63
  } | null | undefined;
59
64
  }>;
60
65
  export type ItemOnPlatform = z.infer<typeof ItemOnPlatformSchema>;
@@ -117,6 +117,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
117
117
  accountId: z.ZodString;
118
118
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
119
119
  name: z.ZodString;
120
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
121
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
121
122
  }, "strip", z.ZodTypeAny, {
122
123
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -124,12 +125,14 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
124
125
  name: string;
125
126
  platform: "VINTED" | "SHOPIFY";
126
127
  accountId: string;
128
+ locale?: string | null | undefined;
127
129
  }, {
128
130
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
129
131
  userId: string | number;
130
132
  name: string;
131
133
  platform: "VINTED" | "SHOPIFY";
132
134
  accountId: string;
135
+ locale?: string | null | undefined;
133
136
  }>;
134
137
  }, "strip", z.ZodTypeAny, {
135
138
  account: {
@@ -138,6 +141,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
138
141
  name: string;
139
142
  platform: "VINTED" | "SHOPIFY";
140
143
  accountId: string;
144
+ locale?: string | null | undefined;
141
145
  };
142
146
  item: {
143
147
  platformId: string;
@@ -172,6 +176,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
172
176
  name: string;
173
177
  platform: "VINTED" | "SHOPIFY";
174
178
  accountId: string;
179
+ locale?: string | null | undefined;
175
180
  };
176
181
  item: {
177
182
  platformId: string;
@@ -8,14 +8,14 @@ export declare const ItemOnPlatformsRequestSchema: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  accountsId: string[];
10
10
  publishingDate?: Date | null | undefined;
11
+ locale?: string | null | undefined;
11
12
  overrideFileIds?: string[] | null | undefined;
12
13
  disableGetDraft?: boolean | null | undefined;
13
- locale?: string | null | undefined;
14
14
  }, {
15
15
  accountsId: string[];
16
16
  publishingDate?: Date | null | undefined;
17
+ locale?: string | null | undefined;
17
18
  overrideFileIds?: string[] | null | undefined;
18
19
  disableGetDraft?: boolean | null | undefined;
19
- locale?: string | null | undefined;
20
20
  }>;
21
21
  export type ItemOnPlatformsRequest = z.infer<typeof ItemOnPlatformsRequestSchema>;
@@ -9,15 +9,15 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  accountsId: string[];
11
11
  publishingDate?: Date | null | undefined;
12
+ locale?: string | null | undefined;
12
13
  overrideFileIds?: string[] | null | undefined;
13
14
  disableGetDraft?: boolean | null | undefined;
14
- locale?: string | null | undefined;
15
15
  }, {
16
16
  accountsId: string[];
17
17
  publishingDate?: Date | null | undefined;
18
+ locale?: string | null | undefined;
18
19
  overrideFileIds?: string[] | null | undefined;
19
20
  disableGetDraft?: boolean | null | undefined;
20
- locale?: string | null | undefined;
21
21
  }>;
22
22
  itemId: z.ZodNumber;
23
23
  userId: z.ZodNumber;
@@ -28,9 +28,9 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
28
28
  request: {
29
29
  accountsId: string[];
30
30
  publishingDate?: Date | null | undefined;
31
+ locale?: string | null | undefined;
31
32
  overrideFileIds?: string[] | null | undefined;
32
33
  disableGetDraft?: boolean | null | undefined;
33
- locale?: string | null | undefined;
34
34
  };
35
35
  platformId?: string | null | undefined;
36
36
  }, {
@@ -39,9 +39,9 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
39
39
  request: {
40
40
  accountsId: string[];
41
41
  publishingDate?: Date | null | undefined;
42
+ locale?: string | null | undefined;
42
43
  overrideFileIds?: string[] | null | undefined;
43
44
  disableGetDraft?: boolean | null | undefined;
44
- locale?: string | null | undefined;
45
45
  };
46
46
  platformId?: string | null | undefined;
47
47
  }>;
@@ -9,6 +9,7 @@ export declare const ConversationSchema: z.ZodObject<{
9
9
  accountId: z.ZodString;
10
10
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
11
11
  name: z.ZodString;
12
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
13
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
13
14
  }, "strip", z.ZodTypeAny, {
14
15
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -16,12 +17,14 @@ export declare const ConversationSchema: z.ZodObject<{
16
17
  name: string;
17
18
  platform: "VINTED" | "SHOPIFY";
18
19
  accountId: string;
20
+ locale?: string | null | undefined;
19
21
  }, {
20
22
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
21
23
  userId: string | number;
22
24
  name: string;
23
25
  platform: "VINTED" | "SHOPIFY";
24
26
  accountId: string;
27
+ locale?: string | null | undefined;
25
28
  }>>>;
26
29
  lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
30
  id: z.ZodString;
@@ -29,6 +32,8 @@ export declare const ConversationSchema: z.ZodObject<{
29
32
  conversationUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
33
  platformMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
34
  type: z.ZodEnum<["MESSAGE", "STATUS_MESSAGE", "ACTION_MESSAGE", "OFFER_REQUEST_MESSAGE", "OFFER_MESSAGE"]>;
35
+ status: z.ZodEnum<["NEEDS_VALIDATION", "SENDING", "FAILED_TO_SEND", "SENT"]>;
36
+ associatedPreferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEGOTIATION", "REPUBLISH", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>>>;
32
37
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
38
  createdAt: z.ZodDate;
34
39
  offer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -117,6 +122,7 @@ export declare const ConversationSchema: z.ZodObject<{
117
122
  }>, "many">>>;
118
123
  }, "strip", z.ZodTypeAny, {
119
124
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
125
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
120
126
  id: string;
121
127
  createdAt: Date;
122
128
  conversationId: string;
@@ -144,6 +150,7 @@ export declare const ConversationSchema: z.ZodObject<{
144
150
  }[] | null | undefined;
145
151
  conversationUserId?: string | null | undefined;
146
152
  platformMessageId?: string | null | undefined;
153
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
147
154
  translation?: {
148
155
  body: string;
149
156
  messageId: string;
@@ -151,6 +158,7 @@ export declare const ConversationSchema: z.ZodObject<{
151
158
  } | null | undefined;
152
159
  }, {
153
160
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
161
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
154
162
  id: string;
155
163
  createdAt: Date;
156
164
  conversationId: string;
@@ -178,6 +186,7 @@ export declare const ConversationSchema: z.ZodObject<{
178
186
  }[] | null | undefined;
179
187
  conversationUserId?: string | null | undefined;
180
188
  platformMessageId?: string | null | undefined;
189
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
181
190
  translation?: {
182
191
  body: string;
183
192
  messageId: string;
@@ -256,6 +265,7 @@ export declare const ConversationSchema: z.ZodObject<{
256
265
  name: string;
257
266
  platform: "VINTED" | "SHOPIFY";
258
267
  accountId: string;
268
+ locale?: string | null | undefined;
259
269
  } | null | undefined;
260
270
  users?: {
261
271
  id: string;
@@ -276,6 +286,7 @@ export declare const ConversationSchema: z.ZodObject<{
276
286
  }[] | null | undefined;
277
287
  lastMessage?: {
278
288
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
289
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
279
290
  id: string;
280
291
  createdAt: Date;
281
292
  conversationId: string;
@@ -303,6 +314,7 @@ export declare const ConversationSchema: z.ZodObject<{
303
314
  }[] | null | undefined;
304
315
  conversationUserId?: string | null | undefined;
305
316
  platformMessageId?: string | null | undefined;
317
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
306
318
  translation?: {
307
319
  body: string;
308
320
  messageId: string;
@@ -320,6 +332,7 @@ export declare const ConversationSchema: z.ZodObject<{
320
332
  name: string;
321
333
  platform: "VINTED" | "SHOPIFY";
322
334
  accountId: string;
335
+ locale?: string | null | undefined;
323
336
  } | null | undefined;
324
337
  users?: {
325
338
  id: string;
@@ -340,6 +353,7 @@ export declare const ConversationSchema: z.ZodObject<{
340
353
  }[] | null | undefined;
341
354
  lastMessage?: {
342
355
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
356
+ status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
343
357
  id: string;
344
358
  createdAt: Date;
345
359
  conversationId: string;
@@ -367,6 +381,7 @@ export declare const ConversationSchema: z.ZodObject<{
367
381
  }[] | null | undefined;
368
382
  conversationUserId?: string | null | undefined;
369
383
  platformMessageId?: string | null | undefined;
384
+ associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
370
385
  translation?: {
371
386
  body: string;
372
387
  messageId: string;
@@ -502,6 +502,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
502
502
  accountId: z.ZodString;
503
503
  platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
504
504
  name: z.ZodString;
505
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
506
  status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
506
507
  }, "strip", z.ZodTypeAny, {
507
508
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
@@ -509,12 +510,14 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
509
510
  name: string;
510
511
  platform: "VINTED" | "SHOPIFY";
511
512
  accountId: string;
513
+ locale?: string | null | undefined;
512
514
  }, {
513
515
  status: "ERROR" | "CONNECTED" | "DISCONNECTED";
514
516
  userId: string | number;
515
517
  name: string;
516
518
  platform: "VINTED" | "SHOPIFY";
517
519
  accountId: string;
520
+ locale?: string | null | undefined;
518
521
  }>;
519
522
  }, "strip", z.ZodTypeAny, {
520
523
  account: {
@@ -523,6 +526,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
523
526
  name: string;
524
527
  platform: "VINTED" | "SHOPIFY";
525
528
  accountId: string;
529
+ locale?: string | null | undefined;
526
530
  };
527
531
  conversation: {
528
532
  id: string;
@@ -626,6 +630,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
626
630
  name: string;
627
631
  platform: "VINTED" | "SHOPIFY";
628
632
  accountId: string;
633
+ locale?: string | null | undefined;
629
634
  };
630
635
  conversation: {
631
636
  id: string;