controlresell 2.24.1 → 2.24.3

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 (119) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +0 -7
  3. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
  4. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +108 -108
  5. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +88 -88
  6. package/src/com/controlresell/models/conversations/Conversation.d.ts +17 -9
  7. package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
  8. package/src/com/controlresell/models/conversations/Conversation.js +2 -1
  9. package/src/com/controlresell/models/conversations/Conversation.js.map +1 -1
  10. package/src/com/controlresell/models/conversations/Conversation.ts +2 -1
  11. package/src/com/controlresell/models/conversations/ConversationFiltersContext.d.ts +3 -3
  12. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +11 -11
  13. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +30 -13
  14. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
  15. package/src/com/controlresell/models/conversations/UpdateConversationPayload.d.ts +3 -0
  16. package/src/com/controlresell/models/conversations/UpdateConversationPayload.d.ts.map +1 -1
  17. package/src/com/controlresell/models/conversations/UpdateConversationPayload.js +2 -1
  18. package/src/com/controlresell/models/conversations/UpdateConversationPayload.js.map +1 -1
  19. package/src/com/controlresell/models/conversations/UpdateConversationPayload.ts +2 -1
  20. package/src/com/controlresell/models/conversations/UserConversations.d.ts +25 -13
  21. package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
  22. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -5
  23. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -7
  24. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -7
  25. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -0
  26. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts.map +1 -1
  27. package/src/com/controlresell/models/conversations/messages/ConversationMessage.js +2 -1
  28. package/src/com/controlresell/models/conversations/messages/ConversationMessage.js.map +1 -1
  29. package/src/com/controlresell/models/conversations/messages/ConversationMessage.ts +2 -1
  30. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -0
  31. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts.map +1 -1
  32. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.js +1 -0
  33. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.js.map +1 -1
  34. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.ts +1 -0
  35. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -0
  36. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts.map +1 -1
  37. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js +1 -0
  38. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js.map +1 -1
  39. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.ts +1 -0
  40. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -0
  41. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts.map +1 -1
  42. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +2 -2
  43. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  44. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
  45. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -5
  46. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
  47. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
  48. package/src/com/controlresell/models/items/CreatedItems.d.ts +315 -315
  49. package/src/com/controlresell/models/items/Item.d.ts +169 -169
  50. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
  51. package/src/com/controlresell/models/items/ItemUpdate.d.ts +108 -108
  52. package/src/com/controlresell/models/items/UpdatedItem.d.ts +315 -315
  53. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +63 -63
  54. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +63 -63
  55. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +90 -90
  56. package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +3 -3
  57. package/src/com/controlresell/models/items/history/data/ItemHistoryImageProcessingDone.d.ts +3 -3
  58. package/src/com/controlresell/models/items/history/data/ItemHistoryPublishedPayload.d.ts +3 -3
  59. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +3 -3
  60. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +3 -3
  61. package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledPayload.d.ts +3 -3
  62. package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +3 -3
  63. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +3 -3
  64. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +3 -3
  65. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -5
  66. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -5
  67. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformBrandsPayload.d.ts +3 -3
  68. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +3 -3
  69. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +3 -3
  70. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +3 -3
  71. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +3 -3
  72. package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +3 -3
  73. package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +3 -3
  74. package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +3 -3
  75. package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +3 -3
  76. package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +3 -3
  77. package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +3 -3
  78. package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +3 -3
  79. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +228 -228
  80. package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +15 -15
  81. package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +3 -3
  82. package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +3 -3
  83. package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +3 -3
  84. package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +3 -3
  85. package/src/com/controlresell/models/metadata/platforms/RecomputeCategoryRequiredAttributesPayload.d.ts +3 -3
  86. package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +3 -3
  87. package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -9
  88. package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +3 -3
  89. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  90. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +141 -141
  91. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -7
  92. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +119 -119
  93. package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +13 -0
  94. package/src/com/controlresell/models/subscriptions/UserLimits.d.ts.map +1 -1
  95. package/src/com/controlresell/models/subscriptions/UserLimits.js +2 -1
  96. package/src/com/controlresell/models/subscriptions/UserLimits.js.map +1 -1
  97. package/src/com/controlresell/models/subscriptions/UserLimits.ts +2 -1
  98. package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -9
  99. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -7
  100. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +119 -119
  101. package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +3 -3
  102. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
  103. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
  104. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -3
  105. package/src/com/controlresell/models/users/platforms/UserOnPlatformRequest.d.ts +3 -3
  106. package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +19 -0
  107. package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts.map +1 -1
  108. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +314 -242
  109. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  110. package/src/index.d.ts +0 -1
  111. package/src/index.d.ts.map +1 -1
  112. package/src/index.js +0 -1
  113. package/src/index.js.map +1 -1
  114. package/src/index.ts +0 -1
  115. package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts +0 -10
  116. package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts.map +0 -1
  117. package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.js +0 -6
  118. package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.js.map +0 -1
  119. package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateConversationPayload.js","sourceRoot":"","sources":["UpdateConversationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CAClC,CAAC,CAAA"}
1
+ {"version":3,"file":"UpdateConversationPayload.js","sourceRoot":"","sources":["UpdateConversationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CACnC,CAAC,CAAA"}
@@ -3,6 +3,7 @@ import {z} from "zod"
3
3
  export const UpdateConversationPayloadSchema = z.object({
4
4
  updatedAt: z.coerce.date().nullish(),
5
5
  lastRead: z.coerce.date().nullish(),
6
- isPinned: z.boolean().nullish()
6
+ isPinned: z.boolean().nullish(),
7
+ aiEnabled: z.boolean().nullish()
7
8
  })
8
9
  export type UpdateConversationPayload = z.infer<typeof UpdateConversationPayloadSchema>
@@ -21,7 +21,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
21
21
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  userId: z.ZodNumber;
23
23
  accountId: z.ZodString;
24
- platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
24
+ platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
25
25
  name: z.ZodString;
26
26
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
@@ -71,7 +71,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
71
71
  name: string;
72
72
  userId: number;
73
73
  accountId: string;
74
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
74
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
75
75
  locale?: string | null | undefined;
76
76
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
77
77
  night?: {
@@ -98,7 +98,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
98
98
  name: string;
99
99
  userId: number;
100
100
  accountId: string;
101
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
101
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
102
102
  status?: unknown;
103
103
  locale?: string | null | undefined;
104
104
  lockReason?: unknown;
@@ -244,6 +244,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
244
244
  preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
245
245
  preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
246
  preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
248
  }, "strip", z.ZodTypeAny, {
248
249
  type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
249
250
  status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
@@ -273,6 +274,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
273
274
  } | null | undefined;
274
275
  index?: number | null | undefined;
275
276
  }[] | null | undefined;
277
+ metadata?: string | null | undefined;
276
278
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
277
279
  preferenceCaseId?: string | null | undefined;
278
280
  preferenceVariantId?: string | null | undefined;
@@ -320,6 +322,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
320
322
  } | null | undefined;
321
323
  index?: number | null | undefined;
322
324
  }[] | null | undefined;
325
+ metadata?: string | null | undefined;
323
326
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
324
327
  preferenceCaseId?: string | null | undefined;
325
328
  preferenceVariantId?: string | null | undefined;
@@ -383,9 +386,9 @@ export declare const UserConversationsSchema: z.ZodObject<{
383
386
  login: string;
384
387
  platformUserId: string;
385
388
  email?: string | null | undefined;
389
+ location?: string | null | undefined;
386
390
  reviewCount?: number | null | undefined;
387
391
  reviewValue?: number | null | undefined;
388
- location?: string | null | undefined;
389
392
  billingName?: string | null | undefined;
390
393
  billingAddressLine1?: string | null | undefined;
391
394
  billingAddressLine2?: string | null | undefined;
@@ -407,9 +410,9 @@ export declare const UserConversationsSchema: z.ZodObject<{
407
410
  login: string;
408
411
  platformUserId: string;
409
412
  email?: string | null | undefined;
413
+ location?: string | null | undefined;
410
414
  reviewCount?: number | null | undefined;
411
415
  reviewValue?: number | null | undefined;
412
- location?: string | null | undefined;
413
416
  billingName?: string | null | undefined;
414
417
  billingAddressLine1?: string | null | undefined;
415
418
  billingAddressLine2?: string | null | undefined;
@@ -428,6 +431,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
428
431
  }>, "many">>>;
429
432
  lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
430
433
  isPinned: z.ZodBoolean;
434
+ aiEnabled: z.ZodBoolean;
431
435
  }, "strip", z.ZodTypeAny, {
432
436
  id: string;
433
437
  userId: number;
@@ -435,15 +439,16 @@ export declare const UserConversationsSchema: z.ZodObject<{
435
439
  updatedAt: Date;
436
440
  platformConversationId: string;
437
441
  isPinned: boolean;
442
+ aiEnabled: boolean;
438
443
  users?: {
439
444
  id: string;
440
445
  conversationId: string;
441
446
  login: string;
442
447
  platformUserId: string;
443
448
  email?: string | null | undefined;
449
+ location?: string | null | undefined;
444
450
  reviewCount?: number | null | undefined;
445
451
  reviewValue?: number | null | undefined;
446
- location?: string | null | undefined;
447
452
  billingName?: string | null | undefined;
448
453
  billingAddressLine1?: string | null | undefined;
449
454
  billingAddressLine2?: string | null | undefined;
@@ -465,7 +470,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
465
470
  name: string;
466
471
  userId: number;
467
472
  accountId: string;
468
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
473
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
469
474
  locale?: string | null | undefined;
470
475
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
471
476
  night?: {
@@ -519,6 +524,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
519
524
  } | null | undefined;
520
525
  index?: number | null | undefined;
521
526
  }[] | null | undefined;
527
+ metadata?: string | null | undefined;
522
528
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
523
529
  preferenceCaseId?: string | null | undefined;
524
530
  preferenceVariantId?: string | null | undefined;
@@ -545,15 +551,16 @@ export declare const UserConversationsSchema: z.ZodObject<{
545
551
  updatedAt: Date;
546
552
  platformConversationId: string;
547
553
  isPinned: boolean;
554
+ aiEnabled: boolean;
548
555
  users?: {
549
556
  id: string;
550
557
  conversationId: string;
551
558
  login: string;
552
559
  platformUserId: string;
553
560
  email?: string | null | undefined;
561
+ location?: string | null | undefined;
554
562
  reviewCount?: number | null | undefined;
555
563
  reviewValue?: number | null | undefined;
556
- location?: string | null | undefined;
557
564
  billingName?: string | null | undefined;
558
565
  billingAddressLine1?: string | null | undefined;
559
566
  billingAddressLine2?: string | null | undefined;
@@ -574,7 +581,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
574
581
  name: string;
575
582
  userId: number;
576
583
  accountId: string;
577
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
584
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
578
585
  status?: unknown;
579
586
  locale?: string | null | undefined;
580
587
  lockReason?: unknown;
@@ -629,6 +636,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
629
636
  } | null | undefined;
630
637
  index?: number | null | undefined;
631
638
  }[] | null | undefined;
639
+ metadata?: string | null | undefined;
632
640
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
633
641
  preferenceCaseId?: string | null | undefined;
634
642
  preferenceVariantId?: string | null | undefined;
@@ -660,15 +668,16 @@ export declare const UserConversationsSchema: z.ZodObject<{
660
668
  updatedAt: Date;
661
669
  platformConversationId: string;
662
670
  isPinned: boolean;
671
+ aiEnabled: boolean;
663
672
  users?: {
664
673
  id: string;
665
674
  conversationId: string;
666
675
  login: string;
667
676
  platformUserId: string;
668
677
  email?: string | null | undefined;
678
+ location?: string | null | undefined;
669
679
  reviewCount?: number | null | undefined;
670
680
  reviewValue?: number | null | undefined;
671
- location?: string | null | undefined;
672
681
  billingName?: string | null | undefined;
673
682
  billingAddressLine1?: string | null | undefined;
674
683
  billingAddressLine2?: string | null | undefined;
@@ -690,7 +699,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
690
699
  name: string;
691
700
  userId: number;
692
701
  accountId: string;
693
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
702
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
694
703
  locale?: string | null | undefined;
695
704
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
696
705
  night?: {
@@ -744,6 +753,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
744
753
  } | null | undefined;
745
754
  index?: number | null | undefined;
746
755
  }[] | null | undefined;
756
+ metadata?: string | null | undefined;
747
757
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
748
758
  preferenceCaseId?: string | null | undefined;
749
759
  preferenceVariantId?: string | null | undefined;
@@ -780,15 +790,16 @@ export declare const UserConversationsSchema: z.ZodObject<{
780
790
  updatedAt: Date;
781
791
  platformConversationId: string;
782
792
  isPinned: boolean;
793
+ aiEnabled: boolean;
783
794
  users?: {
784
795
  id: string;
785
796
  conversationId: string;
786
797
  login: string;
787
798
  platformUserId: string;
788
799
  email?: string | null | undefined;
800
+ location?: string | null | undefined;
789
801
  reviewCount?: number | null | undefined;
790
802
  reviewValue?: number | null | undefined;
791
- location?: string | null | undefined;
792
803
  billingName?: string | null | undefined;
793
804
  billingAddressLine1?: string | null | undefined;
794
805
  billingAddressLine2?: string | null | undefined;
@@ -809,7 +820,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
809
820
  name: string;
810
821
  userId: number;
811
822
  accountId: string;
812
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
823
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
813
824
  status?: unknown;
814
825
  locale?: string | null | undefined;
815
826
  lockReason?: unknown;
@@ -864,6 +875,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
864
875
  } | null | undefined;
865
876
  index?: number | null | undefined;
866
877
  }[] | null | undefined;
878
+ metadata?: string | null | undefined;
867
879
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
868
880
  preferenceCaseId?: string | null | undefined;
869
881
  preferenceVariantId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"UserConversations.d.ts","sourceRoot":"","sources":["UserConversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"UserConversations.d.ts","sourceRoot":"","sources":["UserConversations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -12,7 +12,7 @@ export declare const ConversationFavoriteSchema: z.ZodObject<{
12
12
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
13
  userId: z.ZodNumber;
14
14
  accountId: z.ZodString;
15
- platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
15
+ platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
16
16
  name: z.ZodString;
17
17
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
@@ -62,7 +62,7 @@ export declare const ConversationFavoriteSchema: z.ZodObject<{
62
62
  name: string;
63
63
  userId: number;
64
64
  accountId: string;
65
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
65
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
66
66
  locale?: string | null | undefined;
67
67
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
68
68
  night?: {
@@ -89,7 +89,7 @@ export declare const ConversationFavoriteSchema: z.ZodObject<{
89
89
  name: string;
90
90
  userId: number;
91
91
  accountId: string;
92
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
92
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
93
93
  status?: unknown;
94
94
  locale?: string | null | undefined;
95
95
  lockReason?: unknown;
@@ -128,7 +128,7 @@ export declare const ConversationFavoriteSchema: z.ZodObject<{
128
128
  name: string;
129
129
  userId: number;
130
130
  accountId: string;
131
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
131
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
132
132
  locale?: string | null | undefined;
133
133
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
134
134
  night?: {
@@ -166,7 +166,7 @@ export declare const ConversationFavoriteSchema: z.ZodObject<{
166
166
  name: string;
167
167
  userId: number;
168
168
  accountId: string;
169
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
169
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
170
170
  status?: unknown;
171
171
  locale?: string | null | undefined;
172
172
  lockReason?: unknown;
@@ -13,7 +13,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
13
13
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  userId: z.ZodNumber;
15
15
  accountId: z.ZodString;
16
- platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
16
+ platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
17
17
  name: z.ZodString;
18
18
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
@@ -63,7 +63,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
63
63
  name: string;
64
64
  userId: number;
65
65
  accountId: string;
66
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
66
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
67
67
  locale?: string | null | undefined;
68
68
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
69
69
  night?: {
@@ -90,7 +90,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
90
90
  name: string;
91
91
  userId: number;
92
92
  accountId: string;
93
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
93
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
94
94
  status?: unknown;
95
95
  locale?: string | null | undefined;
96
96
  lockReason?: unknown;
@@ -129,7 +129,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
129
129
  name: string;
130
130
  userId: number;
131
131
  accountId: string;
132
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
132
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
133
133
  locale?: string | null | undefined;
134
134
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
135
135
  night?: {
@@ -167,7 +167,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
167
167
  name: string;
168
168
  userId: number;
169
169
  accountId: string;
170
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
170
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
171
171
  status?: unknown;
172
172
  locale?: string | null | undefined;
173
173
  lockReason?: unknown;
@@ -209,7 +209,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
209
209
  name: string;
210
210
  userId: number;
211
211
  accountId: string;
212
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
212
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
213
213
  locale?: string | null | undefined;
214
214
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
215
215
  night?: {
@@ -249,7 +249,7 @@ export declare const ReportRateLimitOnFavoritesSchema: z.ZodObject<{
249
249
  name: string;
250
250
  userId: number;
251
251
  accountId: string;
252
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
252
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
253
253
  status?: unknown;
254
254
  locale?: string | null | undefined;
255
255
  lockReason?: unknown;
@@ -13,7 +13,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
13
13
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  userId: z.ZodNumber;
15
15
  accountId: z.ZodString;
16
- platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
16
+ platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
17
17
  name: z.ZodString;
18
18
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
@@ -63,7 +63,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
63
63
  name: string;
64
64
  userId: number;
65
65
  accountId: string;
66
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
66
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
67
67
  locale?: string | null | undefined;
68
68
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
69
69
  night?: {
@@ -90,7 +90,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
90
90
  name: string;
91
91
  userId: number;
92
92
  accountId: string;
93
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
93
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
94
94
  status?: unknown;
95
95
  locale?: string | null | undefined;
96
96
  lockReason?: unknown;
@@ -129,7 +129,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
129
129
  name: string;
130
130
  userId: number;
131
131
  accountId: string;
132
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
132
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
133
133
  locale?: string | null | undefined;
134
134
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
135
135
  night?: {
@@ -167,7 +167,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
167
167
  name: string;
168
168
  userId: number;
169
169
  accountId: string;
170
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
170
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
171
171
  status?: unknown;
172
172
  locale?: string | null | undefined;
173
173
  lockReason?: unknown;
@@ -209,7 +209,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
209
209
  name: string;
210
210
  userId: number;
211
211
  accountId: string;
212
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
212
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
213
213
  locale?: string | null | undefined;
214
214
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
215
215
  night?: {
@@ -249,7 +249,7 @@ export declare const SubmitFavoritesResponseSchema: z.ZodObject<{
249
249
  name: string;
250
250
  userId: number;
251
251
  accountId: string;
252
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
252
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
253
253
  status?: unknown;
254
254
  locale?: string | null | undefined;
255
255
  lockReason?: unknown;
@@ -120,6 +120,7 @@ export declare const ConversationMessageSchema: z.ZodObject<{
120
120
  preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
121
121
  preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
122
  preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
124
  }, "strip", z.ZodTypeAny, {
124
125
  type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
125
126
  status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
@@ -149,6 +150,7 @@ export declare const ConversationMessageSchema: z.ZodObject<{
149
150
  } | null | undefined;
150
151
  index?: number | null | undefined;
151
152
  }[] | null | undefined;
153
+ metadata?: string | null | undefined;
152
154
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
153
155
  preferenceCaseId?: string | null | undefined;
154
156
  preferenceVariantId?: string | null | undefined;
@@ -196,6 +198,7 @@ export declare const ConversationMessageSchema: z.ZodObject<{
196
198
  } | null | undefined;
197
199
  index?: number | null | undefined;
198
200
  }[] | null | undefined;
201
+ metadata?: string | null | undefined;
199
202
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
200
203
  preferenceCaseId?: string | null | undefined;
201
204
  preferenceVariantId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationMessage.d.ts","sourceRoot":"","sources":["ConversationMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AASrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"ConversationMessage.d.ts","sourceRoot":"","sources":["ConversationMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AASrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -22,6 +22,7 @@ export const ConversationMessageSchema = z.object({
22
22
  files: z.array(ConversationMessageFileSchema).nullish(),
23
23
  preferenceType: ConversationMessagePreferenceTypeSchema.nullish(),
24
24
  preferenceCaseId: z.string().nullish(),
25
- preferenceVariantId: z.string().nullish()
25
+ preferenceVariantId: z.string().nullish(),
26
+ metadata: z.string().nullish()
26
27
  });
27
28
  //# sourceMappingURL=ConversationMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationMessage.js","sourceRoot":"","sources":["ConversationMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gCAAgC,EAAC,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAC,+BAA+B,EAAC,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAC,sCAAsC,EAAC,MAAM,4CAA4C,CAAA;AACjG,OAAO,EAAC,8BAA8B,EAAC,MAAM,oCAAoC,CAAA;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,kCAAkC,CAAA;AACxE,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAA;AAC7E,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,+BAA+B;IACvC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC,OAAO,EAAE;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACtC,KAAK,EAAE,8BAA8B,CAAC,OAAO,EAAE;IAC/C,WAAW,EAAE,uBAAuB,CAAC,OAAO,EAAE;IAC9C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,OAAO,EAAE;IACvD,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAA"}
1
+ {"version":3,"file":"ConversationMessage.js","sourceRoot":"","sources":["ConversationMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gCAAgC,EAAC,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAC,+BAA+B,EAAC,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAC,sCAAsC,EAAC,MAAM,4CAA4C,CAAA;AACjG,OAAO,EAAC,8BAA8B,EAAC,MAAM,oCAAoC,CAAA;AACjF,OAAO,EAAC,uBAAuB,EAAC,MAAM,kCAAkC,CAAA;AACxE,OAAO,EAAC,6BAA6B,EAAC,MAAM,iCAAiC,CAAA;AAC7E,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,+BAA+B;IACvC,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC,OAAO,EAAE;IACxE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACtC,KAAK,EAAE,8BAA8B,CAAC,OAAO,EAAE;IAC/C,WAAW,EAAE,uBAAuB,CAAC,OAAO,EAAE;IAC9C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,OAAO,EAAE;IACvD,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CACjC,CAAC,CAAA"}
@@ -23,6 +23,7 @@ export const ConversationMessageSchema = z.object({
23
23
  files: z.array(ConversationMessageFileSchema).nullish(),
24
24
  preferenceType: ConversationMessagePreferenceTypeSchema.nullish(),
25
25
  preferenceCaseId: z.string().nullish(),
26
- preferenceVariantId: z.string().nullish()
26
+ preferenceVariantId: z.string().nullish(),
27
+ metadata: z.string().nullish()
27
28
  })
28
29
  export type ConversationMessage = z.infer<typeof ConversationMessageSchema>
@@ -6,9 +6,11 @@ export declare const ConversationMessageRequestSchema: z.ZodObject<{
6
6
  preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
8
  cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
10
  sendAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  message: string;
13
+ metadata?: string | null | undefined;
12
14
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
13
15
  preferenceCaseId?: string | null | undefined;
14
16
  preferenceVariantId?: string | null | undefined;
@@ -17,6 +19,7 @@ export declare const ConversationMessageRequestSchema: z.ZodObject<{
17
19
  cost?: number | null | undefined;
18
20
  }, {
19
21
  message: string;
22
+ metadata?: string | null | undefined;
20
23
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
21
24
  preferenceCaseId?: string | null | undefined;
22
25
  preferenceVariantId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationMessageRequest.d.ts","sourceRoot":"","sources":["ConversationMessageRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;EAQ3C,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
1
+ {"version":3,"file":"ConversationMessageRequest.d.ts","sourceRoot":"","sources":["ConversationMessageRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3C,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
@@ -7,6 +7,7 @@ export const ConversationMessageRequestSchema = z.object({
7
7
  preferenceCaseId: z.string().nullish(),
8
8
  preferenceVariantId: z.string().nullish(),
9
9
  cost: z.number().nullish(),
10
+ metadata: z.string().nullish(),
10
11
  sendAt: z.coerce.date().nullish()
11
12
  });
12
13
  //# sourceMappingURL=ConversationMessageRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationMessageRequest.js","sourceRoot":"","sources":["ConversationMessageRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACpC,CAAC,CAAA"}
1
+ {"version":3,"file":"ConversationMessageRequest.js","sourceRoot":"","sources":["ConversationMessageRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACpC,CAAC,CAAA"}
@@ -8,6 +8,7 @@ export const ConversationMessageRequestSchema = z.object({
8
8
  preferenceCaseId: z.string().nullish(),
9
9
  preferenceVariantId: z.string().nullish(),
10
10
  cost: z.number().nullish(),
11
+ metadata: z.string().nullish(),
11
12
  sendAt: z.coerce.date().nullish()
12
13
  })
13
14
  export type ConversationMessageRequest = z.infer<typeof ConversationMessageRequestSchema>
@@ -10,12 +10,14 @@ export declare const CreateConversationMessagePayloadSchema: z.ZodObject<{
10
10
  preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
14
  scheduledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
14
15
  }, "strip", z.ZodTypeAny, {
15
16
  type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
16
17
  status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
17
18
  createdAt?: Date | null | undefined;
18
19
  body?: string | null | undefined;
20
+ metadata?: string | null | undefined;
19
21
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
20
22
  preferenceCaseId?: string | null | undefined;
21
23
  preferenceVariantId?: string | null | undefined;
@@ -28,6 +30,7 @@ export declare const CreateConversationMessagePayloadSchema: z.ZodObject<{
28
30
  status?: unknown;
29
31
  createdAt?: Date | null | undefined;
30
32
  body?: string | null | undefined;
33
+ metadata?: string | null | undefined;
31
34
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
32
35
  preferenceCaseId?: string | null | undefined;
33
36
  preferenceVariantId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateConversationMessagePayload.d.ts","sourceRoot":"","sources":["CreateConversationMessagePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA"}
1
+ {"version":3,"file":"CreateConversationMessagePayload.d.ts","sourceRoot":"","sources":["CreateConversationMessagePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAajD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA"}
@@ -13,6 +13,7 @@ export const CreateConversationMessagePayloadSchema = z.object({
13
13
  preferenceCaseId: z.string().nullish(),
14
14
  preferenceVariantId: z.string().nullish(),
15
15
  cost: z.number().nullish(),
16
+ metadata: z.string().nullish(),
16
17
  scheduledAt: z.coerce.date().nullish()
17
18
  });
18
19
  //# sourceMappingURL=CreateConversationMessagePayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateConversationMessagePayload.js","sourceRoot":"","sources":["CreateConversationMessagePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gCAAgC,EAAC,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAC,+BAA+B,EAAC,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,+BAA+B;IACvC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACpC,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACzC,CAAC,CAAA"}
1
+ {"version":3,"file":"CreateConversationMessagePayload.js","sourceRoot":"","sources":["CreateConversationMessagePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,gCAAgC,EAAC,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAC,+BAA+B,EAAC,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAC,uCAAuC,EAAC,MAAM,qCAAqC,CAAA;AAE3F,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,+BAA+B;IACvC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACpC,cAAc,EAAE,uCAAuC,CAAC,OAAO,EAAE;IACjE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACzC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CACzC,CAAC,CAAA"}
@@ -14,6 +14,7 @@ export const CreateConversationMessagePayloadSchema = z.object({
14
14
  preferenceCaseId: z.string().nullish(),
15
15
  preferenceVariantId: z.string().nullish(),
16
16
  cost: z.number().nullish(),
17
+ metadata: z.string().nullish(),
17
18
  scheduledAt: z.coerce.date().nullish()
18
19
  })
19
20
  export type CreateConversationMessagePayload = z.infer<typeof CreateConversationMessagePayloadSchema>
@@ -122,6 +122,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
122
122
  preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
123
123
  preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
124
  preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
126
  }, "strip", z.ZodTypeAny, {
126
127
  type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
127
128
  status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
@@ -151,6 +152,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
151
152
  } | null | undefined;
152
153
  index?: number | null | undefined;
153
154
  }[] | null | undefined;
155
+ metadata?: string | null | undefined;
154
156
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
155
157
  preferenceCaseId?: string | null | undefined;
156
158
  preferenceVariantId?: string | null | undefined;
@@ -198,6 +200,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
198
200
  } | null | undefined;
199
201
  index?: number | null | undefined;
200
202
  }[] | null | undefined;
203
+ metadata?: string | null | undefined;
201
204
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
202
205
  preferenceCaseId?: string | null | undefined;
203
206
  preferenceVariantId?: string | null | undefined;
@@ -250,6 +253,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
250
253
  } | null | undefined;
251
254
  index?: number | null | undefined;
252
255
  }[] | null | undefined;
256
+ metadata?: string | null | undefined;
253
257
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
254
258
  preferenceCaseId?: string | null | undefined;
255
259
  preferenceVariantId?: string | null | undefined;
@@ -302,6 +306,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
302
306
  } | null | undefined;
303
307
  index?: number | null | undefined;
304
308
  }[] | null | undefined;
309
+ metadata?: string | null | undefined;
305
310
  preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
306
311
  preferenceCaseId?: string | null | undefined;
307
312
  preferenceVariantId?: string | null | undefined;