nuki-api-js 0.2.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2739 @@
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").meta({
40
+ examples: [
41
+ "de"
42
+ ]
43
+ }),
44
+ config: accountConfigSchema.optional().describe("The optional config"),
45
+ profile: accountProfileSchema.optional().describe("The optional profile"),
46
+ creationDate: z.iso.datetime().describe("The creation date"),
47
+ updateDate: z.iso.datetime().describe("The update date"),
48
+ descent: accountDescentSchema.optional().describe("Set, if your account is not a standard Nuki Web account"),
49
+ shsSubscriptionType: z.enum([
50
+ "BUSINESS",
51
+ "STANDARD",
52
+ "BUSINESS_PLUS",
53
+ "API_ONLY"
54
+ ]).optional().describe("subscription type of the account (b2b)"),
55
+ b2bActive: z.boolean().optional(),
56
+ apiTermsOfUse: termsOfUseSchema.optional()
57
+ });
58
+ const accountEmailChangeSchema = z.object({
59
+ email: z.string().describe("The new email for the account")
60
+ });
61
+ const accountIntegrationSchema = z.object({
62
+ version: z.enum([
63
+ "LEGACY",
64
+ "HYDRA"
65
+ ]).describe("If the integration/device is an legacy or from the new oauth implementation"),
66
+ vendorKey: z.string().describe("Enum key identifying the integration/device, values are e.g. ALEXA, IOS, NUKI_WEB, API_TOKEN etc"),
67
+ subAccountName: z.string().optional().describe("Name of the sub-account or null if there is none, which is associated with this token"),
68
+ subAccountId: z.int().optional().describe("Id of the sub-account or null if there is none, which is associated with this token"),
69
+ subAccount: z.boolean().optional().describe("True if the integration is done via a sub-account"),
70
+ name: z.string().describe("Name of the token"),
71
+ description: z.string().optional().describe("Description given by the user, usually only set for api tokens"),
72
+ createdAt: z.iso.datetime().optional().describe("First creation date of the token"),
73
+ lastActiveAt: z.iso.datetime().optional().describe("Last refresh date of the token"),
74
+ scopes: z.array(z.string()).optional().describe("The scopes which have been granted to the token"),
75
+ warning: z.boolean().optional().describe("If this is from a legacy integration this is set to true"),
76
+ tokenId: z.string().optional().describe("The tokenId if this a manual generated api token"),
77
+ advancedType: z.string().optional().describe("The enum advanced type (HEALTHCARE e.g.) if this integration is a advanced one"),
78
+ advancedState: z.string().optional().describe("The enum advanced state (TESTING e.g.) if this integration is a advanced one"),
79
+ clientId: z.string().describe("The clientId of this integration/device used for deleting the integration"),
80
+ sortOrder: z.int().optional().describe("Sort order by which the entry should be sorted, is being set by the vendor key enum"),
81
+ device: z.boolean().optional().describe("True this is a device and false this is an integration")
82
+ });
83
+ const accountOtpEnableSchema = z.object({
84
+ otp: z.string().describe("The one time password (otp)")
85
+ });
86
+ const accountPasswordResetSchema = z.object({
87
+ email: z.string(),
88
+ deleteApiTokens: z.boolean().optional()
89
+ });
90
+ const staleDeviceSchema = z.object({
91
+ smartlockId: z.coerce.bigint().optional(),
92
+ name: z.string().optional(),
93
+ read: z.boolean().optional()
94
+ });
95
+ const accountSettingWebSchema = z.object({
96
+ deviceViewType: z.enum([
97
+ "LIST",
98
+ "TILE"
99
+ ]).optional().describe("The initial view type of the device page"),
100
+ deviceSortType: z.enum([
101
+ "FAVOURITES_FIRST",
102
+ "NAME_ASC",
103
+ "NAME_DESC",
104
+ "LAST_ADDED_DESC"
105
+ ]).optional().describe("The initial sort type of the device page"),
106
+ nukiClubDismissed: z.boolean().optional().describe("If true, Nuki Club info is dismissed and no banner is shown"),
107
+ 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 ("/")').meta({
108
+ examples: [
109
+ '{"web.nuki.io/nfcBannerDismissed": true}'
110
+ ]
111
+ }),
112
+ removedStaledDevices: z.array(staleDeviceSchema).optional().describe("List of removed staled devices"),
113
+ markedStaledDevices: z.array(staleDeviceSchema).optional().describe("List of marked staled devices")
114
+ });
115
+ const accountSettingSchema = z.object({
116
+ web: accountSettingWebSchema.optional().describe("The account settings for Nuki Web")
117
+ });
118
+ const accountSubCreateSchema = z.object({
119
+ email: z.string().describe("The email address").meta({
120
+ examples: [
121
+ "test@test.at"
122
+ ]
123
+ }),
124
+ password: z.string().describe("The password (must be at least 7 chars long)"),
125
+ name: z.string().describe("The name of the sub account"),
126
+ 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"),
127
+ language: z.string().describe("The language code").meta({
128
+ examples: [
129
+ "de"
130
+ ]
131
+ }),
132
+ profile: accountProfileSchema.optional().describe("The optional profile")
133
+ });
134
+ const accountSubUpdateSchema = z.object({
135
+ email: z.string().optional().describe("The new email address").meta({
136
+ examples: [
137
+ "test@test.at"
138
+ ]
139
+ }),
140
+ password: z.string().optional().describe("The new password (must be at least 7 chars long)"),
141
+ name: z.string().optional().describe("The new name of the sub account"),
142
+ 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"),
143
+ language: z.string().describe("The language code").meta({
144
+ examples: [
145
+ "de"
146
+ ]
147
+ }),
148
+ config: accountConfigSchema.optional().describe("The optional config"),
149
+ profile: accountProfileSchema.optional().describe("The optional profile")
150
+ });
151
+ const accountUpdateSchema = z.object({
152
+ email: z.string().optional().describe("The new email address").meta({
153
+ examples: [
154
+ "test@test.at"
155
+ ]
156
+ }),
157
+ password: z.string().optional().describe("The password (must be at least 7 chars long)"),
158
+ name: z.string().optional().describe("The name of the account"),
159
+ language: z.string().describe("The language code").meta({
160
+ examples: [
161
+ "de"
162
+ ]
163
+ }),
164
+ config: accountConfigSchema.optional().describe("The optional config"),
165
+ profile: accountProfileSchema.optional().describe("The optional profile")
166
+ });
167
+ const accountUserSchema = z.object({
168
+ accountUserId: z.int().describe("The account user id"),
169
+ accountId: z.int().describe("The account id"),
170
+ type: z.int().optional().describe("The optional type: 0 .. user, 1 .. company"),
171
+ email: z.string().describe("The email address"),
172
+ name: z.string().describe("The name"),
173
+ language: z.string().optional().describe("The language code").meta({
174
+ examples: [
175
+ "de"
176
+ ]
177
+ }),
178
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
179
+ creationDate: z.iso.datetime().describe("The creation date"),
180
+ updateDate: z.iso.datetime().describe("The update date")
181
+ });
182
+ const accountUserCreateSchema = z.object({
183
+ type: z.int().optional().describe("The optional type - only allowed for caretakers: 0 .. user, 1 .. company"),
184
+ email: z.string().describe("The email address"),
185
+ name: z.string().describe("The name"),
186
+ language: z.enum([
187
+ "en",
188
+ "de",
189
+ "es",
190
+ "fr",
191
+ "it",
192
+ "nl",
193
+ "cs",
194
+ "sk"
195
+ ]).optional().describe("The language code")
196
+ });
197
+ const accountUserUpdateSchema = z.object({
198
+ email: z.string().optional().describe("The new email address").meta({
199
+ examples: [
200
+ "test@test.at"
201
+ ]
202
+ }),
203
+ name: z.string().optional().describe("The new name of the sub account"),
204
+ language: z.enum([
205
+ "en",
206
+ "de",
207
+ "es",
208
+ "fr",
209
+ "it",
210
+ "nl",
211
+ "cs",
212
+ "sk"
213
+ ]).optional().describe("The new language code")
214
+ });
215
+ const addressSchema = z.object({
216
+ addressId: z.int().describe("The address id"),
217
+ accountId: z.int().describe("The account id"),
218
+ name: z.string().describe("The name of the address"),
219
+ smartlockIds: z.array(z.coerce.bigint()).describe("The smartlocks for this address"),
220
+ serviceId: z.enum([
221
+ "airbnb",
222
+ "bookingsync"
223
+ ]).optional().describe("The optional service id if the address is from an partner service"),
224
+ timeZone: z.string().optional().describe("The timezone"),
225
+ checkInTime: z.int().optional().describe("The optional check in time (minutes of the day)"),
226
+ checkOutTime: z.int().optional().describe("The optional check out time (minutes of the day)"),
227
+ settings: z.object({}).catchall(z.object({})).optional().describe("The optional settings object"),
228
+ creationDate: z.iso.datetime().describe("The creation date"),
229
+ updateDate: z.iso.datetime().describe("The update date")
230
+ });
231
+ const addressCreateSchema = z.object({
232
+ name: z.string().describe("The name of the address"),
233
+ smartlockIds: z.array(z.coerce.bigint()).describe("The smartlocks for this address")
234
+ });
235
+ const addressReservationSchema = z.object({
236
+ id: z.string().describe("The id"),
237
+ addressId: z.int().describe("The address id"),
238
+ accountId: z.int().describe("The account id"),
239
+ email: z.string().describe("The email of the guest"),
240
+ name: z.string().describe("The name of the guest"),
241
+ guests: z.int().describe("The number of guests"),
242
+ guestsIssued: z.int().describe("The number of guests issued"),
243
+ keypadIssued: z.boolean().describe("True if a keypad authorization was issued"),
244
+ state: z.enum([
245
+ "canceled",
246
+ "accepted"
247
+ ]).describe("The state"),
248
+ serviceId: z.enum([
249
+ "airbnb",
250
+ "bookingsync"
251
+ ]).optional().describe("The optional service id if the address is from an partner service"),
252
+ reference: z.string().optional().describe("The reference (booking code)"),
253
+ automation: z.int().describe("The automation state"),
254
+ 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"),
255
+ startDate: z.iso.datetime().describe("The start date"),
256
+ endDate: z.iso.datetime().describe("The end date"),
257
+ updateDate: z.iso.datetime().describe("The update date"),
258
+ isCurrentlyIssuingAuth: z.boolean(),
259
+ isCurrentlyRevokingAuth: z.boolean(),
260
+ hasCustomAccessTimes: z.boolean(),
261
+ currentlyIssuingAuth: z.boolean().optional(),
262
+ currentlyRevokingAuth: z.boolean().optional()
263
+ });
264
+ const addressTokenSchema = z.object({
265
+ id: z.string().describe("The id"),
266
+ addressId: z.int().describe("The address id"),
267
+ creationDate: z.iso.datetime().describe("The creation date"),
268
+ redeemDate: z.iso.datetime().describe("The redeem date"),
269
+ redeemAccountId: z.int().describe("The redeem account id"),
270
+ inviteKeys: z.array(z.string()).optional().describe("The list of invite keys"),
271
+ redeemResult: z.enum([
272
+ "ok",
273
+ "failed"
274
+ ]).optional().describe("The redeem result")
275
+ });
276
+ const addressTokenInfoSchema = z.object({
277
+ id: z.string().describe("The id"),
278
+ addressName: z.string().describe("The address name"),
279
+ smartlockNames: z.array(z.string()).describe("The associated smartlock names")
280
+ });
281
+ const addressUnitSchema = z.object({
282
+ id: z.string().optional().describe("The id"),
283
+ name: z.string().describe("The name of the address unit"),
284
+ addressId: z.int().optional().describe("The address id"),
285
+ addressTokenId: z.string().optional().describe("The address token id"),
286
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation")
287
+ });
288
+ const addressUnitResponseSchema = z.object({
289
+ id: z.string().optional().describe("The id"),
290
+ name: z.string().describe("The name of the address unit"),
291
+ addressId: z.int().optional().describe("The address id"),
292
+ addressTokenId: z.string().optional().describe("The address token id"),
293
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
294
+ creationDate: z.iso.datetime().describe("The creation date"),
295
+ redeemDate: z.iso.datetime().describe("The redeem date"),
296
+ redeemResult: z.enum([
297
+ "ok",
298
+ "failed"
299
+ ]).optional().describe("The redeem result")
300
+ });
301
+ const addressUpdateSchema = z.object({
302
+ name: z.string().optional().describe("The name of the address"),
303
+ smartlockIds: z.array(z.coerce.bigint()).optional().describe("The smartlocks for this address"),
304
+ settings: z.object({}).catchall(z.object({})).optional().describe("The optional settings")
305
+ });
306
+ const advancedApiKeySchema = z.object({
307
+ name: z.string().describe("The name of the company for which you apply for access"),
308
+ country: z.string().describe("The country of the headquarter or the country where you are mainly doing business in"),
309
+ 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"),
310
+ type: z.enum([
311
+ "ONLY_SECRET",
312
+ "SHORT_RENTAL",
313
+ "HEALTHCARE",
314
+ "SMART_HOME",
315
+ "OTHER"
316
+ ]).describe("The application type"),
317
+ webhookStatus: z.enum([
318
+ "ACTIVE",
319
+ "DEACTIVATED"
320
+ ]).optional().describe("The status of the webhook posting automation"),
321
+ url: z.string().describe("A website where we can find more information on the company and its business model"),
322
+ email: z.string().describe("An email address where we can contact you for checks on your application"),
323
+ webhookUrl: z.string().describe("The URL where our webhooks should point to"),
324
+ webhookFeatures: z.array(z.enum([
325
+ "DEVICE_STATUS",
326
+ "DEVICE_MASTERDATA",
327
+ "DEVICE_CONFIG",
328
+ "DEVICE_LOGS",
329
+ "DEVICE_AUTHS",
330
+ "ACCOUNT_USER"
331
+ ])).refine((items)=>new Set(items).size === items.length, {
332
+ message: "Array entries must be unique"
333
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'"),
334
+ restricted: z.boolean().describe("Whether the advanced API key is restricted"),
335
+ secret: z.string().describe("The client secret, visible if application is approved (status >= 'TESTING')"),
336
+ status: z.enum([
337
+ "INACTIVE",
338
+ "APPLIED",
339
+ "TESTING",
340
+ "ACTIVE"
341
+ ]).describe("The application status"),
342
+ creationDate: z.iso.datetime().describe("The creation date"),
343
+ updateDate: z.iso.datetime().describe("The update date")
344
+ });
345
+ const advancedApiKeyCreateSchema = z.object({
346
+ name: z.string().describe("The name of the company for which you apply for access"),
347
+ country: z.string().describe("The country of the headquarter or the country where you are mainly doing business in"),
348
+ 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"),
349
+ type: z.enum([
350
+ "ONLY_SECRET",
351
+ "SHORT_RENTAL",
352
+ "HEALTHCARE",
353
+ "SMART_HOME",
354
+ "OTHER"
355
+ ]).describe("The application type"),
356
+ webhookStatus: z.enum([
357
+ "ACTIVE",
358
+ "DEACTIVATED"
359
+ ]).optional().describe("The status of the webhook posting automation"),
360
+ url: z.string().describe("A website where we can find more information on the company and its business model"),
361
+ email: z.string().describe("An email address where we can contact you for checks on your application"),
362
+ webhookUrl: z.string().describe("The URL where our webhooks should point to"),
363
+ webhookFeatures: z.array(z.enum([
364
+ "DEVICE_STATUS",
365
+ "DEVICE_MASTERDATA",
366
+ "DEVICE_CONFIG",
367
+ "DEVICE_LOGS",
368
+ "DEVICE_AUTHS",
369
+ "ACCOUNT_USER"
370
+ ])).refine((items)=>new Set(items).size === items.length, {
371
+ message: "Array entries must be unique"
372
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'"),
373
+ restricted: z.boolean().describe("Whether the advanced API key is restricted")
374
+ });
375
+ const advancedApiKeyUpdateSchema = z.object({
376
+ webhookUrl: z.string().describe("The URL where our webhooks should point to"),
377
+ webhookFeatures: z.array(z.enum([
378
+ "DEVICE_STATUS",
379
+ "DEVICE_MASTERDATA",
380
+ "DEVICE_CONFIG",
381
+ "DEVICE_LOGS",
382
+ "DEVICE_AUTHS",
383
+ "ACCOUNT_USER"
384
+ ])).refine((items)=>new Set(items).size === items.length, {
385
+ message: "Array entries must be unique"
386
+ }).describe("The features to trigger webhooks, for all types except 'ONLY_SECRET'")
387
+ });
388
+ const advancedConfirmationResponseSchema = z.object({
389
+ requestId: z.string().describe("A UUID to identify the upcoming asynchronously web hook response"),
390
+ error: z.string().optional().describe("Contains error message and smartlock IDs, if auths can not be created because they need subscription.")
391
+ });
392
+ const apiKeySchema = z.object({
393
+ apiKeyId: z.int().describe("The id"),
394
+ accountId: z.int().describe("The account id"),
395
+ description: z.string().optional().describe("The description"),
396
+ redirectUris: z.array(z.string()).optional().describe("The redirect uris"),
397
+ creationDate: z.iso.datetime().describe("The creation date"),
398
+ apiKey: z.string().optional().describe("The api key")
399
+ });
400
+ const apiKeyAdvancedSchema = z.object({
401
+ name: z.string().optional(),
402
+ country: z.string().optional(),
403
+ description: z.string().optional(),
404
+ type: z.enum([
405
+ "ONLY_SECRET",
406
+ "SHORT_RENTAL",
407
+ "HEALTHCARE",
408
+ "SMART_HOME",
409
+ "OTHER"
410
+ ]).optional(),
411
+ url: z.string().optional(),
412
+ email: z.string().optional(),
413
+ webhookFeatures: z.array(z.enum([
414
+ "DEVICE_STATUS",
415
+ "DEVICE_MASTERDATA",
416
+ "DEVICE_CONFIG",
417
+ "DEVICE_LOGS",
418
+ "DEVICE_AUTHS",
419
+ "ACCOUNT_USER"
420
+ ])).refine((items)=>new Set(items).size === items.length, {
421
+ message: "Array entries must be unique"
422
+ }).optional(),
423
+ webhookUrl: z.string().optional(),
424
+ webhookSentSuccessfully: z.int().optional(),
425
+ webhookSentErroneous: z.int().optional(),
426
+ lastSuccessfulPost: z.iso.datetime().optional(),
427
+ lastPostDuration: z.coerce.bigint().optional(),
428
+ lastPostSuccesful: z.boolean().optional(),
429
+ status: z.enum([
430
+ "INACTIVE",
431
+ "APPLIED",
432
+ "TESTING",
433
+ "ACTIVE"
434
+ ]).optional(),
435
+ webhookStatus: z.enum([
436
+ "ACTIVE",
437
+ "DEACTIVATED"
438
+ ]).optional(),
439
+ creationDate: z.iso.datetime().optional(),
440
+ updateDate: z.iso.datetime().optional(),
441
+ restricted: z.boolean().optional()
442
+ });
443
+ const apiKeyCreateSchema = z.object({
444
+ description: z.string().optional().describe("The description"),
445
+ redirectUris: z.array(z.string()).optional().describe("The list of redirect uris")
446
+ });
447
+ const completableFutureListApiKeySchema = z.object({
448
+ completedExceptionally: z.boolean().optional(),
449
+ numberOfDependents: z.int().optional(),
450
+ done: z.boolean().optional(),
451
+ cancelled: z.boolean().optional()
452
+ });
453
+ const apiKeyServiceSchema = z.object({
454
+ byActiveWebhook: completableFutureListApiKeySchema.optional()
455
+ });
456
+ const apiKeyTokenSchema = z.object({
457
+ id: z.string().describe("The id"),
458
+ accountId: z.int().describe("The account id"),
459
+ description: z.string().optional().describe("The description"),
460
+ accessToken: z.string().optional().describe("The access token"),
461
+ scopes: z.array(z.string()).describe("The list of scopes"),
462
+ creationDate: z.iso.datetime().describe("The creation date")
463
+ });
464
+ const apiKeyTokenCreateSchema = z.object({
465
+ description: z.string().optional().describe("The description"),
466
+ scopes: z.array(z.string()).optional().describe("The list of scopes")
467
+ });
468
+ const apiKeyTokenUpdateSchema = z.object({
469
+ description: z.string().optional().describe("The description"),
470
+ scopes: z.array(z.string()).optional().describe("The list of scopes")
471
+ });
472
+ const apiKeyUpdateSchema = z.object({
473
+ description: z.string().optional().describe("The description"),
474
+ redirectUris: z.array(z.string()).optional().describe("The list of redirect uris")
475
+ });
476
+ const filterSchema = z.object({});
477
+ const levelSchema = z.object({
478
+ name: z.string().optional(),
479
+ resourceBundleName: z.string().optional(),
480
+ localizedName: z.string().optional()
481
+ });
482
+ const formatterSchema = z.object({});
483
+ const errorManagerSchema = z.object({});
484
+ const handlerSchema = z.object({
485
+ filter: filterSchema.optional(),
486
+ formatter: formatterSchema.optional(),
487
+ errorManager: errorManagerSchema.optional(),
488
+ encoding: z.string().optional(),
489
+ level: levelSchema.optional()
490
+ });
491
+ const localeSchema = z.object({
492
+ language: z.string().optional(),
493
+ displayName: z.string().optional(),
494
+ country: z.string().optional(),
495
+ variant: z.string().optional(),
496
+ script: z.string().optional(),
497
+ unicodeLocaleAttributes: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
498
+ message: "Array entries must be unique"
499
+ }).optional(),
500
+ unicodeLocaleKeys: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
501
+ message: "Array entries must be unique"
502
+ }).optional(),
503
+ displayLanguage: z.string().optional(),
504
+ displayScript: z.string().optional(),
505
+ displayCountry: z.string().optional(),
506
+ displayVariant: z.string().optional(),
507
+ extensionKeys: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
508
+ message: "Array entries must be unique"
509
+ }).optional(),
510
+ iso3Language: z.string().optional(),
511
+ iso3Country: z.string().optional()
512
+ });
513
+ const enumerationStringSchema = z.object({});
514
+ const resourceBundleSchema = z.object({
515
+ locale: localeSchema.optional(),
516
+ keys: enumerationStringSchema.optional(),
517
+ baseBundleName: z.string().optional()
518
+ });
519
+ const loggerSchema = z.object({
520
+ name: z.string().optional(),
521
+ get parent () {
522
+ return loggerSchema.optional();
523
+ },
524
+ filter: filterSchema.optional(),
525
+ level: levelSchema.optional(),
526
+ resourceBundleName: z.string().optional(),
527
+ handlers: z.array(handlerSchema).optional(),
528
+ useParentHandlers: z.boolean().optional(),
529
+ resourceBundle: resourceBundleSchema.optional()
530
+ });
531
+ const restletSchema = z.object({
532
+ author: z.string().optional(),
533
+ get context () {
534
+ return contextSchema.optional();
535
+ },
536
+ description: z.string().optional(),
537
+ name: z.string().optional(),
538
+ owner: z.string().optional(),
539
+ started: z.boolean().optional(),
540
+ get logger () {
541
+ return loggerSchema.optional();
542
+ },
543
+ get application () {
544
+ return applicationSchema.optional();
545
+ },
546
+ stopped: z.boolean().optional()
547
+ });
548
+ const parameterSchema = z.object({
549
+ name: z.string().optional(),
550
+ value: z.string().optional()
551
+ });
552
+ const enrolerSchema = z.object({});
553
+ const verifierSchema = z.object({});
554
+ const scheduledExecutorServiceSchema = z.object({
555
+ terminated: z.boolean().optional(),
556
+ shutdown: z.boolean().optional()
557
+ });
558
+ const contextSchema = z.object({
559
+ get clientDispatcher () {
560
+ return restletSchema.optional();
561
+ },
562
+ get serverDispatcher () {
563
+ return restletSchema.optional();
564
+ },
565
+ attributes: z.object({}).catchall(z.object({})).optional(),
566
+ get logger () {
567
+ return loggerSchema.optional();
568
+ },
569
+ parameters: z.array(parameterSchema).optional(),
570
+ defaultEnroler: enrolerSchema.optional(),
571
+ defaultVerifier: verifierSchema.optional(),
572
+ executorService: scheduledExecutorServiceSchema.optional()
573
+ });
574
+ const roleSchema = z.object({
575
+ get application () {
576
+ return applicationSchema.optional();
577
+ },
578
+ get childRoles () {
579
+ return z.array(roleSchema).optional();
580
+ },
581
+ description: z.string().optional(),
582
+ name: z.string().optional()
583
+ });
584
+ const serviceSchema = z.object({
585
+ get context () {
586
+ return contextSchema.optional();
587
+ },
588
+ enabled: z.boolean().optional(),
589
+ started: z.boolean().optional(),
590
+ stopped: z.boolean().optional()
591
+ });
592
+ const connegServiceSchema = z.object({
593
+ get context () {
594
+ return contextSchema.optional();
595
+ },
596
+ enabled: z.boolean().optional(),
597
+ started: z.boolean().optional(),
598
+ strict: z.boolean().optional(),
599
+ stopped: z.boolean().optional()
600
+ });
601
+ const converterServiceSchema = z.object({
602
+ get context () {
603
+ return contextSchema.optional();
604
+ },
605
+ enabled: z.boolean().optional(),
606
+ started: z.boolean().optional(),
607
+ stopped: z.boolean().optional()
608
+ });
609
+ const metadataSchema = z.object({
610
+ description: z.string().optional(),
611
+ name: z.string().optional(),
612
+ get parent () {
613
+ return metadataSchema.optional();
614
+ }
615
+ });
616
+ const characterSetSchema = z.object({
617
+ description: z.string().optional(),
618
+ name: z.string().optional(),
619
+ get parent () {
620
+ return metadataSchema.optional();
621
+ }
622
+ });
623
+ const encodingSchema = z.object({
624
+ description: z.string().optional(),
625
+ name: z.string().optional(),
626
+ get parent () {
627
+ return metadataSchema.optional();
628
+ }
629
+ });
630
+ const languageSchema = z.object({
631
+ description: z.string().optional(),
632
+ name: z.string().optional(),
633
+ subTags: z.array(z.string()).optional(),
634
+ get parent () {
635
+ return languageSchema.optional();
636
+ },
637
+ primaryTag: z.string().optional()
638
+ });
639
+ const mediaTypeSchema = z.object({
640
+ description: z.string().optional(),
641
+ name: z.string().optional(),
642
+ parameters: z.array(parameterSchema).optional(),
643
+ get parent () {
644
+ return mediaTypeSchema.optional();
645
+ },
646
+ mainType: z.string().optional(),
647
+ concrete: z.boolean().optional(),
648
+ subType: z.string().optional()
649
+ });
650
+ const metadataServiceSchema = z.object({
651
+ get context () {
652
+ return contextSchema.optional();
653
+ },
654
+ enabled: z.boolean().optional(),
655
+ started: z.boolean().optional(),
656
+ defaultCharacterSet: characterSetSchema.optional(),
657
+ defaultEncoding: encodingSchema.optional(),
658
+ get defaultLanguage () {
659
+ return languageSchema.optional();
660
+ },
661
+ get defaultMediaType () {
662
+ return mediaTypeSchema.optional();
663
+ },
664
+ allEncodingExtensionNames: z.array(z.string()).optional(),
665
+ allCharacterSetExtensionNames: z.array(z.string()).optional(),
666
+ allExtensionNames: z.array(z.string()).optional(),
667
+ allLanguageExtensionNames: z.array(z.string()).optional(),
668
+ allMediaTypeExtensionNames: z.array(z.string()).optional(),
669
+ stopped: z.boolean().optional()
670
+ });
671
+ const rangeServiceSchema = z.object({
672
+ get context () {
673
+ return contextSchema.optional();
674
+ },
675
+ enabled: z.boolean().optional(),
676
+ started: z.boolean().optional(),
677
+ stopped: z.boolean().optional()
678
+ });
679
+ const protocolSchema = z.object({
680
+ confidential: z.boolean().optional(),
681
+ defaultPort: z.int().optional(),
682
+ description: z.string().optional(),
683
+ name: z.string().optional(),
684
+ schemeName: z.string().optional(),
685
+ technicalName: z.string().optional(),
686
+ version: z.string().optional()
687
+ });
688
+ const referenceSchema = z.object({
689
+ get baseRef () {
690
+ return referenceSchema.optional();
691
+ },
692
+ absolute: z.boolean().optional(),
693
+ scheme: z.string().optional(),
694
+ opaque: z.boolean().optional(),
695
+ authority: z.string().optional(),
696
+ relative: z.boolean().optional(),
697
+ query: z.string().optional(),
698
+ path: z.string().optional(),
699
+ userInfo: z.string().optional(),
700
+ schemeSpecificPart: z.string().optional(),
701
+ fragment: z.string().optional(),
702
+ extensions: z.string().optional(),
703
+ extensionsAsArray: z.array(z.string()).optional(),
704
+ hierarchicalPart: z.string().optional(),
705
+ hostDomain: z.string().optional(),
706
+ hostIdentifier: z.string().optional(),
707
+ hostPort: z.int().optional(),
708
+ lastSegment: z.string().optional(),
709
+ get parentRef () {
710
+ return referenceSchema.optional();
711
+ },
712
+ relativePart: z.string().optional(),
713
+ get relativeRef () {
714
+ return referenceSchema.optional();
715
+ },
716
+ remainingPart: z.string().optional(),
717
+ schemeProtocol: protocolSchema.optional(),
718
+ segments: z.array(z.string()).optional(),
719
+ get targetRef () {
720
+ return referenceSchema.optional();
721
+ },
722
+ hierarchical: z.boolean().optional(),
723
+ identifier: z.string().optional(),
724
+ matrix: z.string().optional(),
725
+ matrixAsForm: z.array(parameterSchema).optional(),
726
+ queryAsForm: z.array(parameterSchema).optional()
727
+ });
728
+ const statusServiceSchema = z.object({
729
+ get context () {
730
+ return contextSchema.optional();
731
+ },
732
+ enabled: z.boolean().optional(),
733
+ started: z.boolean().optional(),
734
+ get connegService () {
735
+ return connegServiceSchema.optional();
736
+ },
737
+ contactEmail: z.string().optional(),
738
+ get converterService () {
739
+ return converterServiceSchema.optional();
740
+ },
741
+ get homeRef () {
742
+ return referenceSchema.optional();
743
+ },
744
+ get metadataService () {
745
+ return metadataServiceSchema.optional();
746
+ },
747
+ overwriting: z.boolean().optional(),
748
+ stopped: z.boolean().optional()
749
+ });
750
+ const taskServiceSchema = z.object({
751
+ get context () {
752
+ return contextSchema.optional();
753
+ },
754
+ enabled: z.boolean().optional(),
755
+ started: z.boolean().optional(),
756
+ corePoolSize: z.int().optional(),
757
+ daemon: z.boolean().optional(),
758
+ shutdownAllowed: z.boolean().optional(),
759
+ terminated: z.boolean().optional(),
760
+ shutdown: z.boolean().optional(),
761
+ stopped: z.boolean().optional()
762
+ });
763
+ const tunnelServiceSchema = z.object({
764
+ get context () {
765
+ return contextSchema.optional();
766
+ },
767
+ enabled: z.boolean().optional(),
768
+ started: z.boolean().optional(),
769
+ characterSetParameter: z.string().optional(),
770
+ encodingParameter: z.string().optional(),
771
+ extensionsTunnel: z.boolean().optional(),
772
+ headersTunnel: z.boolean().optional(),
773
+ languageParameter: z.string().optional(),
774
+ mediaTypeParameter: z.string().optional(),
775
+ methodHeader: z.string().optional(),
776
+ methodParameter: z.string().optional(),
777
+ methodTunnel: z.boolean().optional(),
778
+ preferencesTunnel: z.boolean().optional(),
779
+ queryTunnel: z.boolean().optional(),
780
+ userAgentTunnel: z.boolean().optional(),
781
+ stopped: z.boolean().optional()
782
+ });
783
+ const connectorServiceSchema = z.object({
784
+ get context () {
785
+ return contextSchema.optional();
786
+ },
787
+ enabled: z.boolean().optional(),
788
+ started: z.boolean().optional(),
789
+ clientProtocols: z.array(protocolSchema).optional(),
790
+ serverProtocols: z.array(protocolSchema).optional(),
791
+ stopped: z.boolean().optional()
792
+ });
793
+ const decoderServiceSchema = z.object({
794
+ get context () {
795
+ return contextSchema.optional();
796
+ },
797
+ enabled: z.boolean().optional(),
798
+ started: z.boolean().optional(),
799
+ stopped: z.boolean().optional()
800
+ });
801
+ const encoderServiceSchema = z.object({
802
+ get context () {
803
+ return contextSchema.optional();
804
+ },
805
+ enabled: z.boolean().optional(),
806
+ started: z.boolean().optional(),
807
+ get acceptedMediaTypes () {
808
+ return z.array(mediaTypeSchema).optional();
809
+ },
810
+ get ignoredMediaTypes () {
811
+ return z.array(mediaTypeSchema).optional();
812
+ },
813
+ minimumSize: z.coerce.bigint().optional(),
814
+ stopped: z.boolean().optional()
815
+ });
816
+ const applicationSchema = z.object({
817
+ author: z.string().optional(),
818
+ get context () {
819
+ return contextSchema.optional();
820
+ },
821
+ description: z.string().optional(),
822
+ name: z.string().optional(),
823
+ owner: z.string().optional(),
824
+ started: z.boolean().optional(),
825
+ debugging: z.boolean().optional(),
826
+ get inboundRoot () {
827
+ return restletSchema.optional();
828
+ },
829
+ get outboundRoot () {
830
+ return restletSchema.optional();
831
+ },
832
+ get roles () {
833
+ return z.array(roleSchema).optional();
834
+ },
835
+ get services () {
836
+ return z.array(serviceSchema).optional();
837
+ },
838
+ get connegService () {
839
+ return connegServiceSchema.optional();
840
+ },
841
+ get converterService () {
842
+ return converterServiceSchema.optional();
843
+ },
844
+ get metadataService () {
845
+ return metadataServiceSchema.optional();
846
+ },
847
+ get rangeService () {
848
+ return rangeServiceSchema.optional();
849
+ },
850
+ get statusService () {
851
+ return statusServiceSchema.optional();
852
+ },
853
+ get taskService () {
854
+ return taskServiceSchema.optional();
855
+ },
856
+ get tunnelService () {
857
+ return tunnelServiceSchema.optional();
858
+ },
859
+ get connectorService () {
860
+ return connectorServiceSchema.optional();
861
+ },
862
+ get decoderService () {
863
+ return decoderServiceSchema.optional();
864
+ },
865
+ get encoderService () {
866
+ return encoderServiceSchema.optional();
867
+ },
868
+ get logger () {
869
+ return loggerSchema.optional();
870
+ },
871
+ get application () {
872
+ return applicationSchema.optional();
873
+ },
874
+ stopped: z.boolean().optional()
875
+ });
876
+ const authenticationInfoSchema = z.object({
877
+ nextServerNonce: z.string().optional(),
878
+ nonceCount: z.int().optional(),
879
+ clientNonce: z.string().optional(),
880
+ quality: z.string().optional(),
881
+ responseDigest: z.string().optional()
882
+ });
883
+ const smartlockWebConfigSchema = z.object({
884
+ batteryWarningPerMailEnabled: z.boolean().optional().describe("True if a battery warning is send via email, if null/not send, the value is not being updated"),
885
+ 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 []")
886
+ });
887
+ const webConfigRequestSchema = z.object({
888
+ smartlockId: z.coerce.bigint().optional(),
889
+ webConfig: smartlockWebConfigSchema.optional()
890
+ });
891
+ const bulkWebConfigRequestSchema = z.object({
892
+ webConfigRequests: z.array(webConfigRequestSchema).optional()
893
+ });
894
+ const cacheDirectiveSchema = z.object({
895
+ digit: z.boolean().optional(),
896
+ name: z.string().optional(),
897
+ value: z.string().optional()
898
+ });
899
+ const publicKeySchema = z.object({
900
+ encoded: z.array(z.string()).optional(),
901
+ format: z.string().optional(),
902
+ algorithm: z.string().optional()
903
+ });
904
+ const certificateSchema = z.object({
905
+ type: z.string().optional(),
906
+ encoded: z.array(z.string()).optional(),
907
+ publicKey: publicKeySchema.optional()
908
+ });
909
+ const challengeSchemeSchema = z.object({
910
+ description: z.string().optional(),
911
+ name: z.string().optional(),
912
+ technicalName: z.string().optional()
913
+ });
914
+ const challengeRequestSchema = z.object({
915
+ rawValue: z.string().optional(),
916
+ parameters: z.array(parameterSchema).optional(),
917
+ scheme: challengeSchemeSchema.optional(),
918
+ serverNonce: z.string().optional(),
919
+ realm: z.string().optional(),
920
+ opaque: z.string().optional(),
921
+ digestAlgorithm: z.string().optional(),
922
+ qualityOptions: z.array(z.string()).optional(),
923
+ get domainRefs () {
924
+ return z.array(referenceSchema).optional();
925
+ },
926
+ stale: z.boolean().optional()
927
+ });
928
+ const principalSchema = z.object({
929
+ name: z.string().optional()
930
+ });
931
+ const challengeResponseSchema = z.object({
932
+ rawValue: z.string().optional(),
933
+ parameters: z.array(parameterSchema).optional(),
934
+ scheme: challengeSchemeSchema.optional(),
935
+ serverNonce: z.string().optional(),
936
+ realm: z.string().optional(),
937
+ opaque: z.string().optional(),
938
+ digestAlgorithm: z.string().optional(),
939
+ clientNonce: z.string().optional(),
940
+ get digestRef () {
941
+ return referenceSchema.optional();
942
+ },
943
+ identifier: z.string().optional(),
944
+ quality: z.string().optional(),
945
+ secret: z.array(z.string()).optional(),
946
+ secretAlgorithm: z.string().optional(),
947
+ serverNounceCount: z.int().optional(),
948
+ timeIssued: z.coerce.bigint().optional(),
949
+ principal: principalSchema.optional(),
950
+ serverNounceCountAsHex: z.string().optional()
951
+ });
952
+ const preferenceCharacterSetSchema = z.object({
953
+ metadata: characterSetSchema.optional(),
954
+ parameters: z.array(parameterSchema).optional(),
955
+ quality: z.number().optional()
956
+ });
957
+ const preferenceEncodingSchema = z.object({
958
+ metadata: encodingSchema.optional(),
959
+ parameters: z.array(parameterSchema).optional(),
960
+ quality: z.number().optional()
961
+ });
962
+ const preferenceLanguageSchema = z.object({
963
+ get metadata () {
964
+ return languageSchema.optional();
965
+ },
966
+ parameters: z.array(parameterSchema).optional(),
967
+ quality: z.number().optional()
968
+ });
969
+ const preferenceMediaTypeSchema = z.object({
970
+ get metadata () {
971
+ return mediaTypeSchema.optional();
972
+ },
973
+ parameters: z.array(parameterSchema).optional(),
974
+ quality: z.number().optional()
975
+ });
976
+ const productSchema = z.object({
977
+ comment: z.string().optional(),
978
+ name: z.string().optional(),
979
+ version: z.string().optional()
980
+ });
981
+ const expectationSchema = z.object({
982
+ name: z.string().optional(),
983
+ parameters: z.array(parameterSchema).optional(),
984
+ value: z.string().optional()
985
+ });
986
+ const userSchema = z.object({
987
+ email: z.string().optional(),
988
+ firstName: z.string().optional(),
989
+ identifier: z.string().optional(),
990
+ lastName: z.string().optional(),
991
+ secret: z.array(z.string()).optional(),
992
+ name: z.string().optional()
993
+ });
994
+ const clientInfoSchema = z.object({
995
+ acceptedCharacterSets: z.array(preferenceCharacterSetSchema).optional(),
996
+ acceptedEncodings: z.array(preferenceEncodingSchema).optional(),
997
+ acceptedLanguages: z.array(preferenceLanguageSchema).optional(),
998
+ acceptedMediaTypes: z.array(preferenceMediaTypeSchema).optional(),
999
+ acceptedPatches: z.array(preferenceMediaTypeSchema).optional(),
1000
+ address: z.string().optional(),
1001
+ agent: z.string().optional(),
1002
+ agentAttributes: z.object({}).catchall(z.string()).optional(),
1003
+ agentProducts: z.array(productSchema).optional(),
1004
+ authenticated: z.boolean().optional(),
1005
+ certificates: z.array(certificateSchema).optional(),
1006
+ cipherSuite: z.string().optional(),
1007
+ expectations: z.array(expectationSchema).optional(),
1008
+ forwardedAddresses: z.array(z.string()).optional(),
1009
+ from: z.string().optional(),
1010
+ port: z.int().optional(),
1011
+ principals: z.array(principalSchema).optional(),
1012
+ get roles () {
1013
+ return z.array(roleSchema).optional();
1014
+ },
1015
+ user: userSchema.optional(),
1016
+ agentName: z.string().optional(),
1017
+ agentVersion: z.string().optional(),
1018
+ mainAgentProduct: productSchema.optional(),
1019
+ upstreamAddress: z.string().optional()
1020
+ });
1021
+ const companySchema = z.object({
1022
+ name: z.string().optional(),
1023
+ email: z.string().optional()
1024
+ });
1025
+ const completableFutureSchema = z.object({
1026
+ completedExceptionally: z.boolean().optional(),
1027
+ numberOfDependents: z.int().optional(),
1028
+ done: z.boolean().optional(),
1029
+ cancelled: z.boolean().optional()
1030
+ });
1031
+ const tagSchema = z.object({
1032
+ name: z.string().optional(),
1033
+ weak: z.boolean().optional()
1034
+ });
1035
+ const conditionsSchema = z.object({
1036
+ match: z.array(tagSchema).optional(),
1037
+ modifiedSince: z.iso.datetime().optional(),
1038
+ noneMatch: z.array(tagSchema).optional(),
1039
+ rangeDate: z.iso.datetime().optional(),
1040
+ rangeTag: tagSchema.optional(),
1041
+ unmodifiedSince: z.iso.datetime().optional()
1042
+ });
1043
+ const cookieSchema = z.object({
1044
+ domain: z.string().optional(),
1045
+ name: z.string().optional(),
1046
+ path: z.string().optional(),
1047
+ value: z.string().optional(),
1048
+ version: z.int().optional()
1049
+ });
1050
+ const cookieSettingSchema = z.object({
1051
+ domain: z.string().optional(),
1052
+ name: z.string().optional(),
1053
+ path: z.string().optional(),
1054
+ value: z.string().optional(),
1055
+ version: z.int().optional(),
1056
+ accessRestricted: z.boolean().optional(),
1057
+ comment: z.string().optional(),
1058
+ maxAge: z.int().optional(),
1059
+ secure: z.boolean().optional(),
1060
+ description: z.string().optional()
1061
+ });
1062
+ const decentralWebhookSchema = z.object({
1063
+ id: z.int().optional().describe("The identifier"),
1064
+ secret: z.string().optional().describe("The secret to sign the webhook's payload"),
1065
+ webhookUrl: z.string().describe("The URL where our webhooks (POST requests) should point to (needs to be https)"),
1066
+ webhookFeatures: z.array(z.enum([
1067
+ "DEVICE_STATUS",
1068
+ "DEVICE_MASTERDATA",
1069
+ "DEVICE_CONFIG",
1070
+ "DEVICE_LOGS",
1071
+ "DEVICE_AUTHS",
1072
+ "ACCOUNT_USER"
1073
+ ])).refine((items)=>new Set(items).size === items.length, {
1074
+ message: "Array entries must be unique"
1075
+ }).describe("The features to trigger webhooks, set values: DEVICE_STATUS, DEVICE_MASTERDATA, DEVICE_CONFIG, DEVICE_LOGS, DEVICE_AUTHS, ACCOUNT_USER")
1076
+ });
1077
+ const digestSchema = z.object({
1078
+ algorithm: z.string().optional(),
1079
+ value: z.array(z.string()).optional()
1080
+ });
1081
+ const dispositionSchema = z.object({
1082
+ parameters: z.array(parameterSchema).optional(),
1083
+ type: z.string().optional(),
1084
+ filename: z.string().optional()
1085
+ });
1086
+ const enumerationSchema = z.object({});
1087
+ const headerSchema = z.object({
1088
+ name: z.string().optional(),
1089
+ value: z.string().optional()
1090
+ });
1091
+ const inputStreamSchema = z.object({});
1092
+ const methodSchema = z.object({
1093
+ description: z.string().optional(),
1094
+ idempotent: z.boolean().optional(),
1095
+ name: z.string().optional(),
1096
+ replying: z.boolean().optional(),
1097
+ safe: z.boolean().optional(),
1098
+ uri: z.string().optional()
1099
+ });
1100
+ const myAccountSchema = z.object({
1101
+ accountId: z.int().describe("The account id"),
1102
+ type: z.int().describe("The type: 0 .. user, 1 .. company, 2 .. caretaker"),
1103
+ email: z.string().describe("The email address"),
1104
+ emailVerified: z.boolean().optional().describe("true, if the email is verified"),
1105
+ name: z.string().describe("The name"),
1106
+ masterAccountId: z.int().optional().describe("The master account id if it's a sub account"),
1107
+ 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"),
1108
+ language: z.string().optional().describe("The language code").meta({
1109
+ examples: [
1110
+ "de"
1111
+ ]
1112
+ }),
1113
+ config: accountConfigSchema.optional().describe("The optional config"),
1114
+ profile: accountProfileSchema.optional().describe("The optional profile"),
1115
+ secret: z.array(z.string()).optional().describe("The secret base64 encoded"),
1116
+ creationDate: z.iso.datetime().describe("The creation date"),
1117
+ updateDate: z.iso.datetime().describe("The update date"),
1118
+ descent: accountDescentSchema.optional().describe("Set, if your account is not a standard Nuki Web account"),
1119
+ shsSubscriptionType: z.enum([
1120
+ "BUSINESS",
1121
+ "STANDARD",
1122
+ "BUSINESS_PLUS",
1123
+ "API_ONLY"
1124
+ ]).optional().describe("subscription type of the account (b2b)"),
1125
+ b2bActive: z.boolean().optional(),
1126
+ apiTermsOfUse: termsOfUseSchema.optional()
1127
+ });
1128
+ const namedValueSchema = z.object({
1129
+ name: z.string().optional(),
1130
+ value: z.object({}).optional()
1131
+ });
1132
+ const namedValueStringSchema = z.object({
1133
+ name: z.string().optional(),
1134
+ value: z.string().optional()
1135
+ });
1136
+ const notificationSettingSchema = z.object({
1137
+ smartlockId: z.coerce.bigint().optional().describe("The smartlock ID, if not set all Smart Locks of the account are enabled for push notifications"),
1138
+ triggerEvents: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1139
+ message: "Array entries must be unique"
1140
+ }).describe("A set on which push notifications should be triggered: lock, unlock, unlatch, lockngo, open, ring, doorsensor, warnings, smartlock"),
1141
+ authIds: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1142
+ message: "Array entries must be unique"
1143
+ }).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")
1144
+ });
1145
+ const notificationSchema = z.object({
1146
+ notificationId: z.string().optional().describe("The unique notificationId for the notification"),
1147
+ referenceId: z.string().optional().describe("The reference ID, an ID to identify a foreign system"),
1148
+ pushId: z.string().describe("The push ID or the POST URL for a webhook"),
1149
+ secret: z.string().optional().describe("The 40 byte hex string to sign the checksumof the POST payload if the notification is webhook (os=2)").meta({
1150
+ examples: [
1151
+ "8d41a187c3954f886f9de3a88c2ef22df0eac190"
1152
+ ]
1153
+ }),
1154
+ os: z.int().describe("The operating system: 0 .. Android, 1 .. iOS, 2 .. web hook"),
1155
+ language: z.string().optional().describe("The language of push messages: cs, de, en (default), es, fr, it, nl, sk"),
1156
+ status: z.int().optional().describe("Current state: 0 .. init, 1 .. active, 2 .. failed"),
1157
+ lastActiveDate: z.iso.datetime().optional().describe("The last active date"),
1158
+ settings: z.array(notificationSettingSchema).describe("Settings per Smart Lock")
1159
+ });
1160
+ const objectIdSchema = z.object({
1161
+ timestamp: z.int().optional(),
1162
+ counter: z.int().optional(),
1163
+ time: z.coerce.bigint().optional(),
1164
+ date: z.iso.datetime().optional(),
1165
+ machineIdentifier: z.int().optional(),
1166
+ processIdentifier: z.int().optional(),
1167
+ timeSecond: z.int().optional()
1168
+ });
1169
+ const openerIntercomBrandSchema = z.object({
1170
+ brandId: z.int().describe("The brand ID"),
1171
+ brand: z.string().describe("The brand name")
1172
+ });
1173
+ const openerIntercomModelSchema = z.object({
1174
+ intercomId: z.int().describe("The intercom ID"),
1175
+ brandId: z.int().describe("The related brand ID"),
1176
+ type: z.int().describe("The type of the model"),
1177
+ model: z.string().describe("The model name"),
1178
+ verified: z.int().describe("Verified Nuki intercom: 1 .. verified to work, 2 .. may be compatible, but not verified, 3 .. not compatible"),
1179
+ conGndBus: z.string().describe("Connection for ground BUS"),
1180
+ conBusAudio: z.string().describe("Connection for audio BUS"),
1181
+ conAudioout: z.string().describe("Connection for audio out"),
1182
+ conDoorbellPlus: z.string().describe("Connection for doorbell plus"),
1183
+ conDoorbellMinus: z.string().describe("Connection for doorbell minus"),
1184
+ conOpendoor: z.string().describe("Connection for open the door"),
1185
+ conGndAnalogue: z.string().describe("Connection for ground analogue"),
1186
+ busModeSwitch: z.int().describe("Settings value for BUS mode switch"),
1187
+ busModeSwitchShortCircuitDuration: z.int().describe("Settings value for BUS mode switch short cicuit duration"),
1188
+ creationDate: z.iso.datetime().optional().describe("The creation date"),
1189
+ updateDate: z.iso.datetime().optional().describe("The update date")
1190
+ });
1191
+ const paginationSchema = z.object({
1192
+ totalItems: z.coerce.bigint().optional(),
1193
+ totalPages: z.int().optional(),
1194
+ currentPage: z.int().optional(),
1195
+ nextPage: z.string().optional(),
1196
+ prevPage: z.string().optional(),
1197
+ pageSize: z.int().optional()
1198
+ });
1199
+ const paginatedResponseSchema = z.object({
1200
+ results: z.array(z.object({})).optional(),
1201
+ pagination: paginationSchema.optional()
1202
+ });
1203
+ const preferenceSchema = z.object({
1204
+ get metadata () {
1205
+ return metadataSchema.optional();
1206
+ },
1207
+ parameters: z.array(parameterSchema).optional(),
1208
+ quality: z.number().optional()
1209
+ });
1210
+ const rangeSchema = z.object({
1211
+ index: z.coerce.bigint().optional(),
1212
+ instanceSize: z.coerce.bigint().optional(),
1213
+ size: z.coerce.bigint().optional(),
1214
+ unitName: z.string().optional()
1215
+ });
1216
+ const readableByteChannelSchema = z.object({
1217
+ open: z.boolean().optional()
1218
+ });
1219
+ const readerSchema = z.object({});
1220
+ const recipientInfoSchema = z.object({
1221
+ protocol: protocolSchema.optional(),
1222
+ comment: z.string().optional(),
1223
+ name: z.string().optional()
1224
+ });
1225
+ const selectionListenerSchema = z.object({});
1226
+ const selectableChannelSchema = z.object({
1227
+ registered: z.boolean().optional(),
1228
+ blocking: z.boolean().optional(),
1229
+ open: z.boolean().optional()
1230
+ });
1231
+ const wakeupListenerSchema = z.object({});
1232
+ const selectionRegistrationSchema = z.object({
1233
+ canceling: z.boolean().optional(),
1234
+ interestOperations: z.int().optional(),
1235
+ selectionListener: selectionListenerSchema.optional(),
1236
+ readyOperations: z.int().optional(),
1237
+ selectableChannel: selectableChannelSchema.optional(),
1238
+ wakeupListener: wakeupListenerSchema.optional(),
1239
+ readable: z.boolean().optional(),
1240
+ writable: z.boolean().optional(),
1241
+ connectable: z.boolean().optional(),
1242
+ interestReady: z.boolean().optional()
1243
+ });
1244
+ const representationSchema = z.object({
1245
+ characterSet: characterSetSchema.optional(),
1246
+ encodings: z.array(encodingSchema).optional(),
1247
+ get locationRef () {
1248
+ return referenceSchema.optional();
1249
+ },
1250
+ get languages () {
1251
+ return z.array(languageSchema).optional();
1252
+ },
1253
+ get mediaType () {
1254
+ return mediaTypeSchema.optional();
1255
+ },
1256
+ modificationDate: z.iso.datetime().optional(),
1257
+ tag: tagSchema.optional(),
1258
+ available: z.boolean().optional(),
1259
+ digest: digestSchema.optional(),
1260
+ disposition: dispositionSchema.optional(),
1261
+ expirationDate: z.iso.datetime().optional(),
1262
+ range: rangeSchema.optional(),
1263
+ size: z.coerce.bigint().optional(),
1264
+ empty: z.boolean().optional(),
1265
+ channel: readableByteChannelSchema.optional(),
1266
+ transient: z.boolean().optional(),
1267
+ text: z.string().optional(),
1268
+ reader: readerSchema.optional(),
1269
+ availableSize: z.coerce.bigint().optional(),
1270
+ registration: selectionRegistrationSchema.optional(),
1271
+ stream: inputStreamSchema.optional(),
1272
+ selectable: z.boolean().optional()
1273
+ });
1274
+ const uniformSchema = z.object({});
1275
+ const stackTraceElementSchema = z.object({
1276
+ classLoaderName: z.string().optional(),
1277
+ moduleName: z.string().optional(),
1278
+ moduleVersion: z.string().optional(),
1279
+ methodName: z.string().optional(),
1280
+ fileName: z.string().optional(),
1281
+ lineNumber: z.int().optional(),
1282
+ className: z.string().optional(),
1283
+ nativeMethod: z.boolean().optional()
1284
+ });
1285
+ const throwableSchema = z.object({
1286
+ get cause () {
1287
+ return throwableSchema.optional();
1288
+ },
1289
+ stackTrace: z.array(stackTraceElementSchema).optional(),
1290
+ message: z.string().optional(),
1291
+ get suppressed () {
1292
+ return z.array(throwableSchema).optional();
1293
+ },
1294
+ localizedMessage: z.string().optional()
1295
+ });
1296
+ const statusSchema = z.object({
1297
+ code: z.int().optional(),
1298
+ description: z.string().optional(),
1299
+ reasonPhrase: z.string().optional(),
1300
+ get throwable () {
1301
+ return throwableSchema.optional();
1302
+ },
1303
+ uri: z.string().optional(),
1304
+ error: z.boolean().optional(),
1305
+ success: z.boolean().optional(),
1306
+ globalError: z.boolean().optional(),
1307
+ informational: z.boolean().optional(),
1308
+ redirection: z.boolean().optional(),
1309
+ recoverableError: z.boolean().optional(),
1310
+ serverError: z.boolean().optional(),
1311
+ connectorError: z.boolean().optional(),
1312
+ clientError: z.boolean().optional()
1313
+ });
1314
+ const warningSchema = z.object({
1315
+ agent: z.string().optional(),
1316
+ date: z.iso.datetime().optional(),
1317
+ status: statusSchema.optional(),
1318
+ text: z.string().optional()
1319
+ });
1320
+ const requestSchema = z.object({
1321
+ attributes: z.object({}).catchall(z.object({})).optional(),
1322
+ cacheDirectives: z.array(cacheDirectiveSchema).optional(),
1323
+ date: z.iso.datetime().optional(),
1324
+ entity: representationSchema.optional(),
1325
+ onError: uniformSchema.optional(),
1326
+ onSent: uniformSchema.optional(),
1327
+ recipientsInfo: z.array(recipientInfoSchema).optional(),
1328
+ warnings: z.array(warningSchema).optional(),
1329
+ accessControlRequestHeaders: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1330
+ message: "Array entries must be unique"
1331
+ }).optional(),
1332
+ accessControlRequestMethod: methodSchema.optional(),
1333
+ challengeResponse: challengeResponseSchema.optional(),
1334
+ clientInfo: clientInfoSchema.optional(),
1335
+ conditions: conditionsSchema.optional(),
1336
+ cookies: z.array(cookieSchema).optional(),
1337
+ get hostRef () {
1338
+ return referenceSchema.optional();
1339
+ },
1340
+ loggable: z.boolean().optional(),
1341
+ maxForwards: z.int().optional(),
1342
+ method: methodSchema.optional(),
1343
+ onResponse: uniformSchema.optional(),
1344
+ get originalRef () {
1345
+ return referenceSchema.optional();
1346
+ },
1347
+ protocol: protocolSchema.optional(),
1348
+ proxyChallengeResponse: challengeResponseSchema.optional(),
1349
+ ranges: z.array(rangeSchema).optional(),
1350
+ get referrerRef () {
1351
+ return referenceSchema.optional();
1352
+ },
1353
+ get resourceRef () {
1354
+ return referenceSchema.optional();
1355
+ },
1356
+ get rootRef () {
1357
+ return referenceSchema.optional();
1358
+ },
1359
+ asynchronous: z.boolean().optional(),
1360
+ entityAvailable: z.boolean().optional(),
1361
+ expectingResponse: z.boolean().optional(),
1362
+ synchronous: z.boolean().optional(),
1363
+ confidential: z.boolean().optional(),
1364
+ entityAsText: z.string().optional(),
1365
+ headers: z.array(headerSchema).optional()
1366
+ });
1367
+ const reservationAccessTimesUpdateSchema = z.object({
1368
+ checkInTime: z.int().optional().describe("Custom check in time in minutes from midnight"),
1369
+ checkOutTime: z.int().optional().describe("Custom check out time in minutes from midnight")
1370
+ });
1371
+ const serverInfoSchema = z.object({
1372
+ acceptingRanges: z.boolean().optional(),
1373
+ address: z.string().optional(),
1374
+ agent: z.string().optional(),
1375
+ port: z.int().optional()
1376
+ });
1377
+ const responseSchema = z.object({
1378
+ attributes: z.object({}).catchall(z.object({})).optional(),
1379
+ cacheDirectives: z.array(cacheDirectiveSchema).optional(),
1380
+ date: z.iso.datetime().optional(),
1381
+ entity: representationSchema.optional(),
1382
+ onError: uniformSchema.optional(),
1383
+ onSent: uniformSchema.optional(),
1384
+ recipientsInfo: z.array(recipientInfoSchema).optional(),
1385
+ warnings: z.array(warningSchema).optional(),
1386
+ accessControlAllowCredentials: z.boolean().optional(),
1387
+ accessControlAllowHeaders: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1388
+ message: "Array entries must be unique"
1389
+ }).optional(),
1390
+ accessControlAllowMethods: z.array(methodSchema).refine((items)=>new Set(items).size === items.length, {
1391
+ message: "Array entries must be unique"
1392
+ }).optional(),
1393
+ accessControlAllowOrigin: z.string().optional(),
1394
+ accessControlExposeHeaders: z.array(z.string()).refine((items)=>new Set(items).size === items.length, {
1395
+ message: "Array entries must be unique"
1396
+ }).optional(),
1397
+ accessControlMaxAge: z.int().optional(),
1398
+ age: z.int().optional(),
1399
+ allowedMethods: z.array(methodSchema).refine((items)=>new Set(items).size === items.length, {
1400
+ message: "Array entries must be unique"
1401
+ }).optional(),
1402
+ authenticationInfo: authenticationInfoSchema.optional(),
1403
+ autoCommitting: z.boolean().optional(),
1404
+ challengeRequests: z.array(challengeRequestSchema).optional(),
1405
+ committed: z.boolean().optional(),
1406
+ cookieSettings: z.array(cookieSettingSchema).optional(),
1407
+ dimensions: z.array(z.enum([
1408
+ "AUTHORIZATION",
1409
+ "CHARACTER_SET",
1410
+ "CLIENT_ADDRESS",
1411
+ "CLIENT_AGENT",
1412
+ "UNSPECIFIED",
1413
+ "ENCODING",
1414
+ "LANGUAGE",
1415
+ "MEDIA_TYPE",
1416
+ "TIME",
1417
+ "ORIGIN"
1418
+ ])).refine((items)=>new Set(items).size === items.length, {
1419
+ message: "Array entries must be unique"
1420
+ }).optional(),
1421
+ get locationRef () {
1422
+ return referenceSchema.optional();
1423
+ },
1424
+ proxyChallengeRequests: z.array(challengeRequestSchema).optional(),
1425
+ request: requestSchema.optional(),
1426
+ retryAfter: z.iso.datetime().optional(),
1427
+ serverInfo: serverInfoSchema.optional(),
1428
+ status: statusSchema.optional(),
1429
+ final: z.boolean().optional(),
1430
+ provisional: z.boolean().optional(),
1431
+ confidential: z.boolean().optional(),
1432
+ entityAvailable: z.boolean().optional(),
1433
+ entityAsText: z.string().optional(),
1434
+ headers: z.array(headerSchema).optional()
1435
+ });
1436
+ const shsSubscriptionSchema = z.object({
1437
+ type: z.enum([
1438
+ "B2C",
1439
+ "B2B"
1440
+ ]).optional(),
1441
+ state: z.enum([
1442
+ "ACTIVE",
1443
+ "INACTIVE",
1444
+ "CANCELLED",
1445
+ "EXPIRED",
1446
+ "ON_HOLD",
1447
+ "PENDING",
1448
+ "PENDING_CANCEL"
1449
+ ]).optional(),
1450
+ shsSubscriptionType: z.enum([
1451
+ "BUSINESS",
1452
+ "STANDARD",
1453
+ "BUSINESS_PLUS",
1454
+ "API_ONLY"
1455
+ ]).optional(),
1456
+ updateDate: z.iso.datetime().optional(),
1457
+ creationDate: z.iso.datetime().optional(),
1458
+ expirationDate: z.iso.datetime().optional(),
1459
+ isInGracePeriod: z.boolean().optional(),
1460
+ isGracePeriodWarningDismissed: z.boolean().optional(),
1461
+ gracePeriodWarningEmailSent: z.boolean().optional(),
1462
+ contractId: z.uuid().optional()
1463
+ });
1464
+ const smartlockConfigSchema = z.object({
1465
+ name: z.string().describe("The name of the smartlock for new users"),
1466
+ latitude: z.number().describe("The latitude of the smartlock position"),
1467
+ longitude: z.number().describe("The longitude of the smartlock position"),
1468
+ 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)"),
1469
+ autoUnlatch: z.boolean().optional().describe("True if the door should be unlatched on unlocking (knob) (only for type=1 and type=3)"),
1470
+ 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"),
1471
+ pairingEnabled: z.boolean().optional().describe("True if the pairing is allowed via the smartlock button"),
1472
+ buttonEnabled: z.boolean().optional().describe("True if the button on the smartlock is enabled"),
1473
+ ledEnabled: z.boolean().optional().describe("True if the LED on the smartlock is enabled"),
1474
+ ledBrightness: z.int().optional().describe("The brightness of the LED: 0 .. off, 5 .. max (only for type=1 and type=3)"),
1475
+ timezoneOffset: z.int().describe("[deprecated] The timezone offset (in minutes)"),
1476
+ daylightSavingMode: z.int().optional().describe("[deprecated] The daylight saving mode: 0 .. off, 1 .. european"),
1477
+ fobPaired: z.boolean().optional().describe("True if a fob is paired with the smartlock"),
1478
+ 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"),
1479
+ 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"),
1480
+ 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"),
1481
+ singleLock: z.boolean().describe("True if the smartlock should only lock once (instead of twice) (only for type=1)"),
1482
+ 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"),
1483
+ advertisingMode: z.int().describe("The advertising mode (battery saving): 0 .. automatic, 1 .. normal, 2 .. slow, 3 .. slowest"),
1484
+ keypadPaired: z.boolean().optional().describe("True if a keypad is paired with the smartlock"),
1485
+ keypad2Paired: z.boolean().optional().describe("True if a keypad 2 is paired with the smartlock"),
1486
+ homekitState: z.int().optional().describe("The homekit state: 0 .. unavailable, 1 .. disabled, 2 .. enabled, 3 .. enabled & paired"),
1487
+ matterState: z.int().optional().describe("The matter state: 0 .. not available, 1 .. disabled and no certificate available, 2 .. disabled, 3 .. enabled, 4 .. enabled & paired"),
1488
+ timezoneId: z.int().describe("The timezone id (check https://developer.nuki.io for ids)"),
1489
+ deviceType: z.int().optional().describe("The device type of a Nuki device"),
1490
+ wifiEnabled: z.boolean().optional().describe("Flag that indicates if the devices internal WIFI module can be used"),
1491
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
1492
+ productVariant: z.int().optional().describe("The product variant for Smartlock 5: 1 .. Go, 2 .. Pro, 3 .. Ultra")
1493
+ });
1494
+ const smartlockAdvancedConfigSchema = z.object({
1495
+ lngTimeout: z.int().optional().describe("Timeout in seconds for lock ‘n’ go"),
1496
+ 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"),
1497
+ 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"),
1498
+ automaticBatteryTypeDetection: z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1499
+ unlatchDuration: z.int().optional().describe("Duration in seconds for holding the latch in unlatched position"),
1500
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
1501
+ totalDegrees: z.int().describe("The absolute total position in degrees that has been reached during calibration"),
1502
+ singleLockedPositionOffsetDegrees: z.int().describe("Offset that alters the single locked position"),
1503
+ unlockedToLockedTransitionOffsetDegrees: z.int().optional().describe("Offset that alters the position where transition from unlocked to locked happens"),
1504
+ unlockedPositionOffsetDegrees: z.int().describe("Offset that alters the unlocked position"),
1505
+ lockedPositionOffsetDegrees: z.int().describe("Offset that alters the locked position"),
1506
+ detachedCylinder: z.boolean().optional().describe("Flag that indicates that the inner side of the used cylinder is detached from the outer side"),
1507
+ batteryType: z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium"),
1508
+ 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"),
1509
+ 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)"),
1510
+ autoUpdateEnabled: z.boolean().optional().describe("Flag that indicates if available firmware updates for the deviceshould be installed automatically"),
1511
+ motorSpeed: z.int().optional().describe("Field used for setting the motor speed. 0x00 ... standard, 0x01 ... fast, 0x02 ... slow"),
1512
+ enableSlowSpeedDuringNightmode: z.boolean().optional().describe("Flag indicating if the slow speed shall be applied during NightMode")
1513
+ });
1514
+ const smartlockOpenerAdvancedConfigSchema = z.object({
1515
+ intercomId: z.int().describe("The database ID of the connected intercom"),
1516
+ busModeSwitch: z.int().describe("Method to switch between data and analogue mode"),
1517
+ shortCircuitDuration: z.int().describe("Duration of the short circuit for BUS mode switching in ms"),
1518
+ electricStrikeDelay: z.int().describe("Delay of electric strike activation in ms after lock action 3 'electric strike actuation'"),
1519
+ randomElectricStrikeDelay: z.boolean().describe("Random electricStrikeDelay (range 3000 - 7000 ms) in order to simulate a person inside actuating the electric strike"),
1520
+ electricStrikeDuration: z.int().describe("Duration in ms of electric strike actuation lock action 3 'electric strike actuation'"),
1521
+ disableRtoAfterRing: z.boolean().describe("Flag to disable RTO after ring"),
1522
+ rtoTimeout: z.int().describe("After this period of time in minutes, RTO gets deactivated automatically"),
1523
+ 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"),
1524
+ doorbellSuppressionDuration: z.int().describe("Duration in ms of doorbell suppression (only in Operating mode 2 'digital Intercom')"),
1525
+ soundRing: z.int().describe("The sound for ring: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1526
+ soundOpen: z.int().describe("The sound for open: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1527
+ soundRto: z.int().describe("The sound for RTO: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1528
+ soundCm: z.int().describe("The sound for CM: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3"),
1529
+ soundConfirmation: z.int().describe("The sound confirmation: 0 .. no sound, 1 .. sound"),
1530
+ soundLevel: z.int().describe("The sound level"),
1531
+ 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"),
1532
+ 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"),
1533
+ batteryType: z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed"),
1534
+ automaticBatteryTypeDetection: z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1535
+ autoUpdateEnabled: z.boolean().optional().describe("Flag that indicates if available firmware updates for the deviceshould be installed automatically"),
1536
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation")
1537
+ });
1538
+ const smartlockSmartdoorAdvancedConfigSchema = z.object({
1539
+ lngTimeout: z.int().optional().describe("Timeout in seconds for lock ‘n’ go"),
1540
+ 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"),
1541
+ 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"),
1542
+ automaticBatteryTypeDetection: z.boolean().optional().describe("Flag that indicates if the automatic detection of the battery type is enabled"),
1543
+ unlatchDuration: z.int().optional().describe("Duration in seconds for holding the latch in unlatched position"),
1544
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
1545
+ buzzerVolume: z.int().optional().describe("The volume of the buzzer: 0 .. off, 1 .. low, 2 .. normal"),
1546
+ supportedBatteryTypes: z.array(z.int()).refine((items)=>new Set(items).size === items.length, {
1547
+ message: "Array entries must be unique"
1548
+ }).optional().describe("Set of supported battery types: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 254 .. automatic, 255 .. unknown"),
1549
+ batteryType: z.int().describe("The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 255 .. unknown"),
1550
+ autoLockTimeout: z.int().optional().describe("Seconds until the smart lock relocks itself after it has been unlocked. No auto relock if value is 0"),
1551
+ autoLock: z.boolean().describe("The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time")
1552
+ });
1553
+ const smartlockStateSchema = z.object({
1554
+ 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"),
1555
+ 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"),
1556
+ 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)"),
1557
+ 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)"),
1558
+ batteryCritical: z.boolean().describe("True if the battery state of the device is critical"),
1559
+ batteryCharging: z.boolean().optional().describe("True if a Nuki battery pack in a Smart Lock is currently charging"),
1560
+ batteryCharge: z.int().optional().describe("Remaining capacity of a Nuki battery pack in %"),
1561
+ keypadBatteryCritical: z.boolean().optional().describe("True if the battery of a paired Keypad is critical (only available for supported devices)"),
1562
+ doorsensorBatteryCritical: z.boolean().optional().describe("True if the battery of a paired doorsensor is critical (only available for supported devices)"),
1563
+ 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"),
1564
+ ringToOpenTimer: z.int().describe("[deprecated] Remaining ring to open time; 0 if ring to open is not active (type=2 only)"),
1565
+ ringToOpenEnd: z.iso.datetime().optional().describe("End date of ring to open timeout; null if ring to open is not active (type=2 only)"),
1566
+ nightMode: z.boolean().describe("True if night mode currently active"),
1567
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation")
1568
+ });
1569
+ const smartlockSchema = z.object({
1570
+ smartlockId: z.coerce.bigint().describe("The smartlock id"),
1571
+ accountId: z.int().describe("The account id"),
1572
+ type: z.int().describe("The type: 0 .. Smartlock 1/2, 1 .. Box, 2 .. Opener, 3 .. Smartdoor, 4 .. Smartlock 3/4, 5 .. Smartlock 5"),
1573
+ lmType: z.int().optional().describe("The lock mechanism used in the smart door lock: 1 .. MyEVO, 2 .. KFV Genius (only for type = 3)"),
1574
+ authId: z.int().describe("The authorization id"),
1575
+ name: z.string().describe("The name of the smartlock"),
1576
+ favorite: z.boolean().describe("The favorite flag"),
1577
+ config: smartlockConfigSchema.optional().describe("The config"),
1578
+ advancedConfig: smartlockAdvancedConfigSchema.optional().describe("The advanced config"),
1579
+ openerAdvancedConfig: smartlockOpenerAdvancedConfigSchema.optional().describe("The opener advanced config"),
1580
+ smartdoorAdvancedConfig: smartlockSmartdoorAdvancedConfigSchema.optional().describe("The smartdoor advanced config"),
1581
+ webConfig: smartlockWebConfigSchema.optional().describe("The web config"),
1582
+ state: smartlockStateSchema.optional().describe("The state"),
1583
+ firmwareVersion: z.int().optional().describe("The firmware version"),
1584
+ hardwareVersion: z.int().optional().describe("The hardware version"),
1585
+ operationId: z.string().optional().describe("The operation id - if set it's locked for another operation"),
1586
+ serverState: z.int().describe("The server state: 0 .. ok, 1 .. unregistered, 2 .. auth uuid invalid, 3 .. auth invalid, 4 .. offline"),
1587
+ adminPinState: z.int().describe("The admin pin state: 0 .. ok, 1 .. missing, 2 .. invalid"),
1588
+ virtualDevice: z.boolean().optional().describe("The flag indicating a virtual Smart Lock"),
1589
+ creationDate: z.iso.datetime().optional().describe("The creation date"),
1590
+ updateDate: z.iso.datetime().optional().describe("The update date"),
1591
+ error: z.string().optional().describe("In case of any error, it contains the error message"),
1592
+ previousSubscriptions: z.array(shsSubscriptionSchema).optional().describe("Previous Subscriptions"),
1593
+ currentSubscription: shsSubscriptionSchema.optional().describe("Current Subscription"),
1594
+ region: z.int().optional().describe("The region"),
1595
+ mountingVariant: z.int().optional().describe("The mounting variant"),
1596
+ opener: z.boolean().optional(),
1597
+ box: z.boolean().optional(),
1598
+ smartDoor: z.boolean().optional(),
1599
+ keyturner: z.boolean().optional()
1600
+ });
1601
+ const smartlockActionSchema = z.object({
1602
+ 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"),
1603
+ option: z.int().optional().describe("The option mask: 0 .. none, 2 .. force, 4 .. full lock")
1604
+ });
1605
+ const smartlockAdminPinUpdateSchema = z.object({
1606
+ adminPin: z.int().describe("The admin pin")
1607
+ });
1608
+ const smartlockAuthSchema = z.object({
1609
+ id: z.string().describe("The unique id for the smartlock authorization"),
1610
+ smartlockId: z.coerce.bigint().describe("The smartlock id"),
1611
+ accountUserId: z.int().optional().describe("The id of the linked account user"),
1612
+ authId: z.int().optional().describe("The smartlock authorization id"),
1613
+ code: z.int().optional().describe("The keypad code (only for type keypad)"),
1614
+ fingerprints: z.object({}).catchall(z.string()).optional(),
1615
+ 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"),
1616
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1617
+ enabled: z.boolean().describe("True if the auth is enabled"),
1618
+ remoteAllowed: z.boolean().describe("True if the auth has remote access"),
1619
+ lockCount: z.int().describe("The lock count"),
1620
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1621
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1622
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1623
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1624
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1625
+ lastActiveDate: z.iso.datetime().optional().describe("The last active date"),
1626
+ creationDate: z.iso.datetime().optional().describe("The creation date"),
1627
+ updateDate: z.iso.datetime().optional().describe("The update date"),
1628
+ operationId: objectIdSchema.optional().describe("The operation id - if set the auth is locked for another operations."),
1629
+ error: z.string().optional().describe("In case of any error, it contains the error message"),
1630
+ appId: z.int().optional().describe("The ID of the Nuki App"),
1631
+ authTypeAsString: z.string().optional()
1632
+ });
1633
+ const smartlockAuthCreateSchema = z.object({
1634
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1635
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1636
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1637
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1638
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1639
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1640
+ accountUserId: z.int().optional().describe("The id of the linked account user (required if type is NOT 13 .. keypad)"),
1641
+ remoteAllowed: z.boolean().describe("True if the auth has remote access"),
1642
+ smartActionsEnabled: z.boolean().optional().describe("The smart actions enabled flag"),
1643
+ type: z.int().optional().describe("The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad"),
1644
+ code: z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1645
+ });
1646
+ const smartlockAuthMultiUpdateSchema = z.object({
1647
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1648
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1649
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1650
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1651
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1652
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1653
+ accountUserId: z.int().optional().describe("The id of the linked account user"),
1654
+ enabled: z.boolean().optional().describe("True if the auth is enabled"),
1655
+ remoteAllowed: z.boolean().optional().describe("True if the auth has remote access"),
1656
+ code: z.int().optional().describe("The code of the keypad authorization (only for keypad)"),
1657
+ id: z.string().describe("The unique id for the smartlock authorization")
1658
+ });
1659
+ const smartlockAuthUpdateSchema = z.object({
1660
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1661
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1662
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1663
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1664
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1665
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1666
+ accountUserId: z.int().optional().describe("The id of the linked account user"),
1667
+ enabled: z.boolean().optional().describe("True if the auth is enabled"),
1668
+ remoteAllowed: z.boolean().optional().describe("True if the auth has remote access"),
1669
+ code: z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1670
+ });
1671
+ const smartlockAuthWithSharedKeyCreateSchema = z.object({
1672
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1673
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1674
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1675
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1676
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1677
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1678
+ accountUserId: z.int().optional().describe("The id of the linked account user")
1679
+ });
1680
+ const smartlockLogOpenerLogSchema = z.object({
1681
+ activeCm: z.boolean().describe("Flag indicating if continuous mode was active"),
1682
+ activeRto: z.boolean().describe("Flag indicating if ring to open was active"),
1683
+ 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"),
1684
+ flagGeoFence: z.boolean().describe("Flag indicating a geo fence induced action"),
1685
+ flagForce: z.boolean().describe("Flag indicating a force induced action"),
1686
+ flagDoorbellSuppression: z.boolean().describe("Flag indicating if doorbell suppression was active")
1687
+ });
1688
+ const smartlockLogSchema = z.object({
1689
+ id: z.string().describe("The unique id for the smartlock log"),
1690
+ smartlockId: z.coerce.bigint().describe("The smartlock id"),
1691
+ deviceType: z.int().describe("The device type: 0 .. Smartlock 1/2 + Box, 2 .. Opener, 3 .. Smartdoor, 4 .. Smartlock 3/4, 5 .. Smartlock 5"),
1692
+ accountUserId: z.int().optional().describe("The id of the linked account user"),
1693
+ authId: z.string().optional().describe("The id of the linked smartlock auth"),
1694
+ name: z.string().describe("The name"),
1695
+ 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"),
1696
+ 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"),
1697
+ 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"),
1698
+ autoUnlock: z.boolean().describe("True if it was an auto unlock"),
1699
+ date: z.iso.datetime().describe("The log date"),
1700
+ openerLog: smartlockLogOpenerLogSchema.optional().describe("The opener specific log"),
1701
+ ajarTimeout: z.int().optional().describe("The door sensor warning ajar timeout (in minutes, only for action = 208)"),
1702
+ source: z.int().optional().describe("The source of action: 1 .. Keypad code, 2 .. Fingerprint, 3 .. Tap to Unlock, 0 .. Default"),
1703
+ error: z.string().optional().describe("In case of any error, it contains the error message")
1704
+ });
1705
+ const smartlockUpdateSchema = z.object({
1706
+ name: z.string().optional().describe("The new name of the smartlock"),
1707
+ favorite: z.boolean().optional().describe("True if the smartlock is favorite")
1708
+ });
1709
+ const smartlocksAuthAdvancedCreateSchema = z.object({
1710
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1711
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1712
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1713
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1714
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1715
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1716
+ accountUserId: z.int().describe("The id of the linked account user"),
1717
+ smartlockIds: z.array(z.coerce.bigint()).describe("The list of smartlock ids"),
1718
+ remoteAllowed: z.boolean().describe("True if the auth has remote access"),
1719
+ smartActionsEnabled: z.boolean().optional().describe("The smart actions enabled flag")
1720
+ });
1721
+ const smartlocksAuthCreateSchema = z.object({
1722
+ name: z.string().describe("The name of the authorization (max 32 chars)"),
1723
+ allowedFromDate: z.iso.datetime().optional().describe("The allowed from date"),
1724
+ allowedUntilDate: z.iso.datetime().optional().describe("The allowed until date"),
1725
+ allowedWeekDays: z.int().optional().describe("The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday"),
1726
+ allowedFromTime: z.int().optional().describe("The allowed from time (in minutes from midnight)"),
1727
+ allowedUntilTime: z.int().optional().describe("The allowed until time (in minutes from midnight)"),
1728
+ accountUserId: z.int().optional().describe("The id of the linked account user (required if type is NOT 13 .. keypad)"),
1729
+ smartlockIds: z.array(z.coerce.bigint()).optional().describe("The list of smartlock ids"),
1730
+ remoteAllowed: z.boolean().describe("True if the auth has remote access"),
1731
+ smartActionsEnabled: z.boolean().optional().describe("The smart actions enabled flag"),
1732
+ type: z.int().optional().describe("The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad"),
1733
+ code: z.int().optional().describe("The code of the keypad authorization (only for keypad)")
1734
+ });
1735
+ const variantSchema = z.object({
1736
+ characterSet: characterSetSchema.optional(),
1737
+ encodings: z.array(encodingSchema).optional(),
1738
+ get locationRef () {
1739
+ return referenceSchema.optional();
1740
+ },
1741
+ get languages () {
1742
+ return z.array(languageSchema).optional();
1743
+ },
1744
+ get mediaType () {
1745
+ return mediaTypeSchema.optional();
1746
+ }
1747
+ });
1748
+ const webhookMessageSchema = z.object({
1749
+ headers: z.object({}).catchall(z.string()).describe("Http Headers as key value pairs"),
1750
+ body: z.object({}).catchall(z.object({})).optional().describe("Http Body as Json"),
1751
+ timestamp: z.iso.datetime().optional().describe("The timestamp when the message was created"),
1752
+ path: z.string().describe("Path of the message")
1753
+ });
1754
+ const webhookLogSchema = z.object({
1755
+ id: z.string().describe("The WebhookLog id"),
1756
+ requestId: z.string().optional().describe("Request id, set when api-triggered request otherwise empty"),
1757
+ succeeded: z.boolean().optional().describe("If the webhooks sends the data successfully"),
1758
+ responseStatus: z.int().optional().describe("Http Status code of the webhook response"),
1759
+ duration: z.coerce.bigint().optional().describe("The duration of the webhook in milli seconds"),
1760
+ accountId: z.int().describe("The account id"),
1761
+ request: webhookMessageSchema.optional().describe("Only set if webhook triggered by user"),
1762
+ response: webhookMessageSchema.optional().describe("Set if webhook sent"),
1763
+ apiKeyId: z.int().describe("Used Api Key for the webhook"),
1764
+ updated: z.iso.datetime().describe("last updated time"),
1765
+ created: z.iso.datetime().describe("Creation Date")
1766
+ });
1767
+ const getAccountsResourceStatus200Schema = myAccountSchema;
1768
+ const getAccountsResourceStatus401Schema = z.unknown();
1769
+ const getAccountsResourceResponseSchema = getAccountsResourceStatus200Schema;
1770
+ const getAccountsResourceErrorSchema = getAccountsResourceStatus401Schema;
1771
+ const postAccountsResourceQueryDeleteApiTokensSchema = z.boolean().optional().default(true).describe("If false existing API tokens are not deleted if the password is changed");
1772
+ const postAccountsResourceStatus204Schema = z.unknown();
1773
+ const postAccountsResourceStatus400Schema = z.unknown();
1774
+ const postAccountsResourceStatus401Schema = z.unknown();
1775
+ const postAccountsResourceStatus409Schema = z.unknown();
1776
+ const postAccountsResourceResponseSchema = postAccountsResourceStatus204Schema;
1777
+ const postAccountsResourceErrorSchema = z.union([
1778
+ postAccountsResourceStatus400Schema,
1779
+ postAccountsResourceStatus401Schema,
1780
+ postAccountsResourceStatus409Schema
1781
+ ]);
1782
+ const postAccountsResourceBodySchema = accountUpdateSchema.describe("Account update representation");
1783
+ const deleteAccountsResourceStatus204Schema = z.unknown();
1784
+ const deleteAccountsResourceStatus401Schema = z.unknown();
1785
+ const deleteAccountsResourceResponseSchema = deleteAccountsResourceStatus204Schema;
1786
+ const deleteAccountsResourceErrorSchema = deleteAccountsResourceStatus401Schema;
1787
+ const postAccountEmailChangeResourceStatus204Schema = z.unknown();
1788
+ const postAccountEmailChangeResourceStatus400Schema = z.unknown();
1789
+ const postAccountEmailChangeResourceStatus401Schema = z.unknown();
1790
+ const postAccountEmailChangeResourceStatus409Schema = z.unknown();
1791
+ const postAccountEmailChangeResourceResponseSchema = postAccountEmailChangeResourceStatus204Schema;
1792
+ const postAccountEmailChangeResourceErrorSchema = z.union([
1793
+ postAccountEmailChangeResourceStatus400Schema,
1794
+ postAccountEmailChangeResourceStatus401Schema,
1795
+ postAccountEmailChangeResourceStatus409Schema
1796
+ ]);
1797
+ const postAccountEmailChangeResourceBodySchema = accountEmailChangeSchema.describe("Account email change representation");
1798
+ const postAccountEmailVerifyResourceStatus204Schema = z.unknown();
1799
+ const postAccountEmailVerifyResourceStatus400Schema = z.unknown();
1800
+ const postAccountEmailVerifyResourceStatus401Schema = z.unknown();
1801
+ const postAccountEmailVerifyResourceStatus409Schema = z.unknown();
1802
+ const postAccountEmailVerifyResourceResponseSchema = postAccountEmailVerifyResourceStatus204Schema;
1803
+ const postAccountEmailVerifyResourceErrorSchema = z.union([
1804
+ postAccountEmailVerifyResourceStatus400Schema,
1805
+ postAccountEmailVerifyResourceStatus401Schema,
1806
+ postAccountEmailVerifyResourceStatus409Schema
1807
+ ]);
1808
+ const getAccountIntegrationsResourceStatus200Schema = z.array(accountIntegrationSchema);
1809
+ const getAccountIntegrationsResourceStatus401Schema = z.unknown();
1810
+ const getAccountIntegrationsResourceResponseSchema = getAccountIntegrationsResourceStatus200Schema;
1811
+ const getAccountIntegrationsResourceErrorSchema = getAccountIntegrationsResourceStatus401Schema;
1812
+ const deleteAccountIntegrationsResourceQueryApiKeyIdSchema = z.int().optional().describe("The api key id to delete (this also removes all tokens if no specific tokenId is given)");
1813
+ const deleteAccountIntegrationsResourceQueryTokenIdSchema = z.int().optional().describe("The token id if a specific token has to be deleted but not the full api key");
1814
+ const deleteAccountIntegrationsResourceStatus204Schema = z.unknown();
1815
+ const deleteAccountIntegrationsResourceStatus401Schema = z.unknown();
1816
+ const deleteAccountIntegrationsResourceResponseSchema = deleteAccountIntegrationsResourceStatus204Schema;
1817
+ const deleteAccountIntegrationsResourceErrorSchema = deleteAccountIntegrationsResourceStatus401Schema;
1818
+ const postAccountOtpResourceStatus204Schema = z.unknown();
1819
+ const postAccountOtpResourceStatus400Schema = z.unknown();
1820
+ const postAccountOtpResourceStatus401Schema = z.unknown();
1821
+ const postAccountOtpResourceStatus429Schema = z.unknown();
1822
+ const postAccountOtpResourceResponseSchema = postAccountOtpResourceStatus204Schema;
1823
+ const postAccountOtpResourceErrorSchema = z.union([
1824
+ postAccountOtpResourceStatus400Schema,
1825
+ postAccountOtpResourceStatus401Schema,
1826
+ postAccountOtpResourceStatus429Schema
1827
+ ]);
1828
+ const postAccountOtpResourceBodySchema = accountOtpEnableSchema.describe("Account one time password enable representation");
1829
+ const putAccountOtpResourceStatus200Schema = z.string();
1830
+ const putAccountOtpResourceStatus405Schema = z.unknown();
1831
+ const putAccountOtpResourceResponseSchema = putAccountOtpResourceStatus200Schema;
1832
+ const putAccountOtpResourceErrorSchema = putAccountOtpResourceStatus405Schema;
1833
+ const deleteAccountOtpResourceStatus204Schema = z.unknown();
1834
+ const deleteAccountOtpResourceStatus401Schema = z.unknown();
1835
+ const deleteAccountOtpResourceResponseSchema = deleteAccountOtpResourceStatus204Schema;
1836
+ const deleteAccountOtpResourceErrorSchema = deleteAccountOtpResourceStatus401Schema;
1837
+ const postAccountPasswordResetResourceStatus204Schema = z.unknown();
1838
+ const postAccountPasswordResetResourceStatus401Schema = z.unknown();
1839
+ const postAccountPasswordResetResourceResponseSchema = postAccountPasswordResetResourceStatus204Schema;
1840
+ const postAccountPasswordResetResourceErrorSchema = postAccountPasswordResetResourceStatus401Schema;
1841
+ const postAccountPasswordResetResourceBodySchema = accountPasswordResetSchema.describe("Account password reset representation");
1842
+ const getAccountSettingResourceStatus200Schema = accountSettingSchema;
1843
+ const getAccountSettingResourceStatus401Schema = z.unknown();
1844
+ const getAccountSettingResourceStatus403Schema = z.unknown();
1845
+ const getAccountSettingResourceStatus404Schema = z.unknown();
1846
+ const getAccountSettingResourceResponseSchema = getAccountSettingResourceStatus200Schema;
1847
+ const getAccountSettingResourceErrorSchema = z.union([
1848
+ getAccountSettingResourceStatus401Schema,
1849
+ getAccountSettingResourceStatus403Schema,
1850
+ getAccountSettingResourceStatus404Schema
1851
+ ]);
1852
+ const putAccountSettingResourceStatus200Schema = accountSettingSchema;
1853
+ const putAccountSettingResourceStatus400Schema = z.unknown();
1854
+ const putAccountSettingResourceStatus401Schema = z.unknown();
1855
+ const putAccountSettingResourceResponseSchema = putAccountSettingResourceStatus200Schema;
1856
+ const putAccountSettingResourceErrorSchema = z.union([
1857
+ putAccountSettingResourceStatus400Schema,
1858
+ putAccountSettingResourceStatus401Schema
1859
+ ]);
1860
+ const putAccountSettingResourceBodySchema = accountSettingSchema.describe("Account setting representation");
1861
+ const deleteAccountSettingResourceStatus204Schema = z.unknown();
1862
+ const deleteAccountSettingResourceStatus401Schema = z.unknown();
1863
+ const deleteAccountSettingResourceStatus403Schema = z.unknown();
1864
+ const deleteAccountSettingResourceResponseSchema = deleteAccountSettingResourceStatus204Schema;
1865
+ const deleteAccountSettingResourceErrorSchema = z.union([
1866
+ deleteAccountSettingResourceStatus401Schema,
1867
+ deleteAccountSettingResourceStatus403Schema
1868
+ ]);
1869
+ const getAccountSubsResourceQueryEmailSchema = z.string().optional().describe("The optional email (regex)");
1870
+ const getAccountSubsResourceStatus200Schema = accountSchema;
1871
+ const getAccountSubsResourceStatus401Schema = z.unknown();
1872
+ const getAccountSubsResourceResponseSchema = getAccountSubsResourceStatus200Schema;
1873
+ const getAccountSubsResourceErrorSchema = getAccountSubsResourceStatus401Schema;
1874
+ const putAccountSubsResourceStatus200Schema = myAccountSchema;
1875
+ const putAccountSubsResourceStatus400Schema = z.unknown();
1876
+ const putAccountSubsResourceResponseSchema = putAccountSubsResourceStatus200Schema;
1877
+ const putAccountSubsResourceErrorSchema = putAccountSubsResourceStatus400Schema;
1878
+ const putAccountSubsResourceBodySchema = accountSubCreateSchema.describe("Account sub create representation");
1879
+ const getAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1880
+ const getAccountSubResourceStatus200Schema = accountSchema;
1881
+ const getAccountSubResourceStatus401Schema = z.unknown();
1882
+ const getAccountSubResourceResponseSchema = getAccountSubResourceStatus200Schema;
1883
+ const getAccountSubResourceErrorSchema = getAccountSubResourceStatus401Schema;
1884
+ const postAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1885
+ const postAccountSubResourceStatus204Schema = z.unknown();
1886
+ const postAccountSubResourceStatus400Schema = z.unknown();
1887
+ const postAccountSubResourceStatus401Schema = z.unknown();
1888
+ const postAccountSubResourceStatus409Schema = z.unknown();
1889
+ const postAccountSubResourceResponseSchema = postAccountSubResourceStatus204Schema;
1890
+ const postAccountSubResourceErrorSchema = z.union([
1891
+ postAccountSubResourceStatus400Schema,
1892
+ postAccountSubResourceStatus401Schema,
1893
+ postAccountSubResourceStatus409Schema
1894
+ ]);
1895
+ const postAccountSubResourceBodySchema = accountSubUpdateSchema.describe("Account update representation");
1896
+ const deleteAccountSubResourcePathAccountIdSchema = z.int().describe("The account ID");
1897
+ const deleteAccountSubResourceStatus204Schema = z.unknown();
1898
+ const deleteAccountSubResourceStatus401Schema = z.unknown();
1899
+ const deleteAccountSubResourceResponseSchema = deleteAccountSubResourceStatus204Schema;
1900
+ const deleteAccountSubResourceErrorSchema = deleteAccountSubResourceStatus401Schema;
1901
+ const getAccountUsersResourceQueryEmailSchema = z.string().optional().describe("Filter for email");
1902
+ const getAccountUsersResourceQueryOffsetSchema = z.int().optional().describe("The offset of the first user in the collection to return");
1903
+ 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.");
1904
+ const getAccountUsersResourceStatus200Schema = z.array(accountUserSchema);
1905
+ const getAccountUsersResourceStatus401Schema = z.unknown();
1906
+ const getAccountUsersResourceResponseSchema = getAccountUsersResourceStatus200Schema;
1907
+ const getAccountUsersResourceErrorSchema = getAccountUsersResourceStatus401Schema;
1908
+ const putAccountUsersResourceStatus200Schema = accountUserSchema;
1909
+ const putAccountUsersResourceStatus400Schema = z.unknown();
1910
+ const putAccountUsersResourceResponseSchema = putAccountUsersResourceStatus200Schema;
1911
+ const putAccountUsersResourceErrorSchema = putAccountUsersResourceStatus400Schema;
1912
+ const putAccountUsersResourceBodySchema = accountUserCreateSchema.describe("Account sub create representation");
1913
+ const getAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1914
+ const getAccountUserResourceStatus200Schema = accountUserSchema;
1915
+ const getAccountUserResourceStatus401Schema = z.unknown();
1916
+ const getAccountUserResourceResponseSchema = getAccountUserResourceStatus200Schema;
1917
+ const getAccountUserResourceErrorSchema = getAccountUserResourceStatus401Schema;
1918
+ const postAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1919
+ const postAccountUserResourceStatus200Schema = accountUserSchema;
1920
+ const postAccountUserResourceStatus204Schema = z.unknown();
1921
+ const postAccountUserResourceStatus400Schema = z.unknown();
1922
+ const postAccountUserResourceStatus401Schema = z.unknown();
1923
+ const postAccountUserResourceStatus409Schema = z.unknown();
1924
+ const postAccountUserResourceResponseSchema = z.union([
1925
+ postAccountUserResourceStatus200Schema,
1926
+ postAccountUserResourceStatus204Schema
1927
+ ]);
1928
+ const postAccountUserResourceErrorSchema = z.union([
1929
+ postAccountUserResourceStatus400Schema,
1930
+ postAccountUserResourceStatus401Schema,
1931
+ postAccountUserResourceStatus409Schema
1932
+ ]);
1933
+ const postAccountUserResourceBodySchema = accountUserUpdateSchema.describe("Account update representation");
1934
+ const deleteAccountUserResourcePathAccountUserIdSchema = z.int().describe("The account user ID");
1935
+ const deleteAccountUserResourceStatus204Schema = z.unknown();
1936
+ const deleteAccountUserResourceStatus401Schema = z.unknown();
1937
+ const deleteAccountUserResourceStatus423Schema = z.unknown();
1938
+ const deleteAccountUserResourceResponseSchema = deleteAccountUserResourceStatus204Schema;
1939
+ const deleteAccountUserResourceErrorSchema = z.union([
1940
+ deleteAccountUserResourceStatus401Schema,
1941
+ deleteAccountUserResourceStatus423Schema
1942
+ ]);
1943
+ const getAddressesResourceStatus200Schema = z.array(addressSchema);
1944
+ const getAddressesResourceStatus401Schema = z.unknown();
1945
+ const getAddressesResourceResponseSchema = getAddressesResourceStatus200Schema;
1946
+ const getAddressesResourceErrorSchema = getAddressesResourceStatus401Schema;
1947
+ const putAddressesResourceStatus200Schema = addressSchema;
1948
+ const putAddressesResourceStatus400Schema = z.unknown();
1949
+ const putAddressesResourceStatus401Schema = z.unknown();
1950
+ const putAddressesResourceResponseSchema = putAddressesResourceStatus200Schema;
1951
+ const putAddressesResourceErrorSchema = z.union([
1952
+ putAddressesResourceStatus400Schema,
1953
+ putAddressesResourceStatus401Schema
1954
+ ]);
1955
+ const putAddressesResourceBodySchema = addressCreateSchema.describe("Address create representation");
1956
+ const getAddressTokenResourcePathIdSchema = z.string().describe("The token ID");
1957
+ const getAddressTokenResourceStatus200Schema = addressTokenInfoSchema;
1958
+ const getAddressTokenResourceStatus401Schema = z.unknown();
1959
+ const getAddressTokenResourceStatus404Schema = z.unknown();
1960
+ const getAddressTokenResourceResponseSchema = getAddressTokenResourceStatus200Schema;
1961
+ const getAddressTokenResourceErrorSchema = z.union([
1962
+ getAddressTokenResourceStatus401Schema,
1963
+ getAddressTokenResourceStatus404Schema
1964
+ ]);
1965
+ const getAddressTokenRedeemResourcePathIdSchema = z.string().describe("The token ID");
1966
+ const getAddressTokenRedeemResourceStatus200Schema = addressTokenSchema;
1967
+ const getAddressTokenRedeemResourceStatus401Schema = z.unknown();
1968
+ const getAddressTokenRedeemResourceStatus404Schema = z.unknown();
1969
+ const getAddressTokenRedeemResourceResponseSchema = getAddressTokenRedeemResourceStatus200Schema;
1970
+ const getAddressTokenRedeemResourceErrorSchema = z.union([
1971
+ getAddressTokenRedeemResourceStatus401Schema,
1972
+ getAddressTokenRedeemResourceStatus404Schema
1973
+ ]);
1974
+ const postAddressTokenRedeemResourcePathIdSchema = z.string().describe("The token ID");
1975
+ const postAddressTokenRedeemResourceQueryEmailSchema = z.boolean().optional().describe("If false, no email will be sent");
1976
+ const postAddressTokenRedeemResourceStatus204Schema = z.unknown();
1977
+ const postAddressTokenRedeemResourceStatus400Schema = z.unknown();
1978
+ const postAddressTokenRedeemResourceStatus401Schema = z.unknown();
1979
+ const postAddressTokenRedeemResourceStatus404Schema = z.unknown();
1980
+ const postAddressTokenRedeemResourceResponseSchema = postAddressTokenRedeemResourceStatus204Schema;
1981
+ const postAddressTokenRedeemResourceErrorSchema = z.union([
1982
+ postAddressTokenRedeemResourceStatus400Schema,
1983
+ postAddressTokenRedeemResourceStatus401Schema,
1984
+ postAddressTokenRedeemResourceStatus404Schema
1985
+ ]);
1986
+ const postAddressResourcePathAddressIdSchema = z.int().describe("The address ID");
1987
+ const postAddressResourceStatus204Schema = z.unknown();
1988
+ const postAddressResourceStatus400Schema = z.unknown();
1989
+ const postAddressResourceStatus401Schema = z.unknown();
1990
+ const postAddressResourceStatus403Schema = z.unknown();
1991
+ const postAddressResourceResponseSchema = postAddressResourceStatus204Schema;
1992
+ const postAddressResourceErrorSchema = z.union([
1993
+ postAddressResourceStatus400Schema,
1994
+ postAddressResourceStatus401Schema,
1995
+ postAddressResourceStatus403Schema
1996
+ ]);
1997
+ const postAddressResourceBodySchema = addressUpdateSchema.describe("Address update representation");
1998
+ const deleteAddressResourcePathAddressIdSchema = z.int().describe("The address ID");
1999
+ const deleteAddressResourceStatus204Schema = z.unknown();
2000
+ const deleteAddressResourceStatus401Schema = z.unknown();
2001
+ const deleteAddressResourceStatus403Schema = z.unknown();
2002
+ const deleteAddressResourceResponseSchema = deleteAddressResourceStatus204Schema;
2003
+ const deleteAddressResourceErrorSchema = z.union([
2004
+ deleteAddressResourceStatus401Schema,
2005
+ deleteAddressResourceStatus403Schema
2006
+ ]);
2007
+ const getAddressReservationsResourcePathAddressIdSchema = z.int().describe("The address ID");
2008
+ const getAddressReservationsResourceStatus200Schema = z.array(addressReservationSchema);
2009
+ const getAddressReservationsResourceStatus401Schema = z.unknown();
2010
+ const getAddressReservationsResourceResponseSchema = getAddressReservationsResourceStatus200Schema;
2011
+ const getAddressReservationsResourceErrorSchema = getAddressReservationsResourceStatus401Schema;
2012
+ const postAddressReservationIssueResourcePathAddressIdSchema = z.int().describe("The address ID");
2013
+ const postAddressReservationIssueResourcePathIdSchema = z.string().describe("The address reservation ID");
2014
+ const postAddressReservationIssueResourceStatus204Schema = z.unknown();
2015
+ const postAddressReservationIssueResourceStatus400Schema = z.unknown();
2016
+ const postAddressReservationIssueResourceStatus401Schema = z.unknown();
2017
+ const postAddressReservationIssueResourceResponseSchema = postAddressReservationIssueResourceStatus204Schema;
2018
+ const postAddressReservationIssueResourceErrorSchema = z.union([
2019
+ postAddressReservationIssueResourceStatus400Schema,
2020
+ postAddressReservationIssueResourceStatus401Schema
2021
+ ]);
2022
+ const postAddressReservationRevokeResourcePathAddressIdSchema = z.int().describe("The address ID");
2023
+ const postAddressReservationRevokeResourcePathIdSchema = z.string().describe("The address reservation ID");
2024
+ const postAddressReservationRevokeResourceStatus204Schema = z.unknown();
2025
+ const postAddressReservationRevokeResourceStatus400Schema = z.unknown();
2026
+ const postAddressReservationRevokeResourceStatus401Schema = z.unknown();
2027
+ const postAddressReservationRevokeResourceResponseSchema = postAddressReservationRevokeResourceStatus204Schema;
2028
+ const postAddressReservationRevokeResourceErrorSchema = z.union([
2029
+ postAddressReservationRevokeResourceStatus400Schema,
2030
+ postAddressReservationRevokeResourceStatus401Schema
2031
+ ]);
2032
+ const postReservationAccessTimesUpdateResourcePathAddressIdSchema = z.int().describe("The address ID");
2033
+ const postReservationAccessTimesUpdateResourcePathIdSchema = z.string().describe("The reservation ID");
2034
+ const postReservationAccessTimesUpdateResourceStatus204Schema = z.unknown();
2035
+ const postReservationAccessTimesUpdateResourceStatus400Schema = z.unknown();
2036
+ const postReservationAccessTimesUpdateResourceStatus401Schema = z.unknown();
2037
+ const postReservationAccessTimesUpdateResourceResponseSchema = postReservationAccessTimesUpdateResourceStatus204Schema;
2038
+ const postReservationAccessTimesUpdateResourceErrorSchema = z.union([
2039
+ postReservationAccessTimesUpdateResourceStatus400Schema,
2040
+ postReservationAccessTimesUpdateResourceStatus401Schema
2041
+ ]);
2042
+ const postReservationAccessTimesUpdateResourceBodySchema = reservationAccessTimesUpdateSchema.describe("Reservation access times update representation");
2043
+ const getAddressTokensResourcePathAddressIdSchema = z.int().describe("The address ID");
2044
+ const getAddressTokensResourceStatus200Schema = z.array(addressTokenSchema);
2045
+ const getAddressTokensResourceStatus400Schema = z.unknown();
2046
+ const getAddressTokensResourceStatus401Schema = z.unknown();
2047
+ const getAddressTokensResourceResponseSchema = getAddressTokensResourceStatus200Schema;
2048
+ const getAddressTokensResourceErrorSchema = z.union([
2049
+ getAddressTokensResourceStatus400Schema,
2050
+ getAddressTokensResourceStatus401Schema
2051
+ ]);
2052
+ const getAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
2053
+ const getAddressUnitsResourceStatus200Schema = z.array(addressUnitResponseSchema);
2054
+ const getAddressUnitsResourceStatus400Schema = z.unknown();
2055
+ const getAddressUnitsResourceStatus401Schema = z.unknown();
2056
+ const getAddressUnitsResourceResponseSchema = getAddressUnitsResourceStatus200Schema;
2057
+ const getAddressUnitsResourceErrorSchema = z.union([
2058
+ getAddressUnitsResourceStatus400Schema,
2059
+ getAddressUnitsResourceStatus401Schema
2060
+ ]);
2061
+ const putAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
2062
+ const putAddressUnitsResourceStatus200Schema = addressUnitResponseSchema;
2063
+ const putAddressUnitsResourceStatus400Schema = z.unknown();
2064
+ const putAddressUnitsResourceStatus401Schema = z.unknown();
2065
+ const putAddressUnitsResourceStatus403Schema = z.unknown();
2066
+ const putAddressUnitsResourceResponseSchema = putAddressUnitsResourceStatus200Schema;
2067
+ const putAddressUnitsResourceErrorSchema = z.union([
2068
+ putAddressUnitsResourceStatus400Schema,
2069
+ putAddressUnitsResourceStatus401Schema,
2070
+ putAddressUnitsResourceStatus403Schema
2071
+ ]);
2072
+ const putAddressUnitsResourceBodySchema = addressUnitSchema.omit({
2073
+ id: true,
2074
+ addressId: true,
2075
+ addressTokenId: true,
2076
+ operationId: true
2077
+ }).describe("Address unit representation");
2078
+ const deleteAddressUnitsResourcePathAddressIdSchema = z.int().describe("The address ID");
2079
+ const deleteAddressUnitsResourceStatus200Schema = advancedConfirmationResponseSchema;
2080
+ const deleteAddressUnitsResourceStatus400Schema = z.unknown();
2081
+ const deleteAddressUnitsResourceStatus401Schema = z.unknown();
2082
+ const deleteAddressUnitsResourceStatus403Schema = z.unknown();
2083
+ const deleteAddressUnitsResourceStatus423Schema = z.unknown();
2084
+ const deleteAddressUnitsResourceResponseSchema = deleteAddressUnitsResourceStatus200Schema;
2085
+ const deleteAddressUnitsResourceErrorSchema = z.union([
2086
+ deleteAddressUnitsResourceStatus400Schema,
2087
+ deleteAddressUnitsResourceStatus401Schema,
2088
+ deleteAddressUnitsResourceStatus403Schema,
2089
+ deleteAddressUnitsResourceStatus423Schema
2090
+ ]);
2091
+ const deleteAddressUnitsResourceBodySchema = z.array(z.string()).describe("Address unit IDs to delete");
2092
+ const deleteAddressUnitResourcePathAddressIdSchema = z.int().describe("The address ID");
2093
+ const deleteAddressUnitResourcePathIdSchema = z.string().describe("The address unit ID");
2094
+ const deleteAddressUnitResourceStatus200Schema = advancedConfirmationResponseSchema;
2095
+ const deleteAddressUnitResourceStatus401Schema = z.unknown();
2096
+ const deleteAddressUnitResourceStatus403Schema = z.unknown();
2097
+ const deleteAddressUnitResourceStatus423Schema = z.unknown();
2098
+ const deleteAddressUnitResourceResponseSchema = deleteAddressUnitResourceStatus200Schema;
2099
+ const deleteAddressUnitResourceErrorSchema = z.union([
2100
+ deleteAddressUnitResourceStatus401Schema,
2101
+ deleteAddressUnitResourceStatus403Schema,
2102
+ deleteAddressUnitResourceStatus423Schema
2103
+ ]);
2104
+ const getDecentralWebhooksResourceStatus200Schema = z.array(decentralWebhookSchema);
2105
+ const getDecentralWebhooksResourceStatus401Schema = z.unknown();
2106
+ const getDecentralWebhooksResourceStatus403Schema = z.unknown();
2107
+ const getDecentralWebhooksResourceResponseSchema = getDecentralWebhooksResourceStatus200Schema;
2108
+ const getDecentralWebhooksResourceErrorSchema = z.union([
2109
+ getDecentralWebhooksResourceStatus401Schema,
2110
+ getDecentralWebhooksResourceStatus403Schema
2111
+ ]);
2112
+ const putDecentralWebhooksResourceStatus200Schema = decentralWebhookSchema;
2113
+ const putDecentralWebhooksResourceStatus400Schema = z.unknown();
2114
+ const putDecentralWebhooksResourceStatus401Schema = z.unknown();
2115
+ const putDecentralWebhooksResourceStatus403Schema = z.unknown();
2116
+ const putDecentralWebhooksResourceResponseSchema = putDecentralWebhooksResourceStatus200Schema;
2117
+ const putDecentralWebhooksResourceErrorSchema = z.union([
2118
+ putDecentralWebhooksResourceStatus400Schema,
2119
+ putDecentralWebhooksResourceStatus401Schema,
2120
+ putDecentralWebhooksResourceStatus403Schema
2121
+ ]);
2122
+ const putDecentralWebhooksResourceBodySchema = decentralWebhookSchema.omit({
2123
+ id: true,
2124
+ secret: true
2125
+ }).describe("Decentral webhook representation");
2126
+ const deleteDecentralWebhookResourcePathIdSchema = z.int().describe("The ID of the decentral webhook");
2127
+ const deleteDecentralWebhookResourceStatus204Schema = z.unknown();
2128
+ const deleteDecentralWebhookResourceStatus401Schema = z.unknown();
2129
+ const deleteDecentralWebhookResourceStatus403Schema = z.unknown();
2130
+ const deleteDecentralWebhookResourceResponseSchema = deleteDecentralWebhookResourceStatus204Schema;
2131
+ const deleteDecentralWebhookResourceErrorSchema = z.union([
2132
+ deleteDecentralWebhookResourceStatus401Schema,
2133
+ deleteDecentralWebhookResourceStatus403Schema
2134
+ ]);
2135
+ const getApiKeysResourceStatus200Schema = z.array(apiKeySchema);
2136
+ const getApiKeysResourceStatus401Schema = z.unknown();
2137
+ const getApiKeysResourceResponseSchema = getApiKeysResourceStatus200Schema;
2138
+ const getApiKeysResourceErrorSchema = getApiKeysResourceStatus401Schema;
2139
+ const putApiKeysResourceStatus200Schema = apiKeySchema;
2140
+ const putApiKeysResourceStatus400Schema = z.unknown();
2141
+ const putApiKeysResourceStatus401Schema = z.unknown();
2142
+ const putApiKeysResourceResponseSchema = putApiKeysResourceStatus200Schema;
2143
+ const putApiKeysResourceErrorSchema = z.union([
2144
+ putApiKeysResourceStatus400Schema,
2145
+ putApiKeysResourceStatus401Schema
2146
+ ]);
2147
+ const putApiKeysResourceBodySchema = apiKeyCreateSchema.describe("Api key create representation");
2148
+ const postApiKeyResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2149
+ const postApiKeyResourceStatus204Schema = z.unknown();
2150
+ const postApiKeyResourceStatus400Schema = z.unknown();
2151
+ const postApiKeyResourceStatus401Schema = z.unknown();
2152
+ const postApiKeyResourceStatus503Schema = z.unknown();
2153
+ const postApiKeyResourceResponseSchema = postApiKeyResourceStatus204Schema;
2154
+ const postApiKeyResourceErrorSchema = z.union([
2155
+ postApiKeyResourceStatus400Schema,
2156
+ postApiKeyResourceStatus401Schema,
2157
+ postApiKeyResourceStatus503Schema
2158
+ ]);
2159
+ const postApiKeyResourceBodySchema = apiKeyUpdateSchema.describe("Api key update representation");
2160
+ const deleteApiKeyResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2161
+ const deleteApiKeyResourceStatus204Schema = z.unknown();
2162
+ const deleteApiKeyResourceStatus401Schema = z.unknown();
2163
+ const deleteApiKeyResourceResponseSchema = deleteApiKeyResourceStatus204Schema;
2164
+ const deleteApiKeyResourceErrorSchema = deleteApiKeyResourceStatus401Schema;
2165
+ const getApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2166
+ const getApiKeyAdvancedResourceStatus200Schema = advancedApiKeySchema;
2167
+ const getApiKeyAdvancedResourceStatus401Schema = z.unknown();
2168
+ const getApiKeyAdvancedResourceStatus403Schema = z.unknown();
2169
+ const getApiKeyAdvancedResourceStatus404Schema = z.unknown();
2170
+ const getApiKeyAdvancedResourceResponseSchema = getApiKeyAdvancedResourceStatus200Schema;
2171
+ const getApiKeyAdvancedResourceErrorSchema = z.union([
2172
+ getApiKeyAdvancedResourceStatus401Schema,
2173
+ getApiKeyAdvancedResourceStatus403Schema,
2174
+ getApiKeyAdvancedResourceStatus404Schema
2175
+ ]);
2176
+ const postApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2177
+ const postApiKeyAdvancedResourceStatus204Schema = z.unknown();
2178
+ const postApiKeyAdvancedResourceStatus400Schema = z.unknown();
2179
+ const postApiKeyAdvancedResourceStatus401Schema = z.unknown();
2180
+ const postApiKeyAdvancedResourceResponseSchema = postApiKeyAdvancedResourceStatus204Schema;
2181
+ const postApiKeyAdvancedResourceErrorSchema = z.union([
2182
+ postApiKeyAdvancedResourceStatus400Schema,
2183
+ postApiKeyAdvancedResourceStatus401Schema
2184
+ ]);
2185
+ const postApiKeyAdvancedResourceBodySchema = advancedApiKeyUpdateSchema.describe("Update for advaced api key representation");
2186
+ const putApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2187
+ const putApiKeyAdvancedResourceStatus204Schema = z.unknown();
2188
+ const putApiKeyAdvancedResourceStatus400Schema = z.unknown();
2189
+ const putApiKeyAdvancedResourceStatus401Schema = z.unknown();
2190
+ const putApiKeyAdvancedResourceResponseSchema = putApiKeyAdvancedResourceStatus204Schema;
2191
+ const putApiKeyAdvancedResourceErrorSchema = z.union([
2192
+ putApiKeyAdvancedResourceStatus400Schema,
2193
+ putApiKeyAdvancedResourceStatus401Schema
2194
+ ]);
2195
+ const putApiKeyAdvancedResourceBodySchema = advancedApiKeyCreateSchema.omit({
2196
+ webhookStatus: true
2197
+ }).describe("Apply for advaced api key representation");
2198
+ const deleteApiKeyAdvancedResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2199
+ const deleteApiKeyAdvancedResourceStatus204Schema = z.unknown();
2200
+ const deleteApiKeyAdvancedResourceStatus401Schema = z.unknown();
2201
+ const deleteApiKeyAdvancedResourceResponseSchema = deleteApiKeyAdvancedResourceStatus204Schema;
2202
+ const deleteApiKeyAdvancedResourceErrorSchema = deleteApiKeyAdvancedResourceStatus401Schema;
2203
+ const postApiKeyAdvancedReactivateResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2204
+ const postApiKeyAdvancedReactivateResourceStatus204Schema = z.unknown();
2205
+ const postApiKeyAdvancedReactivateResourceStatus400Schema = z.unknown();
2206
+ const postApiKeyAdvancedReactivateResourceStatus401Schema = z.unknown();
2207
+ const postApiKeyAdvancedReactivateResourceResponseSchema = postApiKeyAdvancedReactivateResourceStatus204Schema;
2208
+ const postApiKeyAdvancedReactivateResourceErrorSchema = z.union([
2209
+ postApiKeyAdvancedReactivateResourceStatus400Schema,
2210
+ postApiKeyAdvancedReactivateResourceStatus401Schema
2211
+ ]);
2212
+ const getApiKeyTokensResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2213
+ const getApiKeyTokensResourceStatus200Schema = z.array(apiKeyTokenSchema);
2214
+ const getApiKeyTokensResourceStatus401Schema = z.unknown();
2215
+ const getApiKeyTokensResourceResponseSchema = getApiKeyTokensResourceStatus200Schema;
2216
+ const getApiKeyTokensResourceErrorSchema = getApiKeyTokensResourceStatus401Schema;
2217
+ const putApiKeyTokensResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2218
+ const putApiKeyTokensResourceStatus200Schema = apiKeyTokenSchema;
2219
+ const putApiKeyTokensResourceStatus400Schema = z.unknown();
2220
+ const putApiKeyTokensResourceStatus401Schema = z.unknown();
2221
+ const putApiKeyTokensResourceResponseSchema = putApiKeyTokensResourceStatus200Schema;
2222
+ const putApiKeyTokensResourceErrorSchema = z.union([
2223
+ putApiKeyTokensResourceStatus400Schema,
2224
+ putApiKeyTokensResourceStatus401Schema
2225
+ ]);
2226
+ const putApiKeyTokensResourceBodySchema = apiKeyTokenCreateSchema.describe("Api key token create representation");
2227
+ const postApiKeyTokenResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2228
+ const postApiKeyTokenResourcePathIdSchema = z.string().describe("The API key token ID");
2229
+ const postApiKeyTokenResourceStatus204Schema = z.unknown();
2230
+ const postApiKeyTokenResourceStatus400Schema = z.unknown();
2231
+ const postApiKeyTokenResourceStatus401Schema = z.unknown();
2232
+ const postApiKeyTokenResourceResponseSchema = postApiKeyTokenResourceStatus204Schema;
2233
+ const postApiKeyTokenResourceErrorSchema = z.union([
2234
+ postApiKeyTokenResourceStatus400Schema,
2235
+ postApiKeyTokenResourceStatus401Schema
2236
+ ]);
2237
+ const postApiKeyTokenResourceBodySchema = apiKeyTokenUpdateSchema.describe("Api key token update representation");
2238
+ const deleteApiKeyTokenResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2239
+ const deleteApiKeyTokenResourcePathIdSchema = z.string().describe("The API key token ID");
2240
+ const deleteApiKeyTokenResourceStatus204Schema = z.unknown();
2241
+ const deleteApiKeyTokenResourceStatus401Schema = z.unknown();
2242
+ const deleteApiKeyTokenResourceResponseSchema = deleteApiKeyTokenResourceStatus204Schema;
2243
+ const deleteApiKeyTokenResourceErrorSchema = deleteApiKeyTokenResourceStatus401Schema;
2244
+ const getWebhookLogsResourcePathApiKeyIdSchema = z.int().describe("The API key ID");
2245
+ const getWebhookLogsResourceQueryIdSchema = z.string().optional().describe("Optionally filter for older logs");
2246
+ const getWebhookLogsResourceQueryLimitSchema = z.int().optional().default(50).describe("Amount of logs (max: 100)");
2247
+ const getWebhookLogsResourceStatus200Schema = z.array(webhookLogSchema);
2248
+ const getWebhookLogsResourceStatus401Schema = z.unknown();
2249
+ const getWebhookLogsResourceResponseSchema = getWebhookLogsResourceStatus200Schema;
2250
+ const getWebhookLogsResourceErrorSchema = getWebhookLogsResourceStatus401Schema;
2251
+ const postSmartlockBulkWebConfigResourceStatus204Schema = z.unknown();
2252
+ const postSmartlockBulkWebConfigResourceStatus400Schema = z.unknown();
2253
+ const postSmartlockBulkWebConfigResourceStatus401Schema = z.unknown();
2254
+ const postSmartlockBulkWebConfigResourceResponseSchema = postSmartlockBulkWebConfigResourceStatus204Schema;
2255
+ const postSmartlockBulkWebConfigResourceErrorSchema = z.union([
2256
+ postSmartlockBulkWebConfigResourceStatus400Schema,
2257
+ postSmartlockBulkWebConfigResourceStatus401Schema
2258
+ ]);
2259
+ const postSmartlockBulkWebConfigResourceBodySchema = bulkWebConfigRequestSchema.describe("Smartlocks web config update representation");
2260
+ const getCompaniesResourceStatus200Schema = z.array(companySchema);
2261
+ const getCompaniesResourceStatus401Schema = z.unknown();
2262
+ const getCompaniesResourceStatus403Schema = z.unknown();
2263
+ const getCompaniesResourceResponseSchema = getCompaniesResourceStatus200Schema;
2264
+ const getCompaniesResourceErrorSchema = z.union([
2265
+ getCompaniesResourceStatus401Schema,
2266
+ getCompaniesResourceStatus403Schema
2267
+ ]);
2268
+ const getNotificationsResourceQueryReferenceIdSchema = z.string().optional().describe("The reference ID to the third party system");
2269
+ const getNotificationsResourceStatus200Schema = z.array(notificationSchema);
2270
+ const getNotificationsResourceStatus401Schema = z.unknown();
2271
+ const getNotificationsResourceResponseSchema = getNotificationsResourceStatus200Schema;
2272
+ const getNotificationsResourceErrorSchema = getNotificationsResourceStatus401Schema;
2273
+ const putNotificationsResourceStatus200Schema = notificationSchema;
2274
+ const putNotificationsResourceStatus400Schema = z.unknown();
2275
+ const putNotificationsResourceStatus401Schema = z.unknown();
2276
+ const putNotificationsResourceStatus403Schema = z.unknown();
2277
+ const putNotificationsResourceResponseSchema = putNotificationsResourceStatus200Schema;
2278
+ const putNotificationsResourceErrorSchema = z.union([
2279
+ putNotificationsResourceStatus400Schema,
2280
+ putNotificationsResourceStatus401Schema,
2281
+ putNotificationsResourceStatus403Schema
2282
+ ]);
2283
+ const putNotificationsResourceBodySchema = notificationSchema.describe("Notification representation");
2284
+ const getNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2285
+ const getNotificationResourceStatus200Schema = notificationSchema;
2286
+ const getNotificationResourceStatus401Schema = z.unknown();
2287
+ const getNotificationResourceStatus403Schema = z.unknown();
2288
+ const getNotificationResourceStatus404Schema = z.unknown();
2289
+ const getNotificationResourceResponseSchema = getNotificationResourceStatus200Schema;
2290
+ const getNotificationResourceErrorSchema = z.union([
2291
+ getNotificationResourceStatus401Schema,
2292
+ getNotificationResourceStatus403Schema,
2293
+ getNotificationResourceStatus404Schema
2294
+ ]);
2295
+ const postNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2296
+ const postNotificationResourceStatus200Schema = notificationSchema;
2297
+ const postNotificationResourceStatus400Schema = z.unknown();
2298
+ const postNotificationResourceStatus401Schema = z.unknown();
2299
+ const postNotificationResourceStatus403Schema = z.unknown();
2300
+ const postNotificationResourceResponseSchema = postNotificationResourceStatus200Schema;
2301
+ const postNotificationResourceErrorSchema = z.union([
2302
+ postNotificationResourceStatus400Schema,
2303
+ postNotificationResourceStatus401Schema,
2304
+ postNotificationResourceStatus403Schema
2305
+ ]);
2306
+ const postNotificationResourceBodySchema = notificationSchema.describe("Notification update representation");
2307
+ const deleteNotificationResourcePathNotificationIdSchema = z.string().describe("The unique notification ID");
2308
+ const deleteNotificationResourceStatus204Schema = z.unknown();
2309
+ const deleteNotificationResourceStatus401Schema = z.unknown();
2310
+ const deleteNotificationResourceStatus403Schema = z.unknown();
2311
+ const deleteNotificationResourceStatus405Schema = z.unknown();
2312
+ const deleteNotificationResourceResponseSchema = deleteNotificationResourceStatus204Schema;
2313
+ const deleteNotificationResourceErrorSchema = z.union([
2314
+ deleteNotificationResourceStatus401Schema,
2315
+ deleteNotificationResourceStatus403Schema,
2316
+ deleteNotificationResourceStatus405Schema
2317
+ ]);
2318
+ const getOpenerBrandsResourceStatus200Schema = z.array(openerIntercomBrandSchema);
2319
+ const getOpenerBrandsResourceResponseSchema = getOpenerBrandsResourceStatus200Schema;
2320
+ const getOpenerBrandResourcePathBrandIdSchema = z.int().describe("The brand ID");
2321
+ const getOpenerBrandResourceStatus200Schema = openerIntercomBrandSchema;
2322
+ const getOpenerBrandResourceResponseSchema = getOpenerBrandResourceStatus200Schema;
2323
+ const getOpenerIntercomsResourceQueryBrandIdSchema = z.int().optional().describe("Filter for brandId. Required if 'recentlyChanged' is not set");
2324
+ const getOpenerIntercomsResourceQueryIgnoreVerifiedSchema = z.boolean().optional().describe("If true, return intercoms ignoring their verified value");
2325
+ const getOpenerIntercomsResourceQueryRecentlyChangedSchema = z.boolean().optional().describe("If true, return all intercoms which recently were updated");
2326
+ const getOpenerIntercomsResourceStatus200Schema = z.array(openerIntercomModelSchema);
2327
+ const getOpenerIntercomsResourceResponseSchema = getOpenerIntercomsResourceStatus200Schema;
2328
+ const getOpenerIntercomResourcePathIntercomIdSchema = z.int().describe("The intercom ID");
2329
+ const getOpenerIntercomResourceStatus200Schema = openerIntercomModelSchema;
2330
+ const getOpenerIntercomResourceResponseSchema = getOpenerIntercomResourceStatus200Schema;
2331
+ const getServicesResourceQueryServiceIdsSchema = z.string().optional().describe("Filter for service IDs (comma-separated eg: airbnb,guesty,smoobu)");
2332
+ const getServicesResourceStatus200Schema = z.array(z.lazy(()=>serviceSchema));
2333
+ const getServicesResourceStatus401Schema = z.unknown();
2334
+ const getServicesResourceResponseSchema = getServicesResourceStatus200Schema;
2335
+ const getServicesResourceErrorSchema = getServicesResourceStatus401Schema;
2336
+ const getServiceResourcePathServiceIdSchema = z.string().describe("The service ID");
2337
+ const getServiceResourceStatus200Schema = z.lazy(()=>serviceSchema);
2338
+ const getServiceResourceStatus401Schema = z.unknown();
2339
+ const getServiceResourceResponseSchema = getServiceResourceStatus200Schema;
2340
+ const getServiceResourceErrorSchema = getServiceResourceStatus401Schema;
2341
+ const postServiceLinkResourcePathServiceIdSchema = z.string().describe("The service ID");
2342
+ const postServiceLinkResourceStatus200Schema = z.string();
2343
+ const postServiceLinkResourceStatus400Schema = z.unknown();
2344
+ const postServiceLinkResourceStatus401Schema = z.unknown();
2345
+ const postServiceLinkResourceResponseSchema = postServiceLinkResourceStatus200Schema;
2346
+ const postServiceLinkResourceErrorSchema = z.union([
2347
+ postServiceLinkResourceStatus400Schema,
2348
+ postServiceLinkResourceStatus401Schema
2349
+ ]);
2350
+ const postServiceSyncResourcePathServiceIdSchema = z.string().describe("The service ID");
2351
+ const postServiceSyncResourceStatus204Schema = z.unknown();
2352
+ const postServiceSyncResourceStatus400Schema = z.unknown();
2353
+ const postServiceSyncResourceStatus401Schema = z.unknown();
2354
+ const postServiceSyncResourceResponseSchema = postServiceSyncResourceStatus204Schema;
2355
+ const postServiceSyncResourceErrorSchema = z.union([
2356
+ postServiceSyncResourceStatus400Schema,
2357
+ postServiceSyncResourceStatus401Schema
2358
+ ]);
2359
+ const postServiceUnlinkResourcePathServiceIdSchema = z.string().describe("The service ID");
2360
+ const postServiceUnlinkResourceStatus204Schema = z.unknown();
2361
+ const postServiceUnlinkResourceStatus400Schema = z.unknown();
2362
+ const postServiceUnlinkResourceStatus401Schema = z.unknown();
2363
+ const postServiceUnlinkResourceResponseSchema = postServiceUnlinkResourceStatus204Schema;
2364
+ const postServiceUnlinkResourceErrorSchema = z.union([
2365
+ postServiceUnlinkResourceStatus400Schema,
2366
+ postServiceUnlinkResourceStatus401Schema
2367
+ ]);
2368
+ const getSmartlocksResourceQueryAuthIdSchema = z.int().optional().describe("Filter for authId");
2369
+ const getSmartlocksResourceQueryTypeSchema = z.int().optional().describe("Filter for type");
2370
+ const getSmartlocksResourceStatus200Schema = z.array(smartlockSchema);
2371
+ const getSmartlocksResourceStatus401Schema = z.unknown();
2372
+ const getSmartlocksResourceResponseSchema = getSmartlocksResourceStatus200Schema;
2373
+ const getSmartlocksResourceErrorSchema = getSmartlocksResourceStatus401Schema;
2374
+ 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");
2375
+ const getSmartlocksAuthsResourceQueryTypesSchema = z.string().optional().describe("Filter for authorization's types (comma-separated eg: 0,2,3)");
2376
+ const getSmartlocksAuthsResourceStatus200Schema = z.array(smartlockAuthSchema);
2377
+ const getSmartlocksAuthsResourceStatus401Schema = z.unknown();
2378
+ const getSmartlocksAuthsResourceResponseSchema = getSmartlocksAuthsResourceStatus200Schema;
2379
+ const getSmartlocksAuthsResourceErrorSchema = getSmartlocksAuthsResourceStatus401Schema;
2380
+ const postSmartlocksAuthsResourceStatus204Schema = z.unknown();
2381
+ const postSmartlocksAuthsResourceStatus400Schema = z.unknown();
2382
+ const postSmartlocksAuthsResourceStatus401Schema = z.unknown();
2383
+ const postSmartlocksAuthsResourceStatus403Schema = z.unknown();
2384
+ const postSmartlocksAuthsResourceStatus409Schema = z.unknown();
2385
+ const postSmartlocksAuthsResourceStatus423Schema = z.unknown();
2386
+ const postSmartlocksAuthsResourceResponseSchema = postSmartlocksAuthsResourceStatus204Schema;
2387
+ const postSmartlocksAuthsResourceErrorSchema = z.union([
2388
+ postSmartlocksAuthsResourceStatus400Schema,
2389
+ postSmartlocksAuthsResourceStatus401Schema,
2390
+ postSmartlocksAuthsResourceStatus403Schema,
2391
+ postSmartlocksAuthsResourceStatus409Schema,
2392
+ postSmartlocksAuthsResourceStatus423Schema
2393
+ ]);
2394
+ const postSmartlocksAuthsResourceBodySchema = z.array(smartlockAuthMultiUpdateSchema).describe("Smartlock authorization update representations");
2395
+ const putSmartlocksAuthsResourceStatus204Schema = z.unknown();
2396
+ const putSmartlocksAuthsResourceStatus400Schema = z.unknown();
2397
+ const putSmartlocksAuthsResourceStatus402Schema = z.unknown();
2398
+ const putSmartlocksAuthsResourceStatus409Schema = z.unknown();
2399
+ const putSmartlocksAuthsResourceStatus426Schema = z.unknown();
2400
+ const putSmartlocksAuthsResourceResponseSchema = putSmartlocksAuthsResourceStatus204Schema;
2401
+ const putSmartlocksAuthsResourceErrorSchema = z.union([
2402
+ putSmartlocksAuthsResourceStatus400Schema,
2403
+ putSmartlocksAuthsResourceStatus402Schema,
2404
+ putSmartlocksAuthsResourceStatus409Schema,
2405
+ putSmartlocksAuthsResourceStatus426Schema
2406
+ ]);
2407
+ const putSmartlocksAuthsResourceBodySchema = smartlocksAuthCreateSchema.describe("Smartlock authorization create representation");
2408
+ const deleteSmartlocksAuthsResourceStatus204Schema = z.unknown();
2409
+ const deleteSmartlocksAuthsResourceStatus400Schema = z.unknown();
2410
+ const deleteSmartlocksAuthsResourceStatus401Schema = z.unknown();
2411
+ const deleteSmartlocksAuthsResourceStatus403Schema = z.unknown();
2412
+ const deleteSmartlocksAuthsResourceStatus423Schema = z.unknown();
2413
+ const deleteSmartlocksAuthsResourceResponseSchema = deleteSmartlocksAuthsResourceStatus204Schema;
2414
+ const deleteSmartlocksAuthsResourceErrorSchema = z.union([
2415
+ deleteSmartlocksAuthsResourceStatus400Schema,
2416
+ deleteSmartlocksAuthsResourceStatus401Schema,
2417
+ deleteSmartlocksAuthsResourceStatus403Schema,
2418
+ deleteSmartlocksAuthsResourceStatus423Schema
2419
+ ]);
2420
+ const deleteSmartlocksAuthsResourceBodySchema = z.array(z.string()).describe("Smartlock authorization IDs to delete");
2421
+ const putSmartlockAuthsAdvancedResourceStatus200Schema = advancedConfirmationResponseSchema;
2422
+ const putSmartlockAuthsAdvancedResourceStatus400Schema = z.unknown();
2423
+ const putSmartlockAuthsAdvancedResourceStatus402Schema = z.unknown();
2424
+ const putSmartlockAuthsAdvancedResourceStatus409Schema = z.unknown();
2425
+ const putSmartlockAuthsAdvancedResourceStatus426Schema = z.unknown();
2426
+ const putSmartlockAuthsAdvancedResourceResponseSchema = putSmartlockAuthsAdvancedResourceStatus200Schema;
2427
+ const putSmartlockAuthsAdvancedResourceErrorSchema = z.union([
2428
+ putSmartlockAuthsAdvancedResourceStatus400Schema,
2429
+ putSmartlockAuthsAdvancedResourceStatus402Schema,
2430
+ putSmartlockAuthsAdvancedResourceStatus409Schema,
2431
+ putSmartlockAuthsAdvancedResourceStatus426Schema
2432
+ ]);
2433
+ const putSmartlockAuthsAdvancedResourceBodySchema = smartlocksAuthAdvancedCreateSchema.describe("Smartlock authorization create representation");
2434
+ const getSmartlocksAuthsPaginatedResourceQueryPageSchema = z.int().optional().default(0).describe("The page number, starting from 0");
2435
+ const getSmartlocksAuthsPaginatedResourceQuerySizeSchema = z.int().optional().default(100).describe("The number of items in one page");
2436
+ 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");
2437
+ const getSmartlocksAuthsPaginatedResourceQueryTypesSchema = z.string().optional().describe("Filter for authorization's types (comma-separated eg: 0,2,3)");
2438
+ const getSmartlocksAuthsPaginatedResourceStatus200Schema = paginatedResponseSchema;
2439
+ const getSmartlocksAuthsPaginatedResourceStatus401Schema = z.unknown();
2440
+ const getSmartlocksAuthsPaginatedResourceResponseSchema = getSmartlocksAuthsPaginatedResourceStatus200Schema;
2441
+ const getSmartlocksAuthsPaginatedResourceErrorSchema = getSmartlocksAuthsPaginatedResourceStatus401Schema;
2442
+ const getSmartlocksLogsResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users");
2443
+ const getSmartlocksLogsResourceQueryFromDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2444
+ const getSmartlocksLogsResourceQueryToDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2445
+ const getSmartlocksLogsResourceQueryActionSchema = z.int().optional().describe("Filter for action");
2446
+ const getSmartlocksLogsResourceQueryIdSchema = z.string().optional().describe("Filter for older logs");
2447
+ const getSmartlocksLogsResourceQueryLimitSchema = z.int().optional().default(20).describe("Amount of logs (max: 50)");
2448
+ const getSmartlocksLogsResourceStatus200Schema = z.array(smartlockLogSchema);
2449
+ const getSmartlocksLogsResourceStatus401Schema = z.unknown();
2450
+ const getSmartlocksLogsResourceResponseSchema = getSmartlocksLogsResourceStatus200Schema;
2451
+ const getSmartlocksLogsResourceErrorSchema = getSmartlocksLogsResourceStatus401Schema;
2452
+ const getSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2453
+ const getSmartlockResourceStatus200Schema = smartlockSchema;
2454
+ const getSmartlockResourceStatus401Schema = z.unknown();
2455
+ const getSmartlockResourceStatus403Schema = z.unknown();
2456
+ const getSmartlockResourceStatus404Schema = z.unknown();
2457
+ const getSmartlockResourceResponseSchema = getSmartlockResourceStatus200Schema;
2458
+ const getSmartlockResourceErrorSchema = z.union([
2459
+ getSmartlockResourceStatus401Schema,
2460
+ getSmartlockResourceStatus403Schema,
2461
+ getSmartlockResourceStatus404Schema
2462
+ ]);
2463
+ const postSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2464
+ const postSmartlockResourceStatus204Schema = z.unknown();
2465
+ const postSmartlockResourceStatus400Schema = z.unknown();
2466
+ const postSmartlockResourceStatus401Schema = z.unknown();
2467
+ const postSmartlockResourceStatus403Schema = z.unknown();
2468
+ const postSmartlockResourceResponseSchema = postSmartlockResourceStatus204Schema;
2469
+ const postSmartlockResourceErrorSchema = z.union([
2470
+ postSmartlockResourceStatus400Schema,
2471
+ postSmartlockResourceStatus401Schema,
2472
+ postSmartlockResourceStatus403Schema
2473
+ ]);
2474
+ const postSmartlockResourceBodySchema = smartlockUpdateSchema.describe("Smartlock update representation");
2475
+ const deleteSmartlockResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2476
+ const deleteSmartlockResourceStatus204Schema = z.unknown();
2477
+ const deleteSmartlockResourceStatus400Schema = z.unknown();
2478
+ const deleteSmartlockResourceStatus401Schema = z.unknown();
2479
+ const deleteSmartlockResourceStatus403Schema = z.unknown();
2480
+ const deleteSmartlockResourceResponseSchema = deleteSmartlockResourceStatus204Schema;
2481
+ const deleteSmartlockResourceErrorSchema = z.union([
2482
+ deleteSmartlockResourceStatus400Schema,
2483
+ deleteSmartlockResourceStatus401Schema,
2484
+ deleteSmartlockResourceStatus403Schema
2485
+ ]);
2486
+ const postSmartlockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2487
+ const postSmartlockActionResourceStatus204Schema = z.unknown();
2488
+ const postSmartlockActionResourceStatus400Schema = z.unknown();
2489
+ const postSmartlockActionResourceStatus401Schema = z.unknown();
2490
+ const postSmartlockActionResourceStatus402Schema = z.unknown();
2491
+ const postSmartlockActionResourceResponseSchema = postSmartlockActionResourceStatus204Schema;
2492
+ const postSmartlockActionResourceErrorSchema = z.union([
2493
+ postSmartlockActionResourceStatus400Schema,
2494
+ postSmartlockActionResourceStatus401Schema,
2495
+ postSmartlockActionResourceStatus402Schema
2496
+ ]);
2497
+ const postSmartlockActionResourceBodySchema = smartlockActionSchema.describe("Smartlock action representation");
2498
+ const postSmartlockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2499
+ const postSmartlockActionAdvancedResourceStatus200Schema = advancedConfirmationResponseSchema;
2500
+ const postSmartlockActionAdvancedResourceStatus400Schema = z.unknown();
2501
+ const postSmartlockActionAdvancedResourceStatus402Schema = z.unknown();
2502
+ const postSmartlockActionAdvancedResourceStatus409Schema = z.unknown();
2503
+ const postSmartlockActionAdvancedResourceStatus426Schema = z.unknown();
2504
+ const postSmartlockActionAdvancedResourceResponseSchema = postSmartlockActionAdvancedResourceStatus200Schema;
2505
+ const postSmartlockActionAdvancedResourceErrorSchema = z.union([
2506
+ postSmartlockActionAdvancedResourceStatus400Schema,
2507
+ postSmartlockActionAdvancedResourceStatus402Schema,
2508
+ postSmartlockActionAdvancedResourceStatus409Schema,
2509
+ postSmartlockActionAdvancedResourceStatus426Schema
2510
+ ]);
2511
+ const postSmartlockActionAdvancedResourceBodySchema = smartlockActionSchema.describe("Smartlock action representation");
2512
+ const postSmartlockLockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2513
+ const postSmartlockLockActionResourceStatus204Schema = z.unknown();
2514
+ const postSmartlockLockActionResourceStatus400Schema = z.unknown();
2515
+ const postSmartlockLockActionResourceStatus401Schema = z.unknown();
2516
+ const postSmartlockLockActionResourceStatus405Schema = z.unknown();
2517
+ const postSmartlockLockActionResourceResponseSchema = postSmartlockLockActionResourceStatus204Schema;
2518
+ const postSmartlockLockActionResourceErrorSchema = z.union([
2519
+ postSmartlockLockActionResourceStatus400Schema,
2520
+ postSmartlockLockActionResourceStatus401Schema,
2521
+ postSmartlockLockActionResourceStatus405Schema
2522
+ ]);
2523
+ const postSmartlockLockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2524
+ const postSmartlockLockActionAdvancedResourceStatus200Schema = advancedConfirmationResponseSchema;
2525
+ const postSmartlockLockActionAdvancedResourceStatus400Schema = z.unknown();
2526
+ const postSmartlockLockActionAdvancedResourceStatus401Schema = z.unknown();
2527
+ const postSmartlockLockActionAdvancedResourceStatus405Schema = z.unknown();
2528
+ const postSmartlockLockActionAdvancedResourceResponseSchema = postSmartlockLockActionAdvancedResourceStatus200Schema;
2529
+ const postSmartlockLockActionAdvancedResourceErrorSchema = z.union([
2530
+ postSmartlockLockActionAdvancedResourceStatus400Schema,
2531
+ postSmartlockLockActionAdvancedResourceStatus401Schema,
2532
+ postSmartlockLockActionAdvancedResourceStatus405Schema
2533
+ ]);
2534
+ const postSmartlockUnlockActionResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2535
+ const postSmartlockUnlockActionResourceStatus204Schema = z.unknown();
2536
+ const postSmartlockUnlockActionResourceStatus400Schema = z.unknown();
2537
+ const postSmartlockUnlockActionResourceStatus401Schema = z.unknown();
2538
+ const postSmartlockUnlockActionResourceStatus405Schema = z.unknown();
2539
+ const postSmartlockUnlockActionResourceResponseSchema = postSmartlockUnlockActionResourceStatus204Schema;
2540
+ const postSmartlockUnlockActionResourceErrorSchema = z.union([
2541
+ postSmartlockUnlockActionResourceStatus400Schema,
2542
+ postSmartlockUnlockActionResourceStatus401Schema,
2543
+ postSmartlockUnlockActionResourceStatus405Schema
2544
+ ]);
2545
+ const postSmartlockUnlockActionAdvancedResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2546
+ const postSmartlockUnlockActionAdvancedResourceStatus200Schema = advancedConfirmationResponseSchema;
2547
+ const postSmartlockUnlockActionAdvancedResourceStatus400Schema = z.unknown();
2548
+ const postSmartlockUnlockActionAdvancedResourceStatus401Schema = z.unknown();
2549
+ const postSmartlockUnlockActionAdvancedResourceStatus405Schema = z.unknown();
2550
+ const postSmartlockUnlockActionAdvancedResourceResponseSchema = postSmartlockUnlockActionAdvancedResourceStatus200Schema;
2551
+ const postSmartlockUnlockActionAdvancedResourceErrorSchema = z.union([
2552
+ postSmartlockUnlockActionAdvancedResourceStatus400Schema,
2553
+ postSmartlockUnlockActionAdvancedResourceStatus401Schema,
2554
+ postSmartlockUnlockActionAdvancedResourceStatus405Schema
2555
+ ]);
2556
+ const postSmartlockAdminPinResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2557
+ const postSmartlockAdminPinResourceStatus204Schema = z.unknown();
2558
+ const postSmartlockAdminPinResourceStatus400Schema = z.unknown();
2559
+ const postSmartlockAdminPinResourceStatus401Schema = z.unknown();
2560
+ const postSmartlockAdminPinResourceResponseSchema = postSmartlockAdminPinResourceStatus204Schema;
2561
+ const postSmartlockAdminPinResourceErrorSchema = z.union([
2562
+ postSmartlockAdminPinResourceStatus400Schema,
2563
+ postSmartlockAdminPinResourceStatus401Schema
2564
+ ]);
2565
+ const postSmartlockAdminPinResourceBodySchema = smartlockAdminPinUpdateSchema.describe("Smartlock admin pin update representation");
2566
+ const postSmartlockAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2567
+ const postSmartlockAdvancedConfigResourceStatus204Schema = z.unknown();
2568
+ const postSmartlockAdvancedConfigResourceStatus400Schema = z.unknown();
2569
+ const postSmartlockAdvancedConfigResourceStatus401Schema = z.unknown();
2570
+ const postSmartlockAdvancedConfigResourceResponseSchema = postSmartlockAdvancedConfigResourceStatus204Schema;
2571
+ const postSmartlockAdvancedConfigResourceErrorSchema = z.union([
2572
+ postSmartlockAdvancedConfigResourceStatus400Schema,
2573
+ postSmartlockAdvancedConfigResourceStatus401Schema
2574
+ ]);
2575
+ const postSmartlockAdvancedConfigResourceBodySchema = smartlockAdvancedConfigSchema.omit({
2576
+ operationId: true,
2577
+ totalDegrees: true
2578
+ }).describe("Smartlock config update representation");
2579
+ const postSmartlockOpenerAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock (opener) ID");
2580
+ const postSmartlockOpenerAdvancedConfigResourceStatus204Schema = z.unknown();
2581
+ const postSmartlockOpenerAdvancedConfigResourceStatus400Schema = z.unknown();
2582
+ const postSmartlockOpenerAdvancedConfigResourceStatus401Schema = z.unknown();
2583
+ const postSmartlockOpenerAdvancedConfigResourceResponseSchema = postSmartlockOpenerAdvancedConfigResourceStatus204Schema;
2584
+ const postSmartlockOpenerAdvancedConfigResourceErrorSchema = z.union([
2585
+ postSmartlockOpenerAdvancedConfigResourceStatus400Schema,
2586
+ postSmartlockOpenerAdvancedConfigResourceStatus401Schema
2587
+ ]);
2588
+ const postSmartlockOpenerAdvancedConfigResourceBodySchema = smartlockOpenerAdvancedConfigSchema.omit({
2589
+ intercomId: true,
2590
+ busModeSwitch: true,
2591
+ operationId: true
2592
+ }).describe("Opener advanced config update representation");
2593
+ const postSmartdoorAdvancedConfigResourcePathSmartlockIdSchema = z.int().describe("The smartdoor ID");
2594
+ const postSmartdoorAdvancedConfigResourceStatus204Schema = z.unknown();
2595
+ const postSmartdoorAdvancedConfigResourceStatus400Schema = z.unknown();
2596
+ const postSmartdoorAdvancedConfigResourceStatus401Schema = z.unknown();
2597
+ const postSmartdoorAdvancedConfigResourceResponseSchema = postSmartdoorAdvancedConfigResourceStatus204Schema;
2598
+ const postSmartdoorAdvancedConfigResourceErrorSchema = z.union([
2599
+ postSmartdoorAdvancedConfigResourceStatus400Schema,
2600
+ postSmartdoorAdvancedConfigResourceStatus401Schema
2601
+ ]);
2602
+ const postSmartdoorAdvancedConfigResourceBodySchema = smartlockSmartdoorAdvancedConfigSchema.omit({
2603
+ operationId: true,
2604
+ supportedBatteryTypes: true
2605
+ }).describe("Smartdoor advanced config update representation");
2606
+ const getSmartlockAuthsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2607
+ const getSmartlockAuthsResourceQueryTypesSchema = z.string().optional().describe("Filter for smartlock authorization's types (comma-separated eg: 0,2,3)");
2608
+ const getSmartlockAuthsResourceQueryIncludeEmailSchema = z.boolean().optional().describe("Indicates if email should be included in the response");
2609
+ const getSmartlockAuthsResourceStatus200Schema = z.array(smartlockAuthSchema);
2610
+ const getSmartlockAuthsResourceStatus401Schema = z.unknown();
2611
+ const getSmartlockAuthsResourceStatus403Schema = z.unknown();
2612
+ const getSmartlockAuthsResourceResponseSchema = getSmartlockAuthsResourceStatus200Schema;
2613
+ const getSmartlockAuthsResourceErrorSchema = z.union([
2614
+ getSmartlockAuthsResourceStatus401Schema,
2615
+ getSmartlockAuthsResourceStatus403Schema
2616
+ ]);
2617
+ const putSmartlockAuthsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2618
+ const putSmartlockAuthsResourceStatus204Schema = z.unknown();
2619
+ const putSmartlockAuthsResourceStatus400Schema = z.unknown();
2620
+ const putSmartlockAuthsResourceStatus402Schema = z.unknown();
2621
+ const putSmartlockAuthsResourceStatus409Schema = z.unknown();
2622
+ const putSmartlockAuthsResourceStatus426Schema = z.unknown();
2623
+ const putSmartlockAuthsResourceResponseSchema = putSmartlockAuthsResourceStatus204Schema;
2624
+ const putSmartlockAuthsResourceErrorSchema = z.union([
2625
+ putSmartlockAuthsResourceStatus400Schema,
2626
+ putSmartlockAuthsResourceStatus402Schema,
2627
+ putSmartlockAuthsResourceStatus409Schema,
2628
+ putSmartlockAuthsResourceStatus426Schema
2629
+ ]);
2630
+ const putSmartlockAuthsResourceBodySchema = smartlockAuthCreateSchema.describe("Smartlock authorization create representation");
2631
+ const postSmartlockAuthWithSharedKeyResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2632
+ const postSmartlockAuthWithSharedKeyResourceStatus200Schema = z.array(smartlockAuthSchema);
2633
+ const postSmartlockAuthWithSharedKeyResourceStatus401Schema = z.unknown();
2634
+ const postSmartlockAuthWithSharedKeyResourceStatus403Schema = z.unknown();
2635
+ const postSmartlockAuthWithSharedKeyResourceStatus404Schema = z.unknown();
2636
+ const postSmartlockAuthWithSharedKeyResourceResponseSchema = postSmartlockAuthWithSharedKeyResourceStatus200Schema;
2637
+ const postSmartlockAuthWithSharedKeyResourceErrorSchema = z.union([
2638
+ postSmartlockAuthWithSharedKeyResourceStatus401Schema,
2639
+ postSmartlockAuthWithSharedKeyResourceStatus403Schema,
2640
+ postSmartlockAuthWithSharedKeyResourceStatus404Schema
2641
+ ]);
2642
+ const postSmartlockAuthWithSharedKeyResourceBodySchema = smartlockAuthWithSharedKeyCreateSchema.describe("Smartlock auth create with shared key");
2643
+ const getSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2644
+ const getSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock auth unique ID");
2645
+ const getSmartlockAuthResourceStatus200Schema = smartlockAuthSchema;
2646
+ const getSmartlockAuthResourceStatus401Schema = z.unknown();
2647
+ const getSmartlockAuthResourceStatus403Schema = z.unknown();
2648
+ const getSmartlockAuthResourceResponseSchema = getSmartlockAuthResourceStatus200Schema;
2649
+ const getSmartlockAuthResourceErrorSchema = z.union([
2650
+ getSmartlockAuthResourceStatus401Schema,
2651
+ getSmartlockAuthResourceStatus403Schema
2652
+ ]);
2653
+ const postSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2654
+ const postSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock authorization unique ID");
2655
+ const postSmartlockAuthResourceStatus204Schema = z.unknown();
2656
+ const postSmartlockAuthResourceStatus400Schema = z.unknown();
2657
+ const postSmartlockAuthResourceStatus401Schema = z.unknown();
2658
+ const postSmartlockAuthResourceStatus403Schema = z.unknown();
2659
+ const postSmartlockAuthResourceStatus409Schema = z.unknown();
2660
+ const postSmartlockAuthResourceStatus423Schema = z.unknown();
2661
+ const postSmartlockAuthResourceResponseSchema = postSmartlockAuthResourceStatus204Schema;
2662
+ const postSmartlockAuthResourceErrorSchema = z.union([
2663
+ postSmartlockAuthResourceStatus400Schema,
2664
+ postSmartlockAuthResourceStatus401Schema,
2665
+ postSmartlockAuthResourceStatus403Schema,
2666
+ postSmartlockAuthResourceStatus409Schema,
2667
+ postSmartlockAuthResourceStatus423Schema
2668
+ ]);
2669
+ const postSmartlockAuthResourceBodySchema = smartlockAuthUpdateSchema.describe("Smartlock authorization update representation");
2670
+ const deleteSmartlockAuthResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2671
+ const deleteSmartlockAuthResourcePathIdSchema = z.string().describe("The smartlock authorization unique ID");
2672
+ const deleteSmartlockAuthResourceStatus204Schema = z.unknown();
2673
+ const deleteSmartlockAuthResourceStatus401Schema = z.unknown();
2674
+ const deleteSmartlockAuthResourceStatus403Schema = z.unknown();
2675
+ const deleteSmartlockAuthResourceStatus423Schema = z.unknown();
2676
+ const deleteSmartlockAuthResourceResponseSchema = deleteSmartlockAuthResourceStatus204Schema;
2677
+ const deleteSmartlockAuthResourceErrorSchema = z.union([
2678
+ deleteSmartlockAuthResourceStatus401Schema,
2679
+ deleteSmartlockAuthResourceStatus403Schema,
2680
+ deleteSmartlockAuthResourceStatus423Schema
2681
+ ]);
2682
+ const postSmartlockConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2683
+ const postSmartlockConfigResourceStatus204Schema = z.unknown();
2684
+ const postSmartlockConfigResourceStatus400Schema = z.unknown();
2685
+ const postSmartlockConfigResourceStatus401Schema = z.unknown();
2686
+ const postSmartlockConfigResourceResponseSchema = postSmartlockConfigResourceStatus204Schema;
2687
+ const postSmartlockConfigResourceErrorSchema = z.union([
2688
+ postSmartlockConfigResourceStatus400Schema,
2689
+ postSmartlockConfigResourceStatus401Schema
2690
+ ]);
2691
+ const postSmartlockConfigResourceBodySchema = smartlockConfigSchema.omit({
2692
+ capabilities: true,
2693
+ fobPaired: true,
2694
+ fobAction1: true,
2695
+ fobAction2: true,
2696
+ fobAction3: true,
2697
+ operatingMode: true,
2698
+ keypadPaired: true,
2699
+ keypad2Paired: true,
2700
+ homekitState: true,
2701
+ matterState: true,
2702
+ deviceType: true,
2703
+ wifiEnabled: true,
2704
+ operationId: true,
2705
+ productVariant: true
2706
+ }).describe("Smartlock config update representation");
2707
+ const getSmartlockLogsResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2708
+ const getSmartlockLogsResourceQueryAuthIdSchema = z.string().optional().describe("Filter for auths");
2709
+ const getSmartlockLogsResourceQueryAccountUserIdSchema = z.int().optional().describe("Filter for account users");
2710
+ const getSmartlockLogsResourceQueryFromDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2711
+ const getSmartlockLogsResourceQueryToDateSchema = z.string().optional().describe("Filter for date (RFC3339)");
2712
+ const getSmartlockLogsResourceQueryActionSchema = z.int().optional().describe("Filter for action");
2713
+ const getSmartlockLogsResourceQueryIdSchema = z.string().optional().describe("Filter for older logs");
2714
+ const getSmartlockLogsResourceQueryLimitSchema = z.int().optional().default(20).describe("Amount of logs (max: 50)");
2715
+ const getSmartlockLogsResourceStatus200Schema = z.array(smartlockLogSchema);
2716
+ const getSmartlockLogsResourceStatus401Schema = z.unknown();
2717
+ const getSmartlockLogsResourceResponseSchema = getSmartlockLogsResourceStatus200Schema;
2718
+ const getSmartlockLogsResourceErrorSchema = getSmartlockLogsResourceStatus401Schema;
2719
+ const postSmartlockSyncResourcePathSmartlockIdSchema = z.string().describe("The smartlock ID");
2720
+ const postSmartlockSyncResourceStatus204Schema = z.unknown();
2721
+ const postSmartlockSyncResourceStatus400Schema = z.unknown();
2722
+ const postSmartlockSyncResourceStatus401Schema = z.unknown();
2723
+ const postSmartlockSyncResourceResponseSchema = postSmartlockSyncResourceStatus204Schema;
2724
+ const postSmartlockSyncResourceErrorSchema = z.union([
2725
+ postSmartlockSyncResourceStatus400Schema,
2726
+ postSmartlockSyncResourceStatus401Schema
2727
+ ]);
2728
+ const postSmartlockWebConfigResourcePathSmartlockIdSchema = z.int().describe("The smartlock ID");
2729
+ const postSmartlockWebConfigResourceStatus204Schema = z.unknown();
2730
+ const postSmartlockWebConfigResourceStatus400Schema = z.unknown();
2731
+ const postSmartlockWebConfigResourceStatus401Schema = z.unknown();
2732
+ const postSmartlockWebConfigResourceResponseSchema = postSmartlockWebConfigResourceStatus204Schema;
2733
+ const postSmartlockWebConfigResourceErrorSchema = z.union([
2734
+ postSmartlockWebConfigResourceStatus400Schema,
2735
+ postSmartlockWebConfigResourceStatus401Schema
2736
+ ]);
2737
+ const postSmartlockWebConfigResourceBodySchema = smartlockWebConfigSchema.describe("Smartlock web config update representation");
2738
+
2739
+ export { converterServiceSchema as $, advancedApiKeyUpdateSchema as A, advancedConfirmationResponseSchema as B, apiKeyAdvancedSchema as C, apiKeyCreateSchema as D, apiKeySchema as E, apiKeyServiceSchema as F, apiKeyTokenCreateSchema as G, apiKeyTokenSchema as H, apiKeyTokenUpdateSchema as I, apiKeyUpdateSchema as J, applicationSchema as K, authenticationInfoSchema as L, bulkWebConfigRequestSchema as M, cacheDirectiveSchema as N, certificateSchema as O, challengeRequestSchema as P, challengeResponseSchema as Q, challengeSchemeSchema as R, characterSetSchema as S, clientInfoSchema as T, companySchema as U, completableFutureListApiKeySchema as V, completableFutureSchema as W, conditionsSchema as X, connectorServiceSchema as Y, connegServiceSchema as Z, contextSchema as _, accountConfigSchema as a, deleteApiKeyResourcePathApiKeyIdSchema as a$, cookieSchema as a0, cookieSettingSchema as a1, decentralWebhookSchema as a2, decoderServiceSchema as a3, deleteAccountIntegrationsResourceErrorSchema as a4, deleteAccountIntegrationsResourceQueryApiKeyIdSchema as a5, deleteAccountIntegrationsResourceQueryTokenIdSchema as a6, deleteAccountIntegrationsResourceResponseSchema as a7, deleteAccountIntegrationsResourceStatus204Schema as a8, deleteAccountIntegrationsResourceStatus401Schema as a9, deleteAddressResourceResponseSchema as aA, deleteAddressResourceStatus204Schema as aB, deleteAddressResourceStatus401Schema as aC, deleteAddressResourceStatus403Schema as aD, deleteAddressUnitResourceErrorSchema as aE, deleteAddressUnitResourcePathAddressIdSchema as aF, deleteAddressUnitResourcePathIdSchema as aG, deleteAddressUnitResourceResponseSchema as aH, deleteAddressUnitResourceStatus200Schema as aI, deleteAddressUnitResourceStatus401Schema as aJ, deleteAddressUnitResourceStatus403Schema as aK, deleteAddressUnitResourceStatus423Schema as aL, deleteAddressUnitsResourceBodySchema as aM, deleteAddressUnitsResourceErrorSchema as aN, deleteAddressUnitsResourcePathAddressIdSchema as aO, deleteAddressUnitsResourceResponseSchema as aP, deleteAddressUnitsResourceStatus200Schema as aQ, deleteAddressUnitsResourceStatus400Schema as aR, deleteAddressUnitsResourceStatus401Schema as aS, deleteAddressUnitsResourceStatus403Schema as aT, deleteAddressUnitsResourceStatus423Schema as aU, deleteApiKeyAdvancedResourceErrorSchema as aV, deleteApiKeyAdvancedResourcePathApiKeyIdSchema as aW, deleteApiKeyAdvancedResourceResponseSchema as aX, deleteApiKeyAdvancedResourceStatus204Schema as aY, deleteApiKeyAdvancedResourceStatus401Schema as aZ, deleteApiKeyResourceErrorSchema as a_, deleteAccountOtpResourceErrorSchema as aa, deleteAccountOtpResourceResponseSchema as ab, deleteAccountOtpResourceStatus204Schema as ac, deleteAccountOtpResourceStatus401Schema as ad, deleteAccountSettingResourceErrorSchema as ae, deleteAccountSettingResourceResponseSchema as af, deleteAccountSettingResourceStatus204Schema as ag, deleteAccountSettingResourceStatus401Schema as ah, deleteAccountSettingResourceStatus403Schema as ai, deleteAccountSubResourceErrorSchema as aj, deleteAccountSubResourcePathAccountIdSchema as ak, deleteAccountSubResourceResponseSchema as al, deleteAccountSubResourceStatus204Schema as am, deleteAccountSubResourceStatus401Schema as an, deleteAccountUserResourceErrorSchema as ao, deleteAccountUserResourcePathAccountUserIdSchema as ap, deleteAccountUserResourceResponseSchema as aq, deleteAccountUserResourceStatus204Schema as ar, deleteAccountUserResourceStatus401Schema as as, deleteAccountUserResourceStatus423Schema as at, deleteAccountsResourceErrorSchema as au, deleteAccountsResourceResponseSchema as av, deleteAccountsResourceStatus204Schema as aw, deleteAccountsResourceStatus401Schema as ax, deleteAddressResourceErrorSchema as ay, deleteAddressResourcePathAddressIdSchema as az, accountDescentSchema as b, getAccountSettingResourceStatus401Schema as b$, deleteApiKeyResourceResponseSchema as b0, deleteApiKeyResourceStatus204Schema as b1, deleteApiKeyResourceStatus401Schema as b2, deleteApiKeyTokenResourceErrorSchema as b3, deleteApiKeyTokenResourcePathApiKeyIdSchema as b4, deleteApiKeyTokenResourcePathIdSchema as b5, deleteApiKeyTokenResourceResponseSchema as b6, deleteApiKeyTokenResourceStatus204Schema as b7, deleteApiKeyTokenResourceStatus401Schema as b8, deleteDecentralWebhookResourceErrorSchema as b9, deleteSmartlockResourceStatus403Schema as bA, deleteSmartlocksAuthsResourceBodySchema as bB, deleteSmartlocksAuthsResourceErrorSchema as bC, deleteSmartlocksAuthsResourceResponseSchema as bD, deleteSmartlocksAuthsResourceStatus204Schema as bE, deleteSmartlocksAuthsResourceStatus400Schema as bF, deleteSmartlocksAuthsResourceStatus401Schema as bG, deleteSmartlocksAuthsResourceStatus403Schema as bH, deleteSmartlocksAuthsResourceStatus423Schema as bI, digestSchema as bJ, dispositionSchema as bK, encoderServiceSchema as bL, encodingSchema as bM, enrolerSchema as bN, enumerationSchema as bO, enumerationStringSchema as bP, errorManagerSchema as bQ, expectationSchema as bR, filterSchema as bS, formatterSchema as bT, getAccountIntegrationsResourceErrorSchema as bU, getAccountIntegrationsResourceResponseSchema as bV, getAccountIntegrationsResourceStatus200Schema as bW, getAccountIntegrationsResourceStatus401Schema as bX, getAccountSettingResourceErrorSchema as bY, getAccountSettingResourceResponseSchema as bZ, getAccountSettingResourceStatus200Schema as b_, deleteDecentralWebhookResourcePathIdSchema as ba, deleteDecentralWebhookResourceResponseSchema as bb, deleteDecentralWebhookResourceStatus204Schema as bc, deleteDecentralWebhookResourceStatus401Schema as bd, deleteDecentralWebhookResourceStatus403Schema as be, deleteNotificationResourceErrorSchema as bf, deleteNotificationResourcePathNotificationIdSchema as bg, deleteNotificationResourceResponseSchema as bh, deleteNotificationResourceStatus204Schema as bi, deleteNotificationResourceStatus401Schema as bj, deleteNotificationResourceStatus403Schema as bk, deleteNotificationResourceStatus405Schema as bl, deleteSmartlockAuthResourceErrorSchema as bm, deleteSmartlockAuthResourcePathIdSchema as bn, deleteSmartlockAuthResourcePathSmartlockIdSchema as bo, deleteSmartlockAuthResourceResponseSchema as bp, deleteSmartlockAuthResourceStatus204Schema as bq, deleteSmartlockAuthResourceStatus401Schema as br, deleteSmartlockAuthResourceStatus403Schema as bs, deleteSmartlockAuthResourceStatus423Schema as bt, deleteSmartlockResourceErrorSchema as bu, deleteSmartlockResourcePathSmartlockIdSchema as bv, deleteSmartlockResourceResponseSchema as bw, deleteSmartlockResourceStatus204Schema as bx, deleteSmartlockResourceStatus400Schema as by, deleteSmartlockResourceStatus401Schema as bz, accountEmailChangeSchema as c, getApiKeyAdvancedResourceResponseSchema as c$, getAccountSettingResourceStatus403Schema as c0, getAccountSettingResourceStatus404Schema as c1, getAccountSubResourceErrorSchema as c2, getAccountSubResourcePathAccountIdSchema as c3, getAccountSubResourceResponseSchema as c4, getAccountSubResourceStatus200Schema as c5, getAccountSubResourceStatus401Schema as c6, getAccountSubsResourceErrorSchema as c7, getAccountSubsResourceQueryEmailSchema as c8, getAccountSubsResourceResponseSchema as c9, getAddressTokenRedeemResourceStatus200Schema as cA, getAddressTokenRedeemResourceStatus401Schema as cB, getAddressTokenRedeemResourceStatus404Schema as cC, getAddressTokenResourceErrorSchema as cD, getAddressTokenResourcePathIdSchema as cE, getAddressTokenResourceResponseSchema as cF, getAddressTokenResourceStatus200Schema as cG, getAddressTokenResourceStatus401Schema as cH, getAddressTokenResourceStatus404Schema as cI, getAddressTokensResourceErrorSchema as cJ, getAddressTokensResourcePathAddressIdSchema as cK, getAddressTokensResourceResponseSchema as cL, getAddressTokensResourceStatus200Schema as cM, getAddressTokensResourceStatus400Schema as cN, getAddressTokensResourceStatus401Schema as cO, getAddressUnitsResourceErrorSchema as cP, getAddressUnitsResourcePathAddressIdSchema as cQ, getAddressUnitsResourceResponseSchema as cR, getAddressUnitsResourceStatus200Schema as cS, getAddressUnitsResourceStatus400Schema as cT, getAddressUnitsResourceStatus401Schema as cU, getAddressesResourceErrorSchema as cV, getAddressesResourceResponseSchema as cW, getAddressesResourceStatus200Schema as cX, getAddressesResourceStatus401Schema as cY, getApiKeyAdvancedResourceErrorSchema as cZ, getApiKeyAdvancedResourcePathApiKeyIdSchema as c_, getAccountSubsResourceStatus200Schema as ca, getAccountSubsResourceStatus401Schema as cb, getAccountUserResourceErrorSchema as cc, getAccountUserResourcePathAccountUserIdSchema as cd, getAccountUserResourceResponseSchema as ce, getAccountUserResourceStatus200Schema as cf, getAccountUserResourceStatus401Schema as cg, getAccountUsersResourceErrorSchema as ch, getAccountUsersResourceQueryEmailSchema as ci, getAccountUsersResourceQueryLimitSchema as cj, getAccountUsersResourceQueryOffsetSchema as ck, getAccountUsersResourceResponseSchema as cl, getAccountUsersResourceStatus200Schema as cm, getAccountUsersResourceStatus401Schema as cn, getAccountsResourceErrorSchema as co, getAccountsResourceResponseSchema as cp, getAccountsResourceStatus200Schema as cq, getAccountsResourceStatus401Schema as cr, getAddressReservationsResourceErrorSchema as cs, getAddressReservationsResourcePathAddressIdSchema as ct, getAddressReservationsResourceResponseSchema as cu, getAddressReservationsResourceStatus200Schema as cv, getAddressReservationsResourceStatus401Schema as cw, getAddressTokenRedeemResourceErrorSchema as cx, getAddressTokenRedeemResourcePathIdSchema as cy, getAddressTokenRedeemResourceResponseSchema as cz, accountIntegrationSchema as d, getSmartlockAuthResourceStatus200Schema as d$, getApiKeyAdvancedResourceStatus200Schema as d0, getApiKeyAdvancedResourceStatus401Schema as d1, getApiKeyAdvancedResourceStatus403Schema as d2, getApiKeyAdvancedResourceStatus404Schema as d3, getApiKeyTokensResourceErrorSchema as d4, getApiKeyTokensResourcePathApiKeyIdSchema as d5, getApiKeyTokensResourceResponseSchema as d6, getApiKeyTokensResourceStatus200Schema as d7, getApiKeyTokensResourceStatus401Schema as d8, getApiKeysResourceErrorSchema as d9, getOpenerBrandResourcePathBrandIdSchema as dA, getOpenerBrandResourceResponseSchema as dB, getOpenerBrandResourceStatus200Schema as dC, getOpenerBrandsResourceResponseSchema as dD, getOpenerBrandsResourceStatus200Schema as dE, getOpenerIntercomResourcePathIntercomIdSchema as dF, getOpenerIntercomResourceResponseSchema as dG, getOpenerIntercomResourceStatus200Schema as dH, getOpenerIntercomsResourceQueryBrandIdSchema as dI, getOpenerIntercomsResourceQueryIgnoreVerifiedSchema as dJ, getOpenerIntercomsResourceQueryRecentlyChangedSchema as dK, getOpenerIntercomsResourceResponseSchema as dL, getOpenerIntercomsResourceStatus200Schema as dM, getServiceResourceErrorSchema as dN, getServiceResourcePathServiceIdSchema as dO, getServiceResourceResponseSchema as dP, getServiceResourceStatus200Schema as dQ, getServiceResourceStatus401Schema as dR, getServicesResourceErrorSchema as dS, getServicesResourceQueryServiceIdsSchema as dT, getServicesResourceResponseSchema as dU, getServicesResourceStatus200Schema as dV, getServicesResourceStatus401Schema as dW, getSmartlockAuthResourceErrorSchema as dX, getSmartlockAuthResourcePathIdSchema as dY, getSmartlockAuthResourcePathSmartlockIdSchema as dZ, getSmartlockAuthResourceResponseSchema as d_, getApiKeysResourceResponseSchema as da, getApiKeysResourceStatus200Schema as db, getApiKeysResourceStatus401Schema as dc, getCompaniesResourceErrorSchema as dd, getCompaniesResourceResponseSchema as de, getCompaniesResourceStatus200Schema as df, getCompaniesResourceStatus401Schema as dg, getCompaniesResourceStatus403Schema as dh, getDecentralWebhooksResourceErrorSchema as di, getDecentralWebhooksResourceResponseSchema as dj, getDecentralWebhooksResourceStatus200Schema as dk, getDecentralWebhooksResourceStatus401Schema as dl, getDecentralWebhooksResourceStatus403Schema as dm, getNotificationResourceErrorSchema as dn, getNotificationResourcePathNotificationIdSchema as dp, getNotificationResourceResponseSchema as dq, getNotificationResourceStatus200Schema as dr, getNotificationResourceStatus401Schema as ds, getNotificationResourceStatus403Schema as dt, getNotificationResourceStatus404Schema as du, getNotificationsResourceErrorSchema as dv, getNotificationsResourceQueryReferenceIdSchema as dw, getNotificationsResourceResponseSchema as dx, getNotificationsResourceStatus200Schema as dy, getNotificationsResourceStatus401Schema as dz, accountOtpEnableSchema as e, getWebhookLogsResourceResponseSchema as e$, getSmartlockAuthResourceStatus401Schema as e0, getSmartlockAuthResourceStatus403Schema as e1, getSmartlockAuthsResourceErrorSchema as e2, getSmartlockAuthsResourcePathSmartlockIdSchema as e3, getSmartlockAuthsResourceQueryIncludeEmailSchema as e4, getSmartlockAuthsResourceQueryTypesSchema as e5, getSmartlockAuthsResourceResponseSchema as e6, getSmartlockAuthsResourceStatus200Schema as e7, getSmartlockAuthsResourceStatus401Schema as e8, getSmartlockAuthsResourceStatus403Schema as e9, getSmartlocksAuthsPaginatedResourceStatus401Schema as eA, getSmartlocksAuthsResourceErrorSchema as eB, getSmartlocksAuthsResourceQueryAccountUserIdSchema as eC, getSmartlocksAuthsResourceQueryTypesSchema as eD, getSmartlocksAuthsResourceResponseSchema as eE, getSmartlocksAuthsResourceStatus200Schema as eF, getSmartlocksAuthsResourceStatus401Schema as eG, getSmartlocksLogsResourceErrorSchema as eH, getSmartlocksLogsResourceQueryAccountUserIdSchema as eI, getSmartlocksLogsResourceQueryActionSchema as eJ, getSmartlocksLogsResourceQueryFromDateSchema as eK, getSmartlocksLogsResourceQueryIdSchema as eL, getSmartlocksLogsResourceQueryLimitSchema as eM, getSmartlocksLogsResourceQueryToDateSchema as eN, getSmartlocksLogsResourceResponseSchema as eO, getSmartlocksLogsResourceStatus200Schema as eP, getSmartlocksLogsResourceStatus401Schema as eQ, getSmartlocksResourceErrorSchema as eR, getSmartlocksResourceQueryAuthIdSchema as eS, getSmartlocksResourceQueryTypeSchema as eT, getSmartlocksResourceResponseSchema as eU, getSmartlocksResourceStatus200Schema as eV, getSmartlocksResourceStatus401Schema as eW, getWebhookLogsResourceErrorSchema as eX, getWebhookLogsResourcePathApiKeyIdSchema as eY, getWebhookLogsResourceQueryIdSchema as eZ, getWebhookLogsResourceQueryLimitSchema as e_, getSmartlockLogsResourceErrorSchema as ea, getSmartlockLogsResourcePathSmartlockIdSchema as eb, getSmartlockLogsResourceQueryAccountUserIdSchema as ec, getSmartlockLogsResourceQueryActionSchema as ed, getSmartlockLogsResourceQueryAuthIdSchema as ee, getSmartlockLogsResourceQueryFromDateSchema as ef, getSmartlockLogsResourceQueryIdSchema as eg, getSmartlockLogsResourceQueryLimitSchema as eh, getSmartlockLogsResourceQueryToDateSchema as ei, getSmartlockLogsResourceResponseSchema as ej, getSmartlockLogsResourceStatus200Schema as ek, getSmartlockLogsResourceStatus401Schema as el, getSmartlockResourceErrorSchema as em, getSmartlockResourcePathSmartlockIdSchema as en, getSmartlockResourceResponseSchema as eo, getSmartlockResourceStatus200Schema as ep, getSmartlockResourceStatus401Schema as eq, getSmartlockResourceStatus403Schema as er, getSmartlockResourceStatus404Schema as es, getSmartlocksAuthsPaginatedResourceErrorSchema as et, getSmartlocksAuthsPaginatedResourceQueryAccountUserIdSchema as eu, getSmartlocksAuthsPaginatedResourceQueryPageSchema as ev, getSmartlocksAuthsPaginatedResourceQuerySizeSchema as ew, getSmartlocksAuthsPaginatedResourceQueryTypesSchema as ex, getSmartlocksAuthsPaginatedResourceResponseSchema as ey, getSmartlocksAuthsPaginatedResourceStatus200Schema as ez, accountPasswordResetSchema as f, postAccountUserResourceStatus400Schema as f$, getWebhookLogsResourceStatus200Schema as f0, getWebhookLogsResourceStatus401Schema as f1, handlerSchema as f2, headerSchema as f3, inputStreamSchema as f4, languageSchema as f5, levelSchema as f6, localeSchema as f7, loggerSchema as f8, mediaTypeSchema as f9, postAccountEmailVerifyResourceStatus409Schema as fA, postAccountOtpResourceBodySchema as fB, postAccountOtpResourceErrorSchema as fC, postAccountOtpResourceResponseSchema as fD, postAccountOtpResourceStatus204Schema as fE, postAccountOtpResourceStatus400Schema as fF, postAccountOtpResourceStatus401Schema as fG, postAccountOtpResourceStatus429Schema as fH, postAccountPasswordResetResourceBodySchema as fI, postAccountPasswordResetResourceErrorSchema as fJ, postAccountPasswordResetResourceResponseSchema as fK, postAccountPasswordResetResourceStatus204Schema as fL, postAccountPasswordResetResourceStatus401Schema as fM, postAccountSubResourceBodySchema as fN, postAccountSubResourceErrorSchema as fO, postAccountSubResourcePathAccountIdSchema as fP, postAccountSubResourceResponseSchema as fQ, postAccountSubResourceStatus204Schema as fR, postAccountSubResourceStatus400Schema as fS, postAccountSubResourceStatus401Schema as fT, postAccountSubResourceStatus409Schema as fU, postAccountUserResourceBodySchema as fV, postAccountUserResourceErrorSchema as fW, postAccountUserResourcePathAccountUserIdSchema as fX, postAccountUserResourceResponseSchema as fY, postAccountUserResourceStatus200Schema as fZ, postAccountUserResourceStatus204Schema as f_, metadataSchema as fa, metadataServiceSchema as fb, methodSchema as fc, myAccountSchema as fd, namedValueSchema as fe, namedValueStringSchema as ff, notificationSchema as fg, notificationSettingSchema as fh, objectIdSchema as fi, openerIntercomBrandSchema as fj, openerIntercomModelSchema as fk, paginatedResponseSchema as fl, paginationSchema as fm, parameterSchema as fn, postAccountEmailChangeResourceBodySchema as fo, postAccountEmailChangeResourceErrorSchema as fp, postAccountEmailChangeResourceResponseSchema as fq, postAccountEmailChangeResourceStatus204Schema as fr, postAccountEmailChangeResourceStatus400Schema as fs, postAccountEmailChangeResourceStatus401Schema as ft, postAccountEmailChangeResourceStatus409Schema as fu, postAccountEmailVerifyResourceErrorSchema as fv, postAccountEmailVerifyResourceResponseSchema as fw, postAccountEmailVerifyResourceStatus204Schema as fx, postAccountEmailVerifyResourceStatus400Schema as fy, postAccountEmailVerifyResourceStatus401Schema as fz, accountProfileSchema as g, postApiKeyTokenResourcePathApiKeyIdSchema as g$, postAccountUserResourceStatus401Schema as g0, postAccountUserResourceStatus409Schema as g1, postAccountsResourceBodySchema as g2, postAccountsResourceErrorSchema as g3, postAccountsResourceQueryDeleteApiTokensSchema as g4, postAccountsResourceResponseSchema as g5, postAccountsResourceStatus204Schema as g6, postAccountsResourceStatus400Schema as g7, postAccountsResourceStatus401Schema as g8, postAccountsResourceStatus409Schema as g9, postAddressTokenRedeemResourceStatus204Schema as gA, postAddressTokenRedeemResourceStatus400Schema as gB, postAddressTokenRedeemResourceStatus401Schema as gC, postAddressTokenRedeemResourceStatus404Schema as gD, postApiKeyAdvancedReactivateResourceErrorSchema as gE, postApiKeyAdvancedReactivateResourcePathApiKeyIdSchema as gF, postApiKeyAdvancedReactivateResourceResponseSchema as gG, postApiKeyAdvancedReactivateResourceStatus204Schema as gH, postApiKeyAdvancedReactivateResourceStatus400Schema as gI, postApiKeyAdvancedReactivateResourceStatus401Schema as gJ, postApiKeyAdvancedResourceBodySchema as gK, postApiKeyAdvancedResourceErrorSchema as gL, postApiKeyAdvancedResourcePathApiKeyIdSchema as gM, postApiKeyAdvancedResourceResponseSchema as gN, postApiKeyAdvancedResourceStatus204Schema as gO, postApiKeyAdvancedResourceStatus400Schema as gP, postApiKeyAdvancedResourceStatus401Schema as gQ, postApiKeyResourceBodySchema as gR, postApiKeyResourceErrorSchema as gS, postApiKeyResourcePathApiKeyIdSchema as gT, postApiKeyResourceResponseSchema as gU, postApiKeyResourceStatus204Schema as gV, postApiKeyResourceStatus400Schema as gW, postApiKeyResourceStatus401Schema as gX, postApiKeyResourceStatus503Schema as gY, postApiKeyTokenResourceBodySchema as gZ, postApiKeyTokenResourceErrorSchema as g_, postAddressReservationIssueResourceErrorSchema as ga, postAddressReservationIssueResourcePathAddressIdSchema as gb, postAddressReservationIssueResourcePathIdSchema as gc, postAddressReservationIssueResourceResponseSchema as gd, postAddressReservationIssueResourceStatus204Schema as ge, postAddressReservationIssueResourceStatus400Schema as gf, postAddressReservationIssueResourceStatus401Schema as gg, postAddressReservationRevokeResourceErrorSchema as gh, postAddressReservationRevokeResourcePathAddressIdSchema as gi, postAddressReservationRevokeResourcePathIdSchema as gj, postAddressReservationRevokeResourceResponseSchema as gk, postAddressReservationRevokeResourceStatus204Schema as gl, postAddressReservationRevokeResourceStatus400Schema as gm, postAddressReservationRevokeResourceStatus401Schema as gn, postAddressResourceBodySchema as go, postAddressResourceErrorSchema as gp, postAddressResourcePathAddressIdSchema as gq, postAddressResourceResponseSchema as gr, postAddressResourceStatus204Schema as gs, postAddressResourceStatus400Schema as gt, postAddressResourceStatus401Schema as gu, postAddressResourceStatus403Schema as gv, postAddressTokenRedeemResourceErrorSchema as gw, postAddressTokenRedeemResourcePathIdSchema as gx, postAddressTokenRedeemResourceQueryEmailSchema as gy, postAddressTokenRedeemResourceResponseSchema as gz, accountSchema as h, postSmartlockAdminPinResourceBodySchema as h$, postApiKeyTokenResourcePathIdSchema as h0, postApiKeyTokenResourceResponseSchema as h1, postApiKeyTokenResourceStatus204Schema as h2, postApiKeyTokenResourceStatus400Schema as h3, postApiKeyTokenResourceStatus401Schema as h4, postNotificationResourceBodySchema as h5, postNotificationResourceErrorSchema as h6, postNotificationResourcePathNotificationIdSchema as h7, postNotificationResourceResponseSchema as h8, postNotificationResourceStatus200Schema as h9, postServiceUnlinkResourceStatus204Schema as hA, postServiceUnlinkResourceStatus400Schema as hB, postServiceUnlinkResourceStatus401Schema as hC, postSmartdoorAdvancedConfigResourceBodySchema as hD, postSmartdoorAdvancedConfigResourceErrorSchema as hE, postSmartdoorAdvancedConfigResourcePathSmartlockIdSchema as hF, postSmartdoorAdvancedConfigResourceResponseSchema as hG, postSmartdoorAdvancedConfigResourceStatus204Schema as hH, postSmartdoorAdvancedConfigResourceStatus400Schema as hI, postSmartdoorAdvancedConfigResourceStatus401Schema as hJ, postSmartlockActionAdvancedResourceBodySchema as hK, postSmartlockActionAdvancedResourceErrorSchema as hL, postSmartlockActionAdvancedResourcePathSmartlockIdSchema as hM, postSmartlockActionAdvancedResourceResponseSchema as hN, postSmartlockActionAdvancedResourceStatus200Schema as hO, postSmartlockActionAdvancedResourceStatus400Schema as hP, postSmartlockActionAdvancedResourceStatus402Schema as hQ, postSmartlockActionAdvancedResourceStatus409Schema as hR, postSmartlockActionAdvancedResourceStatus426Schema as hS, postSmartlockActionResourceBodySchema as hT, postSmartlockActionResourceErrorSchema as hU, postSmartlockActionResourcePathSmartlockIdSchema as hV, postSmartlockActionResourceResponseSchema as hW, postSmartlockActionResourceStatus204Schema as hX, postSmartlockActionResourceStatus400Schema as hY, postSmartlockActionResourceStatus401Schema as hZ, postSmartlockActionResourceStatus402Schema as h_, postNotificationResourceStatus400Schema as ha, postNotificationResourceStatus401Schema as hb, postNotificationResourceStatus403Schema as hc, postReservationAccessTimesUpdateResourceBodySchema as hd, postReservationAccessTimesUpdateResourceErrorSchema as he, postReservationAccessTimesUpdateResourcePathAddressIdSchema as hf, postReservationAccessTimesUpdateResourcePathIdSchema as hg, postReservationAccessTimesUpdateResourceResponseSchema as hh, postReservationAccessTimesUpdateResourceStatus204Schema as hi, postReservationAccessTimesUpdateResourceStatus400Schema as hj, postReservationAccessTimesUpdateResourceStatus401Schema as hk, postServiceLinkResourceErrorSchema as hl, postServiceLinkResourcePathServiceIdSchema as hm, postServiceLinkResourceResponseSchema as hn, postServiceLinkResourceStatus200Schema as ho, postServiceLinkResourceStatus400Schema as hp, postServiceLinkResourceStatus401Schema as hq, postServiceSyncResourceErrorSchema as hr, postServiceSyncResourcePathServiceIdSchema as hs, postServiceSyncResourceResponseSchema as ht, postServiceSyncResourceStatus204Schema as hu, postServiceSyncResourceStatus400Schema as hv, postServiceSyncResourceStatus401Schema as hw, postServiceUnlinkResourceErrorSchema as hx, postServiceUnlinkResourcePathServiceIdSchema as hy, postServiceUnlinkResourceResponseSchema as hz, accountSettingSchema as i, postSmartlockOpenerAdvancedConfigResourcePathSmartlockIdSchema as i$, postSmartlockAdminPinResourceErrorSchema as i0, postSmartlockAdminPinResourcePathSmartlockIdSchema as i1, postSmartlockAdminPinResourceResponseSchema as i2, postSmartlockAdminPinResourceStatus204Schema as i3, postSmartlockAdminPinResourceStatus400Schema as i4, postSmartlockAdminPinResourceStatus401Schema as i5, postSmartlockAdvancedConfigResourceBodySchema as i6, postSmartlockAdvancedConfigResourceErrorSchema as i7, postSmartlockAdvancedConfigResourcePathSmartlockIdSchema as i8, postSmartlockAdvancedConfigResourceResponseSchema as i9, postSmartlockBulkWebConfigResourceResponseSchema as iA, postSmartlockBulkWebConfigResourceStatus204Schema as iB, postSmartlockBulkWebConfigResourceStatus400Schema as iC, postSmartlockBulkWebConfigResourceStatus401Schema as iD, postSmartlockConfigResourceBodySchema as iE, postSmartlockConfigResourceErrorSchema as iF, postSmartlockConfigResourcePathSmartlockIdSchema as iG, postSmartlockConfigResourceResponseSchema as iH, postSmartlockConfigResourceStatus204Schema as iI, postSmartlockConfigResourceStatus400Schema as iJ, postSmartlockConfigResourceStatus401Schema as iK, postSmartlockLockActionAdvancedResourceErrorSchema as iL, postSmartlockLockActionAdvancedResourcePathSmartlockIdSchema as iM, postSmartlockLockActionAdvancedResourceResponseSchema as iN, postSmartlockLockActionAdvancedResourceStatus200Schema as iO, postSmartlockLockActionAdvancedResourceStatus400Schema as iP, postSmartlockLockActionAdvancedResourceStatus401Schema as iQ, postSmartlockLockActionAdvancedResourceStatus405Schema as iR, postSmartlockLockActionResourceErrorSchema as iS, postSmartlockLockActionResourcePathSmartlockIdSchema as iT, postSmartlockLockActionResourceResponseSchema as iU, postSmartlockLockActionResourceStatus204Schema as iV, postSmartlockLockActionResourceStatus400Schema as iW, postSmartlockLockActionResourceStatus401Schema as iX, postSmartlockLockActionResourceStatus405Schema as iY, postSmartlockOpenerAdvancedConfigResourceBodySchema as iZ, postSmartlockOpenerAdvancedConfigResourceErrorSchema as i_, postSmartlockAdvancedConfigResourceStatus204Schema as ia, postSmartlockAdvancedConfigResourceStatus400Schema as ib, postSmartlockAdvancedConfigResourceStatus401Schema as ic, postSmartlockAuthResourceBodySchema as id, postSmartlockAuthResourceErrorSchema as ie, postSmartlockAuthResourcePathIdSchema as ig, postSmartlockAuthResourcePathSmartlockIdSchema as ih, postSmartlockAuthResourceResponseSchema as ii, postSmartlockAuthResourceStatus204Schema as ij, postSmartlockAuthResourceStatus400Schema as ik, postSmartlockAuthResourceStatus401Schema as il, postSmartlockAuthResourceStatus403Schema as im, postSmartlockAuthResourceStatus409Schema as io, postSmartlockAuthResourceStatus423Schema as ip, postSmartlockAuthWithSharedKeyResourceBodySchema as iq, postSmartlockAuthWithSharedKeyResourceErrorSchema as ir, postSmartlockAuthWithSharedKeyResourcePathSmartlockIdSchema as is, postSmartlockAuthWithSharedKeyResourceResponseSchema as it, postSmartlockAuthWithSharedKeyResourceStatus200Schema as iu, postSmartlockAuthWithSharedKeyResourceStatus401Schema as iv, postSmartlockAuthWithSharedKeyResourceStatus403Schema as iw, postSmartlockAuthWithSharedKeyResourceStatus404Schema as ix, postSmartlockBulkWebConfigResourceBodySchema as iy, postSmartlockBulkWebConfigResourceErrorSchema as iz, accountSettingWebSchema as j, putAccountSettingResourceResponseSchema as j$, postSmartlockOpenerAdvancedConfigResourceResponseSchema as j0, postSmartlockOpenerAdvancedConfigResourceStatus204Schema as j1, postSmartlockOpenerAdvancedConfigResourceStatus400Schema as j2, postSmartlockOpenerAdvancedConfigResourceStatus401Schema as j3, postSmartlockResourceBodySchema as j4, postSmartlockResourceErrorSchema as j5, postSmartlockResourcePathSmartlockIdSchema as j6, postSmartlockResourceResponseSchema as j7, postSmartlockResourceStatus204Schema as j8, postSmartlockResourceStatus400Schema as j9, postSmartlockWebConfigResourceStatus204Schema as jA, postSmartlockWebConfigResourceStatus400Schema as jB, postSmartlockWebConfigResourceStatus401Schema as jC, postSmartlocksAuthsResourceBodySchema as jD, postSmartlocksAuthsResourceErrorSchema as jE, postSmartlocksAuthsResourceResponseSchema as jF, postSmartlocksAuthsResourceStatus204Schema as jG, postSmartlocksAuthsResourceStatus400Schema as jH, postSmartlocksAuthsResourceStatus401Schema as jI, postSmartlocksAuthsResourceStatus403Schema as jJ, postSmartlocksAuthsResourceStatus409Schema as jK, postSmartlocksAuthsResourceStatus423Schema as jL, preferenceCharacterSetSchema as jM, preferenceEncodingSchema as jN, preferenceLanguageSchema as jO, preferenceMediaTypeSchema as jP, preferenceSchema as jQ, principalSchema as jR, productSchema as jS, protocolSchema as jT, publicKeySchema as jU, putAccountOtpResourceErrorSchema as jV, putAccountOtpResourceResponseSchema as jW, putAccountOtpResourceStatus200Schema as jX, putAccountOtpResourceStatus405Schema as jY, putAccountSettingResourceBodySchema as jZ, putAccountSettingResourceErrorSchema as j_, postSmartlockResourceStatus401Schema as ja, postSmartlockResourceStatus403Schema as jb, postSmartlockSyncResourceErrorSchema as jc, postSmartlockSyncResourcePathSmartlockIdSchema as jd, postSmartlockSyncResourceResponseSchema as je, postSmartlockSyncResourceStatus204Schema as jf, postSmartlockSyncResourceStatus400Schema as jg, postSmartlockSyncResourceStatus401Schema as jh, postSmartlockUnlockActionAdvancedResourceErrorSchema as ji, postSmartlockUnlockActionAdvancedResourcePathSmartlockIdSchema as jj, postSmartlockUnlockActionAdvancedResourceResponseSchema as jk, postSmartlockUnlockActionAdvancedResourceStatus200Schema as jl, postSmartlockUnlockActionAdvancedResourceStatus400Schema as jm, postSmartlockUnlockActionAdvancedResourceStatus401Schema as jn, postSmartlockUnlockActionAdvancedResourceStatus405Schema as jo, postSmartlockUnlockActionResourceErrorSchema as jp, postSmartlockUnlockActionResourcePathSmartlockIdSchema as jq, postSmartlockUnlockActionResourceResponseSchema as jr, postSmartlockUnlockActionResourceStatus204Schema as js, postSmartlockUnlockActionResourceStatus400Schema as jt, postSmartlockUnlockActionResourceStatus401Schema as ju, postSmartlockUnlockActionResourceStatus405Schema as jv, postSmartlockWebConfigResourceBodySchema as jw, postSmartlockWebConfigResourceErrorSchema as jx, postSmartlockWebConfigResourcePathSmartlockIdSchema as jy, postSmartlockWebConfigResourceResponseSchema as jz, accountSubCreateSchema as k, putSmartlockAuthsAdvancedResourceResponseSchema as k$, putAccountSettingResourceStatus200Schema as k0, putAccountSettingResourceStatus400Schema as k1, putAccountSettingResourceStatus401Schema as k2, putAccountSubsResourceBodySchema as k3, putAccountSubsResourceErrorSchema as k4, putAccountSubsResourceResponseSchema as k5, putAccountSubsResourceStatus200Schema as k6, putAccountSubsResourceStatus400Schema as k7, putAccountUsersResourceBodySchema as k8, putAccountUsersResourceErrorSchema as k9, putApiKeyTokensResourcePathApiKeyIdSchema as kA, putApiKeyTokensResourceResponseSchema as kB, putApiKeyTokensResourceStatus200Schema as kC, putApiKeyTokensResourceStatus400Schema as kD, putApiKeyTokensResourceStatus401Schema as kE, putApiKeysResourceBodySchema as kF, putApiKeysResourceErrorSchema as kG, putApiKeysResourceResponseSchema as kH, putApiKeysResourceStatus200Schema as kI, putApiKeysResourceStatus400Schema as kJ, putApiKeysResourceStatus401Schema as kK, putDecentralWebhooksResourceBodySchema as kL, putDecentralWebhooksResourceErrorSchema as kM, putDecentralWebhooksResourceResponseSchema as kN, putDecentralWebhooksResourceStatus200Schema as kO, putDecentralWebhooksResourceStatus400Schema as kP, putDecentralWebhooksResourceStatus401Schema as kQ, putDecentralWebhooksResourceStatus403Schema as kR, putNotificationsResourceBodySchema as kS, putNotificationsResourceErrorSchema as kT, putNotificationsResourceResponseSchema as kU, putNotificationsResourceStatus200Schema as kV, putNotificationsResourceStatus400Schema as kW, putNotificationsResourceStatus401Schema as kX, putNotificationsResourceStatus403Schema as kY, putSmartlockAuthsAdvancedResourceBodySchema as kZ, putSmartlockAuthsAdvancedResourceErrorSchema as k_, putAccountUsersResourceResponseSchema as ka, putAccountUsersResourceStatus200Schema as kb, putAccountUsersResourceStatus400Schema as kc, putAddressUnitsResourceBodySchema as kd, putAddressUnitsResourceErrorSchema as ke, putAddressUnitsResourcePathAddressIdSchema as kf, putAddressUnitsResourceResponseSchema as kg, putAddressUnitsResourceStatus200Schema as kh, putAddressUnitsResourceStatus400Schema as ki, putAddressUnitsResourceStatus401Schema as kj, putAddressUnitsResourceStatus403Schema as kk, putAddressesResourceBodySchema as kl, putAddressesResourceErrorSchema as km, putAddressesResourceResponseSchema as kn, putAddressesResourceStatus200Schema as ko, putAddressesResourceStatus400Schema as kp, putAddressesResourceStatus401Schema as kq, putApiKeyAdvancedResourceBodySchema as kr, putApiKeyAdvancedResourceErrorSchema as ks, putApiKeyAdvancedResourcePathApiKeyIdSchema as kt, putApiKeyAdvancedResourceResponseSchema as ku, putApiKeyAdvancedResourceStatus204Schema as kv, putApiKeyAdvancedResourceStatus400Schema as kw, putApiKeyAdvancedResourceStatus401Schema as kx, putApiKeyTokensResourceBodySchema as ky, putApiKeyTokensResourceErrorSchema as kz, accountSubUpdateSchema as l, statusSchema as l$, putSmartlockAuthsAdvancedResourceStatus200Schema as l0, putSmartlockAuthsAdvancedResourceStatus400Schema as l1, putSmartlockAuthsAdvancedResourceStatus402Schema as l2, putSmartlockAuthsAdvancedResourceStatus409Schema as l3, putSmartlockAuthsAdvancedResourceStatus426Schema as l4, putSmartlockAuthsResourceBodySchema as l5, putSmartlockAuthsResourceErrorSchema as l6, putSmartlockAuthsResourcePathSmartlockIdSchema as l7, putSmartlockAuthsResourceResponseSchema as l8, putSmartlockAuthsResourceStatus204Schema as l9, selectableChannelSchema as lA, selectionListenerSchema as lB, selectionRegistrationSchema as lC, serverInfoSchema as lD, serviceSchema as lE, shsSubscriptionSchema as lF, smartlockActionSchema as lG, smartlockAdminPinUpdateSchema as lH, smartlockAdvancedConfigSchema as lI, smartlockAuthCreateSchema as lJ, smartlockAuthMultiUpdateSchema as lK, smartlockAuthSchema as lL, smartlockAuthUpdateSchema as lM, smartlockAuthWithSharedKeyCreateSchema as lN, smartlockConfigSchema as lO, smartlockLogOpenerLogSchema as lP, smartlockLogSchema as lQ, smartlockOpenerAdvancedConfigSchema as lR, smartlockSchema as lS, smartlockSmartdoorAdvancedConfigSchema as lT, smartlockStateSchema as lU, smartlockUpdateSchema as lV, smartlockWebConfigSchema as lW, smartlocksAuthAdvancedCreateSchema as lX, smartlocksAuthCreateSchema as lY, stackTraceElementSchema as lZ, staleDeviceSchema as l_, putSmartlockAuthsResourceStatus400Schema as la, putSmartlockAuthsResourceStatus402Schema as lb, putSmartlockAuthsResourceStatus409Schema as lc, putSmartlockAuthsResourceStatus426Schema as ld, putSmartlocksAuthsResourceBodySchema as le, putSmartlocksAuthsResourceErrorSchema as lf, putSmartlocksAuthsResourceResponseSchema as lg, putSmartlocksAuthsResourceStatus204Schema as lh, putSmartlocksAuthsResourceStatus400Schema as li, putSmartlocksAuthsResourceStatus402Schema as lj, putSmartlocksAuthsResourceStatus409Schema as lk, putSmartlocksAuthsResourceStatus426Schema as ll, rangeSchema as lm, rangeServiceSchema as ln, readableByteChannelSchema as lo, readerSchema as lp, recipientInfoSchema as lq, referenceSchema as lr, representationSchema as ls, requestSchema as lt, reservationAccessTimesUpdateSchema as lu, resourceBundleSchema as lv, responseSchema as lw, restletSchema as lx, roleSchema as ly, scheduledExecutorServiceSchema as lz, accountUpdateSchema as m, statusServiceSchema as m0, tagSchema as m1, taskServiceSchema as m2, termsOfUseSchema as m3, throwableSchema as m4, tunnelServiceSchema as m5, uniformSchema as m6, userSchema as m7, variantSchema as m8, verifierSchema as m9, wakeupListenerSchema as ma, warningSchema as mb, webConfigRequestSchema as mc, webhookLogSchema as md, webhookMessageSchema as me, accountUserCreateSchema as n, accountUserSchema as o, accountUserUpdateSchema as p, addressCreateSchema as q, addressReservationSchema as r, addressSchema as s, addressTokenInfoSchema as t, addressTokenSchema as u, addressUnitResponseSchema as v, addressUnitSchema as w, addressUpdateSchema as x, advancedApiKeyCreateSchema as y, advancedApiKeySchema as z };