hububb-saas-shared 1.0.95 → 1.0.97
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/dist/schemas/enums/index.d.ts +3 -2
- package/dist/schemas/enums/index.js +3 -2
- package/dist/schemas/property/index.d.ts +18 -0
- package/dist/schemas/property/index.js +4 -0
- package/dist/schemas/rate-plan/index.d.ts +3 -0
- package/dist/schemas/rate-plan/index.js +1 -0
- package/dist/schemas/room/index.d.ts +3 -0
- package/dist/schemas/room/index.js +1 -0
- package/dist/types/rate-plan/index.d.ts +2 -0
- package/dist/types/room/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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) {
|
|
@@ -233,6 +233,16 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
233
233
|
thumbnailUrl: string;
|
|
234
234
|
sortOrder: number;
|
|
235
235
|
}>, "many">>;
|
|
236
|
+
room: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
id: z.ZodNumber;
|
|
238
|
+
title: z.ZodString;
|
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
|
240
|
+
id: number;
|
|
241
|
+
title: string;
|
|
242
|
+
}, {
|
|
243
|
+
id: number;
|
|
244
|
+
title: string;
|
|
245
|
+
}>>;
|
|
236
246
|
}, "strip", z.ZodTypeAny, {
|
|
237
247
|
address?: {
|
|
238
248
|
state?: string | undefined;
|
|
@@ -289,6 +299,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
289
299
|
thumbnailUrl: string;
|
|
290
300
|
sortOrder: number;
|
|
291
301
|
}[] | undefined;
|
|
302
|
+
room?: {
|
|
303
|
+
id: number;
|
|
304
|
+
title: string;
|
|
305
|
+
} | undefined;
|
|
292
306
|
}, {
|
|
293
307
|
address?: {
|
|
294
308
|
state?: string | undefined;
|
|
@@ -345,4 +359,8 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
345
359
|
thumbnailUrl: string;
|
|
346
360
|
sortOrder: number;
|
|
347
361
|
}[] | undefined;
|
|
362
|
+
room?: {
|
|
363
|
+
id: number;
|
|
364
|
+
title: string;
|
|
365
|
+
} | undefined;
|
|
348
366
|
}>;
|
|
@@ -8,6 +8,7 @@ export declare const ratePlanSchema: import("zod").ZodObject<{
|
|
|
8
8
|
channexRatePlanId: import("zod").ZodString;
|
|
9
9
|
createdAt: import("zod").ZodDate;
|
|
10
10
|
updatedAt: import("zod").ZodDate;
|
|
11
|
+
originalRatePlanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
11
12
|
}, "strip", import("zod").ZodTypeAny, {
|
|
12
13
|
currency: string;
|
|
13
14
|
name: string;
|
|
@@ -18,6 +19,7 @@ export declare const ratePlanSchema: import("zod").ZodObject<{
|
|
|
18
19
|
occupancy: number;
|
|
19
20
|
rate: number;
|
|
20
21
|
channexRatePlanId: string;
|
|
22
|
+
originalRatePlanId?: number | null | undefined;
|
|
21
23
|
}, {
|
|
22
24
|
currency: string;
|
|
23
25
|
name: string;
|
|
@@ -28,4 +30,5 @@ export declare const ratePlanSchema: import("zod").ZodObject<{
|
|
|
28
30
|
occupancy: number;
|
|
29
31
|
rate: number;
|
|
30
32
|
channexRatePlanId: string;
|
|
33
|
+
originalRatePlanId?: number | null | undefined;
|
|
31
34
|
}>;
|
|
@@ -9,6 +9,7 @@ export declare const roomSchema: import("zod").ZodObject<{
|
|
|
9
9
|
updatedAt: import("zod").ZodDate;
|
|
10
10
|
propertyId: import("zod").ZodNumber;
|
|
11
11
|
channexId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
12
|
+
originalRoomId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
12
13
|
}, "strip", import("zod").ZodTypeAny, {
|
|
13
14
|
id: number;
|
|
14
15
|
title: string;
|
|
@@ -20,6 +21,7 @@ export declare const roomSchema: import("zod").ZodObject<{
|
|
|
20
21
|
infants: number;
|
|
21
22
|
count: number;
|
|
22
23
|
channexId?: string | null | undefined;
|
|
24
|
+
originalRoomId?: number | null | undefined;
|
|
23
25
|
}, {
|
|
24
26
|
id: number;
|
|
25
27
|
title: string;
|
|
@@ -31,4 +33,5 @@ export declare const roomSchema: import("zod").ZodObject<{
|
|
|
31
33
|
infants: number;
|
|
32
34
|
count: number;
|
|
33
35
|
channexId?: string | null | undefined;
|
|
36
|
+
originalRoomId?: number | null | undefined;
|
|
34
37
|
}>;
|