hububb-models 1.0.96 → 1.0.98
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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/apaleo/service.d.ts +3 -0
- package/dist/models/apaleo/service.js +2 -0
- package/dist/schemas/apaleo/service.d.ts +28 -0
- package/dist/schemas/apaleo/service.js +12 -0
- package/dist/schemas/listing.d.ts +6 -0
- package/dist/schemas/listing.js +2 -0
- package/package.json +1 -1
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
|
+
});
|
@@ -508,6 +508,8 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
508
508
|
childIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
509
509
|
city: import("zod").ZodOptional<import("zod").ZodString>;
|
510
510
|
landlordId: import("zod").ZodOptional<import("zod").ZodString>;
|
511
|
+
apaleoPropertyId: import("zod").ZodOptional<import("zod").ZodString>;
|
512
|
+
apaleoUnitGroupId: import("zod").ZodOptional<import("zod").ZodString>;
|
511
513
|
}, "strip", import("zod").ZodTypeAny, {
|
512
514
|
address: {
|
513
515
|
full: string;
|
@@ -633,6 +635,8 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
633
635
|
parentId?: string | undefined;
|
634
636
|
childIds?: string[] | undefined;
|
635
637
|
landlordId?: string | undefined;
|
638
|
+
apaleoPropertyId?: string | undefined;
|
639
|
+
apaleoUnitGroupId?: string | undefined;
|
636
640
|
}, {
|
637
641
|
address: {
|
638
642
|
full: string;
|
@@ -758,4 +762,6 @@ export declare const ListingSchema: import("zod").ZodObject<{
|
|
758
762
|
parentId?: string | undefined;
|
759
763
|
childIds?: string[] | undefined;
|
760
764
|
landlordId?: string | undefined;
|
765
|
+
apaleoPropertyId?: string | undefined;
|
766
|
+
apaleoUnitGroupId?: string | undefined;
|
761
767
|
}>;
|
package/dist/schemas/listing.js
CHANGED
@@ -120,4 +120,6 @@ exports.ListingSchema = (0, zod_1.object)({
|
|
120
120
|
childIds: (0, zod_1.optional)((0, zod_1.array)((0, zod_1.string)())),
|
121
121
|
city: (0, zod_1.optional)((0, zod_1.string)()),
|
122
122
|
landlordId: (0, zod_1.optional)((0, zod_1.string)()),
|
123
|
+
apaleoPropertyId: (0, zod_1.optional)((0, zod_1.string)()),
|
124
|
+
apaleoUnitGroupId: (0, zod_1.optional)((0, zod_1.string)()),
|
123
125
|
});
|