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