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.
@@ -1,6 +1,7 @@
1
1
  export declare enum ServiceType {
2
- ON_DEMAND = "FULL",
3
- SUBSCRIPTION = "PRORATED"
2
+ INTEGRATION = "INTEGRATION",
3
+ ON_DEMAND = "ON_DEMAND",
4
+ RECURRING = "RECURRING"
4
5
  }
5
6
  export declare enum TaskStatus {
6
7
  PENDING = "PENDING",
@@ -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["ON_DEMAND"] = "FULL";
7
- ServiceType["SUBSCRIPTION"] = "PRORATED";
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)()),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.0.69",
4
+ "version": "1.0.70",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",