@kohost/api-client 3.0.0-beta.99 → 3.0.0
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/cjs/Client/index.js +374 -67
- package/dist/cjs/Commands/CreateShortLinkCommand.js +2 -2
- package/dist/cjs/Commands/OCRDocumentCommand.js +2 -2
- package/dist/cjs/Commands/SetAlarmCommand.js +2 -2
- package/dist/cjs/Commands/SetCourtesyCommand.js +2 -2
- package/dist/cjs/Commands/SetDimmerCommand.js +2 -2
- package/dist/cjs/Commands/SetLockCommand.js +2 -2
- package/dist/cjs/Commands/SetSwitchCommand.js +2 -2
- package/dist/cjs/Commands/SetThermostatCommand.js +2 -2
- package/dist/cjs/Commands/SetWindowCoveringCommand.js +2 -2
- package/dist/cjs/Events/ReservationCheckInEvent.js +23 -0
- package/dist/cjs/Events/ReservationCheckOutEvent.js +23 -0
- package/dist/cjs/Events/index.js +6 -0
- package/dist/cjs/SocketIoClient/index.js +23 -4
- package/dist/cjs/schemas/AlarmSchema.d.ts +13 -2
- package/dist/cjs/schemas/CredentialSchema.d.ts +1 -1
- package/dist/cjs/schemas/DiscoveredDeviceSchema.d.ts +4 -0
- package/dist/cjs/schemas/MediaSourceSchema.d.ts +3 -1
- package/dist/cjs/schemas/OrganizationSchema.d.ts +30 -0
- package/dist/cjs/schemas/PropertySchema.d.ts +25 -34
- package/dist/cjs/schemas/ReservationSchema.d.ts +1 -0
- package/dist/cjs/schemas/RoomSchema.d.ts +18 -4
- package/dist/cjs/schemas/SceneSchema.d.ts +2 -1
- package/dist/cjs/schemas/UserSchema.d.ts +1 -0
- package/dist/cjs/schemas/WindowCoveringSchema.d.ts +2 -1
- package/dist/cjs/schemas/alarm.json +4 -4
- package/dist/cjs/schemas/credential.json +1 -0
- package/dist/cjs/schemas/discoveredDevice.json +4 -0
- package/dist/cjs/schemas/mediaSource.json +11 -1
- package/dist/cjs/schemas/organization.json +109 -0
- package/dist/cjs/schemas/property.json +38 -115
- package/dist/cjs/schemas/reservation.json +3 -0
- package/dist/cjs/schemas/scene.json +3 -0
- package/dist/cjs/schemas/windowCovering.json +8 -2
- package/dist/esm/Client.js +504 -193
- package/dist/esm/Client.js.map +4 -4
- package/dist/esm/Commands.js +18 -18
- package/dist/esm/Commands.js.map +2 -2
- package/dist/esm/Events.js +55 -1
- package/dist/esm/Events.js.map +3 -3
- package/dist/esm/Models.js +180 -121
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/SocketIoClient.js +26 -7
- package/dist/esm/SocketIoClient.js.map +2 -2
- package/dist/esm/defs.js +162 -131
- package/dist/esm/defs.js.map +4 -4
- package/dist/useCases/{LoginUser.js → CreateScene.js} +2 -2
- package/dist/useCases/DescribeAlarmConfig.js +32 -0
- package/dist/useCases/{DescribeMyProperty.js → DescribeMyOrganization.js} +2 -2
- package/dist/useCases/DescribeMyPasskeyRegistrations.js +32 -0
- package/dist/useCases/FinishRegisterPasskey.js +32 -0
- package/dist/useCases/{RequestLoginLink.js → ListMyProperties.js} +3 -3
- package/dist/useCases/{RequestPWAToken.js → LoginFinish.js} +3 -3
- package/dist/useCases/LoginStart.js +32 -0
- package/dist/useCases/{RequestMyKeyToken.js → RequestLoginToken.js} +3 -3
- package/dist/useCases/SetAlarm.js +32 -0
- package/dist/useCases/SetCustomScene.js +32 -0
- package/dist/useCases/StartRegisterPasskey.js +32 -0
- package/package.json +3 -4
package/dist/cjs/Client/index.js
CHANGED
|
@@ -5,15 +5,15 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
5
5
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// dist/useCases/
|
|
9
|
-
var
|
|
10
|
-
"dist/useCases/
|
|
11
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
8
|
+
// dist/useCases/LoginStart.js
|
|
9
|
+
var require_LoginStart = __commonJS({
|
|
10
|
+
"dist/useCases/LoginStart.js"(exports2, module2) {
|
|
11
|
+
module2.exports = /* @__PURE__ */ __name(function LoginStart2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
12
12
|
if (!requestData)
|
|
13
13
|
requestData = {};
|
|
14
14
|
const pathParams = null;
|
|
15
15
|
const { data, query, headers } = requestData;
|
|
16
|
-
let url = "/auth/
|
|
16
|
+
let url = "/auth/start";
|
|
17
17
|
if (pathParams && data) {
|
|
18
18
|
for (const param of pathParams) {
|
|
19
19
|
const paramName = param.replace(":", "");
|
|
@@ -39,7 +39,7 @@ var require_LoginUser = __commonJS({
|
|
|
39
39
|
if (headers)
|
|
40
40
|
config.headers = headers;
|
|
41
41
|
return this._http.request(config);
|
|
42
|
-
}, "
|
|
42
|
+
}, "LoginStart");
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -81,15 +81,15 @@ var require_RefreshToken = __commonJS({
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// dist/useCases/
|
|
85
|
-
var
|
|
86
|
-
"dist/useCases/
|
|
87
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
84
|
+
// dist/useCases/LoginFinish.js
|
|
85
|
+
var require_LoginFinish = __commonJS({
|
|
86
|
+
"dist/useCases/LoginFinish.js"(exports2, module2) {
|
|
87
|
+
module2.exports = /* @__PURE__ */ __name(function LoginFinish2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
88
88
|
if (!requestData)
|
|
89
89
|
requestData = {};
|
|
90
90
|
const pathParams = null;
|
|
91
91
|
const { data, query, headers } = requestData;
|
|
92
|
-
let url = "/auth/
|
|
92
|
+
let url = "/auth/finish";
|
|
93
93
|
if (pathParams && data) {
|
|
94
94
|
for (const param of pathParams) {
|
|
95
95
|
const paramName = param.replace(":", "");
|
|
@@ -115,19 +115,57 @@ var require_RequestLoginLink = __commonJS({
|
|
|
115
115
|
if (headers)
|
|
116
116
|
config.headers = headers;
|
|
117
117
|
return this._http.request(config);
|
|
118
|
-
}, "
|
|
118
|
+
}, "LoginFinish");
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
// dist/useCases/
|
|
123
|
-
var
|
|
124
|
-
"dist/useCases/
|
|
125
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
122
|
+
// dist/useCases/RequestLoginToken.js
|
|
123
|
+
var require_RequestLoginToken = __commonJS({
|
|
124
|
+
"dist/useCases/RequestLoginToken.js"(exports2, module2) {
|
|
125
|
+
module2.exports = /* @__PURE__ */ __name(function RequestLoginToken2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
126
126
|
if (!requestData)
|
|
127
127
|
requestData = {};
|
|
128
128
|
const pathParams = null;
|
|
129
129
|
const { data, query, headers } = requestData;
|
|
130
|
-
let url = "/auth/
|
|
130
|
+
let url = "/auth/loginToken";
|
|
131
|
+
if (pathParams && data) {
|
|
132
|
+
for (const param of pathParams) {
|
|
133
|
+
const paramName = param.replace(":", "");
|
|
134
|
+
url = url.replace(param, data[paramName]);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
138
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
139
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
140
|
+
return Promise.reject(
|
|
141
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
const config = {
|
|
145
|
+
method: "get",
|
|
146
|
+
url,
|
|
147
|
+
...httpConfigOptions
|
|
148
|
+
};
|
|
149
|
+
if (data)
|
|
150
|
+
config.data = data;
|
|
151
|
+
if (query)
|
|
152
|
+
config.params = query;
|
|
153
|
+
if (headers)
|
|
154
|
+
config.headers = headers;
|
|
155
|
+
return this._http.request(config);
|
|
156
|
+
}, "RequestLoginToken");
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
// dist/useCases/LogoutUser.js
|
|
161
|
+
var require_LogoutUser = __commonJS({
|
|
162
|
+
"dist/useCases/LogoutUser.js"(exports2, module2) {
|
|
163
|
+
module2.exports = /* @__PURE__ */ __name(function LogoutUser2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
164
|
+
if (!requestData)
|
|
165
|
+
requestData = {};
|
|
166
|
+
const pathParams = [":id"];
|
|
167
|
+
const { data, query, headers } = requestData;
|
|
168
|
+
let url = "/auth/user/:id/logout";
|
|
131
169
|
if (pathParams && data) {
|
|
132
170
|
for (const param of pathParams) {
|
|
133
171
|
const paramName = param.replace(":", "");
|
|
@@ -153,19 +191,19 @@ var require_RequestMyKeyToken = __commonJS({
|
|
|
153
191
|
if (headers)
|
|
154
192
|
config.headers = headers;
|
|
155
193
|
return this._http.request(config);
|
|
156
|
-
}, "
|
|
194
|
+
}, "LogoutUser");
|
|
157
195
|
}
|
|
158
196
|
});
|
|
159
197
|
|
|
160
|
-
// dist/useCases/
|
|
161
|
-
var
|
|
162
|
-
"dist/useCases/
|
|
163
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
198
|
+
// dist/useCases/StartRegisterPasskey.js
|
|
199
|
+
var require_StartRegisterPasskey = __commonJS({
|
|
200
|
+
"dist/useCases/StartRegisterPasskey.js"(exports2, module2) {
|
|
201
|
+
module2.exports = /* @__PURE__ */ __name(function StartRegisterPasskey2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
164
202
|
if (!requestData)
|
|
165
203
|
requestData = {};
|
|
166
204
|
const pathParams = null;
|
|
167
205
|
const { data, query, headers } = requestData;
|
|
168
|
-
let url = "/auth/
|
|
206
|
+
let url = "/auth/registerPasskey/start";
|
|
169
207
|
if (pathParams && data) {
|
|
170
208
|
for (const param of pathParams) {
|
|
171
209
|
const paramName = param.replace(":", "");
|
|
@@ -180,7 +218,7 @@ var require_RequestPWAToken = __commonJS({
|
|
|
180
218
|
);
|
|
181
219
|
}
|
|
182
220
|
const config = {
|
|
183
|
-
method: "
|
|
221
|
+
method: "post",
|
|
184
222
|
url,
|
|
185
223
|
...httpConfigOptions
|
|
186
224
|
};
|
|
@@ -191,19 +229,19 @@ var require_RequestPWAToken = __commonJS({
|
|
|
191
229
|
if (headers)
|
|
192
230
|
config.headers = headers;
|
|
193
231
|
return this._http.request(config);
|
|
194
|
-
}, "
|
|
232
|
+
}, "StartRegisterPasskey");
|
|
195
233
|
}
|
|
196
234
|
});
|
|
197
235
|
|
|
198
|
-
// dist/useCases/
|
|
199
|
-
var
|
|
200
|
-
"dist/useCases/
|
|
201
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
236
|
+
// dist/useCases/FinishRegisterPasskey.js
|
|
237
|
+
var require_FinishRegisterPasskey = __commonJS({
|
|
238
|
+
"dist/useCases/FinishRegisterPasskey.js"(exports2, module2) {
|
|
239
|
+
module2.exports = /* @__PURE__ */ __name(function FinishRegisterPasskey2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
202
240
|
if (!requestData)
|
|
203
241
|
requestData = {};
|
|
204
|
-
const pathParams =
|
|
242
|
+
const pathParams = null;
|
|
205
243
|
const { data, query, headers } = requestData;
|
|
206
|
-
let url = "/auth/
|
|
244
|
+
let url = "/auth/registerPasskey/finish";
|
|
207
245
|
if (pathParams && data) {
|
|
208
246
|
for (const param of pathParams) {
|
|
209
247
|
const paramName = param.replace(":", "");
|
|
@@ -229,7 +267,7 @@ var require_LogoutUser = __commonJS({
|
|
|
229
267
|
if (headers)
|
|
230
268
|
config.headers = headers;
|
|
231
269
|
return this._http.request(config);
|
|
232
|
-
}, "
|
|
270
|
+
}, "FinishRegisterPasskey");
|
|
233
271
|
}
|
|
234
272
|
});
|
|
235
273
|
|
|
@@ -803,6 +841,44 @@ var require_DescribeMyAccessCredentials = __commonJS({
|
|
|
803
841
|
}
|
|
804
842
|
});
|
|
805
843
|
|
|
844
|
+
// dist/useCases/DescribeMyPasskeyRegistrations.js
|
|
845
|
+
var require_DescribeMyPasskeyRegistrations = __commonJS({
|
|
846
|
+
"dist/useCases/DescribeMyPasskeyRegistrations.js"(exports2, module2) {
|
|
847
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeMyPasskeyRegistrations2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
848
|
+
if (!requestData)
|
|
849
|
+
requestData = {};
|
|
850
|
+
const pathParams = null;
|
|
851
|
+
const { data, query, headers } = requestData;
|
|
852
|
+
let url = "/users/me/passkeyRegistrations";
|
|
853
|
+
if (pathParams && data) {
|
|
854
|
+
for (const param of pathParams) {
|
|
855
|
+
const paramName = param.replace(":", "");
|
|
856
|
+
url = url.replace(param, data[paramName]);
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
860
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
861
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
862
|
+
return Promise.reject(
|
|
863
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
const config = {
|
|
867
|
+
method: "get",
|
|
868
|
+
url,
|
|
869
|
+
...httpConfigOptions
|
|
870
|
+
};
|
|
871
|
+
if (data)
|
|
872
|
+
config.data = data;
|
|
873
|
+
if (query)
|
|
874
|
+
config.params = query;
|
|
875
|
+
if (headers)
|
|
876
|
+
config.headers = headers;
|
|
877
|
+
return this._http.request(config);
|
|
878
|
+
}, "DescribeMyPasskeyRegistrations");
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
|
|
806
882
|
// dist/useCases/TipUser.js
|
|
807
883
|
var require_TipUser = __commonJS({
|
|
808
884
|
"dist/useCases/TipUser.js"(exports2, module2) {
|
|
@@ -1753,15 +1829,53 @@ var require_DescribeAlarm = __commonJS({
|
|
|
1753
1829
|
}
|
|
1754
1830
|
});
|
|
1755
1831
|
|
|
1756
|
-
// dist/useCases/
|
|
1757
|
-
var
|
|
1758
|
-
"dist/useCases/
|
|
1759
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
1832
|
+
// dist/useCases/DescribeAlarmConfig.js
|
|
1833
|
+
var require_DescribeAlarmConfig = __commonJS({
|
|
1834
|
+
"dist/useCases/DescribeAlarmConfig.js"(exports2, module2) {
|
|
1835
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeAlarmConfig2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
1760
1836
|
if (!requestData)
|
|
1761
1837
|
requestData = {};
|
|
1762
1838
|
const pathParams = [":roomId", ":id"];
|
|
1763
1839
|
const { data, query, headers } = requestData;
|
|
1764
|
-
let url = "/rooms/:roomId/
|
|
1840
|
+
let url = "/rooms/:roomId/alarms/:id/config";
|
|
1841
|
+
if (pathParams && data) {
|
|
1842
|
+
for (const param of pathParams) {
|
|
1843
|
+
const paramName = param.replace(":", "");
|
|
1844
|
+
url = url.replace(param, data[paramName]);
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
1848
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
1849
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
1850
|
+
return Promise.reject(
|
|
1851
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
1852
|
+
);
|
|
1853
|
+
}
|
|
1854
|
+
const config = {
|
|
1855
|
+
method: "get",
|
|
1856
|
+
url,
|
|
1857
|
+
...httpConfigOptions
|
|
1858
|
+
};
|
|
1859
|
+
if (data)
|
|
1860
|
+
config.data = data;
|
|
1861
|
+
if (query)
|
|
1862
|
+
config.params = query;
|
|
1863
|
+
if (headers)
|
|
1864
|
+
config.headers = headers;
|
|
1865
|
+
return this._http.request(config);
|
|
1866
|
+
}, "DescribeAlarmConfig");
|
|
1867
|
+
}
|
|
1868
|
+
});
|
|
1869
|
+
|
|
1870
|
+
// dist/useCases/SetAlarm.js
|
|
1871
|
+
var require_SetAlarm = __commonJS({
|
|
1872
|
+
"dist/useCases/SetAlarm.js"(exports2, module2) {
|
|
1873
|
+
module2.exports = /* @__PURE__ */ __name(function SetAlarm2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
1874
|
+
if (!requestData)
|
|
1875
|
+
requestData = {};
|
|
1876
|
+
const pathParams = [":roomId", ":id"];
|
|
1877
|
+
const { data, query, headers } = requestData;
|
|
1878
|
+
let url = "/rooms/:roomId/alarms/:id";
|
|
1765
1879
|
if (pathParams && data) {
|
|
1766
1880
|
for (const param of pathParams) {
|
|
1767
1881
|
const paramName = param.replace(":", "");
|
|
@@ -1787,7 +1901,7 @@ var require_SetLock = __commonJS({
|
|
|
1787
1901
|
if (headers)
|
|
1788
1902
|
config.headers = headers;
|
|
1789
1903
|
return this._http.request(config);
|
|
1790
|
-
}, "
|
|
1904
|
+
}, "SetAlarm");
|
|
1791
1905
|
}
|
|
1792
1906
|
});
|
|
1793
1907
|
|
|
@@ -2665,6 +2779,44 @@ var require_DescribeLock = __commonJS({
|
|
|
2665
2779
|
}
|
|
2666
2780
|
});
|
|
2667
2781
|
|
|
2782
|
+
// dist/useCases/SetLock.js
|
|
2783
|
+
var require_SetLock = __commonJS({
|
|
2784
|
+
"dist/useCases/SetLock.js"(exports2, module2) {
|
|
2785
|
+
module2.exports = /* @__PURE__ */ __name(function SetLock2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
2786
|
+
if (!requestData)
|
|
2787
|
+
requestData = {};
|
|
2788
|
+
const pathParams = [":roomId", ":id"];
|
|
2789
|
+
const { data, query, headers } = requestData;
|
|
2790
|
+
let url = "/rooms/:roomId/locks/:id";
|
|
2791
|
+
if (pathParams && data) {
|
|
2792
|
+
for (const param of pathParams) {
|
|
2793
|
+
const paramName = param.replace(":", "");
|
|
2794
|
+
url = url.replace(param, data[paramName]);
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
2798
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
2799
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
2800
|
+
return Promise.reject(
|
|
2801
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
2802
|
+
);
|
|
2803
|
+
}
|
|
2804
|
+
const config = {
|
|
2805
|
+
method: "post",
|
|
2806
|
+
url,
|
|
2807
|
+
...httpConfigOptions
|
|
2808
|
+
};
|
|
2809
|
+
if (data)
|
|
2810
|
+
config.data = data;
|
|
2811
|
+
if (query)
|
|
2812
|
+
config.params = query;
|
|
2813
|
+
if (headers)
|
|
2814
|
+
config.headers = headers;
|
|
2815
|
+
return this._http.request(config);
|
|
2816
|
+
}, "SetLock");
|
|
2817
|
+
}
|
|
2818
|
+
});
|
|
2819
|
+
|
|
2668
2820
|
// dist/useCases/DescribeLockCredential.js
|
|
2669
2821
|
var require_DescribeLockCredential = __commonJS({
|
|
2670
2822
|
"dist/useCases/DescribeLockCredential.js"(exports2, module2) {
|
|
@@ -3653,6 +3805,44 @@ var require_SetRoomScene = __commonJS({
|
|
|
3653
3805
|
}
|
|
3654
3806
|
});
|
|
3655
3807
|
|
|
3808
|
+
// dist/useCases/SetCustomScene.js
|
|
3809
|
+
var require_SetCustomScene = __commonJS({
|
|
3810
|
+
"dist/useCases/SetCustomScene.js"(exports2, module2) {
|
|
3811
|
+
module2.exports = /* @__PURE__ */ __name(function SetCustomScene2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
3812
|
+
if (!requestData)
|
|
3813
|
+
requestData = {};
|
|
3814
|
+
const pathParams = [":id"];
|
|
3815
|
+
const { data, query, headers } = requestData;
|
|
3816
|
+
let url = "/scenes/:id";
|
|
3817
|
+
if (pathParams && data) {
|
|
3818
|
+
for (const param of pathParams) {
|
|
3819
|
+
const paramName = param.replace(":", "");
|
|
3820
|
+
url = url.replace(param, data[paramName]);
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3823
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
3824
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
3825
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
3826
|
+
return Promise.reject(
|
|
3827
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
3828
|
+
);
|
|
3829
|
+
}
|
|
3830
|
+
const config = {
|
|
3831
|
+
method: "post",
|
|
3832
|
+
url,
|
|
3833
|
+
...httpConfigOptions
|
|
3834
|
+
};
|
|
3835
|
+
if (data)
|
|
3836
|
+
config.data = data;
|
|
3837
|
+
if (query)
|
|
3838
|
+
config.params = query;
|
|
3839
|
+
if (headers)
|
|
3840
|
+
config.headers = headers;
|
|
3841
|
+
return this._http.request(config);
|
|
3842
|
+
}, "SetCustomScene");
|
|
3843
|
+
}
|
|
3844
|
+
});
|
|
3845
|
+
|
|
3656
3846
|
// dist/useCases/AddScenesToRoom.js
|
|
3657
3847
|
var require_AddScenesToRoom = __commonJS({
|
|
3658
3848
|
"dist/useCases/AddScenesToRoom.js"(exports2, module2) {
|
|
@@ -4109,6 +4299,44 @@ var require_ListScenes = __commonJS({
|
|
|
4109
4299
|
}
|
|
4110
4300
|
});
|
|
4111
4301
|
|
|
4302
|
+
// dist/useCases/CreateScene.js
|
|
4303
|
+
var require_CreateScene = __commonJS({
|
|
4304
|
+
"dist/useCases/CreateScene.js"(exports2, module2) {
|
|
4305
|
+
module2.exports = /* @__PURE__ */ __name(function CreateScene2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
4306
|
+
if (!requestData)
|
|
4307
|
+
requestData = {};
|
|
4308
|
+
const pathParams = null;
|
|
4309
|
+
const { data, query, headers } = requestData;
|
|
4310
|
+
let url = "/scenes";
|
|
4311
|
+
if (pathParams && data) {
|
|
4312
|
+
for (const param of pathParams) {
|
|
4313
|
+
const paramName = param.replace(":", "");
|
|
4314
|
+
url = url.replace(param, data[paramName]);
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
4318
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
4319
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
4320
|
+
return Promise.reject(
|
|
4321
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
4322
|
+
);
|
|
4323
|
+
}
|
|
4324
|
+
const config = {
|
|
4325
|
+
method: "post",
|
|
4326
|
+
url,
|
|
4327
|
+
...httpConfigOptions
|
|
4328
|
+
};
|
|
4329
|
+
if (data)
|
|
4330
|
+
config.data = data;
|
|
4331
|
+
if (query)
|
|
4332
|
+
config.params = query;
|
|
4333
|
+
if (headers)
|
|
4334
|
+
config.headers = headers;
|
|
4335
|
+
return this._http.request(config);
|
|
4336
|
+
}, "CreateScene");
|
|
4337
|
+
}
|
|
4338
|
+
});
|
|
4339
|
+
|
|
4112
4340
|
// dist/useCases/CreateDefaultScenes.js
|
|
4113
4341
|
var require_CreateDefaultScenes = __commonJS({
|
|
4114
4342
|
"dist/useCases/CreateDefaultScenes.js"(exports2, module2) {
|
|
@@ -5439,6 +5667,44 @@ var require_OCRDocument = __commonJS({
|
|
|
5439
5667
|
}
|
|
5440
5668
|
});
|
|
5441
5669
|
|
|
5670
|
+
// dist/useCases/DescribeMyOrganization.js
|
|
5671
|
+
var require_DescribeMyOrganization = __commonJS({
|
|
5672
|
+
"dist/useCases/DescribeMyOrganization.js"(exports2, module2) {
|
|
5673
|
+
module2.exports = /* @__PURE__ */ __name(function DescribeMyOrganization2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
5674
|
+
if (!requestData)
|
|
5675
|
+
requestData = {};
|
|
5676
|
+
const pathParams = null;
|
|
5677
|
+
const { data, query, headers } = requestData;
|
|
5678
|
+
let url = "/organizations/mine";
|
|
5679
|
+
if (pathParams && data) {
|
|
5680
|
+
for (const param of pathParams) {
|
|
5681
|
+
const paramName = param.replace(":", "");
|
|
5682
|
+
url = url.replace(param, data[paramName]);
|
|
5683
|
+
}
|
|
5684
|
+
}
|
|
5685
|
+
if (url.match(/:[a-zA-Z0-9]+/g)) {
|
|
5686
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
5687
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
5688
|
+
return Promise.reject(
|
|
5689
|
+
new Error("Missing parameters: " + missing.join(", "))
|
|
5690
|
+
);
|
|
5691
|
+
}
|
|
5692
|
+
const config = {
|
|
5693
|
+
method: "get",
|
|
5694
|
+
url,
|
|
5695
|
+
...httpConfigOptions
|
|
5696
|
+
};
|
|
5697
|
+
if (data)
|
|
5698
|
+
config.data = data;
|
|
5699
|
+
if (query)
|
|
5700
|
+
config.params = query;
|
|
5701
|
+
if (headers)
|
|
5702
|
+
config.headers = headers;
|
|
5703
|
+
return this._http.request(config);
|
|
5704
|
+
}, "DescribeMyOrganization");
|
|
5705
|
+
}
|
|
5706
|
+
});
|
|
5707
|
+
|
|
5442
5708
|
// dist/useCases/CreateOrganization.js
|
|
5443
5709
|
var require_CreateOrganization = __commonJS({
|
|
5444
5710
|
"dist/useCases/CreateOrganization.js"(exports2, module2) {
|
|
@@ -5591,15 +5857,15 @@ var require_ListOrganizations = __commonJS({
|
|
|
5591
5857
|
}
|
|
5592
5858
|
});
|
|
5593
5859
|
|
|
5594
|
-
// dist/useCases/
|
|
5595
|
-
var
|
|
5596
|
-
"dist/useCases/
|
|
5597
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
5860
|
+
// dist/useCases/ListProperties.js
|
|
5861
|
+
var require_ListProperties = __commonJS({
|
|
5862
|
+
"dist/useCases/ListProperties.js"(exports2, module2) {
|
|
5863
|
+
module2.exports = /* @__PURE__ */ __name(function ListProperties2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
5598
5864
|
if (!requestData)
|
|
5599
5865
|
requestData = {};
|
|
5600
5866
|
const pathParams = null;
|
|
5601
5867
|
const { data, query, headers } = requestData;
|
|
5602
|
-
let url = "/properties
|
|
5868
|
+
let url = "/properties";
|
|
5603
5869
|
if (pathParams && data) {
|
|
5604
5870
|
for (const param of pathParams) {
|
|
5605
5871
|
const paramName = param.replace(":", "");
|
|
@@ -5625,19 +5891,19 @@ var require_DescribeMyProperty = __commonJS({
|
|
|
5625
5891
|
if (headers)
|
|
5626
5892
|
config.headers = headers;
|
|
5627
5893
|
return this._http.request(config);
|
|
5628
|
-
}, "
|
|
5894
|
+
}, "ListProperties");
|
|
5629
5895
|
}
|
|
5630
5896
|
});
|
|
5631
5897
|
|
|
5632
|
-
// dist/useCases/
|
|
5633
|
-
var
|
|
5634
|
-
"dist/useCases/
|
|
5635
|
-
module2.exports = /* @__PURE__ */ __name(function
|
|
5898
|
+
// dist/useCases/ListMyProperties.js
|
|
5899
|
+
var require_ListMyProperties = __commonJS({
|
|
5900
|
+
"dist/useCases/ListMyProperties.js"(exports2, module2) {
|
|
5901
|
+
module2.exports = /* @__PURE__ */ __name(function ListMyProperties2(requestData = { data: null, query: null, headers: null }, httpConfigOptions = {}) {
|
|
5636
5902
|
if (!requestData)
|
|
5637
5903
|
requestData = {};
|
|
5638
5904
|
const pathParams = null;
|
|
5639
5905
|
const { data, query, headers } = requestData;
|
|
5640
|
-
let url = "/properties";
|
|
5906
|
+
let url = "/properties/mine";
|
|
5641
5907
|
if (pathParams && data) {
|
|
5642
5908
|
for (const param of pathParams) {
|
|
5643
5909
|
const paramName = param.replace(":", "");
|
|
@@ -5663,7 +5929,7 @@ var require_ListProperties = __commonJS({
|
|
|
5663
5929
|
if (headers)
|
|
5664
5930
|
config.headers = headers;
|
|
5665
5931
|
return this._http.request(config);
|
|
5666
|
-
}, "
|
|
5932
|
+
}, "ListMyProperties");
|
|
5667
5933
|
}
|
|
5668
5934
|
});
|
|
5669
5935
|
|
|
@@ -6238,12 +6504,13 @@ var require_ListAnnouncements = __commonJS({
|
|
|
6238
6504
|
});
|
|
6239
6505
|
|
|
6240
6506
|
// src/Client/index.js
|
|
6241
|
-
var
|
|
6507
|
+
var LoginStart = require_LoginStart();
|
|
6242
6508
|
var RefreshToken = require_RefreshToken();
|
|
6243
|
-
var
|
|
6244
|
-
var
|
|
6245
|
-
var RequestPWAToken = require_RequestPWAToken();
|
|
6509
|
+
var LoginFinish = require_LoginFinish();
|
|
6510
|
+
var RequestLoginToken = require_RequestLoginToken();
|
|
6246
6511
|
var LogoutUser = require_LogoutUser();
|
|
6512
|
+
var StartRegisterPasskey = require_StartRegisterPasskey();
|
|
6513
|
+
var FinishRegisterPasskey = require_FinishRegisterPasskey();
|
|
6247
6514
|
var DescribeSelf = require_DescribeSelf();
|
|
6248
6515
|
var DescribeUser = require_DescribeUser();
|
|
6249
6516
|
var CreateUser = require_CreateUser();
|
|
@@ -6259,6 +6526,7 @@ var ListUserSpaces = require_ListUserSpaces();
|
|
|
6259
6526
|
var ListUserOrders = require_ListUserOrders();
|
|
6260
6527
|
var ListTeam = require_ListTeam();
|
|
6261
6528
|
var DescribeMyAccessCredentials = require_DescribeMyAccessCredentials();
|
|
6529
|
+
var DescribeMyPasskeyRegistrations = require_DescribeMyPasskeyRegistrations();
|
|
6262
6530
|
var TipUser = require_TipUser();
|
|
6263
6531
|
var ListSpaces = require_ListSpaces();
|
|
6264
6532
|
var ListMySpaces = require_ListMySpaces();
|
|
@@ -6284,7 +6552,8 @@ var ListAlarms = require_ListAlarms();
|
|
|
6284
6552
|
var UpdateAlarm = require_UpdateAlarm();
|
|
6285
6553
|
var DeleteAlarm = require_DeleteAlarm();
|
|
6286
6554
|
var DescribeAlarm = require_DescribeAlarm();
|
|
6287
|
-
var
|
|
6555
|
+
var DescribeAlarmConfig = require_DescribeAlarmConfig();
|
|
6556
|
+
var SetAlarm = require_SetAlarm();
|
|
6288
6557
|
var CreateCamera = require_CreateCamera();
|
|
6289
6558
|
var ListCameras = require_ListCameras();
|
|
6290
6559
|
var UpdateCamera = require_UpdateCamera();
|
|
@@ -6308,6 +6577,7 @@ var ListLocks = require_ListLocks();
|
|
|
6308
6577
|
var UpdateLock = require_UpdateLock();
|
|
6309
6578
|
var DeleteLock = require_DeleteLock();
|
|
6310
6579
|
var DescribeLock = require_DescribeLock();
|
|
6580
|
+
var SetLock = require_SetLock();
|
|
6311
6581
|
var DescribeLockCredential = require_DescribeLockCredential();
|
|
6312
6582
|
var CreateSwitch = require_CreateSwitch();
|
|
6313
6583
|
var ListSwitches = require_ListSwitches();
|
|
@@ -6334,6 +6604,7 @@ var DeleteWindowCovering = require_DeleteWindowCovering();
|
|
|
6334
6604
|
var DescribeWindowCovering = require_DescribeWindowCovering();
|
|
6335
6605
|
var SetWindowCovering = require_SetWindowCovering();
|
|
6336
6606
|
var SetRoomScene = require_SetRoomScene();
|
|
6607
|
+
var SetCustomScene = require_SetCustomScene();
|
|
6337
6608
|
var AddScenesToRoom = require_AddScenesToRoom();
|
|
6338
6609
|
var AddDefaultScenesToRooms = require_AddDefaultScenesToRooms();
|
|
6339
6610
|
var CreateTicket = require_CreateTicket();
|
|
@@ -6346,6 +6617,7 @@ var UpdateMessageReadStatus = require_UpdateMessageReadStatus();
|
|
|
6346
6617
|
var UpdateTicket = require_UpdateTicket();
|
|
6347
6618
|
var UpdateTicketStatus = require_UpdateTicketStatus();
|
|
6348
6619
|
var ListScenes = require_ListScenes();
|
|
6620
|
+
var CreateScene = require_CreateScene();
|
|
6349
6621
|
var CreateDefaultScenes = require_CreateDefaultScenes();
|
|
6350
6622
|
var CreateDiscoveredDevice = require_CreateDiscoveredDevice();
|
|
6351
6623
|
var ListDiscoveredDevices = require_ListDiscoveredDevices();
|
|
@@ -6381,12 +6653,13 @@ var DescribeReservationLateCheckOutProducts = require_DescribeReservationLateChe
|
|
|
6381
6653
|
var PurchaseReservationLateCheckOutProducts = require_PurchaseReservationLateCheckOutProducts();
|
|
6382
6654
|
var UpdateReservationExpectedArrivalTime = require_UpdateReservationExpectedArrivalTime();
|
|
6383
6655
|
var OCRDocument = require_OCRDocument();
|
|
6656
|
+
var DescribeMyOrganization = require_DescribeMyOrganization();
|
|
6384
6657
|
var CreateOrganization = require_CreateOrganization();
|
|
6385
6658
|
var AdminUpdateCustomer = require_AdminUpdateCustomer();
|
|
6386
6659
|
var DescribeOrganization = require_DescribeOrganization();
|
|
6387
6660
|
var ListOrganizations = require_ListOrganizations();
|
|
6388
|
-
var DescribeMyProperty = require_DescribeMyProperty();
|
|
6389
6661
|
var ListProperties = require_ListProperties();
|
|
6662
|
+
var ListMyProperties = require_ListMyProperties();
|
|
6390
6663
|
var CreateProperty = require_CreateProperty();
|
|
6391
6664
|
var UpdateProperty = require_UpdateProperty();
|
|
6392
6665
|
var DescribeProperty = require_DescribeProperty();
|
|
@@ -6408,8 +6681,9 @@ var KohostApiClient = class _KohostApiClient extends EventEmitter {
|
|
|
6408
6681
|
static {
|
|
6409
6682
|
__name(this, "KohostApiClient");
|
|
6410
6683
|
}
|
|
6411
|
-
|
|
6684
|
+
/**
|
|
6412
6685
|
@param {Object} options - The options to create the client
|
|
6686
|
+
@param {String} options.organizationId - The organization ID
|
|
6413
6687
|
@param {String} options.propertyId - The property ID
|
|
6414
6688
|
@param {String} options.url - The base URL for the API endpint
|
|
6415
6689
|
@param {Object} options.headers - Additional headers to send with each request
|
|
@@ -6425,8 +6699,6 @@ var KohostApiClient = class _KohostApiClient extends EventEmitter {
|
|
|
6425
6699
|
super();
|
|
6426
6700
|
if (!options.url)
|
|
6427
6701
|
throw new Error("options.url is required");
|
|
6428
|
-
if (!options.propertyId)
|
|
6429
|
-
throw new Error("options.property is required");
|
|
6430
6702
|
this.options = options;
|
|
6431
6703
|
this.isBrowser = typeof window !== "undefined";
|
|
6432
6704
|
this.isRefreshingToken = false;
|
|
@@ -6437,23 +6709,51 @@ var KohostApiClient = class _KohostApiClient extends EventEmitter {
|
|
|
6437
6709
|
headers: {
|
|
6438
6710
|
"Content-Type": "application/json",
|
|
6439
6711
|
Accept: "application/json",
|
|
6440
|
-
[_KohostApiClient.defs.propertyHeader]: options.propertyId,
|
|
6441
6712
|
...options.headers
|
|
6442
6713
|
}
|
|
6443
6714
|
};
|
|
6444
6715
|
if (options.apiKey) {
|
|
6445
6716
|
config.headers[_KohostApiClient.defs.apiKeyHeader] = options.apiKey;
|
|
6446
6717
|
}
|
|
6718
|
+
if (options.propertyId) {
|
|
6719
|
+
config.headers[_KohostApiClient.defs.propertyHeader] = options.propertyId;
|
|
6720
|
+
}
|
|
6721
|
+
if (options.organizationId) {
|
|
6722
|
+
config.headers[_KohostApiClient.defs.organizationHeader] = options.organizationId;
|
|
6723
|
+
}
|
|
6447
6724
|
this._http = axios.create(config);
|
|
6448
6725
|
this._http.interceptors.response.use(
|
|
6449
6726
|
this._handleResponse.bind(this),
|
|
6450
6727
|
this._handleResponseError.bind(this)
|
|
6451
6728
|
);
|
|
6452
6729
|
}
|
|
6730
|
+
/**
|
|
6731
|
+
* @param {string} orgId
|
|
6732
|
+
* @returns {void}
|
|
6733
|
+
* @memberof KohostApiClient
|
|
6734
|
+
* @example
|
|
6735
|
+
* client.organizationId = "1234";
|
|
6736
|
+
*/
|
|
6737
|
+
set organizationId(orgId) {
|
|
6738
|
+
const key = _KohostApiClient.defs.organizationHeader;
|
|
6739
|
+
this._http.defaults.headers.common[key] = orgId;
|
|
6740
|
+
}
|
|
6741
|
+
/**
|
|
6742
|
+
* @param {string} propertyId
|
|
6743
|
+
* @returns {void}
|
|
6744
|
+
* @memberof KohostApiClient
|
|
6745
|
+
* @example
|
|
6746
|
+
* client.propertyId = "1234";
|
|
6747
|
+
*/
|
|
6748
|
+
set propertyId(propertyId) {
|
|
6749
|
+
const key = _KohostApiClient.defs.propertyHeader;
|
|
6750
|
+
this._http.defaults.headers.common[key] = propertyId;
|
|
6751
|
+
}
|
|
6453
6752
|
static get defs() {
|
|
6454
6753
|
return {
|
|
6455
6754
|
apiKeyHeader: "X-Api-Key",
|
|
6456
|
-
propertyHeader: "X-Property-Id"
|
|
6755
|
+
propertyHeader: "X-Property-Id",
|
|
6756
|
+
organizationHeader: "X-Organization-Id"
|
|
6457
6757
|
};
|
|
6458
6758
|
}
|
|
6459
6759
|
_handleResponse(response) {
|
|
@@ -6514,12 +6814,13 @@ var KohostApiClient = class _KohostApiClient extends EventEmitter {
|
|
|
6514
6814
|
this.emit("PhoneVerificationRequired");
|
|
6515
6815
|
}
|
|
6516
6816
|
};
|
|
6517
|
-
KohostApiClient.prototype.
|
|
6817
|
+
KohostApiClient.prototype.LoginStart = LoginStart;
|
|
6518
6818
|
KohostApiClient.prototype.RefreshToken = RefreshToken;
|
|
6519
|
-
KohostApiClient.prototype.
|
|
6520
|
-
KohostApiClient.prototype.
|
|
6521
|
-
KohostApiClient.prototype.RequestPWAToken = RequestPWAToken;
|
|
6819
|
+
KohostApiClient.prototype.LoginFinish = LoginFinish;
|
|
6820
|
+
KohostApiClient.prototype.RequestLoginToken = RequestLoginToken;
|
|
6522
6821
|
KohostApiClient.prototype.LogoutUser = LogoutUser;
|
|
6822
|
+
KohostApiClient.prototype.StartRegisterPasskey = StartRegisterPasskey;
|
|
6823
|
+
KohostApiClient.prototype.FinishRegisterPasskey = FinishRegisterPasskey;
|
|
6523
6824
|
KohostApiClient.prototype.DescribeSelf = DescribeSelf;
|
|
6524
6825
|
KohostApiClient.prototype.DescribeUser = DescribeUser;
|
|
6525
6826
|
KohostApiClient.prototype.CreateUser = CreateUser;
|
|
@@ -6535,6 +6836,7 @@ KohostApiClient.prototype.ListUserSpaces = ListUserSpaces;
|
|
|
6535
6836
|
KohostApiClient.prototype.ListUserOrders = ListUserOrders;
|
|
6536
6837
|
KohostApiClient.prototype.ListTeam = ListTeam;
|
|
6537
6838
|
KohostApiClient.prototype.DescribeMyAccessCredentials = DescribeMyAccessCredentials;
|
|
6839
|
+
KohostApiClient.prototype.DescribeMyPasskeyRegistrations = DescribeMyPasskeyRegistrations;
|
|
6538
6840
|
KohostApiClient.prototype.TipUser = TipUser;
|
|
6539
6841
|
KohostApiClient.prototype.ListSpaces = ListSpaces;
|
|
6540
6842
|
KohostApiClient.prototype.ListMySpaces = ListMySpaces;
|
|
@@ -6560,7 +6862,8 @@ KohostApiClient.prototype.ListAlarms = ListAlarms;
|
|
|
6560
6862
|
KohostApiClient.prototype.UpdateAlarm = UpdateAlarm;
|
|
6561
6863
|
KohostApiClient.prototype.DeleteAlarm = DeleteAlarm;
|
|
6562
6864
|
KohostApiClient.prototype.DescribeAlarm = DescribeAlarm;
|
|
6563
|
-
KohostApiClient.prototype.
|
|
6865
|
+
KohostApiClient.prototype.DescribeAlarmConfig = DescribeAlarmConfig;
|
|
6866
|
+
KohostApiClient.prototype.SetAlarm = SetAlarm;
|
|
6564
6867
|
KohostApiClient.prototype.CreateCamera = CreateCamera;
|
|
6565
6868
|
KohostApiClient.prototype.ListCameras = ListCameras;
|
|
6566
6869
|
KohostApiClient.prototype.UpdateCamera = UpdateCamera;
|
|
@@ -6584,6 +6887,7 @@ KohostApiClient.prototype.ListLocks = ListLocks;
|
|
|
6584
6887
|
KohostApiClient.prototype.UpdateLock = UpdateLock;
|
|
6585
6888
|
KohostApiClient.prototype.DeleteLock = DeleteLock;
|
|
6586
6889
|
KohostApiClient.prototype.DescribeLock = DescribeLock;
|
|
6890
|
+
KohostApiClient.prototype.SetLock = SetLock;
|
|
6587
6891
|
KohostApiClient.prototype.DescribeLockCredential = DescribeLockCredential;
|
|
6588
6892
|
KohostApiClient.prototype.CreateSwitch = CreateSwitch;
|
|
6589
6893
|
KohostApiClient.prototype.ListSwitches = ListSwitches;
|
|
@@ -6610,6 +6914,7 @@ KohostApiClient.prototype.DeleteWindowCovering = DeleteWindowCovering;
|
|
|
6610
6914
|
KohostApiClient.prototype.DescribeWindowCovering = DescribeWindowCovering;
|
|
6611
6915
|
KohostApiClient.prototype.SetWindowCovering = SetWindowCovering;
|
|
6612
6916
|
KohostApiClient.prototype.SetRoomScene = SetRoomScene;
|
|
6917
|
+
KohostApiClient.prototype.SetCustomScene = SetCustomScene;
|
|
6613
6918
|
KohostApiClient.prototype.AddScenesToRoom = AddScenesToRoom;
|
|
6614
6919
|
KohostApiClient.prototype.AddDefaultScenesToRooms = AddDefaultScenesToRooms;
|
|
6615
6920
|
KohostApiClient.prototype.CreateTicket = CreateTicket;
|
|
@@ -6622,6 +6927,7 @@ KohostApiClient.prototype.UpdateMessageReadStatus = UpdateMessageReadStatus;
|
|
|
6622
6927
|
KohostApiClient.prototype.UpdateTicket = UpdateTicket;
|
|
6623
6928
|
KohostApiClient.prototype.UpdateTicketStatus = UpdateTicketStatus;
|
|
6624
6929
|
KohostApiClient.prototype.ListScenes = ListScenes;
|
|
6930
|
+
KohostApiClient.prototype.CreateScene = CreateScene;
|
|
6625
6931
|
KohostApiClient.prototype.CreateDefaultScenes = CreateDefaultScenes;
|
|
6626
6932
|
KohostApiClient.prototype.CreateDiscoveredDevice = CreateDiscoveredDevice;
|
|
6627
6933
|
KohostApiClient.prototype.ListDiscoveredDevices = ListDiscoveredDevices;
|
|
@@ -6657,12 +6963,13 @@ KohostApiClient.prototype.DescribeReservationLateCheckOutProducts = DescribeRese
|
|
|
6657
6963
|
KohostApiClient.prototype.PurchaseReservationLateCheckOutProducts = PurchaseReservationLateCheckOutProducts;
|
|
6658
6964
|
KohostApiClient.prototype.UpdateReservationExpectedArrivalTime = UpdateReservationExpectedArrivalTime;
|
|
6659
6965
|
KohostApiClient.prototype.OCRDocument = OCRDocument;
|
|
6966
|
+
KohostApiClient.prototype.DescribeMyOrganization = DescribeMyOrganization;
|
|
6660
6967
|
KohostApiClient.prototype.CreateOrganization = CreateOrganization;
|
|
6661
6968
|
KohostApiClient.prototype.AdminUpdateCustomer = AdminUpdateCustomer;
|
|
6662
6969
|
KohostApiClient.prototype.DescribeOrganization = DescribeOrganization;
|
|
6663
6970
|
KohostApiClient.prototype.ListOrganizations = ListOrganizations;
|
|
6664
|
-
KohostApiClient.prototype.DescribeMyProperty = DescribeMyProperty;
|
|
6665
6971
|
KohostApiClient.prototype.ListProperties = ListProperties;
|
|
6972
|
+
KohostApiClient.prototype.ListMyProperties = ListMyProperties;
|
|
6666
6973
|
KohostApiClient.prototype.CreateProperty = CreateProperty;
|
|
6667
6974
|
KohostApiClient.prototype.UpdateProperty = UpdateProperty;
|
|
6668
6975
|
KohostApiClient.prototype.DescribeProperty = DescribeProperty;
|