@kohost/api-client 4.11.0 → 4.11.1
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/amqpClient.cjs.map +1 -1
- package/dist/amqpClient.js +1 -1
- package/dist/{chunk-4RGKXRCC.js → chunk-3T7O6SSX.js} +1 -1
- package/dist/chunk-3T7O6SSX.js.map +1 -0
- package/dist/{chunk-EFDNWLMA.js → chunk-44FUQXMY.js} +1 -1
- package/dist/chunk-44FUQXMY.js.map +1 -0
- package/dist/{chunk-HAZA2CC4.js → chunk-4JPS6JAG.js} +1 -1
- package/dist/chunk-4JPS6JAG.js.map +1 -0
- package/dist/{chunk-VWZZQPYF.js → chunk-5GYG24VQ.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js → chunk-5QBIGY4H.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js.map → chunk-5QBIGY4H.js.map} +1 -1
- package/dist/{chunk-4E6X4AWF.js → chunk-5UTH7OAH.js} +1 -1
- package/dist/chunk-5UTH7OAH.js.map +1 -0
- package/dist/{chunk-UBBFO4DV.js → chunk-7AFOPOH6.js} +1 -1
- package/dist/chunk-7AFOPOH6.js.map +1 -0
- package/dist/{chunk-5IUMCO6K.js → chunk-AHC2WGJE.js} +1 -1
- package/dist/chunk-AHC2WGJE.js.map +1 -0
- package/dist/{chunk-AT5O6OJM.js → chunk-BDSQQ6HP.js} +1 -1
- package/dist/chunk-BDSQQ6HP.js.map +1 -0
- package/dist/{chunk-CW272SBN.js → chunk-BHKQEUCN.js} +1 -1
- package/dist/{chunk-CW272SBN.js.map → chunk-BHKQEUCN.js.map} +1 -1
- package/dist/{chunk-KE6CXWXD.js → chunk-BSJSKTKW.js} +1 -1
- package/dist/chunk-BSJSKTKW.js.map +1 -0
- package/dist/{chunk-QUHOFRXV.js → chunk-C5BVAUUD.js} +1 -1
- package/dist/chunk-C5BVAUUD.js.map +1 -0
- package/dist/{chunk-2UB3LUDU.js → chunk-DYI5AGYE.js} +1 -1
- package/dist/chunk-DYI5AGYE.js.map +1 -0
- package/dist/{chunk-E74W6L7V.js → chunk-EQRRWEUV.js} +1 -1
- package/dist/chunk-EQRRWEUV.js.map +1 -0
- package/dist/{chunk-5QKL3YIQ.js → chunk-GGDJAKJZ.js} +1 -1
- package/dist/{chunk-5QKL3YIQ.js.map → chunk-GGDJAKJZ.js.map} +1 -1
- package/dist/{chunk-IDRUXPFD.js → chunk-GOX3QHII.js} +1 -1
- package/dist/{chunk-IDRUXPFD.js.map → chunk-GOX3QHII.js.map} +1 -1
- package/dist/{chunk-IVOUXLE7.js → chunk-GXHDNNEZ.js} +1 -1
- package/dist/chunk-GXHDNNEZ.js.map +1 -0
- package/dist/{chunk-3AH7ESNC.js → chunk-J2AC6RFR.js} +1 -1
- package/dist/chunk-J2AC6RFR.js.map +1 -0
- package/dist/{chunk-3JL7QMK4.js → chunk-JF2EVZYA.js} +1 -1
- package/dist/chunk-JF2EVZYA.js.map +1 -0
- package/dist/{chunk-VX4FUPNL.js → chunk-JGB2IDZ6.js} +1 -1
- package/dist/chunk-JGB2IDZ6.js.map +1 -0
- package/dist/{chunk-4JJEZYIX.js → chunk-LKIPRLBQ.js} +1 -1
- package/dist/chunk-LKIPRLBQ.js.map +1 -0
- package/dist/{chunk-TLXGHYP5.js → chunk-M7J5VN2K.js} +1 -1
- package/dist/{chunk-TLXGHYP5.js.map → chunk-M7J5VN2K.js.map} +1 -1
- package/dist/{chunk-WNUSIEB4.js → chunk-NVHDJTCZ.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js → chunk-O3T2FO7O.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js.map → chunk-O3T2FO7O.js.map} +1 -1
- package/dist/{chunk-XO5U52AY.js → chunk-OEO6RXVP.js} +1 -1
- package/dist/chunk-OEO6RXVP.js.map +1 -0
- package/dist/{chunk-BRMQZWQQ.js → chunk-QAOGHEYG.js} +1 -1
- package/dist/chunk-QAOGHEYG.js.map +1 -0
- package/dist/{chunk-OYGGJUZ2.js → chunk-S5OTB2OU.js} +1 -1
- package/dist/chunk-S5OTB2OU.js.map +1 -0
- package/dist/{chunk-O3P2AKRX.js → chunk-STZLODEY.js} +1 -1
- package/dist/chunk-STZLODEY.js.map +1 -0
- package/dist/{chunk-BORTGG46.js → chunk-T7ZYREDK.js} +1 -1
- package/dist/chunk-T7ZYREDK.js.map +1 -0
- package/dist/{chunk-CEYKBJZW.js → chunk-TI3ILTHZ.js} +1 -1
- package/dist/chunk-TI3ILTHZ.js.map +1 -0
- package/dist/{chunk-RXY4LNO4.js → chunk-W7P3OFBI.js} +1 -1
- package/dist/chunk-W7P3OFBI.js.map +1 -0
- package/dist/{chunk-U2AGLPI4.js → chunk-WJWT5H6X.js} +1 -1
- package/dist/chunk-WJWT5H6X.js.map +1 -0
- package/dist/{chunk-QC6E54KG.js → chunk-WSJEJ7RX.js} +1 -1
- package/dist/chunk-WSJEJ7RX.js.map +1 -0
- package/dist/{chunk-QDDBU2BV.js → chunk-X2VO5SPG.js} +1 -1
- package/dist/chunk-X2VO5SPG.js.map +1 -0
- package/dist/{chunk-KY6X4QAD.js → chunk-X42K4JVV.js} +1 -1
- package/dist/chunk-X42K4JVV.js.map +1 -0
- package/dist/{chunk-K3NN32XK.js → chunk-XNM55KLN.js} +1 -1
- package/dist/chunk-XNM55KLN.js.map +1 -0
- package/dist/{chunk-YMVHMEXG.js → chunk-XYTZBG4S.js} +1 -1
- package/dist/chunk-XYTZBG4S.js.map +1 -0
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/events/index.cjs.map +1 -1
- package/dist/events/index.js +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models/alarm.cjs.map +1 -1
- package/dist/models/alarm.d.cts +8 -8
- package/dist/models/alarm.d.ts +8 -8
- package/dist/models/alarm.js +1 -1
- package/dist/models/announcement.cjs.map +1 -1
- package/dist/models/announcement.d.cts +13 -13
- package/dist/models/announcement.d.ts +13 -13
- package/dist/models/announcement.js +1 -1
- package/dist/models/camera.cjs.map +1 -1
- package/dist/models/camera.d.cts +23 -23
- package/dist/models/camera.d.ts +23 -23
- package/dist/models/camera.js +1 -1
- package/dist/models/category.cjs.map +1 -1
- package/dist/models/category.d.cts +13 -13
- package/dist/models/category.d.ts +13 -13
- package/dist/models/category.js +1 -1
- package/dist/models/courtesy.cjs.map +1 -1
- package/dist/models/courtesy.d.cts +6 -6
- package/dist/models/courtesy.d.ts +6 -6
- package/dist/models/courtesy.js +1 -1
- package/dist/models/credential.cjs.map +1 -1
- package/dist/models/credential.d.cts +2 -2
- package/dist/models/credential.d.ts +2 -2
- package/dist/models/credential.js +1 -1
- package/dist/models/deviceRouter.cjs.map +1 -1
- package/dist/models/deviceRouter.d.cts +3 -3
- package/dist/models/deviceRouter.d.ts +3 -3
- package/dist/models/deviceRouter.js +1 -1
- package/dist/models/dimmer.cjs.map +1 -1
- package/dist/models/dimmer.d.cts +6 -6
- package/dist/models/dimmer.d.ts +6 -6
- package/dist/models/dimmer.js +1 -1
- package/dist/models/discoveredDevice.cjs.map +1 -1
- package/dist/models/discoveredDevice.d.cts +6 -6
- package/dist/models/discoveredDevice.d.ts +6 -6
- package/dist/models/discoveredDevice.js +1 -1
- package/dist/models/gateway.cjs.map +1 -1
- package/dist/models/gateway.d.cts +3 -3
- package/dist/models/gateway.d.ts +3 -3
- package/dist/models/gateway.js +1 -1
- package/dist/models/identification.cjs.map +1 -1
- package/dist/models/identification.d.cts +2 -2
- package/dist/models/identification.d.ts +2 -2
- package/dist/models/identification.js +1 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/lock.cjs.map +1 -1
- package/dist/models/lock.d.cts +3 -3
- package/dist/models/lock.d.ts +3 -3
- package/dist/models/lock.js +1 -1
- package/dist/models/mediaSource.cjs.map +1 -1
- package/dist/models/mediaSource.d.cts +8 -8
- package/dist/models/mediaSource.d.ts +8 -8
- package/dist/models/mediaSource.js +1 -1
- package/dist/models/motionSensor.cjs.map +1 -1
- package/dist/models/motionSensor.d.cts +3 -3
- package/dist/models/motionSensor.d.ts +3 -3
- package/dist/models/motionSensor.js +1 -1
- package/dist/models/organization.cjs.map +1 -1
- package/dist/models/organization.d.cts +6 -6
- package/dist/models/organization.d.ts +6 -6
- package/dist/models/organization.js +1 -1
- package/dist/models/payment.cjs.map +1 -1
- package/dist/models/payment.d.cts +6 -6
- package/dist/models/payment.d.ts +6 -6
- package/dist/models/payment.js +1 -1
- package/dist/models/product.cjs.map +1 -1
- package/dist/models/product.d.cts +16 -16
- package/dist/models/product.d.ts +16 -16
- package/dist/models/product.js +1 -1
- package/dist/models/property.cjs.map +1 -1
- package/dist/models/property.d.cts +3 -3
- package/dist/models/property.d.ts +3 -3
- package/dist/models/property.js +1 -1
- package/dist/models/reservation.cjs.map +1 -1
- package/dist/models/reservation.d.cts +9 -9
- package/dist/models/reservation.d.ts +9 -9
- package/dist/models/reservation.js +1 -1
- package/dist/models/room.cjs.map +1 -1
- package/dist/models/room.d.cts +304 -182
- package/dist/models/room.d.ts +304 -182
- package/dist/models/room.js +1 -1
- package/dist/models/scene.cjs.map +1 -1
- package/dist/models/scene.d.cts +39 -15
- package/dist/models/scene.d.ts +39 -15
- package/dist/models/scene.js +1 -1
- package/dist/models/session.cjs.map +1 -1
- package/dist/models/session.d.cts +2 -2
- package/dist/models/session.d.ts +2 -2
- package/dist/models/session.js +1 -1
- package/dist/models/space.cjs.map +1 -1
- package/dist/models/space.d.cts +3 -3
- package/dist/models/space.d.ts +3 -3
- package/dist/models/space.js +1 -1
- package/dist/models/switch.cjs.map +1 -1
- package/dist/models/switch.d.cts +3 -3
- package/dist/models/switch.d.ts +3 -3
- package/dist/models/switch.js +1 -1
- package/dist/models/system.cjs.map +1 -1
- package/dist/models/system.d.cts +13 -13
- package/dist/models/system.d.ts +13 -13
- package/dist/models/system.js +1 -1
- package/dist/models/systemUser.cjs.map +1 -1
- package/dist/models/systemUser.d.cts +38 -38
- package/dist/models/systemUser.d.ts +38 -38
- package/dist/models/systemUser.js +1 -1
- package/dist/models/thermostat.cjs.map +1 -1
- package/dist/models/thermostat.d.cts +40 -16
- package/dist/models/thermostat.d.ts +40 -16
- package/dist/models/thermostat.js +1 -1
- package/dist/models/user.cjs.map +1 -1
- package/dist/models/user.d.cts +105 -93
- package/dist/models/user.d.ts +105 -93
- package/dist/models/user.js +1 -1
- package/dist/models/vendor.cjs.map +1 -1
- package/dist/models/vendor.d.cts +19 -19
- package/dist/models/vendor.d.ts +19 -19
- package/dist/models/vendor.js +1 -1
- package/dist/models/windowCovering.cjs.map +1 -1
- package/dist/models/windowCovering.d.cts +6 -6
- package/dist/models/windowCovering.d.ts +6 -6
- package/dist/models/windowCovering.js +1 -1
- package/dist/useCases/index.cjs.map +1 -1
- package/dist/useCases/index.js +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2UB3LUDU.js.map +0 -1
- package/dist/chunk-3AH7ESNC.js.map +0 -1
- package/dist/chunk-3JL7QMK4.js.map +0 -1
- package/dist/chunk-4E6X4AWF.js.map +0 -1
- package/dist/chunk-4JJEZYIX.js.map +0 -1
- package/dist/chunk-4RGKXRCC.js.map +0 -1
- package/dist/chunk-5IUMCO6K.js.map +0 -1
- package/dist/chunk-AT5O6OJM.js.map +0 -1
- package/dist/chunk-BORTGG46.js.map +0 -1
- package/dist/chunk-BRMQZWQQ.js.map +0 -1
- package/dist/chunk-CEYKBJZW.js.map +0 -1
- package/dist/chunk-E74W6L7V.js.map +0 -1
- package/dist/chunk-EFDNWLMA.js.map +0 -1
- package/dist/chunk-HAZA2CC4.js.map +0 -1
- package/dist/chunk-IVOUXLE7.js.map +0 -1
- package/dist/chunk-K3NN32XK.js.map +0 -1
- package/dist/chunk-KE6CXWXD.js.map +0 -1
- package/dist/chunk-KY6X4QAD.js.map +0 -1
- package/dist/chunk-O3P2AKRX.js.map +0 -1
- package/dist/chunk-OYGGJUZ2.js.map +0 -1
- package/dist/chunk-QC6E54KG.js.map +0 -1
- package/dist/chunk-QDDBU2BV.js.map +0 -1
- package/dist/chunk-QUHOFRXV.js.map +0 -1
- package/dist/chunk-RXY4LNO4.js.map +0 -1
- package/dist/chunk-U2AGLPI4.js.map +0 -1
- package/dist/chunk-UBBFO4DV.js.map +0 -1
- package/dist/chunk-VX4FUPNL.js.map +0 -1
- package/dist/chunk-XO5U52AY.js.map +0 -1
- package/dist/chunk-YMVHMEXG.js.map +0 -1
- /package/dist/{chunk-VWZZQPYF.js.map → chunk-5GYG24VQ.js.map} +0 -0
- /package/dist/{chunk-WNUSIEB4.js.map → chunk-NVHDJTCZ.js.map} +0 -0
|
@@ -9,8 +9,8 @@ import { Entity } from './entity.cjs';
|
|
|
9
9
|
* @property {"reservation"} type - Default: "reservation"
|
|
10
10
|
* @property {string[]} [sharedGuests]
|
|
11
11
|
* @property {string} [spaceCategory]
|
|
12
|
-
* @property {string} [space]
|
|
13
|
-
* @property {string} [previousSpace] - Used when there was a space assigned and it changes. Default: null
|
|
12
|
+
* @property {(string|null)} [space]
|
|
13
|
+
* @property {(string|null)} [previousSpace] - Used when there was a space assigned and it changes. Default: null
|
|
14
14
|
* @property {("reserved"|"checkedIn"|"checkedOut"|"cancelled"|"noShow"|"enquired"|"requested"|"optional")} status - reserved - confirmed by both parties, before check-in
|
|
15
15
|
checkedIn - checked in
|
|
16
16
|
checkedOut - checked out
|
|
@@ -30,7 +30,7 @@ import { Entity } from './entity.cjs';
|
|
|
30
30
|
* @property {number} [adultCount] - Default: 1
|
|
31
31
|
* @property {number} [childCount] - Default: 0
|
|
32
32
|
* @property {{id?: string, price?: number, unit?: ("night"|"stay"|"hour"), isUpgrade?: boolean}[]} [spaceCategoryAvailabilites]
|
|
33
|
-
* @property {{id?: string, name?: string, date?: string, price?: number, tax?: number}[]} [revenue]
|
|
33
|
+
* @property {{id?: string, name?: string, date?: string, price?: number, tax?: (number|null)}[]} [revenue]
|
|
34
34
|
* @property {boolean} [rateSuppressed]
|
|
35
35
|
* @property {string} [payment]
|
|
36
36
|
* @property {string} [company]
|
|
@@ -58,8 +58,8 @@ declare class Reservation extends Entity {
|
|
|
58
58
|
type: "reservation";
|
|
59
59
|
sharedGuests: string[] | undefined;
|
|
60
60
|
spaceCategory: string | undefined;
|
|
61
|
-
space: string | undefined;
|
|
62
|
-
previousSpace: string | undefined;
|
|
61
|
+
space: string | null | undefined;
|
|
62
|
+
previousSpace: string | null | undefined;
|
|
63
63
|
status: "cancelled" | "reserved" | "checkedIn" | "checkedOut" | "noShow" | "enquired" | "requested" | "optional";
|
|
64
64
|
mobileCheckInSpaceCategoryChanged: boolean | undefined;
|
|
65
65
|
mobileCheckInSpaceChanged: boolean | undefined;
|
|
@@ -82,7 +82,7 @@ declare class Reservation extends Entity {
|
|
|
82
82
|
name?: string;
|
|
83
83
|
date?: string;
|
|
84
84
|
price?: number;
|
|
85
|
-
tax?: number;
|
|
85
|
+
tax?: (number | null);
|
|
86
86
|
}[] | undefined;
|
|
87
87
|
rateSuppressed: boolean | undefined;
|
|
88
88
|
payment: string | undefined;
|
|
@@ -251,11 +251,11 @@ type ReservationData = {
|
|
|
251
251
|
type: "reservation";
|
|
252
252
|
sharedGuests?: string[] | undefined;
|
|
253
253
|
spaceCategory?: string | undefined;
|
|
254
|
-
space?: string | undefined;
|
|
254
|
+
space?: string | null | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* - Used when there was a space assigned and it changes. Default: null
|
|
257
257
|
*/
|
|
258
|
-
previousSpace?: string | undefined;
|
|
258
|
+
previousSpace?: string | null | undefined;
|
|
259
259
|
/**
|
|
260
260
|
* - reserved - confirmed by both parties, before check-in
|
|
261
261
|
* checkedIn - checked in
|
|
@@ -300,7 +300,7 @@ type ReservationData = {
|
|
|
300
300
|
name?: string;
|
|
301
301
|
date?: string;
|
|
302
302
|
price?: number;
|
|
303
|
-
tax?: number;
|
|
303
|
+
tax?: (number | null);
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
rateSuppressed?: boolean | undefined;
|
|
306
306
|
payment?: string | undefined;
|
|
@@ -9,8 +9,8 @@ import { Entity } from './entity.js';
|
|
|
9
9
|
* @property {"reservation"} type - Default: "reservation"
|
|
10
10
|
* @property {string[]} [sharedGuests]
|
|
11
11
|
* @property {string} [spaceCategory]
|
|
12
|
-
* @property {string} [space]
|
|
13
|
-
* @property {string} [previousSpace] - Used when there was a space assigned and it changes. Default: null
|
|
12
|
+
* @property {(string|null)} [space]
|
|
13
|
+
* @property {(string|null)} [previousSpace] - Used when there was a space assigned and it changes. Default: null
|
|
14
14
|
* @property {("reserved"|"checkedIn"|"checkedOut"|"cancelled"|"noShow"|"enquired"|"requested"|"optional")} status - reserved - confirmed by both parties, before check-in
|
|
15
15
|
checkedIn - checked in
|
|
16
16
|
checkedOut - checked out
|
|
@@ -30,7 +30,7 @@ import { Entity } from './entity.js';
|
|
|
30
30
|
* @property {number} [adultCount] - Default: 1
|
|
31
31
|
* @property {number} [childCount] - Default: 0
|
|
32
32
|
* @property {{id?: string, price?: number, unit?: ("night"|"stay"|"hour"), isUpgrade?: boolean}[]} [spaceCategoryAvailabilites]
|
|
33
|
-
* @property {{id?: string, name?: string, date?: string, price?: number, tax?: number}[]} [revenue]
|
|
33
|
+
* @property {{id?: string, name?: string, date?: string, price?: number, tax?: (number|null)}[]} [revenue]
|
|
34
34
|
* @property {boolean} [rateSuppressed]
|
|
35
35
|
* @property {string} [payment]
|
|
36
36
|
* @property {string} [company]
|
|
@@ -58,8 +58,8 @@ declare class Reservation extends Entity {
|
|
|
58
58
|
type: "reservation";
|
|
59
59
|
sharedGuests: string[] | undefined;
|
|
60
60
|
spaceCategory: string | undefined;
|
|
61
|
-
space: string | undefined;
|
|
62
|
-
previousSpace: string | undefined;
|
|
61
|
+
space: string | null | undefined;
|
|
62
|
+
previousSpace: string | null | undefined;
|
|
63
63
|
status: "cancelled" | "reserved" | "checkedIn" | "checkedOut" | "noShow" | "enquired" | "requested" | "optional";
|
|
64
64
|
mobileCheckInSpaceCategoryChanged: boolean | undefined;
|
|
65
65
|
mobileCheckInSpaceChanged: boolean | undefined;
|
|
@@ -82,7 +82,7 @@ declare class Reservation extends Entity {
|
|
|
82
82
|
name?: string;
|
|
83
83
|
date?: string;
|
|
84
84
|
price?: number;
|
|
85
|
-
tax?: number;
|
|
85
|
+
tax?: (number | null);
|
|
86
86
|
}[] | undefined;
|
|
87
87
|
rateSuppressed: boolean | undefined;
|
|
88
88
|
payment: string | undefined;
|
|
@@ -251,11 +251,11 @@ type ReservationData = {
|
|
|
251
251
|
type: "reservation";
|
|
252
252
|
sharedGuests?: string[] | undefined;
|
|
253
253
|
spaceCategory?: string | undefined;
|
|
254
|
-
space?: string | undefined;
|
|
254
|
+
space?: string | null | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* - Used when there was a space assigned and it changes. Default: null
|
|
257
257
|
*/
|
|
258
|
-
previousSpace?: string | undefined;
|
|
258
|
+
previousSpace?: string | null | undefined;
|
|
259
259
|
/**
|
|
260
260
|
* - reserved - confirmed by both parties, before check-in
|
|
261
261
|
* checkedIn - checked in
|
|
@@ -300,7 +300,7 @@ type ReservationData = {
|
|
|
300
300
|
name?: string;
|
|
301
301
|
date?: string;
|
|
302
302
|
price?: number;
|
|
303
|
-
tax?: number;
|
|
303
|
+
tax?: (number | null);
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
rateSuppressed?: boolean | undefined;
|
|
306
306
|
payment?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Reservation}from"../chunk-
|
|
1
|
+
import{Reservation}from"../chunk-S5OTB2OU.js";import"../chunk-OX6FTZ5L.js";import"../chunk-YPJMXYGL.js";import"../chunk-5FSWHSBF.js";import"../chunk-P3ZPJTJ2.js";import"../chunk-XE4OXN2W.js";export{Reservation};//# sourceMappingURL=reservation.js.map
|