hububb-models 1.0.96 → 1.0.97
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts
CHANGED
@@ -6,6 +6,7 @@ export * from "./schemas/listing";
|
|
6
6
|
export * from "./schemas/calendar";
|
7
7
|
export * from "./schemas/apaleo/offer";
|
8
8
|
export * from "./schemas/apaleo/reservation";
|
9
|
+
export * from "./schemas/apaleo/service";
|
9
10
|
export * from "./schemas/channex/booking";
|
10
11
|
export * from "./schemas/channex/property";
|
11
12
|
export * from "./schemas/channex/thread";
|
@@ -17,6 +18,7 @@ export * from "./models/listing";
|
|
17
18
|
export * from "./models/calendar";
|
18
19
|
export * from "./models/apaleo/offer";
|
19
20
|
export * from "./models/apaleo/reservation";
|
21
|
+
export * from "./models/apaleo/service";
|
20
22
|
export * from "./models/channex/booking";
|
21
23
|
export * from "./models/channex/property";
|
22
24
|
export * from "./models/channex/thread";
|
package/dist/index.js
CHANGED
@@ -22,6 +22,7 @@ __exportStar(require("./schemas/listing"), exports);
|
|
22
22
|
__exportStar(require("./schemas/calendar"), exports);
|
23
23
|
__exportStar(require("./schemas/apaleo/offer"), exports);
|
24
24
|
__exportStar(require("./schemas/apaleo/reservation"), exports);
|
25
|
+
__exportStar(require("./schemas/apaleo/service"), exports);
|
25
26
|
__exportStar(require("./schemas/channex/booking"), exports);
|
26
27
|
__exportStar(require("./schemas/channex/property"), exports);
|
27
28
|
__exportStar(require("./schemas/channex/thread"), exports);
|
@@ -33,6 +34,7 @@ __exportStar(require("./models/listing"), exports);
|
|
33
34
|
__exportStar(require("./models/calendar"), exports);
|
34
35
|
__exportStar(require("./models/apaleo/offer"), exports);
|
35
36
|
__exportStar(require("./models/apaleo/reservation"), exports);
|
37
|
+
__exportStar(require("./models/apaleo/service"), exports);
|
36
38
|
__exportStar(require("./models/channex/booking"), exports);
|
37
39
|
__exportStar(require("./models/channex/property"), exports);
|
38
40
|
__exportStar(require("./models/channex/thread"), exports);
|
@@ -0,0 +1,28 @@
|
|
1
|
+
export declare const ApaleoServiceSchema: import("zod").ZodObject<{
|
2
|
+
serviceId: import("zod").ZodString;
|
3
|
+
grossPrice: import("zod").ZodObject<{
|
4
|
+
amount: import("zod").ZodNumber;
|
5
|
+
currency: import("zod").ZodString;
|
6
|
+
}, "strip", import("zod").ZodTypeAny, {
|
7
|
+
currency: string;
|
8
|
+
amount: number;
|
9
|
+
}, {
|
10
|
+
currency: string;
|
11
|
+
amount: number;
|
12
|
+
}>;
|
13
|
+
pricingMode: import("zod").ZodString;
|
14
|
+
}, "strip", import("zod").ZodTypeAny, {
|
15
|
+
serviceId: string;
|
16
|
+
grossPrice: {
|
17
|
+
currency: string;
|
18
|
+
amount: number;
|
19
|
+
};
|
20
|
+
pricingMode: string;
|
21
|
+
}, {
|
22
|
+
serviceId: string;
|
23
|
+
grossPrice: {
|
24
|
+
currency: string;
|
25
|
+
amount: number;
|
26
|
+
};
|
27
|
+
pricingMode: string;
|
28
|
+
}>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ApaleoServiceSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.ApaleoServiceSchema = (0, zod_1.object)({
|
6
|
+
serviceId: (0, zod_1.string)(),
|
7
|
+
grossPrice: (0, zod_1.object)({
|
8
|
+
amount: (0, zod_1.number)(),
|
9
|
+
currency: (0, zod_1.string)(),
|
10
|
+
}),
|
11
|
+
pricingMode: (0, zod_1.string)(),
|
12
|
+
});
|