hububb-saas-shared 1.0.69 → 1.0.70
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.
|
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
|
|
4
4
|
var ServiceType;
|
|
5
5
|
(function (ServiceType) {
|
|
6
|
-
ServiceType["
|
|
7
|
-
ServiceType["
|
|
6
|
+
ServiceType["INTEGRATION"] = "INTEGRATION";
|
|
7
|
+
ServiceType["ON_DEMAND"] = "ON_DEMAND";
|
|
8
|
+
ServiceType["RECURRING"] = "RECURRING";
|
|
8
9
|
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
9
10
|
var TaskStatus;
|
|
10
11
|
(function (TaskStatus) {
|
|
@@ -481,6 +481,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
481
481
|
isInquiryThread: z.ZodOptional<z.ZodBoolean>;
|
|
482
482
|
whatsappTemplateSent: z.ZodOptional<z.ZodBoolean>;
|
|
483
483
|
whatsappUserReplied: z.ZodOptional<z.ZodBoolean>;
|
|
484
|
+
lastWhatsappMessageSentAt: z.ZodOptional<z.ZodType<admin.firestore.Timestamp, z.ZodTypeDef, admin.firestore.Timestamp>>;
|
|
484
485
|
}, "strip", z.ZodTypeAny, {
|
|
485
486
|
type: "ONE_TO_ONE" | "GROUP";
|
|
486
487
|
createdAt: admin.firestore.Timestamp;
|
|
@@ -582,6 +583,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
582
583
|
isInquiryThread?: boolean | undefined;
|
|
583
584
|
whatsappTemplateSent?: boolean | undefined;
|
|
584
585
|
whatsappUserReplied?: boolean | undefined;
|
|
586
|
+
lastWhatsappMessageSentAt?: admin.firestore.Timestamp | undefined;
|
|
585
587
|
}, {
|
|
586
588
|
type: "ONE_TO_ONE" | "GROUP";
|
|
587
589
|
createdAt: admin.firestore.Timestamp;
|
|
@@ -683,6 +685,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
683
685
|
isInquiryThread?: boolean | undefined;
|
|
684
686
|
whatsappTemplateSent?: boolean | undefined;
|
|
685
687
|
whatsappUserReplied?: boolean | undefined;
|
|
688
|
+
lastWhatsappMessageSentAt?: admin.firestore.Timestamp | undefined;
|
|
686
689
|
}>;
|
|
687
690
|
export declare const MessageAutomationTemplateSchema: z.ZodObject<{
|
|
688
691
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -93,6 +93,7 @@ exports.ChatThreadSchema = (0, zod_1.object)({
|
|
|
93
93
|
isInquiryThread: (0, zod_1.optional)((0, zod_1.boolean)()),
|
|
94
94
|
whatsappTemplateSent: (0, zod_1.optional)((0, zod_1.boolean)()),
|
|
95
95
|
whatsappUserReplied: (0, zod_1.optional)((0, zod_1.boolean)()),
|
|
96
|
+
lastWhatsappMessageSentAt: (0, zod_1.optional)(zod_1.z.instanceof(admin.firestore.Timestamp)),
|
|
96
97
|
});
|
|
97
98
|
exports.MessageAutomationTemplateSchema = (0, zod_1.object)({
|
|
98
99
|
id: (0, zod_1.optional)((0, zod_1.string)()),
|