controlresell 2.24.1 → 2.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/com/controlresell/models/conversations/Conversation.d.ts +8 -0
- 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/ConversationUpdate.d.ts +17 -0
- 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 +12 -0
- package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
- 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/users/ws/UserWsPayload.d.ts +34 -0
- 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
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -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,6 +426,7 @@ 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;
|
|
@@ -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,6 +538,7 @@ 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;
|
|
@@ -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>
|
|
@@ -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;
|
|
@@ -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,6 +428,7 @@ 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;
|
|
@@ -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,6 +540,7 @@ 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;
|
|
@@ -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,6 +874,7 @@ 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;
|
|
@@ -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,6 +1038,7 @@ 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;
|
|
@@ -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
|
|
@@ -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;
|
|
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>
|
|
@@ -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;
|
|
@@ -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,6 +439,7 @@ 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;
|
|
@@ -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,6 +551,7 @@ 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;
|
|
@@ -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,6 +668,7 @@ 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;
|
|
@@ -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,6 +790,7 @@ 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;
|
|
@@ -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
|
|
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"}
|
|
@@ -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
|
|
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;
|
|
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;
|
package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts.map
CHANGED
|
@@ -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
|
|
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
|
package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.js.map
CHANGED
|
@@ -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>
|
package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts
CHANGED
|
@@ -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
|
|
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"}
|
package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js
CHANGED
|
@@ -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
|
package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.js.map
CHANGED
|
@@ -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"}
|
package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.ts
CHANGED
|
@@ -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>
|
package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts
CHANGED
|
@@ -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;
|