nuki-api-js 0.2.1 → 1.1.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/index.mjs CHANGED
@@ -1,606 +1,55 @@
1
- function notEmpty(value) {
2
- return value !== null && value !== void 0;
3
- }
4
- function compactObject(obj) {
5
- return Object.fromEntries(Object.entries(obj).filter(([, value]) => notEmpty(value)));
6
- }
7
-
8
- const baseUrl = "https://api.nuki.io";
9
- async function fetch$1({
10
- url,
11
- method,
12
- body,
13
- headers,
14
- pathParams,
15
- queryParams,
16
- signal,
17
- token,
18
- fetchImpl
19
- }) {
20
- try {
21
- const requestHeaders = compactObject({
22
- "Content-Type": "application/json",
23
- Authorization: token ? `Bearer ${token}` : void 0,
24
- ...headers
25
- });
26
- if (requestHeaders["Content-Type"]?.toLowerCase().includes("multipart/form-data")) {
27
- delete requestHeaders["Content-Type"];
28
- }
29
- const payload = body instanceof FormData ? body : requestHeaders["Content-Type"] === "application/json" ? JSON.stringify(body) : body;
30
- const response = await fetchImpl(`${baseUrl}${resolveUrl(url, queryParams, pathParams)}`, {
31
- signal,
32
- method: method.toUpperCase(),
33
- body: payload,
34
- headers: requestHeaders
35
- });
36
- if (!response.ok) {
37
- let error;
38
- try {
39
- error = await response.json();
40
- } catch (e) {
41
- error = {
42
- status: "unknown",
43
- payload: e instanceof Error ? `Unexpected error (${e.message})` : "Unexpected error"
44
- };
45
- }
46
- throw error;
47
- }
48
- if (response.headers?.get("content-type")?.includes("json")) {
49
- return await response.json();
50
- } else {
51
- return await response.text();
52
- }
53
- } catch (e) {
54
- const errorObject = {
55
- name: "unknown",
56
- message: e instanceof Error ? `Network error (${e.message})` : "Network error",
57
- stack: e
58
- };
59
- throw errorObject;
60
- }
61
- }
62
- const resolveUrl = (url, queryParams = {}, pathParams = {}) => {
63
- let query = new URLSearchParams(queryParams).toString();
64
- if (query) query = `?${query}`;
65
- return url.replace(/\{\w*\}/g, (key) => pathParams[key.slice(1, -1)] ?? "") + query;
66
- };
67
-
68
- const getAccountsResource = (variables, signal) => fetch$1({
69
- url: "/account",
70
- method: "get",
71
- ...variables,
72
- signal
73
- });
74
- const postAccountsResource = (variables, signal) => fetch$1({ url: "/account", method: "post", ...variables, signal });
75
- const deleteAccountsResource = (variables, signal) => fetch$1({
76
- url: "/account",
77
- method: "delete",
78
- ...variables,
79
- signal
80
- });
81
- const postAccountEmailChangeResource = (variables, signal) => fetch$1({ url: "/account/email/change", method: "post", ...variables, signal });
82
- const postAccountEmailVerifyResource = (variables, signal) => fetch$1({
83
- url: "/account/email/verify",
84
- method: "post",
85
- ...variables,
86
- signal
87
- });
88
- const getAccountIntegrationsResource = (variables, signal) => fetch$1({ url: "/account/integration", method: "get", ...variables, signal });
89
- const deleteAccountIntegrationsResource = (variables, signal) => fetch$1({ url: "/account/integration", method: "delete", ...variables, signal });
90
- const postAccountOtpResource = (variables, signal) => fetch$1({ url: "/account/otp", method: "post", ...variables, signal });
91
- const putAccountOtpResource = (variables, signal) => fetch$1({
92
- url: "/account/otp",
93
- method: "put",
94
- ...variables,
95
- signal
96
- });
97
- const deleteAccountOtpResource = (variables, signal) => fetch$1({
98
- url: "/account/otp",
99
- method: "delete",
100
- ...variables,
101
- signal
102
- });
103
- const postAccountPasswordResetResource = (variables, signal) => fetch$1({ url: "/account/password/reset", method: "post", ...variables, signal });
104
- const getAccountSettingResource = (variables, signal) => fetch$1({ url: "/account/setting", method: "get", ...variables, signal });
105
- const putAccountSettingResource = (variables, signal) => fetch$1({ url: "/account/setting", method: "put", ...variables, signal });
106
- const deleteAccountSettingResource = (variables, signal) => fetch$1({
107
- url: "/account/setting",
108
- method: "delete",
109
- ...variables,
110
- signal
111
- });
112
- const getAccountSubsResource = (variables, signal) => fetch$1({ url: "/account/sub", method: "get", ...variables, signal });
113
- const putAccountSubsResource = (variables, signal) => fetch$1({ url: "/account/sub", method: "put", ...variables, signal });
114
- const getAccountSubResource = (variables, signal) => fetch$1({ url: "/account/sub/{accountId}", method: "get", ...variables, signal });
115
- const postAccountSubResource = (variables, signal) => fetch$1({ url: "/account/sub/{accountId}", method: "post", ...variables, signal });
116
- const deleteAccountSubResource = (variables, signal) => fetch$1({
117
- url: "/account/sub/{accountId}",
118
- method: "delete",
119
- ...variables,
120
- signal
121
- });
122
- const getAccountUsersResource = (variables, signal) => fetch$1({ url: "/account/user", method: "get", ...variables, signal });
123
- const putAccountUsersResource = (variables, signal) => fetch$1({ url: "/account/user", method: "put", ...variables, signal });
124
- const getAccountUserResource = (variables, signal) => fetch$1({
125
- url: "/account/user/{accountUserId}",
126
- method: "get",
127
- ...variables,
128
- signal
129
- });
130
- const postAccountUserResource = (variables, signal) => fetch$1({
131
- url: "/account/user/{accountUserId}",
132
- method: "post",
133
- ...variables,
134
- signal
135
- });
136
- const deleteAccountUserResource = (variables, signal) => fetch$1({
137
- url: "/account/user/{accountUserId}",
138
- method: "delete",
139
- ...variables,
140
- signal
141
- });
142
- const getAddressesResource = (variables, signal) => fetch$1({ url: "/address", method: "get", ...variables, signal });
143
- const putAddressesResource = (variables, signal) => fetch$1({ url: "/address", method: "put", ...variables, signal });
144
- const getAddressTokenResource = (variables, signal) => fetch$1({ url: "/address/token/{id}", method: "get", ...variables, signal });
145
- const getAddressTokenRedeemResource = (variables, signal) => fetch$1({ url: "/address/token/{id}/redeem", method: "get", ...variables, signal });
146
- const postAddressTokenRedeemResource = (variables, signal) => fetch$1({
147
- url: "/address/token/{id}/redeem",
148
- method: "post",
149
- ...variables,
150
- signal
151
- });
152
- const postAddressResource = (variables, signal) => fetch$1({ url: "/address/{addressId}", method: "post", ...variables, signal });
153
- const deleteAddressResource = (variables, signal) => fetch$1({ url: "/address/{addressId}", method: "delete", ...variables, signal });
154
- const getAddressReservationsResource = (variables, signal) => fetch$1({
155
- url: "/address/{addressId}/reservation",
156
- method: "get",
157
- ...variables,
158
- signal
159
- });
160
- const postAddressReservationIssueResource = (variables, signal) => fetch$1({
161
- url: "/address/{addressId}/reservation/{id}/issue",
162
- method: "post",
163
- ...variables,
164
- signal
165
- });
166
- const postAddressReservationRevokeResource = (variables, signal) => fetch$1({
167
- url: "/address/{addressId}/reservation/{id}/revoke",
168
- method: "post",
169
- ...variables,
170
- signal
171
- });
172
- const postReservationAccessTimesUpdateResource = (variables, signal) => fetch$1({
173
- url: "/address/{addressId}/reservation/{id}/update/accesstimes",
174
- method: "post",
175
- ...variables,
176
- signal
177
- });
178
- const getAddressTokensResource = (variables, signal) => fetch$1({ url: "/address/{addressId}/token", method: "get", ...variables, signal });
179
- const getAddressUnitsResource = (variables, signal) => fetch$1({ url: "/address/{addressId}/unit", method: "get", ...variables, signal });
180
- const putAddressUnitsResource = (variables, signal) => fetch$1({ url: "/address/{addressId}/unit", method: "put", ...variables, signal });
181
- const deleteAddressUnitsResource = (variables, signal) => fetch$1({
182
- url: "/address/{addressId}/unit",
183
- method: "delete",
184
- ...variables,
185
- signal
186
- });
187
- const deleteAddressUnitResource = (variables, signal) => fetch$1({
188
- url: "/address/{addressId}/unit/{id}",
189
- method: "delete",
190
- ...variables,
191
- signal
192
- });
193
- const getDecentralWebhooksResource = (variables, signal) => fetch$1({ url: "/api/decentralWebhook", method: "get", ...variables, signal });
194
- const putDecentralWebhooksResource = (variables, signal) => fetch$1({ url: "/api/decentralWebhook", method: "put", ...variables, signal });
195
- const deleteDecentralWebhookResource = (variables, signal) => fetch$1({
196
- url: "/api/decentralWebhook/{id}",
197
- method: "delete",
198
- ...variables,
199
- signal
200
- });
201
- const getApiKeysResource = (variables, signal) => fetch$1({ url: "/api/key", method: "get", ...variables, signal });
202
- const putApiKeysResource = (variables, signal) => fetch$1({ url: "/api/key", method: "put", ...variables, signal });
203
- const postApiKeyResource = (variables, signal) => fetch$1({ url: "/api/key/{apiKeyId}", method: "post", ...variables, signal });
204
- const deleteApiKeyResource = (variables, signal) => fetch$1({ url: "/api/key/{apiKeyId}", method: "delete", ...variables, signal });
205
- const getApiKeyAdvancedResource = (variables, signal) => fetch$1({
206
- url: "/api/key/{apiKeyId}/advanced",
207
- method: "get",
208
- ...variables,
209
- signal
210
- });
211
- const postApiKeyAdvancedResource = (variables, signal) => fetch$1({
212
- url: "/api/key/{apiKeyId}/advanced",
213
- method: "post",
214
- ...variables,
215
- signal
216
- });
217
- const putApiKeyAdvancedResource = (variables, signal) => fetch$1({
218
- url: "/api/key/{apiKeyId}/advanced",
219
- method: "put",
220
- ...variables,
221
- signal
222
- });
223
- const deleteApiKeyAdvancedResource = (variables, signal) => fetch$1({
224
- url: "/api/key/{apiKeyId}/advanced",
225
- method: "delete",
226
- ...variables,
227
- signal
228
- });
229
- const postApiKeyAdvancedReactivateResource = (variables, signal) => fetch$1({
230
- url: "/api/key/{apiKeyId}/advanced/reactivate",
231
- method: "post",
232
- ...variables,
233
- signal
234
- });
235
- const getApiKeyTokensResource = (variables, signal) => fetch$1({ url: "/api/key/{apiKeyId}/token", method: "get", ...variables, signal });
236
- const putApiKeyTokensResource = (variables, signal) => fetch$1({ url: "/api/key/{apiKeyId}/token", method: "put", ...variables, signal });
237
- const postApiKeyTokenResource = (variables, signal) => fetch$1({
238
- url: "/api/key/{apiKeyId}/token/{id}",
239
- method: "post",
240
- ...variables,
241
- signal
242
- });
243
- const deleteApiKeyTokenResource = (variables, signal) => fetch$1({
244
- url: "/api/key/{apiKeyId}/token/{id}",
245
- method: "delete",
246
- ...variables,
247
- signal
248
- });
249
- const getWebhookLogsResource = (variables, signal) => fetch$1({
250
- url: "/api/key/{apiKeyId}/webhook/logs",
251
- method: "get",
252
- ...variables,
253
- signal
254
- });
255
- const postSmartlockBulkWebConfigResource = (variables, signal) => fetch$1({ url: "/bulk-web-config", method: "post", ...variables, signal });
256
- const getCompaniesResource = (variables, signal) => fetch$1({ url: "/company", method: "get", ...variables, signal });
257
- const getNotificationsResource = (variables, signal) => fetch$1({ url: "/notification", method: "get", ...variables, signal });
258
- const putNotificationsResource = (variables, signal) => fetch$1({ url: "/notification", method: "put", ...variables, signal });
259
- const getNotificationResource = (variables, signal) => fetch$1({
260
- url: "/notification/{notificationId}",
261
- method: "get",
262
- ...variables,
263
- signal
264
- });
265
- const postNotificationResource = (variables, signal) => fetch$1({
266
- url: "/notification/{notificationId}",
267
- method: "post",
268
- ...variables,
269
- signal
270
- });
271
- const deleteNotificationResource = (variables, signal) => fetch$1({
272
- url: "/notification/{notificationId}",
273
- method: "delete",
274
- ...variables,
275
- signal
276
- });
277
- const getOpenerBrandsResource = (variables, signal) => fetch$1({ url: "/opener/brand", method: "get", ...variables, signal });
278
- const getOpenerBrandResource = (variables, signal) => fetch$1({ url: "/opener/brand/{brandId}", method: "get", ...variables, signal });
279
- const getOpenerIntercomsResource = (variables, signal) => fetch$1({ url: "/opener/intercom", method: "get", ...variables, signal });
280
- const getOpenerIntercomResource = (variables, signal) => fetch$1({
281
- url: "/opener/intercom/{intercomId}",
282
- method: "get",
283
- ...variables,
284
- signal
285
- });
286
- const getServicesResource = (variables, signal) => fetch$1({ url: "/service", method: "get", ...variables, signal });
287
- const getServiceResource = (variables, signal) => fetch$1({ url: "/service/{serviceId}", method: "get", ...variables, signal });
288
- const postServiceLinkResource = (variables, signal) => fetch$1({ url: "/service/{serviceId}/link", method: "post", ...variables, signal });
289
- const postServiceSyncResource = (variables, signal) => fetch$1({ url: "/service/{serviceId}/sync", method: "post", ...variables, signal });
290
- const postServiceUnlinkResource = (variables, signal) => fetch$1({
291
- url: "/service/{serviceId}/unlink",
292
- method: "post",
293
- ...variables,
294
- signal
295
- });
296
- const getSmartlocksResource = (variables, signal) => fetch$1({ url: "/smartlock", method: "get", ...variables, signal });
297
- const getSmartlocksAuthsResource = (variables, signal) => fetch$1({ url: "/smartlock/auth", method: "get", ...variables, signal });
298
- const postSmartlocksAuthsResource = (variables, signal) => fetch$1({ url: "/smartlock/auth", method: "post", ...variables, signal });
299
- const putSmartlocksAuthsResource = (variables, signal) => fetch$1({ url: "/smartlock/auth", method: "put", ...variables, signal });
300
- const deleteSmartlocksAuthsResource = (variables, signal) => fetch$1({ url: "/smartlock/auth", method: "delete", ...variables, signal });
301
- const putSmartlockAuthsAdvancedResource = (variables, signal) => fetch$1({ url: "/smartlock/auth/advanced", method: "put", ...variables, signal });
302
- const getSmartlocksAuthsPaginatedResource = (variables, signal) => fetch$1({ url: "/smartlock/auth/paged", method: "get", ...variables, signal });
303
- const getSmartlocksLogsResource = (variables, signal) => fetch$1({ url: "/smartlock/log", method: "get", ...variables, signal });
304
- const getSmartlockResource = (variables, signal) => fetch$1({ url: "/smartlock/{smartlockId}", method: "get", ...variables, signal });
305
- const postSmartlockResource = (variables, signal) => fetch$1({ url: "/smartlock/{smartlockId}", method: "post", ...variables, signal });
306
- const deleteSmartlockResource = (variables, signal) => fetch$1({
307
- url: "/smartlock/{smartlockId}",
308
- method: "delete",
309
- ...variables,
310
- signal
311
- });
312
- const postSmartlockActionResource = (variables, signal) => fetch$1({
313
- url: "/smartlock/{smartlockId}/action",
314
- method: "post",
315
- ...variables,
316
- signal
317
- });
318
- const postSmartlockActionAdvancedResource = (variables, signal) => fetch$1({
319
- url: "/smartlock/{smartlockId}/action/advanced",
320
- method: "post",
321
- ...variables,
322
- signal
323
- });
324
- const postSmartlockLockActionResource = (variables, signal) => fetch$1({
325
- url: "/smartlock/{smartlockId}/action/lock",
326
- method: "post",
327
- ...variables,
328
- signal
329
- });
330
- const postSmartlockLockActionAdvancedResource = (variables, signal) => fetch$1({
331
- url: "/smartlock/{smartlockId}/action/lock/advanced",
332
- method: "post",
333
- ...variables,
334
- signal
335
- });
336
- const postSmartlockUnlockActionResource = (variables, signal) => fetch$1({
337
- url: "/smartlock/{smartlockId}/action/unlock",
338
- method: "post",
339
- ...variables,
340
- signal
341
- });
342
- const postSmartlockUnlockActionAdvancedResource = (variables, signal) => fetch$1({
343
- url: "/smartlock/{smartlockId}/action/unlock/advanced",
344
- method: "post",
345
- ...variables,
346
- signal
347
- });
348
- const postSmartlockAdminPinResource = (variables, signal) => fetch$1({
349
- url: "/smartlock/{smartlockId}/admin/pin",
350
- method: "post",
351
- ...variables,
352
- signal
353
- });
354
- const postSmartlockAdvancedConfigResource = (variables, signal) => fetch$1({
355
- url: "/smartlock/{smartlockId}/advanced/config",
356
- method: "post",
357
- ...variables,
358
- signal
359
- });
360
- const postSmartlockOpenerAdvancedConfigResource = (variables, signal) => fetch$1({
361
- url: "/smartlock/{smartlockId}/advanced/openerconfig",
362
- method: "post",
363
- ...variables,
364
- signal
365
- });
366
- const postSmartdoorAdvancedConfigResource = (variables, signal) => fetch$1({
367
- url: "/smartlock/{smartlockId}/advanced/smartdoorconfig",
368
- method: "post",
369
- ...variables,
370
- signal
371
- });
372
- const getSmartlockAuthsResource = (variables, signal) => fetch$1({
373
- url: "/smartlock/{smartlockId}/auth",
374
- method: "get",
375
- ...variables,
376
- signal
377
- });
378
- const putSmartlockAuthsResource = (variables, signal) => fetch$1({
379
- url: "/smartlock/{smartlockId}/auth",
380
- method: "put",
381
- ...variables,
382
- signal
383
- });
384
- const postSmartlockAuthWithSharedKeyResource = (variables, signal) => fetch$1({
385
- url: "/smartlock/{smartlockId}/auth/advanced/sharedkey",
386
- method: "post",
387
- ...variables,
388
- signal
389
- });
390
- const getSmartlockAuthResource = (variables, signal) => fetch$1({
391
- url: "/smartlock/{smartlockId}/auth/{id}",
392
- method: "get",
393
- ...variables,
394
- signal
395
- });
396
- const postSmartlockAuthResource = (variables, signal) => fetch$1({
397
- url: "/smartlock/{smartlockId}/auth/{id}",
398
- method: "post",
399
- ...variables,
400
- signal
401
- });
402
- const deleteSmartlockAuthResource = (variables, signal) => fetch$1({
403
- url: "/smartlock/{smartlockId}/auth/{id}",
404
- method: "delete",
405
- ...variables,
406
- signal
407
- });
408
- const postSmartlockConfigResource = (variables, signal) => fetch$1({
409
- url: "/smartlock/{smartlockId}/config",
410
- method: "post",
411
- ...variables,
412
- signal
413
- });
414
- const getSmartlockLogsResource = (variables, signal) => fetch$1({
415
- url: "/smartlock/{smartlockId}/log",
416
- method: "get",
417
- ...variables,
418
- signal
419
- });
420
- const postSmartlockSyncResource = (variables, signal) => fetch$1({
421
- url: "/smartlock/{smartlockId}/sync",
422
- method: "post",
423
- ...variables,
424
- signal
425
- });
426
- const postSmartlockWebConfigResource = (variables, signal) => fetch$1({
427
- url: "/smartlock/{smartlockId}/web/config",
428
- method: "post",
429
- ...variables,
430
- signal
431
- });
432
- const operationsByTag = {
433
- account: {
434
- getAccountsResource,
435
- postAccountsResource,
436
- deleteAccountsResource,
437
- postAccountEmailChangeResource,
438
- postAccountEmailVerifyResource,
439
- getAccountIntegrationsResource,
440
- deleteAccountIntegrationsResource,
441
- postAccountOtpResource,
442
- putAccountOtpResource,
443
- deleteAccountOtpResource,
444
- postAccountPasswordResetResource,
445
- getAccountSettingResource,
446
- putAccountSettingResource,
447
- deleteAccountSettingResource,
448
- getAccountSubsResource,
449
- putAccountSubsResource,
450
- getAccountSubResource,
451
- postAccountSubResource,
452
- deleteAccountSubResource
453
- },
454
- accountUser: {
455
- getAccountUsersResource,
456
- putAccountUsersResource,
457
- getAccountUserResource,
458
- postAccountUserResource,
459
- deleteAccountUserResource
460
- },
461
- address: {
462
- getAddressesResource,
463
- putAddressesResource,
464
- postAddressResource,
465
- deleteAddressResource,
466
- getAddressUnitsResource,
467
- putAddressUnitsResource,
468
- deleteAddressUnitsResource,
469
- deleteAddressUnitResource
470
- },
471
- addressToken: {
472
- getAddressTokenResource,
473
- getAddressTokenRedeemResource,
474
- postAddressTokenRedeemResource,
475
- getAddressTokensResource
476
- },
477
- addressReservation: {
478
- getAddressReservationsResource,
479
- postAddressReservationIssueResource,
480
- postAddressReservationRevokeResource,
481
- postReservationAccessTimesUpdateResource
482
- },
483
- advancedApi: {
484
- getDecentralWebhooksResource,
485
- putDecentralWebhooksResource,
486
- deleteDecentralWebhookResource,
487
- getWebhookLogsResource,
488
- putSmartlockAuthsAdvancedResource,
489
- postSmartlockActionAdvancedResource,
490
- postSmartlockLockActionAdvancedResource,
491
- postSmartlockUnlockActionAdvancedResource
492
- },
493
- apiKey: {
494
- getApiKeysResource,
495
- putApiKeysResource,
496
- postApiKeyResource,
497
- deleteApiKeyResource,
498
- getApiKeyAdvancedResource,
499
- postApiKeyAdvancedResource,
500
- putApiKeyAdvancedResource,
501
- deleteApiKeyAdvancedResource,
502
- postApiKeyAdvancedReactivateResource,
503
- getApiKeyTokensResource,
504
- putApiKeyTokensResource,
505
- postApiKeyTokenResource,
506
- deleteApiKeyTokenResource
507
- },
508
- smartlock: {
509
- postSmartlockBulkWebConfigResource,
510
- getSmartlocksResource,
511
- getSmartlockResource,
512
- postSmartlockResource,
513
- deleteSmartlockResource,
514
- postSmartlockActionResource,
515
- postSmartlockLockActionResource,
516
- postSmartlockUnlockActionResource,
517
- postSmartlockAdminPinResource,
518
- postSmartlockAdvancedConfigResource,
519
- postSmartlockOpenerAdvancedConfigResource,
520
- postSmartdoorAdvancedConfigResource,
521
- postSmartlockConfigResource,
522
- postSmartlockSyncResource,
523
- postSmartlockWebConfigResource
524
- },
525
- company: { getCompaniesResource },
526
- notification: {
527
- getNotificationsResource,
528
- putNotificationsResource,
529
- getNotificationResource,
530
- postNotificationResource,
531
- deleteNotificationResource
532
- },
533
- opener: {
534
- getOpenerBrandsResource,
535
- getOpenerBrandResource,
536
- getOpenerIntercomsResource,
537
- getOpenerIntercomResource
538
- },
539
- service: {
540
- getServicesResource,
541
- getServiceResource,
542
- postServiceLinkResource,
543
- postServiceSyncResource,
544
- postServiceUnlinkResource
545
- },
546
- smartlockAuth: {
547
- getSmartlocksAuthsResource,
548
- postSmartlocksAuthsResource,
549
- putSmartlocksAuthsResource,
550
- deleteSmartlocksAuthsResource,
551
- getSmartlocksAuthsPaginatedResource,
552
- getSmartlockAuthsResource,
553
- putSmartlockAuthsResource,
554
- postSmartlockAuthWithSharedKeyResource,
555
- getSmartlockAuthResource,
556
- postSmartlockAuthResource,
557
- deleteSmartlockAuthResource
558
- },
559
- smartlockLog: { getSmartlocksLogsResource, getSmartlockLogsResource }
560
- };
1
+ import { o as operationsByTag, c as client } from './components-eiu9qz9x.js';
2
+ export { a as operationsByPath, t as tagDictionary } from './components-eiu9qz9x.js';
3
+ export { a as accountConfigSchema, b as accountDescentSchema, c as accountEmailChangeSchema, d as accountIntegrationSchema, e as accountOtpEnableSchema, f as accountPasswordResetSchema, g as accountProfileSchema, h as accountSchema, i as accountSettingSchema, j as accountSettingWebSchema, k as accountSubCreateSchema, l as accountSubUpdateSchema, m as accountUpdateSchema, n as accountUserCreateSchema, o as accountUserSchema, p as accountUserUpdateSchema, q as addressCreateSchema, r as addressReservationSchema, s as addressSchema, t as addressTokenInfoSchema, u as addressTokenSchema, v as addressUnitResponseSchema, w as addressUnitSchema, x as addressUpdateSchema, y as advancedApiKeyCreateSchema, z as advancedApiKeySchema, A as advancedApiKeyUpdateSchema, B as advancedConfirmationResponseSchema, C as apiKeyAdvancedSchema, D as apiKeyCreateSchema, E as apiKeySchema, F as apiKeyServiceSchema, G as apiKeyTokenCreateSchema, H as apiKeyTokenSchema, I as apiKeyTokenUpdateSchema, J as apiKeyUpdateSchema, K as applicationSchema, L as authenticationInfoSchema, M as bulkWebConfigRequestSchema, N as cacheDirectiveSchema, O as certificateSchema, P as challengeRequestSchema, Q as challengeResponseSchema, R as challengeSchemeSchema, S as characterSetSchema, T as clientInfoSchema, U as companySchema, V as completableFutureListApiKeySchema, W as completableFutureSchema, X as conditionsSchema, Y as connectorServiceSchema, Z as connegServiceSchema, _ as contextSchema, $ as converterServiceSchema, a0 as cookieSchema, a1 as cookieSettingSchema, a2 as decentralWebhookSchema, a3 as decoderServiceSchema, a4 as deleteAccountIntegrationsResourceErrorSchema, a5 as deleteAccountIntegrationsResourceQueryApiKeyIdSchema, a6 as deleteAccountIntegrationsResourceQueryTokenIdSchema, a7 as deleteAccountIntegrationsResourceResponseSchema, a8 as deleteAccountIntegrationsResourceStatus204Schema, a9 as deleteAccountIntegrationsResourceStatus401Schema, aa as deleteAccountOtpResourceErrorSchema, ab as deleteAccountOtpResourceResponseSchema, ac as deleteAccountOtpResourceStatus204Schema, ad as deleteAccountOtpResourceStatus401Schema, ae as deleteAccountSettingResourceErrorSchema, af as deleteAccountSettingResourceResponseSchema, ag as deleteAccountSettingResourceStatus204Schema, ah as deleteAccountSettingResourceStatus401Schema, ai as deleteAccountSettingResourceStatus403Schema, aj as deleteAccountSubResourceErrorSchema, ak as deleteAccountSubResourcePathAccountIdSchema, al as deleteAccountSubResourceResponseSchema, am as deleteAccountSubResourceStatus204Schema, an as deleteAccountSubResourceStatus401Schema, ao as deleteAccountUserResourceErrorSchema, ap as deleteAccountUserResourcePathAccountUserIdSchema, aq as deleteAccountUserResourceResponseSchema, ar as deleteAccountUserResourceStatus204Schema, as as deleteAccountUserResourceStatus401Schema, at as deleteAccountUserResourceStatus423Schema, au as deleteAccountsResourceErrorSchema, av as deleteAccountsResourceResponseSchema, aw as deleteAccountsResourceStatus204Schema, ax as deleteAccountsResourceStatus401Schema, ay as deleteAddressResourceErrorSchema, az as deleteAddressResourcePathAddressIdSchema, aA as deleteAddressResourceResponseSchema, aB as deleteAddressResourceStatus204Schema, aC as deleteAddressResourceStatus401Schema, aD as deleteAddressResourceStatus403Schema, aE as deleteAddressUnitResourceErrorSchema, aF as deleteAddressUnitResourcePathAddressIdSchema, aG as deleteAddressUnitResourcePathIdSchema, aH as deleteAddressUnitResourceResponseSchema, aI as deleteAddressUnitResourceStatus200Schema, aJ as deleteAddressUnitResourceStatus401Schema, aK as deleteAddressUnitResourceStatus403Schema, aL as deleteAddressUnitResourceStatus423Schema, aM as deleteAddressUnitsResourceBodySchema, aN as deleteAddressUnitsResourceErrorSchema, aO as deleteAddressUnitsResourcePathAddressIdSchema, aP as deleteAddressUnitsResourceResponseSchema, aQ as deleteAddressUnitsResourceStatus200Schema, aR as deleteAddressUnitsResourceStatus400Schema, aS as deleteAddressUnitsResourceStatus401Schema, aT as deleteAddressUnitsResourceStatus403Schema, aU as deleteAddressUnitsResourceStatus423Schema, aV as deleteApiKeyAdvancedResourceErrorSchema, aW as deleteApiKeyAdvancedResourcePathApiKeyIdSchema, aX as deleteApiKeyAdvancedResourceResponseSchema, aY as deleteApiKeyAdvancedResourceStatus204Schema, aZ as deleteApiKeyAdvancedResourceStatus401Schema, a_ as deleteApiKeyResourceErrorSchema, a$ as deleteApiKeyResourcePathApiKeyIdSchema, b0 as deleteApiKeyResourceResponseSchema, b1 as deleteApiKeyResourceStatus204Schema, b2 as deleteApiKeyResourceStatus401Schema, b3 as deleteApiKeyTokenResourceErrorSchema, b4 as deleteApiKeyTokenResourcePathApiKeyIdSchema, b5 as deleteApiKeyTokenResourcePathIdSchema, b6 as deleteApiKeyTokenResourceResponseSchema, b7 as deleteApiKeyTokenResourceStatus204Schema, b8 as deleteApiKeyTokenResourceStatus401Schema, b9 as deleteDecentralWebhookResourceErrorSchema, ba as deleteDecentralWebhookResourcePathIdSchema, bb as deleteDecentralWebhookResourceResponseSchema, bc as deleteDecentralWebhookResourceStatus204Schema, bd as deleteDecentralWebhookResourceStatus401Schema, be as deleteDecentralWebhookResourceStatus403Schema, bf as deleteNotificationResourceErrorSchema, bg as deleteNotificationResourcePathNotificationIdSchema, bh as deleteNotificationResourceResponseSchema, bi as deleteNotificationResourceStatus204Schema, bj as deleteNotificationResourceStatus401Schema, bk as deleteNotificationResourceStatus403Schema, bl as deleteNotificationResourceStatus405Schema, bm as deleteSmartlockAuthResourceErrorSchema, bn as deleteSmartlockAuthResourcePathIdSchema, bo as deleteSmartlockAuthResourcePathSmartlockIdSchema, bp as deleteSmartlockAuthResourceResponseSchema, bq as deleteSmartlockAuthResourceStatus204Schema, br as deleteSmartlockAuthResourceStatus401Schema, bs as deleteSmartlockAuthResourceStatus403Schema, bt as deleteSmartlockAuthResourceStatus423Schema, bu as deleteSmartlockResourceErrorSchema, bv as deleteSmartlockResourcePathSmartlockIdSchema, bw as deleteSmartlockResourceResponseSchema, bx as deleteSmartlockResourceStatus204Schema, by as deleteSmartlockResourceStatus400Schema, bz as deleteSmartlockResourceStatus401Schema, bA as deleteSmartlockResourceStatus403Schema, bB as deleteSmartlocksAuthsResourceBodySchema, bC as deleteSmartlocksAuthsResourceErrorSchema, bD as deleteSmartlocksAuthsResourceResponseSchema, bE as deleteSmartlocksAuthsResourceStatus204Schema, bF as deleteSmartlocksAuthsResourceStatus400Schema, bG as deleteSmartlocksAuthsResourceStatus401Schema, bH as deleteSmartlocksAuthsResourceStatus403Schema, bI as deleteSmartlocksAuthsResourceStatus423Schema, bJ as digestSchema, bK as dispositionSchema, bL as encoderServiceSchema, bM as encodingSchema, bN as enrolerSchema, bO as enumerationSchema, bP as enumerationStringSchema, bQ as errorManagerSchema, bR as expectationSchema, bS as filterSchema, bT as formatterSchema, bU as getAccountIntegrationsResourceErrorSchema, bV as getAccountIntegrationsResourceResponseSchema, bW as getAccountIntegrationsResourceStatus200Schema, bX as getAccountIntegrationsResourceStatus401Schema, bY as getAccountSettingResourceErrorSchema, bZ as getAccountSettingResourceResponseSchema, b_ as getAccountSettingResourceStatus200Schema, b$ as getAccountSettingResourceStatus401Schema, c0 as getAccountSettingResourceStatus403Schema, c1 as getAccountSettingResourceStatus404Schema, c2 as getAccountSubResourceErrorSchema, c3 as getAccountSubResourcePathAccountIdSchema, c4 as getAccountSubResourceResponseSchema, c5 as getAccountSubResourceStatus200Schema, c6 as getAccountSubResourceStatus401Schema, c7 as getAccountSubsResourceErrorSchema, c8 as getAccountSubsResourceQueryEmailSchema, c9 as getAccountSubsResourceResponseSchema, ca as getAccountSubsResourceStatus200Schema, cb as getAccountSubsResourceStatus401Schema, cc as getAccountUserResourceErrorSchema, cd as getAccountUserResourcePathAccountUserIdSchema, ce as getAccountUserResourceResponseSchema, cf as getAccountUserResourceStatus200Schema, cg as getAccountUserResourceStatus401Schema, ch as getAccountUsersResourceErrorSchema, ci as getAccountUsersResourceQueryEmailSchema, cj as getAccountUsersResourceQueryLimitSchema, ck as getAccountUsersResourceQueryOffsetSchema, cl as getAccountUsersResourceResponseSchema, cm as getAccountUsersResourceStatus200Schema, cn as getAccountUsersResourceStatus401Schema, co as getAccountsResourceErrorSchema, cp as getAccountsResourceResponseSchema, cq as getAccountsResourceStatus200Schema, cr as getAccountsResourceStatus401Schema, cs as getAddressReservationsResourceErrorSchema, ct as getAddressReservationsResourcePathAddressIdSchema, cu as getAddressReservationsResourceResponseSchema, cv as getAddressReservationsResourceStatus200Schema, cw as getAddressReservationsResourceStatus401Schema, cx as getAddressTokenRedeemResourceErrorSchema, cy as getAddressTokenRedeemResourcePathIdSchema, cz as getAddressTokenRedeemResourceResponseSchema, cA as getAddressTokenRedeemResourceStatus200Schema, cB as getAddressTokenRedeemResourceStatus401Schema, cC as getAddressTokenRedeemResourceStatus404Schema, cD as getAddressTokenResourceErrorSchema, cE as getAddressTokenResourcePathIdSchema, cF as getAddressTokenResourceResponseSchema, cG as getAddressTokenResourceStatus200Schema, cH as getAddressTokenResourceStatus401Schema, cI as getAddressTokenResourceStatus404Schema, cJ as getAddressTokensResourceErrorSchema, cK as getAddressTokensResourcePathAddressIdSchema, cL as getAddressTokensResourceResponseSchema, cM as getAddressTokensResourceStatus200Schema, cN as getAddressTokensResourceStatus400Schema, cO as getAddressTokensResourceStatus401Schema, cP as getAddressUnitsResourceErrorSchema, cQ as getAddressUnitsResourcePathAddressIdSchema, cR as getAddressUnitsResourceResponseSchema, cS as getAddressUnitsResourceStatus200Schema, cT as getAddressUnitsResourceStatus400Schema, cU as getAddressUnitsResourceStatus401Schema, cV as getAddressesResourceErrorSchema, cW as getAddressesResourceResponseSchema, cX as getAddressesResourceStatus200Schema, cY as getAddressesResourceStatus401Schema, cZ as getApiKeyAdvancedResourceErrorSchema, c_ as getApiKeyAdvancedResourcePathApiKeyIdSchema, c$ as getApiKeyAdvancedResourceResponseSchema, d0 as getApiKeyAdvancedResourceStatus200Schema, d1 as getApiKeyAdvancedResourceStatus401Schema, d2 as getApiKeyAdvancedResourceStatus403Schema, d3 as getApiKeyAdvancedResourceStatus404Schema, d4 as getApiKeyTokensResourceErrorSchema, d5 as getApiKeyTokensResourcePathApiKeyIdSchema, d6 as getApiKeyTokensResourceResponseSchema, d7 as getApiKeyTokensResourceStatus200Schema, d8 as getApiKeyTokensResourceStatus401Schema, d9 as getApiKeysResourceErrorSchema, da as getApiKeysResourceResponseSchema, db as getApiKeysResourceStatus200Schema, dc as getApiKeysResourceStatus401Schema, dd as getCompaniesResourceErrorSchema, de as getCompaniesResourceResponseSchema, df as getCompaniesResourceStatus200Schema, dg as getCompaniesResourceStatus401Schema, dh as getCompaniesResourceStatus403Schema, di as getDecentralWebhooksResourceErrorSchema, dj as getDecentralWebhooksResourceResponseSchema, dk as getDecentralWebhooksResourceStatus200Schema, dl as getDecentralWebhooksResourceStatus401Schema, dm as getDecentralWebhooksResourceStatus403Schema, dn as getNotificationResourceErrorSchema, dp as getNotificationResourcePathNotificationIdSchema, dq as getNotificationResourceResponseSchema, dr as getNotificationResourceStatus200Schema, ds as getNotificationResourceStatus401Schema, dt as getNotificationResourceStatus403Schema, du as getNotificationResourceStatus404Schema, dv as getNotificationsResourceErrorSchema, dw as getNotificationsResourceQueryReferenceIdSchema, dx as getNotificationsResourceResponseSchema, dy as getNotificationsResourceStatus200Schema, dz as getNotificationsResourceStatus401Schema, dA as getOpenerBrandResourcePathBrandIdSchema, dB as getOpenerBrandResourceResponseSchema, dC as getOpenerBrandResourceStatus200Schema, dD as getOpenerBrandsResourceResponseSchema, dE as getOpenerBrandsResourceStatus200Schema, dF as getOpenerIntercomResourcePathIntercomIdSchema, dG as getOpenerIntercomResourceResponseSchema, dH as getOpenerIntercomResourceStatus200Schema, dI as getOpenerIntercomsResourceQueryBrandIdSchema, dJ as getOpenerIntercomsResourceQueryIgnoreVerifiedSchema, dK as getOpenerIntercomsResourceQueryRecentlyChangedSchema, dL as getOpenerIntercomsResourceResponseSchema, dM as getOpenerIntercomsResourceStatus200Schema, dN as getServiceResourceErrorSchema, dO as getServiceResourcePathServiceIdSchema, dP as getServiceResourceResponseSchema, dQ as getServiceResourceStatus200Schema, dR as getServiceResourceStatus401Schema, dS as getServicesResourceErrorSchema, dT as getServicesResourceQueryServiceIdsSchema, dU as getServicesResourceResponseSchema, dV as getServicesResourceStatus200Schema, dW as getServicesResourceStatus401Schema, dX as getSmartlockAuthResourceErrorSchema, dY as getSmartlockAuthResourcePathIdSchema, dZ as getSmartlockAuthResourcePathSmartlockIdSchema, d_ as getSmartlockAuthResourceResponseSchema, d$ as getSmartlockAuthResourceStatus200Schema, e0 as getSmartlockAuthResourceStatus401Schema, e1 as getSmartlockAuthResourceStatus403Schema, e2 as getSmartlockAuthsResourceErrorSchema, e3 as getSmartlockAuthsResourcePathSmartlockIdSchema, e4 as getSmartlockAuthsResourceQueryIncludeEmailSchema, e5 as getSmartlockAuthsResourceQueryTypesSchema, e6 as getSmartlockAuthsResourceResponseSchema, e7 as getSmartlockAuthsResourceStatus200Schema, e8 as getSmartlockAuthsResourceStatus401Schema, e9 as getSmartlockAuthsResourceStatus403Schema, ea as getSmartlockLogsResourceErrorSchema, eb as getSmartlockLogsResourcePathSmartlockIdSchema, ec as getSmartlockLogsResourceQueryAccountUserIdSchema, ed as getSmartlockLogsResourceQueryActionSchema, ee as getSmartlockLogsResourceQueryAuthIdSchema, ef as getSmartlockLogsResourceQueryFromDateSchema, eg as getSmartlockLogsResourceQueryIdSchema, eh as getSmartlockLogsResourceQueryLimitSchema, ei as getSmartlockLogsResourceQueryToDateSchema, ej as getSmartlockLogsResourceResponseSchema, ek as getSmartlockLogsResourceStatus200Schema, el as getSmartlockLogsResourceStatus401Schema, em as getSmartlockResourceErrorSchema, en as getSmartlockResourcePathSmartlockIdSchema, eo as getSmartlockResourceResponseSchema, ep as getSmartlockResourceStatus200Schema, eq as getSmartlockResourceStatus401Schema, er as getSmartlockResourceStatus403Schema, es as getSmartlockResourceStatus404Schema, et as getSmartlocksAuthsPaginatedResourceErrorSchema, eu as getSmartlocksAuthsPaginatedResourceQueryAccountUserIdSchema, ev as getSmartlocksAuthsPaginatedResourceQueryPageSchema, ew as getSmartlocksAuthsPaginatedResourceQuerySizeSchema, ex as getSmartlocksAuthsPaginatedResourceQueryTypesSchema, ey as getSmartlocksAuthsPaginatedResourceResponseSchema, ez as getSmartlocksAuthsPaginatedResourceStatus200Schema, eA as getSmartlocksAuthsPaginatedResourceStatus401Schema, eB as getSmartlocksAuthsResourceErrorSchema, eC as getSmartlocksAuthsResourceQueryAccountUserIdSchema, eD as getSmartlocksAuthsResourceQueryTypesSchema, eE as getSmartlocksAuthsResourceResponseSchema, eF as getSmartlocksAuthsResourceStatus200Schema, eG as getSmartlocksAuthsResourceStatus401Schema, eH as getSmartlocksLogsResourceErrorSchema, eI as getSmartlocksLogsResourceQueryAccountUserIdSchema, eJ as getSmartlocksLogsResourceQueryActionSchema, eK as getSmartlocksLogsResourceQueryFromDateSchema, eL as getSmartlocksLogsResourceQueryIdSchema, eM as getSmartlocksLogsResourceQueryLimitSchema, eN as getSmartlocksLogsResourceQueryToDateSchema, eO as getSmartlocksLogsResourceResponseSchema, eP as getSmartlocksLogsResourceStatus200Schema, eQ as getSmartlocksLogsResourceStatus401Schema, eR as getSmartlocksResourceErrorSchema, eS as getSmartlocksResourceQueryAuthIdSchema, eT as getSmartlocksResourceQueryTypeSchema, eU as getSmartlocksResourceResponseSchema, eV as getSmartlocksResourceStatus200Schema, eW as getSmartlocksResourceStatus401Schema, eX as getWebhookLogsResourceErrorSchema, eY as getWebhookLogsResourcePathApiKeyIdSchema, eZ as getWebhookLogsResourceQueryIdSchema, e_ as getWebhookLogsResourceQueryLimitSchema, e$ as getWebhookLogsResourceResponseSchema, f0 as getWebhookLogsResourceStatus200Schema, f1 as getWebhookLogsResourceStatus401Schema, f2 as handlerSchema, f3 as headerSchema, f4 as inputStreamSchema, f5 as languageSchema, f6 as levelSchema, f7 as localeSchema, f8 as loggerSchema, f9 as mediaTypeSchema, fa as metadataSchema, fb as metadataServiceSchema, fc as methodSchema, fd as myAccountSchema, fe as namedValueSchema, ff as namedValueStringSchema, fg as notificationSchema, fh as notificationSettingSchema, fi as objectIdSchema, fj as openerIntercomBrandSchema, fk as openerIntercomModelSchema, fl as paginatedResponseSchema, fm as paginationSchema, fn as parameterSchema, fo as postAccountEmailChangeResourceBodySchema, fp as postAccountEmailChangeResourceErrorSchema, fq as postAccountEmailChangeResourceResponseSchema, fr as postAccountEmailChangeResourceStatus204Schema, fs as postAccountEmailChangeResourceStatus400Schema, ft as postAccountEmailChangeResourceStatus401Schema, fu as postAccountEmailChangeResourceStatus409Schema, fv as postAccountEmailVerifyResourceErrorSchema, fw as postAccountEmailVerifyResourceResponseSchema, fx as postAccountEmailVerifyResourceStatus204Schema, fy as postAccountEmailVerifyResourceStatus400Schema, fz as postAccountEmailVerifyResourceStatus401Schema, fA as postAccountEmailVerifyResourceStatus409Schema, fB as postAccountOtpResourceBodySchema, fC as postAccountOtpResourceErrorSchema, fD as postAccountOtpResourceResponseSchema, fE as postAccountOtpResourceStatus204Schema, fF as postAccountOtpResourceStatus400Schema, fG as postAccountOtpResourceStatus401Schema, fH as postAccountOtpResourceStatus429Schema, fI as postAccountPasswordResetResourceBodySchema, fJ as postAccountPasswordResetResourceErrorSchema, fK as postAccountPasswordResetResourceResponseSchema, fL as postAccountPasswordResetResourceStatus204Schema, fM as postAccountPasswordResetResourceStatus401Schema, fN as postAccountSubResourceBodySchema, fO as postAccountSubResourceErrorSchema, fP as postAccountSubResourcePathAccountIdSchema, fQ as postAccountSubResourceResponseSchema, fR as postAccountSubResourceStatus204Schema, fS as postAccountSubResourceStatus400Schema, fT as postAccountSubResourceStatus401Schema, fU as postAccountSubResourceStatus409Schema, fV as postAccountUserResourceBodySchema, fW as postAccountUserResourceErrorSchema, fX as postAccountUserResourcePathAccountUserIdSchema, fY as postAccountUserResourceResponseSchema, fZ as postAccountUserResourceStatus200Schema, f_ as postAccountUserResourceStatus204Schema, f$ as postAccountUserResourceStatus400Schema, g0 as postAccountUserResourceStatus401Schema, g1 as postAccountUserResourceStatus409Schema, g2 as postAccountsResourceBodySchema, g3 as postAccountsResourceErrorSchema, g4 as postAccountsResourceQueryDeleteApiTokensSchema, g5 as postAccountsResourceResponseSchema, g6 as postAccountsResourceStatus204Schema, g7 as postAccountsResourceStatus400Schema, g8 as postAccountsResourceStatus401Schema, g9 as postAccountsResourceStatus409Schema, ga as postAddressReservationIssueResourceErrorSchema, gb as postAddressReservationIssueResourcePathAddressIdSchema, gc as postAddressReservationIssueResourcePathIdSchema, gd as postAddressReservationIssueResourceResponseSchema, ge as postAddressReservationIssueResourceStatus204Schema, gf as postAddressReservationIssueResourceStatus400Schema, gg as postAddressReservationIssueResourceStatus401Schema, gh as postAddressReservationRevokeResourceErrorSchema, gi as postAddressReservationRevokeResourcePathAddressIdSchema, gj as postAddressReservationRevokeResourcePathIdSchema, gk as postAddressReservationRevokeResourceResponseSchema, gl as postAddressReservationRevokeResourceStatus204Schema, gm as postAddressReservationRevokeResourceStatus400Schema, gn as postAddressReservationRevokeResourceStatus401Schema, go as postAddressResourceBodySchema, gp as postAddressResourceErrorSchema, gq as postAddressResourcePathAddressIdSchema, gr as postAddressResourceResponseSchema, gs as postAddressResourceStatus204Schema, gt as postAddressResourceStatus400Schema, gu as postAddressResourceStatus401Schema, gv as postAddressResourceStatus403Schema, gw as postAddressTokenRedeemResourceErrorSchema, gx as postAddressTokenRedeemResourcePathIdSchema, gy as postAddressTokenRedeemResourceQueryEmailSchema, gz as postAddressTokenRedeemResourceResponseSchema, gA as postAddressTokenRedeemResourceStatus204Schema, gB as postAddressTokenRedeemResourceStatus400Schema, gC as postAddressTokenRedeemResourceStatus401Schema, gD as postAddressTokenRedeemResourceStatus404Schema, gE as postApiKeyAdvancedReactivateResourceErrorSchema, gF as postApiKeyAdvancedReactivateResourcePathApiKeyIdSchema, gG as postApiKeyAdvancedReactivateResourceResponseSchema, gH as postApiKeyAdvancedReactivateResourceStatus204Schema, gI as postApiKeyAdvancedReactivateResourceStatus400Schema, gJ as postApiKeyAdvancedReactivateResourceStatus401Schema, gK as postApiKeyAdvancedResourceBodySchema, gL as postApiKeyAdvancedResourceErrorSchema, gM as postApiKeyAdvancedResourcePathApiKeyIdSchema, gN as postApiKeyAdvancedResourceResponseSchema, gO as postApiKeyAdvancedResourceStatus204Schema, gP as postApiKeyAdvancedResourceStatus400Schema, gQ as postApiKeyAdvancedResourceStatus401Schema, gR as postApiKeyResourceBodySchema, gS as postApiKeyResourceErrorSchema, gT as postApiKeyResourcePathApiKeyIdSchema, gU as postApiKeyResourceResponseSchema, gV as postApiKeyResourceStatus204Schema, gW as postApiKeyResourceStatus400Schema, gX as postApiKeyResourceStatus401Schema, gY as postApiKeyResourceStatus503Schema, gZ as postApiKeyTokenResourceBodySchema, g_ as postApiKeyTokenResourceErrorSchema, g$ as postApiKeyTokenResourcePathApiKeyIdSchema, h0 as postApiKeyTokenResourcePathIdSchema, h1 as postApiKeyTokenResourceResponseSchema, h2 as postApiKeyTokenResourceStatus204Schema, h3 as postApiKeyTokenResourceStatus400Schema, h4 as postApiKeyTokenResourceStatus401Schema, h5 as postNotificationResourceBodySchema, h6 as postNotificationResourceErrorSchema, h7 as postNotificationResourcePathNotificationIdSchema, h8 as postNotificationResourceResponseSchema, h9 as postNotificationResourceStatus200Schema, ha as postNotificationResourceStatus400Schema, hb as postNotificationResourceStatus401Schema, hc as postNotificationResourceStatus403Schema, hd as postReservationAccessTimesUpdateResourceBodySchema, he as postReservationAccessTimesUpdateResourceErrorSchema, hf as postReservationAccessTimesUpdateResourcePathAddressIdSchema, hg as postReservationAccessTimesUpdateResourcePathIdSchema, hh as postReservationAccessTimesUpdateResourceResponseSchema, hi as postReservationAccessTimesUpdateResourceStatus204Schema, hj as postReservationAccessTimesUpdateResourceStatus400Schema, hk as postReservationAccessTimesUpdateResourceStatus401Schema, hl as postServiceLinkResourceErrorSchema, hm as postServiceLinkResourcePathServiceIdSchema, hn as postServiceLinkResourceResponseSchema, ho as postServiceLinkResourceStatus200Schema, hp as postServiceLinkResourceStatus400Schema, hq as postServiceLinkResourceStatus401Schema, hr as postServiceSyncResourceErrorSchema, hs as postServiceSyncResourcePathServiceIdSchema, ht as postServiceSyncResourceResponseSchema, hu as postServiceSyncResourceStatus204Schema, hv as postServiceSyncResourceStatus400Schema, hw as postServiceSyncResourceStatus401Schema, hx as postServiceUnlinkResourceErrorSchema, hy as postServiceUnlinkResourcePathServiceIdSchema, hz as postServiceUnlinkResourceResponseSchema, hA as postServiceUnlinkResourceStatus204Schema, hB as postServiceUnlinkResourceStatus400Schema, hC as postServiceUnlinkResourceStatus401Schema, hD as postSmartdoorAdvancedConfigResourceBodySchema, hE as postSmartdoorAdvancedConfigResourceErrorSchema, hF as postSmartdoorAdvancedConfigResourcePathSmartlockIdSchema, hG as postSmartdoorAdvancedConfigResourceResponseSchema, hH as postSmartdoorAdvancedConfigResourceStatus204Schema, hI as postSmartdoorAdvancedConfigResourceStatus400Schema, hJ as postSmartdoorAdvancedConfigResourceStatus401Schema, hK as postSmartlockActionAdvancedResourceBodySchema, hL as postSmartlockActionAdvancedResourceErrorSchema, hM as postSmartlockActionAdvancedResourcePathSmartlockIdSchema, hN as postSmartlockActionAdvancedResourceResponseSchema, hO as postSmartlockActionAdvancedResourceStatus200Schema, hP as postSmartlockActionAdvancedResourceStatus400Schema, hQ as postSmartlockActionAdvancedResourceStatus402Schema, hR as postSmartlockActionAdvancedResourceStatus409Schema, hS as postSmartlockActionAdvancedResourceStatus426Schema, hT as postSmartlockActionResourceBodySchema, hU as postSmartlockActionResourceErrorSchema, hV as postSmartlockActionResourcePathSmartlockIdSchema, hW as postSmartlockActionResourceResponseSchema, hX as postSmartlockActionResourceStatus204Schema, hY as postSmartlockActionResourceStatus400Schema, hZ as postSmartlockActionResourceStatus401Schema, h_ as postSmartlockActionResourceStatus402Schema, h$ as postSmartlockAdminPinResourceBodySchema, i0 as postSmartlockAdminPinResourceErrorSchema, i1 as postSmartlockAdminPinResourcePathSmartlockIdSchema, i2 as postSmartlockAdminPinResourceResponseSchema, i3 as postSmartlockAdminPinResourceStatus204Schema, i4 as postSmartlockAdminPinResourceStatus400Schema, i5 as postSmartlockAdminPinResourceStatus401Schema, i6 as postSmartlockAdvancedConfigResourceBodySchema, i7 as postSmartlockAdvancedConfigResourceErrorSchema, i8 as postSmartlockAdvancedConfigResourcePathSmartlockIdSchema, i9 as postSmartlockAdvancedConfigResourceResponseSchema, ia as postSmartlockAdvancedConfigResourceStatus204Schema, ib as postSmartlockAdvancedConfigResourceStatus400Schema, ic as postSmartlockAdvancedConfigResourceStatus401Schema, id as postSmartlockAuthResourceBodySchema, ie as postSmartlockAuthResourceErrorSchema, ig as postSmartlockAuthResourcePathIdSchema, ih as postSmartlockAuthResourcePathSmartlockIdSchema, ii as postSmartlockAuthResourceResponseSchema, ij as postSmartlockAuthResourceStatus204Schema, ik as postSmartlockAuthResourceStatus400Schema, il as postSmartlockAuthResourceStatus401Schema, im as postSmartlockAuthResourceStatus403Schema, io as postSmartlockAuthResourceStatus409Schema, ip as postSmartlockAuthResourceStatus423Schema, iq as postSmartlockAuthWithSharedKeyResourceBodySchema, ir as postSmartlockAuthWithSharedKeyResourceErrorSchema, is as postSmartlockAuthWithSharedKeyResourcePathSmartlockIdSchema, it as postSmartlockAuthWithSharedKeyResourceResponseSchema, iu as postSmartlockAuthWithSharedKeyResourceStatus200Schema, iv as postSmartlockAuthWithSharedKeyResourceStatus401Schema, iw as postSmartlockAuthWithSharedKeyResourceStatus403Schema, ix as postSmartlockAuthWithSharedKeyResourceStatus404Schema, iy as postSmartlockBulkWebConfigResourceBodySchema, iz as postSmartlockBulkWebConfigResourceErrorSchema, iA as postSmartlockBulkWebConfigResourceResponseSchema, iB as postSmartlockBulkWebConfigResourceStatus204Schema, iC as postSmartlockBulkWebConfigResourceStatus400Schema, iD as postSmartlockBulkWebConfigResourceStatus401Schema, iE as postSmartlockConfigResourceBodySchema, iF as postSmartlockConfigResourceErrorSchema, iG as postSmartlockConfigResourcePathSmartlockIdSchema, iH as postSmartlockConfigResourceResponseSchema, iI as postSmartlockConfigResourceStatus204Schema, iJ as postSmartlockConfigResourceStatus400Schema, iK as postSmartlockConfigResourceStatus401Schema, iL as postSmartlockLockActionAdvancedResourceErrorSchema, iM as postSmartlockLockActionAdvancedResourcePathSmartlockIdSchema, iN as postSmartlockLockActionAdvancedResourceResponseSchema, iO as postSmartlockLockActionAdvancedResourceStatus200Schema, iP as postSmartlockLockActionAdvancedResourceStatus400Schema, iQ as postSmartlockLockActionAdvancedResourceStatus401Schema, iR as postSmartlockLockActionAdvancedResourceStatus405Schema, iS as postSmartlockLockActionResourceErrorSchema, iT as postSmartlockLockActionResourcePathSmartlockIdSchema, iU as postSmartlockLockActionResourceResponseSchema, iV as postSmartlockLockActionResourceStatus204Schema, iW as postSmartlockLockActionResourceStatus400Schema, iX as postSmartlockLockActionResourceStatus401Schema, iY as postSmartlockLockActionResourceStatus405Schema, iZ as postSmartlockOpenerAdvancedConfigResourceBodySchema, i_ as postSmartlockOpenerAdvancedConfigResourceErrorSchema, i$ as postSmartlockOpenerAdvancedConfigResourcePathSmartlockIdSchema, j0 as postSmartlockOpenerAdvancedConfigResourceResponseSchema, j1 as postSmartlockOpenerAdvancedConfigResourceStatus204Schema, j2 as postSmartlockOpenerAdvancedConfigResourceStatus400Schema, j3 as postSmartlockOpenerAdvancedConfigResourceStatus401Schema, j4 as postSmartlockResourceBodySchema, j5 as postSmartlockResourceErrorSchema, j6 as postSmartlockResourcePathSmartlockIdSchema, j7 as postSmartlockResourceResponseSchema, j8 as postSmartlockResourceStatus204Schema, j9 as postSmartlockResourceStatus400Schema, ja as postSmartlockResourceStatus401Schema, jb as postSmartlockResourceStatus403Schema, jc as postSmartlockSyncResourceErrorSchema, jd as postSmartlockSyncResourcePathSmartlockIdSchema, je as postSmartlockSyncResourceResponseSchema, jf as postSmartlockSyncResourceStatus204Schema, jg as postSmartlockSyncResourceStatus400Schema, jh as postSmartlockSyncResourceStatus401Schema, ji as postSmartlockUnlockActionAdvancedResourceErrorSchema, jj as postSmartlockUnlockActionAdvancedResourcePathSmartlockIdSchema, jk as postSmartlockUnlockActionAdvancedResourceResponseSchema, jl as postSmartlockUnlockActionAdvancedResourceStatus200Schema, jm as postSmartlockUnlockActionAdvancedResourceStatus400Schema, jn as postSmartlockUnlockActionAdvancedResourceStatus401Schema, jo as postSmartlockUnlockActionAdvancedResourceStatus405Schema, jp as postSmartlockUnlockActionResourceErrorSchema, jq as postSmartlockUnlockActionResourcePathSmartlockIdSchema, jr as postSmartlockUnlockActionResourceResponseSchema, js as postSmartlockUnlockActionResourceStatus204Schema, jt as postSmartlockUnlockActionResourceStatus400Schema, ju as postSmartlockUnlockActionResourceStatus401Schema, jv as postSmartlockUnlockActionResourceStatus405Schema, jw as postSmartlockWebConfigResourceBodySchema, jx as postSmartlockWebConfigResourceErrorSchema, jy as postSmartlockWebConfigResourcePathSmartlockIdSchema, jz as postSmartlockWebConfigResourceResponseSchema, jA as postSmartlockWebConfigResourceStatus204Schema, jB as postSmartlockWebConfigResourceStatus400Schema, jC as postSmartlockWebConfigResourceStatus401Schema, jD as postSmartlocksAuthsResourceBodySchema, jE as postSmartlocksAuthsResourceErrorSchema, jF as postSmartlocksAuthsResourceResponseSchema, jG as postSmartlocksAuthsResourceStatus204Schema, jH as postSmartlocksAuthsResourceStatus400Schema, jI as postSmartlocksAuthsResourceStatus401Schema, jJ as postSmartlocksAuthsResourceStatus403Schema, jK as postSmartlocksAuthsResourceStatus409Schema, jL as postSmartlocksAuthsResourceStatus423Schema, jM as preferenceCharacterSetSchema, jN as preferenceEncodingSchema, jO as preferenceLanguageSchema, jP as preferenceMediaTypeSchema, jQ as preferenceSchema, jR as principalSchema, jS as productSchema, jT as protocolSchema, jU as publicKeySchema, jV as putAccountOtpResourceErrorSchema, jW as putAccountOtpResourceResponseSchema, jX as putAccountOtpResourceStatus200Schema, jY as putAccountOtpResourceStatus405Schema, jZ as putAccountSettingResourceBodySchema, j_ as putAccountSettingResourceErrorSchema, j$ as putAccountSettingResourceResponseSchema, k0 as putAccountSettingResourceStatus200Schema, k1 as putAccountSettingResourceStatus400Schema, k2 as putAccountSettingResourceStatus401Schema, k3 as putAccountSubsResourceBodySchema, k4 as putAccountSubsResourceErrorSchema, k5 as putAccountSubsResourceResponseSchema, k6 as putAccountSubsResourceStatus200Schema, k7 as putAccountSubsResourceStatus400Schema, k8 as putAccountUsersResourceBodySchema, k9 as putAccountUsersResourceErrorSchema, ka as putAccountUsersResourceResponseSchema, kb as putAccountUsersResourceStatus200Schema, kc as putAccountUsersResourceStatus400Schema, kd as putAddressUnitsResourceBodySchema, ke as putAddressUnitsResourceErrorSchema, kf as putAddressUnitsResourcePathAddressIdSchema, kg as putAddressUnitsResourceResponseSchema, kh as putAddressUnitsResourceStatus200Schema, ki as putAddressUnitsResourceStatus400Schema, kj as putAddressUnitsResourceStatus401Schema, kk as putAddressUnitsResourceStatus403Schema, kl as putAddressesResourceBodySchema, km as putAddressesResourceErrorSchema, kn as putAddressesResourceResponseSchema, ko as putAddressesResourceStatus200Schema, kp as putAddressesResourceStatus400Schema, kq as putAddressesResourceStatus401Schema, kr as putApiKeyAdvancedResourceBodySchema, ks as putApiKeyAdvancedResourceErrorSchema, kt as putApiKeyAdvancedResourcePathApiKeyIdSchema, ku as putApiKeyAdvancedResourceResponseSchema, kv as putApiKeyAdvancedResourceStatus204Schema, kw as putApiKeyAdvancedResourceStatus400Schema, kx as putApiKeyAdvancedResourceStatus401Schema, ky as putApiKeyTokensResourceBodySchema, kz as putApiKeyTokensResourceErrorSchema, kA as putApiKeyTokensResourcePathApiKeyIdSchema, kB as putApiKeyTokensResourceResponseSchema, kC as putApiKeyTokensResourceStatus200Schema, kD as putApiKeyTokensResourceStatus400Schema, kE as putApiKeyTokensResourceStatus401Schema, kF as putApiKeysResourceBodySchema, kG as putApiKeysResourceErrorSchema, kH as putApiKeysResourceResponseSchema, kI as putApiKeysResourceStatus200Schema, kJ as putApiKeysResourceStatus400Schema, kK as putApiKeysResourceStatus401Schema, kL as putDecentralWebhooksResourceBodySchema, kM as putDecentralWebhooksResourceErrorSchema, kN as putDecentralWebhooksResourceResponseSchema, kO as putDecentralWebhooksResourceStatus200Schema, kP as putDecentralWebhooksResourceStatus400Schema, kQ as putDecentralWebhooksResourceStatus401Schema, kR as putDecentralWebhooksResourceStatus403Schema, kS as putNotificationsResourceBodySchema, kT as putNotificationsResourceErrorSchema, kU as putNotificationsResourceResponseSchema, kV as putNotificationsResourceStatus200Schema, kW as putNotificationsResourceStatus400Schema, kX as putNotificationsResourceStatus401Schema, kY as putNotificationsResourceStatus403Schema, kZ as putSmartlockAuthsAdvancedResourceBodySchema, k_ as putSmartlockAuthsAdvancedResourceErrorSchema, k$ as putSmartlockAuthsAdvancedResourceResponseSchema, l0 as putSmartlockAuthsAdvancedResourceStatus200Schema, l1 as putSmartlockAuthsAdvancedResourceStatus400Schema, l2 as putSmartlockAuthsAdvancedResourceStatus402Schema, l3 as putSmartlockAuthsAdvancedResourceStatus409Schema, l4 as putSmartlockAuthsAdvancedResourceStatus426Schema, l5 as putSmartlockAuthsResourceBodySchema, l6 as putSmartlockAuthsResourceErrorSchema, l7 as putSmartlockAuthsResourcePathSmartlockIdSchema, l8 as putSmartlockAuthsResourceResponseSchema, l9 as putSmartlockAuthsResourceStatus204Schema, la as putSmartlockAuthsResourceStatus400Schema, lb as putSmartlockAuthsResourceStatus402Schema, lc as putSmartlockAuthsResourceStatus409Schema, ld as putSmartlockAuthsResourceStatus426Schema, le as putSmartlocksAuthsResourceBodySchema, lf as putSmartlocksAuthsResourceErrorSchema, lg as putSmartlocksAuthsResourceResponseSchema, lh as putSmartlocksAuthsResourceStatus204Schema, li as putSmartlocksAuthsResourceStatus400Schema, lj as putSmartlocksAuthsResourceStatus402Schema, lk as putSmartlocksAuthsResourceStatus409Schema, ll as putSmartlocksAuthsResourceStatus426Schema, lm as rangeSchema, ln as rangeServiceSchema, lo as readableByteChannelSchema, lp as readerSchema, lq as recipientInfoSchema, lr as referenceSchema, ls as representationSchema, lt as requestSchema, lu as reservationAccessTimesUpdateSchema, lv as resourceBundleSchema, lw as responseSchema, lx as restletSchema, ly as roleSchema, lz as scheduledExecutorServiceSchema, lA as selectableChannelSchema, lB as selectionListenerSchema, lC as selectionRegistrationSchema, lD as serverInfoSchema, lE as serviceSchema, lF as shsSubscriptionSchema, lG as smartlockActionSchema, lH as smartlockAdminPinUpdateSchema, lI as smartlockAdvancedConfigSchema, lJ as smartlockAuthCreateSchema, lK as smartlockAuthMultiUpdateSchema, lL as smartlockAuthSchema, lM as smartlockAuthUpdateSchema, lN as smartlockAuthWithSharedKeyCreateSchema, lO as smartlockConfigSchema, lP as smartlockLogOpenerLogSchema, lQ as smartlockLogSchema, lR as smartlockOpenerAdvancedConfigSchema, lS as smartlockSchema, lT as smartlockSmartdoorAdvancedConfigSchema, lU as smartlockStateSchema, lV as smartlockUpdateSchema, lW as smartlockWebConfigSchema, lX as smartlocksAuthAdvancedCreateSchema, lY as smartlocksAuthCreateSchema, lZ as stackTraceElementSchema, l_ as staleDeviceSchema, l$ as statusSchema, m0 as statusServiceSchema, m1 as tagSchema, m2 as taskServiceSchema, m3 as termsOfUseSchema, m4 as throwableSchema, m5 as tunnelServiceSchema, m6 as uniformSchema, m7 as userSchema, m8 as variantSchema, m9 as verifierSchema, ma as wakeupListenerSchema, mb as warningSchema, mc as webConfigRequestSchema, md as webhookLogSchema, me as webhookMessageSchema } from './schemas-n5izlvad.js';
4
+ export { accountDescentOriginEnum, accountIntegrationVersionEnum, accountSettingWebDeviceSortTypeEnum, accountSettingWebDeviceViewTypeEnum, accountShsSubscriptionTypeEnum, accountUserCreateLanguageEnum, accountUserUpdateLanguageEnum, addressReservationServiceIdEnum, addressReservationStateEnum, addressServiceIdEnum, addressTokenRedeemResultEnum, addressUnitResponseRedeemResultEnum, advancedApiKeyCreateTypeEnum, advancedApiKeyCreateWebhookFeaturesEnum, advancedApiKeyCreateWebhookStatusEnum, advancedApiKeyStatusEnum, advancedApiKeyTypeEnum, advancedApiKeyUpdateWebhookFeaturesEnum, advancedApiKeyWebhookFeaturesEnum, advancedApiKeyWebhookStatusEnum, apiKeyAdvancedStatusEnum, apiKeyAdvancedTypeEnum, apiKeyAdvancedWebhookFeaturesEnum, apiKeyAdvancedWebhookStatusEnum, decentralWebhookWebhookFeaturesEnum, myAccountShsSubscriptionTypeEnum, responseDimensionsEnum, shsSubscriptionShsSubscriptionTypeEnum, shsSubscriptionStateEnum, shsSubscriptionTypeEnum, termsOfUseStateEnum } from './types.mjs';
561
5
 
562
6
  class NukiApi {
563
- #token;
564
- #fetch;
565
- constructor(options) {
566
- this.#token = options.token;
567
- this.#fetch = options.fetch || fetch;
568
- if (!this.#fetch) throw new Error("Fetch is required");
569
- }
570
- get api() {
571
- const token = this.#token;
572
- const fetchImpl = this.#fetch;
573
- return new Proxy(
574
- {},
575
- {
576
- get: (_target, namespace) => {
577
- if (operationsByTag[namespace] === void 0) {
578
- return void 0;
579
- }
580
- return new Proxy(
581
- {},
582
- {
583
- get: (_target2, operation) => {
584
- if (operationsByTag[namespace][operation] === void 0) {
585
- return void 0;
7
+ #token;
8
+ #fetch;
9
+ constructor(options){
10
+ this.#token = options.token;
11
+ this.#fetch = options.fetch || fetch;
12
+ if (!this.#fetch) throw new Error("Fetch is required");
13
+ }
14
+ get api() {
15
+ const getConfig = async ()=>({
16
+ token: this.#token,
17
+ fetchImpl: this.#fetch
18
+ });
19
+ return new Proxy({}, {
20
+ get: (_target, namespace)=>{
21
+ if (operationsByTag[namespace] === undefined) {
22
+ return undefined;
586
23
  }
587
- const method = operationsByTag[namespace][operation];
588
- return async (params) => {
589
- return await method({ ...params, token, fetchImpl });
590
- };
591
- }
24
+ return new Proxy({}, {
25
+ get: (_target, operation)=>{
26
+ if (operationsByTag[namespace][operation] === undefined) {
27
+ return undefined;
28
+ }
29
+ const method = operationsByTag[namespace][operation];
30
+ return async (params)=>{
31
+ return await method({
32
+ ...params,
33
+ config: await getConfig()
34
+ });
35
+ };
36
+ }
37
+ });
592
38
  }
593
- );
594
- }
595
- }
596
- );
597
- }
598
- async request(endpoint, params) {
599
- const [method = "", url = ""] = endpoint.split(" ");
600
- const extraParams = params || {};
601
- const result = await fetch$1({ ...extraParams, method, url, token: this.#token, fetchImpl: this.#fetch });
602
- return result;
603
- }
39
+ });
40
+ }
41
+ async request(endpoint, params) {
42
+ const [method = "", url = ""] = endpoint.split(" ");
43
+ const extraParams = params || {};
44
+ const result = await client({
45
+ ...extraParams,
46
+ method,
47
+ url,
48
+ token: this.#token,
49
+ fetchImpl: this.#fetch
50
+ });
51
+ return result;
52
+ }
604
53
  }
605
54
 
606
- export { NukiApi };
55
+ export { NukiApi, operationsByTag };