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