nuki-api-js 0.2.1 → 1.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.
@@ -0,0 +1,2665 @@
1
+ import * as z from 'zod';
2
+
3
+ // @ts-nocheck
4
+ const accountConfigSchema = z.object({
5
+ "alexaPin": z.string().describe("The alexa pin - used by alexa for unlock actions"),
6
+ "gactionsHomePin": z.string().describe("The google smart home pin - used for unlock actions"),
7
+ "otpEnabledDate": z.iso.datetime().optional().describe("The opt enabled date")
8
+ });
9
+ const accountProfileSchema = z.object({
10
+ "firstName": z.string().describe("The first name"),
11
+ "lastName": z.string().describe("The last name"),
12
+ "address": z.string().describe("The address"),
13
+ "zip": z.string().describe("The postal code"),
14
+ "city": z.string().describe("The city"),
15
+ "country": z.string().describe("The 2-letter country code")
16
+ });
17
+ const accountDescentSchema = z.object({
18
+ "origin": z.enum([
19
+ "GOOGLE",
20
+ "APPLE"
21
+ ]).describe("The account origin source")
22
+ });
23
+ const termsOfUseSchema = z.object({
24
+ "state": z.enum([
25
+ "Accepted",
26
+ "Inactive"
27
+ ]).optional(),
28
+ "publishDate": z.iso.datetime().optional(),
29
+ "acceptanceDate": z.iso.datetime().optional()
30
+ });
31
+ const accountSchema = z.object({
32
+ "accountId": z.int().describe("The account id"),
33
+ "type": z.int().describe("The type: 0 .. user, 1 .. company, 2 .. caretaker"),
34
+ "email": z.string().describe("The email address"),
35
+ "emailVerified": z.boolean().optional().describe("true, if the email is verified"),
36
+ "name": z.string().describe("The name"),
37
+ "masterAccountId": z.int().optional().describe("The master account id if it's a sub account"),
38
+ "rights": z.int().optional().describe("The rights bitmask if it's a sub account: 1 .. manage smartlock, 2 .. operate smartlock, 4 .. manage smartlock config, 8 .. manage smartlock authorizations, 16 .. view smartlock logs, 32 .. manage sub accounts, 64 .. create smartlocks"),
39
+ "language": z.string().optional().describe("The language code"),
40
+ "config": accountConfigSchema.optional(),
41
+ "profile": accountProfileSchema.optional(),
42
+ "creationDate": z.iso.datetime().describe("The creation date"),
43
+ "updateDate": z.iso.datetime().describe("The update date"),
44
+ "descent": accountDescentSchema.optional(),
45
+ "shsSubscriptionType": z.enum([
46
+ "BUSINESS",
47
+ "STANDARD",
48
+ "BUSINESS_PLUS",
49
+ "API_ONLY"
50
+ ]).optional().describe("subscription type of the account (b2b)"),
51
+ "b2bActive": z.boolean().optional(),
52
+ "apiTermsOfUse": termsOfUseSchema.optional()
53
+ });
54
+ const accountEmailChangeSchema = z.object({
55
+ "email": z.string().describe("The new email for the account")
56
+ });
57
+ const accountIntegrationSchema = z.object({
58
+ "version": z.enum([
59
+ "LEGACY",
60
+ "HYDRA"
61
+ ]).describe("If the integration/device is an legacy or from the new oauth implementation"),
62
+ "vendorKey": z.string().describe("Enum key identifying the integration/device, values are e.g. ALEXA, IOS, NUKI_WEB, API_TOKEN etc"),
63
+ "subAccountName": z.string().optional().describe("Name of the sub-account or null if there is none, which is associated with this token"),
64
+ "subAccountId": z.int().optional().describe("Id of the sub-account or null if there is none, which is associated with this token"),
65
+ "subAccount": z.boolean().optional().describe("True if the integration is done via a sub-account"),
66
+ "name": z.string().describe("Name of the token"),
67
+ "description": z.string().optional().describe("Description given by the user, usually only set for api tokens"),
68
+ "createdAt": z.iso.datetime().optional().describe("First creation date of the token"),
69
+ "lastActiveAt": z.iso.datetime().optional().describe("Last refresh date of the token"),
70
+ "scopes": z.array(z.string()).optional().describe("The scopes which have been granted to the token"),
71
+ "warning": z.boolean().optional().describe("If this is from a legacy integration this is set to true"),
72
+ "tokenId": z.string().optional().describe("The tokenId if this a manual generated api token"),
73
+ "advancedType": z.string().optional().describe("The enum advanced type (HEALTHCARE e.g.) if this integration is a advanced one"),
74
+ "advancedState": z.string().optional().describe("The enum advanced state (TESTING e.g.) if this integration is a advanced one"),
75
+ "clientId": z.string().describe("The clientId of this integration/device used for deleting the integration"),
76
+ "sortOrder": z.int().optional().describe("Sort order by which the entry should be sorted, is being set by the vendor key enum"),
77
+ "device": z.boolean().optional().describe("True this is a device and false this is an integration")
78
+ });
79
+ const accountOtpEnableSchema = z.object({
80
+ "otp": z.string().describe("The one time password (otp)")
81
+ });
82
+ const accountPasswordResetSchema = z.object({
83
+ "email": z.string(),
84
+ "deleteApiTokens": z.boolean().optional()
85
+ });
86
+ const staleDeviceSchema = z.object({
87
+ "smartlockId": z.bigint().optional(),
88
+ "name": z.string().optional(),
89
+ "read": z.boolean().optional()
90
+ });
91
+ const accountSettingWebSchema = z.object({
92
+ "deviceViewType": z.enum([
93
+ "LIST",
94
+ "TILE"
95
+ ]).optional().describe("The initial view type of the device page"),
96
+ "deviceSortType": z.enum([
97
+ "FAVOURITES_FIRST",
98
+ "NAME_ASC",
99
+ "NAME_DESC",
100
+ "LAST_ADDED_DESC"
101
+ ]).optional().describe("The initial sort type of the device page"),
102
+ "nukiClubDismissed": z.boolean().optional().describe("If true, Nuki Club info is dismissed and no banner is shown"),
103
+ "annotations": z.object({}).catchall(z.object({})).optional().describe("Additional generic settings. Key/Value Pair, key consists of a prefix (DNS subdomain) and a name (can contains alphanumeric characters with dashes, underscores and dots in between) separated by a dash (\"/\")"),
104
+ "removedStaledDevices": z.array(staleDeviceSchema).optional().describe("List of removed staled devices"),
105
+ "markedStaledDevices": z.array(staleDeviceSchema).optional().describe("List of marked staled devices")
106
+ });
107
+ const accountSettingSchema = z.object({
108
+ "web": accountSettingWebSchema.optional()
109
+ });
110
+ const accountSubCreateSchema = z.object({
111
+ "email": z.string().describe("The email address"),
112
+ "password": z.string().describe("The password (must be at least 7 chars long)"),
113
+ "name": z.string().describe("The name of the sub account"),
114
+ "rights": z.int().describe("The right bitmask of the sub account: 1 .. operate smartlock, 2 .. change smartlock config, 4 .. manage smartlock users, 8 .. view smartlock logs, 16 .. manage sub accounts"),
115
+ "language": z.string().describe("The language code"),
116
+ "profile": accountProfileSchema.optional()
117
+ });
118
+ const accountSubUpdateSchema = z.object({
119
+ "email": z.string().optional().describe("The new email address"),
120
+ "password": z.string().optional().describe("The new password (must be at least 7 chars long)"),
121
+ "name": z.string().optional().describe("The new name of the sub account"),
122
+ "rights": z.int().optional().describe("The new right bitmask of the sub account: 1 .. operate smartlock, 2 .. change smartlock config, 4 .. manage smartlock users, 8 .. view smartlock logs, 16 .. manage sub accounts, 32 .. manage sub accounts, 64 .. create smartlocks"),
123
+ "language": z.string().describe("The language code"),
124
+ "config": accountConfigSchema.optional(),
125
+ "profile": accountProfileSchema.optional()
126
+ });
127
+ const accountUpdateSchema = z.object({
128
+ "email": z.string().optional().describe("The new email address"),
129
+ "password": z.string().optional().describe("The password (must be at least 7 chars long)"),
130
+ "name": z.string().optional().describe("The name of the account"),
131
+ "language": z.string().describe("The language code"),
132
+ "config": accountConfigSchema.optional(),
133
+ "profile": accountProfileSchema.optional()
134
+ });
135
+ const accountUserSchema = z.object({
136
+ "accountUserId": z.int().describe("The account user id"),
137
+ "accountId": z.int().describe("The account id"),
138
+ "type": z.int().optional().describe("The optional type: 0 .. user, 1 .. company"),
139
+ "email": z.string().describe("The email address"),
140
+ "name": z.string().describe("The name"),
141
+ "language": z.string().optional().describe("The language code"),
142
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
143
+ "creationDate": z.iso.datetime().describe("The creation date"),
144
+ "updateDate": z.iso.datetime().describe("The update date")
145
+ });
146
+ const accountUserCreateSchema = z.object({
147
+ "type": z.int().optional().describe("The optional type - only allowed for caretakers: 0 .. user, 1 .. company"),
148
+ "email": z.string().describe("The email address"),
149
+ "name": z.string().describe("The name"),
150
+ "language": z.enum([
151
+ "en",
152
+ "de",
153
+ "es",
154
+ "fr",
155
+ "it",
156
+ "nl",
157
+ "cs",
158
+ "sk"
159
+ ]).optional().describe("The language code")
160
+ });
161
+ const accountUserUpdateSchema = z.object({
162
+ "email": z.string().optional().describe("The new email address"),
163
+ "name": z.string().optional().describe("The new name of the sub account"),
164
+ "language": z.enum([
165
+ "en",
166
+ "de",
167
+ "es",
168
+ "fr",
169
+ "it",
170
+ "nl",
171
+ "cs",
172
+ "sk"
173
+ ]).optional().describe("The new language code")
174
+ });
175
+ const addressSchema = z.object({
176
+ "addressId": z.int().describe("The address id"),
177
+ "accountId": z.int().describe("The account id"),
178
+ "name": z.string().describe("The name of the address"),
179
+ "smartlockIds": z.array(z.bigint()).describe("The smartlocks for this address"),
180
+ "serviceId": z.enum([
181
+ "airbnb",
182
+ "bookingsync"
183
+ ]).optional().describe("The optional service id if the address is from an partner service"),
184
+ "timeZone": z.string().optional().describe("The timezone"),
185
+ "checkInTime": z.int().optional().describe("The optional check in time (minutes of the day)"),
186
+ "checkOutTime": z.int().optional().describe("The optional check out time (minutes of the day)"),
187
+ "settings": z.object({}).catchall(z.object({})).optional().describe("The optional settings object"),
188
+ "creationDate": z.iso.datetime().describe("The creation date"),
189
+ "updateDate": z.iso.datetime().describe("The update date")
190
+ });
191
+ const addressCreateSchema = z.object({
192
+ "name": z.string().describe("The name of the address"),
193
+ "smartlockIds": z.array(z.bigint()).describe("The smartlocks for this address")
194
+ });
195
+ const addressReservationSchema = z.object({
196
+ "id": z.string().describe("The id"),
197
+ "addressId": z.int().describe("The address id"),
198
+ "accountId": z.int().describe("The account id"),
199
+ "email": z.string().describe("The email of the guest"),
200
+ "name": z.string().describe("The name of the guest"),
201
+ "guests": z.int().describe("The number of guests"),
202
+ "guestsIssued": z.int().describe("The number of guests issued"),
203
+ "keypadIssued": z.boolean().describe("True if a keypad authorization was issued"),
204
+ "state": z.enum([
205
+ "canceled",
206
+ "accepted"
207
+ ]).describe("The state"),
208
+ "serviceId": z.enum([
209
+ "airbnb",
210
+ "bookingsync"
211
+ ]).optional().describe("The optional service id if the address is from an partner service"),
212
+ "reference": z.string().optional().describe("The reference (booking code)"),
213
+ "automation": z.int().describe("The automation state"),
214
+ "checkedIn": z.boolean().optional().describe("True if the user has checked in, false if the check in is pending, null if it isn't monitored"),
215
+ "startDate": z.iso.datetime().describe("The start date"),
216
+ "endDate": z.iso.datetime().describe("The end date"),
217
+ "updateDate": z.iso.datetime().describe("The update date"),
218
+ "isCurrentlyIssuingAuth": z.boolean(),
219
+ "isCurrentlyRevokingAuth": z.boolean(),
220
+ "hasCustomAccessTimes": z.boolean(),
221
+ "currentlyRevokingAuth": z.boolean().optional(),
222
+ "currentlyIssuingAuth": z.boolean().optional()
223
+ });
224
+ const addressTokenSchema = z.object({
225
+ "id": z.string().describe("The id"),
226
+ "addressId": z.int().describe("The address id"),
227
+ "creationDate": z.iso.datetime().describe("The creation date"),
228
+ "redeemDate": z.iso.datetime().describe("The redeem date"),
229
+ "redeemAccountId": z.int().describe("The redeem account id"),
230
+ "inviteKeys": z.array(z.string()).optional().describe("The list of invite keys"),
231
+ "redeemResult": z.enum([
232
+ "ok",
233
+ "failed"
234
+ ]).optional().describe("The redeem result")
235
+ });
236
+ const addressTokenInfoSchema = z.object({
237
+ "id": z.string().describe("The id"),
238
+ "addressName": z.string().describe("The address name"),
239
+ "smartlockNames": z.array(z.string()).describe("The associated smartlock names")
240
+ });
241
+ const addressUnitSchema = z.object({
242
+ "id": z.string().optional().describe("The id"),
243
+ "name": z.string().describe("The name of the address unit"),
244
+ "addressId": z.int().optional().describe("The address id"),
245
+ "addressTokenId": z.string().optional().describe("The address token id"),
246
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation")
247
+ });
248
+ const addressUnitResponseSchema = z.object({
249
+ "id": z.string().optional().describe("The id"),
250
+ "name": z.string().describe("The name of the address unit"),
251
+ "addressId": z.int().optional().describe("The address id"),
252
+ "addressTokenId": z.string().optional().describe("The address token id"),
253
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
254
+ "creationDate": z.iso.datetime().describe("The creation date"),
255
+ "redeemDate": z.iso.datetime().describe("The redeem date"),
256
+ "redeemResult": z.enum([
257
+ "ok",
258
+ "failed"
259
+ ]).optional().describe("The redeem result")
260
+ });
261
+ const addressUpdateSchema = z.object({
262
+ "name": z.string().optional().describe("The name of the address"),
263
+ "smartlockIds": z.array(z.bigint()).optional().describe("The smartlocks for this address"),
264
+ "settings": z.object({}).catchall(z.object({})).optional().describe("The optional settings")
265
+ });
266
+ const advancedApiKeySchema = z.object({
267
+ "name": z.string().describe("The name of the company for which you apply for access"),
268
+ "country": z.string().describe("The country of the headquarter or the country where you are mainly doing business in"),
269
+ "description": z.string().describe("Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes"),
270
+ "type": z.enum([
271
+ "ONLY_SECRET",
272
+ "SHORT_RENTAL",
273
+ "HEALTHCARE",
274
+ "SMART_HOME",
275
+ "OTHER"
276
+ ]).describe("The application type"),
277
+ "webhookStatus": z.enum([
278
+ "ACTIVE",
279
+ "DEACTIVATED"
280
+ ]).optional().describe("The status of the webhook posting automation"),
281
+ "url": z.string().describe("A website where we can find more information on the company and its business model"),
282
+ "email": z.string().describe("An email address where we can contact you for checks on your application"),
283
+ "webhookUrl": z.string().describe("The URL where our webhooks should point to"),
284
+ "webhookFeatures": z.array(z.enum([
285
+ "DEVICE_STATUS",
286
+ "DEVICE_MASTERDATA",
287
+ "DEVICE_CONFIG",
288
+ "DEVICE_LOGS",
289
+ "DEVICE_AUTHS",
290
+ "ACCOUNT_USER"
291
+ ])).refine((items)=>new Set(items).size === items.length, {
292
+ message: "Array entries must be unique"
293
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'"),
294
+ "restricted": z.boolean().describe("Whether the advanced API key is restricted"),
295
+ "secret": z.string().describe("The client secret, visible if application is approved (status >= 'TESTING')"),
296
+ "status": z.enum([
297
+ "INACTIVE",
298
+ "APPLIED",
299
+ "TESTING",
300
+ "ACTIVE"
301
+ ]).describe("The application status"),
302
+ "creationDate": z.iso.datetime().describe("The creation date"),
303
+ "updateDate": z.iso.datetime().describe("The update date")
304
+ });
305
+ const advancedApiKeyCreateSchema = z.object({
306
+ "name": z.string().describe("The name of the company for which you apply for access"),
307
+ "country": z.string().describe("The country of the headquarter or the country where you are mainly doing business in"),
308
+ "description": z.string().describe("Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes"),
309
+ "type": z.enum([
310
+ "ONLY_SECRET",
311
+ "SHORT_RENTAL",
312
+ "HEALTHCARE",
313
+ "SMART_HOME",
314
+ "OTHER"
315
+ ]).describe("The application type"),
316
+ "webhookStatus": z.enum([
317
+ "ACTIVE",
318
+ "DEACTIVATED"
319
+ ]).optional().describe("The status of the webhook posting automation"),
320
+ "url": z.string().describe("A website where we can find more information on the company and its business model"),
321
+ "email": z.string().describe("An email address where we can contact you for checks on your application"),
322
+ "webhookUrl": z.string().describe("The URL where our webhooks should point to"),
323
+ "webhookFeatures": z.array(z.enum([
324
+ "DEVICE_STATUS",
325
+ "DEVICE_MASTERDATA",
326
+ "DEVICE_CONFIG",
327
+ "DEVICE_LOGS",
328
+ "DEVICE_AUTHS",
329
+ "ACCOUNT_USER"
330
+ ])).refine((items)=>new Set(items).size === items.length, {
331
+ message: "Array entries must be unique"
332
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'"),
333
+ "restricted": z.boolean().describe("Whether the advanced API key is restricted")
334
+ });
335
+ const advancedApiKeyUpdateSchema = z.object({
336
+ "webhookUrl": z.string().describe("The URL where our webhooks should point to"),
337
+ "webhookFeatures": z.array(z.enum([
338
+ "DEVICE_STATUS",
339
+ "DEVICE_MASTERDATA",
340
+ "DEVICE_CONFIG",
341
+ "DEVICE_LOGS",
342
+ "DEVICE_AUTHS",
343
+ "ACCOUNT_USER"
344
+ ])).refine((items)=>new Set(items).size === items.length, {
345
+ message: "Array entries must be unique"
346
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'")
347
+ });
348
+ const advancedConfirmationResponseSchema = z.object({
349
+ "requestId": z.string().describe("A UUID to identify the upcoming asynchronously web hook response"),
350
+ "error": z.string().optional().describe("Contains error message and smartlock IDs, if auths can not be created because they need subscription.")
351
+ });
352
+ const apiKeySchema = z.object({
353
+ "apiKeyId": z.int().describe("The id"),
354
+ "accountId": z.int().describe("The account id"),
355
+ "description": z.string().optional().describe("The description"),
356
+ "redirectUris": z.array(z.string()).optional().describe("The redirect uris"),
357
+ "creationDate": z.iso.datetime().describe("The creation date"),
358
+ "apiKey": z.string().optional().describe("The api key")
359
+ });
360
+ const apiKeyAdvancedSchema = z.object({
361
+ "name": z.string().optional(),
362
+ "country": z.string().optional(),
363
+ "description": z.string().optional(),
364
+ "type": z.enum([
365
+ "ONLY_SECRET",
366
+ "SHORT_RENTAL",
367
+ "HEALTHCARE",
368
+ "SMART_HOME",
369
+ "OTHER"
370
+ ]).optional(),
371
+ "url": z.string().optional(),
372
+ "email": z.string().optional(),
373
+ "webhookFeatures": z.array(z.enum([
374
+ "DEVICE_STATUS",
375
+ "DEVICE_MASTERDATA",
376
+ "DEVICE_CONFIG",
377
+ "DEVICE_LOGS",
378
+ "DEVICE_AUTHS",
379
+ "ACCOUNT_USER"
380
+ ])).refine((items)=>new Set(items).size === items.length, {
381
+ message: "Array entries must be unique"
382
+ }).optional(),
383
+ "webhookUrl": z.string().optional(),
384
+ "webhookSentSuccessfully": z.int().optional(),
385
+ "webhookSentErroneous": z.int().optional(),
386
+ "lastSuccessfulPost": z.iso.datetime().optional(),
387
+ "lastPostDuration": z.bigint().optional(),
388
+ "lastPostSuccesful": z.boolean().optional(),
389
+ "status": z.enum([
390
+ "INACTIVE",
391
+ "APPLIED",
392
+ "TESTING",
393
+ "ACTIVE"
394
+ ]).optional(),
395
+ "webhookStatus": z.enum([
396
+ "ACTIVE",
397
+ "DEACTIVATED"
398
+ ]).optional(),
399
+ "creationDate": z.iso.datetime().optional(),
400
+ "updateDate": z.iso.datetime().optional(),
401
+ "restricted": z.boolean().optional()
402
+ });
403
+ const apiKeyCreateSchema = z.object({
404
+ "description": z.string().optional().describe("The description"),
405
+ "redirectUris": z.array(z.string()).optional().describe("The list of redirect uris")
406
+ });
407
+ const completableFutureListApiKeySchema = z.object({
408
+ "completedExceptionally": z.boolean().optional(),
409
+ "numberOfDependents": z.int().optional(),
410
+ "done": z.boolean().optional(),
411
+ "cancelled": z.boolean().optional()
412
+ });
413
+ const apiKeyServiceSchema = z.object({
414
+ "byActiveWebhook": completableFutureListApiKeySchema.optional()
415
+ });
416
+ const apiKeyTokenSchema = z.object({
417
+ "id": z.string().describe("The id"),
418
+ "accountId": z.int().describe("The account id"),
419
+ "description": z.string().optional().describe("The description"),
420
+ "accessToken": z.string().optional().describe("The access token"),
421
+ "scopes": z.array(z.string()).describe("The list of scopes"),
422
+ "creationDate": z.iso.datetime().describe("The creation date")
423
+ });
424
+ const apiKeyTokenCreateSchema = z.object({
425
+ "description": z.string().optional().describe("The description"),
426
+ "scopes": z.array(z.string()).optional().describe("The list of scopes")
427
+ });
428
+ const apiKeyTokenUpdateSchema = z.object({
429
+ "description": z.string().optional().describe("The description"),
430
+ "scopes": z.array(z.string()).optional().describe("The list of scopes")
431
+ });
432
+ const apiKeyUpdateSchema = z.object({
433
+ "description": z.string().optional().describe("The description"),
434
+ "redirectUris": z.array(z.string()).optional().describe("The list of redirect uris")
435
+ });
436
+ const filterSchema = z.object({});
437
+ const levelSchema = z.object({
438
+ "name": z.string().optional(),
439
+ "resourceBundleName": z.string().optional(),
440
+ "localizedName": z.string().optional()
441
+ });
442
+ const formatterSchema = z.object({});
443
+ const errorManagerSchema = z.object({});
444
+ const handlerSchema = z.object({
445
+ "filter": filterSchema.optional(),
446
+ "formatter": formatterSchema.optional(),
447
+ "errorManager": errorManagerSchema.optional(),
448
+ "encoding": z.string().optional(),
449
+ "level": levelSchema.optional()
450
+ });
451
+ const localeSchema = z.object({
452
+ "language": z.string().optional(),
453
+ "displayName": z.string().optional(),
454
+ "country": z.string().optional(),
455
+ "variant": z.string().optional(),
456
+ "script": z.string().optional(),
457
+ "unicodeLocaleAttributes": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
458
+ message: "Array entries must be unique"
459
+ }).optional(),
460
+ "unicodeLocaleKeys": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
461
+ message: "Array entries must be unique"
462
+ }).optional(),
463
+ "displayLanguage": z.string().optional(),
464
+ "displayScript": z.string().optional(),
465
+ "displayCountry": z.string().optional(),
466
+ "displayVariant": z.string().optional(),
467
+ "extensionKeys": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
468
+ message: "Array entries must be unique"
469
+ }).optional(),
470
+ "iso3Language": z.string().optional(),
471
+ "iso3Country": z.string().optional()
472
+ });
473
+ const enumerationStringSchema = z.object({});
474
+ const resourceBundleSchema = z.object({
475
+ "locale": localeSchema.optional(),
476
+ "keys": enumerationStringSchema.optional(),
477
+ "baseBundleName": z.string().optional()
478
+ });
479
+ const loggerSchema = z.object({
480
+ "name": z.string().optional(),
481
+ get "parent" () {
482
+ return loggerSchema.optional();
483
+ },
484
+ "filter": filterSchema.optional(),
485
+ "level": levelSchema.optional(),
486
+ "resourceBundleName": z.string().optional(),
487
+ "handlers": z.array(handlerSchema).optional(),
488
+ "useParentHandlers": z.boolean().optional(),
489
+ "resourceBundle": resourceBundleSchema.optional()
490
+ });
491
+ const restletSchema = z.object({
492
+ "author": z.string().optional(),
493
+ get "context" () {
494
+ return contextSchema.optional();
495
+ },
496
+ "description": z.string().optional(),
497
+ "name": z.string().optional(),
498
+ "owner": z.string().optional(),
499
+ "started": z.boolean().optional(),
500
+ "logger": loggerSchema.optional(),
501
+ "stopped": z.boolean().optional(),
502
+ "application": applicationSchema.optional()
503
+ });
504
+ const parameterSchema = z.object({
505
+ "name": z.string().optional(),
506
+ "value": z.string().optional()
507
+ });
508
+ const enrolerSchema = z.object({});
509
+ const verifierSchema = z.object({});
510
+ const scheduledExecutorServiceSchema = z.object({
511
+ "terminated": z.boolean().optional(),
512
+ "shutdown": z.boolean().optional()
513
+ });
514
+ const contextSchema = z.object({
515
+ get "clientDispatcher" () {
516
+ return restletSchema.optional();
517
+ },
518
+ "serverDispatcher": restletSchema.optional(),
519
+ "attributes": z.object({}).catchall(z.object({})).optional(),
520
+ "logger": loggerSchema.optional(),
521
+ "parameters": z.array(parameterSchema).optional(),
522
+ "defaultEnroler": enrolerSchema.optional(),
523
+ "defaultVerifier": verifierSchema.optional(),
524
+ "executorService": scheduledExecutorServiceSchema.optional()
525
+ });
526
+ const roleSchema = z.object({
527
+ get "application" () {
528
+ return applicationSchema.optional();
529
+ },
530
+ "childRoles": z.array(roleSchema).optional(),
531
+ "description": z.string().optional(),
532
+ "name": z.string().optional()
533
+ });
534
+ const serviceSchema = z.object({
535
+ get "context" () {
536
+ return contextSchema.optional();
537
+ },
538
+ "enabled": z.boolean().optional(),
539
+ "started": z.boolean().optional(),
540
+ "stopped": z.boolean().optional()
541
+ });
542
+ const connegServiceSchema = z.object({
543
+ get "context" () {
544
+ return contextSchema.optional();
545
+ },
546
+ "enabled": z.boolean().optional(),
547
+ "started": z.boolean().optional(),
548
+ "strict": z.boolean().optional(),
549
+ "stopped": z.boolean().optional()
550
+ });
551
+ const converterServiceSchema = z.object({
552
+ get "context" () {
553
+ return contextSchema.optional();
554
+ },
555
+ "enabled": z.boolean().optional(),
556
+ "started": z.boolean().optional(),
557
+ "stopped": z.boolean().optional()
558
+ });
559
+ const metadataSchema = z.object({
560
+ "description": z.string().optional(),
561
+ "name": z.string().optional(),
562
+ get "parent" () {
563
+ return metadataSchema.optional();
564
+ }
565
+ });
566
+ const characterSetSchema = z.object({
567
+ "description": z.string().optional(),
568
+ "name": z.string().optional(),
569
+ get "parent" () {
570
+ return metadataSchema.optional();
571
+ }
572
+ });
573
+ const encodingSchema = z.object({
574
+ "description": z.string().optional(),
575
+ "name": z.string().optional(),
576
+ get "parent" () {
577
+ return metadataSchema.optional();
578
+ }
579
+ });
580
+ const languageSchema = z.object({
581
+ "description": z.string().optional(),
582
+ "name": z.string().optional(),
583
+ "subTags": z.array(z.string()).optional(),
584
+ get "parent" () {
585
+ return languageSchema.optional();
586
+ },
587
+ "primaryTag": z.string().optional()
588
+ });
589
+ const mediaTypeSchema = z.object({
590
+ "description": z.string().optional(),
591
+ "name": z.string().optional(),
592
+ "parameters": z.array(parameterSchema).optional(),
593
+ get "parent" () {
594
+ return mediaTypeSchema.optional();
595
+ },
596
+ "mainType": z.string().optional(),
597
+ "concrete": z.boolean().optional(),
598
+ "subType": z.string().optional()
599
+ });
600
+ const metadataServiceSchema = z.object({
601
+ get "context" () {
602
+ return contextSchema.optional();
603
+ },
604
+ "enabled": z.boolean().optional(),
605
+ "started": z.boolean().optional(),
606
+ "defaultCharacterSet": characterSetSchema.optional(),
607
+ "defaultEncoding": encodingSchema.optional(),
608
+ "defaultLanguage": languageSchema.optional(),
609
+ "defaultMediaType": mediaTypeSchema.optional(),
610
+ "allEncodingExtensionNames": z.array(z.string()).optional(),
611
+ "allCharacterSetExtensionNames": z.array(z.string()).optional(),
612
+ "allExtensionNames": z.array(z.string()).optional(),
613
+ "allLanguageExtensionNames": z.array(z.string()).optional(),
614
+ "allMediaTypeExtensionNames": z.array(z.string()).optional(),
615
+ "stopped": z.boolean().optional()
616
+ });
617
+ const rangeServiceSchema = z.object({
618
+ get "context" () {
619
+ return contextSchema.optional();
620
+ },
621
+ "enabled": z.boolean().optional(),
622
+ "started": z.boolean().optional(),
623
+ "stopped": z.boolean().optional()
624
+ });
625
+ const protocolSchema = z.object({
626
+ "confidential": z.boolean().optional(),
627
+ "defaultPort": z.int().optional(),
628
+ "description": z.string().optional(),
629
+ "name": z.string().optional(),
630
+ "schemeName": z.string().optional(),
631
+ "technicalName": z.string().optional(),
632
+ "version": z.string().optional()
633
+ });
634
+ const referenceSchema = z.object({
635
+ get "baseRef" () {
636
+ return referenceSchema.optional();
637
+ },
638
+ "absolute": z.boolean().optional(),
639
+ "scheme": z.string().optional(),
640
+ "opaque": z.boolean().optional(),
641
+ "authority": z.string().optional(),
642
+ "relative": z.boolean().optional(),
643
+ "query": z.string().optional(),
644
+ "path": z.string().optional(),
645
+ "userInfo": z.string().optional(),
646
+ "schemeSpecificPart": z.string().optional(),
647
+ "fragment": z.string().optional(),
648
+ "extensions": z.string().optional(),
649
+ "identifier": z.string().optional(),
650
+ "extensionsAsArray": z.array(z.string()).optional(),
651
+ "hierarchicalPart": z.string().optional(),
652
+ "hostDomain": z.string().optional(),
653
+ "hostIdentifier": z.string().optional(),
654
+ "hostPort": z.int().optional(),
655
+ "lastSegment": z.string().optional(),
656
+ "parentRef": referenceSchema.optional(),
657
+ "relativePart": z.string().optional(),
658
+ "relativeRef": referenceSchema.optional(),
659
+ "remainingPart": z.string().optional(),
660
+ "schemeProtocol": protocolSchema.optional(),
661
+ "segments": z.array(z.string()).optional(),
662
+ "targetRef": referenceSchema.optional(),
663
+ "hierarchical": z.boolean().optional(),
664
+ "matrix": z.string().optional(),
665
+ "matrixAsForm": z.array(parameterSchema).optional(),
666
+ "queryAsForm": z.array(parameterSchema).optional()
667
+ });
668
+ const statusServiceSchema = z.object({
669
+ get "context" () {
670
+ return contextSchema.optional();
671
+ },
672
+ "enabled": z.boolean().optional(),
673
+ "started": z.boolean().optional(),
674
+ "connegService": connegServiceSchema.optional(),
675
+ "contactEmail": z.string().optional(),
676
+ "converterService": converterServiceSchema.optional(),
677
+ "homeRef": referenceSchema.optional(),
678
+ "metadataService": metadataServiceSchema.optional(),
679
+ "overwriting": z.boolean().optional(),
680
+ "stopped": z.boolean().optional()
681
+ });
682
+ const taskServiceSchema = z.object({
683
+ get "context" () {
684
+ return contextSchema.optional();
685
+ },
686
+ "enabled": z.boolean().optional(),
687
+ "started": z.boolean().optional(),
688
+ "corePoolSize": z.int().optional(),
689
+ "daemon": z.boolean().optional(),
690
+ "shutdownAllowed": z.boolean().optional(),
691
+ "terminated": z.boolean().optional(),
692
+ "shutdown": z.boolean().optional(),
693
+ "stopped": z.boolean().optional()
694
+ });
695
+ const tunnelServiceSchema = z.object({
696
+ get "context" () {
697
+ return contextSchema.optional();
698
+ },
699
+ "enabled": z.boolean().optional(),
700
+ "started": z.boolean().optional(),
701
+ "characterSetParameter": z.string().optional(),
702
+ "encodingParameter": z.string().optional(),
703
+ "extensionsTunnel": z.boolean().optional(),
704
+ "headersTunnel": z.boolean().optional(),
705
+ "languageParameter": z.string().optional(),
706
+ "mediaTypeParameter": z.string().optional(),
707
+ "methodHeader": z.string().optional(),
708
+ "methodParameter": z.string().optional(),
709
+ "methodTunnel": z.boolean().optional(),
710
+ "preferencesTunnel": z.boolean().optional(),
711
+ "queryTunnel": z.boolean().optional(),
712
+ "userAgentTunnel": z.boolean().optional(),
713
+ "stopped": z.boolean().optional()
714
+ });
715
+ const connectorServiceSchema = z.object({
716
+ get "context" () {
717
+ return contextSchema.optional();
718
+ },
719
+ "enabled": z.boolean().optional(),
720
+ "started": z.boolean().optional(),
721
+ "clientProtocols": z.array(protocolSchema).optional(),
722
+ "serverProtocols": z.array(protocolSchema).optional(),
723
+ "stopped": z.boolean().optional()
724
+ });
725
+ const decoderServiceSchema = z.object({
726
+ get "context" () {
727
+ return contextSchema.optional();
728
+ },
729
+ "enabled": z.boolean().optional(),
730
+ "started": z.boolean().optional(),
731
+ "stopped": z.boolean().optional()
732
+ });
733
+ const encoderServiceSchema = z.object({
734
+ get "context" () {
735
+ return contextSchema.optional();
736
+ },
737
+ "enabled": z.boolean().optional(),
738
+ "started": z.boolean().optional(),
739
+ "acceptedMediaTypes": z.array(mediaTypeSchema).optional(),
740
+ "ignoredMediaTypes": z.array(mediaTypeSchema).optional(),
741
+ "minimumSize": z.bigint().optional(),
742
+ "stopped": z.boolean().optional()
743
+ });
744
+ const applicationSchema = z.object({
745
+ "author": z.string().optional(),
746
+ get "context" () {
747
+ return contextSchema.optional();
748
+ },
749
+ "description": z.string().optional(),
750
+ "name": z.string().optional(),
751
+ "owner": z.string().optional(),
752
+ "started": z.boolean().optional(),
753
+ "debugging": z.boolean().optional(),
754
+ "inboundRoot": restletSchema.optional(),
755
+ "outboundRoot": restletSchema.optional(),
756
+ "roles": z.array(roleSchema).optional(),
757
+ "services": z.array(serviceSchema).optional(),
758
+ "connegService": connegServiceSchema.optional(),
759
+ "converterService": converterServiceSchema.optional(),
760
+ "metadataService": metadataServiceSchema.optional(),
761
+ "rangeService": rangeServiceSchema.optional(),
762
+ "statusService": statusServiceSchema.optional(),
763
+ "taskService": taskServiceSchema.optional(),
764
+ "tunnelService": tunnelServiceSchema.optional(),
765
+ "connectorService": connectorServiceSchema.optional(),
766
+ "decoderService": decoderServiceSchema.optional(),
767
+ "encoderService": encoderServiceSchema.optional(),
768
+ "logger": loggerSchema.optional(),
769
+ "stopped": z.boolean().optional(),
770
+ "application": applicationSchema.optional()
771
+ });
772
+ const authenticationInfoSchema = z.object({
773
+ "nextServerNonce": z.string().optional(),
774
+ "nonceCount": z.int().optional(),
775
+ "clientNonce": z.string().optional(),
776
+ "quality": z.string().optional(),
777
+ "responseDigest": z.string().optional()
778
+ });
779
+ const smartlockWebConfigSchema = z.object({
780
+ "batteryWarningPerMailEnabled": z.boolean().optional().describe("True if a battery warning is send via email, if null/not send, the value is not being updated"),
781
+ "dismissedLiftUpHandleWarning": z.array(z.int()).optional().describe("Contains the account ids which have dismissed the lift up handle warning, if null/not send, the value is not being updated. To clear send a empty array []")
782
+ });
783
+ const webConfigRequestSchema = z.object({
784
+ "smartlockId": z.bigint().optional(),
785
+ "webConfig": smartlockWebConfigSchema.optional()
786
+ });
787
+ const bulkWebConfigRequestSchema = z.object({
788
+ "webConfigRequests": z.array(webConfigRequestSchema).optional()
789
+ });
790
+ const cacheDirectiveSchema = z.object({
791
+ "digit": z.boolean().optional(),
792
+ "name": z.string().optional(),
793
+ "value": z.string().optional()
794
+ });
795
+ const publicKeySchema = z.object({
796
+ "encoded": z.array(z.instanceof(File)).optional(),
797
+ "format": z.string().optional(),
798
+ "algorithm": z.string().optional()
799
+ });
800
+ const certificateSchema = z.object({
801
+ "type": z.string().optional(),
802
+ "encoded": z.array(z.instanceof(File)).optional(),
803
+ "publicKey": publicKeySchema.optional()
804
+ });
805
+ const challengeSchemeSchema = z.object({
806
+ "description": z.string().optional(),
807
+ "name": z.string().optional(),
808
+ "technicalName": z.string().optional()
809
+ });
810
+ const challengeRequestSchema = z.object({
811
+ "rawValue": z.string().optional(),
812
+ "parameters": z.array(parameterSchema).optional(),
813
+ "scheme": challengeSchemeSchema.optional(),
814
+ "serverNonce": z.string().optional(),
815
+ "realm": z.string().optional(),
816
+ "opaque": z.string().optional(),
817
+ "digestAlgorithm": z.string().optional(),
818
+ "qualityOptions": z.array(z.string()).optional(),
819
+ get "domainRefs" () {
820
+ return z.array(referenceSchema).optional();
821
+ },
822
+ "stale": z.boolean().optional()
823
+ });
824
+ const principalSchema = z.object({
825
+ "name": z.string().optional()
826
+ });
827
+ const challengeResponseSchema = z.object({
828
+ "rawValue": z.string().optional(),
829
+ "parameters": z.array(parameterSchema).optional(),
830
+ "scheme": challengeSchemeSchema.optional(),
831
+ "serverNonce": z.string().optional(),
832
+ "realm": z.string().optional(),
833
+ "opaque": z.string().optional(),
834
+ "digestAlgorithm": z.string().optional(),
835
+ "clientNonce": z.string().optional(),
836
+ get "digestRef" () {
837
+ return referenceSchema.optional();
838
+ },
839
+ "identifier": z.string().optional(),
840
+ "quality": z.string().optional(),
841
+ "secret": z.array(z.string()).optional(),
842
+ "secretAlgorithm": z.string().optional(),
843
+ "serverNounceCount": z.int().optional(),
844
+ "timeIssued": z.bigint().optional(),
845
+ "principal": principalSchema.optional(),
846
+ "serverNounceCountAsHex": z.string().optional()
847
+ });
848
+ const preferenceCharacterSetSchema = z.object({
849
+ "metadata": characterSetSchema.optional(),
850
+ "parameters": z.array(parameterSchema).optional(),
851
+ "quality": z.number().optional()
852
+ });
853
+ const preferenceEncodingSchema = z.object({
854
+ "metadata": encodingSchema.optional(),
855
+ "parameters": z.array(parameterSchema).optional(),
856
+ "quality": z.number().optional()
857
+ });
858
+ const preferenceLanguageSchema = z.object({
859
+ get "metadata" () {
860
+ return languageSchema.optional();
861
+ },
862
+ "parameters": z.array(parameterSchema).optional(),
863
+ "quality": z.number().optional()
864
+ });
865
+ const preferenceMediaTypeSchema = z.object({
866
+ get "metadata" () {
867
+ return mediaTypeSchema.optional();
868
+ },
869
+ "parameters": z.array(parameterSchema).optional(),
870
+ "quality": z.number().optional()
871
+ });
872
+ const productSchema = z.object({
873
+ "comment": z.string().optional(),
874
+ "name": z.string().optional(),
875
+ "version": z.string().optional()
876
+ });
877
+ const expectationSchema = z.object({
878
+ "name": z.string().optional(),
879
+ "parameters": z.array(parameterSchema).optional(),
880
+ "value": z.string().optional()
881
+ });
882
+ const userSchema = z.object({
883
+ "email": z.string().optional(),
884
+ "firstName": z.string().optional(),
885
+ "identifier": z.string().optional(),
886
+ "lastName": z.string().optional(),
887
+ "secret": z.array(z.string()).optional(),
888
+ "name": z.string().optional()
889
+ });
890
+ const clientInfoSchema = z.object({
891
+ "acceptedCharacterSets": z.array(preferenceCharacterSetSchema).optional(),
892
+ "acceptedEncodings": z.array(preferenceEncodingSchema).optional(),
893
+ "acceptedLanguages": z.array(preferenceLanguageSchema).optional(),
894
+ "acceptedMediaTypes": z.array(preferenceMediaTypeSchema).optional(),
895
+ "acceptedPatches": z.array(preferenceMediaTypeSchema).optional(),
896
+ "address": z.string().optional(),
897
+ "agent": z.string().optional(),
898
+ "agentAttributes": z.object({}).catchall(z.string()).optional(),
899
+ "agentProducts": z.array(productSchema).optional(),
900
+ "authenticated": z.boolean().optional(),
901
+ "certificates": z.array(certificateSchema).optional(),
902
+ "cipherSuite": z.string().optional(),
903
+ "expectations": z.array(expectationSchema).optional(),
904
+ "forwardedAddresses": z.array(z.string()).optional(),
905
+ "from": z.string().optional(),
906
+ "port": z.int().optional(),
907
+ "principals": z.array(principalSchema).optional(),
908
+ get "roles" () {
909
+ return z.array(roleSchema).optional();
910
+ },
911
+ "user": userSchema.optional(),
912
+ "agentName": z.string().optional(),
913
+ "agentVersion": z.string().optional(),
914
+ "mainAgentProduct": productSchema.optional(),
915
+ "upstreamAddress": z.string().optional()
916
+ });
917
+ const companySchema = z.object({
918
+ "name": z.string().optional(),
919
+ "email": z.string().optional()
920
+ });
921
+ const completableFutureSchema = z.object({
922
+ "completedExceptionally": z.boolean().optional(),
923
+ "numberOfDependents": z.int().optional(),
924
+ "done": z.boolean().optional(),
925
+ "cancelled": z.boolean().optional()
926
+ });
927
+ const tagSchema = z.object({
928
+ "name": z.string().optional(),
929
+ "weak": z.boolean().optional()
930
+ });
931
+ const conditionsSchema = z.object({
932
+ "match": z.array(tagSchema).optional(),
933
+ "modifiedSince": z.iso.datetime().optional(),
934
+ "noneMatch": z.array(tagSchema).optional(),
935
+ "rangeDate": z.iso.datetime().optional(),
936
+ "rangeTag": tagSchema.optional(),
937
+ "unmodifiedSince": z.iso.datetime().optional()
938
+ });
939
+ const cookieSchema = z.object({
940
+ "domain": z.string().optional(),
941
+ "name": z.string().optional(),
942
+ "path": z.string().optional(),
943
+ "value": z.string().optional(),
944
+ "version": z.int().optional()
945
+ });
946
+ const cookieSettingSchema = z.object({
947
+ "domain": z.string().optional(),
948
+ "name": z.string().optional(),
949
+ "path": z.string().optional(),
950
+ "value": z.string().optional(),
951
+ "version": z.int().optional(),
952
+ "accessRestricted": z.boolean().optional(),
953
+ "comment": z.string().optional(),
954
+ "maxAge": z.int().optional(),
955
+ "secure": z.boolean().optional(),
956
+ "description": z.string().optional()
957
+ });
958
+ const decentralWebhookSchema = z.object({
959
+ "id": z.int().optional().describe("The identifier"),
960
+ "secret": z.string().optional().describe("The secret to sign the webhook's payload"),
961
+ "webhookUrl": z.string().describe("The URL where our webhooks (POST requests) should point to (needs to be https)"),
962
+ "webhookFeatures": z.array(z.enum([
963
+ "DEVICE_STATUS",
964
+ "DEVICE_MASTERDATA",
965
+ "DEVICE_CONFIG",
966
+ "DEVICE_LOGS",
967
+ "DEVICE_AUTHS",
968
+ "ACCOUNT_USER"
969
+ ])).refine((items)=>new Set(items).size === items.length, {
970
+ message: "Array entries must be unique"
971
+ }).describe("The features to trigger webhooks, set values: DEVICE_STATUS, DEVICE_MASTERDATA, DEVICE_CONFIG, DEVICE_LOGS, DEVICE_AUTHS, ACCOUNT_USER")
972
+ });
973
+ const digestSchema = z.object({
974
+ "algorithm": z.string().optional(),
975
+ "value": z.array(z.instanceof(File)).optional()
976
+ });
977
+ const dispositionSchema = z.object({
978
+ "parameters": z.array(parameterSchema).optional(),
979
+ "type": z.string().optional(),
980
+ "filename": z.string().optional()
981
+ });
982
+ const enumerationSchema = z.object({});
983
+ const headerSchema = z.object({
984
+ "name": z.string().optional(),
985
+ "value": z.string().optional()
986
+ });
987
+ const inputStreamSchema = z.object({});
988
+ const methodSchema = z.object({
989
+ "description": z.string().optional(),
990
+ "idempotent": z.boolean().optional(),
991
+ "name": z.string().optional(),
992
+ "replying": z.boolean().optional(),
993
+ "safe": z.boolean().optional(),
994
+ "uri": z.string().optional()
995
+ });
996
+ const myAccountSchema = z.object({
997
+ "accountId": z.int().describe("The account id"),
998
+ "type": z.int().describe("The type: 0 .. user, 1 .. company, 2 .. caretaker"),
999
+ "email": z.string().describe("The email address"),
1000
+ "emailVerified": z.boolean().optional().describe("true, if the email is verified"),
1001
+ "name": z.string().describe("The name"),
1002
+ "masterAccountId": z.int().optional().describe("The master account id if it's a sub account"),
1003
+ "rights": z.int().optional().describe("The rights bitmask if it's a sub account: 1 .. manage smartlock, 2 .. operate smartlock, 4 .. manage smartlock config, 8 .. manage smartlock authorizations, 16 .. view smartlock logs, 32 .. manage sub accounts, 64 .. create smartlocks"),
1004
+ "language": z.string().optional().describe("The language code"),
1005
+ "config": accountConfigSchema.optional(),
1006
+ "profile": accountProfileSchema.optional(),
1007
+ "secret": z.array(z.instanceof(File)).optional().describe("The secret base64 encoded"),
1008
+ "creationDate": z.iso.datetime().describe("The creation date"),
1009
+ "updateDate": z.iso.datetime().describe("The update date"),
1010
+ "descent": accountDescentSchema.optional(),
1011
+ "shsSubscriptionType": z.enum([
1012
+ "BUSINESS",
1013
+ "STANDARD",
1014
+ "BUSINESS_PLUS",
1015
+ "API_ONLY"
1016
+ ]).optional().describe("subscription type of the account (b2b)"),
1017
+ "b2bActive": z.boolean().optional(),
1018
+ "apiTermsOfUse": termsOfUseSchema.optional()
1019
+ });
1020
+ const namedValueSchema = z.object({
1021
+ "name": z.string().optional(),
1022
+ "value": z.object({}).optional()
1023
+ });
1024
+ const namedValueStringSchema = z.object({
1025
+ "name": z.string().optional(),
1026
+ "value": z.string().optional()
1027
+ });
1028
+ const notificationSettingSchema = z.object({
1029
+ "smartlockId": z.bigint().optional().describe("The smartlock ID, if not set all Smart Locks of the account are enabled for push notifications"),
1030
+ "triggerEvents": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1031
+ message: "Array entries must be unique"
1032
+ }).describe("A set on which push notifications should be triggered: lock, unlock, unlatch, lockngo, open, ring, doorsensor, warnings, smartlock"),
1033
+ "authIds": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1034
+ message: "Array entries must be unique"
1035
+ }).optional().describe("A set of auth IDs to filter push notifications to certain users or keypads. If no entry push notifications are triggered for all users and keypads")
1036
+ });
1037
+ const notificationSchema = z.object({
1038
+ "notificationId": z.string().optional().describe("The unique notificationId for the notification"),
1039
+ "referenceId": z.string().optional().describe("The reference ID, an ID to identify a foreign system"),
1040
+ "pushId": z.string().describe("The push ID or the POST URL for a webhook"),
1041
+ "secret": z.string().optional().describe("The 40 byte hex string to sign the checksumof the POST payload if the notification is webhook (os=2)"),
1042
+ "os": z.int().describe("The operating system: 0 .. Android, 1 .. iOS, 2 .. web hook"),
1043
+ "language": z.string().optional().describe("The language of push messages: cs, de, en (default), es, fr, it, nl, sk"),
1044
+ "status": z.int().optional().describe("Current state: 0 .. init, 1 .. active, 2 .. failed"),
1045
+ "lastActiveDate": z.iso.datetime().optional().describe("The last active date"),
1046
+ "settings": z.array(notificationSettingSchema).describe("Settings per Smart Lock")
1047
+ });
1048
+ const objectIdSchema = z.object({
1049
+ "timestamp": z.int().optional(),
1050
+ "counter": z.int().optional(),
1051
+ "time": z.bigint().optional(),
1052
+ "date": z.iso.datetime().optional(),
1053
+ "machineIdentifier": z.int().optional(),
1054
+ "processIdentifier": z.int().optional(),
1055
+ "timeSecond": z.int().optional()
1056
+ });
1057
+ const openerIntercomBrandSchema = z.object({
1058
+ "brandId": z.int().describe("The brand ID"),
1059
+ "brand": z.string().describe("The brand name")
1060
+ });
1061
+ const openerIntercomModelSchema = z.object({
1062
+ "intercomId": z.int().describe("The intercom ID"),
1063
+ "brandId": z.int().describe("The related brand ID"),
1064
+ "type": z.int().describe("The type of the model"),
1065
+ "model": z.string().describe("The model name"),
1066
+ "verified": z.int().describe("Verified Nuki intercom: 1 .. verified to work, 2 .. may be compatible, but not verified, 3 .. not compatible"),
1067
+ "conGndBus": z.string().describe("Connection for ground BUS"),
1068
+ "conBusAudio": z.string().describe("Connection for audio BUS"),
1069
+ "conAudioout": z.string().describe("Connection for audio out"),
1070
+ "conDoorbellPlus": z.string().describe("Connection for doorbell plus"),
1071
+ "conDoorbellMinus": z.string().describe("Connection for doorbell minus"),
1072
+ "conOpendoor": z.string().describe("Connection for open the door"),
1073
+ "conGndAnalogue": z.string().describe("Connection for ground analogue"),
1074
+ "busModeSwitch": z.int().describe("Settings value for BUS mode switch"),
1075
+ "busModeSwitchShortCircuitDuration": z.int().describe("Settings value for BUS mode switch short cicuit duration"),
1076
+ "creationDate": z.iso.datetime().optional().describe("The creation date"),
1077
+ "updateDate": z.iso.datetime().optional().describe("The update date")
1078
+ });
1079
+ const paginationSchema = z.object({
1080
+ "totalItems": z.bigint().optional(),
1081
+ "totalPages": z.int().optional(),
1082
+ "currentPage": z.int().optional(),
1083
+ "nextPage": z.string().optional(),
1084
+ "prevPage": z.string().optional(),
1085
+ "pageSize": z.int().optional()
1086
+ });
1087
+ const paginatedResponseSchema = z.object({
1088
+ "results": z.array(z.object({})).optional(),
1089
+ "pagination": paginationSchema.optional()
1090
+ });
1091
+ const preferenceSchema = z.object({
1092
+ get "metadata" () {
1093
+ return metadataSchema.optional();
1094
+ },
1095
+ "parameters": z.array(parameterSchema).optional(),
1096
+ "quality": z.number().optional()
1097
+ });
1098
+ const rangeSchema = z.object({
1099
+ "index": z.bigint().optional(),
1100
+ "instanceSize": z.bigint().optional(),
1101
+ "size": z.bigint().optional(),
1102
+ "unitName": z.string().optional()
1103
+ });
1104
+ const readableByteChannelSchema = z.object({
1105
+ "open": z.boolean().optional()
1106
+ });
1107
+ const readerSchema = z.object({});
1108
+ const recipientInfoSchema = z.object({
1109
+ "protocol": protocolSchema.optional(),
1110
+ "comment": z.string().optional(),
1111
+ "name": z.string().optional()
1112
+ });
1113
+ const selectionListenerSchema = z.object({});
1114
+ const selectableChannelSchema = z.object({
1115
+ "registered": z.boolean().optional(),
1116
+ "blocking": z.boolean().optional(),
1117
+ "open": z.boolean().optional()
1118
+ });
1119
+ const wakeupListenerSchema = z.object({});
1120
+ const selectionRegistrationSchema = z.object({
1121
+ "canceling": z.boolean().optional(),
1122
+ "interestOperations": z.int().optional(),
1123
+ "selectionListener": selectionListenerSchema.optional(),
1124
+ "readyOperations": z.int().optional(),
1125
+ "selectableChannel": selectableChannelSchema.optional(),
1126
+ "wakeupListener": wakeupListenerSchema.optional(),
1127
+ "readable": z.boolean().optional(),
1128
+ "writable": z.boolean().optional(),
1129
+ "connectable": z.boolean().optional(),
1130
+ "interestReady": z.boolean().optional()
1131
+ });
1132
+ const representationSchema = z.object({
1133
+ "characterSet": characterSetSchema.optional(),
1134
+ "encodings": z.array(encodingSchema).optional(),
1135
+ get "locationRef" () {
1136
+ return referenceSchema.optional();
1137
+ },
1138
+ "languages": z.array(languageSchema).optional(),
1139
+ "mediaType": mediaTypeSchema.optional(),
1140
+ "modificationDate": z.iso.datetime().optional(),
1141
+ "tag": tagSchema.optional(),
1142
+ "available": z.boolean().optional(),
1143
+ "digest": digestSchema.optional(),
1144
+ "disposition": dispositionSchema.optional(),
1145
+ "expirationDate": z.iso.datetime().optional(),
1146
+ "range": rangeSchema.optional(),
1147
+ "size": z.bigint().optional(),
1148
+ "empty": z.boolean().optional(),
1149
+ "channel": readableByteChannelSchema.optional(),
1150
+ "transient": z.boolean().optional(),
1151
+ "text": z.string().optional(),
1152
+ "reader": readerSchema.optional(),
1153
+ "availableSize": z.bigint().optional(),
1154
+ "registration": selectionRegistrationSchema.optional(),
1155
+ "stream": inputStreamSchema.optional(),
1156
+ "selectable": z.boolean().optional()
1157
+ });
1158
+ const uniformSchema = z.object({});
1159
+ const stackTraceElementSchema = z.object({
1160
+ "classLoaderName": z.string().optional(),
1161
+ "moduleName": z.string().optional(),
1162
+ "moduleVersion": z.string().optional(),
1163
+ "methodName": z.string().optional(),
1164
+ "fileName": z.string().optional(),
1165
+ "lineNumber": z.int().optional(),
1166
+ "className": z.string().optional(),
1167
+ "nativeMethod": z.boolean().optional()
1168
+ });
1169
+ const throwableSchema = z.object({
1170
+ get "cause" () {
1171
+ return throwableSchema.optional();
1172
+ },
1173
+ "stackTrace": z.array(stackTraceElementSchema).optional(),
1174
+ "message": z.string().optional(),
1175
+ "suppressed": z.array(throwableSchema).optional(),
1176
+ "localizedMessage": z.string().optional()
1177
+ });
1178
+ const statusSchema = z.object({
1179
+ "code": z.int().optional(),
1180
+ "description": z.string().optional(),
1181
+ "reasonPhrase": z.string().optional(),
1182
+ get "throwable" () {
1183
+ return throwableSchema.optional();
1184
+ },
1185
+ "uri": z.string().optional(),
1186
+ "error": z.boolean().optional(),
1187
+ "success": z.boolean().optional(),
1188
+ "globalError": z.boolean().optional(),
1189
+ "informational": z.boolean().optional(),
1190
+ "redirection": z.boolean().optional(),
1191
+ "recoverableError": z.boolean().optional(),
1192
+ "serverError": z.boolean().optional(),
1193
+ "connectorError": z.boolean().optional(),
1194
+ "clientError": z.boolean().optional()
1195
+ });
1196
+ const warningSchema = z.object({
1197
+ "agent": z.string().optional(),
1198
+ "date": z.iso.datetime().optional(),
1199
+ "status": statusSchema.optional(),
1200
+ "text": z.string().optional()
1201
+ });
1202
+ const requestSchema = z.object({
1203
+ "attributes": z.object({}).catchall(z.object({})).optional(),
1204
+ "cacheDirectives": z.array(cacheDirectiveSchema).optional(),
1205
+ "date": z.iso.datetime().optional(),
1206
+ "entity": representationSchema.optional(),
1207
+ "onError": uniformSchema.optional(),
1208
+ "onSent": uniformSchema.optional(),
1209
+ "recipientsInfo": z.array(recipientInfoSchema).optional(),
1210
+ "warnings": z.array(warningSchema).optional(),
1211
+ "accessControlRequestHeaders": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1212
+ message: "Array entries must be unique"
1213
+ }).optional(),
1214
+ "accessControlRequestMethod": methodSchema.optional(),
1215
+ "challengeResponse": challengeResponseSchema.optional(),
1216
+ "clientInfo": clientInfoSchema.optional(),
1217
+ "conditions": conditionsSchema.optional(),
1218
+ "cookies": z.array(cookieSchema).optional(),
1219
+ get "hostRef" () {
1220
+ return referenceSchema.optional();
1221
+ },
1222
+ "loggable": z.boolean().optional(),
1223
+ "maxForwards": z.int().optional(),
1224
+ "method": methodSchema.optional(),
1225
+ "onResponse": uniformSchema.optional(),
1226
+ "originalRef": referenceSchema.optional(),
1227
+ "protocol": protocolSchema.optional(),
1228
+ "proxyChallengeResponse": challengeResponseSchema.optional(),
1229
+ "ranges": z.array(rangeSchema).optional(),
1230
+ "referrerRef": referenceSchema.optional(),
1231
+ "resourceRef": referenceSchema.optional(),
1232
+ "rootRef": referenceSchema.optional(),
1233
+ "asynchronous": z.boolean().optional(),
1234
+ "entityAvailable": z.boolean().optional(),
1235
+ "expectingResponse": z.boolean().optional(),
1236
+ "synchronous": z.boolean().optional(),
1237
+ "confidential": z.boolean().optional(),
1238
+ "headers": z.array(headerSchema).optional(),
1239
+ "entityAsText": z.string().optional()
1240
+ });
1241
+ const reservationAccessTimesUpdateSchema = z.object({
1242
+ "checkInTime": z.int().optional().describe("Custom check in time in minutes from midnight"),
1243
+ "checkOutTime": z.int().optional().describe("Custom check out time in minutes from midnight")
1244
+ });
1245
+ const serverInfoSchema = z.object({
1246
+ "acceptingRanges": z.boolean().optional(),
1247
+ "address": z.string().optional(),
1248
+ "agent": z.string().optional(),
1249
+ "port": z.int().optional()
1250
+ });
1251
+ const responseSchema = z.object({
1252
+ "attributes": z.object({}).catchall(z.object({})).optional(),
1253
+ "cacheDirectives": z.array(cacheDirectiveSchema).optional(),
1254
+ "date": z.iso.datetime().optional(),
1255
+ "entity": representationSchema.optional(),
1256
+ "onError": uniformSchema.optional(),
1257
+ "onSent": uniformSchema.optional(),
1258
+ "recipientsInfo": z.array(recipientInfoSchema).optional(),
1259
+ "warnings": z.array(warningSchema).optional(),
1260
+ "accessControlAllowCredentials": z.boolean().optional(),
1261
+ "accessControlAllowHeaders": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1262
+ message: "Array entries must be unique"
1263
+ }).optional(),
1264
+ "accessControlAllowMethods": z.array(methodSchema).refine((items)=>new Set(items).size === items.length, {
1265
+ message: "Array entries must be unique"
1266
+ }).optional(),
1267
+ "accessControlAllowOrigin": z.string().optional(),
1268
+ "accessControlExposeHeaders": z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1269
+ message: "Array entries must be unique"
1270
+ }).optional(),
1271
+ "accessControlMaxAge": z.int().optional(),
1272
+ "age": z.int().optional(),
1273
+ "allowedMethods": z.array(methodSchema).refine((items)=>new Set(items).size === items.length, {
1274
+ message: "Array entries must be unique"
1275
+ }).optional(),
1276
+ "authenticationInfo": authenticationInfoSchema.optional(),
1277
+ "autoCommitting": z.boolean().optional(),
1278
+ "challengeRequests": z.array(challengeRequestSchema).optional(),
1279
+ "committed": z.boolean().optional(),
1280
+ "cookieSettings": z.array(cookieSettingSchema).optional(),
1281
+ "dimensions": z.array(z.enum([
1282
+ "AUTHORIZATION",
1283
+ "CHARACTER_SET",
1284
+ "CLIENT_ADDRESS",
1285
+ "CLIENT_AGENT",
1286
+ "UNSPECIFIED",
1287
+ "ENCODING",
1288
+ "LANGUAGE",
1289
+ "MEDIA_TYPE",
1290
+ "TIME",
1291
+ "ORIGIN"
1292
+ ])).refine((items)=>new Set(items).size === items.length, {
1293
+ message: "Array entries must be unique"
1294
+ }).optional(),
1295
+ get "locationRef" () {
1296
+ return referenceSchema.optional();
1297
+ },
1298
+ "proxyChallengeRequests": z.array(challengeRequestSchema).optional(),
1299
+ "request": requestSchema.optional(),
1300
+ "retryAfter": z.iso.datetime().optional(),
1301
+ "serverInfo": serverInfoSchema.optional(),
1302
+ "status": statusSchema.optional(),
1303
+ "final": z.boolean().optional(),
1304
+ "provisional": z.boolean().optional(),
1305
+ "confidential": z.boolean().optional(),
1306
+ "headers": z.array(headerSchema).optional(),
1307
+ "entityAvailable": z.boolean().optional(),
1308
+ "entityAsText": z.string().optional()
1309
+ });
1310
+ const shsSubscriptionSchema = z.object({
1311
+ "type": z.enum([
1312
+ "B2C",
1313
+ "B2B"
1314
+ ]).optional(),
1315
+ "state": z.enum([
1316
+ "ACTIVE",
1317
+ "INACTIVE",
1318
+ "CANCELLED",
1319
+ "EXPIRED",
1320
+ "ON_HOLD",
1321
+ "PENDING",
1322
+ "PENDING_CANCEL"
1323
+ ]).optional(),
1324
+ "shsSubscriptionType": z.enum([
1325
+ "BUSINESS",
1326
+ "STANDARD",
1327
+ "BUSINESS_PLUS",
1328
+ "API_ONLY"
1329
+ ]).optional(),
1330
+ "updateDate": z.iso.datetime().optional(),
1331
+ "creationDate": z.iso.datetime().optional(),
1332
+ "expirationDate": z.iso.datetime().optional(),
1333
+ "isInGracePeriod": z.boolean().optional(),
1334
+ "isGracePeriodWarningDismissed": z.boolean().optional(),
1335
+ "gracePeriodWarningEmailSent": z.boolean().optional(),
1336
+ "contractId": z.uuid().optional()
1337
+ });
1338
+ const smartlockConfigSchema = z.object({
1339
+ "name": z.string().describe("The name of the smartlock for new users"),
1340
+ "latitude": z.number().describe("The latitude of the smartlock position"),
1341
+ "longitude": z.number().describe("The longitude of the smartlock position"),
1342
+ "capabilities": z.int().optional().describe("The capabilities indicate whether door opening via app is possible, RTO is possible or both: 0 .. only door opening possible, 1 .. both possible, 2 .. only RTO possible (only for type=2)"),
1343
+ "autoUnlatch": z.boolean().optional().describe("True if the door should be unlatched on unlocking (knob) (only for type=1 and type=3)"),
1344
+ "liftUpHandle": z.boolean().optional().describe("True if the door has a lift up handle, which is required to be lifted up to lock the door"),
1345
+ "pairingEnabled": z.boolean().optional().describe("True if the pairing is allowed via the smartlock button"),
1346
+ "buttonEnabled": z.boolean().optional().describe("True if the button on the smartlock is enabled"),
1347
+ "ledEnabled": z.boolean().optional().describe("True if the LED on the smartlock is enabled"),
1348
+ "ledBrightness": z.int().optional().describe("The brightness of the LED: 0 .. off, 5 .. max (only for type=1 and type=3)"),
1349
+ "timezoneOffset": z.int().describe("[deprecated] The timezone offset (in minutes)"),
1350
+ "daylightSavingMode": z.int().optional().describe("[deprecated] The daylight saving mode: 0 .. off, 1 .. european"),
1351
+ "fobPaired": z.boolean().optional().describe("True if a fob is paired with the smartlock"),
1352
+ "fobAction1": z.int().optional().describe("The fob action if button is pressed once: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring"),
1353
+ "fobAction2": z.int().optional().describe("The fob action if button is pressed twice: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring"),
1354
+ "fobAction3": z.int().optional().describe("The fob action if button is pressed 3 times: type=0/3/4: 0 .. none, 1 .. unlock, 2 .. lock, 3 .. lock 'n' go, 4 .. intelligent (lock/unlocked based on the current state); type=2: 0 .. none, 1 .. toggle ring to open, 2 .. activate ring to open, 3 .. deactivate ring to open, 7 .. open (electric strike actuation), 8 .. ring"),
1355
+ "singleLock": z.boolean().describe("True if the smartlock should only lock once (instead of twice) (only for type=1)"),
1356
+ "operatingMode": z.int().optional().describe("The operating mode of the opener (only for type=2): 0x00 .. generic door opener, 0x01 .. analogue intercom, 0x02 .. digital intercom, 0x03 .. digital intercom Siedle, 0x04 .. digital intercom TCS, 0x05 .. digital intercom Bticino, 0x06 .. analog intercom Siedle HTS, 0x07 .. digital intercom STR, 0x08 .. digital intercom Ritto, 0x09 .. digital intercom Fermax, 0x0A .. digital intercom Comelit, 0x0B .. digital intercom Urmet BiBus, 0x0C .. digital intercom Urmet 2Voice, 0x0D .. digital intercom Golmar, 0x0E .. digital intercom SKS, 0x0F .. digital intercom Spare"),
1357
+ "advertisingMode": z.int().describe("The advertising mode (battery saving): 0 .. automatic, 1 .. normal, 2 .. slow, 3 .. slowest"),
1358
+ "keypadPaired": z.boolean().optional().describe("True if a keypad is paired with the smartlock"),
1359
+ "keypad2Paired": z.boolean().optional().describe("True if a keypad 2 is paired with the smartlock"),
1360
+ "homekitState": z.int().optional().describe("The homekit state: 0 .. unavailable, 1 .. disabled, 2 .. enabled, 3 .. enabled & paired"),
1361
+ "matterState": z.int().optional().describe("The matter state: 0 .. not available, 1 .. disabled and no certificate available, 2 .. disabled, 3 .. enabled, 4 .. enabled & paired"),
1362
+ "timezoneId": z.int().describe("The timezone id (check https://developer.nuki.io for ids)"),
1363
+ "deviceType": z.int().optional().describe("The device type of a Nuki device"),
1364
+ "wifiEnabled": z.boolean().optional().describe("Flag that indicates if the devices internal WIFI module can be used"),
1365
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
1366
+ "productVariant": z.int().optional().describe("The product variant for Smartlock 5: 1 .. Go, 2 .. Pro, 3 .. Ultra")
1367
+ });
1368
+ const smartlockAdvancedConfigSchema = z.object({
1369
+ "lngTimeout": z.int().optional().describe("Timeout in seconds for lock ‘n’ go"),
1370
+ "singleButtonPressAction": z.int().optional().describe("The desired action, if the button is pressed once: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status"),
1371
+ "doubleButtonPressAction": z.int().optional().describe("The desired action, if the button is pressed twice: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status"),
1372
+ "automaticBatteryTypeDetection": z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1373
+ "unlatchDuration": z.int().optional().describe("Duration in seconds for holding the latch in unlatched position"),
1374
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
1375
+ "totalDegrees": z.int().describe("The absolute total position in degrees that has been reached during calibration"),
1376
+ "singleLockedPositionOffsetDegrees": z.int().describe("Offset that alters the single locked position"),
1377
+ "unlockedToLockedTransitionOffsetDegrees": z.int().optional().describe("Offset that alters the position where transition from unlocked to locked happens"),
1378
+ "unlockedPositionOffsetDegrees": z.int().describe("Offset that alters the unlocked position"),
1379
+ "lockedPositionOffsetDegrees": z.int().describe("Offset that alters the locked position"),
1380
+ "detachedCylinder": z.boolean().optional().describe("Flag that indicates that the inner side of the used cylinder is detached from the outer side"),
1381
+ "batteryType": z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium"),
1382
+ "autoLock": z.boolean().optional().describe("New separate flag with FW >= 2.7.8/1.9.1: The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time"),
1383
+ "autoLockTimeout": z.int().optional().describe("Seconds until the smart lock relocks itself after it has been unlocked. FW < 2.7.8/1.9.1: No auto relock if value is 0, FW >= 2.7.8/1.9.1: has to be >=2 (defaults to 2 for values <2 if autoLock is set to true)"),
1384
+ "autoUpdateEnabled": z.boolean().optional().describe("Flag that indicates if available firmware updates for the deviceshould be installed automatically"),
1385
+ "motorSpeed": z.int().optional().describe("Field used for setting the motor speed. 0x00 ... standard, 0x01 ... fast, 0x02 ... slow"),
1386
+ "enableSlowSpeedDuringNightmode": z.boolean().optional().describe("Flag indicating if the slow speed shall be applied during NightMode")
1387
+ });
1388
+ const smartlockOpenerAdvancedConfigSchema = z.object({
1389
+ "intercomId": z.int().describe("The database ID of the connected intercom"),
1390
+ "busModeSwitch": z.int().describe("Method to switch between data and analogue mode"),
1391
+ "shortCircuitDuration": z.int().describe("Duration of the short circuit for BUS mode switching in ms"),
1392
+ "electricStrikeDelay": z.int().describe("Delay of electric strike activation in ms after lock action 3 'electric strike actuation'"),
1393
+ "randomElectricStrikeDelay": z.boolean().describe("Random electricStrikeDelay (range 3000 - 7000 ms) in order to simulate a person inside actuating the electric strike"),
1394
+ "electricStrikeDuration": z.int().describe("Duration in ms of electric strike actuation lock action 3 'electric strike actuation'"),
1395
+ "disableRtoAfterRing": z.boolean().describe("Flag to disable RTO after ring"),
1396
+ "rtoTimeout": z.int().describe("After this period of time in minutes, RTO gets deactivated automatically"),
1397
+ "doorbellSuppression": z.int().describe("The doorbell supression bitmask: first bit (least significant) .. whenever the doorbell rings and CM and RTO are inactive, second bit .. RTO is active, third bit .. CM is active"),
1398
+ "doorbellSuppressionDuration": z.int().describe("Duration in ms of doorbell suppression (only in Operating mode 2 'digital Intercom')"),
1399
+ "soundRing": z.int().describe("The sound for ring: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1400
+ "soundOpen": z.int().describe("The sound for open: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1401
+ "soundRto": z.int().describe("The sound for RTO: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1402
+ "soundCm": z.int().describe("The sound for CM: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1403
+ "soundConfirmation": z.int().describe("The sound confirmation: 0 .. no sound, 1 .. sound"),
1404
+ "soundLevel": z.int().describe("The sound level"),
1405
+ "singleButtonPressAction": z.int().describe("The desired action, if the button is pressed once: 0 .. no action, 1 .. toggle RTO, 2 .. activate RTO, 3 .. deactivate RTO, 4 .. toggle CM, 5 .. activate CM, 6 .. deactivate CM, 7 .. open"),
1406
+ "doubleButtonPressAction": z.int().describe("The desired action, if the button is pressed twice: 0 .. no action, 1 .. toggle RTO, 2 .. activate RTO, 3 .. deactivate RTO, 4 .. toggle CM, 5 .. activate CM, 6 .. deactivate CM, 7 .. open"),
1407
+ "batteryType": z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed"),
1408
+ "automaticBatteryTypeDetection": z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1409
+ "autoUpdateEnabled": z.boolean().optional().describe("Flag that indicates if available firmware updates for the deviceshould be installed automatically"),
1410
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation")
1411
+ });
1412
+ const smartlockSmartdoorAdvancedConfigSchema = z.object({
1413
+ "lngTimeout": z.int().optional().describe("Timeout in seconds for lock ‘n’ go"),
1414
+ "singleButtonPressAction": z.int().optional().describe("The desired action, if the button is pressed once: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status"),
1415
+ "doubleButtonPressAction": z.int().optional().describe("The desired action, if the button is pressed twice: 0 .. no action, 1 .. intelligent, 2 .. unlock, 3 .. lock, 4 .. unlatch, 5 .. lock 'n' go, 6 .. show status"),
1416
+ "automaticBatteryTypeDetection": z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1417
+ "unlatchDuration": z.int().optional().describe("Duration in seconds for holding the latch in unlatched position"),
1418
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
1419
+ "buzzerVolume": z.int().optional().describe("The volume of the buzzer: 0 .. off, 1 .. low, 2 .. normal"),
1420
+ "supportedBatteryTypes": z.array(z.int()).refine((items)=>new Set(items).size === items.length, {
1421
+ message: "Array entries must be unique"
1422
+ }).optional().describe("Set of supported battery types: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 254 .. automatic, 255 .. unknown"),
1423
+ "batteryType": z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 255 .. unknown"),
1424
+ "autoLockTimeout": z.int().optional().describe("Seconds until the smart lock relocks itself after it has been unlocked. No auto relock if value is 0"),
1425
+ "autoLock": z.boolean().describe("The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time")
1426
+ });
1427
+ const smartlockStateSchema = z.object({
1428
+ "mode": z.int().describe("The smartlock mode: 0 .. uninitialized, 1 .. pairing, 2 .. door (default), 3 .. continuous (type=2 only), 4 .. maintenance, 5 .. off-door charging"),
1429
+ "state": z.int().describe("The smartlock state: type=0/3/4: 0 .. uncalibrated, 1 .. locked, 2 .. unlocking, 3 .. unlocked, 4 .. locking, 5 .. unlatched, 6 .. unlocked (lock 'n' go), 7 .. unlatching, 224 .. Error wrong entry code, 225 .. Error wrong Fingerprint, 254 .. motor blocked, 255 .. undefined; type=2: 0 .. untrained, 1 .. online, 3 .. ring to open active, 5 .. open, 7 .. opening, 253 .. boot run, 255 .. undefined"),
1430
+ "trigger": z.int().describe(" The state trigger: 0 .. system, 1 .. manual, 2 .. button, 3 .. automatic, 4 .. web (type=1 only), 5 .. app (type=1 only), 6 .. continuous mode (type=2 only), 7 .. accessory (type=3 only)"),
1431
+ "lastAction": z.int().describe("The action: type=0/3/4: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock 'n' go, 5 .. lock 'n' go with unlatch; type=1: 1 .. unlock; type=2: 1 .. activate ring to open, 2 .. deactivate ring to open, 3 .. open (electric strike actuation)"),
1432
+ "batteryCritical": z.boolean().describe("True if the battery state of the device is critical"),
1433
+ "batteryCharging": z.boolean().optional().describe("True if a Nuki battery pack in a Smart Lock is currently charging"),
1434
+ "batteryCharge": z.int().optional().describe("Remaining capacity of a Nuki battery pack in %"),
1435
+ "keypadBatteryCritical": z.boolean().optional().describe("True if the battery of a paired Keypad is critical (only available for supported devices)"),
1436
+ "doorsensorBatteryCritical": z.boolean().optional().describe("True if the battery of a paired doorsensor is critical (only available for supported devices)"),
1437
+ "doorState": z.int().describe("The door state: 0 .. unavailable/not paired, 1 .. deactivated, 2 .. door closed, 3 .. door opened, 4 .. door state unknown, 5 .. calibrating, 16 .. uncalibrated, 240 .. removed, 255 .. unknown"),
1438
+ "ringToOpenTimer": z.int().describe("[deprecated] Remaining ring to open time; 0 if ring to open is not active (type=2 only)"),
1439
+ "ringToOpenEnd": z.iso.datetime().optional().describe("End date of ring to open timeout; null if ring to open is not active (type=2 only)"),
1440
+ "nightMode": z.boolean().describe("True if night mode currently active"),
1441
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation")
1442
+ });
1443
+ const smartlockSchema = z.object({
1444
+ "smartlockId": z.bigint().describe("The smartlock id"),
1445
+ "accountId": z.int().describe("The account id"),
1446
+ "type": z.int().describe("The type: 0 .. Smartlock 1/2, 1 .. Box, 2 .. Opener, 3 .. Smartdoor, 4 .. Smartlock 3/4, 5 .. Smartlock 5"),
1447
+ "lmType": z.int().optional().describe("The lock mechanism used in the smart door lock: 1 .. MyEVO, 2 .. KFV Genius (only for type = 3)"),
1448
+ "authId": z.int().describe("The authorization id"),
1449
+ "name": z.string().describe("The name of the smartlock"),
1450
+ "favorite": z.boolean().describe("The favorite flag"),
1451
+ "config": smartlockConfigSchema.optional(),
1452
+ "advancedConfig": smartlockAdvancedConfigSchema.optional(),
1453
+ "openerAdvancedConfig": smartlockOpenerAdvancedConfigSchema.optional(),
1454
+ "smartdoorAdvancedConfig": smartlockSmartdoorAdvancedConfigSchema.optional(),
1455
+ "webConfig": smartlockWebConfigSchema.optional(),
1456
+ "state": smartlockStateSchema.optional(),
1457
+ "firmwareVersion": z.int().optional().describe("The firmware version"),
1458
+ "hardwareVersion": z.int().optional().describe("The hardware version"),
1459
+ "operationId": z.string().optional().describe("The operation id - if set it's locked for another operation"),
1460
+ "serverState": z.int().describe("The server state: 0 .. ok, 1 .. unregistered, 2 .. auth uuid invalid, 3 .. auth invalid, 4 .. offline"),
1461
+ "adminPinState": z.int().describe("The admin pin state: 0 .. ok, 1 .. missing, 2 .. invalid"),
1462
+ "virtualDevice": z.boolean().optional().describe("The flag indicating a virtual Smart Lock"),
1463
+ "creationDate": z.iso.datetime().optional().describe("The creation date"),
1464
+ "updateDate": z.iso.datetime().optional().describe("The update date"),
1465
+ "error": z.string().optional().describe("In case of any error, it contains the error message"),
1466
+ "previousSubscriptions": z.array(shsSubscriptionSchema).optional().describe("Previous Subscriptions"),
1467
+ "currentSubscription": shsSubscriptionSchema.optional(),
1468
+ "region": z.int().optional().describe("The region"),
1469
+ "mountingVariant": z.int().optional().describe("The mounting variant"),
1470
+ "opener": z.boolean().optional(),
1471
+ "box": z.boolean().optional(),
1472
+ "smartDoor": z.boolean().optional(),
1473
+ "keyturner": z.boolean().optional()
1474
+ });
1475
+ const smartlockActionSchema = z.object({
1476
+ "action": z.int().describe("The action: type=0/3/4: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock 'n' go, 5 .. lock 'n' go with unlatch; type=1: 1 .. unlock; type=2: 1 activate ring to open, 2 .. deactivate ring to open, 3 .. open (electric strike actuation), 6 ... activate continuous mode, 7 ... deactivate continuous mode"),
1477
+ "option": z.int().optional().describe("The option mask: 0 .. none, 2 .. force, 4 .. full lock")
1478
+ });
1479
+ const smartlockAdminPinUpdateSchema = z.object({
1480
+ "adminPin": z.int().describe("The admin pin")
1481
+ });
1482
+ const smartlockAuthSchema = z.object({
1483
+ "id": z.string().describe("The unique id for the smartlock authorization"),
1484
+ "smartlockId": z.bigint().describe("The smartlock id"),
1485
+ "accountUserId": z.int().optional().describe("The id of the linked account user"),
1486
+ "authId": z.int().optional().describe("The smartlock authorization id"),
1487
+ "code": z.int().optional().describe("The keypad code (only for type keypad)"),
1488
+ "fingerprints": z.object({}).catchall(z.string()).optional(),
1489
+ "type": z.int().describe("The type of the authorization: 0 .. app, 1 .. bridge, 2 .. fob, 3 .. keypad, 13 .. keypad code, 14 .. z-key, 15 .. virtual"),
1490
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1491
+ "enabled": z.boolean().describe("True if the auth is enabled"),
1492
+ "remoteAllowed": z.boolean().describe("True if the auth has remote access"),
1493
+ "lockCount": z.int().describe("The lock count"),
1494
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1495
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1496
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1497
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1498
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1499
+ "lastActiveDate": z.iso.datetime().optional().describe("The last active date"),
1500
+ "creationDate": z.iso.datetime().optional().describe("The creation date"),
1501
+ "updateDate": z.iso.datetime().optional().describe("The update date"),
1502
+ "operationId": objectIdSchema.optional(),
1503
+ "error": z.string().optional().describe("In case of any error, it contains the error message"),
1504
+ "appId": z.int().optional().describe("The ID of the Nuki App"),
1505
+ "authTypeAsString": z.string().optional()
1506
+ });
1507
+ const smartlockAuthCreateSchema = z.object({
1508
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1509
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1510
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1511
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1512
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1513
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1514
+ "accountUserId": z.int().optional().describe("The id of the linked account user (required if type is NOT 13 .. keypad)"),
1515
+ "remoteAllowed": z.boolean().describe("True if the auth has remote access"),
1516
+ "smartActionsEnabled": z.boolean().optional().describe("The smart actions enabled flag"),
1517
+ "type": z.int().optional().describe("The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad"),
1518
+ "code": z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1519
+ });
1520
+ const smartlockAuthMultiUpdateSchema = z.object({
1521
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1522
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1523
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1524
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1525
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1526
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1527
+ "accountUserId": z.int().optional().describe("The id of the linked account user"),
1528
+ "enabled": z.boolean().optional().describe("True if the auth is enabled"),
1529
+ "remoteAllowed": z.boolean().optional().describe("True if the auth has remote access"),
1530
+ "code": z.int().optional().describe("The code of the keypad authorization (only for keypad)"),
1531
+ "id": z.string().describe("The unique id for the smartlock authorization")
1532
+ });
1533
+ const smartlockAuthUpdateSchema = z.object({
1534
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1535
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1536
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1537
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1538
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1539
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1540
+ "accountUserId": z.int().optional().describe("The id of the linked account user"),
1541
+ "enabled": z.boolean().optional().describe("True if the auth is enabled"),
1542
+ "remoteAllowed": z.boolean().optional().describe("True if the auth has remote access"),
1543
+ "code": z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1544
+ });
1545
+ const smartlockAuthWithSharedKeyCreateSchema = z.object({
1546
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1547
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1548
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1549
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1550
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1551
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1552
+ "accountUserId": z.int().optional().describe("The id of the linked account user")
1553
+ });
1554
+ const smartlockLogOpenerLogSchema = z.object({
1555
+ "activeCm": z.boolean().describe("Flag indicating if continuous mode was active"),
1556
+ "activeRto": z.boolean().describe("Flag indicating if ring to open was active"),
1557
+ "source": z.int().describe("The cause of the activation of ring to open or continuous mode: 0 .. doorbell, 1 .. timecontrol, 2 .. app, 3 .. button, 4 .. fob, 5 .. bridge, 6 .. keypad"),
1558
+ "flagGeoFence": z.boolean().describe("Flag indicating a geo fence induced action"),
1559
+ "flagForce": z.boolean().describe("Flag indicating a force induced action"),
1560
+ "flagDoorbellSuppression": z.boolean().describe("Flag indicating if doorbell suppression was active")
1561
+ });
1562
+ const smartlockLogSchema = z.object({
1563
+ "id": z.string().describe("The unique id for the smartlock log"),
1564
+ "smartlockId": z.bigint().describe("The smartlock id"),
1565
+ "deviceType": z.int().describe("The device type: 0 .. Smartlock 1/2 + Box, 2 .. Opener, 3 .. Smartdoor, 4 .. Smartlock 3/4, 5 .. Smartlock 5"),
1566
+ "accountUserId": z.int().optional().describe("The id of the linked account user"),
1567
+ "authId": z.string().optional().describe("The id of the linked smartlock auth"),
1568
+ "name": z.string().describe("The name"),
1569
+ "action": z.int().describe("The action: 1 .. unlock, 2 .. lock, 3 .. unlatch, 4 .. lock'n'go, 5 .. lock'n'go with unlatch, 11 .. Restore reset to default setting, 208 .. door warning ajar, 209 door warning status mismatch, 224 .. doorbell recognition (only Opener), 240 .. door opened, 241 .. door closed, 242 .. door sensor jammed, 243 .. firmware update, 250 .. door log enabled, 251 .. door log disabled, 252 .. initialization, 253 .. calibration, 254 .. log enabled, 255 .. log disabled"),
1570
+ "trigger": z.int().describe("The trigger: 0 .. system, 1 .. manual, 2 .. button, 3 .. automatic, 4 .. web, 5 .. app, 6 .. auto lock, 7 .. accessory, 253 .. keypad error, 254 .. nuki mode, 255 .. keypad"),
1571
+ "state": z.int().describe("The completion state: 0 .. Success, 1 .. Motor blocked, 2 .. Canceled, 3 .. Too recent, 4 .. Busy, 5 .. Low motor voltage, 6 .. Clutch failure, 7 .. Motor power failure, 8 .. Incomplete, 9 .. Rejected, 10 .. Rejected night mode, 224 .. Invalid Code, 225 .. Invalid Fingerprint, 226 .. Invalid NFC Tag, 254 .. Other error, 255 .. Unknown error\nFor source=3 and trigger=253 the following states are used: 0 .. Access document revoked, 1 .. Send NFC failed, 2 .. Control flow, 3 .. Command time expired, 7 .. Invalid data content, 37 .. Invalid access rights, 255 .. Unknown"),
1572
+ "autoUnlock": z.boolean().describe("True if it was an auto unlock"),
1573
+ "date": z.iso.datetime().describe("The log date"),
1574
+ "openerLog": smartlockLogOpenerLogSchema.optional(),
1575
+ "ajarTimeout": z.int().optional().describe("The door sensor warning ajar timeout (in minutes, only for action = 208)"),
1576
+ "source": z.int().optional().describe("The source of action: 1 .. Keypad code, 2 .. Fingerprint, 3 .. Tap to Unlock, 0 .. Default"),
1577
+ "error": z.string().optional().describe("In case of any error, it contains the error message")
1578
+ });
1579
+ const smartlockUpdateSchema = z.object({
1580
+ "name": z.string().optional().describe("The new name of the smartlock"),
1581
+ "favorite": z.boolean().optional().describe("True if the smartlock is favorite")
1582
+ });
1583
+ const smartlocksAuthAdvancedCreateSchema = z.object({
1584
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1585
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1586
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1587
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1588
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1589
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1590
+ "accountUserId": z.int().describe("The id of the linked account user"),
1591
+ "smartlockIds": z.array(z.bigint()).describe("The list of smartlock ids"),
1592
+ "remoteAllowed": z.boolean().describe("True if the auth has remote access"),
1593
+ "smartActionsEnabled": z.boolean().optional().describe("The smart actions enabled flag")
1594
+ });
1595
+ const smartlocksAuthCreateSchema = z.object({
1596
+ "name": z.string().describe("The name of the authorization (max 32 chars)"),
1597
+ "allowedFromDate": z.iso.datetime().optional().describe("The allowed from date"),
1598
+ "allowedUntilDate": z.iso.datetime().optional().describe("The allowed until date"),
1599
+ "allowedWeekDays": z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1600
+ "allowedFromTime": z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1601
+ "allowedUntilTime": z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1602
+ "accountUserId": z.int().optional().describe("The id of the linked account user (required if type is NOT 13 .. keypad)"),
1603
+ "smartlockIds": z.array(z.bigint()).optional().describe("The list of smartlock ids"),
1604
+ "remoteAllowed": z.boolean().describe("True if the auth has remote access"),
1605
+ "smartActionsEnabled": z.boolean().optional().describe("The smart actions enabled flag"),
1606
+ "type": z.int().optional().describe("The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad"),
1607
+ "code": z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1608
+ });
1609
+ const variantSchema = z.object({
1610
+ "characterSet": characterSetSchema.optional(),
1611
+ "encodings": z.array(encodingSchema).optional(),
1612
+ get "locationRef" () {
1613
+ return referenceSchema.optional();
1614
+ },
1615
+ "languages": z.array(languageSchema).optional(),
1616
+ "mediaType": mediaTypeSchema.optional()
1617
+ });
1618
+ const webhookMessageSchema = z.object({
1619
+ "headers": z.object({}).catchall(z.string()).describe("Http Headers as key value pairs"),
1620
+ "body": z.object({}).catchall(z.object({})).optional().describe("Http Body as Json"),
1621
+ "timestamp": z.iso.datetime().optional().describe("The timestamp when the message was created"),
1622
+ "path": z.string().describe("Path of the message")
1623
+ });
1624
+ const webhookLogSchema = z.object({
1625
+ "id": z.string().describe("The WebhookLog id"),
1626
+ "requestId": z.string().optional().describe("Request id, set when api-triggered request otherwise empty"),
1627
+ "succeeded": z.boolean().optional().describe("If the webhooks sends the data successfully"),
1628
+ "responseStatus": z.int().optional().describe("Http Status code of the webhook response"),
1629
+ "duration": z.bigint().optional().describe("The duration of the webhook in milli seconds"),
1630
+ "accountId": z.int().describe("The account id"),
1631
+ "request": webhookMessageSchema.optional(),
1632
+ "response": webhookMessageSchema.optional(),
1633
+ "apiKeyId": z.int().describe("Used Api Key for the webhook"),
1634
+ "updated": z.iso.datetime().describe("last updated time"),
1635
+ "created": z.iso.datetime().describe("Creation Date")
1636
+ });
1637
+ const getAccountsResourceStatus200Schema = z.unknown();
1638
+ const getAccountsResourceStatus401Schema = z.unknown();
1639
+ const getAccountsResourceResponseSchema = z.union([
1640
+ getAccountsResourceStatus200Schema,
1641
+ getAccountsResourceStatus401Schema
1642
+ ]);
1643
+ const postAccountsResourceQueryDeleteApiTokensSchema = z.boolean().optional().default(true).describe("If false existing API tokens are not deleted if the password is changed");
1644
+ const postAccountsResourceStatus204Schema = z.unknown();
1645
+ const postAccountsResourceStatus400Schema = z.unknown();
1646
+ const postAccountsResourceStatus401Schema = z.unknown();
1647
+ const postAccountsResourceStatus409Schema = z.unknown();
1648
+ const postAccountsResourceResponseSchema = z.union([
1649
+ postAccountsResourceStatus204Schema,
1650
+ postAccountsResourceStatus400Schema,
1651
+ postAccountsResourceStatus401Schema,
1652
+ postAccountsResourceStatus409Schema
1653
+ ]);
1654
+ const postAccountsResourceDataSchema = accountUpdateSchema.describe("Account update representation");
1655
+ const deleteAccountsResourceStatus204Schema = z.unknown();
1656
+ const deleteAccountsResourceStatus401Schema = z.unknown();
1657
+ const deleteAccountsResourceResponseSchema = z.union([
1658
+ deleteAccountsResourceStatus204Schema,
1659
+ deleteAccountsResourceStatus401Schema
1660
+ ]);
1661
+ const postAccountEmailChangeResourceStatus204Schema = z.unknown();
1662
+ const postAccountEmailChangeResourceStatus400Schema = z.unknown();
1663
+ const postAccountEmailChangeResourceStatus401Schema = z.unknown();
1664
+ const postAccountEmailChangeResourceStatus409Schema = z.unknown();
1665
+ const postAccountEmailChangeResourceResponseSchema = z.union([
1666
+ postAccountEmailChangeResourceStatus204Schema,
1667
+ postAccountEmailChangeResourceStatus400Schema,
1668
+ postAccountEmailChangeResourceStatus401Schema,
1669
+ postAccountEmailChangeResourceStatus409Schema
1670
+ ]);
1671
+ const postAccountEmailChangeResourceDataSchema = accountEmailChangeSchema.describe("Account email change representation");
1672
+ const postAccountEmailVerifyResourceStatus204Schema = z.unknown();
1673
+ const postAccountEmailVerifyResourceStatus400Schema = z.unknown();
1674
+ const postAccountEmailVerifyResourceStatus401Schema = z.unknown();
1675
+ const postAccountEmailVerifyResourceStatus409Schema = z.unknown();
1676
+ const postAccountEmailVerifyResourceResponseSchema = z.union([
1677
+ postAccountEmailVerifyResourceStatus204Schema,
1678
+ postAccountEmailVerifyResourceStatus400Schema,
1679
+ postAccountEmailVerifyResourceStatus401Schema,
1680
+ postAccountEmailVerifyResourceStatus409Schema
1681
+ ]);
1682
+ const getAccountIntegrationsResourceStatus200Schema = z.unknown();
1683
+ const getAccountIntegrationsResourceStatus401Schema = z.unknown();
1684
+ const getAccountIntegrationsResourceResponseSchema = z.union([
1685
+ getAccountIntegrationsResourceStatus200Schema,
1686
+ getAccountIntegrationsResourceStatus401Schema
1687
+ ]);
1688
+ const deleteAccountIntegrationsResourceQueryApiKeyIdSchema = z.int().optional().describe("The api key id to delete (this also removes all tokens if no specific tokenId is given)");
1689
+ const deleteAccountIntegrationsResourceQueryTokenIdSchema = z.int().optional().describe("The token id if a specific token has to be deleted but not the full api key");
1690
+ const deleteAccountIntegrationsResourceStatus204Schema = z.unknown();
1691
+ const deleteAccountIntegrationsResourceStatus401Schema = z.unknown();
1692
+ const deleteAccountIntegrationsResourceResponseSchema = z.union([
1693
+ deleteAccountIntegrationsResourceStatus204Schema,
1694
+ deleteAccountIntegrationsResourceStatus401Schema
1695
+ ]);
1696
+ const postAccountOtpResourceStatus204Schema = z.unknown();
1697
+ const postAccountOtpResourceStatus400Schema = z.unknown();
1698
+ const postAccountOtpResourceStatus401Schema = z.unknown();
1699
+ const postAccountOtpResourceStatus429Schema = z.unknown();
1700
+ const postAccountOtpResourceResponseSchema = z.union([
1701
+ postAccountOtpResourceStatus204Schema,
1702
+ postAccountOtpResourceStatus400Schema,
1703
+ postAccountOtpResourceStatus401Schema,
1704
+ postAccountOtpResourceStatus429Schema
1705
+ ]);
1706
+ const postAccountOtpResourceDataSchema = accountOtpEnableSchema.describe("Account one time password enable representation");
1707
+ const putAccountOtpResourceStatus200Schema = z.unknown();
1708
+ const putAccountOtpResourceStatus405Schema = z.unknown();
1709
+ const putAccountOtpResourceResponseSchema = z.union([
1710
+ putAccountOtpResourceStatus200Schema,
1711
+ putAccountOtpResourceStatus405Schema
1712
+ ]);
1713
+ const deleteAccountOtpResourceStatus204Schema = z.unknown();
1714
+ const deleteAccountOtpResourceStatus401Schema = z.unknown();
1715
+ const deleteAccountOtpResourceResponseSchema = z.union([
1716
+ deleteAccountOtpResourceStatus204Schema,
1717
+ deleteAccountOtpResourceStatus401Schema
1718
+ ]);
1719
+ const postAccountPasswordResetResourceStatus204Schema = z.unknown();
1720
+ const postAccountPasswordResetResourceStatus401Schema = z.unknown();
1721
+ const postAccountPasswordResetResourceResponseSchema = z.union([
1722
+ postAccountPasswordResetResourceStatus204Schema,
1723
+ postAccountPasswordResetResourceStatus401Schema
1724
+ ]);
1725
+ const postAccountPasswordResetResourceDataSchema = accountPasswordResetSchema.describe("Account password reset representation");
1726
+ const getAccountSettingResourceStatus200Schema = z.unknown();
1727
+ const getAccountSettingResourceStatus401Schema = z.unknown();
1728
+ const getAccountSettingResourceStatus403Schema = z.unknown();
1729
+ const getAccountSettingResourceStatus404Schema = z.unknown();
1730
+ const getAccountSettingResourceResponseSchema = z.union([
1731
+ getAccountSettingResourceStatus200Schema,
1732
+ getAccountSettingResourceStatus401Schema,
1733
+ getAccountSettingResourceStatus403Schema,
1734
+ getAccountSettingResourceStatus404Schema
1735
+ ]);
1736
+ const putAccountSettingResourceStatus200Schema = z.unknown();
1737
+ const putAccountSettingResourceStatus400Schema = z.unknown();
1738
+ const putAccountSettingResourceStatus401Schema = z.unknown();
1739
+ const putAccountSettingResourceResponseSchema = z.union([
1740
+ putAccountSettingResourceStatus200Schema,
1741
+ putAccountSettingResourceStatus400Schema,
1742
+ putAccountSettingResourceStatus401Schema
1743
+ ]);
1744
+ const putAccountSettingResourceDataSchema = accountSettingSchema.describe("Account setting representation");
1745
+ const deleteAccountSettingResourceStatus204Schema = z.unknown();
1746
+ const deleteAccountSettingResourceStatus401Schema = z.unknown();
1747
+ const deleteAccountSettingResourceStatus403Schema = z.unknown();
1748
+ const deleteAccountSettingResourceResponseSchema = z.union([
1749
+ deleteAccountSettingResourceStatus204Schema,
1750
+ deleteAccountSettingResourceStatus401Schema,
1751
+ deleteAccountSettingResourceStatus403Schema
1752
+ ]);
1753
+ const getAccountSubsResourceQueryEmailSchema = z.string().optional().describe("The optional email (regex)");
1754
+ const getAccountSubsResourceStatus200Schema = z.unknown();
1755
+ const getAccountSubsResourceStatus401Schema = z.unknown();
1756
+ const getAccountSubsResourceResponseSchema = z.union([
1757
+ getAccountSubsResourceStatus200Schema,
1758
+ getAccountSubsResourceStatus401Schema
1759
+ ]);
1760
+ const putAccountSubsResourceStatus200Schema = z.unknown();
1761
+ const putAccountSubsResourceStatus400Schema = z.unknown();
1762
+ const putAccountSubsResourceResponseSchema = z.union([
1763
+ putAccountSubsResourceStatus200Schema,
1764
+ putAccountSubsResourceStatus400Schema
1765
+ ]);
1766
+ const putAccountSubsResourceDataSchema = accountSubCreateSchema.describe("Account sub create representation");
1767
+ const getAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1768
+ const getAccountSubResourceStatus200Schema = z.unknown();
1769
+ const getAccountSubResourceStatus401Schema = z.unknown();
1770
+ const getAccountSubResourceResponseSchema = z.union([
1771
+ getAccountSubResourceStatus200Schema,
1772
+ getAccountSubResourceStatus401Schema
1773
+ ]);
1774
+ const postAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1775
+ const postAccountSubResourceStatus204Schema = z.unknown();
1776
+ const postAccountSubResourceStatus400Schema = z.unknown();
1777
+ const postAccountSubResourceStatus401Schema = z.unknown();
1778
+ const postAccountSubResourceStatus409Schema = z.unknown();
1779
+ const postAccountSubResourceResponseSchema = z.union([
1780
+ postAccountSubResourceStatus204Schema,
1781
+ postAccountSubResourceStatus400Schema,
1782
+ postAccountSubResourceStatus401Schema,
1783
+ postAccountSubResourceStatus409Schema
1784
+ ]);
1785
+ const postAccountSubResourceDataSchema = accountSubUpdateSchema.describe("Account update representation");
1786
+ const deleteAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1787
+ const deleteAccountSubResourceStatus204Schema = z.unknown();
1788
+ const deleteAccountSubResourceStatus401Schema = z.unknown();
1789
+ const deleteAccountSubResourceResponseSchema = z.union([
1790
+ deleteAccountSubResourceStatus204Schema,
1791
+ deleteAccountSubResourceStatus401Schema
1792
+ ]);
1793
+ const getAccountUsersResourceQueryEmailSchema = z.string().optional().describe("Filter for email");
1794
+ const getAccountUsersResourceQueryOffsetSchema = z.int().optional().describe("The offset of the first user in the collection to return");
1795
+ const getAccountUsersResourceQueryLimitSchema = z.int().optional().describe("The maximum number of users to return. If the value exceeds the maximum, then the maximum value will be used.");
1796
+ const getAccountUsersResourceStatus200Schema = z.unknown();
1797
+ const getAccountUsersResourceStatus401Schema = z.unknown();
1798
+ const getAccountUsersResourceResponseSchema = z.union([
1799
+ getAccountUsersResourceStatus200Schema,
1800
+ getAccountUsersResourceStatus401Schema
1801
+ ]);
1802
+ const putAccountUsersResourceStatus200Schema = z.unknown();
1803
+ const putAccountUsersResourceStatus400Schema = z.unknown();
1804
+ const putAccountUsersResourceResponseSchema = z.union([
1805
+ putAccountUsersResourceStatus200Schema,
1806
+ putAccountUsersResourceStatus400Schema
1807
+ ]);
1808
+ const putAccountUsersResourceDataSchema = accountUserCreateSchema.describe("Account sub create representation");
1809
+ const getAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1810
+ const getAccountUserResourceStatus200Schema = z.unknown();
1811
+ const getAccountUserResourceStatus401Schema = z.unknown();
1812
+ const getAccountUserResourceResponseSchema = z.union([
1813
+ getAccountUserResourceStatus200Schema,
1814
+ getAccountUserResourceStatus401Schema
1815
+ ]);
1816
+ const postAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1817
+ const postAccountUserResourceStatus200Schema = z.unknown();
1818
+ const postAccountUserResourceStatus204Schema = z.unknown();
1819
+ const postAccountUserResourceStatus400Schema = z.unknown();
1820
+ const postAccountUserResourceStatus401Schema = z.unknown();
1821
+ const postAccountUserResourceStatus409Schema = z.unknown();
1822
+ const postAccountUserResourceResponseSchema = z.union([
1823
+ postAccountUserResourceStatus200Schema,
1824
+ postAccountUserResourceStatus204Schema,
1825
+ postAccountUserResourceStatus400Schema,
1826
+ postAccountUserResourceStatus401Schema,
1827
+ postAccountUserResourceStatus409Schema
1828
+ ]);
1829
+ const postAccountUserResourceDataSchema = accountUserUpdateSchema.describe("Account update representation");
1830
+ const deleteAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1831
+ const deleteAccountUserResourceStatus204Schema = z.unknown();
1832
+ const deleteAccountUserResourceStatus401Schema = z.unknown();
1833
+ const deleteAccountUserResourceStatus423Schema = z.unknown();
1834
+ const deleteAccountUserResourceResponseSchema = z.union([
1835
+ deleteAccountUserResourceStatus204Schema,
1836
+ deleteAccountUserResourceStatus401Schema,
1837
+ deleteAccountUserResourceStatus423Schema
1838
+ ]);
1839
+ const getAddressesResourceStatus200Schema = z.unknown();
1840
+ const getAddressesResourceStatus401Schema = z.unknown();
1841
+ const getAddressesResourceResponseSchema = z.union([
1842
+ getAddressesResourceStatus200Schema,
1843
+ getAddressesResourceStatus401Schema
1844
+ ]);
1845
+ const putAddressesResourceStatus200Schema = z.unknown();
1846
+ const putAddressesResourceStatus400Schema = z.unknown();
1847
+ const putAddressesResourceStatus401Schema = z.unknown();
1848
+ const putAddressesResourceResponseSchema = z.union([
1849
+ putAddressesResourceStatus200Schema,
1850
+ putAddressesResourceStatus400Schema,
1851
+ putAddressesResourceStatus401Schema
1852
+ ]);
1853
+ const putAddressesResourceDataSchema = addressCreateSchema.describe("Address create representation");
1854
+ const getAddressTokenResourcePathIdSchema = z.string().describe("The token ID");
1855
+ const getAddressTokenResourceStatus200Schema = z.unknown();
1856
+ const getAddressTokenResourceStatus401Schema = z.unknown();
1857
+ const getAddressTokenResourceStatus404Schema = z.unknown();
1858
+ const getAddressTokenResourceResponseSchema = z.union([
1859
+ getAddressTokenResourceStatus200Schema,
1860
+ getAddressTokenResourceStatus401Schema,
1861
+ getAddressTokenResourceStatus404Schema
1862
+ ]);
1863
+ const getAddressTokenRedeemResourcePathIdSchema = z.string().describe("The token ID");
1864
+ const getAddressTokenRedeemResourceStatus200Schema = z.unknown();
1865
+ const getAddressTokenRedeemResourceStatus401Schema = z.unknown();
1866
+ const getAddressTokenRedeemResourceStatus404Schema = z.unknown();
1867
+ const getAddressTokenRedeemResourceResponseSchema = z.union([
1868
+ getAddressTokenRedeemResourceStatus200Schema,
1869
+ getAddressTokenRedeemResourceStatus401Schema,
1870
+ getAddressTokenRedeemResourceStatus404Schema
1871
+ ]);
1872
+ const postAddressTokenRedeemResourcePathIdSchema = z.string().describe("The token ID");
1873
+ const postAddressTokenRedeemResourceQueryEmailSchema = z.boolean().optional().describe("If false, no email will be sent");
1874
+ const postAddressTokenRedeemResourceStatus204Schema = z.unknown();
1875
+ const postAddressTokenRedeemResourceStatus400Schema = z.unknown();
1876
+ const postAddressTokenRedeemResourceStatus401Schema = z.unknown();
1877
+ const postAddressTokenRedeemResourceStatus404Schema = z.unknown();
1878
+ const postAddressTokenRedeemResourceResponseSchema = z.union([
1879
+ postAddressTokenRedeemResourceStatus204Schema,
1880
+ postAddressTokenRedeemResourceStatus400Schema,
1881
+ postAddressTokenRedeemResourceStatus401Schema,
1882
+ postAddressTokenRedeemResourceStatus404Schema
1883
+ ]);
1884
+ const postAddressResourcePathAddressIdSchema = z.int().describe("The address ID");
1885
+ const postAddressResourceStatus204Schema = z.unknown();
1886
+ const postAddressResourceStatus400Schema = z.unknown();
1887
+ const postAddressResourceStatus401Schema = z.unknown();
1888
+ const postAddressResourceStatus403Schema = z.unknown();
1889
+ const postAddressResourceResponseSchema = z.union([
1890
+ postAddressResourceStatus204Schema,
1891
+ postAddressResourceStatus400Schema,
1892
+ postAddressResourceStatus401Schema,
1893
+ postAddressResourceStatus403Schema
1894
+ ]);
1895
+ const postAddressResourceDataSchema = addressUpdateSchema.describe("Address update representation");
1896
+ const deleteAddressResourcePathAddressIdSchema = z.int().describe("The address ID");
1897
+ const deleteAddressResourceStatus204Schema = z.unknown();
1898
+ const deleteAddressResourceStatus401Schema = z.unknown();
1899
+ const deleteAddressResourceStatus403Schema = z.unknown();
1900
+ const deleteAddressResourceResponseSchema = z.union([
1901
+ deleteAddressResourceStatus204Schema,
1902
+ deleteAddressResourceStatus401Schema,
1903
+ deleteAddressResourceStatus403Schema
1904
+ ]);
1905
+ const getAddressReservationsResourcePathAddressIdSchema = z.int().describe("The address ID");
1906
+ const getAddressReservationsResourceStatus200Schema = z.unknown();
1907
+ const getAddressReservationsResourceStatus401Schema = z.unknown();
1908
+ const getAddressReservationsResourceResponseSchema = z.union([
1909
+ getAddressReservationsResourceStatus200Schema,
1910
+ getAddressReservationsResourceStatus401Schema
1911
+ ]);
1912
+ const postAddressReservationIssueResourcePathAddressIdSchema = z.int().describe("The address ID");
1913
+ const postAddressReservationIssueResourcePathIdSchema = z.string().describe("The address reservation ID");
1914
+ const postAddressReservationIssueResourceStatus204Schema = z.unknown();
1915
+ const postAddressReservationIssueResourceStatus400Schema = z.unknown();
1916
+ const postAddressReservationIssueResourceStatus401Schema = z.unknown();
1917
+ const postAddressReservationIssueResourceResponseSchema = z.union([
1918
+ postAddressReservationIssueResourceStatus204Schema,
1919
+ postAddressReservationIssueResourceStatus400Schema,
1920
+ postAddressReservationIssueResourceStatus401Schema
1921
+ ]);
1922
+ const postAddressReservationRevokeResourcePathAddressIdSchema = z.int().describe("The address ID");
1923
+ const postAddressReservationRevokeResourcePathIdSchema = z.string().describe("The address reservation ID");
1924
+ const postAddressReservationRevokeResourceStatus204Schema = z.unknown();
1925
+ const postAddressReservationRevokeResourceStatus400Schema = z.unknown();
1926
+ const postAddressReservationRevokeResourceStatus401Schema = z.unknown();
1927
+ const postAddressReservationRevokeResourceResponseSchema = z.union([
1928
+ postAddressReservationRevokeResourceStatus204Schema,
1929
+ postAddressReservationRevokeResourceStatus400Schema,
1930
+ postAddressReservationRevokeResourceStatus401Schema
1931
+ ]);
1932
+ const postReservationAccessTimesUpdateResourcePathAddressIdSchema = z.int().describe("The address ID");
1933
+ const postReservationAccessTimesUpdateResourcePathIdSchema = z.string().describe("The reservation ID");
1934
+ const postReservationAccessTimesUpdateResourceStatus204Schema = z.unknown();
1935
+ const postReservationAccessTimesUpdateResourceStatus400Schema = z.unknown();
1936
+ const postReservationAccessTimesUpdateResourceStatus401Schema = z.unknown();
1937
+ const postReservationAccessTimesUpdateResourceResponseSchema = z.union([
1938
+ postReservationAccessTimesUpdateResourceStatus204Schema,
1939
+ postReservationAccessTimesUpdateResourceStatus400Schema,
1940
+ postReservationAccessTimesUpdateResourceStatus401Schema
1941
+ ]);
1942
+ const postReservationAccessTimesUpdateResourceDataSchema = reservationAccessTimesUpdateSchema.describe("Reservation access times update representation");
1943
+ const getAddressTokensResourcePathAddressIdSchema = z.int().describe("The address ID");
1944
+ const getAddressTokensResourceStatus200Schema = z.unknown();
1945
+ const getAddressTokensResourceStatus400Schema = z.unknown();
1946
+ const getAddressTokensResourceStatus401Schema = z.unknown();
1947
+ const getAddressTokensResourceResponseSchema = z.union([
1948
+ getAddressTokensResourceStatus200Schema,
1949
+ getAddressTokensResourceStatus400Schema,
1950
+ getAddressTokensResourceStatus401Schema
1951
+ ]);
1952
+ const getAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
1953
+ const getAddressUnitsResourceStatus200Schema = z.unknown();
1954
+ const getAddressUnitsResourceStatus400Schema = z.unknown();
1955
+ const getAddressUnitsResourceStatus401Schema = z.unknown();
1956
+ const getAddressUnitsResourceResponseSchema = z.union([
1957
+ getAddressUnitsResourceStatus200Schema,
1958
+ getAddressUnitsResourceStatus400Schema,
1959
+ getAddressUnitsResourceStatus401Schema
1960
+ ]);
1961
+ const putAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
1962
+ const putAddressUnitsResourceStatus200Schema = z.unknown();
1963
+ const putAddressUnitsResourceStatus400Schema = z.unknown();
1964
+ const putAddressUnitsResourceStatus401Schema = z.unknown();
1965
+ const putAddressUnitsResourceStatus403Schema = z.unknown();
1966
+ const putAddressUnitsResourceResponseSchema = z.union([
1967
+ putAddressUnitsResourceStatus200Schema,
1968
+ putAddressUnitsResourceStatus400Schema,
1969
+ putAddressUnitsResourceStatus401Schema,
1970
+ putAddressUnitsResourceStatus403Schema
1971
+ ]);
1972
+ const putAddressUnitsResourceDataSchema = addressUnitSchema.omit({
1973
+ "id": true,
1974
+ "addressId": true,
1975
+ "addressTokenId": true,
1976
+ "operationId": true
1977
+ }).describe("Address unit representation");
1978
+ const deleteAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
1979
+ const deleteAddressUnitsResourceStatus200Schema = z.unknown();
1980
+ const deleteAddressUnitsResourceStatus400Schema = z.unknown();
1981
+ const deleteAddressUnitsResourceStatus401Schema = z.unknown();
1982
+ const deleteAddressUnitsResourceStatus403Schema = z.unknown();
1983
+ const deleteAddressUnitsResourceStatus423Schema = z.unknown();
1984
+ const deleteAddressUnitsResourceResponseSchema = z.union([
1985
+ deleteAddressUnitsResourceStatus200Schema,
1986
+ deleteAddressUnitsResourceStatus400Schema,
1987
+ deleteAddressUnitsResourceStatus401Schema,
1988
+ deleteAddressUnitsResourceStatus403Schema,
1989
+ deleteAddressUnitsResourceStatus423Schema
1990
+ ]);
1991
+ const deleteAddressUnitsResourceDataSchema = z.array(z.string()).describe("Address unit IDs to delete");
1992
+ const deleteAddressUnitResourcePathAddressIdSchema = z.int().describe("The address ID");
1993
+ const deleteAddressUnitResourcePathIdSchema = z.string().describe("The address unit ID");
1994
+ const deleteAddressUnitResourceStatus200Schema = z.unknown();
1995
+ const deleteAddressUnitResourceStatus401Schema = z.unknown();
1996
+ const deleteAddressUnitResourceStatus403Schema = z.unknown();
1997
+ const deleteAddressUnitResourceStatus423Schema = z.unknown();
1998
+ const deleteAddressUnitResourceResponseSchema = z.union([
1999
+ deleteAddressUnitResourceStatus200Schema,
2000
+ deleteAddressUnitResourceStatus401Schema,
2001
+ deleteAddressUnitResourceStatus403Schema,
2002
+ deleteAddressUnitResourceStatus423Schema
2003
+ ]);
2004
+ const getDecentralWebhooksResourceStatus200Schema = z.unknown();
2005
+ const getDecentralWebhooksResourceStatus401Schema = z.unknown();
2006
+ const getDecentralWebhooksResourceStatus403Schema = z.unknown();
2007
+ const getDecentralWebhooksResourceResponseSchema = z.union([
2008
+ getDecentralWebhooksResourceStatus200Schema,
2009
+ getDecentralWebhooksResourceStatus401Schema,
2010
+ getDecentralWebhooksResourceStatus403Schema
2011
+ ]);
2012
+ const putDecentralWebhooksResourceStatus200Schema = z.unknown();
2013
+ const putDecentralWebhooksResourceStatus400Schema = z.unknown();
2014
+ const putDecentralWebhooksResourceStatus401Schema = z.unknown();
2015
+ const putDecentralWebhooksResourceStatus403Schema = z.unknown();
2016
+ const putDecentralWebhooksResourceResponseSchema = z.union([
2017
+ putDecentralWebhooksResourceStatus200Schema,
2018
+ putDecentralWebhooksResourceStatus400Schema,
2019
+ putDecentralWebhooksResourceStatus401Schema,
2020
+ putDecentralWebhooksResourceStatus403Schema
2021
+ ]);
2022
+ const putDecentralWebhooksResourceDataSchema = decentralWebhookSchema.omit({
2023
+ "id": true,
2024
+ "secret": true
2025
+ }).describe("Decentral webhook representation");
2026
+ const deleteDecentralWebhookResourcePathIdSchema = z.int().describe("The ID of the decentral webhook");
2027
+ const deleteDecentralWebhookResourceStatus204Schema = z.unknown();
2028
+ const deleteDecentralWebhookResourceStatus401Schema = z.unknown();
2029
+ const deleteDecentralWebhookResourceStatus403Schema = z.unknown();
2030
+ const deleteDecentralWebhookResourceResponseSchema = z.union([
2031
+ deleteDecentralWebhookResourceStatus204Schema,
2032
+ deleteDecentralWebhookResourceStatus401Schema,
2033
+ deleteDecentralWebhookResourceStatus403Schema
2034
+ ]);
2035
+ const getApiKeysResourceStatus200Schema = z.unknown();
2036
+ const getApiKeysResourceStatus401Schema = z.unknown();
2037
+ const getApiKeysResourceResponseSchema = z.union([
2038
+ getApiKeysResourceStatus200Schema,
2039
+ getApiKeysResourceStatus401Schema
2040
+ ]);
2041
+ const putApiKeysResourceStatus200Schema = z.unknown();
2042
+ const putApiKeysResourceStatus400Schema = z.unknown();
2043
+ const putApiKeysResourceStatus401Schema = z.unknown();
2044
+ const putApiKeysResourceResponseSchema = z.union([
2045
+ putApiKeysResourceStatus200Schema,
2046
+ putApiKeysResourceStatus400Schema,
2047
+ putApiKeysResourceStatus401Schema
2048
+ ]);
2049
+ const putApiKeysResourceDataSchema = apiKeyCreateSchema.describe("Api key create representation");
2050
+ const postApiKeyResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2051
+ const postApiKeyResourceStatus204Schema = z.unknown();
2052
+ const postApiKeyResourceStatus400Schema = z.unknown();
2053
+ const postApiKeyResourceStatus401Schema = z.unknown();
2054
+ const postApiKeyResourceResponseSchema = z.union([
2055
+ postApiKeyResourceStatus204Schema,
2056
+ postApiKeyResourceStatus400Schema,
2057
+ postApiKeyResourceStatus401Schema
2058
+ ]);
2059
+ const postApiKeyResourceDataSchema = apiKeyUpdateSchema.describe("Api key update representation");
2060
+ const deleteApiKeyResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2061
+ const deleteApiKeyResourceStatus204Schema = z.unknown();
2062
+ const deleteApiKeyResourceStatus401Schema = z.unknown();
2063
+ const deleteApiKeyResourceResponseSchema = z.union([
2064
+ deleteApiKeyResourceStatus204Schema,
2065
+ deleteApiKeyResourceStatus401Schema
2066
+ ]);
2067
+ const getApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2068
+ const getApiKeyAdvancedResourceStatus200Schema = z.unknown();
2069
+ const getApiKeyAdvancedResourceStatus401Schema = z.unknown();
2070
+ const getApiKeyAdvancedResourceStatus403Schema = z.unknown();
2071
+ const getApiKeyAdvancedResourceStatus404Schema = z.unknown();
2072
+ const getApiKeyAdvancedResourceResponseSchema = z.union([
2073
+ getApiKeyAdvancedResourceStatus200Schema,
2074
+ getApiKeyAdvancedResourceStatus401Schema,
2075
+ getApiKeyAdvancedResourceStatus403Schema,
2076
+ getApiKeyAdvancedResourceStatus404Schema
2077
+ ]);
2078
+ const postApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2079
+ const postApiKeyAdvancedResourceStatus204Schema = z.unknown();
2080
+ const postApiKeyAdvancedResourceStatus400Schema = z.unknown();
2081
+ const postApiKeyAdvancedResourceStatus401Schema = z.unknown();
2082
+ const postApiKeyAdvancedResourceResponseSchema = z.union([
2083
+ postApiKeyAdvancedResourceStatus204Schema,
2084
+ postApiKeyAdvancedResourceStatus400Schema,
2085
+ postApiKeyAdvancedResourceStatus401Schema
2086
+ ]);
2087
+ const postApiKeyAdvancedResourceDataSchema = advancedApiKeyUpdateSchema.describe("Update for advaced api key representation");
2088
+ const putApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2089
+ const putApiKeyAdvancedResourceStatus204Schema = z.unknown();
2090
+ const putApiKeyAdvancedResourceStatus400Schema = z.unknown();
2091
+ const putApiKeyAdvancedResourceStatus401Schema = z.unknown();
2092
+ const putApiKeyAdvancedResourceResponseSchema = z.union([
2093
+ putApiKeyAdvancedResourceStatus204Schema,
2094
+ putApiKeyAdvancedResourceStatus400Schema,
2095
+ putApiKeyAdvancedResourceStatus401Schema
2096
+ ]);
2097
+ const putApiKeyAdvancedResourceDataSchema = advancedApiKeyCreateSchema.omit({
2098
+ "webhookStatus": true
2099
+ }).describe("Apply for advaced api key representation");
2100
+ const deleteApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2101
+ const deleteApiKeyAdvancedResourceStatus204Schema = z.unknown();
2102
+ const deleteApiKeyAdvancedResourceStatus401Schema = z.unknown();
2103
+ const deleteApiKeyAdvancedResourceResponseSchema = z.union([
2104
+ deleteApiKeyAdvancedResourceStatus204Schema,
2105
+ deleteApiKeyAdvancedResourceStatus401Schema
2106
+ ]);
2107
+ const postApiKeyAdvancedReactivateResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2108
+ const postApiKeyAdvancedReactivateResourceStatus204Schema = z.unknown();
2109
+ const postApiKeyAdvancedReactivateResourceStatus400Schema = z.unknown();
2110
+ const postApiKeyAdvancedReactivateResourceStatus401Schema = z.unknown();
2111
+ const postApiKeyAdvancedReactivateResourceResponseSchema = z.union([
2112
+ postApiKeyAdvancedReactivateResourceStatus204Schema,
2113
+ postApiKeyAdvancedReactivateResourceStatus400Schema,
2114
+ postApiKeyAdvancedReactivateResourceStatus401Schema
2115
+ ]);
2116
+ const getApiKeyTokensResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2117
+ const getApiKeyTokensResourceStatus200Schema = z.unknown();
2118
+ const getApiKeyTokensResourceStatus401Schema = z.unknown();
2119
+ const getApiKeyTokensResourceResponseSchema = z.union([
2120
+ getApiKeyTokensResourceStatus200Schema,
2121
+ getApiKeyTokensResourceStatus401Schema
2122
+ ]);
2123
+ const putApiKeyTokensResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2124
+ const putApiKeyTokensResourceStatus200Schema = z.unknown();
2125
+ const putApiKeyTokensResourceStatus400Schema = z.unknown();
2126
+ const putApiKeyTokensResourceStatus401Schema = z.unknown();
2127
+ const putApiKeyTokensResourceResponseSchema = z.union([
2128
+ putApiKeyTokensResourceStatus200Schema,
2129
+ putApiKeyTokensResourceStatus400Schema,
2130
+ putApiKeyTokensResourceStatus401Schema
2131
+ ]);
2132
+ const putApiKeyTokensResourceDataSchema = apiKeyTokenCreateSchema.describe("Api key token create representation");
2133
+ const postApiKeyTokenResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2134
+ const postApiKeyTokenResourcePathIdSchema = z.string().describe("The API key token ID");
2135
+ const postApiKeyTokenResourceStatus204Schema = z.unknown();
2136
+ const postApiKeyTokenResourceStatus400Schema = z.unknown();
2137
+ const postApiKeyTokenResourceStatus401Schema = z.unknown();
2138
+ const postApiKeyTokenResourceResponseSchema = z.union([
2139
+ postApiKeyTokenResourceStatus204Schema,
2140
+ postApiKeyTokenResourceStatus400Schema,
2141
+ postApiKeyTokenResourceStatus401Schema
2142
+ ]);
2143
+ const postApiKeyTokenResourceDataSchema = apiKeyTokenUpdateSchema.describe("Api key token update representation");
2144
+ const deleteApiKeyTokenResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2145
+ const deleteApiKeyTokenResourcePathIdSchema = z.string().describe("The API key token ID");
2146
+ const deleteApiKeyTokenResourceStatus204Schema = z.unknown();
2147
+ const deleteApiKeyTokenResourceStatus401Schema = z.unknown();
2148
+ const deleteApiKeyTokenResourceResponseSchema = z.union([
2149
+ deleteApiKeyTokenResourceStatus204Schema,
2150
+ deleteApiKeyTokenResourceStatus401Schema
2151
+ ]);
2152
+ const getWebhookLogsResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2153
+ const getWebhookLogsResourceQueryIdSchema = z.string().optional().describe("Optionally filter for older logs");
2154
+ const getWebhookLogsResourceQueryLimitSchema = z.int().optional().default(50).describe("Amount of logs (max: 100)");
2155
+ const getWebhookLogsResourceStatus200Schema = z.unknown();
2156
+ const getWebhookLogsResourceStatus401Schema = z.unknown();
2157
+ const getWebhookLogsResourceResponseSchema = z.union([
2158
+ getWebhookLogsResourceStatus200Schema,
2159
+ getWebhookLogsResourceStatus401Schema
2160
+ ]);
2161
+ const postSmartlockBulkWebConfigResourceStatus204Schema = z.unknown();
2162
+ const postSmartlockBulkWebConfigResourceStatus400Schema = z.unknown();
2163
+ const postSmartlockBulkWebConfigResourceStatus401Schema = z.unknown();
2164
+ const postSmartlockBulkWebConfigResourceResponseSchema = z.union([
2165
+ postSmartlockBulkWebConfigResourceStatus204Schema,
2166
+ postSmartlockBulkWebConfigResourceStatus400Schema,
2167
+ postSmartlockBulkWebConfigResourceStatus401Schema
2168
+ ]);
2169
+ const postSmartlockBulkWebConfigResourceDataSchema = bulkWebConfigRequestSchema.describe("Smartlocks web config update representation");
2170
+ const getCompaniesResourceStatus200Schema = z.unknown();
2171
+ const getCompaniesResourceStatus401Schema = z.unknown();
2172
+ const getCompaniesResourceStatus403Schema = z.unknown();
2173
+ const getCompaniesResourceResponseSchema = z.union([
2174
+ getCompaniesResourceStatus200Schema,
2175
+ getCompaniesResourceStatus401Schema,
2176
+ getCompaniesResourceStatus403Schema
2177
+ ]);
2178
+ const getNotificationsResourceQueryReferenceIdSchema = z.string().optional().describe("The reference ID to the third party system");
2179
+ const getNotificationsResourceStatus200Schema = z.unknown();
2180
+ const getNotificationsResourceStatus401Schema = z.unknown();
2181
+ const getNotificationsResourceResponseSchema = z.union([
2182
+ getNotificationsResourceStatus200Schema,
2183
+ getNotificationsResourceStatus401Schema
2184
+ ]);
2185
+ const putNotificationsResourceStatus200Schema = z.unknown();
2186
+ const putNotificationsResourceStatus400Schema = z.unknown();
2187
+ const putNotificationsResourceStatus401Schema = z.unknown();
2188
+ const putNotificationsResourceStatus403Schema = z.unknown();
2189
+ const putNotificationsResourceResponseSchema = z.union([
2190
+ putNotificationsResourceStatus200Schema,
2191
+ putNotificationsResourceStatus400Schema,
2192
+ putNotificationsResourceStatus401Schema,
2193
+ putNotificationsResourceStatus403Schema
2194
+ ]);
2195
+ const putNotificationsResourceDataSchema = notificationSchema.describe("Notification representation");
2196
+ const getNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2197
+ const getNotificationResourceStatus200Schema = z.unknown();
2198
+ const getNotificationResourceStatus401Schema = z.unknown();
2199
+ const getNotificationResourceStatus403Schema = z.unknown();
2200
+ const getNotificationResourceStatus404Schema = z.unknown();
2201
+ const getNotificationResourceResponseSchema = z.union([
2202
+ getNotificationResourceStatus200Schema,
2203
+ getNotificationResourceStatus401Schema,
2204
+ getNotificationResourceStatus403Schema,
2205
+ getNotificationResourceStatus404Schema
2206
+ ]);
2207
+ const postNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2208
+ const postNotificationResourceStatus200Schema = z.unknown();
2209
+ const postNotificationResourceStatus400Schema = z.unknown();
2210
+ const postNotificationResourceStatus401Schema = z.unknown();
2211
+ const postNotificationResourceStatus403Schema = z.unknown();
2212
+ const postNotificationResourceResponseSchema = z.union([
2213
+ postNotificationResourceStatus200Schema,
2214
+ postNotificationResourceStatus400Schema,
2215
+ postNotificationResourceStatus401Schema,
2216
+ postNotificationResourceStatus403Schema
2217
+ ]);
2218
+ const postNotificationResourceDataSchema = notificationSchema.describe("Notification update representation");
2219
+ const deleteNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2220
+ const deleteNotificationResourceStatus204Schema = z.unknown();
2221
+ const deleteNotificationResourceStatus401Schema = z.unknown();
2222
+ const deleteNotificationResourceStatus403Schema = z.unknown();
2223
+ const deleteNotificationResourceStatus405Schema = z.unknown();
2224
+ const deleteNotificationResourceResponseSchema = z.union([
2225
+ deleteNotificationResourceStatus204Schema,
2226
+ deleteNotificationResourceStatus401Schema,
2227
+ deleteNotificationResourceStatus403Schema,
2228
+ deleteNotificationResourceStatus405Schema
2229
+ ]);
2230
+ const getOpenerBrandsResourceStatus200Schema = z.unknown();
2231
+ const getOpenerBrandsResourceResponseSchema = getOpenerBrandsResourceStatus200Schema;
2232
+ const getOpenerBrandResourcePathBrandIdSchema = z.int().describe("The brand ID");
2233
+ const getOpenerBrandResourceStatus200Schema = z.unknown();
2234
+ const getOpenerBrandResourceResponseSchema = getOpenerBrandResourceStatus200Schema;
2235
+ const getOpenerIntercomsResourceQueryBrandIdSchema = z.int().optional().describe("Filter for brandId. Required if 'recentlyChanged' is not set");
2236
+ const getOpenerIntercomsResourceQueryIgnoreVerifiedSchema = z.boolean().optional().describe("If true, return intercoms ignoring their verified value");
2237
+ const getOpenerIntercomsResourceQueryRecentlyChangedSchema = z.boolean().optional().describe("If true, return all intercoms which recently were updated");
2238
+ const getOpenerIntercomsResourceStatus200Schema = z.unknown();
2239
+ const getOpenerIntercomsResourceResponseSchema = getOpenerIntercomsResourceStatus200Schema;
2240
+ const getOpenerIntercomResourcePathIntercomIdSchema = z.int().describe("The intercom ID");
2241
+ const getOpenerIntercomResourceStatus200Schema = z.unknown();
2242
+ const getOpenerIntercomResourceResponseSchema = getOpenerIntercomResourceStatus200Schema;
2243
+ const getServicesResourceQueryServiceIdsSchema = z.string().optional().describe("Filter for service IDs (comma-separated eg: airbnb,guesty,smoobu)");
2244
+ const getServicesResourceStatus200Schema = z.unknown();
2245
+ const getServicesResourceStatus401Schema = z.unknown();
2246
+ const getServicesResourceResponseSchema = z.union([
2247
+ getServicesResourceStatus200Schema,
2248
+ getServicesResourceStatus401Schema
2249
+ ]);
2250
+ const getServiceResourcePathServiceIdSchema = z.string().describe("The service ID");
2251
+ const getServiceResourceStatus200Schema = z.unknown();
2252
+ const getServiceResourceStatus401Schema = z.unknown();
2253
+ const getServiceResourceResponseSchema = z.union([
2254
+ getServiceResourceStatus200Schema,
2255
+ getServiceResourceStatus401Schema
2256
+ ]);
2257
+ const postServiceLinkResourcePathServiceIdSchema = z.string().describe("The service ID");
2258
+ const postServiceLinkResourceStatus200Schema = z.unknown();
2259
+ const postServiceLinkResourceStatus400Schema = z.unknown();
2260
+ const postServiceLinkResourceStatus401Schema = z.unknown();
2261
+ const postServiceLinkResourceResponseSchema = z.union([
2262
+ postServiceLinkResourceStatus200Schema,
2263
+ postServiceLinkResourceStatus400Schema,
2264
+ postServiceLinkResourceStatus401Schema
2265
+ ]);
2266
+ const postServiceSyncResourcePathServiceIdSchema = z.string().describe("The service ID");
2267
+ const postServiceSyncResourceStatus204Schema = z.unknown();
2268
+ const postServiceSyncResourceStatus400Schema = z.unknown();
2269
+ const postServiceSyncResourceStatus401Schema = z.unknown();
2270
+ const postServiceSyncResourceResponseSchema = z.union([
2271
+ postServiceSyncResourceStatus204Schema,
2272
+ postServiceSyncResourceStatus400Schema,
2273
+ postServiceSyncResourceStatus401Schema
2274
+ ]);
2275
+ const postServiceUnlinkResourcePathServiceIdSchema = z.string().describe("The service ID");
2276
+ const postServiceUnlinkResourceStatus204Schema = z.unknown();
2277
+ const postServiceUnlinkResourceStatus400Schema = z.unknown();
2278
+ const postServiceUnlinkResourceStatus401Schema = z.unknown();
2279
+ const postServiceUnlinkResourceResponseSchema = z.union([
2280
+ postServiceUnlinkResourceStatus204Schema,
2281
+ postServiceUnlinkResourceStatus400Schema,
2282
+ postServiceUnlinkResourceStatus401Schema
2283
+ ]);
2284
+ const getSmartlocksResourceQueryAuthIdSchema = z.int().optional().describe("Filter for authId");
2285
+ const getSmartlocksResourceQueryTypeSchema = z.int().optional().describe("Filter for type");
2286
+ const getSmartlocksResourceStatus200Schema = z.unknown();
2287
+ const getSmartlocksResourceStatus401Schema = z.unknown();
2288
+ const getSmartlocksResourceResponseSchema = z.union([
2289
+ getSmartlocksResourceStatus200Schema,
2290
+ getSmartlocksResourceStatus401Schema
2291
+ ]);
2292
+ const getSmartlocksAuthsResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users: set to a positive number will filter for authorizations with this specific accountUserId, set to a negative number will filter without set accountUserId");
2293
+ const getSmartlocksAuthsResourceQueryTypesSchema = z.string().optional().describe("Filter for authorization's types (comma-separated eg: 0,2,3)");
2294
+ const getSmartlocksAuthsResourceStatus200Schema = z.unknown();
2295
+ const getSmartlocksAuthsResourceStatus401Schema = z.unknown();
2296
+ const getSmartlocksAuthsResourceResponseSchema = z.union([
2297
+ getSmartlocksAuthsResourceStatus200Schema,
2298
+ getSmartlocksAuthsResourceStatus401Schema
2299
+ ]);
2300
+ const postSmartlocksAuthsResourceStatus204Schema = z.unknown();
2301
+ const postSmartlocksAuthsResourceStatus400Schema = z.unknown();
2302
+ const postSmartlocksAuthsResourceStatus401Schema = z.unknown();
2303
+ const postSmartlocksAuthsResourceStatus403Schema = z.unknown();
2304
+ const postSmartlocksAuthsResourceStatus409Schema = z.unknown();
2305
+ const postSmartlocksAuthsResourceStatus423Schema = z.unknown();
2306
+ const postSmartlocksAuthsResourceResponseSchema = z.union([
2307
+ postSmartlocksAuthsResourceStatus204Schema,
2308
+ postSmartlocksAuthsResourceStatus400Schema,
2309
+ postSmartlocksAuthsResourceStatus401Schema,
2310
+ postSmartlocksAuthsResourceStatus403Schema,
2311
+ postSmartlocksAuthsResourceStatus409Schema,
2312
+ postSmartlocksAuthsResourceStatus423Schema
2313
+ ]);
2314
+ const postSmartlocksAuthsResourceDataSchema = z.array(smartlockAuthMultiUpdateSchema).describe("Smartlock authorization update representations");
2315
+ const putSmartlocksAuthsResourceStatus204Schema = z.unknown();
2316
+ const putSmartlocksAuthsResourceStatus400Schema = z.unknown();
2317
+ const putSmartlocksAuthsResourceStatus402Schema = z.unknown();
2318
+ const putSmartlocksAuthsResourceStatus409Schema = z.unknown();
2319
+ const putSmartlocksAuthsResourceStatus426Schema = z.unknown();
2320
+ const putSmartlocksAuthsResourceResponseSchema = z.union([
2321
+ putSmartlocksAuthsResourceStatus204Schema,
2322
+ putSmartlocksAuthsResourceStatus400Schema,
2323
+ putSmartlocksAuthsResourceStatus402Schema,
2324
+ putSmartlocksAuthsResourceStatus409Schema,
2325
+ putSmartlocksAuthsResourceStatus426Schema
2326
+ ]);
2327
+ const putSmartlocksAuthsResourceDataSchema = smartlocksAuthCreateSchema.describe("Smartlock authorization create representation");
2328
+ const deleteSmartlocksAuthsResourceStatus204Schema = z.unknown();
2329
+ const deleteSmartlocksAuthsResourceStatus400Schema = z.unknown();
2330
+ const deleteSmartlocksAuthsResourceStatus401Schema = z.unknown();
2331
+ const deleteSmartlocksAuthsResourceStatus403Schema = z.unknown();
2332
+ const deleteSmartlocksAuthsResourceStatus423Schema = z.unknown();
2333
+ const deleteSmartlocksAuthsResourceResponseSchema = z.union([
2334
+ deleteSmartlocksAuthsResourceStatus204Schema,
2335
+ deleteSmartlocksAuthsResourceStatus400Schema,
2336
+ deleteSmartlocksAuthsResourceStatus401Schema,
2337
+ deleteSmartlocksAuthsResourceStatus403Schema,
2338
+ deleteSmartlocksAuthsResourceStatus423Schema
2339
+ ]);
2340
+ const deleteSmartlocksAuthsResourceDataSchema = z.array(z.string()).describe("Smartlock authorization IDs to delete");
2341
+ const putSmartlockAuthsAdvancedResourceStatus200Schema = z.unknown();
2342
+ const putSmartlockAuthsAdvancedResourceStatus400Schema = z.unknown();
2343
+ const putSmartlockAuthsAdvancedResourceStatus402Schema = z.unknown();
2344
+ const putSmartlockAuthsAdvancedResourceStatus409Schema = z.unknown();
2345
+ const putSmartlockAuthsAdvancedResourceStatus426Schema = z.unknown();
2346
+ const putSmartlockAuthsAdvancedResourceResponseSchema = z.union([
2347
+ putSmartlockAuthsAdvancedResourceStatus200Schema,
2348
+ putSmartlockAuthsAdvancedResourceStatus400Schema,
2349
+ putSmartlockAuthsAdvancedResourceStatus402Schema,
2350
+ putSmartlockAuthsAdvancedResourceStatus409Schema,
2351
+ putSmartlockAuthsAdvancedResourceStatus426Schema
2352
+ ]);
2353
+ const putSmartlockAuthsAdvancedResourceDataSchema = smartlocksAuthAdvancedCreateSchema.describe("Smartlock authorization create representation");
2354
+ const getSmartlocksAuthsPaginatedResourceQueryPageSchema = z.int().optional().default(0).describe("The page number, starting from 0");
2355
+ const getSmartlocksAuthsPaginatedResourceQuerySizeSchema = z.int().optional().default(100).describe("The number of items in one page");
2356
+ const getSmartlocksAuthsPaginatedResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users: set to a positive number will filter for authorizations with this specific accountUserId, set to a negative number will filter without set accountUserId");
2357
+ const getSmartlocksAuthsPaginatedResourceQueryTypesSchema = z.string().optional().describe("Filter for authorization's types (comma-separated eg: 0,2,3)");
2358
+ const getSmartlocksAuthsPaginatedResourceStatus200Schema = z.unknown();
2359
+ const getSmartlocksAuthsPaginatedResourceStatus401Schema = z.unknown();
2360
+ const getSmartlocksAuthsPaginatedResourceResponseSchema = z.union([
2361
+ getSmartlocksAuthsPaginatedResourceStatus200Schema,
2362
+ getSmartlocksAuthsPaginatedResourceStatus401Schema
2363
+ ]);
2364
+ const getSmartlocksLogsResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users");
2365
+ const getSmartlocksLogsResourceQueryFromDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2366
+ const getSmartlocksLogsResourceQueryToDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2367
+ const getSmartlocksLogsResourceQueryActionSchema = z.int().optional().describe("Filter for action");
2368
+ const getSmartlocksLogsResourceQueryIdSchema = z.string().optional().describe("Filter for older logs");
2369
+ const getSmartlocksLogsResourceQueryLimitSchema = z.int().optional().default(20).describe("Amount of logs (max: 50)");
2370
+ const getSmartlocksLogsResourceStatus200Schema = z.unknown();
2371
+ const getSmartlocksLogsResourceStatus401Schema = z.unknown();
2372
+ const getSmartlocksLogsResourceResponseSchema = z.union([
2373
+ getSmartlocksLogsResourceStatus200Schema,
2374
+ getSmartlocksLogsResourceStatus401Schema
2375
+ ]);
2376
+ const getSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2377
+ const getSmartlockResourceStatus200Schema = z.unknown();
2378
+ const getSmartlockResourceStatus401Schema = z.unknown();
2379
+ const getSmartlockResourceStatus403Schema = z.unknown();
2380
+ const getSmartlockResourceStatus404Schema = z.unknown();
2381
+ const getSmartlockResourceResponseSchema = z.union([
2382
+ getSmartlockResourceStatus200Schema,
2383
+ getSmartlockResourceStatus401Schema,
2384
+ getSmartlockResourceStatus403Schema,
2385
+ getSmartlockResourceStatus404Schema
2386
+ ]);
2387
+ const postSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2388
+ const postSmartlockResourceStatus204Schema = z.unknown();
2389
+ const postSmartlockResourceStatus400Schema = z.unknown();
2390
+ const postSmartlockResourceStatus401Schema = z.unknown();
2391
+ const postSmartlockResourceStatus403Schema = z.unknown();
2392
+ const postSmartlockResourceResponseSchema = z.union([
2393
+ postSmartlockResourceStatus204Schema,
2394
+ postSmartlockResourceStatus400Schema,
2395
+ postSmartlockResourceStatus401Schema,
2396
+ postSmartlockResourceStatus403Schema
2397
+ ]);
2398
+ const postSmartlockResourceDataSchema = smartlockUpdateSchema.describe("Smartlock update representation");
2399
+ const deleteSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2400
+ const deleteSmartlockResourceStatus204Schema = z.unknown();
2401
+ const deleteSmartlockResourceStatus400Schema = z.unknown();
2402
+ const deleteSmartlockResourceStatus401Schema = z.unknown();
2403
+ const deleteSmartlockResourceStatus403Schema = z.unknown();
2404
+ const deleteSmartlockResourceResponseSchema = z.union([
2405
+ deleteSmartlockResourceStatus204Schema,
2406
+ deleteSmartlockResourceStatus400Schema,
2407
+ deleteSmartlockResourceStatus401Schema,
2408
+ deleteSmartlockResourceStatus403Schema
2409
+ ]);
2410
+ const postSmartlockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2411
+ const postSmartlockActionResourceStatus204Schema = z.unknown();
2412
+ const postSmartlockActionResourceStatus400Schema = z.unknown();
2413
+ const postSmartlockActionResourceStatus401Schema = z.unknown();
2414
+ const postSmartlockActionResourceStatus402Schema = z.unknown();
2415
+ const postSmartlockActionResourceResponseSchema = z.union([
2416
+ postSmartlockActionResourceStatus204Schema,
2417
+ postSmartlockActionResourceStatus400Schema,
2418
+ postSmartlockActionResourceStatus401Schema,
2419
+ postSmartlockActionResourceStatus402Schema
2420
+ ]);
2421
+ const postSmartlockActionResourceDataSchema = smartlockActionSchema.optional();
2422
+ const postSmartlockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2423
+ const postSmartlockActionAdvancedResourceStatus200Schema = z.unknown();
2424
+ const postSmartlockActionAdvancedResourceStatus400Schema = z.unknown();
2425
+ const postSmartlockActionAdvancedResourceStatus402Schema = z.unknown();
2426
+ const postSmartlockActionAdvancedResourceStatus409Schema = z.unknown();
2427
+ const postSmartlockActionAdvancedResourceStatus426Schema = z.unknown();
2428
+ const postSmartlockActionAdvancedResourceResponseSchema = z.union([
2429
+ postSmartlockActionAdvancedResourceStatus200Schema,
2430
+ postSmartlockActionAdvancedResourceStatus400Schema,
2431
+ postSmartlockActionAdvancedResourceStatus402Schema,
2432
+ postSmartlockActionAdvancedResourceStatus409Schema,
2433
+ postSmartlockActionAdvancedResourceStatus426Schema
2434
+ ]);
2435
+ const postSmartlockActionAdvancedResourceDataSchema = smartlockActionSchema.optional();
2436
+ const postSmartlockLockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2437
+ const postSmartlockLockActionResourceStatus204Schema = z.unknown();
2438
+ const postSmartlockLockActionResourceStatus400Schema = z.unknown();
2439
+ const postSmartlockLockActionResourceStatus401Schema = z.unknown();
2440
+ const postSmartlockLockActionResourceStatus405Schema = z.unknown();
2441
+ const postSmartlockLockActionResourceResponseSchema = z.union([
2442
+ postSmartlockLockActionResourceStatus204Schema,
2443
+ postSmartlockLockActionResourceStatus400Schema,
2444
+ postSmartlockLockActionResourceStatus401Schema,
2445
+ postSmartlockLockActionResourceStatus405Schema
2446
+ ]);
2447
+ const postSmartlockLockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2448
+ const postSmartlockLockActionAdvancedResourceStatus200Schema = z.unknown();
2449
+ const postSmartlockLockActionAdvancedResourceStatus400Schema = z.unknown();
2450
+ const postSmartlockLockActionAdvancedResourceStatus401Schema = z.unknown();
2451
+ const postSmartlockLockActionAdvancedResourceStatus405Schema = z.unknown();
2452
+ const postSmartlockLockActionAdvancedResourceResponseSchema = z.union([
2453
+ postSmartlockLockActionAdvancedResourceStatus200Schema,
2454
+ postSmartlockLockActionAdvancedResourceStatus400Schema,
2455
+ postSmartlockLockActionAdvancedResourceStatus401Schema,
2456
+ postSmartlockLockActionAdvancedResourceStatus405Schema
2457
+ ]);
2458
+ const postSmartlockUnlockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2459
+ const postSmartlockUnlockActionResourceStatus204Schema = z.unknown();
2460
+ const postSmartlockUnlockActionResourceStatus400Schema = z.unknown();
2461
+ const postSmartlockUnlockActionResourceStatus401Schema = z.unknown();
2462
+ const postSmartlockUnlockActionResourceStatus405Schema = z.unknown();
2463
+ const postSmartlockUnlockActionResourceResponseSchema = z.union([
2464
+ postSmartlockUnlockActionResourceStatus204Schema,
2465
+ postSmartlockUnlockActionResourceStatus400Schema,
2466
+ postSmartlockUnlockActionResourceStatus401Schema,
2467
+ postSmartlockUnlockActionResourceStatus405Schema
2468
+ ]);
2469
+ const postSmartlockUnlockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2470
+ const postSmartlockUnlockActionAdvancedResourceStatus200Schema = z.unknown();
2471
+ const postSmartlockUnlockActionAdvancedResourceStatus400Schema = z.unknown();
2472
+ const postSmartlockUnlockActionAdvancedResourceStatus401Schema = z.unknown();
2473
+ const postSmartlockUnlockActionAdvancedResourceStatus405Schema = z.unknown();
2474
+ const postSmartlockUnlockActionAdvancedResourceResponseSchema = z.union([
2475
+ postSmartlockUnlockActionAdvancedResourceStatus200Schema,
2476
+ postSmartlockUnlockActionAdvancedResourceStatus400Schema,
2477
+ postSmartlockUnlockActionAdvancedResourceStatus401Schema,
2478
+ postSmartlockUnlockActionAdvancedResourceStatus405Schema
2479
+ ]);
2480
+ const postSmartlockAdminPinResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2481
+ const postSmartlockAdminPinResourceStatus204Schema = z.unknown();
2482
+ const postSmartlockAdminPinResourceStatus400Schema = z.unknown();
2483
+ const postSmartlockAdminPinResourceStatus401Schema = z.unknown();
2484
+ const postSmartlockAdminPinResourceResponseSchema = z.union([
2485
+ postSmartlockAdminPinResourceStatus204Schema,
2486
+ postSmartlockAdminPinResourceStatus400Schema,
2487
+ postSmartlockAdminPinResourceStatus401Schema
2488
+ ]);
2489
+ const postSmartlockAdminPinResourceDataSchema = smartlockAdminPinUpdateSchema.describe("Smartlock admin pin update representation");
2490
+ const postSmartlockAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2491
+ const postSmartlockAdvancedConfigResourceStatus204Schema = z.unknown();
2492
+ const postSmartlockAdvancedConfigResourceStatus400Schema = z.unknown();
2493
+ const postSmartlockAdvancedConfigResourceStatus401Schema = z.unknown();
2494
+ const postSmartlockAdvancedConfigResourceResponseSchema = z.union([
2495
+ postSmartlockAdvancedConfigResourceStatus204Schema,
2496
+ postSmartlockAdvancedConfigResourceStatus400Schema,
2497
+ postSmartlockAdvancedConfigResourceStatus401Schema
2498
+ ]);
2499
+ const postSmartlockAdvancedConfigResourceDataSchema = smartlockAdvancedConfigSchema.omit({
2500
+ "operationId": true,
2501
+ "totalDegrees": true
2502
+ }).describe("Smartlock config update representation");
2503
+ const postSmartlockOpenerAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock (opener) ID");
2504
+ const postSmartlockOpenerAdvancedConfigResourceStatus204Schema = z.unknown();
2505
+ const postSmartlockOpenerAdvancedConfigResourceStatus400Schema = z.unknown();
2506
+ const postSmartlockOpenerAdvancedConfigResourceStatus401Schema = z.unknown();
2507
+ const postSmartlockOpenerAdvancedConfigResourceResponseSchema = z.union([
2508
+ postSmartlockOpenerAdvancedConfigResourceStatus204Schema,
2509
+ postSmartlockOpenerAdvancedConfigResourceStatus400Schema,
2510
+ postSmartlockOpenerAdvancedConfigResourceStatus401Schema
2511
+ ]);
2512
+ const postSmartlockOpenerAdvancedConfigResourceDataSchema = smartlockOpenerAdvancedConfigSchema.omit({
2513
+ "intercomId": true,
2514
+ "busModeSwitch": true,
2515
+ "operationId": true
2516
+ }).describe("Opener advanced config update representation");
2517
+ const postSmartdoorAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartdoor ID");
2518
+ const postSmartdoorAdvancedConfigResourceStatus204Schema = z.unknown();
2519
+ const postSmartdoorAdvancedConfigResourceStatus400Schema = z.unknown();
2520
+ const postSmartdoorAdvancedConfigResourceStatus401Schema = z.unknown();
2521
+ const postSmartdoorAdvancedConfigResourceResponseSchema = z.union([
2522
+ postSmartdoorAdvancedConfigResourceStatus204Schema,
2523
+ postSmartdoorAdvancedConfigResourceStatus400Schema,
2524
+ postSmartdoorAdvancedConfigResourceStatus401Schema
2525
+ ]);
2526
+ const postSmartdoorAdvancedConfigResourceDataSchema = smartlockSmartdoorAdvancedConfigSchema.omit({
2527
+ "operationId": true,
2528
+ "supportedBatteryTypes": true
2529
+ }).describe("Smartdoor advanced config update representation");
2530
+ const getSmartlockAuthsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2531
+ const getSmartlockAuthsResourceQueryTypesSchema = z.string().optional().describe("Filter for smartlock authorization's types (comma-separated eg: 0,2,3)");
2532
+ const getSmartlockAuthsResourceQueryIncludeEmailSchema = z.boolean().optional().describe("Indicates if email should be included in the response");
2533
+ const getSmartlockAuthsResourceStatus200Schema = z.unknown();
2534
+ const getSmartlockAuthsResourceStatus401Schema = z.unknown();
2535
+ const getSmartlockAuthsResourceStatus403Schema = z.unknown();
2536
+ const getSmartlockAuthsResourceResponseSchema = z.union([
2537
+ getSmartlockAuthsResourceStatus200Schema,
2538
+ getSmartlockAuthsResourceStatus401Schema,
2539
+ getSmartlockAuthsResourceStatus403Schema
2540
+ ]);
2541
+ const putSmartlockAuthsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2542
+ const putSmartlockAuthsResourceStatus204Schema = z.unknown();
2543
+ const putSmartlockAuthsResourceStatus400Schema = z.unknown();
2544
+ const putSmartlockAuthsResourceStatus402Schema = z.unknown();
2545
+ const putSmartlockAuthsResourceStatus409Schema = z.unknown();
2546
+ const putSmartlockAuthsResourceStatus426Schema = z.unknown();
2547
+ const putSmartlockAuthsResourceResponseSchema = z.union([
2548
+ putSmartlockAuthsResourceStatus204Schema,
2549
+ putSmartlockAuthsResourceStatus400Schema,
2550
+ putSmartlockAuthsResourceStatus402Schema,
2551
+ putSmartlockAuthsResourceStatus409Schema,
2552
+ putSmartlockAuthsResourceStatus426Schema
2553
+ ]);
2554
+ const putSmartlockAuthsResourceDataSchema = smartlockAuthCreateSchema.describe("Smartlock authorization create representation");
2555
+ const postSmartlockAuthWithSharedKeyResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2556
+ const postSmartlockAuthWithSharedKeyResourceStatus200Schema = z.unknown();
2557
+ const postSmartlockAuthWithSharedKeyResourceStatus401Schema = z.unknown();
2558
+ const postSmartlockAuthWithSharedKeyResourceStatus403Schema = z.unknown();
2559
+ const postSmartlockAuthWithSharedKeyResourceStatus404Schema = z.unknown();
2560
+ const postSmartlockAuthWithSharedKeyResourceResponseSchema = z.union([
2561
+ postSmartlockAuthWithSharedKeyResourceStatus200Schema,
2562
+ postSmartlockAuthWithSharedKeyResourceStatus401Schema,
2563
+ postSmartlockAuthWithSharedKeyResourceStatus403Schema,
2564
+ postSmartlockAuthWithSharedKeyResourceStatus404Schema
2565
+ ]);
2566
+ const postSmartlockAuthWithSharedKeyResourceDataSchema = smartlockAuthWithSharedKeyCreateSchema.describe("Smartlock auth create with shared key");
2567
+ const getSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2568
+ const getSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock auth unique ID");
2569
+ const getSmartlockAuthResourceStatus200Schema = z.unknown();
2570
+ const getSmartlockAuthResourceStatus401Schema = z.unknown();
2571
+ const getSmartlockAuthResourceStatus403Schema = z.unknown();
2572
+ const getSmartlockAuthResourceResponseSchema = z.union([
2573
+ getSmartlockAuthResourceStatus200Schema,
2574
+ getSmartlockAuthResourceStatus401Schema,
2575
+ getSmartlockAuthResourceStatus403Schema
2576
+ ]);
2577
+ const postSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2578
+ const postSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock authorization unique ID");
2579
+ const postSmartlockAuthResourceStatus204Schema = z.unknown();
2580
+ const postSmartlockAuthResourceStatus400Schema = z.unknown();
2581
+ const postSmartlockAuthResourceStatus401Schema = z.unknown();
2582
+ const postSmartlockAuthResourceStatus403Schema = z.unknown();
2583
+ const postSmartlockAuthResourceStatus409Schema = z.unknown();
2584
+ const postSmartlockAuthResourceStatus423Schema = z.unknown();
2585
+ const postSmartlockAuthResourceResponseSchema = z.union([
2586
+ postSmartlockAuthResourceStatus204Schema,
2587
+ postSmartlockAuthResourceStatus400Schema,
2588
+ postSmartlockAuthResourceStatus401Schema,
2589
+ postSmartlockAuthResourceStatus403Schema,
2590
+ postSmartlockAuthResourceStatus409Schema,
2591
+ postSmartlockAuthResourceStatus423Schema
2592
+ ]);
2593
+ const postSmartlockAuthResourceDataSchema = smartlockAuthUpdateSchema.describe("Smartlock authorization update representation");
2594
+ const deleteSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2595
+ const deleteSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock authorization unique ID");
2596
+ const deleteSmartlockAuthResourceStatus204Schema = z.unknown();
2597
+ const deleteSmartlockAuthResourceStatus401Schema = z.unknown();
2598
+ const deleteSmartlockAuthResourceStatus403Schema = z.unknown();
2599
+ const deleteSmartlockAuthResourceStatus423Schema = z.unknown();
2600
+ const deleteSmartlockAuthResourceResponseSchema = z.union([
2601
+ deleteSmartlockAuthResourceStatus204Schema,
2602
+ deleteSmartlockAuthResourceStatus401Schema,
2603
+ deleteSmartlockAuthResourceStatus403Schema,
2604
+ deleteSmartlockAuthResourceStatus423Schema
2605
+ ]);
2606
+ const postSmartlockConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2607
+ const postSmartlockConfigResourceStatus204Schema = z.unknown();
2608
+ const postSmartlockConfigResourceStatus400Schema = z.unknown();
2609
+ const postSmartlockConfigResourceStatus401Schema = z.unknown();
2610
+ const postSmartlockConfigResourceResponseSchema = z.union([
2611
+ postSmartlockConfigResourceStatus204Schema,
2612
+ postSmartlockConfigResourceStatus400Schema,
2613
+ postSmartlockConfigResourceStatus401Schema
2614
+ ]);
2615
+ const postSmartlockConfigResourceDataSchema = smartlockConfigSchema.omit({
2616
+ "capabilities": true,
2617
+ "fobPaired": true,
2618
+ "fobAction1": true,
2619
+ "fobAction2": true,
2620
+ "fobAction3": true,
2621
+ "operatingMode": true,
2622
+ "keypadPaired": true,
2623
+ "keypad2Paired": true,
2624
+ "homekitState": true,
2625
+ "matterState": true,
2626
+ "deviceType": true,
2627
+ "wifiEnabled": true,
2628
+ "operationId": true,
2629
+ "productVariant": true
2630
+ }).describe("Smartlock config update representation");
2631
+ const getSmartlockLogsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2632
+ const getSmartlockLogsResourceQueryAuthIdSchema = z.string().optional().describe("Filter for auths");
2633
+ const getSmartlockLogsResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users");
2634
+ const getSmartlockLogsResourceQueryFromDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2635
+ const getSmartlockLogsResourceQueryToDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2636
+ const getSmartlockLogsResourceQueryActionSchema = z.int().optional().describe("Filter for action");
2637
+ const getSmartlockLogsResourceQueryIdSchema = z.string().optional().describe("Filter for older logs");
2638
+ const getSmartlockLogsResourceQueryLimitSchema = z.int().optional().default(20).describe("Amount of logs (max: 50)");
2639
+ const getSmartlockLogsResourceStatus200Schema = z.unknown();
2640
+ const getSmartlockLogsResourceStatus401Schema = z.unknown();
2641
+ const getSmartlockLogsResourceResponseSchema = z.union([
2642
+ getSmartlockLogsResourceStatus200Schema,
2643
+ getSmartlockLogsResourceStatus401Schema
2644
+ ]);
2645
+ const postSmartlockSyncResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2646
+ const postSmartlockSyncResourceStatus204Schema = z.unknown();
2647
+ const postSmartlockSyncResourceStatus400Schema = z.unknown();
2648
+ const postSmartlockSyncResourceStatus401Schema = z.unknown();
2649
+ const postSmartlockSyncResourceResponseSchema = z.union([
2650
+ postSmartlockSyncResourceStatus204Schema,
2651
+ postSmartlockSyncResourceStatus400Schema,
2652
+ postSmartlockSyncResourceStatus401Schema
2653
+ ]);
2654
+ const postSmartlockWebConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2655
+ const postSmartlockWebConfigResourceStatus204Schema = z.unknown();
2656
+ const postSmartlockWebConfigResourceStatus400Schema = z.unknown();
2657
+ const postSmartlockWebConfigResourceStatus401Schema = z.unknown();
2658
+ const postSmartlockWebConfigResourceResponseSchema = z.union([
2659
+ postSmartlockWebConfigResourceStatus204Schema,
2660
+ postSmartlockWebConfigResourceStatus400Schema,
2661
+ postSmartlockWebConfigResourceStatus401Schema
2662
+ ]);
2663
+ const postSmartlockWebConfigResourceDataSchema = smartlockWebConfigSchema.describe("Smartlock web config update representation");
2664
+
2665
+ export { accountConfigSchema, accountDescentSchema, accountEmailChangeSchema, accountIntegrationSchema, accountOtpEnableSchema, accountPasswordResetSchema, accountProfileSchema, accountSchema, accountSettingSchema, accountSettingWebSchema, accountSubCreateSchema, accountSubUpdateSchema, accountUpdateSchema, accountUserCreateSchema, accountUserSchema, accountUserUpdateSchema, addressCreateSchema, addressReservationSchema, addressSchema, addressTokenInfoSchema, addressTokenSchema, addressUnitResponseSchema, addressUnitSchema, addressUpdateSchema, advancedApiKeyCreateSchema, advancedApiKeySchema, advancedApiKeyUpdateSchema, advancedConfirmationResponseSchema, apiKeyAdvancedSchema, apiKeyCreateSchema, apiKeySchema, apiKeyServiceSchema, apiKeyTokenCreateSchema, apiKeyTokenSchema, apiKeyTokenUpdateSchema, apiKeyUpdateSchema, applicationSchema, authenticationInfoSchema, bulkWebConfigRequestSchema, cacheDirectiveSchema, certificateSchema, challengeRequestSchema, challengeResponseSchema, challengeSchemeSchema, characterSetSchema, clientInfoSchema, companySchema, completableFutureListApiKeySchema, completableFutureSchema, conditionsSchema, connectorServiceSchema, connegServiceSchema, contextSchema, converterServiceSchema, cookieSchema, cookieSettingSchema, decentralWebhookSchema, decoderServiceSchema, deleteAccountIntegrationsResourceQueryApiKeyIdSchema, deleteAccountIntegrationsResourceQueryTokenIdSchema, deleteAccountIntegrationsResourceResponseSchema, deleteAccountIntegrationsResourceStatus204Schema, deleteAccountIntegrationsResourceStatus401Schema, deleteAccountOtpResourceResponseSchema, deleteAccountOtpResourceStatus204Schema, deleteAccountOtpResourceStatus401Schema, deleteAccountSettingResourceResponseSchema, deleteAccountSettingResourceStatus204Schema, deleteAccountSettingResourceStatus401Schema, deleteAccountSettingResourceStatus403Schema, deleteAccountSubResourcePathAccountIdSchema, deleteAccountSubResourceResponseSchema, deleteAccountSubResourceStatus204Schema, deleteAccountSubResourceStatus401Schema, deleteAccountUserResourcePathAccountUserIdSchema, deleteAccountUserResourceResponseSchema, deleteAccountUserResourceStatus204Schema, deleteAccountUserResourceStatus401Schema, deleteAccountUserResourceStatus423Schema, deleteAccountsResourceResponseSchema, deleteAccountsResourceStatus204Schema, deleteAccountsResourceStatus401Schema, deleteAddressResourcePathAddressIdSchema, deleteAddressResourceResponseSchema, deleteAddressResourceStatus204Schema, deleteAddressResourceStatus401Schema, deleteAddressResourceStatus403Schema, deleteAddressUnitResourcePathAddressIdSchema, deleteAddressUnitResourcePathIdSchema, deleteAddressUnitResourceResponseSchema, deleteAddressUnitResourceStatus200Schema, deleteAddressUnitResourceStatus401Schema, deleteAddressUnitResourceStatus403Schema, deleteAddressUnitResourceStatus423Schema, deleteAddressUnitsResourceDataSchema, deleteAddressUnitsResourcePathAddressIdSchema, deleteAddressUnitsResourceResponseSchema, deleteAddressUnitsResourceStatus200Schema, deleteAddressUnitsResourceStatus400Schema, deleteAddressUnitsResourceStatus401Schema, deleteAddressUnitsResourceStatus403Schema, deleteAddressUnitsResourceStatus423Schema, deleteApiKeyAdvancedResourcePathApiKeyIdSchema, deleteApiKeyAdvancedResourceResponseSchema, deleteApiKeyAdvancedResourceStatus204Schema, deleteApiKeyAdvancedResourceStatus401Schema, deleteApiKeyResourcePathApiKeyIdSchema, deleteApiKeyResourceResponseSchema, deleteApiKeyResourceStatus204Schema, deleteApiKeyResourceStatus401Schema, deleteApiKeyTokenResourcePathApiKeyIdSchema, deleteApiKeyTokenResourcePathIdSchema, deleteApiKeyTokenResourceResponseSchema, deleteApiKeyTokenResourceStatus204Schema, deleteApiKeyTokenResourceStatus401Schema, deleteDecentralWebhookResourcePathIdSchema, deleteDecentralWebhookResourceResponseSchema, deleteDecentralWebhookResourceStatus204Schema, deleteDecentralWebhookResourceStatus401Schema, deleteDecentralWebhookResourceStatus403Schema, deleteNotificationResourcePathNotificationIdSchema, deleteNotificationResourceResponseSchema, deleteNotificationResourceStatus204Schema, deleteNotificationResourceStatus401Schema, deleteNotificationResourceStatus403Schema, deleteNotificationResourceStatus405Schema, deleteSmartlockAuthResourcePathIdSchema, deleteSmartlockAuthResourcePathSmartlockIdSchema, deleteSmartlockAuthResourceResponseSchema, deleteSmartlockAuthResourceStatus204Schema, deleteSmartlockAuthResourceStatus401Schema, deleteSmartlockAuthResourceStatus403Schema, deleteSmartlockAuthResourceStatus423Schema, deleteSmartlockResourcePathSmartlockIdSchema, deleteSmartlockResourceResponseSchema, deleteSmartlockResourceStatus204Schema, deleteSmartlockResourceStatus400Schema, deleteSmartlockResourceStatus401Schema, deleteSmartlockResourceStatus403Schema, deleteSmartlocksAuthsResourceDataSchema, deleteSmartlocksAuthsResourceResponseSchema, deleteSmartlocksAuthsResourceStatus204Schema, deleteSmartlocksAuthsResourceStatus400Schema, deleteSmartlocksAuthsResourceStatus401Schema, deleteSmartlocksAuthsResourceStatus403Schema, deleteSmartlocksAuthsResourceStatus423Schema, digestSchema, dispositionSchema, encoderServiceSchema, encodingSchema, enrolerSchema, enumerationSchema, enumerationStringSchema, errorManagerSchema, expectationSchema, filterSchema, formatterSchema, getAccountIntegrationsResourceResponseSchema, getAccountIntegrationsResourceStatus200Schema, getAccountIntegrationsResourceStatus401Schema, getAccountSettingResourceResponseSchema, getAccountSettingResourceStatus200Schema, getAccountSettingResourceStatus401Schema, getAccountSettingResourceStatus403Schema, getAccountSettingResourceStatus404Schema, getAccountSubResourcePathAccountIdSchema, getAccountSubResourceResponseSchema, getAccountSubResourceStatus200Schema, getAccountSubResourceStatus401Schema, getAccountSubsResourceQueryEmailSchema, getAccountSubsResourceResponseSchema, getAccountSubsResourceStatus200Schema, getAccountSubsResourceStatus401Schema, getAccountUserResourcePathAccountUserIdSchema, getAccountUserResourceResponseSchema, getAccountUserResourceStatus200Schema, getAccountUserResourceStatus401Schema, getAccountUsersResourceQueryEmailSchema, getAccountUsersResourceQueryLimitSchema, getAccountUsersResourceQueryOffsetSchema, getAccountUsersResourceResponseSchema, getAccountUsersResourceStatus200Schema, getAccountUsersResourceStatus401Schema, getAccountsResourceResponseSchema, getAccountsResourceStatus200Schema, getAccountsResourceStatus401Schema, getAddressReservationsResourcePathAddressIdSchema, getAddressReservationsResourceResponseSchema, getAddressReservationsResourceStatus200Schema, getAddressReservationsResourceStatus401Schema, getAddressTokenRedeemResourcePathIdSchema, getAddressTokenRedeemResourceResponseSchema, getAddressTokenRedeemResourceStatus200Schema, getAddressTokenRedeemResourceStatus401Schema, getAddressTokenRedeemResourceStatus404Schema, getAddressTokenResourcePathIdSchema, getAddressTokenResourceResponseSchema, getAddressTokenResourceStatus200Schema, getAddressTokenResourceStatus401Schema, getAddressTokenResourceStatus404Schema, getAddressTokensResourcePathAddressIdSchema, getAddressTokensResourceResponseSchema, getAddressTokensResourceStatus200Schema, getAddressTokensResourceStatus400Schema, getAddressTokensResourceStatus401Schema, getAddressUnitsResourcePathAddressIdSchema, getAddressUnitsResourceResponseSchema, getAddressUnitsResourceStatus200Schema, getAddressUnitsResourceStatus400Schema, getAddressUnitsResourceStatus401Schema, getAddressesResourceResponseSchema, getAddressesResourceStatus200Schema, getAddressesResourceStatus401Schema, getApiKeyAdvancedResourcePathApiKeyIdSchema, getApiKeyAdvancedResourceResponseSchema, getApiKeyAdvancedResourceStatus200Schema, getApiKeyAdvancedResourceStatus401Schema, getApiKeyAdvancedResourceStatus403Schema, getApiKeyAdvancedResourceStatus404Schema, getApiKeyTokensResourcePathApiKeyIdSchema, getApiKeyTokensResourceResponseSchema, getApiKeyTokensResourceStatus200Schema, getApiKeyTokensResourceStatus401Schema, getApiKeysResourceResponseSchema, getApiKeysResourceStatus200Schema, getApiKeysResourceStatus401Schema, getCompaniesResourceResponseSchema, getCompaniesResourceStatus200Schema, getCompaniesResourceStatus401Schema, getCompaniesResourceStatus403Schema, getDecentralWebhooksResourceResponseSchema, getDecentralWebhooksResourceStatus200Schema, getDecentralWebhooksResourceStatus401Schema, getDecentralWebhooksResourceStatus403Schema, getNotificationResourcePathNotificationIdSchema, getNotificationResourceResponseSchema, getNotificationResourceStatus200Schema, getNotificationResourceStatus401Schema, getNotificationResourceStatus403Schema, getNotificationResourceStatus404Schema, getNotificationsResourceQueryReferenceIdSchema, getNotificationsResourceResponseSchema, getNotificationsResourceStatus200Schema, getNotificationsResourceStatus401Schema, getOpenerBrandResourcePathBrandIdSchema, getOpenerBrandResourceResponseSchema, getOpenerBrandResourceStatus200Schema, getOpenerBrandsResourceResponseSchema, getOpenerBrandsResourceStatus200Schema, getOpenerIntercomResourcePathIntercomIdSchema, getOpenerIntercomResourceResponseSchema, getOpenerIntercomResourceStatus200Schema, getOpenerIntercomsResourceQueryBrandIdSchema, getOpenerIntercomsResourceQueryIgnoreVerifiedSchema, getOpenerIntercomsResourceQueryRecentlyChangedSchema, getOpenerIntercomsResourceResponseSchema, getOpenerIntercomsResourceStatus200Schema, getServiceResourcePathServiceIdSchema, getServiceResourceResponseSchema, getServiceResourceStatus200Schema, getServiceResourceStatus401Schema, getServicesResourceQueryServiceIdsSchema, getServicesResourceResponseSchema, getServicesResourceStatus200Schema, getServicesResourceStatus401Schema, getSmartlockAuthResourcePathIdSchema, getSmartlockAuthResourcePathSmartlockIdSchema, getSmartlockAuthResourceResponseSchema, getSmartlockAuthResourceStatus200Schema, getSmartlockAuthResourceStatus401Schema, getSmartlockAuthResourceStatus403Schema, getSmartlockAuthsResourcePathSmartlockIdSchema, getSmartlockAuthsResourceQueryIncludeEmailSchema, getSmartlockAuthsResourceQueryTypesSchema, getSmartlockAuthsResourceResponseSchema, getSmartlockAuthsResourceStatus200Schema, getSmartlockAuthsResourceStatus401Schema, getSmartlockAuthsResourceStatus403Schema, getSmartlockLogsResourcePathSmartlockIdSchema, getSmartlockLogsResourceQueryAccountUserIdSchema, getSmartlockLogsResourceQueryActionSchema, getSmartlockLogsResourceQueryAuthIdSchema, getSmartlockLogsResourceQueryFromDateSchema, getSmartlockLogsResourceQueryIdSchema, getSmartlockLogsResourceQueryLimitSchema, getSmartlockLogsResourceQueryToDateSchema, getSmartlockLogsResourceResponseSchema, getSmartlockLogsResourceStatus200Schema, getSmartlockLogsResourceStatus401Schema, getSmartlockResourcePathSmartlockIdSchema, getSmartlockResourceResponseSchema, getSmartlockResourceStatus200Schema, getSmartlockResourceStatus401Schema, getSmartlockResourceStatus403Schema, getSmartlockResourceStatus404Schema, getSmartlocksAuthsPaginatedResourceQueryAccountUserIdSchema, getSmartlocksAuthsPaginatedResourceQueryPageSchema, getSmartlocksAuthsPaginatedResourceQuerySizeSchema, getSmartlocksAuthsPaginatedResourceQueryTypesSchema, getSmartlocksAuthsPaginatedResourceResponseSchema, getSmartlocksAuthsPaginatedResourceStatus200Schema, getSmartlocksAuthsPaginatedResourceStatus401Schema, getSmartlocksAuthsResourceQueryAccountUserIdSchema, getSmartlocksAuthsResourceQueryTypesSchema, getSmartlocksAuthsResourceResponseSchema, getSmartlocksAuthsResourceStatus200Schema, getSmartlocksAuthsResourceStatus401Schema, getSmartlocksLogsResourceQueryAccountUserIdSchema, getSmartlocksLogsResourceQueryActionSchema, getSmartlocksLogsResourceQueryFromDateSchema, getSmartlocksLogsResourceQueryIdSchema, getSmartlocksLogsResourceQueryLimitSchema, getSmartlocksLogsResourceQueryToDateSchema, getSmartlocksLogsResourceResponseSchema, getSmartlocksLogsResourceStatus200Schema, getSmartlocksLogsResourceStatus401Schema, getSmartlocksResourceQueryAuthIdSchema, getSmartlocksResourceQueryTypeSchema, getSmartlocksResourceResponseSchema, getSmartlocksResourceStatus200Schema, getSmartlocksResourceStatus401Schema, getWebhookLogsResourcePathApiKeyIdSchema, getWebhookLogsResourceQueryIdSchema, getWebhookLogsResourceQueryLimitSchema, getWebhookLogsResourceResponseSchema, getWebhookLogsResourceStatus200Schema, getWebhookLogsResourceStatus401Schema, handlerSchema, headerSchema, inputStreamSchema, languageSchema, levelSchema, localeSchema, loggerSchema, mediaTypeSchema, metadataSchema, metadataServiceSchema, methodSchema, myAccountSchema, namedValueSchema, namedValueStringSchema, notificationSchema, notificationSettingSchema, objectIdSchema, openerIntercomBrandSchema, openerIntercomModelSchema, paginatedResponseSchema, paginationSchema, parameterSchema, postAccountEmailChangeResourceDataSchema, postAccountEmailChangeResourceResponseSchema, postAccountEmailChangeResourceStatus204Schema, postAccountEmailChangeResourceStatus400Schema, postAccountEmailChangeResourceStatus401Schema, postAccountEmailChangeResourceStatus409Schema, postAccountEmailVerifyResourceResponseSchema, postAccountEmailVerifyResourceStatus204Schema, postAccountEmailVerifyResourceStatus400Schema, postAccountEmailVerifyResourceStatus401Schema, postAccountEmailVerifyResourceStatus409Schema, postAccountOtpResourceDataSchema, postAccountOtpResourceResponseSchema, postAccountOtpResourceStatus204Schema, postAccountOtpResourceStatus400Schema, postAccountOtpResourceStatus401Schema, postAccountOtpResourceStatus429Schema, postAccountPasswordResetResourceDataSchema, postAccountPasswordResetResourceResponseSchema, postAccountPasswordResetResourceStatus204Schema, postAccountPasswordResetResourceStatus401Schema, postAccountSubResourceDataSchema, postAccountSubResourcePathAccountIdSchema, postAccountSubResourceResponseSchema, postAccountSubResourceStatus204Schema, postAccountSubResourceStatus400Schema, postAccountSubResourceStatus401Schema, postAccountSubResourceStatus409Schema, postAccountUserResourceDataSchema, postAccountUserResourcePathAccountUserIdSchema, postAccountUserResourceResponseSchema, postAccountUserResourceStatus200Schema, postAccountUserResourceStatus204Schema, postAccountUserResourceStatus400Schema, postAccountUserResourceStatus401Schema, postAccountUserResourceStatus409Schema, postAccountsResourceDataSchema, postAccountsResourceQueryDeleteApiTokensSchema, postAccountsResourceResponseSchema, postAccountsResourceStatus204Schema, postAccountsResourceStatus400Schema, postAccountsResourceStatus401Schema, postAccountsResourceStatus409Schema, postAddressReservationIssueResourcePathAddressIdSchema, postAddressReservationIssueResourcePathIdSchema, postAddressReservationIssueResourceResponseSchema, postAddressReservationIssueResourceStatus204Schema, postAddressReservationIssueResourceStatus400Schema, postAddressReservationIssueResourceStatus401Schema, postAddressReservationRevokeResourcePathAddressIdSchema, postAddressReservationRevokeResourcePathIdSchema, postAddressReservationRevokeResourceResponseSchema, postAddressReservationRevokeResourceStatus204Schema, postAddressReservationRevokeResourceStatus400Schema, postAddressReservationRevokeResourceStatus401Schema, postAddressResourceDataSchema, postAddressResourcePathAddressIdSchema, postAddressResourceResponseSchema, postAddressResourceStatus204Schema, postAddressResourceStatus400Schema, postAddressResourceStatus401Schema, postAddressResourceStatus403Schema, postAddressTokenRedeemResourcePathIdSchema, postAddressTokenRedeemResourceQueryEmailSchema, postAddressTokenRedeemResourceResponseSchema, postAddressTokenRedeemResourceStatus204Schema, postAddressTokenRedeemResourceStatus400Schema, postAddressTokenRedeemResourceStatus401Schema, postAddressTokenRedeemResourceStatus404Schema, postApiKeyAdvancedReactivateResourcePathApiKeyIdSchema, postApiKeyAdvancedReactivateResourceResponseSchema, postApiKeyAdvancedReactivateResourceStatus204Schema, postApiKeyAdvancedReactivateResourceStatus400Schema, postApiKeyAdvancedReactivateResourceStatus401Schema, postApiKeyAdvancedResourceDataSchema, postApiKeyAdvancedResourcePathApiKeyIdSchema, postApiKeyAdvancedResourceResponseSchema, postApiKeyAdvancedResourceStatus204Schema, postApiKeyAdvancedResourceStatus400Schema, postApiKeyAdvancedResourceStatus401Schema, postApiKeyResourceDataSchema, postApiKeyResourcePathApiKeyIdSchema, postApiKeyResourceResponseSchema, postApiKeyResourceStatus204Schema, postApiKeyResourceStatus400Schema, postApiKeyResourceStatus401Schema, postApiKeyTokenResourceDataSchema, postApiKeyTokenResourcePathApiKeyIdSchema, postApiKeyTokenResourcePathIdSchema, postApiKeyTokenResourceResponseSchema, postApiKeyTokenResourceStatus204Schema, postApiKeyTokenResourceStatus400Schema, postApiKeyTokenResourceStatus401Schema, postNotificationResourceDataSchema, postNotificationResourcePathNotificationIdSchema, postNotificationResourceResponseSchema, postNotificationResourceStatus200Schema, postNotificationResourceStatus400Schema, postNotificationResourceStatus401Schema, postNotificationResourceStatus403Schema, postReservationAccessTimesUpdateResourceDataSchema, postReservationAccessTimesUpdateResourcePathAddressIdSchema, postReservationAccessTimesUpdateResourcePathIdSchema, postReservationAccessTimesUpdateResourceResponseSchema, postReservationAccessTimesUpdateResourceStatus204Schema, postReservationAccessTimesUpdateResourceStatus400Schema, postReservationAccessTimesUpdateResourceStatus401Schema, postServiceLinkResourcePathServiceIdSchema, postServiceLinkResourceResponseSchema, postServiceLinkResourceStatus200Schema, postServiceLinkResourceStatus400Schema, postServiceLinkResourceStatus401Schema, postServiceSyncResourcePathServiceIdSchema, postServiceSyncResourceResponseSchema, postServiceSyncResourceStatus204Schema, postServiceSyncResourceStatus400Schema, postServiceSyncResourceStatus401Schema, postServiceUnlinkResourcePathServiceIdSchema, postServiceUnlinkResourceResponseSchema, postServiceUnlinkResourceStatus204Schema, postServiceUnlinkResourceStatus400Schema, postServiceUnlinkResourceStatus401Schema, postSmartdoorAdvancedConfigResourceDataSchema, postSmartdoorAdvancedConfigResourcePathSmartlockIdSchema, postSmartdoorAdvancedConfigResourceResponseSchema, postSmartdoorAdvancedConfigResourceStatus204Schema, postSmartdoorAdvancedConfigResourceStatus400Schema, postSmartdoorAdvancedConfigResourceStatus401Schema, postSmartlockActionAdvancedResourceDataSchema, postSmartlockActionAdvancedResourcePathSmartlockIdSchema, postSmartlockActionAdvancedResourceResponseSchema, postSmartlockActionAdvancedResourceStatus200Schema, postSmartlockActionAdvancedResourceStatus400Schema, postSmartlockActionAdvancedResourceStatus402Schema, postSmartlockActionAdvancedResourceStatus409Schema, postSmartlockActionAdvancedResourceStatus426Schema, postSmartlockActionResourceDataSchema, postSmartlockActionResourcePathSmartlockIdSchema, postSmartlockActionResourceResponseSchema, postSmartlockActionResourceStatus204Schema, postSmartlockActionResourceStatus400Schema, postSmartlockActionResourceStatus401Schema, postSmartlockActionResourceStatus402Schema, postSmartlockAdminPinResourceDataSchema, postSmartlockAdminPinResourcePathSmartlockIdSchema, postSmartlockAdminPinResourceResponseSchema, postSmartlockAdminPinResourceStatus204Schema, postSmartlockAdminPinResourceStatus400Schema, postSmartlockAdminPinResourceStatus401Schema, postSmartlockAdvancedConfigResourceDataSchema, postSmartlockAdvancedConfigResourcePathSmartlockIdSchema, postSmartlockAdvancedConfigResourceResponseSchema, postSmartlockAdvancedConfigResourceStatus204Schema, postSmartlockAdvancedConfigResourceStatus400Schema, postSmartlockAdvancedConfigResourceStatus401Schema, postSmartlockAuthResourceDataSchema, postSmartlockAuthResourcePathIdSchema, postSmartlockAuthResourcePathSmartlockIdSchema, postSmartlockAuthResourceResponseSchema, postSmartlockAuthResourceStatus204Schema, postSmartlockAuthResourceStatus400Schema, postSmartlockAuthResourceStatus401Schema, postSmartlockAuthResourceStatus403Schema, postSmartlockAuthResourceStatus409Schema, postSmartlockAuthResourceStatus423Schema, postSmartlockAuthWithSharedKeyResourceDataSchema, postSmartlockAuthWithSharedKeyResourcePathSmartlockIdSchema, postSmartlockAuthWithSharedKeyResourceResponseSchema, postSmartlockAuthWithSharedKeyResourceStatus200Schema, postSmartlockAuthWithSharedKeyResourceStatus401Schema, postSmartlockAuthWithSharedKeyResourceStatus403Schema, postSmartlockAuthWithSharedKeyResourceStatus404Schema, postSmartlockBulkWebConfigResourceDataSchema, postSmartlockBulkWebConfigResourceResponseSchema, postSmartlockBulkWebConfigResourceStatus204Schema, postSmartlockBulkWebConfigResourceStatus400Schema, postSmartlockBulkWebConfigResourceStatus401Schema, postSmartlockConfigResourceDataSchema, postSmartlockConfigResourcePathSmartlockIdSchema, postSmartlockConfigResourceResponseSchema, postSmartlockConfigResourceStatus204Schema, postSmartlockConfigResourceStatus400Schema, postSmartlockConfigResourceStatus401Schema, postSmartlockLockActionAdvancedResourcePathSmartlockIdSchema, postSmartlockLockActionAdvancedResourceResponseSchema, postSmartlockLockActionAdvancedResourceStatus200Schema, postSmartlockLockActionAdvancedResourceStatus400Schema, postSmartlockLockActionAdvancedResourceStatus401Schema, postSmartlockLockActionAdvancedResourceStatus405Schema, postSmartlockLockActionResourcePathSmartlockIdSchema, postSmartlockLockActionResourceResponseSchema, postSmartlockLockActionResourceStatus204Schema, postSmartlockLockActionResourceStatus400Schema, postSmartlockLockActionResourceStatus401Schema, postSmartlockLockActionResourceStatus405Schema, postSmartlockOpenerAdvancedConfigResourceDataSchema, postSmartlockOpenerAdvancedConfigResourcePathSmartlockIdSchema, postSmartlockOpenerAdvancedConfigResourceResponseSchema, postSmartlockOpenerAdvancedConfigResourceStatus204Schema, postSmartlockOpenerAdvancedConfigResourceStatus400Schema, postSmartlockOpenerAdvancedConfigResourceStatus401Schema, postSmartlockResourceDataSchema, postSmartlockResourcePathSmartlockIdSchema, postSmartlockResourceResponseSchema, postSmartlockResourceStatus204Schema, postSmartlockResourceStatus400Schema, postSmartlockResourceStatus401Schema, postSmartlockResourceStatus403Schema, postSmartlockSyncResourcePathSmartlockIdSchema, postSmartlockSyncResourceResponseSchema, postSmartlockSyncResourceStatus204Schema, postSmartlockSyncResourceStatus400Schema, postSmartlockSyncResourceStatus401Schema, postSmartlockUnlockActionAdvancedResourcePathSmartlockIdSchema, postSmartlockUnlockActionAdvancedResourceResponseSchema, postSmartlockUnlockActionAdvancedResourceStatus200Schema, postSmartlockUnlockActionAdvancedResourceStatus400Schema, postSmartlockUnlockActionAdvancedResourceStatus401Schema, postSmartlockUnlockActionAdvancedResourceStatus405Schema, postSmartlockUnlockActionResourcePathSmartlockIdSchema, postSmartlockUnlockActionResourceResponseSchema, postSmartlockUnlockActionResourceStatus204Schema, postSmartlockUnlockActionResourceStatus400Schema, postSmartlockUnlockActionResourceStatus401Schema, postSmartlockUnlockActionResourceStatus405Schema, postSmartlockWebConfigResourceDataSchema, postSmartlockWebConfigResourcePathSmartlockIdSchema, postSmartlockWebConfigResourceResponseSchema, postSmartlockWebConfigResourceStatus204Schema, postSmartlockWebConfigResourceStatus400Schema, postSmartlockWebConfigResourceStatus401Schema, postSmartlocksAuthsResourceDataSchema, postSmartlocksAuthsResourceResponseSchema, postSmartlocksAuthsResourceStatus204Schema, postSmartlocksAuthsResourceStatus400Schema, postSmartlocksAuthsResourceStatus401Schema, postSmartlocksAuthsResourceStatus403Schema, postSmartlocksAuthsResourceStatus409Schema, postSmartlocksAuthsResourceStatus423Schema, preferenceCharacterSetSchema, preferenceEncodingSchema, preferenceLanguageSchema, preferenceMediaTypeSchema, preferenceSchema, principalSchema, productSchema, protocolSchema, publicKeySchema, putAccountOtpResourceResponseSchema, putAccountOtpResourceStatus200Schema, putAccountOtpResourceStatus405Schema, putAccountSettingResourceDataSchema, putAccountSettingResourceResponseSchema, putAccountSettingResourceStatus200Schema, putAccountSettingResourceStatus400Schema, putAccountSettingResourceStatus401Schema, putAccountSubsResourceDataSchema, putAccountSubsResourceResponseSchema, putAccountSubsResourceStatus200Schema, putAccountSubsResourceStatus400Schema, putAccountUsersResourceDataSchema, putAccountUsersResourceResponseSchema, putAccountUsersResourceStatus200Schema, putAccountUsersResourceStatus400Schema, putAddressUnitsResourceDataSchema, putAddressUnitsResourcePathAddressIdSchema, putAddressUnitsResourceResponseSchema, putAddressUnitsResourceStatus200Schema, putAddressUnitsResourceStatus400Schema, putAddressUnitsResourceStatus401Schema, putAddressUnitsResourceStatus403Schema, putAddressesResourceDataSchema, putAddressesResourceResponseSchema, putAddressesResourceStatus200Schema, putAddressesResourceStatus400Schema, putAddressesResourceStatus401Schema, putApiKeyAdvancedResourceDataSchema, putApiKeyAdvancedResourcePathApiKeyIdSchema, putApiKeyAdvancedResourceResponseSchema, putApiKeyAdvancedResourceStatus204Schema, putApiKeyAdvancedResourceStatus400Schema, putApiKeyAdvancedResourceStatus401Schema, putApiKeyTokensResourceDataSchema, putApiKeyTokensResourcePathApiKeyIdSchema, putApiKeyTokensResourceResponseSchema, putApiKeyTokensResourceStatus200Schema, putApiKeyTokensResourceStatus400Schema, putApiKeyTokensResourceStatus401Schema, putApiKeysResourceDataSchema, putApiKeysResourceResponseSchema, putApiKeysResourceStatus200Schema, putApiKeysResourceStatus400Schema, putApiKeysResourceStatus401Schema, putDecentralWebhooksResourceDataSchema, putDecentralWebhooksResourceResponseSchema, putDecentralWebhooksResourceStatus200Schema, putDecentralWebhooksResourceStatus400Schema, putDecentralWebhooksResourceStatus401Schema, putDecentralWebhooksResourceStatus403Schema, putNotificationsResourceDataSchema, putNotificationsResourceResponseSchema, putNotificationsResourceStatus200Schema, putNotificationsResourceStatus400Schema, putNotificationsResourceStatus401Schema, putNotificationsResourceStatus403Schema, putSmartlockAuthsAdvancedResourceDataSchema, putSmartlockAuthsAdvancedResourceResponseSchema, putSmartlockAuthsAdvancedResourceStatus200Schema, putSmartlockAuthsAdvancedResourceStatus400Schema, putSmartlockAuthsAdvancedResourceStatus402Schema, putSmartlockAuthsAdvancedResourceStatus409Schema, putSmartlockAuthsAdvancedResourceStatus426Schema, putSmartlockAuthsResourceDataSchema, putSmartlockAuthsResourcePathSmartlockIdSchema, putSmartlockAuthsResourceResponseSchema, putSmartlockAuthsResourceStatus204Schema, putSmartlockAuthsResourceStatus400Schema, putSmartlockAuthsResourceStatus402Schema, putSmartlockAuthsResourceStatus409Schema, putSmartlockAuthsResourceStatus426Schema, putSmartlocksAuthsResourceDataSchema, putSmartlocksAuthsResourceResponseSchema, putSmartlocksAuthsResourceStatus204Schema, putSmartlocksAuthsResourceStatus400Schema, putSmartlocksAuthsResourceStatus402Schema, putSmartlocksAuthsResourceStatus409Schema, putSmartlocksAuthsResourceStatus426Schema, rangeSchema, rangeServiceSchema, readableByteChannelSchema, readerSchema, recipientInfoSchema, referenceSchema, representationSchema, requestSchema, reservationAccessTimesUpdateSchema, resourceBundleSchema, responseSchema, restletSchema, roleSchema, scheduledExecutorServiceSchema, selectableChannelSchema, selectionListenerSchema, selectionRegistrationSchema, serverInfoSchema, serviceSchema, shsSubscriptionSchema, smartlockActionSchema, smartlockAdminPinUpdateSchema, smartlockAdvancedConfigSchema, smartlockAuthCreateSchema, smartlockAuthMultiUpdateSchema, smartlockAuthSchema, smartlockAuthUpdateSchema, smartlockAuthWithSharedKeyCreateSchema, smartlockConfigSchema, smartlockLogOpenerLogSchema, smartlockLogSchema, smartlockOpenerAdvancedConfigSchema, smartlockSchema, smartlockSmartdoorAdvancedConfigSchema, smartlockStateSchema, smartlockUpdateSchema, smartlockWebConfigSchema, smartlocksAuthAdvancedCreateSchema, smartlocksAuthCreateSchema, stackTraceElementSchema, staleDeviceSchema, statusSchema, statusServiceSchema, tagSchema, taskServiceSchema, termsOfUseSchema, throwableSchema, tunnelServiceSchema, uniformSchema, userSchema, variantSchema, verifierSchema, wakeupListenerSchema, warningSchema, webConfigRequestSchema, webhookLogSchema, webhookMessageSchema };