hububb-saas-shared 1.0.54 → 1.0.55

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,7 +1,6 @@
1
1
  export declare enum ServiceType {
2
- INTEGRATION = "INTEGRATION",
3
- ON_DEMAND = "ON_DEMAND",
4
- RECURRING = "RECURRING"
2
+ ON_DEMAND = "FULL",
3
+ SUBSCRIPTION = "PRORATED"
5
4
  }
6
5
  export declare enum TaskStatus {
7
6
  PENDING = "PENDING",
@@ -3,9 +3,8 @@ 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["INTEGRATION"] = "INTEGRATION";
7
- ServiceType["ON_DEMAND"] = "ON_DEMAND";
8
- ServiceType["RECURRING"] = "RECURRING";
6
+ ServiceType["ON_DEMAND"] = "FULL";
7
+ ServiceType["SUBSCRIPTION"] = "PRORATED";
9
8
  })(ServiceType || (exports.ServiceType = ServiceType = {}));
10
9
  var TaskStatus;
11
10
  (function (TaskStatus) {
@@ -64,6 +64,7 @@ export declare const ReservationSchema: z.ZodObject<{
64
64
  checkedInMark: z.ZodOptional<z.ZodDate>;
65
65
  checkedOutMark: z.ZodOptional<z.ZodDate>;
66
66
  threadId: z.ZodOptional<z.ZodString>;
67
+ paymentLink: z.ZodOptional<z.ZodString>;
67
68
  }, "strip", z.ZodTypeAny, {
68
69
  currency: string;
69
70
  id: number;
@@ -87,6 +88,7 @@ export declare const ReservationSchema: z.ZodObject<{
87
88
  checkedInMark?: Date | undefined;
88
89
  checkedOutMark?: Date | undefined;
89
90
  threadId?: string | undefined;
91
+ paymentLink?: string | undefined;
90
92
  }, {
91
93
  currency: string;
92
94
  id: number;
@@ -110,4 +112,5 @@ export declare const ReservationSchema: z.ZodObject<{
110
112
  checkedInMark?: Date | undefined;
111
113
  checkedOutMark?: Date | undefined;
112
114
  threadId?: string | undefined;
115
+ paymentLink?: string | undefined;
113
116
  }>;
@@ -41,4 +41,5 @@ exports.ReservationSchema = zod_1.z.object({
41
41
  checkedInMark: zod_1.z.date().optional(),
42
42
  checkedOutMark: zod_1.z.date().optional(),
43
43
  threadId: zod_1.z.string().optional(),
44
+ paymentLink: zod_1.z.string().optional(),
44
45
  });
@@ -307,6 +307,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
307
307
  checkedInMark: import("zod").ZodOptional<import("zod").ZodDate>;
308
308
  checkedOutMark: import("zod").ZodOptional<import("zod").ZodDate>;
309
309
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
310
+ paymentLink: import("zod").ZodOptional<import("zod").ZodString>;
310
311
  }, "id" | "status" | "otaName" | "propertyId" | "checkIn" | "checkOut">, {
311
312
  propertyNickname: import("zod").ZodOptional<import("zod").ZodString>;
312
313
  property: import("zod").ZodOptional<import("zod").ZodObject<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.0.54",
4
+ "version": "1.0.55",
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",