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.
- package/package.json +2 -2
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +0 -7
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +108 -108
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +88 -88
- package/src/com/controlresell/models/conversations/Conversation.d.ts +17 -9
- package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.js +2 -1
- package/src/com/controlresell/models/conversations/Conversation.js.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.ts +2 -1
- package/src/com/controlresell/models/conversations/ConversationFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +11 -11
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +30 -13
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/UpdateConversationPayload.d.ts +3 -0
- package/src/com/controlresell/models/conversations/UpdateConversationPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/UpdateConversationPayload.js +2 -1
- package/src/com/controlresell/models/conversations/UpdateConversationPayload.js.map +1 -1
- package/src/com/controlresell/models/conversations/UpdateConversationPayload.ts +2 -1
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +25 -13
- package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -5
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -7
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -7
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -0
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.js +2 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.ts +2 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -0
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.js +1 -0
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.ts +1 -0
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -0
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js +1 -0
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.ts +1 -0
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -0
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
- package/src/com/controlresell/models/items/CreatedItems.d.ts +315 -315
- package/src/com/controlresell/models/items/Item.d.ts +169 -169
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +108 -108
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +315 -315
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +63 -63
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +63 -63
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +90 -90
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryImageProcessingDone.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryPublishedPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -5
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformBrandsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +228 -228
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +15 -15
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/RecomputeCategoryRequiredAttributesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -9
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +141 -141
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -7
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +119 -119
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +13 -0
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts.map +1 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.js +2 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.js.map +1 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.ts +2 -1
- package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -9
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -7
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +119 -119
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/UserOnPlatformRequest.d.ts +3 -3
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +19 -0
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +314 -242
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/index.d.ts +0 -1
- package/src/index.d.ts.map +1 -1
- package/src/index.js +0 -1
- package/src/index.js.map +1 -1
- package/src/index.ts +0 -1
- package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts +0 -10
- package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.d.ts.map +0 -1
- package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.js +0 -6
- package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.js.map +0 -1
- package/src/com/controlresell/models/conversations/messages/history/CreateConversationMessageStatusHistoryPayload.ts +0 -7
|
@@ -8,7 +8,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
8
8
|
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
userId: z.ZodNumber;
|
|
10
10
|
accountId: z.ZodString;
|
|
11
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
11
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -58,7 +58,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
58
58
|
name: string;
|
|
59
59
|
userId: number;
|
|
60
60
|
accountId: string;
|
|
61
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
61
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
62
62
|
locale?: string | null | undefined;
|
|
63
63
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
64
64
|
night?: {
|
|
@@ -85,7 +85,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
85
85
|
name: string;
|
|
86
86
|
userId: number;
|
|
87
87
|
accountId: string;
|
|
88
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
88
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
89
89
|
status?: unknown;
|
|
90
90
|
locale?: string | null | undefined;
|
|
91
91
|
lockReason?: unknown;
|
|
@@ -231,6 +231,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
231
231
|
preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
|
|
232
232
|
preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
233
|
preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
235
|
}, "strip", z.ZodTypeAny, {
|
|
235
236
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
236
237
|
status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -260,6 +261,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
260
261
|
} | null | undefined;
|
|
261
262
|
index?: number | null | undefined;
|
|
262
263
|
}[] | null | undefined;
|
|
264
|
+
metadata?: string | null | undefined;
|
|
263
265
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
264
266
|
preferenceCaseId?: string | null | undefined;
|
|
265
267
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -307,6 +309,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
307
309
|
} | null | undefined;
|
|
308
310
|
index?: number | null | undefined;
|
|
309
311
|
}[] | null | undefined;
|
|
312
|
+
metadata?: string | null | undefined;
|
|
310
313
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
311
314
|
preferenceCaseId?: string | null | undefined;
|
|
312
315
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -370,9 +373,9 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
370
373
|
login: string;
|
|
371
374
|
platformUserId: string;
|
|
372
375
|
email?: string | null | undefined;
|
|
376
|
+
location?: string | null | undefined;
|
|
373
377
|
reviewCount?: number | null | undefined;
|
|
374
378
|
reviewValue?: number | null | undefined;
|
|
375
|
-
location?: string | null | undefined;
|
|
376
379
|
billingName?: string | null | undefined;
|
|
377
380
|
billingAddressLine1?: string | null | undefined;
|
|
378
381
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -394,9 +397,9 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
394
397
|
login: string;
|
|
395
398
|
platformUserId: string;
|
|
396
399
|
email?: string | null | undefined;
|
|
400
|
+
location?: string | null | undefined;
|
|
397
401
|
reviewCount?: number | null | undefined;
|
|
398
402
|
reviewValue?: number | null | undefined;
|
|
399
|
-
location?: string | null | undefined;
|
|
400
403
|
billingName?: string | null | undefined;
|
|
401
404
|
billingAddressLine1?: string | null | undefined;
|
|
402
405
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -415,6 +418,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
415
418
|
}>, "many">>>;
|
|
416
419
|
lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
417
420
|
isPinned: z.ZodBoolean;
|
|
421
|
+
aiEnabled: z.ZodBoolean;
|
|
418
422
|
}, "strip", z.ZodTypeAny, {
|
|
419
423
|
id: string;
|
|
420
424
|
userId: number;
|
|
@@ -422,15 +426,16 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
422
426
|
updatedAt: Date;
|
|
423
427
|
platformConversationId: string;
|
|
424
428
|
isPinned: boolean;
|
|
429
|
+
aiEnabled: boolean;
|
|
425
430
|
users?: {
|
|
426
431
|
id: string;
|
|
427
432
|
conversationId: string;
|
|
428
433
|
login: string;
|
|
429
434
|
platformUserId: string;
|
|
430
435
|
email?: string | null | undefined;
|
|
436
|
+
location?: string | null | undefined;
|
|
431
437
|
reviewCount?: number | null | undefined;
|
|
432
438
|
reviewValue?: number | null | undefined;
|
|
433
|
-
location?: string | null | undefined;
|
|
434
439
|
billingName?: string | null | undefined;
|
|
435
440
|
billingAddressLine1?: string | null | undefined;
|
|
436
441
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -452,7 +457,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
452
457
|
name: string;
|
|
453
458
|
userId: number;
|
|
454
459
|
accountId: string;
|
|
455
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
460
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
456
461
|
locale?: string | null | undefined;
|
|
457
462
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
458
463
|
night?: {
|
|
@@ -506,6 +511,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
506
511
|
} | null | undefined;
|
|
507
512
|
index?: number | null | undefined;
|
|
508
513
|
}[] | null | undefined;
|
|
514
|
+
metadata?: string | null | undefined;
|
|
509
515
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
510
516
|
preferenceCaseId?: string | null | undefined;
|
|
511
517
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -532,15 +538,16 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
532
538
|
updatedAt: Date;
|
|
533
539
|
platformConversationId: string;
|
|
534
540
|
isPinned: boolean;
|
|
541
|
+
aiEnabled: boolean;
|
|
535
542
|
users?: {
|
|
536
543
|
id: string;
|
|
537
544
|
conversationId: string;
|
|
538
545
|
login: string;
|
|
539
546
|
platformUserId: string;
|
|
540
547
|
email?: string | null | undefined;
|
|
548
|
+
location?: string | null | undefined;
|
|
541
549
|
reviewCount?: number | null | undefined;
|
|
542
550
|
reviewValue?: number | null | undefined;
|
|
543
|
-
location?: string | null | undefined;
|
|
544
551
|
billingName?: string | null | undefined;
|
|
545
552
|
billingAddressLine1?: string | null | undefined;
|
|
546
553
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -561,7 +568,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
561
568
|
name: string;
|
|
562
569
|
userId: number;
|
|
563
570
|
accountId: string;
|
|
564
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
571
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
565
572
|
status?: unknown;
|
|
566
573
|
locale?: string | null | undefined;
|
|
567
574
|
lockReason?: unknown;
|
|
@@ -616,6 +623,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
616
623
|
} | null | undefined;
|
|
617
624
|
index?: number | null | undefined;
|
|
618
625
|
}[] | null | undefined;
|
|
626
|
+
metadata?: string | null | undefined;
|
|
619
627
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
620
628
|
preferenceCaseId?: string | null | undefined;
|
|
621
629
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -12,6 +12,7 @@ export const ConversationSchema = z.object({
|
|
|
12
12
|
lastMessage: ConversationMessageSchema.nullish(),
|
|
13
13
|
users: z.array(ConversationUserSchema).nullish(),
|
|
14
14
|
lastRead: z.coerce.date().nullish(),
|
|
15
|
-
isPinned: z.boolean()
|
|
15
|
+
isPinned: z.boolean(),
|
|
16
|
+
aiEnabled: z.boolean()
|
|
16
17
|
});
|
|
17
18
|
//# sourceMappingURL=Conversation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.js","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,oBAAoB,EAAC,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAC,yBAAyB,EAAC,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAA;AAE/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE;IACvC,WAAW,EAAE,yBAAyB,CAAC,OAAO,EAAE;IAChD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,OAAO,EAAE;IAChD,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"Conversation.js","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,oBAAoB,EAAC,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAC,yBAAyB,EAAC,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAA;AAE/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE;IAClC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE;IACvC,WAAW,EAAE,yBAAyB,CAAC,OAAO,EAAE;IAChD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,OAAO,EAAE;IAChD,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACnC,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;CACzB,CAAC,CAAA"}
|
|
@@ -13,6 +13,7 @@ export const ConversationSchema = z.object({
|
|
|
13
13
|
lastMessage: ConversationMessageSchema.nullish(),
|
|
14
14
|
users: z.array(ConversationUserSchema).nullish(),
|
|
15
15
|
lastRead: z.coerce.date().nullish(),
|
|
16
|
-
isPinned: z.boolean()
|
|
16
|
+
isPinned: z.boolean(),
|
|
17
|
+
aiEnabled: z.boolean()
|
|
17
18
|
})
|
|
18
19
|
export type Conversation = z.infer<typeof ConversationSchema>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ConversationFiltersContextSchema: z.ZodObject<{
|
|
3
3
|
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
4
|
-
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>, "many">>>;
|
|
4
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>, "many">>>;
|
|
5
5
|
hasNewMessages: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
6
|
isImportant: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
7
|
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
accountIds?: string[] | null | undefined;
|
|
10
|
-
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
10
|
+
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
11
11
|
isPinned?: boolean | null | undefined;
|
|
12
12
|
hasNewMessages?: boolean | null | undefined;
|
|
13
13
|
isImportant?: boolean | null | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
accountIds?: string[] | null | undefined;
|
|
16
|
-
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
16
|
+
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
17
17
|
isPinned?: boolean | null | undefined;
|
|
18
18
|
hasNewMessages?: boolean | null | undefined;
|
|
19
19
|
isImportant?: boolean | null | undefined;
|
|
@@ -85,6 +85,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
85
85
|
id: string;
|
|
86
86
|
login: string;
|
|
87
87
|
email?: string | null | undefined;
|
|
88
|
+
location?: string | null | undefined;
|
|
88
89
|
lastLoggedInAt?: Date | null | undefined;
|
|
89
90
|
isSystem?: boolean | null | undefined;
|
|
90
91
|
reviewCount?: number | null | undefined;
|
|
@@ -92,7 +93,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
92
93
|
isOnHoliday?: boolean | null | undefined;
|
|
93
94
|
isModerator?: boolean | null | undefined;
|
|
94
95
|
photo?: string | null | undefined;
|
|
95
|
-
location?: string | null | undefined;
|
|
96
96
|
billingName?: string | null | undefined;
|
|
97
97
|
billingAddressLine1?: string | null | undefined;
|
|
98
98
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -103,6 +103,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
103
103
|
id: string;
|
|
104
104
|
login: string;
|
|
105
105
|
email?: string | null | undefined;
|
|
106
|
+
location?: string | null | undefined;
|
|
106
107
|
lastLoggedInAt?: Date | null | undefined;
|
|
107
108
|
isSystem?: boolean | null | undefined;
|
|
108
109
|
reviewCount?: number | null | undefined;
|
|
@@ -110,7 +111,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
110
111
|
isOnHoliday?: boolean | null | undefined;
|
|
111
112
|
isModerator?: boolean | null | undefined;
|
|
112
113
|
photo?: string | null | undefined;
|
|
113
|
-
location?: string | null | undefined;
|
|
114
114
|
billingName?: string | null | undefined;
|
|
115
115
|
billingAddressLine1?: string | null | undefined;
|
|
116
116
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -599,6 +599,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
599
599
|
id: string;
|
|
600
600
|
login: string;
|
|
601
601
|
email?: string | null | undefined;
|
|
602
|
+
location?: string | null | undefined;
|
|
602
603
|
lastLoggedInAt?: Date | null | undefined;
|
|
603
604
|
isSystem?: boolean | null | undefined;
|
|
604
605
|
reviewCount?: number | null | undefined;
|
|
@@ -606,7 +607,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
606
607
|
isOnHoliday?: boolean | null | undefined;
|
|
607
608
|
isModerator?: boolean | null | undefined;
|
|
608
609
|
photo?: string | null | undefined;
|
|
609
|
-
location?: string | null | undefined;
|
|
610
610
|
billingName?: string | null | undefined;
|
|
611
611
|
billingAddressLine1?: string | null | undefined;
|
|
612
612
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -743,6 +743,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
743
743
|
id: string;
|
|
744
744
|
login: string;
|
|
745
745
|
email?: string | null | undefined;
|
|
746
|
+
location?: string | null | undefined;
|
|
746
747
|
lastLoggedInAt?: Date | null | undefined;
|
|
747
748
|
isSystem?: boolean | null | undefined;
|
|
748
749
|
reviewCount?: number | null | undefined;
|
|
@@ -750,7 +751,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
750
751
|
isOnHoliday?: boolean | null | undefined;
|
|
751
752
|
isModerator?: boolean | null | undefined;
|
|
752
753
|
photo?: string | null | undefined;
|
|
753
|
-
location?: string | null | undefined;
|
|
754
754
|
billingName?: string | null | undefined;
|
|
755
755
|
billingAddressLine1?: string | null | undefined;
|
|
756
756
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -810,7 +810,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
810
810
|
account: z.ZodObject<{
|
|
811
811
|
userId: z.ZodNumber;
|
|
812
812
|
accountId: z.ZodString;
|
|
813
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
813
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
814
814
|
name: z.ZodString;
|
|
815
815
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
816
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -860,7 +860,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
860
860
|
name: string;
|
|
861
861
|
userId: number;
|
|
862
862
|
accountId: string;
|
|
863
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
863
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
864
864
|
locale?: string | null | undefined;
|
|
865
865
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
866
866
|
night?: {
|
|
@@ -887,7 +887,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
887
887
|
name: string;
|
|
888
888
|
userId: number;
|
|
889
889
|
accountId: string;
|
|
890
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
890
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
891
891
|
status?: unknown;
|
|
892
892
|
locale?: string | null | undefined;
|
|
893
893
|
lockReason?: unknown;
|
|
@@ -994,6 +994,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
994
994
|
id: string;
|
|
995
995
|
login: string;
|
|
996
996
|
email?: string | null | undefined;
|
|
997
|
+
location?: string | null | undefined;
|
|
997
998
|
lastLoggedInAt?: Date | null | undefined;
|
|
998
999
|
isSystem?: boolean | null | undefined;
|
|
999
1000
|
reviewCount?: number | null | undefined;
|
|
@@ -1001,7 +1002,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1001
1002
|
isOnHoliday?: boolean | null | undefined;
|
|
1002
1003
|
isModerator?: boolean | null | undefined;
|
|
1003
1004
|
photo?: string | null | undefined;
|
|
1004
|
-
location?: string | null | undefined;
|
|
1005
1005
|
billingName?: string | null | undefined;
|
|
1006
1006
|
billingAddressLine1?: string | null | undefined;
|
|
1007
1007
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -1063,7 +1063,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1063
1063
|
name: string;
|
|
1064
1064
|
userId: number;
|
|
1065
1065
|
accountId: string;
|
|
1066
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1066
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1067
1067
|
locale?: string | null | undefined;
|
|
1068
1068
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
1069
1069
|
night?: {
|
|
@@ -1169,6 +1169,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1169
1169
|
id: string;
|
|
1170
1170
|
login: string;
|
|
1171
1171
|
email?: string | null | undefined;
|
|
1172
|
+
location?: string | null | undefined;
|
|
1172
1173
|
lastLoggedInAt?: Date | null | undefined;
|
|
1173
1174
|
isSystem?: boolean | null | undefined;
|
|
1174
1175
|
reviewCount?: number | null | undefined;
|
|
@@ -1176,7 +1177,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1176
1177
|
isOnHoliday?: boolean | null | undefined;
|
|
1177
1178
|
isModerator?: boolean | null | undefined;
|
|
1178
1179
|
photo?: string | null | undefined;
|
|
1179
|
-
location?: string | null | undefined;
|
|
1180
1180
|
billingName?: string | null | undefined;
|
|
1181
1181
|
billingAddressLine1?: string | null | undefined;
|
|
1182
1182
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -1237,7 +1237,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
1237
1237
|
name: string;
|
|
1238
1238
|
userId: number;
|
|
1239
1239
|
accountId: string;
|
|
1240
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1240
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1241
1241
|
status?: unknown;
|
|
1242
1242
|
locale?: string | null | undefined;
|
|
1243
1243
|
lockReason?: unknown;
|
|
@@ -10,7 +10,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
10
10
|
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
userId: z.ZodNumber;
|
|
12
12
|
accountId: z.ZodString;
|
|
13
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
13
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -60,7 +60,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
60
60
|
name: string;
|
|
61
61
|
userId: number;
|
|
62
62
|
accountId: string;
|
|
63
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
63
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
64
64
|
locale?: string | null | undefined;
|
|
65
65
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
66
66
|
night?: {
|
|
@@ -87,7 +87,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
87
87
|
name: string;
|
|
88
88
|
userId: number;
|
|
89
89
|
accountId: string;
|
|
90
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
90
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
91
91
|
status?: unknown;
|
|
92
92
|
locale?: string | null | undefined;
|
|
93
93
|
lockReason?: unknown;
|
|
@@ -233,6 +233,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
233
233
|
preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
|
|
234
234
|
preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
235
|
preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
237
|
}, "strip", z.ZodTypeAny, {
|
|
237
238
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
238
239
|
status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -262,6 +263,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
262
263
|
} | null | undefined;
|
|
263
264
|
index?: number | null | undefined;
|
|
264
265
|
}[] | null | undefined;
|
|
266
|
+
metadata?: string | null | undefined;
|
|
265
267
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
266
268
|
preferenceCaseId?: string | null | undefined;
|
|
267
269
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -309,6 +311,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
309
311
|
} | null | undefined;
|
|
310
312
|
index?: number | null | undefined;
|
|
311
313
|
}[] | null | undefined;
|
|
314
|
+
metadata?: string | null | undefined;
|
|
312
315
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
313
316
|
preferenceCaseId?: string | null | undefined;
|
|
314
317
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -372,9 +375,9 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
372
375
|
login: string;
|
|
373
376
|
platformUserId: string;
|
|
374
377
|
email?: string | null | undefined;
|
|
378
|
+
location?: string | null | undefined;
|
|
375
379
|
reviewCount?: number | null | undefined;
|
|
376
380
|
reviewValue?: number | null | undefined;
|
|
377
|
-
location?: string | null | undefined;
|
|
378
381
|
billingName?: string | null | undefined;
|
|
379
382
|
billingAddressLine1?: string | null | undefined;
|
|
380
383
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -396,9 +399,9 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
396
399
|
login: string;
|
|
397
400
|
platformUserId: string;
|
|
398
401
|
email?: string | null | undefined;
|
|
402
|
+
location?: string | null | undefined;
|
|
399
403
|
reviewCount?: number | null | undefined;
|
|
400
404
|
reviewValue?: number | null | undefined;
|
|
401
|
-
location?: string | null | undefined;
|
|
402
405
|
billingName?: string | null | undefined;
|
|
403
406
|
billingAddressLine1?: string | null | undefined;
|
|
404
407
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -417,6 +420,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
417
420
|
}>, "many">>>;
|
|
418
421
|
lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
419
422
|
isPinned: z.ZodBoolean;
|
|
423
|
+
aiEnabled: z.ZodBoolean;
|
|
420
424
|
}, "strip", z.ZodTypeAny, {
|
|
421
425
|
id: string;
|
|
422
426
|
userId: number;
|
|
@@ -424,15 +428,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
424
428
|
updatedAt: Date;
|
|
425
429
|
platformConversationId: string;
|
|
426
430
|
isPinned: boolean;
|
|
431
|
+
aiEnabled: boolean;
|
|
427
432
|
users?: {
|
|
428
433
|
id: string;
|
|
429
434
|
conversationId: string;
|
|
430
435
|
login: string;
|
|
431
436
|
platformUserId: string;
|
|
432
437
|
email?: string | null | undefined;
|
|
438
|
+
location?: string | null | undefined;
|
|
433
439
|
reviewCount?: number | null | undefined;
|
|
434
440
|
reviewValue?: number | null | undefined;
|
|
435
|
-
location?: string | null | undefined;
|
|
436
441
|
billingName?: string | null | undefined;
|
|
437
442
|
billingAddressLine1?: string | null | undefined;
|
|
438
443
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -454,7 +459,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
454
459
|
name: string;
|
|
455
460
|
userId: number;
|
|
456
461
|
accountId: string;
|
|
457
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
462
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
458
463
|
locale?: string | null | undefined;
|
|
459
464
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
460
465
|
night?: {
|
|
@@ -508,6 +513,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
508
513
|
} | null | undefined;
|
|
509
514
|
index?: number | null | undefined;
|
|
510
515
|
}[] | null | undefined;
|
|
516
|
+
metadata?: string | null | undefined;
|
|
511
517
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
512
518
|
preferenceCaseId?: string | null | undefined;
|
|
513
519
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -534,15 +540,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
534
540
|
updatedAt: Date;
|
|
535
541
|
platformConversationId: string;
|
|
536
542
|
isPinned: boolean;
|
|
543
|
+
aiEnabled: boolean;
|
|
537
544
|
users?: {
|
|
538
545
|
id: string;
|
|
539
546
|
conversationId: string;
|
|
540
547
|
login: string;
|
|
541
548
|
platformUserId: string;
|
|
542
549
|
email?: string | null | undefined;
|
|
550
|
+
location?: string | null | undefined;
|
|
543
551
|
reviewCount?: number | null | undefined;
|
|
544
552
|
reviewValue?: number | null | undefined;
|
|
545
|
-
location?: string | null | undefined;
|
|
546
553
|
billingName?: string | null | undefined;
|
|
547
554
|
billingAddressLine1?: string | null | undefined;
|
|
548
555
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -563,7 +570,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
563
570
|
name: string;
|
|
564
571
|
userId: number;
|
|
565
572
|
accountId: string;
|
|
566
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
573
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
567
574
|
status?: unknown;
|
|
568
575
|
locale?: string | null | undefined;
|
|
569
576
|
lockReason?: unknown;
|
|
@@ -618,6 +625,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
618
625
|
} | null | undefined;
|
|
619
626
|
index?: number | null | undefined;
|
|
620
627
|
}[] | null | undefined;
|
|
628
|
+
metadata?: string | null | undefined;
|
|
621
629
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
622
630
|
preferenceCaseId?: string | null | undefined;
|
|
623
631
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -759,6 +767,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
759
767
|
preferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EXTERNAL", "FAVORITES", "NEGOTIATION", "QUESTIONS", "AUTOMATIC_REMINDER", "BUYER_PAID", "ORDER_DELIVERED", "ITEM_NO_LONGER_AVAILABLE"]>>>;
|
|
760
768
|
preferenceCaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
769
|
preferenceVariantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
770
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
771
|
}, "strip", z.ZodTypeAny, {
|
|
763
772
|
type: "UNKNOWN" | "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
764
773
|
status: "UNKNOWN" | "CANCELED" | "SCHEDULED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | "SEEN";
|
|
@@ -788,6 +797,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
788
797
|
} | null | undefined;
|
|
789
798
|
index?: number | null | undefined;
|
|
790
799
|
}[] | null | undefined;
|
|
800
|
+
metadata?: string | null | undefined;
|
|
791
801
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
792
802
|
preferenceCaseId?: string | null | undefined;
|
|
793
803
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -835,6 +845,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
835
845
|
} | null | undefined;
|
|
836
846
|
index?: number | null | undefined;
|
|
837
847
|
}[] | null | undefined;
|
|
848
|
+
metadata?: string | null | undefined;
|
|
838
849
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
839
850
|
preferenceCaseId?: string | null | undefined;
|
|
840
851
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -863,15 +874,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
863
874
|
updatedAt: Date;
|
|
864
875
|
platformConversationId: string;
|
|
865
876
|
isPinned: boolean;
|
|
877
|
+
aiEnabled: boolean;
|
|
866
878
|
users?: {
|
|
867
879
|
id: string;
|
|
868
880
|
conversationId: string;
|
|
869
881
|
login: string;
|
|
870
882
|
platformUserId: string;
|
|
871
883
|
email?: string | null | undefined;
|
|
884
|
+
location?: string | null | undefined;
|
|
872
885
|
reviewCount?: number | null | undefined;
|
|
873
886
|
reviewValue?: number | null | undefined;
|
|
874
|
-
location?: string | null | undefined;
|
|
875
887
|
billingName?: string | null | undefined;
|
|
876
888
|
billingAddressLine1?: string | null | undefined;
|
|
877
889
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -893,7 +905,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
893
905
|
name: string;
|
|
894
906
|
userId: number;
|
|
895
907
|
accountId: string;
|
|
896
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
908
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
897
909
|
locale?: string | null | undefined;
|
|
898
910
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
899
911
|
night?: {
|
|
@@ -947,6 +959,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
947
959
|
} | null | undefined;
|
|
948
960
|
index?: number | null | undefined;
|
|
949
961
|
}[] | null | undefined;
|
|
962
|
+
metadata?: string | null | undefined;
|
|
950
963
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
951
964
|
preferenceCaseId?: string | null | undefined;
|
|
952
965
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -996,6 +1009,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
996
1009
|
} | null | undefined;
|
|
997
1010
|
index?: number | null | undefined;
|
|
998
1011
|
}[] | null | undefined;
|
|
1012
|
+
metadata?: string | null | undefined;
|
|
999
1013
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1000
1014
|
preferenceCaseId?: string | null | undefined;
|
|
1001
1015
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -1024,15 +1038,16 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1024
1038
|
updatedAt: Date;
|
|
1025
1039
|
platformConversationId: string;
|
|
1026
1040
|
isPinned: boolean;
|
|
1041
|
+
aiEnabled: boolean;
|
|
1027
1042
|
users?: {
|
|
1028
1043
|
id: string;
|
|
1029
1044
|
conversationId: string;
|
|
1030
1045
|
login: string;
|
|
1031
1046
|
platformUserId: string;
|
|
1032
1047
|
email?: string | null | undefined;
|
|
1048
|
+
location?: string | null | undefined;
|
|
1033
1049
|
reviewCount?: number | null | undefined;
|
|
1034
1050
|
reviewValue?: number | null | undefined;
|
|
1035
|
-
location?: string | null | undefined;
|
|
1036
1051
|
billingName?: string | null | undefined;
|
|
1037
1052
|
billingAddressLine1?: string | null | undefined;
|
|
1038
1053
|
billingAddressLine2?: string | null | undefined;
|
|
@@ -1053,7 +1068,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1053
1068
|
name: string;
|
|
1054
1069
|
userId: number;
|
|
1055
1070
|
accountId: string;
|
|
1056
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1071
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1057
1072
|
status?: unknown;
|
|
1058
1073
|
locale?: string | null | undefined;
|
|
1059
1074
|
lockReason?: unknown;
|
|
@@ -1108,6 +1123,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1108
1123
|
} | null | undefined;
|
|
1109
1124
|
index?: number | null | undefined;
|
|
1110
1125
|
}[] | null | undefined;
|
|
1126
|
+
metadata?: string | null | undefined;
|
|
1111
1127
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1112
1128
|
preferenceCaseId?: string | null | undefined;
|
|
1113
1129
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -1157,6 +1173,7 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
1157
1173
|
} | null | undefined;
|
|
1158
1174
|
index?: number | null | undefined;
|
|
1159
1175
|
}[] | null | undefined;
|
|
1176
|
+
metadata?: string | null | undefined;
|
|
1160
1177
|
preferenceType?: "QUESTIONS" | "BUYER_PAID" | "EXTERNAL" | "FAVORITES" | "NEGOTIATION" | "AUTOMATIC_REMINDER" | "ORDER_DELIVERED" | "ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
1161
1178
|
preferenceCaseId?: string | null | undefined;
|
|
1162
1179
|
preferenceVariantId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationUpdate.d.ts","sourceRoot":"","sources":["ConversationUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"ConversationUpdate.d.ts","sourceRoot":"","sources":["ConversationUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -3,14 +3,17 @@ export declare const UpdateConversationPayloadSchema: z.ZodObject<{
|
|
|
3
3
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
4
4
|
lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5
5
|
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
+
aiEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
updatedAt?: Date | null | undefined;
|
|
8
9
|
lastRead?: Date | null | undefined;
|
|
9
10
|
isPinned?: boolean | null | undefined;
|
|
11
|
+
aiEnabled?: boolean | null | undefined;
|
|
10
12
|
}, {
|
|
11
13
|
updatedAt?: Date | null | undefined;
|
|
12
14
|
lastRead?: Date | null | undefined;
|
|
13
15
|
isPinned?: boolean | null | undefined;
|
|
16
|
+
aiEnabled?: boolean | null | undefined;
|
|
14
17
|
}>;
|
|
15
18
|
export type UpdateConversationPayload = z.infer<typeof UpdateConversationPayloadSchema>;
|
|
16
19
|
//# sourceMappingURL=UpdateConversationPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateConversationPayload.d.ts","sourceRoot":"","sources":["UpdateConversationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"UpdateConversationPayload.d.ts","sourceRoot":"","sources":["UpdateConversationPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAK1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export const UpdateConversationPayloadSchema = z.object({
|
|
3
3
|
updatedAt: z.coerce.date().nullish(),
|
|
4
4
|
lastRead: z.coerce.date().nullish(),
|
|
5
|
-
isPinned: z.boolean().nullish()
|
|
5
|
+
isPinned: z.boolean().nullish(),
|
|
6
|
+
aiEnabled: z.boolean().nullish()
|
|
6
7
|
});
|
|
7
8
|
//# sourceMappingURL=UpdateConversationPayload.js.map
|