hububb-saas-shared 1.0.52 → 1.0.53

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) {
@@ -7,6 +7,7 @@ export declare const propertyChannelSchema: import("zod").ZodObject<{
7
7
  status: import("zod").ZodString;
8
8
  createdAt: import("zod").ZodDate;
9
9
  updatedAt: import("zod").ZodDate;
10
+ accountName: import("zod").ZodOptional<import("zod").ZodString>;
10
11
  }, "strip", import("zod").ZodTypeAny, {
11
12
  id: number;
12
13
  status: string;
@@ -16,6 +17,7 @@ export declare const propertyChannelSchema: import("zod").ZodObject<{
16
17
  channelId: number;
17
18
  propertyId: number;
18
19
  otaId: string;
20
+ accountName?: string | undefined;
19
21
  }, {
20
22
  id: number;
21
23
  status: string;
@@ -25,4 +27,5 @@ export declare const propertyChannelSchema: import("zod").ZodObject<{
25
27
  channelId: number;
26
28
  propertyId: number;
27
29
  otaId: string;
30
+ accountName?: string | undefined;
28
31
  }>;
@@ -11,4 +11,5 @@ exports.propertyChannelSchema = (0, zod_1.object)({
11
11
  status: (0, zod_1.string)(),
12
12
  createdAt: (0, zod_1.date)(),
13
13
  updatedAt: (0, zod_1.date)(),
14
+ accountName: (0, zod_1.string)().optional(),
14
15
  });
@@ -10,6 +10,7 @@ export declare const subscriptionServiceSchema: import("zod").ZodObject<{
10
10
  canceledAt: import("zod").ZodOptional<import("zod").ZodDate>;
11
11
  lastBilledAt: import("zod").ZodOptional<import("zod").ZodDate>;
12
12
  nextBillingDate: import("zod").ZodOptional<import("zod").ZodDate>;
13
+ accountName: import("zod").ZodOptional<import("zod").ZodString>;
13
14
  createdAt: import("zod").ZodDate;
14
15
  updatedAt: import("zod").ZodDate;
15
16
  }, "strip", import("zod").ZodTypeAny, {
@@ -22,6 +23,7 @@ export declare const subscriptionServiceSchema: import("zod").ZodObject<{
22
23
  stripePriceId: string;
23
24
  propertyId: number;
24
25
  subscriptionId: string;
26
+ accountName?: string | undefined;
25
27
  canceledAt?: Date | undefined;
26
28
  lastBilledAt?: Date | undefined;
27
29
  nextBillingDate?: Date | undefined;
@@ -35,6 +37,7 @@ export declare const subscriptionServiceSchema: import("zod").ZodObject<{
35
37
  stripePriceId: string;
36
38
  propertyId: number;
37
39
  subscriptionId: string;
40
+ accountName?: string | undefined;
38
41
  canceledAt?: Date | undefined;
39
42
  lastBilledAt?: Date | undefined;
40
43
  nextBillingDate?: Date | undefined;
@@ -14,6 +14,7 @@ exports.subscriptionServiceSchema = (0, zod_1.object)({
14
14
  canceledAt: (0, zod_1.date)().optional(),
15
15
  lastBilledAt: (0, zod_1.date)().optional(),
16
16
  nextBillingDate: (0, zod_1.date)().optional(),
17
+ accountName: (0, zod_1.string)().optional(),
17
18
  createdAt: (0, zod_1.date)(),
18
19
  updatedAt: (0, zod_1.date)(),
19
20
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.0.52",
4
+ "version": "1.0.53",
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",