nuki-api-js 0.2.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3321 @@
1
+ type RequestInit = {
2
+ body?: string | FormData | URLSearchParams | undefined;
3
+ headers?: Record<string, string> | undefined;
4
+ method?: string | undefined;
5
+ signal?: any | undefined;
6
+ };
7
+ type Response = {
8
+ ok: boolean;
9
+ status: number;
10
+ url: string;
11
+ json(): Promise<any>;
12
+ text(): Promise<string>;
13
+ headers?: {
14
+ get(name: string): string | null;
15
+ } | undefined;
16
+ };
17
+ type FetchImpl = (url: string, init?: RequestInit | undefined) => Promise<Response>;
18
+
19
+ type FetcherConfig = {
20
+ token?: string | null;
21
+ fetchImpl?: FetchImpl;
22
+ headers?: Record<string, any>;
23
+ };
24
+ type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {
25
+ url: string;
26
+ method: string;
27
+ body?: TBody | undefined;
28
+ headers?: THeaders | undefined;
29
+ queryParams?: TQueryParams | undefined;
30
+ pathParams?: TPathParams | undefined;
31
+ signal?: AbortSignal | undefined;
32
+ } & FetcherConfig;
33
+ declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParams>({ url, method, body, headers, pathParams, queryParams, signal, token, fetchImpl, }: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData>;
34
+
35
+ /**
36
+ * Generated by Kubb (https://kubb.dev/).
37
+ * Do not edit manually.
38
+ */
39
+ /**
40
+ * @type object
41
+ */
42
+ type AccountConfig = {
43
+ /**
44
+ * @description The alexa pin - used by alexa for unlock actions
45
+ * @type string
46
+ */
47
+ alexaPin: string;
48
+ /**
49
+ * @description The google smart home pin - used for unlock actions
50
+ * @type string
51
+ */
52
+ gactionsHomePin: string;
53
+ /**
54
+ * @description The opt enabled date
55
+ * @type string | undefined
56
+ */
57
+ otpEnabledDate?: string | undefined;
58
+ };
59
+ /**
60
+ * @type object
61
+ */
62
+ type AccountProfile = {
63
+ /**
64
+ * @description The first name
65
+ * @type string
66
+ */
67
+ firstName: string;
68
+ /**
69
+ * @description The last name
70
+ * @type string
71
+ */
72
+ lastName: string;
73
+ /**
74
+ * @description The address
75
+ * @type string
76
+ */
77
+ address: string;
78
+ /**
79
+ * @description The postal code
80
+ * @type string
81
+ */
82
+ zip: string;
83
+ /**
84
+ * @description The city
85
+ * @type string
86
+ */
87
+ city: string;
88
+ /**
89
+ * @description The 2-letter country code
90
+ * @type string
91
+ */
92
+ country: string;
93
+ };
94
+ /**
95
+ * @type object
96
+ */
97
+ type AccountEmailChange = {
98
+ /**
99
+ * @description The new email for the account
100
+ * @type string
101
+ */
102
+ email: string;
103
+ };
104
+ /**
105
+ * @type object
106
+ */
107
+ type AccountOtpEnable = {
108
+ /**
109
+ * @description The one time password (otp)
110
+ * @type string
111
+ */
112
+ otp: string;
113
+ };
114
+ /**
115
+ * @type object
116
+ */
117
+ type AccountPasswordReset = {
118
+ /**
119
+ * @type string
120
+ */
121
+ email: string;
122
+ /**
123
+ * @type boolean | undefined
124
+ */
125
+ deleteApiTokens?: boolean | undefined;
126
+ };
127
+ /**
128
+ * @type object
129
+ */
130
+ type StaleDevice = {
131
+ /**
132
+ * @type integer | undefined
133
+ */
134
+ smartlockId?: bigint | undefined;
135
+ /**
136
+ * @type string | undefined
137
+ */
138
+ name?: string | undefined;
139
+ /**
140
+ * @type boolean | undefined
141
+ */
142
+ read?: boolean | undefined;
143
+ };
144
+ declare const accountSettingWebDeviceViewTypeEnum: {
145
+ readonly LIST: "LIST";
146
+ readonly TILE: "TILE";
147
+ };
148
+ type AccountSettingWebDeviceViewTypeEnumKey = (typeof accountSettingWebDeviceViewTypeEnum)[keyof typeof accountSettingWebDeviceViewTypeEnum];
149
+ declare const accountSettingWebDeviceSortTypeEnum: {
150
+ readonly FAVOURITES_FIRST: "FAVOURITES_FIRST";
151
+ readonly NAME_ASC: "NAME_ASC";
152
+ readonly NAME_DESC: "NAME_DESC";
153
+ readonly LAST_ADDED_DESC: "LAST_ADDED_DESC";
154
+ };
155
+ type AccountSettingWebDeviceSortTypeEnumKey = (typeof accountSettingWebDeviceSortTypeEnum)[keyof typeof accountSettingWebDeviceSortTypeEnum];
156
+ /**
157
+ * @type object
158
+ */
159
+ type AccountSettingWeb = {
160
+ /**
161
+ * @description The initial view type of the device page
162
+ * @type string | undefined
163
+ */
164
+ deviceViewType?: AccountSettingWebDeviceViewTypeEnumKey | undefined;
165
+ /**
166
+ * @description The initial sort type of the device page
167
+ * @type string | undefined
168
+ */
169
+ deviceSortType?: AccountSettingWebDeviceSortTypeEnumKey | undefined;
170
+ /**
171
+ * @description If true, Nuki Club info is dismissed and no banner is shown
172
+ * @type boolean | undefined
173
+ */
174
+ nukiClubDismissed?: boolean | undefined;
175
+ /**
176
+ * @description 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 (\"/\")
177
+ * @example {"web.nuki.io/nfcBannerDismissed": true}
178
+ * @type object | undefined
179
+ */
180
+ annotations?: {
181
+ [key: string]: object;
182
+ } | undefined;
183
+ /**
184
+ * @description List of removed staled devices
185
+ * @type array | undefined
186
+ */
187
+ removedStaledDevices?: StaleDevice[] | undefined;
188
+ /**
189
+ * @description List of marked staled devices
190
+ * @type array | undefined
191
+ */
192
+ markedStaledDevices?: StaleDevice[] | undefined;
193
+ };
194
+ /**
195
+ * @type object
196
+ */
197
+ type AccountSetting = {
198
+ /**
199
+ * @type object | undefined
200
+ */
201
+ web?: AccountSettingWeb | undefined;
202
+ };
203
+ /**
204
+ * @type object
205
+ */
206
+ type AccountSubCreate = {
207
+ /**
208
+ * @description The email address
209
+ * @example test@test.at
210
+ * @type string
211
+ */
212
+ email: string;
213
+ /**
214
+ * @description The password (must be at least 7 chars long)
215
+ * @type string
216
+ */
217
+ password: string;
218
+ /**
219
+ * @description The name of the sub account
220
+ * @type string
221
+ */
222
+ name: string;
223
+ /**
224
+ * @description 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
225
+ * @type integer
226
+ */
227
+ rights: number;
228
+ /**
229
+ * @description The language code
230
+ * @example de
231
+ * @type string
232
+ */
233
+ language: string;
234
+ /**
235
+ * @type object | undefined
236
+ */
237
+ profile?: AccountProfile | undefined;
238
+ };
239
+ /**
240
+ * @type object
241
+ */
242
+ type AccountSubUpdate = {
243
+ /**
244
+ * @description The new email address
245
+ * @example test@test.at
246
+ * @type string | undefined
247
+ */
248
+ email?: string | undefined;
249
+ /**
250
+ * @description The new password (must be at least 7 chars long)
251
+ * @type string | undefined
252
+ */
253
+ password?: string | undefined;
254
+ /**
255
+ * @description The new name of the sub account
256
+ * @type string | undefined
257
+ */
258
+ name?: string | undefined;
259
+ /**
260
+ * @description 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
261
+ * @type integer | undefined
262
+ */
263
+ rights?: number | undefined;
264
+ /**
265
+ * @description The language code
266
+ * @example de
267
+ * @type string
268
+ */
269
+ language: string;
270
+ /**
271
+ * @type object | undefined
272
+ */
273
+ config?: AccountConfig | undefined;
274
+ /**
275
+ * @type object | undefined
276
+ */
277
+ profile?: AccountProfile | undefined;
278
+ };
279
+ /**
280
+ * @type object
281
+ */
282
+ type AccountUpdate = {
283
+ /**
284
+ * @description The new email address
285
+ * @example test@test.at
286
+ * @type string | undefined
287
+ */
288
+ email?: string | undefined;
289
+ /**
290
+ * @description The password (must be at least 7 chars long)
291
+ * @type string | undefined
292
+ */
293
+ password?: string | undefined;
294
+ /**
295
+ * @description The name of the account
296
+ * @type string | undefined
297
+ */
298
+ name?: string | undefined;
299
+ /**
300
+ * @description The language code
301
+ * @example de
302
+ * @type string
303
+ */
304
+ language: string;
305
+ /**
306
+ * @type object | undefined
307
+ */
308
+ config?: AccountConfig | undefined;
309
+ /**
310
+ * @type object | undefined
311
+ */
312
+ profile?: AccountProfile | undefined;
313
+ };
314
+ declare const accountUserCreateLanguageEnum: {
315
+ readonly en: "en";
316
+ readonly de: "de";
317
+ readonly es: "es";
318
+ readonly fr: "fr";
319
+ readonly it: "it";
320
+ readonly nl: "nl";
321
+ readonly cs: "cs";
322
+ readonly sk: "sk";
323
+ };
324
+ type AccountUserCreateLanguageEnumKey = (typeof accountUserCreateLanguageEnum)[keyof typeof accountUserCreateLanguageEnum];
325
+ /**
326
+ * @type object
327
+ */
328
+ type AccountUserCreate = {
329
+ /**
330
+ * @description The optional type - only allowed for caretakers: 0 .. user, 1 .. company
331
+ * @type integer | undefined
332
+ */
333
+ type?: number | undefined;
334
+ /**
335
+ * @description The email address
336
+ * @type string
337
+ */
338
+ email: string;
339
+ /**
340
+ * @description The name
341
+ * @type string
342
+ */
343
+ name: string;
344
+ /**
345
+ * @description The language code
346
+ * @type string | undefined
347
+ */
348
+ language?: AccountUserCreateLanguageEnumKey | undefined;
349
+ };
350
+ declare const accountUserUpdateLanguageEnum: {
351
+ readonly en: "en";
352
+ readonly de: "de";
353
+ readonly es: "es";
354
+ readonly fr: "fr";
355
+ readonly it: "it";
356
+ readonly nl: "nl";
357
+ readonly cs: "cs";
358
+ readonly sk: "sk";
359
+ };
360
+ type AccountUserUpdateLanguageEnumKey = (typeof accountUserUpdateLanguageEnum)[keyof typeof accountUserUpdateLanguageEnum];
361
+ /**
362
+ * @type object
363
+ */
364
+ type AccountUserUpdate = {
365
+ /**
366
+ * @description The new email address
367
+ * @example test@test.at
368
+ * @type string | undefined
369
+ */
370
+ email?: string | undefined;
371
+ /**
372
+ * @description The new name of the sub account
373
+ * @type string | undefined
374
+ */
375
+ name?: string | undefined;
376
+ /**
377
+ * @description The new language code
378
+ * @type string | undefined
379
+ */
380
+ language?: AccountUserUpdateLanguageEnumKey | undefined;
381
+ };
382
+ /**
383
+ * @type object
384
+ */
385
+ type AddressCreate = {
386
+ /**
387
+ * @description The name of the address
388
+ * @type string
389
+ */
390
+ name: string;
391
+ /**
392
+ * @description The smartlocks for this address
393
+ * @type array
394
+ */
395
+ smartlockIds: bigint[];
396
+ };
397
+ /**
398
+ * @type object
399
+ */
400
+ type AddressUnit = {
401
+ /**
402
+ * @description The id
403
+ * @type string | undefined
404
+ */
405
+ readonly id?: string | undefined;
406
+ /**
407
+ * @description The name of the address unit
408
+ * @type string
409
+ */
410
+ name: string;
411
+ /**
412
+ * @description The address id
413
+ * @type integer | undefined
414
+ */
415
+ readonly addressId?: number | undefined;
416
+ /**
417
+ * @description The address token id
418
+ * @type string | undefined
419
+ */
420
+ readonly addressTokenId?: string | undefined;
421
+ /**
422
+ * @description The operation id - if set it\'s locked for another operation
423
+ * @type string | undefined
424
+ */
425
+ readonly operationId?: string | undefined;
426
+ };
427
+ /**
428
+ * @type object
429
+ */
430
+ type AddressUpdate = {
431
+ /**
432
+ * @description The name of the address
433
+ * @type string | undefined
434
+ */
435
+ name?: string | undefined;
436
+ /**
437
+ * @description The smartlocks for this address
438
+ * @type array | undefined
439
+ */
440
+ smartlockIds?: bigint[] | undefined;
441
+ /**
442
+ * @description The optional settings
443
+ * @type object | undefined
444
+ */
445
+ settings?: {
446
+ [key: string]: object;
447
+ } | undefined;
448
+ };
449
+ declare const advancedApiKeyCreateTypeEnum: {
450
+ readonly ONLY_SECRET: "ONLY_SECRET";
451
+ readonly SHORT_RENTAL: "SHORT_RENTAL";
452
+ readonly HEALTHCARE: "HEALTHCARE";
453
+ readonly SMART_HOME: "SMART_HOME";
454
+ readonly OTHER: "OTHER";
455
+ };
456
+ type AdvancedApiKeyCreateTypeEnumKey = (typeof advancedApiKeyCreateTypeEnum)[keyof typeof advancedApiKeyCreateTypeEnum];
457
+ declare const advancedApiKeyCreateWebhookStatusEnum: {
458
+ readonly ACTIVE: "ACTIVE";
459
+ readonly DEACTIVATED: "DEACTIVATED";
460
+ };
461
+ type AdvancedApiKeyCreateWebhookStatusEnumKey = (typeof advancedApiKeyCreateWebhookStatusEnum)[keyof typeof advancedApiKeyCreateWebhookStatusEnum];
462
+ declare const advancedApiKeyCreateWebhookFeaturesEnum: {
463
+ readonly DEVICE_STATUS: "DEVICE_STATUS";
464
+ readonly DEVICE_MASTERDATA: "DEVICE_MASTERDATA";
465
+ readonly DEVICE_CONFIG: "DEVICE_CONFIG";
466
+ readonly DEVICE_LOGS: "DEVICE_LOGS";
467
+ readonly DEVICE_AUTHS: "DEVICE_AUTHS";
468
+ readonly ACCOUNT_USER: "ACCOUNT_USER";
469
+ };
470
+ type AdvancedApiKeyCreateWebhookFeaturesEnumKey = (typeof advancedApiKeyCreateWebhookFeaturesEnum)[keyof typeof advancedApiKeyCreateWebhookFeaturesEnum];
471
+ /**
472
+ * @type object
473
+ */
474
+ type AdvancedApiKeyCreate = {
475
+ /**
476
+ * @description The name of the company for which you apply for access
477
+ * @type string
478
+ */
479
+ name: string;
480
+ /**
481
+ * @description The country of the headquarter or the country where you are mainly doing business in
482
+ * @type string
483
+ */
484
+ country: string;
485
+ /**
486
+ * @description Describe the services and/or products you offer to your customers and how your customers would use Nuki devices in their processes
487
+ * @type string
488
+ */
489
+ description: string;
490
+ /**
491
+ * @description The application type
492
+ * @type string
493
+ */
494
+ type: AdvancedApiKeyCreateTypeEnumKey;
495
+ /**
496
+ * @description The status of the webhook posting automation
497
+ * @type string | undefined
498
+ */
499
+ readonly webhookStatus?: AdvancedApiKeyCreateWebhookStatusEnumKey | undefined;
500
+ /**
501
+ * @description A website where we can find more information on the company and its business model
502
+ * @type string
503
+ */
504
+ url: string;
505
+ /**
506
+ * @description An email address where we can contact you for checks on your application
507
+ * @type string
508
+ */
509
+ email: string;
510
+ /**
511
+ * @description The URL where our webhooks should point to
512
+ * @type string
513
+ */
514
+ webhookUrl: string;
515
+ /**
516
+ * @description The features to trigger webhooks, for all types except \'ONLY_SECRET\'
517
+ * @type array
518
+ */
519
+ webhookFeatures: AdvancedApiKeyCreateWebhookFeaturesEnumKey[];
520
+ /**
521
+ * @description Whether the advanced API key is restricted
522
+ * @type boolean
523
+ */
524
+ restricted: boolean;
525
+ };
526
+ declare const advancedApiKeyUpdateWebhookFeaturesEnum: {
527
+ readonly DEVICE_STATUS: "DEVICE_STATUS";
528
+ readonly DEVICE_MASTERDATA: "DEVICE_MASTERDATA";
529
+ readonly DEVICE_CONFIG: "DEVICE_CONFIG";
530
+ readonly DEVICE_LOGS: "DEVICE_LOGS";
531
+ readonly DEVICE_AUTHS: "DEVICE_AUTHS";
532
+ readonly ACCOUNT_USER: "ACCOUNT_USER";
533
+ };
534
+ type AdvancedApiKeyUpdateWebhookFeaturesEnumKey = (typeof advancedApiKeyUpdateWebhookFeaturesEnum)[keyof typeof advancedApiKeyUpdateWebhookFeaturesEnum];
535
+ /**
536
+ * @type object
537
+ */
538
+ type AdvancedApiKeyUpdate = {
539
+ /**
540
+ * @description The URL where our webhooks should point to
541
+ * @type string
542
+ */
543
+ webhookUrl: string;
544
+ /**
545
+ * @description The features to trigger webhooks, for all types except \'ONLY_SECRET\'
546
+ * @type array
547
+ */
548
+ webhookFeatures: AdvancedApiKeyUpdateWebhookFeaturesEnumKey[];
549
+ };
550
+ /**
551
+ * @type object
552
+ */
553
+ type ApiKeyCreate = {
554
+ /**
555
+ * @description The description
556
+ * @type string | undefined
557
+ */
558
+ description?: string | undefined;
559
+ /**
560
+ * @description The list of redirect uris
561
+ * @type array | undefined
562
+ */
563
+ redirectUris?: string[] | undefined;
564
+ };
565
+ /**
566
+ * @type object
567
+ */
568
+ type ApiKeyTokenCreate = {
569
+ /**
570
+ * @description The description
571
+ * @type string | undefined
572
+ */
573
+ description?: string | undefined;
574
+ /**
575
+ * @description The list of scopes
576
+ * @type array | undefined
577
+ */
578
+ scopes?: string[] | undefined;
579
+ };
580
+ /**
581
+ * @type object
582
+ */
583
+ type ApiKeyTokenUpdate = {
584
+ /**
585
+ * @description The description
586
+ * @type string | undefined
587
+ */
588
+ description?: string | undefined;
589
+ /**
590
+ * @description The list of scopes
591
+ * @type array | undefined
592
+ */
593
+ scopes?: string[] | undefined;
594
+ };
595
+ /**
596
+ * @type object
597
+ */
598
+ type ApiKeyUpdate = {
599
+ /**
600
+ * @description The description
601
+ * @type string | undefined
602
+ */
603
+ description?: string | undefined;
604
+ /**
605
+ * @description The list of redirect uris
606
+ * @type array | undefined
607
+ */
608
+ redirectUris?: string[] | undefined;
609
+ };
610
+ /**
611
+ * @type object
612
+ */
613
+ type SmartlockWebConfig = {
614
+ /**
615
+ * @description True if a battery warning is send via email, if null/not send, the value is not being updated
616
+ * @type boolean | undefined
617
+ */
618
+ batteryWarningPerMailEnabled?: boolean | undefined;
619
+ /**
620
+ * @description 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 []
621
+ * @type array | undefined
622
+ */
623
+ dismissedLiftUpHandleWarning?: number[] | undefined;
624
+ };
625
+ /**
626
+ * @type object
627
+ */
628
+ type WebConfigRequest = {
629
+ /**
630
+ * @type integer | undefined
631
+ */
632
+ smartlockId?: bigint | undefined;
633
+ /**
634
+ * @type object | undefined
635
+ */
636
+ webConfig?: SmartlockWebConfig | undefined;
637
+ };
638
+ /**
639
+ * @type object
640
+ */
641
+ type BulkWebConfigRequest = {
642
+ /**
643
+ * @type array | undefined
644
+ */
645
+ webConfigRequests?: WebConfigRequest[] | undefined;
646
+ };
647
+ declare const decentralWebhookWebhookFeaturesEnum: {
648
+ readonly DEVICE_STATUS: "DEVICE_STATUS";
649
+ readonly DEVICE_MASTERDATA: "DEVICE_MASTERDATA";
650
+ readonly DEVICE_CONFIG: "DEVICE_CONFIG";
651
+ readonly DEVICE_LOGS: "DEVICE_LOGS";
652
+ readonly DEVICE_AUTHS: "DEVICE_AUTHS";
653
+ readonly ACCOUNT_USER: "ACCOUNT_USER";
654
+ };
655
+ type DecentralWebhookWebhookFeaturesEnumKey = (typeof decentralWebhookWebhookFeaturesEnum)[keyof typeof decentralWebhookWebhookFeaturesEnum];
656
+ /**
657
+ * @type object
658
+ */
659
+ type DecentralWebhook = {
660
+ /**
661
+ * @description The identifier
662
+ * @type integer | undefined
663
+ */
664
+ readonly id?: number | undefined;
665
+ /**
666
+ * @description The secret to sign the webhook\'s payload
667
+ * @type string | undefined
668
+ */
669
+ readonly secret?: string | undefined;
670
+ /**
671
+ * @description The URL where our webhooks (POST requests) should point to (needs to be https)
672
+ * @type string
673
+ */
674
+ webhookUrl: string;
675
+ /**
676
+ * @description The features to trigger webhooks, set values: DEVICE_STATUS, DEVICE_MASTERDATA, DEVICE_CONFIG, DEVICE_LOGS, DEVICE_AUTHS, ACCOUNT_USER
677
+ * @type array
678
+ */
679
+ webhookFeatures: DecentralWebhookWebhookFeaturesEnumKey[];
680
+ };
681
+ /**
682
+ * @type object
683
+ */
684
+ type NotificationSetting = {
685
+ /**
686
+ * @description The smartlock ID, if not set all Smart Locks of the account are enabled for push notifications
687
+ * @type integer | undefined
688
+ */
689
+ smartlockId?: bigint | undefined;
690
+ /**
691
+ * @description A set on which push notifications should be triggered: lock, unlock, unlatch, lockngo, open, ring, doorsensor, warnings, smartlock
692
+ * @type array
693
+ */
694
+ triggerEvents: string[];
695
+ /**
696
+ * @description 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
697
+ * @type array | undefined
698
+ */
699
+ authIds?: string[] | undefined;
700
+ };
701
+ /**
702
+ * @type object
703
+ */
704
+ type Notification = {
705
+ /**
706
+ * @description The unique notificationId for the notification
707
+ * @type string | undefined
708
+ */
709
+ notificationId?: string | undefined;
710
+ /**
711
+ * @description The reference ID, an ID to identify a foreign system
712
+ * @type string | undefined
713
+ */
714
+ referenceId?: string | undefined;
715
+ /**
716
+ * @description The push ID or the POST URL for a webhook
717
+ * @type string
718
+ */
719
+ pushId: string;
720
+ /**
721
+ * @description The 40 byte hex string to sign the checksumof the POST payload if the notification is webhook (os=2)
722
+ * @example 8d41a187c3954f886f9de3a88c2ef22df0eac190
723
+ * @type string | undefined
724
+ */
725
+ secret?: string | undefined;
726
+ /**
727
+ * @description The operating system: 0 .. Android, 1 .. iOS, 2 .. web hook
728
+ * @type integer
729
+ */
730
+ os: number;
731
+ /**
732
+ * @description The language of push messages: cs, de, en (default), es, fr, it, nl, sk
733
+ * @type string | undefined
734
+ */
735
+ language?: string | undefined;
736
+ /**
737
+ * @description Current state: 0 .. init, 1 .. active, 2 .. failed
738
+ * @type integer | undefined
739
+ */
740
+ status?: number | undefined;
741
+ /**
742
+ * @description The last active date
743
+ * @type string | undefined
744
+ */
745
+ lastActiveDate?: string | undefined;
746
+ /**
747
+ * @description Settings per Smart Lock
748
+ * @type array
749
+ */
750
+ settings: NotificationSetting[];
751
+ };
752
+ /**
753
+ * @type object
754
+ */
755
+ type ReservationAccessTimesUpdate = {
756
+ /**
757
+ * @description Custom check in time in minutes from midnight
758
+ * @type integer | undefined
759
+ */
760
+ checkInTime?: number | undefined;
761
+ /**
762
+ * @description Custom check out time in minutes from midnight
763
+ * @type integer | undefined
764
+ */
765
+ checkOutTime?: number | undefined;
766
+ };
767
+ /**
768
+ * @type object
769
+ */
770
+ type SmartlockConfig = {
771
+ /**
772
+ * @description The name of the smartlock for new users
773
+ * @type string
774
+ */
775
+ name: string;
776
+ /**
777
+ * @description The latitude of the smartlock position
778
+ * @type number
779
+ */
780
+ latitude: number;
781
+ /**
782
+ * @description The longitude of the smartlock position
783
+ * @type number
784
+ */
785
+ longitude: number;
786
+ /**
787
+ * @description 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)
788
+ * @type integer | undefined
789
+ */
790
+ readonly capabilities?: number | undefined;
791
+ /**
792
+ * @description True if the door should be unlatched on unlocking (knob) (only for type=1 and type=3)
793
+ * @type boolean | undefined
794
+ */
795
+ autoUnlatch?: boolean | undefined;
796
+ /**
797
+ * @description True if the door has a lift up handle, which is required to be lifted up to lock the door
798
+ * @type boolean | undefined
799
+ */
800
+ liftUpHandle?: boolean | undefined;
801
+ /**
802
+ * @description True if the pairing is allowed via the smartlock button
803
+ * @type boolean | undefined
804
+ */
805
+ pairingEnabled?: boolean | undefined;
806
+ /**
807
+ * @description True if the button on the smartlock is enabled
808
+ * @type boolean | undefined
809
+ */
810
+ buttonEnabled?: boolean | undefined;
811
+ /**
812
+ * @description True if the LED on the smartlock is enabled
813
+ * @type boolean | undefined
814
+ */
815
+ ledEnabled?: boolean | undefined;
816
+ /**
817
+ * @description The brightness of the LED: 0 .. off, 5 .. max (only for type=1 and type=3)
818
+ * @type integer | undefined
819
+ */
820
+ ledBrightness?: number | undefined;
821
+ /**
822
+ * @description [deprecated] The timezone offset (in minutes)
823
+ * @type integer
824
+ */
825
+ timezoneOffset: number;
826
+ /**
827
+ * @description [deprecated] The daylight saving mode: 0 .. off, 1 .. european
828
+ * @type integer | undefined
829
+ */
830
+ daylightSavingMode?: number | undefined;
831
+ /**
832
+ * @description True if a fob is paired with the smartlock
833
+ * @type boolean | undefined
834
+ */
835
+ readonly fobPaired?: boolean | undefined;
836
+ /**
837
+ * @description 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
838
+ * @type integer | undefined
839
+ */
840
+ readonly fobAction1?: number | undefined;
841
+ /**
842
+ * @description 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
843
+ * @type integer | undefined
844
+ */
845
+ readonly fobAction2?: number | undefined;
846
+ /**
847
+ * @description 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
848
+ * @type integer | undefined
849
+ */
850
+ readonly fobAction3?: number | undefined;
851
+ /**
852
+ * @description True if the smartlock should only lock once (instead of twice) (only for type=1)
853
+ * @type boolean
854
+ */
855
+ singleLock: boolean;
856
+ /**
857
+ * @description 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
858
+ * @type integer | undefined
859
+ */
860
+ readonly operatingMode?: number | undefined;
861
+ /**
862
+ * @description The advertising mode (battery saving): 0 .. automatic, 1 .. normal, 2 .. slow, 3 .. slowest
863
+ * @type integer
864
+ */
865
+ advertisingMode: number;
866
+ /**
867
+ * @description True if a keypad is paired with the smartlock
868
+ * @type boolean | undefined
869
+ */
870
+ readonly keypadPaired?: boolean | undefined;
871
+ /**
872
+ * @description True if a keypad 2 is paired with the smartlock
873
+ * @type boolean | undefined
874
+ */
875
+ readonly keypad2Paired?: boolean | undefined;
876
+ /**
877
+ * @description The homekit state: 0 .. unavailable, 1 .. disabled, 2 .. enabled, 3 .. enabled & paired
878
+ * @type integer | undefined
879
+ */
880
+ readonly homekitState?: number | undefined;
881
+ /**
882
+ * @description The matter state: 0 .. not available, 1 .. disabled and no certificate available, 2 .. disabled, 3 .. enabled, 4 .. enabled & paired
883
+ * @type integer | undefined
884
+ */
885
+ readonly matterState?: number | undefined;
886
+ /**
887
+ * @description The timezone id (check https://developer.nuki.io for ids)
888
+ * @type integer
889
+ */
890
+ timezoneId: number;
891
+ /**
892
+ * @description The device type of a Nuki device
893
+ * @type integer | undefined
894
+ */
895
+ readonly deviceType?: number | undefined;
896
+ /**
897
+ * @description Flag that indicates if the devices internal WIFI module can be used
898
+ * @type boolean | undefined
899
+ */
900
+ readonly wifiEnabled?: boolean | undefined;
901
+ /**
902
+ * @description The operation id - if set it\'s locked for another operation
903
+ * @type string | undefined
904
+ */
905
+ readonly operationId?: string | undefined;
906
+ /**
907
+ * @description The product variant for Smartlock 5: 1 .. Go, 2 .. Pro, 3 .. Ultra
908
+ * @type integer | undefined
909
+ */
910
+ readonly productVariant?: number | undefined;
911
+ };
912
+ /**
913
+ * @type object
914
+ */
915
+ type SmartlockAdvancedConfig = {
916
+ /**
917
+ * @description Timeout in seconds for lock ‘n’ go
918
+ * @type integer | undefined
919
+ */
920
+ lngTimeout?: number | undefined;
921
+ /**
922
+ * @description 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
923
+ * @type integer | undefined
924
+ */
925
+ singleButtonPressAction?: number | undefined;
926
+ /**
927
+ * @description 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
928
+ * @type integer | undefined
929
+ */
930
+ doubleButtonPressAction?: number | undefined;
931
+ /**
932
+ * @description Flag that indicates if the automatic detection of the battery type is enabled
933
+ * @type boolean | undefined
934
+ */
935
+ automaticBatteryTypeDetection?: boolean | undefined;
936
+ /**
937
+ * @description Duration in seconds for holding the latch in unlatched position
938
+ * @type integer | undefined
939
+ */
940
+ unlatchDuration?: number | undefined;
941
+ /**
942
+ * @description The operation id - if set it\'s locked for another operation
943
+ * @type string | undefined
944
+ */
945
+ readonly operationId?: string | undefined;
946
+ /**
947
+ * @description The absolute total position in degrees that has been reached during calibration
948
+ * @type integer
949
+ */
950
+ readonly totalDegrees: number;
951
+ /**
952
+ * @description Offset that alters the single locked position
953
+ * @type integer
954
+ */
955
+ singleLockedPositionOffsetDegrees: number;
956
+ /**
957
+ * @description Offset that alters the position where transition from unlocked to locked happens
958
+ * @type integer | undefined
959
+ */
960
+ unlockedToLockedTransitionOffsetDegrees?: number | undefined;
961
+ /**
962
+ * @description Offset that alters the unlocked position
963
+ * @type integer
964
+ */
965
+ unlockedPositionOffsetDegrees: number;
966
+ /**
967
+ * @description Offset that alters the locked position
968
+ * @type integer
969
+ */
970
+ lockedPositionOffsetDegrees: number;
971
+ /**
972
+ * @description Flag that indicates that the inner side of the used cylinder is detached from the outer side
973
+ * @type boolean | undefined
974
+ */
975
+ detachedCylinder?: boolean | undefined;
976
+ /**
977
+ * @description The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium
978
+ * @type integer
979
+ */
980
+ batteryType: number;
981
+ /**
982
+ * @description 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
983
+ * @type boolean | undefined
984
+ */
985
+ autoLock?: boolean | undefined;
986
+ /**
987
+ * @description 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)
988
+ * @type integer | undefined
989
+ */
990
+ autoLockTimeout?: number | undefined;
991
+ /**
992
+ * @description Flag that indicates if available firmware updates for the deviceshould be installed automatically
993
+ * @type boolean | undefined
994
+ */
995
+ autoUpdateEnabled?: boolean | undefined;
996
+ /**
997
+ * @description Field used for setting the motor speed. 0x00 ... standard, 0x01 ... fast, 0x02 ... slow
998
+ * @type integer | undefined
999
+ */
1000
+ motorSpeed?: number | undefined;
1001
+ /**
1002
+ * @description Flag indicating if the slow speed shall be applied during NightMode
1003
+ * @type boolean | undefined
1004
+ */
1005
+ enableSlowSpeedDuringNightmode?: boolean | undefined;
1006
+ };
1007
+ /**
1008
+ * @type object
1009
+ */
1010
+ type SmartlockOpenerAdvancedConfig = {
1011
+ /**
1012
+ * @description The database ID of the connected intercom
1013
+ * @type integer
1014
+ */
1015
+ readonly intercomId: number;
1016
+ /**
1017
+ * @description Method to switch between data and analogue mode
1018
+ * @type integer
1019
+ */
1020
+ readonly busModeSwitch: number;
1021
+ /**
1022
+ * @description Duration of the short circuit for BUS mode switching in ms
1023
+ * @type integer
1024
+ */
1025
+ shortCircuitDuration: number;
1026
+ /**
1027
+ * @description Delay of electric strike activation in ms after lock action 3 \'electric strike actuation\'
1028
+ * @type integer
1029
+ */
1030
+ electricStrikeDelay: number;
1031
+ /**
1032
+ * @description Random electricStrikeDelay (range 3000 - 7000 ms) in order to simulate a person inside actuating the electric strike
1033
+ * @type boolean
1034
+ */
1035
+ randomElectricStrikeDelay: boolean;
1036
+ /**
1037
+ * @description Duration in ms of electric strike actuation lock action 3 \'electric strike actuation\'
1038
+ * @type integer
1039
+ */
1040
+ electricStrikeDuration: number;
1041
+ /**
1042
+ * @description Flag to disable RTO after ring
1043
+ * @type boolean
1044
+ */
1045
+ disableRtoAfterRing: boolean;
1046
+ /**
1047
+ * @description After this period of time in minutes, RTO gets deactivated automatically
1048
+ * @type integer
1049
+ */
1050
+ rtoTimeout: number;
1051
+ /**
1052
+ * @description 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
1053
+ * @type integer
1054
+ */
1055
+ doorbellSuppression: number;
1056
+ /**
1057
+ * @description Duration in ms of doorbell suppression (only in Operating mode 2 \'digital Intercom\')
1058
+ * @type integer
1059
+ */
1060
+ doorbellSuppressionDuration: number;
1061
+ /**
1062
+ * @description The sound for ring: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3
1063
+ * @type integer
1064
+ */
1065
+ soundRing: number;
1066
+ /**
1067
+ * @description The sound for open: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3
1068
+ * @type integer
1069
+ */
1070
+ soundOpen: number;
1071
+ /**
1072
+ * @description The sound for RTO: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3
1073
+ * @type integer
1074
+ */
1075
+ soundRto: number;
1076
+ /**
1077
+ * @description The sound for CM: 0 .. no sound, 1 .. Sound1, 2 .. Sound2, 3 .. Sound3
1078
+ * @type integer
1079
+ */
1080
+ soundCm: number;
1081
+ /**
1082
+ * @description The sound confirmation: 0 .. no sound, 1 .. sound
1083
+ * @type integer
1084
+ */
1085
+ soundConfirmation: number;
1086
+ /**
1087
+ * @description The sound level
1088
+ * @type integer
1089
+ */
1090
+ soundLevel: number;
1091
+ /**
1092
+ * @description 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
1093
+ * @type integer
1094
+ */
1095
+ singleButtonPressAction: number;
1096
+ /**
1097
+ * @description 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
1098
+ * @type integer
1099
+ */
1100
+ doubleButtonPressAction: number;
1101
+ /**
1102
+ * @description The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed
1103
+ * @type integer
1104
+ */
1105
+ batteryType: number;
1106
+ /**
1107
+ * @description Flag that indicates if the automatic detection of the battery type is enabled
1108
+ * @type boolean | undefined
1109
+ */
1110
+ automaticBatteryTypeDetection?: boolean | undefined;
1111
+ /**
1112
+ * @description Flag that indicates if available firmware updates for the deviceshould be installed automatically
1113
+ * @type boolean | undefined
1114
+ */
1115
+ autoUpdateEnabled?: boolean | undefined;
1116
+ /**
1117
+ * @description The operation id - if set it\'s locked for another operation
1118
+ * @type string | undefined
1119
+ */
1120
+ readonly operationId?: string | undefined;
1121
+ };
1122
+ /**
1123
+ * @type object
1124
+ */
1125
+ type SmartlockSmartdoorAdvancedConfig = {
1126
+ /**
1127
+ * @description Timeout in seconds for lock ‘n’ go
1128
+ * @type integer | undefined
1129
+ */
1130
+ lngTimeout?: number | undefined;
1131
+ /**
1132
+ * @description 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
1133
+ * @type integer | undefined
1134
+ */
1135
+ singleButtonPressAction?: number | undefined;
1136
+ /**
1137
+ * @description 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
1138
+ * @type integer | undefined
1139
+ */
1140
+ doubleButtonPressAction?: number | undefined;
1141
+ /**
1142
+ * @description Flag that indicates if the automatic detection of the battery type is enabled
1143
+ * @type boolean | undefined
1144
+ */
1145
+ automaticBatteryTypeDetection?: boolean | undefined;
1146
+ /**
1147
+ * @description Duration in seconds for holding the latch in unlatched position
1148
+ * @type integer | undefined
1149
+ */
1150
+ unlatchDuration?: number | undefined;
1151
+ /**
1152
+ * @description The operation id - if set it\'s locked for another operation
1153
+ * @type string | undefined
1154
+ */
1155
+ readonly operationId?: string | undefined;
1156
+ /**
1157
+ * @description The volume of the buzzer: 0 .. off, 1 .. low, 2 .. normal
1158
+ * @type integer | undefined
1159
+ */
1160
+ buzzerVolume?: number | undefined;
1161
+ /**
1162
+ * @description Set of supported battery types: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 254 .. automatic, 255 .. unknown
1163
+ * @type array | undefined
1164
+ */
1165
+ readonly supportedBatteryTypes?: number[] | undefined;
1166
+ /**
1167
+ * @description The type of the batteries present in the smart lock: 0 .. alkali, 1 .. accumulator, 2 .. lithium, 3 .. fixed, 255 .. unknown
1168
+ * @type integer
1169
+ */
1170
+ batteryType: number;
1171
+ /**
1172
+ * @description Seconds until the smart lock relocks itself after it has been unlocked. No auto relock if value is 0
1173
+ * @type integer | undefined
1174
+ */
1175
+ autoLockTimeout?: number | undefined;
1176
+ /**
1177
+ * @description The Auto Lock feature automatically locks your door when it has been unlocked for a certain period of time
1178
+ * @type boolean
1179
+ */
1180
+ autoLock: boolean;
1181
+ };
1182
+ /**
1183
+ * @type object
1184
+ */
1185
+ type SmartlockAction = {
1186
+ /**
1187
+ * @description 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
1188
+ * @type integer
1189
+ */
1190
+ action: number;
1191
+ /**
1192
+ * @description The option mask: 0 .. none, 2 .. force, 4 .. full lock
1193
+ * @type integer | undefined
1194
+ */
1195
+ option?: number | undefined;
1196
+ };
1197
+ /**
1198
+ * @type object
1199
+ */
1200
+ type SmartlockAdminPinUpdate = {
1201
+ /**
1202
+ * @description The admin pin
1203
+ * @type integer
1204
+ */
1205
+ adminPin: number;
1206
+ };
1207
+ /**
1208
+ * @type object
1209
+ */
1210
+ type SmartlockAuthCreate = {
1211
+ /**
1212
+ * @description The name of the authorization (max 32 chars)
1213
+ * @type string
1214
+ */
1215
+ name: string;
1216
+ /**
1217
+ * @description The allowed from date
1218
+ * @type string | undefined
1219
+ */
1220
+ allowedFromDate?: string | undefined;
1221
+ /**
1222
+ * @description The allowed until date
1223
+ * @type string | undefined
1224
+ */
1225
+ allowedUntilDate?: string | undefined;
1226
+ /**
1227
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1228
+ * @type integer | undefined
1229
+ */
1230
+ allowedWeekDays?: number | undefined;
1231
+ /**
1232
+ * @description The allowed from time (in minutes from midnight)
1233
+ * @type integer | undefined
1234
+ */
1235
+ allowedFromTime?: number | undefined;
1236
+ /**
1237
+ * @description The allowed until time (in minutes from midnight)
1238
+ * @type integer | undefined
1239
+ */
1240
+ allowedUntilTime?: number | undefined;
1241
+ /**
1242
+ * @description The id of the linked account user (required if type is NOT 13 .. keypad)
1243
+ * @type integer | undefined
1244
+ */
1245
+ accountUserId?: number | undefined;
1246
+ /**
1247
+ * @description True if the auth has remote access
1248
+ * @type boolean
1249
+ */
1250
+ remoteAllowed: boolean;
1251
+ /**
1252
+ * @description The smart actions enabled flag
1253
+ * @type boolean | undefined
1254
+ */
1255
+ smartActionsEnabled?: boolean | undefined;
1256
+ /**
1257
+ * @description The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad
1258
+ * @type integer | undefined
1259
+ */
1260
+ type?: number | undefined;
1261
+ /**
1262
+ * @description The code of the keypad authorization (only for keypad)
1263
+ * @type integer | undefined
1264
+ */
1265
+ code?: number | undefined;
1266
+ };
1267
+ /**
1268
+ * @type object
1269
+ */
1270
+ type SmartlockAuthMultiUpdate = {
1271
+ /**
1272
+ * @description The name of the authorization (max 32 chars)
1273
+ * @type string
1274
+ */
1275
+ name: string;
1276
+ /**
1277
+ * @description The allowed from date
1278
+ * @type string | undefined
1279
+ */
1280
+ allowedFromDate?: string | undefined;
1281
+ /**
1282
+ * @description The allowed until date
1283
+ * @type string | undefined
1284
+ */
1285
+ allowedUntilDate?: string | undefined;
1286
+ /**
1287
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1288
+ * @type integer | undefined
1289
+ */
1290
+ allowedWeekDays?: number | undefined;
1291
+ /**
1292
+ * @description The allowed from time (in minutes from midnight)
1293
+ * @type integer | undefined
1294
+ */
1295
+ allowedFromTime?: number | undefined;
1296
+ /**
1297
+ * @description The allowed until time (in minutes from midnight)
1298
+ * @type integer | undefined
1299
+ */
1300
+ allowedUntilTime?: number | undefined;
1301
+ /**
1302
+ * @description The id of the linked account user
1303
+ * @type integer | undefined
1304
+ */
1305
+ accountUserId?: number | undefined;
1306
+ /**
1307
+ * @description True if the auth is enabled
1308
+ * @type boolean | undefined
1309
+ */
1310
+ enabled?: boolean | undefined;
1311
+ /**
1312
+ * @description True if the auth has remote access
1313
+ * @type boolean | undefined
1314
+ */
1315
+ remoteAllowed?: boolean | undefined;
1316
+ /**
1317
+ * @description The code of the keypad authorization (only for keypad)
1318
+ * @type integer | undefined
1319
+ */
1320
+ code?: number | undefined;
1321
+ /**
1322
+ * @description The unique id for the smartlock authorization
1323
+ * @type string
1324
+ */
1325
+ id: string;
1326
+ };
1327
+ /**
1328
+ * @type object
1329
+ */
1330
+ type SmartlockAuthUpdate = {
1331
+ /**
1332
+ * @description The name of the authorization (max 32 chars)
1333
+ * @type string
1334
+ */
1335
+ name: string;
1336
+ /**
1337
+ * @description The allowed from date
1338
+ * @type string | undefined
1339
+ */
1340
+ allowedFromDate?: string | undefined;
1341
+ /**
1342
+ * @description The allowed until date
1343
+ * @type string | undefined
1344
+ */
1345
+ allowedUntilDate?: string | undefined;
1346
+ /**
1347
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1348
+ * @type integer | undefined
1349
+ */
1350
+ allowedWeekDays?: number | undefined;
1351
+ /**
1352
+ * @description The allowed from time (in minutes from midnight)
1353
+ * @type integer | undefined
1354
+ */
1355
+ allowedFromTime?: number | undefined;
1356
+ /**
1357
+ * @description The allowed until time (in minutes from midnight)
1358
+ * @type integer | undefined
1359
+ */
1360
+ allowedUntilTime?: number | undefined;
1361
+ /**
1362
+ * @description The id of the linked account user
1363
+ * @type integer | undefined
1364
+ */
1365
+ accountUserId?: number | undefined;
1366
+ /**
1367
+ * @description True if the auth is enabled
1368
+ * @type boolean | undefined
1369
+ */
1370
+ enabled?: boolean | undefined;
1371
+ /**
1372
+ * @description True if the auth has remote access
1373
+ * @type boolean | undefined
1374
+ */
1375
+ remoteAllowed?: boolean | undefined;
1376
+ /**
1377
+ * @description The code of the keypad authorization (only for keypad)
1378
+ * @type integer | undefined
1379
+ */
1380
+ code?: number | undefined;
1381
+ };
1382
+ /**
1383
+ * @type object
1384
+ */
1385
+ type SmartlockAuthWithSharedKeyCreate = {
1386
+ /**
1387
+ * @description The name of the authorization (max 32 chars)
1388
+ * @type string
1389
+ */
1390
+ name: string;
1391
+ /**
1392
+ * @description The allowed from date
1393
+ * @type string | undefined
1394
+ */
1395
+ allowedFromDate?: string | undefined;
1396
+ /**
1397
+ * @description The allowed until date
1398
+ * @type string | undefined
1399
+ */
1400
+ allowedUntilDate?: string | undefined;
1401
+ /**
1402
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1403
+ * @type integer | undefined
1404
+ */
1405
+ allowedWeekDays?: number | undefined;
1406
+ /**
1407
+ * @description The allowed from time (in minutes from midnight)
1408
+ * @type integer | undefined
1409
+ */
1410
+ allowedFromTime?: number | undefined;
1411
+ /**
1412
+ * @description The allowed until time (in minutes from midnight)
1413
+ * @type integer | undefined
1414
+ */
1415
+ allowedUntilTime?: number | undefined;
1416
+ /**
1417
+ * @description The id of the linked account user
1418
+ * @type integer | undefined
1419
+ */
1420
+ accountUserId?: number | undefined;
1421
+ };
1422
+ /**
1423
+ * @type object
1424
+ */
1425
+ type SmartlockUpdate = {
1426
+ /**
1427
+ * @description The new name of the smartlock
1428
+ * @type string | undefined
1429
+ */
1430
+ name?: string | undefined;
1431
+ /**
1432
+ * @description True if the smartlock is favorite
1433
+ * @type boolean | undefined
1434
+ */
1435
+ favorite?: boolean | undefined;
1436
+ };
1437
+ /**
1438
+ * @type object
1439
+ */
1440
+ type SmartlocksAuthAdvancedCreate = {
1441
+ /**
1442
+ * @description The name of the authorization (max 32 chars)
1443
+ * @type string
1444
+ */
1445
+ name: string;
1446
+ /**
1447
+ * @description The allowed from date
1448
+ * @type string | undefined
1449
+ */
1450
+ allowedFromDate?: string | undefined;
1451
+ /**
1452
+ * @description The allowed until date
1453
+ * @type string | undefined
1454
+ */
1455
+ allowedUntilDate?: string | undefined;
1456
+ /**
1457
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1458
+ * @type integer | undefined
1459
+ */
1460
+ allowedWeekDays?: number | undefined;
1461
+ /**
1462
+ * @description The allowed from time (in minutes from midnight)
1463
+ * @type integer | undefined
1464
+ */
1465
+ allowedFromTime?: number | undefined;
1466
+ /**
1467
+ * @description The allowed until time (in minutes from midnight)
1468
+ * @type integer | undefined
1469
+ */
1470
+ allowedUntilTime?: number | undefined;
1471
+ /**
1472
+ * @description The id of the linked account user
1473
+ * @type integer
1474
+ */
1475
+ accountUserId: number;
1476
+ /**
1477
+ * @description The list of smartlock ids
1478
+ * @type array
1479
+ */
1480
+ smartlockIds: bigint[];
1481
+ /**
1482
+ * @description True if the auth has remote access
1483
+ * @type boolean
1484
+ */
1485
+ remoteAllowed: boolean;
1486
+ /**
1487
+ * @description The smart actions enabled flag
1488
+ * @type boolean | undefined
1489
+ */
1490
+ smartActionsEnabled?: boolean | undefined;
1491
+ };
1492
+ /**
1493
+ * @type object
1494
+ */
1495
+ type SmartlocksAuthCreate = {
1496
+ /**
1497
+ * @description The name of the authorization (max 32 chars)
1498
+ * @type string
1499
+ */
1500
+ name: string;
1501
+ /**
1502
+ * @description The allowed from date
1503
+ * @type string | undefined
1504
+ */
1505
+ allowedFromDate?: string | undefined;
1506
+ /**
1507
+ * @description The allowed until date
1508
+ * @type string | undefined
1509
+ */
1510
+ allowedUntilDate?: string | undefined;
1511
+ /**
1512
+ * @description The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
1513
+ * @type integer | undefined
1514
+ */
1515
+ allowedWeekDays?: number | undefined;
1516
+ /**
1517
+ * @description The allowed from time (in minutes from midnight)
1518
+ * @type integer | undefined
1519
+ */
1520
+ allowedFromTime?: number | undefined;
1521
+ /**
1522
+ * @description The allowed until time (in minutes from midnight)
1523
+ * @type integer | undefined
1524
+ */
1525
+ allowedUntilTime?: number | undefined;
1526
+ /**
1527
+ * @description The id of the linked account user (required if type is NOT 13 .. keypad)
1528
+ * @type integer | undefined
1529
+ */
1530
+ accountUserId?: number | undefined;
1531
+ /**
1532
+ * @description The list of smartlock ids
1533
+ * @type array | undefined
1534
+ */
1535
+ smartlockIds?: bigint[] | undefined;
1536
+ /**
1537
+ * @description True if the auth has remote access
1538
+ * @type boolean
1539
+ */
1540
+ remoteAllowed: boolean;
1541
+ /**
1542
+ * @description The smart actions enabled flag
1543
+ * @type boolean | undefined
1544
+ */
1545
+ smartActionsEnabled?: boolean | undefined;
1546
+ /**
1547
+ * @description The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad
1548
+ * @type integer | undefined
1549
+ */
1550
+ type?: number | undefined;
1551
+ /**
1552
+ * @description The code of the keypad authorization (only for keypad)
1553
+ * @type integer | undefined
1554
+ */
1555
+ code?: number | undefined;
1556
+ };
1557
+ /**
1558
+ * @description Account update representation
1559
+ * @type object
1560
+ */
1561
+ type PostAccountsResourceData = AccountUpdate;
1562
+ /**
1563
+ * @description Account email change representation
1564
+ * @type object
1565
+ */
1566
+ type PostAccountEmailChangeResourceData = AccountEmailChange;
1567
+ /**
1568
+ * @description Account one time password enable representation
1569
+ * @type object
1570
+ */
1571
+ type PostAccountOtpResourceData = AccountOtpEnable;
1572
+ /**
1573
+ * @description Account password reset representation
1574
+ * @type object
1575
+ */
1576
+ type PostAccountPasswordResetResourceData = AccountPasswordReset;
1577
+ /**
1578
+ * @description Account setting representation
1579
+ * @type object
1580
+ */
1581
+ type PutAccountSettingResourceData = AccountSetting;
1582
+ /**
1583
+ * @description Account sub create representation
1584
+ * @type object
1585
+ */
1586
+ type PutAccountSubsResourceData = AccountSubCreate;
1587
+ /**
1588
+ * @description Account update representation
1589
+ * @type object
1590
+ */
1591
+ type PostAccountSubResourceData = AccountSubUpdate;
1592
+ /**
1593
+ * @description Account sub create representation
1594
+ * @type object
1595
+ */
1596
+ type PutAccountUsersResourceData = AccountUserCreate;
1597
+ /**
1598
+ * @description Account update representation
1599
+ * @type object
1600
+ */
1601
+ type PostAccountUserResourceData = AccountUserUpdate;
1602
+ /**
1603
+ * @description Address create representation
1604
+ * @type object
1605
+ */
1606
+ type PutAddressesResourceData = AddressCreate;
1607
+ /**
1608
+ * @description Address update representation
1609
+ * @type object
1610
+ */
1611
+ type PostAddressResourceData = AddressUpdate;
1612
+ /**
1613
+ * @description Reservation access times update representation
1614
+ * @type object
1615
+ */
1616
+ type PostReservationAccessTimesUpdateResourceData = ReservationAccessTimesUpdate;
1617
+ /**
1618
+ * @description Address unit representation
1619
+ * @type object
1620
+ */
1621
+ type PutAddressUnitsResourceData = Omit<NonNullable<AddressUnit>, "id" | "addressId" | "addressTokenId" | "operationId">;
1622
+ /**
1623
+ * @description Address unit IDs to delete
1624
+ * @type array
1625
+ */
1626
+ type DeleteAddressUnitsResourceData = string[];
1627
+ /**
1628
+ * @description Decentral webhook representation
1629
+ * @type object
1630
+ */
1631
+ type PutDecentralWebhooksResourceData = Omit<NonNullable<DecentralWebhook>, "id" | "secret">;
1632
+ /**
1633
+ * @description Api key create representation
1634
+ * @type object
1635
+ */
1636
+ type PutApiKeysResourceData = ApiKeyCreate;
1637
+ /**
1638
+ * @description Api key update representation
1639
+ * @type object
1640
+ */
1641
+ type PostApiKeyResourceData = ApiKeyUpdate;
1642
+ /**
1643
+ * @description Update for advaced api key representation
1644
+ * @type object
1645
+ */
1646
+ type PostApiKeyAdvancedResourceData = AdvancedApiKeyUpdate;
1647
+ /**
1648
+ * @description Apply for advaced api key representation
1649
+ * @type object
1650
+ */
1651
+ type PutApiKeyAdvancedResourceData = Omit<NonNullable<AdvancedApiKeyCreate>, "webhookStatus">;
1652
+ /**
1653
+ * @description Api key token create representation
1654
+ * @type object
1655
+ */
1656
+ type PutApiKeyTokensResourceData = ApiKeyTokenCreate;
1657
+ /**
1658
+ * @description Api key token update representation
1659
+ * @type object
1660
+ */
1661
+ type PostApiKeyTokenResourceData = ApiKeyTokenUpdate;
1662
+ /**
1663
+ * @description Smartlocks web config update representation
1664
+ * @type object
1665
+ */
1666
+ type PostSmartlockBulkWebConfigResourceData = BulkWebConfigRequest;
1667
+ /**
1668
+ * @description Notification representation
1669
+ * @type object
1670
+ */
1671
+ type PutNotificationsResourceData = Notification;
1672
+ /**
1673
+ * @description Notification update representation
1674
+ * @type object
1675
+ */
1676
+ type PostNotificationResourceData = Notification;
1677
+ /**
1678
+ * @description Smartlock authorization update representations
1679
+ * @type array
1680
+ */
1681
+ type PostSmartlocksAuthsResourceData = SmartlockAuthMultiUpdate[];
1682
+ /**
1683
+ * @description Smartlock authorization create representation
1684
+ * @type object
1685
+ */
1686
+ type PutSmartlocksAuthsResourceData = SmartlocksAuthCreate;
1687
+ /**
1688
+ * @description Smartlock authorization IDs to delete
1689
+ * @type array
1690
+ */
1691
+ type DeleteSmartlocksAuthsResourceData = string[];
1692
+ /**
1693
+ * @description Smartlock authorization create representation
1694
+ * @type object
1695
+ */
1696
+ type PutSmartlockAuthsAdvancedResourceData = SmartlocksAuthAdvancedCreate;
1697
+ /**
1698
+ * @description Smartlock update representation
1699
+ * @type object
1700
+ */
1701
+ type PostSmartlockResourceData = SmartlockUpdate;
1702
+ /**
1703
+ * @type object | undefined
1704
+ */
1705
+ type PostSmartlockActionResourceData = SmartlockAction | undefined;
1706
+ /**
1707
+ * @type object | undefined
1708
+ */
1709
+ type PostSmartlockActionAdvancedResourceData = SmartlockAction | undefined;
1710
+ /**
1711
+ * @description Smartlock admin pin update representation
1712
+ * @type object
1713
+ */
1714
+ type PostSmartlockAdminPinResourceData = SmartlockAdminPinUpdate;
1715
+ /**
1716
+ * @description Smartlock config update representation
1717
+ * @type object
1718
+ */
1719
+ type PostSmartlockAdvancedConfigResourceData = Omit<NonNullable<SmartlockAdvancedConfig>, "operationId" | "totalDegrees">;
1720
+ /**
1721
+ * @description Opener advanced config update representation
1722
+ * @type object
1723
+ */
1724
+ type PostSmartlockOpenerAdvancedConfigResourceData = Omit<NonNullable<SmartlockOpenerAdvancedConfig>, "intercomId" | "busModeSwitch" | "operationId">;
1725
+ /**
1726
+ * @description Smartdoor advanced config update representation
1727
+ * @type object
1728
+ */
1729
+ type PostSmartdoorAdvancedConfigResourceData = Omit<NonNullable<SmartlockSmartdoorAdvancedConfig>, "operationId" | "supportedBatteryTypes">;
1730
+ /**
1731
+ * @description Smartlock authorization create representation
1732
+ * @type object
1733
+ */
1734
+ type PutSmartlockAuthsResourceData = SmartlockAuthCreate;
1735
+ /**
1736
+ * @description Smartlock auth create with shared key
1737
+ * @type object
1738
+ */
1739
+ type PostSmartlockAuthWithSharedKeyResourceData = SmartlockAuthWithSharedKeyCreate;
1740
+ /**
1741
+ * @description Smartlock authorization update representation
1742
+ * @type object
1743
+ */
1744
+ type PostSmartlockAuthResourceData = SmartlockAuthUpdate;
1745
+ /**
1746
+ * @description Smartlock config update representation
1747
+ * @type object
1748
+ */
1749
+ type PostSmartlockConfigResourceData = Omit<NonNullable<SmartlockConfig>, "capabilities" | "fobPaired" | "fobAction1" | "fobAction2" | "fobAction3" | "operatingMode" | "keypadPaired" | "keypad2Paired" | "homekitState" | "matterState" | "deviceType" | "wifiEnabled" | "operationId" | "productVariant">;
1750
+ /**
1751
+ * @description Smartlock web config update representation
1752
+ * @type object
1753
+ */
1754
+ type PostSmartlockWebConfigResourceData = SmartlockWebConfig;
1755
+
1756
+ /**
1757
+ * Generated by Kubb (https://kubb.dev/).
1758
+ * Do not edit manually.
1759
+ */
1760
+
1761
+ /**
1762
+ * @summary Get an account
1763
+ * @link /account
1764
+ */
1765
+ declare function getAccountsResource({ config }?: {
1766
+ config?: Partial<FetcherConfig> & {
1767
+ client?: typeof client;
1768
+ };
1769
+ }): Promise<unknown>;
1770
+ /**
1771
+ * @summary Update an account
1772
+ * @link /account
1773
+ */
1774
+ declare function postAccountsResource({ body, queryParams, config }?: {
1775
+ body: PostAccountsResourceData;
1776
+ queryParams?: {
1777
+ "deleteApiTokens"?: boolean;
1778
+ };
1779
+ config?: Partial<FetcherConfig> & {
1780
+ client?: typeof client;
1781
+ };
1782
+ }): Promise<unknown>;
1783
+ /**
1784
+ * @summary Delete an account
1785
+ * @link /account
1786
+ */
1787
+ declare function deleteAccountsResource({ config }?: {
1788
+ config?: Partial<FetcherConfig> & {
1789
+ client?: typeof client;
1790
+ };
1791
+ }): Promise<unknown>;
1792
+ /**
1793
+ * @summary Trigger the email change verification email
1794
+ * @link /account/email/change
1795
+ */
1796
+ declare function postAccountEmailChangeResource({ body, config }?: {
1797
+ body: PostAccountEmailChangeResourceData;
1798
+ config?: Partial<FetcherConfig> & {
1799
+ client?: typeof client;
1800
+ };
1801
+ }): Promise<unknown>;
1802
+ /**
1803
+ * @summary Trigger the email change verification email
1804
+ * @link /account/email/verify
1805
+ */
1806
+ declare function postAccountEmailVerifyResource({ config }?: {
1807
+ config?: Partial<FetcherConfig> & {
1808
+ client?: typeof client;
1809
+ };
1810
+ }): Promise<unknown>;
1811
+ /**
1812
+ * @summary Get all integrations for this account
1813
+ * @link /account/integration
1814
+ */
1815
+ declare function getAccountIntegrationsResource({ config }?: {
1816
+ config?: Partial<FetcherConfig> & {
1817
+ client?: typeof client;
1818
+ };
1819
+ }): Promise<unknown>;
1820
+ /**
1821
+ * @summary Delete an integration
1822
+ * @link /account/integration
1823
+ */
1824
+ declare function deleteAccountIntegrationsResource({ queryParams, config }?: {
1825
+ queryParams?: {
1826
+ "apiKeyId"?: number;
1827
+ "tokenId"?: number;
1828
+ };
1829
+ config?: Partial<FetcherConfig> & {
1830
+ client?: typeof client;
1831
+ };
1832
+ }): Promise<unknown>;
1833
+ /**
1834
+ * @summary Enable one-time password for an account
1835
+ * @link /account/otp
1836
+ */
1837
+ declare function postAccountOtpResource({ body, config }?: {
1838
+ body: PostAccountOtpResourceData;
1839
+ config?: Partial<FetcherConfig> & {
1840
+ client?: typeof client;
1841
+ };
1842
+ }): Promise<unknown>;
1843
+ /**
1844
+ * @summary Create a one-time password secret
1845
+ * @link /account/otp
1846
+ */
1847
+ declare function putAccountOtpResource({ config }?: {
1848
+ config?: Partial<FetcherConfig> & {
1849
+ client?: typeof client;
1850
+ };
1851
+ }): Promise<unknown>;
1852
+ /**
1853
+ * @summary Disable one-time password for an account
1854
+ * @link /account/otp
1855
+ */
1856
+ declare function deleteAccountOtpResource({ config }?: {
1857
+ config?: Partial<FetcherConfig> & {
1858
+ client?: typeof client;
1859
+ };
1860
+ }): Promise<unknown>;
1861
+ /**
1862
+ * @summary Reset account password
1863
+ * @link /account/password/reset
1864
+ */
1865
+ declare function postAccountPasswordResetResource({ body, config }?: {
1866
+ body: PostAccountPasswordResetResourceData;
1867
+ config?: Partial<FetcherConfig> & {
1868
+ client?: typeof client;
1869
+ };
1870
+ }): Promise<unknown>;
1871
+ /**
1872
+ * @summary Get account setting
1873
+ * @link /account/setting
1874
+ */
1875
+ declare function getAccountSettingResource({ config }?: {
1876
+ config?: Partial<FetcherConfig> & {
1877
+ client?: typeof client;
1878
+ };
1879
+ }): Promise<unknown>;
1880
+ /**
1881
+ * @summary Create or update account setting
1882
+ * @link /account/setting
1883
+ */
1884
+ declare function putAccountSettingResource({ body, config }?: {
1885
+ body: PutAccountSettingResourceData;
1886
+ config?: Partial<FetcherConfig> & {
1887
+ client?: typeof client;
1888
+ };
1889
+ }): Promise<unknown>;
1890
+ /**
1891
+ * @summary Delete an account setting
1892
+ * @link /account/setting
1893
+ */
1894
+ declare function deleteAccountSettingResource({ config }?: {
1895
+ config?: Partial<FetcherConfig> & {
1896
+ client?: typeof client;
1897
+ };
1898
+ }): Promise<unknown>;
1899
+ /**
1900
+ * @summary Get a list of sub accounts
1901
+ * @link /account/sub
1902
+ */
1903
+ declare function getAccountSubsResource({ queryParams, config }?: {
1904
+ queryParams?: {
1905
+ "email"?: string;
1906
+ };
1907
+ config?: Partial<FetcherConfig> & {
1908
+ client?: typeof client;
1909
+ };
1910
+ }): Promise<unknown>;
1911
+ /**
1912
+ * @summary Create a sub account
1913
+ * @link /account/sub
1914
+ */
1915
+ declare function putAccountSubsResource({ body, config }?: {
1916
+ body: PutAccountSubsResourceData;
1917
+ config?: Partial<FetcherConfig> & {
1918
+ client?: typeof client;
1919
+ };
1920
+ }): Promise<unknown>;
1921
+ /**
1922
+ * @summary Get a sub account
1923
+ * @link /account/sub/{accountId}
1924
+ */
1925
+ declare function getAccountSubResource({ pathParams, config }?: {
1926
+ pathParams: {
1927
+ "accountId": number;
1928
+ };
1929
+ config?: Partial<FetcherConfig> & {
1930
+ client?: typeof client;
1931
+ };
1932
+ }): Promise<unknown>;
1933
+ /**
1934
+ * @summary Update a sub account
1935
+ * @link /account/sub/{accountId}
1936
+ */
1937
+ declare function postAccountSubResource({ pathParams, body, config }?: {
1938
+ pathParams: {
1939
+ "accountId": number;
1940
+ };
1941
+ body: PostAccountSubResourceData;
1942
+ config?: Partial<FetcherConfig> & {
1943
+ client?: typeof client;
1944
+ };
1945
+ }): Promise<unknown>;
1946
+ /**
1947
+ * @summary Delete a sub account
1948
+ * @link /account/sub/{accountId}
1949
+ */
1950
+ declare function deleteAccountSubResource({ pathParams, config }?: {
1951
+ pathParams: {
1952
+ "accountId": number;
1953
+ };
1954
+ config?: Partial<FetcherConfig> & {
1955
+ client?: typeof client;
1956
+ };
1957
+ }): Promise<unknown>;
1958
+ /**
1959
+ * @summary Get a list of account users
1960
+ * @link /account/user
1961
+ */
1962
+ declare function getAccountUsersResource({ queryParams, config }?: {
1963
+ queryParams?: {
1964
+ "email"?: string;
1965
+ "offset"?: number;
1966
+ "limit"?: number;
1967
+ };
1968
+ config?: Partial<FetcherConfig> & {
1969
+ client?: typeof client;
1970
+ };
1971
+ }): Promise<unknown>;
1972
+ /**
1973
+ * @summary Create an account user
1974
+ * @link /account/user
1975
+ */
1976
+ declare function putAccountUsersResource({ body, config }?: {
1977
+ body: PutAccountUsersResourceData;
1978
+ config?: Partial<FetcherConfig> & {
1979
+ client?: typeof client;
1980
+ };
1981
+ }): Promise<unknown>;
1982
+ /**
1983
+ * @summary Get an account user
1984
+ * @link /account/user/{accountUserId}
1985
+ */
1986
+ declare function getAccountUserResource({ pathParams, config }?: {
1987
+ pathParams: {
1988
+ "accountUserId": number;
1989
+ };
1990
+ config?: Partial<FetcherConfig> & {
1991
+ client?: typeof client;
1992
+ };
1993
+ }): Promise<unknown>;
1994
+ /**
1995
+ * @summary Update an account user
1996
+ * @link /account/user/{accountUserId}
1997
+ */
1998
+ declare function postAccountUserResource({ pathParams, body, config }?: {
1999
+ pathParams: {
2000
+ "accountUserId": number;
2001
+ };
2002
+ body: PostAccountUserResourceData;
2003
+ config?: Partial<FetcherConfig> & {
2004
+ client?: typeof client;
2005
+ };
2006
+ }): Promise<unknown>;
2007
+ /**
2008
+ * @summary Delete an account user asynchronously
2009
+ * @link /account/user/{accountUserId}
2010
+ */
2011
+ declare function deleteAccountUserResource({ pathParams, config }?: {
2012
+ pathParams: {
2013
+ "accountUserId": number;
2014
+ };
2015
+ config?: Partial<FetcherConfig> & {
2016
+ client?: typeof client;
2017
+ };
2018
+ }): Promise<unknown>;
2019
+ /**
2020
+ * @summary Get a list of addresses
2021
+ * @link /address
2022
+ */
2023
+ declare function getAddressesResource({ config }?: {
2024
+ config?: Partial<FetcherConfig> & {
2025
+ client?: typeof client;
2026
+ };
2027
+ }): Promise<unknown>;
2028
+ /**
2029
+ * @summary Create an address
2030
+ * @link /address
2031
+ */
2032
+ declare function putAddressesResource({ body, config }?: {
2033
+ body: PutAddressesResourceData;
2034
+ config?: Partial<FetcherConfig> & {
2035
+ client?: typeof client;
2036
+ };
2037
+ }): Promise<unknown>;
2038
+ /**
2039
+ * @summary Get info about an address token
2040
+ * @link /address/token/{id}
2041
+ */
2042
+ declare function getAddressTokenResource({ pathParams, config }?: {
2043
+ pathParams: {
2044
+ "id": string;
2045
+ };
2046
+ config?: Partial<FetcherConfig> & {
2047
+ client?: typeof client;
2048
+ };
2049
+ }): Promise<unknown>;
2050
+ /**
2051
+ * @summary Get a redeemed address token
2052
+ * @link /address/token/{id}/redeem
2053
+ */
2054
+ declare function getAddressTokenRedeemResource({ pathParams, config }?: {
2055
+ pathParams: {
2056
+ "id": string;
2057
+ };
2058
+ config?: Partial<FetcherConfig> & {
2059
+ client?: typeof client;
2060
+ };
2061
+ }): Promise<unknown>;
2062
+ /**
2063
+ * @summary Redeem an address token
2064
+ * @link /address/token/{id}/redeem
2065
+ */
2066
+ declare function postAddressTokenRedeemResource({ pathParams, queryParams, config }?: {
2067
+ pathParams: {
2068
+ "id": string;
2069
+ };
2070
+ queryParams?: {
2071
+ "email"?: boolean;
2072
+ };
2073
+ config?: Partial<FetcherConfig> & {
2074
+ client?: typeof client;
2075
+ };
2076
+ }): Promise<unknown>;
2077
+ /**
2078
+ * @summary Update an address
2079
+ * @link /address/{addressId}
2080
+ */
2081
+ declare function postAddressResource({ pathParams, body, config }?: {
2082
+ pathParams: {
2083
+ "addressId": number;
2084
+ };
2085
+ body: PostAddressResourceData;
2086
+ config?: Partial<FetcherConfig> & {
2087
+ client?: typeof client;
2088
+ };
2089
+ }): Promise<unknown>;
2090
+ /**
2091
+ * @summary Delete an address
2092
+ * @link /address/{addressId}
2093
+ */
2094
+ declare function deleteAddressResource({ pathParams, config }?: {
2095
+ pathParams: {
2096
+ "addressId": number;
2097
+ };
2098
+ config?: Partial<FetcherConfig> & {
2099
+ client?: typeof client;
2100
+ };
2101
+ }): Promise<unknown>;
2102
+ /**
2103
+ * @summary Get a list of address reservations
2104
+ * @link /address/{addressId}/reservation
2105
+ */
2106
+ declare function getAddressReservationsResource({ pathParams, config }?: {
2107
+ pathParams: {
2108
+ "addressId": number;
2109
+ };
2110
+ config?: Partial<FetcherConfig> & {
2111
+ client?: typeof client;
2112
+ };
2113
+ }): Promise<unknown>;
2114
+ /**
2115
+ * @summary Issues authorizations for an address reservation
2116
+ * @link /address/{addressId}/reservation/{id}/issue
2117
+ */
2118
+ declare function postAddressReservationIssueResource({ pathParams, config }?: {
2119
+ pathParams: {
2120
+ "addressId": number;
2121
+ "id": string;
2122
+ };
2123
+ config?: Partial<FetcherConfig> & {
2124
+ client?: typeof client;
2125
+ };
2126
+ }): Promise<unknown>;
2127
+ /**
2128
+ * @summary Revoke authorizations for an address reservation
2129
+ * @link /address/{addressId}/reservation/{id}/revoke
2130
+ */
2131
+ declare function postAddressReservationRevokeResource({ pathParams, config }?: {
2132
+ pathParams: {
2133
+ "addressId": number;
2134
+ "id": string;
2135
+ };
2136
+ config?: Partial<FetcherConfig> & {
2137
+ client?: typeof client;
2138
+ };
2139
+ }): Promise<unknown>;
2140
+ /**
2141
+ * @summary Update access times of a reservation
2142
+ * @link /address/{addressId}/reservation/{id}/update/accesstimes
2143
+ */
2144
+ declare function postReservationAccessTimesUpdateResource({ pathParams, body, config }?: {
2145
+ pathParams: {
2146
+ "addressId": number;
2147
+ "id": string;
2148
+ };
2149
+ body: PostReservationAccessTimesUpdateResourceData;
2150
+ config?: Partial<FetcherConfig> & {
2151
+ client?: typeof client;
2152
+ };
2153
+ }): Promise<unknown>;
2154
+ /**
2155
+ * @summary Get a list of address tokens
2156
+ * @link /address/{addressId}/token
2157
+ */
2158
+ declare function getAddressTokensResource({ pathParams, config }?: {
2159
+ pathParams: {
2160
+ "addressId": number;
2161
+ };
2162
+ config?: Partial<FetcherConfig> & {
2163
+ client?: typeof client;
2164
+ };
2165
+ }): Promise<unknown>;
2166
+ /**
2167
+ * @summary Get a list of address units
2168
+ * @link /address/{addressId}/unit
2169
+ */
2170
+ declare function getAddressUnitsResource({ pathParams, config }?: {
2171
+ pathParams: {
2172
+ "addressId": number;
2173
+ };
2174
+ config?: Partial<FetcherConfig> & {
2175
+ client?: typeof client;
2176
+ };
2177
+ }): Promise<unknown>;
2178
+ /**
2179
+ * @summary Create an address unit
2180
+ * @link /address/{addressId}/unit
2181
+ */
2182
+ declare function putAddressUnitsResource({ pathParams, body, config }?: {
2183
+ pathParams: {
2184
+ "addressId": number;
2185
+ };
2186
+ body: PutAddressUnitsResourceData;
2187
+ config?: Partial<FetcherConfig> & {
2188
+ client?: typeof client;
2189
+ };
2190
+ }): Promise<unknown>;
2191
+ /**
2192
+ * @summary Delete address units asynchronously
2193
+ * @link /address/{addressId}/unit
2194
+ */
2195
+ declare function deleteAddressUnitsResource({ pathParams, body, config }?: {
2196
+ pathParams: {
2197
+ "addressId": number;
2198
+ };
2199
+ body: DeleteAddressUnitsResourceData;
2200
+ config?: Partial<FetcherConfig> & {
2201
+ client?: typeof client;
2202
+ };
2203
+ }): Promise<unknown>;
2204
+ /**
2205
+ * @summary Delete an address unit
2206
+ * @link /address/{addressId}/unit/{id}
2207
+ */
2208
+ declare function deleteAddressUnitResource({ pathParams, config }?: {
2209
+ pathParams: {
2210
+ "addressId": number;
2211
+ "id": string;
2212
+ };
2213
+ config?: Partial<FetcherConfig> & {
2214
+ client?: typeof client;
2215
+ };
2216
+ }): Promise<unknown>;
2217
+ /**
2218
+ * @summary Get all registered decentral webhooks
2219
+ * @link /api/decentralWebhook
2220
+ */
2221
+ declare function getDecentralWebhooksResource({ config }?: {
2222
+ config?: Partial<FetcherConfig> & {
2223
+ client?: typeof client;
2224
+ };
2225
+ }): Promise<unknown>;
2226
+ /**
2227
+ * @summary Create decentral webhook
2228
+ * @link /api/decentralWebhook
2229
+ */
2230
+ declare function putDecentralWebhooksResource({ body, config }?: {
2231
+ body: PutDecentralWebhooksResourceData;
2232
+ config?: Partial<FetcherConfig> & {
2233
+ client?: typeof client;
2234
+ };
2235
+ }): Promise<unknown>;
2236
+ /**
2237
+ * @summary Unregister a decentral webhook
2238
+ * @link /api/decentralWebhook/{id}
2239
+ */
2240
+ declare function deleteDecentralWebhookResource({ pathParams, config }?: {
2241
+ pathParams: {
2242
+ "id": number;
2243
+ };
2244
+ config?: Partial<FetcherConfig> & {
2245
+ client?: typeof client;
2246
+ };
2247
+ }): Promise<unknown>;
2248
+ /**
2249
+ * @summary Get a list of API keys
2250
+ * @link /api/key
2251
+ */
2252
+ declare function getApiKeysResource({ config }?: {
2253
+ config?: Partial<FetcherConfig> & {
2254
+ client?: typeof client;
2255
+ };
2256
+ }): Promise<unknown>;
2257
+ /**
2258
+ * @summary Create an API key
2259
+ * @link /api/key
2260
+ */
2261
+ declare function putApiKeysResource({ body, config }?: {
2262
+ body: PutApiKeysResourceData;
2263
+ config?: Partial<FetcherConfig> & {
2264
+ client?: typeof client;
2265
+ };
2266
+ }): Promise<unknown>;
2267
+ /**
2268
+ * @summary Update an API key
2269
+ * @link /api/key/{apiKeyId}
2270
+ */
2271
+ declare function postApiKeyResource({ pathParams, body, config }?: {
2272
+ pathParams: {
2273
+ "apiKeyId": number;
2274
+ };
2275
+ body: PostApiKeyResourceData;
2276
+ config?: Partial<FetcherConfig> & {
2277
+ client?: typeof client;
2278
+ };
2279
+ }): Promise<unknown>;
2280
+ /**
2281
+ * @summary Delete an API key
2282
+ * @link /api/key/{apiKeyId}
2283
+ */
2284
+ declare function deleteApiKeyResource({ pathParams, config }?: {
2285
+ pathParams: {
2286
+ "apiKeyId": number;
2287
+ };
2288
+ config?: Partial<FetcherConfig> & {
2289
+ client?: typeof client;
2290
+ };
2291
+ }): Promise<unknown>;
2292
+ /**
2293
+ * @summary Get an advanced API key
2294
+ * @link /api/key/{apiKeyId}/advanced
2295
+ */
2296
+ declare function getApiKeyAdvancedResource({ pathParams, config }?: {
2297
+ pathParams: {
2298
+ "apiKeyId": number;
2299
+ };
2300
+ config?: Partial<FetcherConfig> & {
2301
+ client?: typeof client;
2302
+ };
2303
+ }): Promise<unknown>;
2304
+ /**
2305
+ * @summary Update an advanced API key
2306
+ * @link /api/key/{apiKeyId}/advanced
2307
+ */
2308
+ declare function postApiKeyAdvancedResource({ pathParams, body, config }?: {
2309
+ pathParams: {
2310
+ "apiKeyId": number;
2311
+ };
2312
+ body: PostApiKeyAdvancedResourceData;
2313
+ config?: Partial<FetcherConfig> & {
2314
+ client?: typeof client;
2315
+ };
2316
+ }): Promise<unknown>;
2317
+ /**
2318
+ * @summary Create an advanced API key
2319
+ * @link /api/key/{apiKeyId}/advanced
2320
+ */
2321
+ declare function putApiKeyAdvancedResource({ pathParams, body, config }?: {
2322
+ pathParams: {
2323
+ "apiKeyId": number;
2324
+ };
2325
+ body: PutApiKeyAdvancedResourceData;
2326
+ config?: Partial<FetcherConfig> & {
2327
+ client?: typeof client;
2328
+ };
2329
+ }): Promise<unknown>;
2330
+ /**
2331
+ * @summary Delete an advanced API key
2332
+ * @link /api/key/{apiKeyId}/advanced
2333
+ */
2334
+ declare function deleteApiKeyAdvancedResource({ pathParams, config }?: {
2335
+ pathParams: {
2336
+ "apiKeyId": number;
2337
+ };
2338
+ config?: Partial<FetcherConfig> & {
2339
+ client?: typeof client;
2340
+ };
2341
+ }): Promise<unknown>;
2342
+ /**
2343
+ * @summary Reactivate a deactivated advanced webhook integration
2344
+ * @link /api/key/{apiKeyId}/advanced/reactivate
2345
+ */
2346
+ declare function postApiKeyAdvancedReactivateResource({ pathParams, config }?: {
2347
+ pathParams: {
2348
+ "apiKeyId": number;
2349
+ };
2350
+ config?: Partial<FetcherConfig> & {
2351
+ client?: typeof client;
2352
+ };
2353
+ }): Promise<unknown>;
2354
+ /**
2355
+ * @summary Get a list of API key tokens
2356
+ * @link /api/key/{apiKeyId}/token
2357
+ */
2358
+ declare function getApiKeyTokensResource({ pathParams, config }?: {
2359
+ pathParams: {
2360
+ "apiKeyId": number;
2361
+ };
2362
+ config?: Partial<FetcherConfig> & {
2363
+ client?: typeof client;
2364
+ };
2365
+ }): Promise<unknown>;
2366
+ /**
2367
+ * @summary Create an API key token
2368
+ * @link /api/key/{apiKeyId}/token
2369
+ */
2370
+ declare function putApiKeyTokensResource({ pathParams, body, config }?: {
2371
+ pathParams: {
2372
+ "apiKeyId": number;
2373
+ };
2374
+ body: PutApiKeyTokensResourceData;
2375
+ config?: Partial<FetcherConfig> & {
2376
+ client?: typeof client;
2377
+ };
2378
+ }): Promise<unknown>;
2379
+ /**
2380
+ * @summary Update an API key token
2381
+ * @link /api/key/{apiKeyId}/token/{id}
2382
+ */
2383
+ declare function postApiKeyTokenResource({ pathParams, body, config }?: {
2384
+ pathParams: {
2385
+ "apiKeyId": number;
2386
+ "id": string;
2387
+ };
2388
+ body: PostApiKeyTokenResourceData;
2389
+ config?: Partial<FetcherConfig> & {
2390
+ client?: typeof client;
2391
+ };
2392
+ }): Promise<unknown>;
2393
+ /**
2394
+ * @summary Delete an API key token
2395
+ * @link /api/key/{apiKeyId}/token/{id}
2396
+ */
2397
+ declare function deleteApiKeyTokenResource({ pathParams, config }?: {
2398
+ pathParams: {
2399
+ "apiKeyId": number;
2400
+ "id": string;
2401
+ };
2402
+ config?: Partial<FetcherConfig> & {
2403
+ client?: typeof client;
2404
+ };
2405
+ }): Promise<unknown>;
2406
+ /**
2407
+ * @summary Get a list of webhook logs (descending)
2408
+ * @link /api/key/{apiKeyId}/webhook/logs
2409
+ */
2410
+ declare function getWebhookLogsResource({ pathParams, queryParams, config }?: {
2411
+ pathParams: {
2412
+ "apiKeyId": number;
2413
+ };
2414
+ queryParams?: {
2415
+ "id"?: string;
2416
+ "limit"?: number;
2417
+ };
2418
+ config?: Partial<FetcherConfig> & {
2419
+ client?: typeof client;
2420
+ };
2421
+ }): Promise<unknown>;
2422
+ /**
2423
+ * @summary Update the web config for a group of smartlocks
2424
+ * @link /bulk-web-config
2425
+ */
2426
+ declare function postSmartlockBulkWebConfigResource({ body, config }?: {
2427
+ body: PostSmartlockBulkWebConfigResourceData;
2428
+ config?: Partial<FetcherConfig> & {
2429
+ client?: typeof client;
2430
+ };
2431
+ }): Promise<unknown>;
2432
+ /**
2433
+ * @summary Get a list of companies
2434
+ * @link /company
2435
+ */
2436
+ declare function getCompaniesResource({ config }?: {
2437
+ config?: Partial<FetcherConfig> & {
2438
+ client?: typeof client;
2439
+ };
2440
+ }): Promise<unknown>;
2441
+ /**
2442
+ * @summary Get all notifications attached to your account
2443
+ * @link /notification
2444
+ */
2445
+ declare function getNotificationsResource({ queryParams, config }?: {
2446
+ queryParams?: {
2447
+ "referenceId"?: string;
2448
+ };
2449
+ config?: Partial<FetcherConfig> & {
2450
+ client?: typeof client;
2451
+ };
2452
+ }): Promise<unknown>;
2453
+ /**
2454
+ * @summary Create a notification configuration
2455
+ * @link /notification
2456
+ */
2457
+ declare function putNotificationsResource({ body, config }?: {
2458
+ body: PutNotificationsResourceData;
2459
+ config?: Partial<FetcherConfig> & {
2460
+ client?: typeof client;
2461
+ };
2462
+ }): Promise<unknown>;
2463
+ /**
2464
+ * @summary Get a notification configuration
2465
+ * @link /notification/{notificationId}
2466
+ */
2467
+ declare function getNotificationResource({ pathParams, config }?: {
2468
+ pathParams: {
2469
+ "notificationId": string;
2470
+ };
2471
+ config?: Partial<FetcherConfig> & {
2472
+ client?: typeof client;
2473
+ };
2474
+ }): Promise<unknown>;
2475
+ /**
2476
+ * @summary Update a notification configuration
2477
+ * @link /notification/{notificationId}
2478
+ */
2479
+ declare function postNotificationResource({ pathParams, body, config }?: {
2480
+ pathParams: {
2481
+ "notificationId": string;
2482
+ };
2483
+ body: PostNotificationResourceData;
2484
+ config?: Partial<FetcherConfig> & {
2485
+ client?: typeof client;
2486
+ };
2487
+ }): Promise<unknown>;
2488
+ /**
2489
+ * @summary Delete a notification configuration
2490
+ * @link /notification/{notificationId}
2491
+ */
2492
+ declare function deleteNotificationResource({ pathParams, config }?: {
2493
+ pathParams: {
2494
+ "notificationId": string;
2495
+ };
2496
+ config?: Partial<FetcherConfig> & {
2497
+ client?: typeof client;
2498
+ };
2499
+ }): Promise<unknown>;
2500
+ /**
2501
+ * @summary Get all intercom brands
2502
+ * @link /opener/brand
2503
+ */
2504
+ declare function getOpenerBrandsResource({ config }?: {
2505
+ config?: Partial<FetcherConfig> & {
2506
+ client?: typeof client;
2507
+ };
2508
+ }): Promise<unknown>;
2509
+ /**
2510
+ * @summary Get an intercom brand
2511
+ * @link /opener/brand/{brandId}
2512
+ */
2513
+ declare function getOpenerBrandResource({ pathParams, config }?: {
2514
+ pathParams: {
2515
+ "brandId": number;
2516
+ };
2517
+ config?: Partial<FetcherConfig> & {
2518
+ client?: typeof client;
2519
+ };
2520
+ }): Promise<unknown>;
2521
+ /**
2522
+ * @summary Get a list of intercom models
2523
+ * @link /opener/intercom
2524
+ */
2525
+ declare function getOpenerIntercomsResource({ queryParams, config }?: {
2526
+ queryParams?: {
2527
+ "brandId"?: number;
2528
+ "ignoreVerified"?: boolean;
2529
+ "recentlyChanged"?: boolean;
2530
+ };
2531
+ config?: Partial<FetcherConfig> & {
2532
+ client?: typeof client;
2533
+ };
2534
+ }): Promise<unknown>;
2535
+ /**
2536
+ * @summary Get an intercom model
2537
+ * @link /opener/intercom/{intercomId}
2538
+ */
2539
+ declare function getOpenerIntercomResource({ pathParams, config }?: {
2540
+ pathParams: {
2541
+ "intercomId": number;
2542
+ };
2543
+ config?: Partial<FetcherConfig> & {
2544
+ client?: typeof client;
2545
+ };
2546
+ }): Promise<unknown>;
2547
+ /**
2548
+ * @summary Get a list of services
2549
+ * @link /service
2550
+ */
2551
+ declare function getServicesResource({ queryParams, config }?: {
2552
+ queryParams?: {
2553
+ "serviceIds"?: string;
2554
+ };
2555
+ config?: Partial<FetcherConfig> & {
2556
+ client?: typeof client;
2557
+ };
2558
+ }): Promise<unknown>;
2559
+ /**
2560
+ * @summary Get a service
2561
+ * @link /service/{serviceId}
2562
+ */
2563
+ declare function getServiceResource({ pathParams, config }?: {
2564
+ pathParams: {
2565
+ "serviceId": string;
2566
+ };
2567
+ config?: Partial<FetcherConfig> & {
2568
+ client?: typeof client;
2569
+ };
2570
+ }): Promise<unknown>;
2571
+ /**
2572
+ * @summary Link a service
2573
+ * @link /service/{serviceId}/link
2574
+ */
2575
+ declare function postServiceLinkResource({ pathParams, config }?: {
2576
+ pathParams: {
2577
+ "serviceId": string;
2578
+ };
2579
+ config?: Partial<FetcherConfig> & {
2580
+ client?: typeof client;
2581
+ };
2582
+ }): Promise<unknown>;
2583
+ /**
2584
+ * @summary Sync a service
2585
+ * @link /service/{serviceId}/sync
2586
+ */
2587
+ declare function postServiceSyncResource({ pathParams, config }?: {
2588
+ pathParams: {
2589
+ "serviceId": string;
2590
+ };
2591
+ config?: Partial<FetcherConfig> & {
2592
+ client?: typeof client;
2593
+ };
2594
+ }): Promise<unknown>;
2595
+ /**
2596
+ * @summary Unlink a service
2597
+ * @link /service/{serviceId}/unlink
2598
+ */
2599
+ declare function postServiceUnlinkResource({ pathParams, config }?: {
2600
+ pathParams: {
2601
+ "serviceId": string;
2602
+ };
2603
+ config?: Partial<FetcherConfig> & {
2604
+ client?: typeof client;
2605
+ };
2606
+ }): Promise<unknown>;
2607
+ /**
2608
+ * @summary Get a list of smartlocks
2609
+ * @link /smartlock
2610
+ */
2611
+ declare function getSmartlocksResource({ queryParams, config }?: {
2612
+ queryParams?: {
2613
+ "authId"?: number;
2614
+ "type"?: number;
2615
+ };
2616
+ config?: Partial<FetcherConfig> & {
2617
+ client?: typeof client;
2618
+ };
2619
+ }): Promise<unknown>;
2620
+ /**
2621
+ * @summary Get a list of smartlock authorizations for your smartlocks
2622
+ * @link /smartlock/auth
2623
+ */
2624
+ declare function getSmartlocksAuthsResource({ queryParams, config }?: {
2625
+ queryParams?: {
2626
+ "accountUserId"?: number;
2627
+ "types"?: string;
2628
+ };
2629
+ config?: Partial<FetcherConfig> & {
2630
+ client?: typeof client;
2631
+ };
2632
+ }): Promise<unknown>;
2633
+ /**
2634
+ * @summary Update smartlock authorizations asynchronously
2635
+ * @link /smartlock/auth
2636
+ */
2637
+ declare function postSmartlocksAuthsResource({ body, config }?: {
2638
+ body: PostSmartlocksAuthsResourceData;
2639
+ config?: Partial<FetcherConfig> & {
2640
+ client?: typeof client;
2641
+ };
2642
+ }): Promise<unknown>;
2643
+ /**
2644
+ * @summary Create smartlock authorizations asynchronously
2645
+ * @link /smartlock/auth
2646
+ */
2647
+ declare function putSmartlocksAuthsResource({ body, config }?: {
2648
+ body: PutSmartlocksAuthsResourceData;
2649
+ config?: Partial<FetcherConfig> & {
2650
+ client?: typeof client;
2651
+ };
2652
+ }): Promise<unknown>;
2653
+ /**
2654
+ * @summary Delete smartlock authorizations asynchronously
2655
+ * @link /smartlock/auth
2656
+ */
2657
+ declare function deleteSmartlocksAuthsResource({ body, config }?: {
2658
+ body: DeleteSmartlocksAuthsResourceData;
2659
+ config?: Partial<FetcherConfig> & {
2660
+ client?: typeof client;
2661
+ };
2662
+ }): Promise<unknown>;
2663
+ /**
2664
+ * @summary Create smartlock authorizations asynchronously
2665
+ * @link /smartlock/auth/advanced
2666
+ */
2667
+ declare function putSmartlockAuthsAdvancedResource({ body, config }?: {
2668
+ body: PutSmartlockAuthsAdvancedResourceData;
2669
+ config?: Partial<FetcherConfig> & {
2670
+ client?: typeof client;
2671
+ };
2672
+ }): Promise<unknown>;
2673
+ /**
2674
+ * @summary Get a paginated list of smartlock authorizations for your smartlocks
2675
+ * @link /smartlock/auth/paged
2676
+ */
2677
+ declare function getSmartlocksAuthsPaginatedResource({ queryParams, config }?: {
2678
+ queryParams?: {
2679
+ "page"?: number;
2680
+ "size"?: number;
2681
+ "accountUserId"?: number;
2682
+ "types"?: string;
2683
+ };
2684
+ config?: Partial<FetcherConfig> & {
2685
+ client?: typeof client;
2686
+ };
2687
+ }): Promise<unknown>;
2688
+ /**
2689
+ * @summary Get a list of smartlock logs for all of your smartlocks
2690
+ * @link /smartlock/log
2691
+ */
2692
+ declare function getSmartlocksLogsResource({ queryParams, config }?: {
2693
+ queryParams?: {
2694
+ "accountUserId"?: number;
2695
+ "fromDate"?: string;
2696
+ "toDate"?: string;
2697
+ "action"?: number;
2698
+ "id"?: string;
2699
+ "limit"?: number;
2700
+ };
2701
+ config?: Partial<FetcherConfig> & {
2702
+ client?: typeof client;
2703
+ };
2704
+ }): Promise<unknown>;
2705
+ /**
2706
+ * @summary Get a smartlock
2707
+ * @link /smartlock/{smartlockId}
2708
+ */
2709
+ declare function getSmartlockResource({ pathParams, config }?: {
2710
+ pathParams: {
2711
+ "smartlockId": number;
2712
+ };
2713
+ config?: Partial<FetcherConfig> & {
2714
+ client?: typeof client;
2715
+ };
2716
+ }): Promise<unknown>;
2717
+ /**
2718
+ * @summary Update a smartlock
2719
+ * @link /smartlock/{smartlockId}
2720
+ */
2721
+ declare function postSmartlockResource({ pathParams, body, config }?: {
2722
+ pathParams: {
2723
+ "smartlockId": number;
2724
+ };
2725
+ body: PostSmartlockResourceData;
2726
+ config?: Partial<FetcherConfig> & {
2727
+ client?: typeof client;
2728
+ };
2729
+ }): Promise<unknown>;
2730
+ /**
2731
+ * @summary Delete a smartlock
2732
+ * @link /smartlock/{smartlockId}
2733
+ */
2734
+ declare function deleteSmartlockResource({ pathParams, config }?: {
2735
+ pathParams: {
2736
+ "smartlockId": number;
2737
+ };
2738
+ config?: Partial<FetcherConfig> & {
2739
+ client?: typeof client;
2740
+ };
2741
+ }): Promise<unknown>;
2742
+ /**
2743
+ * @summary Lock & unlock a smartlock with options
2744
+ * @link /smartlock/{smartlockId}/action
2745
+ */
2746
+ declare function postSmartlockActionResource({ pathParams, body, config }?: {
2747
+ pathParams: {
2748
+ "smartlockId": string;
2749
+ };
2750
+ body?: PostSmartlockActionResourceData;
2751
+ config?: Partial<FetcherConfig> & {
2752
+ client?: typeof client;
2753
+ };
2754
+ }): Promise<unknown>;
2755
+ /**
2756
+ * @summary Lock & unlock a smartlock with callback
2757
+ * @link /smartlock/{smartlockId}/action/advanced
2758
+ */
2759
+ declare function postSmartlockActionAdvancedResource({ pathParams, body, config }?: {
2760
+ pathParams: {
2761
+ "smartlockId": string;
2762
+ };
2763
+ body?: PostSmartlockActionAdvancedResourceData;
2764
+ config?: Partial<FetcherConfig> & {
2765
+ client?: typeof client;
2766
+ };
2767
+ }): Promise<unknown>;
2768
+ /**
2769
+ * @summary Lock a smartlock
2770
+ * @link /smartlock/{smartlockId}/action/lock
2771
+ */
2772
+ declare function postSmartlockLockActionResource({ pathParams, config }?: {
2773
+ pathParams: {
2774
+ "smartlockId": string;
2775
+ };
2776
+ config?: Partial<FetcherConfig> & {
2777
+ client?: typeof client;
2778
+ };
2779
+ }): Promise<unknown>;
2780
+ /**
2781
+ * @summary Lock a smartlock
2782
+ * @link /smartlock/{smartlockId}/action/lock/advanced
2783
+ */
2784
+ declare function postSmartlockLockActionAdvancedResource({ pathParams, config }?: {
2785
+ pathParams: {
2786
+ "smartlockId": string;
2787
+ };
2788
+ config?: Partial<FetcherConfig> & {
2789
+ client?: typeof client;
2790
+ };
2791
+ }): Promise<unknown>;
2792
+ /**
2793
+ * @summary Unlock a smartlock
2794
+ * @link /smartlock/{smartlockId}/action/unlock
2795
+ */
2796
+ declare function postSmartlockUnlockActionResource({ pathParams, config }?: {
2797
+ pathParams: {
2798
+ "smartlockId": string;
2799
+ };
2800
+ config?: Partial<FetcherConfig> & {
2801
+ client?: typeof client;
2802
+ };
2803
+ }): Promise<unknown>;
2804
+ /**
2805
+ * @summary Unlock a smartlock
2806
+ * @link /smartlock/{smartlockId}/action/unlock/advanced
2807
+ */
2808
+ declare function postSmartlockUnlockActionAdvancedResource({ pathParams, config }?: {
2809
+ pathParams: {
2810
+ "smartlockId": string;
2811
+ };
2812
+ config?: Partial<FetcherConfig> & {
2813
+ client?: typeof client;
2814
+ };
2815
+ }): Promise<unknown>;
2816
+ /**
2817
+ * @summary Update a smartlock admin PIN
2818
+ * @link /smartlock/{smartlockId}/admin/pin
2819
+ */
2820
+ declare function postSmartlockAdminPinResource({ pathParams, body, config }?: {
2821
+ pathParams: {
2822
+ "smartlockId": number;
2823
+ };
2824
+ body: PostSmartlockAdminPinResourceData;
2825
+ config?: Partial<FetcherConfig> & {
2826
+ client?: typeof client;
2827
+ };
2828
+ }): Promise<unknown>;
2829
+ /**
2830
+ * @summary Update a smartlock advanced config
2831
+ * @link /smartlock/{smartlockId}/advanced/config
2832
+ */
2833
+ declare function postSmartlockAdvancedConfigResource({ pathParams, body, config }?: {
2834
+ pathParams: {
2835
+ "smartlockId": number;
2836
+ };
2837
+ body: PostSmartlockAdvancedConfigResourceData;
2838
+ config?: Partial<FetcherConfig> & {
2839
+ client?: typeof client;
2840
+ };
2841
+ }): Promise<unknown>;
2842
+ /**
2843
+ * @summary Update an opener advanced config
2844
+ * @link /smartlock/{smartlockId}/advanced/openerconfig
2845
+ */
2846
+ declare function postSmartlockOpenerAdvancedConfigResource({ pathParams, body, config }?: {
2847
+ pathParams: {
2848
+ "smartlockId": number;
2849
+ };
2850
+ body: PostSmartlockOpenerAdvancedConfigResourceData;
2851
+ config?: Partial<FetcherConfig> & {
2852
+ client?: typeof client;
2853
+ };
2854
+ }): Promise<unknown>;
2855
+ /**
2856
+ * @summary Update a smartdoor advanced config
2857
+ * @link /smartlock/{smartlockId}/advanced/smartdoorconfig
2858
+ */
2859
+ declare function postSmartdoorAdvancedConfigResource({ pathParams, body, config }?: {
2860
+ pathParams: {
2861
+ "smartlockId": number;
2862
+ };
2863
+ body: PostSmartdoorAdvancedConfigResourceData;
2864
+ config?: Partial<FetcherConfig> & {
2865
+ client?: typeof client;
2866
+ };
2867
+ }): Promise<unknown>;
2868
+ /**
2869
+ * @summary Get a list of smartlock authorizations
2870
+ * @link /smartlock/{smartlockId}/auth
2871
+ */
2872
+ declare function getSmartlockAuthsResource({ pathParams, queryParams, config }?: {
2873
+ pathParams: {
2874
+ "smartlockId": number;
2875
+ };
2876
+ queryParams?: {
2877
+ "types"?: string;
2878
+ "includeEmail"?: boolean;
2879
+ };
2880
+ config?: Partial<FetcherConfig> & {
2881
+ client?: typeof client;
2882
+ };
2883
+ }): Promise<unknown>;
2884
+ /**
2885
+ * @summary Create a smartlock authorization asynchronously
2886
+ * @link /smartlock/{smartlockId}/auth
2887
+ */
2888
+ declare function putSmartlockAuthsResource({ pathParams, body, config }?: {
2889
+ pathParams: {
2890
+ "smartlockId": number;
2891
+ };
2892
+ body: PutSmartlockAuthsResourceData;
2893
+ config?: Partial<FetcherConfig> & {
2894
+ client?: typeof client;
2895
+ };
2896
+ }): Promise<unknown>;
2897
+ /**
2898
+ * @summary Generate a new smartlock auth with a shared key
2899
+ * @link /smartlock/{smartlockId}/auth/advanced/sharedkey
2900
+ */
2901
+ declare function postSmartlockAuthWithSharedKeyResource({ pathParams, body, config }?: {
2902
+ pathParams: {
2903
+ "smartlockId": number;
2904
+ };
2905
+ body: PostSmartlockAuthWithSharedKeyResourceData;
2906
+ config?: Partial<FetcherConfig> & {
2907
+ client?: typeof client;
2908
+ };
2909
+ }): Promise<unknown>;
2910
+ /**
2911
+ * @summary Get a smartlock authorization
2912
+ * @link /smartlock/{smartlockId}/auth/{id}
2913
+ */
2914
+ declare function getSmartlockAuthResource({ pathParams, config }?: {
2915
+ pathParams: {
2916
+ "smartlockId": number;
2917
+ "id": string;
2918
+ };
2919
+ config?: Partial<FetcherConfig> & {
2920
+ client?: typeof client;
2921
+ };
2922
+ }): Promise<unknown>;
2923
+ /**
2924
+ * @summary Update a smartlock authorization asynchronously
2925
+ * @link /smartlock/{smartlockId}/auth/{id}
2926
+ */
2927
+ declare function postSmartlockAuthResource({ pathParams, body, config }?: {
2928
+ pathParams: {
2929
+ "smartlockId": number;
2930
+ "id": string;
2931
+ };
2932
+ body: PostSmartlockAuthResourceData;
2933
+ config?: Partial<FetcherConfig> & {
2934
+ client?: typeof client;
2935
+ };
2936
+ }): Promise<unknown>;
2937
+ /**
2938
+ * @summary Delete a smartlock authorization asynchronously
2939
+ * @link /smartlock/{smartlockId}/auth/{id}
2940
+ */
2941
+ declare function deleteSmartlockAuthResource({ pathParams, config }?: {
2942
+ pathParams: {
2943
+ "smartlockId": number;
2944
+ "id": string;
2945
+ };
2946
+ config?: Partial<FetcherConfig> & {
2947
+ client?: typeof client;
2948
+ };
2949
+ }): Promise<unknown>;
2950
+ /**
2951
+ * @summary Update a smartlock config
2952
+ * @link /smartlock/{smartlockId}/config
2953
+ */
2954
+ declare function postSmartlockConfigResource({ pathParams, body, config }?: {
2955
+ pathParams: {
2956
+ "smartlockId": number;
2957
+ };
2958
+ body: PostSmartlockConfigResourceData;
2959
+ config?: Partial<FetcherConfig> & {
2960
+ client?: typeof client;
2961
+ };
2962
+ }): Promise<unknown>;
2963
+ /**
2964
+ * @summary Get a list of smartlock logs
2965
+ * @link /smartlock/{smartlockId}/log
2966
+ */
2967
+ declare function getSmartlockLogsResource({ pathParams, queryParams, config }?: {
2968
+ pathParams: {
2969
+ "smartlockId": number;
2970
+ };
2971
+ queryParams?: {
2972
+ "authId"?: string;
2973
+ "accountUserId"?: number;
2974
+ "fromDate"?: string;
2975
+ "toDate"?: string;
2976
+ "action"?: number;
2977
+ "id"?: string;
2978
+ "limit"?: number;
2979
+ };
2980
+ config?: Partial<FetcherConfig> & {
2981
+ client?: typeof client;
2982
+ };
2983
+ }): Promise<unknown>;
2984
+ /**
2985
+ * @summary Sync a smartlock
2986
+ * @link /smartlock/{smartlockId}/sync
2987
+ */
2988
+ declare function postSmartlockSyncResource({ pathParams, config }?: {
2989
+ pathParams: {
2990
+ "smartlockId": string;
2991
+ };
2992
+ config?: Partial<FetcherConfig> & {
2993
+ client?: typeof client;
2994
+ };
2995
+ }): Promise<unknown>;
2996
+ /**
2997
+ * @summary Update a smartlock web config
2998
+ * @link /smartlock/{smartlockId}/web/config
2999
+ */
3000
+ declare function postSmartlockWebConfigResource({ pathParams, body, config }?: {
3001
+ pathParams: {
3002
+ "smartlockId": number;
3003
+ };
3004
+ body: PostSmartlockWebConfigResourceData;
3005
+ config?: Partial<FetcherConfig> & {
3006
+ client?: typeof client;
3007
+ };
3008
+ }): Promise<unknown>;
3009
+ declare const operationsByPath: {
3010
+ "GET /account": typeof getAccountsResource;
3011
+ "POST /account": typeof postAccountsResource;
3012
+ "DELETE /account": typeof deleteAccountsResource;
3013
+ "POST /account/email/change": typeof postAccountEmailChangeResource;
3014
+ "POST /account/email/verify": typeof postAccountEmailVerifyResource;
3015
+ "GET /account/integration": typeof getAccountIntegrationsResource;
3016
+ "DELETE /account/integration": typeof deleteAccountIntegrationsResource;
3017
+ "POST /account/otp": typeof postAccountOtpResource;
3018
+ "PUT /account/otp": typeof putAccountOtpResource;
3019
+ "DELETE /account/otp": typeof deleteAccountOtpResource;
3020
+ "POST /account/password/reset": typeof postAccountPasswordResetResource;
3021
+ "GET /account/setting": typeof getAccountSettingResource;
3022
+ "PUT /account/setting": typeof putAccountSettingResource;
3023
+ "DELETE /account/setting": typeof deleteAccountSettingResource;
3024
+ "GET /account/sub": typeof getAccountSubsResource;
3025
+ "PUT /account/sub": typeof putAccountSubsResource;
3026
+ "GET /account/sub/{accountId}": typeof getAccountSubResource;
3027
+ "POST /account/sub/{accountId}": typeof postAccountSubResource;
3028
+ "DELETE /account/sub/{accountId}": typeof deleteAccountSubResource;
3029
+ "GET /account/user": typeof getAccountUsersResource;
3030
+ "PUT /account/user": typeof putAccountUsersResource;
3031
+ "GET /account/user/{accountUserId}": typeof getAccountUserResource;
3032
+ "POST /account/user/{accountUserId}": typeof postAccountUserResource;
3033
+ "DELETE /account/user/{accountUserId}": typeof deleteAccountUserResource;
3034
+ "GET /address": typeof getAddressesResource;
3035
+ "PUT /address": typeof putAddressesResource;
3036
+ "GET /address/token/{id}": typeof getAddressTokenResource;
3037
+ "GET /address/token/{id}/redeem": typeof getAddressTokenRedeemResource;
3038
+ "POST /address/token/{id}/redeem": typeof postAddressTokenRedeemResource;
3039
+ "POST /address/{addressId}": typeof postAddressResource;
3040
+ "DELETE /address/{addressId}": typeof deleteAddressResource;
3041
+ "GET /address/{addressId}/reservation": typeof getAddressReservationsResource;
3042
+ "POST /address/{addressId}/reservation/{id}/issue": typeof postAddressReservationIssueResource;
3043
+ "POST /address/{addressId}/reservation/{id}/revoke": typeof postAddressReservationRevokeResource;
3044
+ "POST /address/{addressId}/reservation/{id}/update/accesstimes": typeof postReservationAccessTimesUpdateResource;
3045
+ "GET /address/{addressId}/token": typeof getAddressTokensResource;
3046
+ "GET /address/{addressId}/unit": typeof getAddressUnitsResource;
3047
+ "PUT /address/{addressId}/unit": typeof putAddressUnitsResource;
3048
+ "DELETE /address/{addressId}/unit": typeof deleteAddressUnitsResource;
3049
+ "DELETE /address/{addressId}/unit/{id}": typeof deleteAddressUnitResource;
3050
+ "GET /api/decentralWebhook": typeof getDecentralWebhooksResource;
3051
+ "PUT /api/decentralWebhook": typeof putDecentralWebhooksResource;
3052
+ "DELETE /api/decentralWebhook/{id}": typeof deleteDecentralWebhookResource;
3053
+ "GET /api/key": typeof getApiKeysResource;
3054
+ "PUT /api/key": typeof putApiKeysResource;
3055
+ "POST /api/key/{apiKeyId}": typeof postApiKeyResource;
3056
+ "DELETE /api/key/{apiKeyId}": typeof deleteApiKeyResource;
3057
+ "GET /api/key/{apiKeyId}/advanced": typeof getApiKeyAdvancedResource;
3058
+ "POST /api/key/{apiKeyId}/advanced": typeof postApiKeyAdvancedResource;
3059
+ "PUT /api/key/{apiKeyId}/advanced": typeof putApiKeyAdvancedResource;
3060
+ "DELETE /api/key/{apiKeyId}/advanced": typeof deleteApiKeyAdvancedResource;
3061
+ "POST /api/key/{apiKeyId}/advanced/reactivate": typeof postApiKeyAdvancedReactivateResource;
3062
+ "GET /api/key/{apiKeyId}/token": typeof getApiKeyTokensResource;
3063
+ "PUT /api/key/{apiKeyId}/token": typeof putApiKeyTokensResource;
3064
+ "POST /api/key/{apiKeyId}/token/{id}": typeof postApiKeyTokenResource;
3065
+ "DELETE /api/key/{apiKeyId}/token/{id}": typeof deleteApiKeyTokenResource;
3066
+ "GET /api/key/{apiKeyId}/webhook/logs": typeof getWebhookLogsResource;
3067
+ "POST /bulk-web-config": typeof postSmartlockBulkWebConfigResource;
3068
+ "GET /company": typeof getCompaniesResource;
3069
+ "GET /notification": typeof getNotificationsResource;
3070
+ "PUT /notification": typeof putNotificationsResource;
3071
+ "GET /notification/{notificationId}": typeof getNotificationResource;
3072
+ "POST /notification/{notificationId}": typeof postNotificationResource;
3073
+ "DELETE /notification/{notificationId}": typeof deleteNotificationResource;
3074
+ "GET /opener/brand": typeof getOpenerBrandsResource;
3075
+ "GET /opener/brand/{brandId}": typeof getOpenerBrandResource;
3076
+ "GET /opener/intercom": typeof getOpenerIntercomsResource;
3077
+ "GET /opener/intercom/{intercomId}": typeof getOpenerIntercomResource;
3078
+ "GET /service": typeof getServicesResource;
3079
+ "GET /service/{serviceId}": typeof getServiceResource;
3080
+ "POST /service/{serviceId}/link": typeof postServiceLinkResource;
3081
+ "POST /service/{serviceId}/sync": typeof postServiceSyncResource;
3082
+ "POST /service/{serviceId}/unlink": typeof postServiceUnlinkResource;
3083
+ "GET /smartlock": typeof getSmartlocksResource;
3084
+ "GET /smartlock/auth": typeof getSmartlocksAuthsResource;
3085
+ "POST /smartlock/auth": typeof postSmartlocksAuthsResource;
3086
+ "PUT /smartlock/auth": typeof putSmartlocksAuthsResource;
3087
+ "DELETE /smartlock/auth": typeof deleteSmartlocksAuthsResource;
3088
+ "PUT /smartlock/auth/advanced": typeof putSmartlockAuthsAdvancedResource;
3089
+ "GET /smartlock/auth/paged": typeof getSmartlocksAuthsPaginatedResource;
3090
+ "GET /smartlock/log": typeof getSmartlocksLogsResource;
3091
+ "GET /smartlock/{smartlockId}": typeof getSmartlockResource;
3092
+ "POST /smartlock/{smartlockId}": typeof postSmartlockResource;
3093
+ "DELETE /smartlock/{smartlockId}": typeof deleteSmartlockResource;
3094
+ "POST /smartlock/{smartlockId}/action": typeof postSmartlockActionResource;
3095
+ "POST /smartlock/{smartlockId}/action/advanced": typeof postSmartlockActionAdvancedResource;
3096
+ "POST /smartlock/{smartlockId}/action/lock": typeof postSmartlockLockActionResource;
3097
+ "POST /smartlock/{smartlockId}/action/lock/advanced": typeof postSmartlockLockActionAdvancedResource;
3098
+ "POST /smartlock/{smartlockId}/action/unlock": typeof postSmartlockUnlockActionResource;
3099
+ "POST /smartlock/{smartlockId}/action/unlock/advanced": typeof postSmartlockUnlockActionAdvancedResource;
3100
+ "POST /smartlock/{smartlockId}/admin/pin": typeof postSmartlockAdminPinResource;
3101
+ "POST /smartlock/{smartlockId}/advanced/config": typeof postSmartlockAdvancedConfigResource;
3102
+ "POST /smartlock/{smartlockId}/advanced/openerconfig": typeof postSmartlockOpenerAdvancedConfigResource;
3103
+ "POST /smartlock/{smartlockId}/advanced/smartdoorconfig": typeof postSmartdoorAdvancedConfigResource;
3104
+ "GET /smartlock/{smartlockId}/auth": typeof getSmartlockAuthsResource;
3105
+ "PUT /smartlock/{smartlockId}/auth": typeof putSmartlockAuthsResource;
3106
+ "POST /smartlock/{smartlockId}/auth/advanced/sharedkey": typeof postSmartlockAuthWithSharedKeyResource;
3107
+ "GET /smartlock/{smartlockId}/auth/{id}": typeof getSmartlockAuthResource;
3108
+ "POST /smartlock/{smartlockId}/auth/{id}": typeof postSmartlockAuthResource;
3109
+ "DELETE /smartlock/{smartlockId}/auth/{id}": typeof deleteSmartlockAuthResource;
3110
+ "POST /smartlock/{smartlockId}/config": typeof postSmartlockConfigResource;
3111
+ "GET /smartlock/{smartlockId}/log": typeof getSmartlockLogsResource;
3112
+ "POST /smartlock/{smartlockId}/sync": typeof postSmartlockSyncResource;
3113
+ "POST /smartlock/{smartlockId}/web/config": typeof postSmartlockWebConfigResource;
3114
+ };
3115
+ declare const operationsByTag: {
3116
+ account: {
3117
+ getAccountsResource: typeof getAccountsResource;
3118
+ postAccountsResource: typeof postAccountsResource;
3119
+ deleteAccountsResource: typeof deleteAccountsResource;
3120
+ postAccountEmailChangeResource: typeof postAccountEmailChangeResource;
3121
+ postAccountEmailVerifyResource: typeof postAccountEmailVerifyResource;
3122
+ getAccountIntegrationsResource: typeof getAccountIntegrationsResource;
3123
+ deleteAccountIntegrationsResource: typeof deleteAccountIntegrationsResource;
3124
+ postAccountOtpResource: typeof postAccountOtpResource;
3125
+ putAccountOtpResource: typeof putAccountOtpResource;
3126
+ deleteAccountOtpResource: typeof deleteAccountOtpResource;
3127
+ postAccountPasswordResetResource: typeof postAccountPasswordResetResource;
3128
+ getAccountSettingResource: typeof getAccountSettingResource;
3129
+ putAccountSettingResource: typeof putAccountSettingResource;
3130
+ deleteAccountSettingResource: typeof deleteAccountSettingResource;
3131
+ getAccountSubsResource: typeof getAccountSubsResource;
3132
+ putAccountSubsResource: typeof putAccountSubsResource;
3133
+ getAccountSubResource: typeof getAccountSubResource;
3134
+ postAccountSubResource: typeof postAccountSubResource;
3135
+ deleteAccountSubResource: typeof deleteAccountSubResource;
3136
+ };
3137
+ accountuser: {
3138
+ getAccountUsersResource: typeof getAccountUsersResource;
3139
+ putAccountUsersResource: typeof putAccountUsersResource;
3140
+ getAccountUserResource: typeof getAccountUserResource;
3141
+ postAccountUserResource: typeof postAccountUserResource;
3142
+ deleteAccountUserResource: typeof deleteAccountUserResource;
3143
+ };
3144
+ address: {
3145
+ getAddressesResource: typeof getAddressesResource;
3146
+ putAddressesResource: typeof putAddressesResource;
3147
+ postAddressResource: typeof postAddressResource;
3148
+ deleteAddressResource: typeof deleteAddressResource;
3149
+ getAddressUnitsResource: typeof getAddressUnitsResource;
3150
+ putAddressUnitsResource: typeof putAddressUnitsResource;
3151
+ deleteAddressUnitsResource: typeof deleteAddressUnitsResource;
3152
+ deleteAddressUnitResource: typeof deleteAddressUnitResource;
3153
+ };
3154
+ addresstoken: {
3155
+ getAddressTokenResource: typeof getAddressTokenResource;
3156
+ getAddressTokenRedeemResource: typeof getAddressTokenRedeemResource;
3157
+ postAddressTokenRedeemResource: typeof postAddressTokenRedeemResource;
3158
+ getAddressTokensResource: typeof getAddressTokensResource;
3159
+ };
3160
+ addressreservation: {
3161
+ getAddressReservationsResource: typeof getAddressReservationsResource;
3162
+ postAddressReservationIssueResource: typeof postAddressReservationIssueResource;
3163
+ postAddressReservationRevokeResource: typeof postAddressReservationRevokeResource;
3164
+ postReservationAccessTimesUpdateResource: typeof postReservationAccessTimesUpdateResource;
3165
+ };
3166
+ advancedapi: {
3167
+ getDecentralWebhooksResource: typeof getDecentralWebhooksResource;
3168
+ putDecentralWebhooksResource: typeof putDecentralWebhooksResource;
3169
+ deleteDecentralWebhookResource: typeof deleteDecentralWebhookResource;
3170
+ getWebhookLogsResource: typeof getWebhookLogsResource;
3171
+ putSmartlockAuthsAdvancedResource: typeof putSmartlockAuthsAdvancedResource;
3172
+ postSmartlockActionAdvancedResource: typeof postSmartlockActionAdvancedResource;
3173
+ postSmartlockLockActionAdvancedResource: typeof postSmartlockLockActionAdvancedResource;
3174
+ postSmartlockUnlockActionAdvancedResource: typeof postSmartlockUnlockActionAdvancedResource;
3175
+ };
3176
+ apikey: {
3177
+ getApiKeysResource: typeof getApiKeysResource;
3178
+ putApiKeysResource: typeof putApiKeysResource;
3179
+ postApiKeyResource: typeof postApiKeyResource;
3180
+ deleteApiKeyResource: typeof deleteApiKeyResource;
3181
+ getApiKeyAdvancedResource: typeof getApiKeyAdvancedResource;
3182
+ postApiKeyAdvancedResource: typeof postApiKeyAdvancedResource;
3183
+ putApiKeyAdvancedResource: typeof putApiKeyAdvancedResource;
3184
+ deleteApiKeyAdvancedResource: typeof deleteApiKeyAdvancedResource;
3185
+ postApiKeyAdvancedReactivateResource: typeof postApiKeyAdvancedReactivateResource;
3186
+ getApiKeyTokensResource: typeof getApiKeyTokensResource;
3187
+ putApiKeyTokensResource: typeof putApiKeyTokensResource;
3188
+ postApiKeyTokenResource: typeof postApiKeyTokenResource;
3189
+ deleteApiKeyTokenResource: typeof deleteApiKeyTokenResource;
3190
+ };
3191
+ smartlock: {
3192
+ postSmartlockBulkWebConfigResource: typeof postSmartlockBulkWebConfigResource;
3193
+ getSmartlocksResource: typeof getSmartlocksResource;
3194
+ getSmartlockResource: typeof getSmartlockResource;
3195
+ postSmartlockResource: typeof postSmartlockResource;
3196
+ deleteSmartlockResource: typeof deleteSmartlockResource;
3197
+ postSmartlockActionResource: typeof postSmartlockActionResource;
3198
+ postSmartlockLockActionResource: typeof postSmartlockLockActionResource;
3199
+ postSmartlockUnlockActionResource: typeof postSmartlockUnlockActionResource;
3200
+ postSmartlockAdminPinResource: typeof postSmartlockAdminPinResource;
3201
+ postSmartlockAdvancedConfigResource: typeof postSmartlockAdvancedConfigResource;
3202
+ postSmartlockOpenerAdvancedConfigResource: typeof postSmartlockOpenerAdvancedConfigResource;
3203
+ postSmartdoorAdvancedConfigResource: typeof postSmartdoorAdvancedConfigResource;
3204
+ postSmartlockConfigResource: typeof postSmartlockConfigResource;
3205
+ postSmartlockSyncResource: typeof postSmartlockSyncResource;
3206
+ postSmartlockWebConfigResource: typeof postSmartlockWebConfigResource;
3207
+ };
3208
+ company: {
3209
+ getCompaniesResource: typeof getCompaniesResource;
3210
+ };
3211
+ notification: {
3212
+ getNotificationsResource: typeof getNotificationsResource;
3213
+ putNotificationsResource: typeof putNotificationsResource;
3214
+ getNotificationResource: typeof getNotificationResource;
3215
+ postNotificationResource: typeof postNotificationResource;
3216
+ deleteNotificationResource: typeof deleteNotificationResource;
3217
+ };
3218
+ opener: {
3219
+ getOpenerBrandsResource: typeof getOpenerBrandsResource;
3220
+ getOpenerBrandResource: typeof getOpenerBrandResource;
3221
+ getOpenerIntercomsResource: typeof getOpenerIntercomsResource;
3222
+ getOpenerIntercomResource: typeof getOpenerIntercomResource;
3223
+ };
3224
+ service: {
3225
+ getServicesResource: typeof getServicesResource;
3226
+ getServiceResource: typeof getServiceResource;
3227
+ postServiceLinkResource: typeof postServiceLinkResource;
3228
+ postServiceSyncResource: typeof postServiceSyncResource;
3229
+ postServiceUnlinkResource: typeof postServiceUnlinkResource;
3230
+ };
3231
+ smartlockauth: {
3232
+ getSmartlocksAuthsResource: typeof getSmartlocksAuthsResource;
3233
+ postSmartlocksAuthsResource: typeof postSmartlocksAuthsResource;
3234
+ putSmartlocksAuthsResource: typeof putSmartlocksAuthsResource;
3235
+ deleteSmartlocksAuthsResource: typeof deleteSmartlocksAuthsResource;
3236
+ getSmartlocksAuthsPaginatedResource: typeof getSmartlocksAuthsPaginatedResource;
3237
+ getSmartlockAuthsResource: typeof getSmartlockAuthsResource;
3238
+ putSmartlockAuthsResource: typeof putSmartlockAuthsResource;
3239
+ postSmartlockAuthWithSharedKeyResource: typeof postSmartlockAuthWithSharedKeyResource;
3240
+ getSmartlockAuthResource: typeof getSmartlockAuthResource;
3241
+ postSmartlockAuthResource: typeof postSmartlockAuthResource;
3242
+ deleteSmartlockAuthResource: typeof deleteSmartlockAuthResource;
3243
+ };
3244
+ smartlocklog: {
3245
+ getSmartlocksLogsResource: typeof getSmartlocksLogsResource;
3246
+ getSmartlockLogsResource: typeof getSmartlockLogsResource;
3247
+ };
3248
+ };
3249
+ declare const tagDictionary: {
3250
+ readonly account: {
3251
+ readonly GET: readonly ["getAccountsResource", "getAccountIntegrationsResource", "getAccountSettingResource", "getAccountSubsResource", "getAccountSubResource"];
3252
+ readonly POST: readonly ["postAccountsResource", "postAccountEmailChangeResource", "postAccountEmailVerifyResource", "postAccountOtpResource", "postAccountPasswordResetResource", "postAccountSubResource"];
3253
+ readonly DELETE: readonly ["deleteAccountsResource", "deleteAccountIntegrationsResource", "deleteAccountOtpResource", "deleteAccountSettingResource", "deleteAccountSubResource"];
3254
+ readonly PUT: readonly ["putAccountOtpResource", "putAccountSettingResource", "putAccountSubsResource"];
3255
+ };
3256
+ readonly accountuser: {
3257
+ readonly GET: readonly ["getAccountUsersResource", "getAccountUserResource"];
3258
+ readonly PUT: readonly ["putAccountUsersResource"];
3259
+ readonly POST: readonly ["postAccountUserResource"];
3260
+ readonly DELETE: readonly ["deleteAccountUserResource"];
3261
+ };
3262
+ readonly address: {
3263
+ readonly GET: readonly ["getAddressesResource", "getAddressUnitsResource"];
3264
+ readonly PUT: readonly ["putAddressesResource", "putAddressUnitsResource"];
3265
+ readonly POST: readonly ["postAddressResource"];
3266
+ readonly DELETE: readonly ["deleteAddressResource", "deleteAddressUnitsResource", "deleteAddressUnitResource"];
3267
+ };
3268
+ readonly addresstoken: {
3269
+ readonly GET: readonly ["getAddressTokenResource", "getAddressTokenRedeemResource", "getAddressTokensResource"];
3270
+ readonly POST: readonly ["postAddressTokenRedeemResource"];
3271
+ };
3272
+ readonly addressreservation: {
3273
+ readonly GET: readonly ["getAddressReservationsResource"];
3274
+ readonly POST: readonly ["postAddressReservationIssueResource", "postAddressReservationRevokeResource", "postReservationAccessTimesUpdateResource"];
3275
+ };
3276
+ readonly advancedapi: {
3277
+ readonly GET: readonly ["getDecentralWebhooksResource", "getWebhookLogsResource"];
3278
+ readonly PUT: readonly ["putDecentralWebhooksResource", "putSmartlockAuthsAdvancedResource"];
3279
+ readonly DELETE: readonly ["deleteDecentralWebhookResource"];
3280
+ readonly POST: readonly ["postSmartlockActionAdvancedResource", "postSmartlockLockActionAdvancedResource", "postSmartlockUnlockActionAdvancedResource"];
3281
+ };
3282
+ readonly apikey: {
3283
+ readonly GET: readonly ["getApiKeysResource", "getApiKeyAdvancedResource", "getApiKeyTokensResource"];
3284
+ readonly PUT: readonly ["putApiKeysResource", "putApiKeyAdvancedResource", "putApiKeyTokensResource"];
3285
+ readonly POST: readonly ["postApiKeyResource", "postApiKeyAdvancedResource", "postApiKeyAdvancedReactivateResource", "postApiKeyTokenResource"];
3286
+ readonly DELETE: readonly ["deleteApiKeyResource", "deleteApiKeyAdvancedResource", "deleteApiKeyTokenResource"];
3287
+ };
3288
+ readonly smartlock: {
3289
+ readonly POST: readonly ["postSmartlockBulkWebConfigResource", "postSmartlockResource", "postSmartlockActionResource", "postSmartlockLockActionResource", "postSmartlockUnlockActionResource", "postSmartlockAdminPinResource", "postSmartlockAdvancedConfigResource", "postSmartlockOpenerAdvancedConfigResource", "postSmartdoorAdvancedConfigResource", "postSmartlockConfigResource", "postSmartlockSyncResource", "postSmartlockWebConfigResource"];
3290
+ readonly GET: readonly ["getSmartlocksResource", "getSmartlockResource"];
3291
+ readonly DELETE: readonly ["deleteSmartlockResource"];
3292
+ };
3293
+ readonly company: {
3294
+ readonly GET: readonly ["getCompaniesResource"];
3295
+ };
3296
+ readonly notification: {
3297
+ readonly GET: readonly ["getNotificationsResource", "getNotificationResource"];
3298
+ readonly PUT: readonly ["putNotificationsResource"];
3299
+ readonly POST: readonly ["postNotificationResource"];
3300
+ readonly DELETE: readonly ["deleteNotificationResource"];
3301
+ };
3302
+ readonly opener: {
3303
+ readonly GET: readonly ["getOpenerBrandsResource", "getOpenerBrandResource", "getOpenerIntercomsResource", "getOpenerIntercomResource"];
3304
+ };
3305
+ readonly service: {
3306
+ readonly GET: readonly ["getServicesResource", "getServiceResource"];
3307
+ readonly POST: readonly ["postServiceLinkResource", "postServiceSyncResource", "postServiceUnlinkResource"];
3308
+ };
3309
+ readonly smartlockauth: {
3310
+ readonly GET: readonly ["getSmartlocksAuthsResource", "getSmartlocksAuthsPaginatedResource", "getSmartlockAuthsResource", "getSmartlockAuthResource"];
3311
+ readonly POST: readonly ["postSmartlocksAuthsResource", "postSmartlockAuthWithSharedKeyResource", "postSmartlockAuthResource"];
3312
+ readonly PUT: readonly ["putSmartlocksAuthsResource", "putSmartlockAuthsResource"];
3313
+ readonly DELETE: readonly ["deleteSmartlocksAuthsResource", "deleteSmartlockAuthResource"];
3314
+ };
3315
+ readonly smartlocklog: {
3316
+ readonly GET: readonly ["getSmartlocksLogsResource", "getSmartlockLogsResource"];
3317
+ };
3318
+ };
3319
+
3320
+ export { deleteAccountIntegrationsResource, deleteAccountOtpResource, deleteAccountSettingResource, deleteAccountSubResource, deleteAccountUserResource, deleteAccountsResource, deleteAddressResource, deleteAddressUnitResource, deleteAddressUnitsResource, deleteApiKeyAdvancedResource, deleteApiKeyResource, deleteApiKeyTokenResource, deleteDecentralWebhookResource, deleteNotificationResource, deleteSmartlockAuthResource, deleteSmartlockResource, deleteSmartlocksAuthsResource, getAccountIntegrationsResource, getAccountSettingResource, getAccountSubResource, getAccountSubsResource, getAccountUserResource, getAccountUsersResource, getAccountsResource, getAddressReservationsResource, getAddressTokenRedeemResource, getAddressTokenResource, getAddressTokensResource, getAddressUnitsResource, getAddressesResource, getApiKeyAdvancedResource, getApiKeyTokensResource, getApiKeysResource, getCompaniesResource, getDecentralWebhooksResource, getNotificationResource, getNotificationsResource, getOpenerBrandResource, getOpenerBrandsResource, getOpenerIntercomResource, getOpenerIntercomsResource, getServiceResource, getServicesResource, getSmartlockAuthResource, getSmartlockAuthsResource, getSmartlockLogsResource, getSmartlockResource, getSmartlocksAuthsPaginatedResource, getSmartlocksAuthsResource, getSmartlocksLogsResource, getSmartlocksResource, getWebhookLogsResource, operationsByPath, operationsByTag, postAccountEmailChangeResource, postAccountEmailVerifyResource, postAccountOtpResource, postAccountPasswordResetResource, postAccountSubResource, postAccountUserResource, postAccountsResource, postAddressReservationIssueResource, postAddressReservationRevokeResource, postAddressResource, postAddressTokenRedeemResource, postApiKeyAdvancedReactivateResource, postApiKeyAdvancedResource, postApiKeyResource, postApiKeyTokenResource, postNotificationResource, postReservationAccessTimesUpdateResource, postServiceLinkResource, postServiceSyncResource, postServiceUnlinkResource, postSmartdoorAdvancedConfigResource, postSmartlockActionAdvancedResource, postSmartlockActionResource, postSmartlockAdminPinResource, postSmartlockAdvancedConfigResource, postSmartlockAuthResource, postSmartlockAuthWithSharedKeyResource, postSmartlockBulkWebConfigResource, postSmartlockConfigResource, postSmartlockLockActionAdvancedResource, postSmartlockLockActionResource, postSmartlockOpenerAdvancedConfigResource, postSmartlockResource, postSmartlockSyncResource, postSmartlockUnlockActionAdvancedResource, postSmartlockUnlockActionResource, postSmartlockWebConfigResource, postSmartlocksAuthsResource, putAccountOtpResource, putAccountSettingResource, putAccountSubsResource, putAccountUsersResource, putAddressUnitsResource, putAddressesResource, putApiKeyAdvancedResource, putApiKeyTokensResource, putApiKeysResource, putDecentralWebhooksResource, putNotificationsResource, putSmartlockAuthsAdvancedResource, putSmartlockAuthsResource, putSmartlocksAuthsResource, tagDictionary };
3321
+ //# sourceMappingURL=components.d.mts.map