@doordeck/doordeck-headless-sdk 0.28.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.
Files changed (71) hide show
  1. package/README.md +2 -0
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +5545 -0
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +255 -0
  5. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +1 -0
  6. package/kotlin/MultiplatformSettings-multiplatform-settings.js +41 -0
  7. package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +1 -0
  8. package/kotlin/Stately-stately-concurrency.js +32 -0
  9. package/kotlin/Stately-stately-concurrency.js.map +1 -0
  10. package/kotlin/Stately-stately-concurrent-collections.js +304 -0
  11. package/kotlin/Stately-stately-concurrent-collections.js.map +1 -0
  12. package/kotlin/Stately-stately-strict.js +12 -0
  13. package/kotlin/Stately-stately-strict.js.map +1 -0
  14. package/kotlin/doordeck-sdk.d.ts +1325 -0
  15. package/kotlin/doordeck-sdk.js +33503 -0
  16. package/kotlin/doordeck-sdk.js.map +1 -0
  17. package/kotlin/kotlin-kotlin-stdlib.js +14474 -0
  18. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -0
  19. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +8 -0
  20. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +1 -0
  21. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
  22. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  23. package/kotlin/kotlinx-atomicfu.js +249 -0
  24. package/kotlin/kotlinx-atomicfu.js.map +1 -0
  25. package/kotlin/kotlinx-coroutines-core.js +8784 -0
  26. package/kotlin/kotlinx-coroutines-core.js.map +1 -0
  27. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +8 -0
  28. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
  29. package/kotlin/kotlinx-io-kotlinx-io-core.js +1333 -0
  30. package/kotlin/kotlinx-io-kotlinx-io-core.js.map +1 -0
  31. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +5908 -0
  32. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  33. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +4740 -0
  34. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  35. package/kotlin/ktor-ktor-client-ktor-client-core.js +8407 -0
  36. package/kotlin/ktor-ktor-client-ktor-client-core.js.map +1 -0
  37. package/kotlin/ktor-ktor-client-ktor-client-js.js +8 -0
  38. package/kotlin/ktor-ktor-client-ktor-client-js.js.map +1 -0
  39. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +1146 -0
  40. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +1 -0
  41. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +647 -0
  42. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +1 -0
  43. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +8 -0
  44. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +1 -0
  45. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +8 -0
  46. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +1 -0
  47. package/kotlin/ktor-ktor-http.js +3638 -0
  48. package/kotlin/ktor-ktor-http.js.map +1 -0
  49. package/kotlin/ktor-ktor-io.js +2249 -0
  50. package/kotlin/ktor-ktor-io.js.map +1 -0
  51. package/kotlin/ktor-ktor-shared-ktor-events.js +84 -0
  52. package/kotlin/ktor-ktor-shared-ktor-events.js.map +1 -0
  53. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +47 -0
  54. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +1 -0
  55. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +857 -0
  56. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +1 -0
  57. package/kotlin/ktor-ktor-shared-ktor-serialization.js +365 -0
  58. package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +1 -0
  59. package/kotlin/ktor-ktor-shared-ktor-sse.js +8 -0
  60. package/kotlin/ktor-ktor-shared-ktor-sse.js.map +1 -0
  61. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +8 -0
  62. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +1 -0
  63. package/kotlin/ktor-ktor-shared-ktor-websockets.js +424 -0
  64. package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +1 -0
  65. package/kotlin/ktor-ktor-utils.js +2393 -0
  66. package/kotlin/ktor-ktor-utils.js.map +1 -0
  67. package/kotlin/projects-core-koin-core.js +1134 -0
  68. package/kotlin/projects-core-koin-core.js.map +1 -0
  69. package/kotlin/uuid.js +152 -0
  70. package/kotlin/uuid.js.map +1 -0
  71. package/package.json +42 -0
@@ -0,0 +1,1325 @@
1
+ type Nullable<T> = T | null | undefined
2
+ export declare namespace kotlin.collections {
3
+ interface KtList<E> /* extends kotlin.collections.Collection<E> */ {
4
+ asJsReadonlyArrayView(): ReadonlyArray<E>;
5
+ readonly __doNotUseOrImplementIt: {
6
+ readonly "kotlin.collections.KtList": unique symbol;
7
+ };
8
+ }
9
+ const KtList: {
10
+ fromJsArray<E>(array: ReadonlyArray<E>): kotlin.collections.KtList<E>;
11
+ };
12
+ interface KtMap<K, V> {
13
+ asJsReadonlyMapView(): ReadonlyMap<K, V>;
14
+ readonly __doNotUseOrImplementIt: {
15
+ readonly "kotlin.collections.KtMap": unique symbol;
16
+ };
17
+ }
18
+ const KtMap: {
19
+ fromJsMap<K, V>(map: ReadonlyMap<K, V>): kotlin.collections.KtMap<K, V>;
20
+ };
21
+ }
22
+ export declare namespace com.doordeck.multiplatform.sdk {
23
+ interface Doordeck {
24
+ contextManager(): com.doordeck.multiplatform.sdk.api.ContextManager;
25
+ readonly __doNotUseOrImplementIt: {
26
+ readonly "com.doordeck.multiplatform.sdk.Doordeck": unique symbol;
27
+ };
28
+ }
29
+ }
30
+ export declare namespace com.doordeck.multiplatform.sdk {
31
+ class SdkException /* extends kotlin.Exception */ {
32
+ constructor(message: string, exception?: Nullable<Error>);
33
+ }
34
+ class MissingOperationContextException extends com.doordeck.multiplatform.sdk.SdkException {
35
+ constructor(message: string);
36
+ }
37
+ class MissingAndroidContextException extends com.doordeck.multiplatform.sdk.SdkException {
38
+ constructor(message: string);
39
+ }
40
+ class BadRequestException extends com.doordeck.multiplatform.sdk.SdkException {
41
+ constructor(message: string);
42
+ }
43
+ class UnauthorizedException extends com.doordeck.multiplatform.sdk.SdkException {
44
+ constructor(message: string);
45
+ }
46
+ class ForbiddenException extends com.doordeck.multiplatform.sdk.SdkException {
47
+ constructor(message: string);
48
+ }
49
+ class NotFoundException extends com.doordeck.multiplatform.sdk.SdkException {
50
+ constructor(message: string);
51
+ }
52
+ class MethodNotAllowedException extends com.doordeck.multiplatform.sdk.SdkException {
53
+ constructor(message: string);
54
+ }
55
+ class NotAcceptableException extends com.doordeck.multiplatform.sdk.SdkException {
56
+ constructor(message: string);
57
+ }
58
+ class ConflictException extends com.doordeck.multiplatform.sdk.SdkException {
59
+ constructor(message: string);
60
+ }
61
+ class GoneException extends com.doordeck.multiplatform.sdk.SdkException {
62
+ constructor(message: string);
63
+ }
64
+ class LockedException extends com.doordeck.multiplatform.sdk.SdkException {
65
+ constructor(message: string);
66
+ }
67
+ class TooEarlyException extends com.doordeck.multiplatform.sdk.SdkException {
68
+ constructor(message: string);
69
+ }
70
+ class TooManyRequestsException extends com.doordeck.multiplatform.sdk.SdkException {
71
+ constructor(message: string);
72
+ }
73
+ class InternalServerErrorException extends com.doordeck.multiplatform.sdk.SdkException {
74
+ constructor(message: string);
75
+ }
76
+ class ServiceUnavailableException extends com.doordeck.multiplatform.sdk.SdkException {
77
+ constructor(message: string);
78
+ }
79
+ class GatewayTimeoutException extends com.doordeck.multiplatform.sdk.SdkException {
80
+ constructor(message: string);
81
+ }
82
+ }
83
+ export declare namespace com.doordeck.multiplatform.sdk.api {
84
+ interface ContextManager {
85
+ setAuthToken(token: string): void;
86
+ setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, privateKey: Int8Array): void;
87
+ setOperationContextJson(data: string): void;
88
+ setFusionAuthToken(token: string): void;
89
+ setSecureStorageImpl(secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage): void;
90
+ loadContext(): void;
91
+ storeContext(): void;
92
+ clearContext(): void;
93
+ readonly __doNotUseOrImplementIt: {
94
+ readonly "com.doordeck.multiplatform.sdk.api.ContextManager": unique symbol;
95
+ };
96
+ }
97
+ }
98
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
99
+ abstract class ApiEnvironment {
100
+ private constructor();
101
+ static get DEV(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
102
+ get name(): "DEV";
103
+ get ordinal(): 0;
104
+ };
105
+ static get STAGING(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
106
+ get name(): "STAGING";
107
+ get ordinal(): 1;
108
+ };
109
+ static get PROD(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
110
+ get name(): "PROD";
111
+ get ordinal(): 2;
112
+ };
113
+ get name(): "DEV" | "STAGING" | "PROD";
114
+ get ordinal(): 0 | 1 | 2;
115
+ get cloudHost(): string;
116
+ get fusionHost(): string;
117
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.ApiEnvironment>;
118
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment;
119
+ }
120
+ }
121
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
122
+ abstract class AuditEvent {
123
+ private constructor();
124
+ static get DOOR_OPEN(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
125
+ get name(): "DOOR_OPEN";
126
+ get ordinal(): 0;
127
+ };
128
+ static get DOOR_CLOSE(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
129
+ get name(): "DOOR_CLOSE";
130
+ get ordinal(): 1;
131
+ };
132
+ static get DOOR_UNLOCK(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
133
+ get name(): "DOOR_UNLOCK";
134
+ get ordinal(): 2;
135
+ };
136
+ static get DOOR_LOCK(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
137
+ get name(): "DOOR_LOCK";
138
+ get ordinal(): 3;
139
+ };
140
+ static get OWNER_ASSIGNED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
141
+ get name(): "OWNER_ASSIGNED";
142
+ get ordinal(): 4;
143
+ };
144
+ static get DEVICE_CONNECTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
145
+ get name(): "DEVICE_CONNECTED";
146
+ get ordinal(): 5;
147
+ };
148
+ static get DEVICE_DISCONNECTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
149
+ get name(): "DEVICE_DISCONNECTED";
150
+ get ordinal(): 6;
151
+ };
152
+ static get LOCK_SHARED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
153
+ get name(): "LOCK_SHARED";
154
+ get ordinal(): 7;
155
+ };
156
+ static get LOCK_REVOKED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
157
+ get name(): "LOCK_REVOKED";
158
+ get ordinal(): 8;
159
+ };
160
+ static get USER_PROMOTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
161
+ get name(): "USER_PROMOTED";
162
+ get ordinal(): 9;
163
+ };
164
+ static get USER_DEMOTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
165
+ get name(): "USER_DEMOTED";
166
+ get ordinal(): 10;
167
+ };
168
+ static get SETTING_CHANGED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
169
+ get name(): "SETTING_CHANGED";
170
+ get ordinal(): 11;
171
+ };
172
+ static get TILE_ASSOCIATED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
173
+ get name(): "TILE_ASSOCIATED";
174
+ get ordinal(): 12;
175
+ };
176
+ static get TILE_DISASSOCIATED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
177
+ get name(): "TILE_DISASSOCIATED";
178
+ get ordinal(): 13;
179
+ };
180
+ static get DEVICE_DECOMMISSIONED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
181
+ get name(): "DEVICE_DECOMMISSIONED";
182
+ get ordinal(): 14;
183
+ };
184
+ get name(): "DOOR_OPEN" | "DOOR_CLOSE" | "DOOR_UNLOCK" | "DOOR_LOCK" | "OWNER_ASSIGNED" | "DEVICE_CONNECTED" | "DEVICE_DISCONNECTED" | "LOCK_SHARED" | "LOCK_REVOKED" | "USER_PROMOTED" | "USER_DEMOTED" | "SETTING_CHANGED" | "TILE_ASSOCIATED" | "TILE_DISASSOCIATED" | "DEVICE_DECOMMISSIONED";
185
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
186
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.AuditEvent>;
187
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.AuditEvent;
188
+ static get Companion(): {
189
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
190
+ }
191
+ }
192
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
193
+ abstract class CapabilityStatus {
194
+ private constructor();
195
+ static get SUPPORTED(): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus & {
196
+ get name(): "SUPPORTED";
197
+ get ordinal(): 0;
198
+ };
199
+ static get UNSUPPORTED(): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus & {
200
+ get name(): "UNSUPPORTED";
201
+ get ordinal(): 1;
202
+ };
203
+ get name(): "SUPPORTED" | "UNSUPPORTED";
204
+ get ordinal(): 0 | 1;
205
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.CapabilityStatus>;
206
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus;
207
+ static get Companion(): {
208
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
209
+ }
210
+ abstract class CapabilityType {
211
+ private constructor();
212
+ static get CONFIGURABLE_UNLOCK_DURATION(): com.doordeck.multiplatform.sdk.api.model.CapabilityType & {
213
+ get name(): "CONFIGURABLE_UNLOCK_DURATION";
214
+ get ordinal(): 0;
215
+ };
216
+ static get OPEN_HOURS(): com.doordeck.multiplatform.sdk.api.model.CapabilityType & {
217
+ get name(): "OPEN_HOURS";
218
+ get ordinal(): 1;
219
+ };
220
+ get name(): "CONFIGURABLE_UNLOCK_DURATION" | "OPEN_HOURS";
221
+ get ordinal(): 0 | 1;
222
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.CapabilityType>;
223
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.CapabilityType;
224
+ static get Companion(): {
225
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
226
+ }
227
+ }
228
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
229
+ abstract class Context {
230
+ private constructor();
231
+ }
232
+ namespace Context {
233
+ class OperationContext {
234
+ constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string>, userPrivateKey: Int8Array);
235
+ get userId(): string;
236
+ get userCertificateChain(): kotlin.collections.KtList<string>;
237
+ get userPrivateKey(): Int8Array;
238
+ }
239
+ class OperationContextData {
240
+ constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string>, userPrivateKey: string);
241
+ get userId(): string;
242
+ get userCertificateChain(): kotlin.collections.KtList<string>;
243
+ get userPrivateKey(): string;
244
+ static get Companion(): {
245
+ };
246
+ }
247
+ }
248
+ }
249
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
250
+ abstract class Fusion {
251
+ private constructor();
252
+ }
253
+ namespace Fusion {
254
+ interface LockController {
255
+ readonly __doNotUseOrImplementIt: {
256
+ readonly "com.doordeck.multiplatform.sdk.api.model.Fusion.LockController": unique symbol;
257
+ };
258
+ }
259
+ const LockController: {
260
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
261
+ class AlpetaController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
262
+ constructor(username: string, password: string, doorId: number, baseUrl?: Nullable<string>);
263
+ get username(): string;
264
+ get password(): string;
265
+ get doorId(): number;
266
+ get baseUrl(): Nullable<string>;
267
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
268
+ static get Companion(): {
269
+ };
270
+ }
271
+ class AmagController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
272
+ constructor(username: string, password: string, doorId: number, baseUrl?: Nullable<string>);
273
+ get username(): string;
274
+ get password(): string;
275
+ get doorId(): number;
276
+ get baseUrl(): Nullable<string>;
277
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
278
+ static get Companion(): {
279
+ };
280
+ }
281
+ class AssaAbloyController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
282
+ constructor(baseUrl: string, doorId: string);
283
+ get baseUrl(): string;
284
+ get doorId(): string;
285
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
286
+ static get Companion(): {
287
+ };
288
+ }
289
+ class AvigilonController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
290
+ constructor(baseUrl: string, username: string, password: string, doorId: string);
291
+ get baseUrl(): string;
292
+ get username(): string;
293
+ get password(): string;
294
+ get doorId(): string;
295
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
296
+ static get Companion(): {
297
+ };
298
+ }
299
+ class AxisController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
300
+ constructor(baseUrl: string, doorIdentifier: string);
301
+ get baseUrl(): string;
302
+ get doorIdentifier(): string;
303
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
304
+ static get Companion(): {
305
+ };
306
+ }
307
+ class DemoController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
308
+ constructor(port?: number);
309
+ get port(): number;
310
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
311
+ static get Companion(): {
312
+ };
313
+ }
314
+ class GallagherController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
315
+ constructor(baseUrl: Nullable<string> | undefined, apiKey: string, doorId: string);
316
+ get baseUrl(): Nullable<string>;
317
+ get apiKey(): string;
318
+ get doorId(): string;
319
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
320
+ static get Companion(): {
321
+ };
322
+ }
323
+ class GenetecController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
324
+ constructor(baseUrl: string, username: string, password: string, doorId: string);
325
+ get baseUrl(): string;
326
+ get username(): string;
327
+ get password(): string;
328
+ get doorId(): string;
329
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
330
+ static get Companion(): {
331
+ };
332
+ }
333
+ class LenelController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
334
+ constructor(baseUrl: string, username: string, password: string, directoryId: string, panelId: string, readerId: string);
335
+ get baseUrl(): string;
336
+ get username(): string;
337
+ get password(): string;
338
+ get directoryId(): string;
339
+ get panelId(): string;
340
+ get readerId(): string;
341
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
342
+ static get Companion(): {
343
+ };
344
+ }
345
+ class MitrefinchController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
346
+ constructor(host: string, output: number);
347
+ get host(): string;
348
+ get output(): number;
349
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
350
+ static get Companion(): {
351
+ };
352
+ }
353
+ class PaxtonNet2Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
354
+ constructor(host: string, address: string, output: number);
355
+ get host(): string;
356
+ get address(): string;
357
+ get output(): number;
358
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
359
+ static get Companion(): {
360
+ };
361
+ }
362
+ class Paxton10Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
363
+ constructor(baseUrl: string, username: string, password: string, applianceId: number);
364
+ get baseUrl(): string;
365
+ get username(): string;
366
+ get password(): string;
367
+ get applianceId(): number;
368
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
369
+ static get Companion(): {
370
+ };
371
+ }
372
+ class IntegraV1Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
373
+ constructor(username: string, password: string, controllerId: number);
374
+ get username(): string;
375
+ get password(): string;
376
+ get controllerId(): number;
377
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
378
+ static get Companion(): {
379
+ };
380
+ }
381
+ class IntegraV2Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
382
+ constructor(baseUrl: string, sessionId: string, controllerId: number, cardholderId: number, pinCode?: Nullable<number>);
383
+ get baseUrl(): string;
384
+ get sessionId(): string;
385
+ get controllerId(): number;
386
+ get cardholderId(): number;
387
+ get pinCode(): Nullable<number>;
388
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
389
+ static get Companion(): {
390
+ };
391
+ }
392
+ class PacController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
393
+ constructor(dataSource: com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource, outputChannel: number, controllerSerial: number);
394
+ get dataSource(): com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource;
395
+ get outputChannel(): number;
396
+ get controllerSerial(): number;
397
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
398
+ static get Companion(): {
399
+ };
400
+ }
401
+ class DataSource {
402
+ constructor(driverClass: string, url: string, user: string, password: string);
403
+ get driverClass(): string;
404
+ get url(): string;
405
+ get user(): string;
406
+ get password(): string;
407
+ static get Companion(): {
408
+ };
409
+ }
410
+ class TdsiExgardeController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
411
+ constructor(dbUrl: Nullable<string> | undefined, username: string, password: string, doorId: number);
412
+ get dbUrl(): Nullable<string>;
413
+ get username(): string;
414
+ get password(): string;
415
+ get doorId(): number;
416
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
417
+ static get Companion(): {
418
+ };
419
+ }
420
+ class TdsiGardisController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
421
+ constructor(host: string, username: string, password: string, doorId: number);
422
+ get host(): string;
423
+ get username(): string;
424
+ get password(): string;
425
+ get doorId(): number;
426
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
427
+ static get Companion(): {
428
+ };
429
+ }
430
+ class ZktecoController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
431
+ constructor(clientSecret: string, doorId: string, baseUrl: Nullable<string> | undefined, entityType: com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType);
432
+ get clientSecret(): string;
433
+ get doorId(): string;
434
+ get baseUrl(): Nullable<string>;
435
+ get entityType(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType;
436
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
437
+ static get Companion(): {
438
+ };
439
+ }
440
+ abstract class ZktecoEntityType {
441
+ private constructor();
442
+ static get DOOR(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType & {
443
+ get name(): "DOOR";
444
+ get ordinal(): 0;
445
+ };
446
+ static get FLOOR(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType & {
447
+ get name(): "FLOOR";
448
+ get ordinal(): 1;
449
+ };
450
+ get name(): "DOOR" | "FLOOR";
451
+ get ordinal(): 0 | 1;
452
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType>;
453
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType;
454
+ static get Companion(): {
455
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
456
+ }
457
+ }
458
+ }
459
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
460
+ abstract class LockOperations {
461
+ private constructor();
462
+ }
463
+ namespace LockOperations {
464
+ class TimeRequirement {
465
+ constructor(start: string, end: string, timezone: string, days: kotlin.collections.KtList<string>);
466
+ get start(): string;
467
+ get end(): string;
468
+ get timezone(): string;
469
+ get days(): kotlin.collections.KtList<string>;
470
+ }
471
+ class LocationRequirement {
472
+ constructor(latitude: number, longitude: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>);
473
+ get latitude(): number;
474
+ get longitude(): number;
475
+ get enabled(): Nullable<boolean>;
476
+ get radius(): Nullable<number>;
477
+ get accuracy(): Nullable<number>;
478
+ }
479
+ class UnlockBetween {
480
+ constructor(start: string, end: string, timezone: string, days: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>);
481
+ get start(): string;
482
+ get end(): string;
483
+ get timezone(): string;
484
+ get days(): kotlin.collections.KtList<string>;
485
+ get exceptions(): Nullable<kotlin.collections.KtList<string>>;
486
+ }
487
+ class UnlockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
488
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>);
489
+ get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
490
+ get directAccessEndpoints(): Nullable<kotlin.collections.KtList<string>>;
491
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
492
+ }
493
+ class ShareLockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
494
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, shareLock: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock);
495
+ get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
496
+ get shareLock(): com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock;
497
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
498
+ }
499
+ class ShareLock {
500
+ constructor(targetUserId: string, targetUserRole: com.doordeck.multiplatform.sdk.api.model.UserRole, targetUserPublicKey: Int8Array, start?: Nullable<number>, end?: Nullable<number>);
501
+ get targetUserId(): string;
502
+ get targetUserRole(): com.doordeck.multiplatform.sdk.api.model.UserRole;
503
+ get targetUserPublicKey(): Int8Array;
504
+ get start(): Nullable<number>;
505
+ get end(): Nullable<number>;
506
+ }
507
+ class RevokeAccessToLockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
508
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, users: kotlin.collections.KtList<string>);
509
+ get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
510
+ get users(): kotlin.collections.KtList<string>;
511
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
512
+ }
513
+ class UpdateSecureSettingUnlockDuration implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
514
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockDuration: number);
515
+ get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
516
+ get unlockDuration(): number;
517
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
518
+ }
519
+ class UpdateSecureSettingUnlockBetween implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
520
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockBetween?: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>);
521
+ get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
522
+ get unlockBetween(): Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>;
523
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
524
+ }
525
+ class BaseOperation {
526
+ constructor(userId: string, userCertificateChain: kotlin.collections.KtList<string>, userPrivateKey: Int8Array, lockId: string, notBefore?: number, issuedAt?: number, expiresAt?: number, jti?: string);
527
+ get userId(): string;
528
+ get userCertificateChain(): kotlin.collections.KtList<string>;
529
+ get userPrivateKey(): Int8Array;
530
+ get lockId(): string;
531
+ get notBefore(): number;
532
+ get issuedAt(): number;
533
+ get expiresAt(): number;
534
+ get jti(): string;
535
+ }
536
+ interface Operation {
537
+ readonly __doNotUseOrImplementIt: {
538
+ readonly "com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation": unique symbol;
539
+ };
540
+ }
541
+ }
542
+ }
543
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
544
+ abstract class Platform {
545
+ private constructor();
546
+ }
547
+ namespace Platform {
548
+ class CreateApplication {
549
+ constructor(name: string, companyName: string, mailingAddress: string, privacyPolicy?: Nullable<string>, supportContact?: Nullable<string>, appLink?: Nullable<string>, emailPreferences?: Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences>, logoUrl?: Nullable<string>);
550
+ get name(): string;
551
+ get companyName(): string;
552
+ get mailingAddress(): string;
553
+ get privacyPolicy(): Nullable<string>;
554
+ get supportContact(): Nullable<string>;
555
+ get appLink(): Nullable<string>;
556
+ get emailPreferences(): Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences>;
557
+ get logoUrl(): Nullable<string>;
558
+ }
559
+ class EmailPreferences {
560
+ constructor(senderEmail?: Nullable<string>, senderName?: Nullable<string>, primaryColour?: Nullable<string>, secondaryColour?: Nullable<string>, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailCallToAction>);
561
+ get senderEmail(): Nullable<string>;
562
+ get senderName(): Nullable<string>;
563
+ get primaryColour(): Nullable<string>;
564
+ get secondaryColour(): Nullable<string>;
565
+ get onlySendEssentialEmails(): Nullable<boolean>;
566
+ get callToAction(): Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailCallToAction>;
567
+ }
568
+ class EmailCallToAction {
569
+ constructor(actionTarget: string, headline: string, actionText: string);
570
+ get actionTarget(): string;
571
+ get headline(): string;
572
+ get actionText(): string;
573
+ }
574
+ interface AuthKey {
575
+ readonly kid: string;
576
+ readonly kty: string;
577
+ readonly use: string;
578
+ readonly alg: Nullable<string>;
579
+ readonly __doNotUseOrImplementIt: {
580
+ readonly "com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey": unique symbol;
581
+ };
582
+ }
583
+ class RsaKey implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
584
+ constructor(kty: string | undefined, use: string, kid: string, alg: Nullable<string> | undefined, p: string, q: string, d: string, e: string, qi: string, dp: string, dq: string, n: string);
585
+ get kty(): string;
586
+ get use(): string;
587
+ get kid(): string;
588
+ get alg(): Nullable<string>;
589
+ get p(): string;
590
+ get q(): string;
591
+ get d(): string;
592
+ get e(): string;
593
+ get qi(): string;
594
+ get dp(): string;
595
+ get dq(): string;
596
+ get n(): string;
597
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
598
+ }
599
+ class EcKey implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
600
+ constructor(kty: string | undefined, use: string, kid: string, alg: Nullable<string> | undefined, d: string, crv: string, x: string, y: string);
601
+ get kty(): string;
602
+ get use(): string;
603
+ get kid(): string;
604
+ get alg(): Nullable<string>;
605
+ get d(): string;
606
+ get crv(): string;
607
+ get x(): string;
608
+ get y(): string;
609
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
610
+ }
611
+ class Ed25519Key implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
612
+ constructor(kty: string | undefined, use: string, kid: string, alg: Nullable<string> | undefined, d: string, crv: string, x: string);
613
+ get kty(): string;
614
+ get use(): string;
615
+ get kid(): string;
616
+ get alg(): Nullable<string>;
617
+ get d(): string;
618
+ get crv(): string;
619
+ get x(): string;
620
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
621
+ }
622
+ }
623
+ }
624
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
625
+ abstract class TwoFactorMethod {
626
+ private constructor();
627
+ static get EMAIL(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
628
+ get name(): "EMAIL";
629
+ get ordinal(): 0;
630
+ };
631
+ static get TELEPHONE(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
632
+ get name(): "TELEPHONE";
633
+ get ordinal(): 1;
634
+ };
635
+ static get SMS(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
636
+ get name(): "SMS";
637
+ get ordinal(): 2;
638
+ };
639
+ get name(): "EMAIL" | "TELEPHONE" | "SMS";
640
+ get ordinal(): 0 | 1 | 2;
641
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod>;
642
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod;
643
+ static get Companion(): {
644
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
645
+ }
646
+ }
647
+ export declare namespace com.doordeck.multiplatform.sdk.api.model {
648
+ abstract class UserRole {
649
+ private constructor();
650
+ static get ADMIN(): com.doordeck.multiplatform.sdk.api.model.UserRole & {
651
+ get name(): "ADMIN";
652
+ get ordinal(): 0;
653
+ };
654
+ static get USER(): com.doordeck.multiplatform.sdk.api.model.UserRole & {
655
+ get name(): "USER";
656
+ get ordinal(): 1;
657
+ };
658
+ get name(): "ADMIN" | "USER";
659
+ get ordinal(): 0 | 1;
660
+ static values(): Array<com.doordeck.multiplatform.sdk.api.model.UserRole>;
661
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.UserRole;
662
+ static get Companion(): {
663
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
664
+ }
665
+ }
666
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
667
+ class TokenResponse {
668
+ constructor(authToken: string, refreshToken: string);
669
+ get authToken(): string;
670
+ get refreshToken(): string;
671
+ static get Companion(): {
672
+ };
673
+ }
674
+ class UserDetailsResponse {
675
+ constructor(email: string, displayName: Nullable<string> | undefined, emailVerified: boolean, publicKey: string);
676
+ get email(): string;
677
+ get displayName(): Nullable<string>;
678
+ get emailVerified(): boolean;
679
+ get publicKey(): string;
680
+ static get Companion(): {
681
+ };
682
+ }
683
+ class RegisterEphemeralKeyResponse {
684
+ constructor(certificateChain: kotlin.collections.KtList<string>, userId: string);
685
+ get certificateChain(): kotlin.collections.KtList<string>;
686
+ get userId(): string;
687
+ static get Companion(): {
688
+ };
689
+ }
690
+ class RegisterEphemeralKeyWithSecondaryAuthenticationResponse {
691
+ constructor(method: com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod);
692
+ get method(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod;
693
+ static get Companion(): {
694
+ };
695
+ }
696
+ }
697
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
698
+ class FusionLoginResponse {
699
+ constructor(authToken: string);
700
+ get authToken(): string;
701
+ static get Companion(): {
702
+ };
703
+ }
704
+ class IntegrationTypeResponse {
705
+ constructor(status?: Nullable<string>);
706
+ get status(): Nullable<string>;
707
+ static get Companion(): {
708
+ };
709
+ }
710
+ class DoorStateResponse {
711
+ constructor(state: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType);
712
+ get state(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
713
+ static get Companion(): {
714
+ };
715
+ }
716
+ class IntegrationConfigurationResponse {
717
+ constructor(doordeck?: Nullable<com.doordeck.multiplatform.sdk.api.responses.ControllerResponse>, service?: Nullable<com.doordeck.multiplatform.sdk.api.responses.ServiceStateResponse>, integration?: Nullable<com.doordeck.multiplatform.sdk.api.responses.DiscoveredDeviceResponse>);
718
+ get doordeck(): Nullable<com.doordeck.multiplatform.sdk.api.responses.ControllerResponse>;
719
+ get service(): Nullable<com.doordeck.multiplatform.sdk.api.responses.ServiceStateResponse>;
720
+ get integration(): Nullable<com.doordeck.multiplatform.sdk.api.responses.DiscoveredDeviceResponse>;
721
+ static get Companion(): {
722
+ };
723
+ }
724
+ class ControllerResponse {
725
+ constructor(id: string, name?: Nullable<string>, role?: Nullable<com.doordeck.multiplatform.sdk.api.model.UserRole>);
726
+ get id(): string;
727
+ get name(): Nullable<string>;
728
+ get role(): Nullable<com.doordeck.multiplatform.sdk.api.model.UserRole>;
729
+ static get Companion(): {
730
+ };
731
+ }
732
+ class ServiceStateResponse {
733
+ constructor(state: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType);
734
+ get state(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
735
+ static get Companion(): {
736
+ };
737
+ }
738
+ class DiscoveredDeviceResponse {
739
+ constructor(key: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController, metadata: kotlin.collections.KtMap<string, string>);
740
+ get key(): com.doordeck.multiplatform.sdk.api.model.Fusion.LockController;
741
+ get metadata(): kotlin.collections.KtMap<string, string>;
742
+ static get Companion(): {
743
+ };
744
+ }
745
+ abstract class ServiceStateType {
746
+ private constructor();
747
+ static get RUNNING(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
748
+ get name(): "RUNNING";
749
+ get ordinal(): 0;
750
+ };
751
+ static get STOPPED(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
752
+ get name(): "STOPPED";
753
+ get ordinal(): 1;
754
+ };
755
+ static get UNDEFINED(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
756
+ get name(): "UNDEFINED";
757
+ get ordinal(): 2;
758
+ };
759
+ get name(): "RUNNING" | "STOPPED" | "UNDEFINED";
760
+ get ordinal(): 0 | 1 | 2;
761
+ static values(): Array<com.doordeck.multiplatform.sdk.api.responses.ServiceStateType>;
762
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
763
+ static get Companion(): {
764
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
765
+ }
766
+ }
767
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
768
+ class LockResponse {
769
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, start: Nullable<string> | undefined, end: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.api.model.UserRole, settings: com.doordeck.multiplatform.sdk.api.responses.LockSettingsResponse, state: com.doordeck.multiplatform.sdk.api.responses.LockStateResponse, favourite: boolean, unlockTime?: Nullable<number>);
770
+ get id(): string;
771
+ get name(): string;
772
+ get colour(): Nullable<string>;
773
+ get start(): Nullable<string>;
774
+ get end(): Nullable<string>;
775
+ get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
776
+ get settings(): com.doordeck.multiplatform.sdk.api.responses.LockSettingsResponse;
777
+ get state(): com.doordeck.multiplatform.sdk.api.responses.LockStateResponse;
778
+ get favourite(): boolean;
779
+ get unlockTime(): Nullable<number>;
780
+ static get Companion(): {
781
+ };
782
+ }
783
+ class LockSettingsResponse {
784
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, usageRequirements: Nullable<com.doordeck.multiplatform.sdk.api.responses.UsageRequirementsResponse> | undefined, unlockBetweenWindow: Nullable<com.doordeck.multiplatform.sdk.api.responses.UnlockBetweenSettingResponse> | undefined, tiles: kotlin.collections.KtList<string>, hidden: boolean, directAccessEndpoints?: kotlin.collections.KtList<string>, capabilities?: kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.api.model.CapabilityType, com.doordeck.multiplatform.sdk.api.model.CapabilityStatus>);
785
+ get unlockTime(): number;
786
+ get permittedAddresses(): kotlin.collections.KtList<string>;
787
+ get defaultName(): string;
788
+ get usageRequirements(): Nullable<com.doordeck.multiplatform.sdk.api.responses.UsageRequirementsResponse>;
789
+ get unlockBetweenWindow(): Nullable<com.doordeck.multiplatform.sdk.api.responses.UnlockBetweenSettingResponse>;
790
+ get tiles(): kotlin.collections.KtList<string>;
791
+ get hidden(): boolean;
792
+ get directAccessEndpoints(): kotlin.collections.KtList<string>;
793
+ get capabilities(): kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.api.model.CapabilityType, com.doordeck.multiplatform.sdk.api.model.CapabilityStatus>;
794
+ static get Companion(): {
795
+ };
796
+ }
797
+ class UsageRequirementsResponse {
798
+ constructor(time?: Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse>>, location?: Nullable<com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse>);
799
+ get time(): Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse>>;
800
+ get location(): Nullable<com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse>;
801
+ static get Companion(): {
802
+ };
803
+ }
804
+ class TimeRequirementResponse {
805
+ constructor(start: string, end: string, timezone: string, days: kotlin.collections.KtList<string>);
806
+ get start(): string;
807
+ get end(): string;
808
+ get timezone(): string;
809
+ get days(): kotlin.collections.KtList<string>;
810
+ static get Companion(): {
811
+ };
812
+ }
813
+ class LocationRequirementResponse {
814
+ constructor(latitude: number, longitude: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>);
815
+ get latitude(): number;
816
+ get longitude(): number;
817
+ get enabled(): Nullable<boolean>;
818
+ get radius(): Nullable<number>;
819
+ get accuracy(): Nullable<number>;
820
+ static get Companion(): {
821
+ };
822
+ }
823
+ class UnlockBetweenSettingResponse {
824
+ constructor(start: string, end: string, timezone: string, days: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>);
825
+ get start(): string;
826
+ get end(): string;
827
+ get timezone(): string;
828
+ get days(): kotlin.collections.KtList<string>;
829
+ get exceptions(): Nullable<kotlin.collections.KtList<string>>;
830
+ static get Companion(): {
831
+ };
832
+ }
833
+ class LockStateResponse {
834
+ constructor(locked: boolean, connected: boolean);
835
+ get locked(): boolean;
836
+ get connected(): boolean;
837
+ static get Companion(): {
838
+ };
839
+ }
840
+ class UserPublicKeyResponse {
841
+ constructor(id: string, publicKey: string);
842
+ get id(): string;
843
+ get publicKey(): string;
844
+ static get Companion(): {
845
+ };
846
+ }
847
+ class ShareableLockResponse {
848
+ constructor(id: string, name: string);
849
+ get id(): string;
850
+ get name(): string;
851
+ static get Companion(): {
852
+ };
853
+ }
854
+ class UserLockResponse {
855
+ constructor(userId: string, email: string, publicKey: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean, role: com.doordeck.multiplatform.sdk.api.model.UserRole, start?: Nullable<number>, end?: Nullable<number>);
856
+ get userId(): string;
857
+ get email(): string;
858
+ get publicKey(): string;
859
+ get displayName(): Nullable<string>;
860
+ get orphan(): boolean;
861
+ get foreign(): boolean;
862
+ get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
863
+ get start(): Nullable<number>;
864
+ get end(): Nullable<number>;
865
+ static get Companion(): {
866
+ };
867
+ }
868
+ class LockUserResponse {
869
+ constructor(userId: string, email: string, publicKey: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean, start: Nullable<number> | undefined, end: Nullable<number> | undefined, devices: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockUserDetailsResponse>);
870
+ get userId(): string;
871
+ get email(): string;
872
+ get publicKey(): string;
873
+ get displayName(): Nullable<string>;
874
+ get orphan(): boolean;
875
+ get foreign(): boolean;
876
+ get start(): Nullable<number>;
877
+ get end(): Nullable<number>;
878
+ get devices(): kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockUserDetailsResponse>;
879
+ static get Companion(): {
880
+ };
881
+ }
882
+ class LockUserDetailsResponse {
883
+ constructor(deviceId: string, role: com.doordeck.multiplatform.sdk.api.model.UserRole, start?: Nullable<number>, end?: Nullable<number>);
884
+ get deviceId(): string;
885
+ get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
886
+ get start(): Nullable<number>;
887
+ get end(): Nullable<number>;
888
+ static get Companion(): {
889
+ };
890
+ }
891
+ class AuditResponse {
892
+ constructor(deviceId: string, timestamp: number, type: com.doordeck.multiplatform.sdk.api.model.AuditEvent, issuer: com.doordeck.multiplatform.sdk.api.responses.AuditIssuerResponse, subject: Nullable<com.doordeck.multiplatform.sdk.api.responses.AuditSubjectResponse> | undefined, rejectionReason: Nullable<string> | undefined, rejected: boolean);
893
+ get deviceId(): string;
894
+ get timestamp(): number;
895
+ get type(): com.doordeck.multiplatform.sdk.api.model.AuditEvent;
896
+ get issuer(): com.doordeck.multiplatform.sdk.api.responses.AuditIssuerResponse;
897
+ get subject(): Nullable<com.doordeck.multiplatform.sdk.api.responses.AuditSubjectResponse>;
898
+ get rejectionReason(): Nullable<string>;
899
+ get rejected(): boolean;
900
+ static get Companion(): {
901
+ };
902
+ }
903
+ class AuditIssuerResponse {
904
+ constructor(userId: string, email?: Nullable<string>, ip?: Nullable<string>);
905
+ get userId(): string;
906
+ get email(): Nullable<string>;
907
+ get ip(): Nullable<string>;
908
+ static get Companion(): {
909
+ };
910
+ }
911
+ class AuditSubjectResponse {
912
+ constructor(userId: string, email: string, displayName: string);
913
+ get userId(): string;
914
+ get email(): string;
915
+ get displayName(): string;
916
+ static get Companion(): {
917
+ };
918
+ }
919
+ }
920
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
921
+ class ApplicationResponse {
922
+ constructor(applicationId: string, name: string, lastUpdated: Nullable<number> | undefined, owners: Nullable<kotlin.collections.KtList<string>> | undefined, corsDomains: Nullable<kotlin.collections.KtList<string>> | undefined, authDomains: Nullable<kotlin.collections.KtList<string>> | undefined, logoUrl: Nullable<string> | undefined, privacyPolicy: Nullable<string> | undefined, mailingAddress: Nullable<string> | undefined, companyName: Nullable<string> | undefined, supportContact: Nullable<string> | undefined, appLink: Nullable<string> | undefined, slug: Nullable<string> | undefined, emailPreferences: com.doordeck.multiplatform.sdk.api.responses.EmailPreferencesResponse, authKeys: kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse>, oauth?: Nullable<com.doordeck.multiplatform.sdk.api.responses.OauthResponse>, isDoordeckApplication?: Nullable<boolean>);
923
+ get applicationId(): string;
924
+ get name(): string;
925
+ get lastUpdated(): Nullable<number>;
926
+ get owners(): Nullable<kotlin.collections.KtList<string>>;
927
+ get corsDomains(): Nullable<kotlin.collections.KtList<string>>;
928
+ get authDomains(): Nullable<kotlin.collections.KtList<string>>;
929
+ get logoUrl(): Nullable<string>;
930
+ get privacyPolicy(): Nullable<string>;
931
+ get mailingAddress(): Nullable<string>;
932
+ get companyName(): Nullable<string>;
933
+ get supportContact(): Nullable<string>;
934
+ get appLink(): Nullable<string>;
935
+ get slug(): Nullable<string>;
936
+ get emailPreferences(): com.doordeck.multiplatform.sdk.api.responses.EmailPreferencesResponse;
937
+ get authKeys(): kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse>;
938
+ get oauth(): Nullable<com.doordeck.multiplatform.sdk.api.responses.OauthResponse>;
939
+ get isDoordeckApplication(): Nullable<boolean>;
940
+ static get Companion(): {
941
+ };
942
+ }
943
+ interface AuthKeyResponse {
944
+ readonly kid: string;
945
+ readonly use: string;
946
+ readonly alg: Nullable<string>;
947
+ readonly ops: Nullable<kotlin.collections.KtList<string>>;
948
+ readonly x5u: Nullable<string>;
949
+ readonly x5t: Nullable<string>;
950
+ readonly x5t256: Nullable<string>;
951
+ readonly x5c: Nullable<kotlin.collections.KtList<string>>;
952
+ readonly exp: Nullable<number>;
953
+ readonly nbf: Nullable<number>;
954
+ readonly iat: Nullable<number>;
955
+ readonly __doNotUseOrImplementIt: {
956
+ readonly "com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse": unique symbol;
957
+ };
958
+ }
959
+ const AuthKeyResponse: {
960
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
961
+ class RsaKeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
962
+ constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<kotlin.collections.KtList<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<kotlin.collections.KtList<string>> | undefined, exp: Nullable<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, e: string, n: string);
963
+ get use(): string;
964
+ get kid(): string;
965
+ get alg(): Nullable<string>;
966
+ get ops(): Nullable<kotlin.collections.KtList<string>>;
967
+ get x5u(): Nullable<string>;
968
+ get x5t(): Nullable<string>;
969
+ get x5t256(): Nullable<string>;
970
+ get x5c(): Nullable<kotlin.collections.KtList<string>>;
971
+ get exp(): Nullable<number>;
972
+ get nbf(): Nullable<number>;
973
+ get iat(): Nullable<number>;
974
+ get e(): string;
975
+ get n(): string;
976
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
977
+ static get Companion(): {
978
+ };
979
+ }
980
+ class EcKeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
981
+ constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<kotlin.collections.KtList<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<kotlin.collections.KtList<string>> | undefined, exp: Nullable<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, crv: string, x: string, y: string);
982
+ get use(): string;
983
+ get kid(): string;
984
+ get alg(): Nullable<string>;
985
+ get ops(): Nullable<kotlin.collections.KtList<string>>;
986
+ get x5u(): Nullable<string>;
987
+ get x5t(): Nullable<string>;
988
+ get x5t256(): Nullable<string>;
989
+ get x5c(): Nullable<kotlin.collections.KtList<string>>;
990
+ get exp(): Nullable<number>;
991
+ get nbf(): Nullable<number>;
992
+ get iat(): Nullable<number>;
993
+ get crv(): string;
994
+ get x(): string;
995
+ get y(): string;
996
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
997
+ static get Companion(): {
998
+ };
999
+ }
1000
+ class Ed25519KeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
1001
+ constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<kotlin.collections.KtList<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<kotlin.collections.KtList<string>> | undefined, exp: Nullable<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, d: Nullable<string> | undefined, crv: string, x: string);
1002
+ get use(): string;
1003
+ get kid(): string;
1004
+ get alg(): Nullable<string>;
1005
+ get ops(): Nullable<kotlin.collections.KtList<string>>;
1006
+ get x5u(): Nullable<string>;
1007
+ get x5t(): Nullable<string>;
1008
+ get x5t256(): Nullable<string>;
1009
+ get x5c(): Nullable<kotlin.collections.KtList<string>>;
1010
+ get exp(): Nullable<number>;
1011
+ get nbf(): Nullable<number>;
1012
+ get iat(): Nullable<number>;
1013
+ get d(): Nullable<string>;
1014
+ get crv(): string;
1015
+ get x(): string;
1016
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1017
+ static get Companion(): {
1018
+ };
1019
+ }
1020
+ class EmailPreferencesResponse {
1021
+ constructor(senderEmail: Nullable<string> | undefined, senderName: Nullable<string> | undefined, primaryColour: string, secondaryColour: string, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.api.responses.EmailCallToActionResponse>);
1022
+ get senderEmail(): Nullable<string>;
1023
+ get senderName(): Nullable<string>;
1024
+ get primaryColour(): string;
1025
+ get secondaryColour(): string;
1026
+ get onlySendEssentialEmails(): Nullable<boolean>;
1027
+ get callToAction(): Nullable<com.doordeck.multiplatform.sdk.api.responses.EmailCallToActionResponse>;
1028
+ static get Companion(): {
1029
+ };
1030
+ }
1031
+ class EmailCallToActionResponse {
1032
+ constructor(actionTarget: string, headline: string, actionText: string);
1033
+ get actionTarget(): string;
1034
+ get headline(): string;
1035
+ get actionText(): string;
1036
+ static get Companion(): {
1037
+ };
1038
+ }
1039
+ class OauthResponse {
1040
+ constructor(authorizationEndpoint: string, clientId: string, grantType: string);
1041
+ get authorizationEndpoint(): string;
1042
+ get clientId(): string;
1043
+ get grantType(): string;
1044
+ static get Companion(): {
1045
+ };
1046
+ }
1047
+ class ApplicationOwnerDetailsResponse {
1048
+ constructor(userId: string, email: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean);
1049
+ get userId(): string;
1050
+ get email(): string;
1051
+ get displayName(): Nullable<string>;
1052
+ get orphan(): boolean;
1053
+ get foreign(): boolean;
1054
+ static get Companion(): {
1055
+ };
1056
+ }
1057
+ class GetLogoUploadUrlResponse {
1058
+ constructor(uploadUrl: string);
1059
+ get uploadUrl(): string;
1060
+ static get Companion(): {
1061
+ };
1062
+ }
1063
+ }
1064
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1065
+ class SiteResponse {
1066
+ constructor(id: string, name: string, colour: string, longitude: number, latitude: number, radius: number, passBackground: string, created: string, updated: string);
1067
+ get id(): string;
1068
+ get name(): string;
1069
+ get colour(): string;
1070
+ get longitude(): number;
1071
+ get latitude(): number;
1072
+ get radius(): number;
1073
+ get passBackground(): string;
1074
+ get created(): string;
1075
+ get updated(): string;
1076
+ static get Companion(): {
1077
+ };
1078
+ }
1079
+ class SiteLocksResponse {
1080
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.api.model.UserRole, settings: com.doordeck.multiplatform.sdk.api.responses.SiteLockSettingsResponse);
1081
+ get id(): string;
1082
+ get name(): string;
1083
+ get colour(): Nullable<string>;
1084
+ get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
1085
+ get settings(): com.doordeck.multiplatform.sdk.api.responses.SiteLockSettingsResponse;
1086
+ static get Companion(): {
1087
+ };
1088
+ }
1089
+ class SiteLockSettingsResponse {
1090
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.api.responses.SiteStateResponse>, favourite?: Nullable<boolean>);
1091
+ get unlockTime(): number;
1092
+ get permittedAddresses(): kotlin.collections.KtList<string>;
1093
+ get defaultName(): string;
1094
+ get tiles(): kotlin.collections.KtList<string>;
1095
+ get state(): Nullable<com.doordeck.multiplatform.sdk.api.responses.SiteStateResponse>;
1096
+ get favourite(): Nullable<boolean>;
1097
+ static get Companion(): {
1098
+ };
1099
+ }
1100
+ class SiteStateResponse {
1101
+ constructor(connected: boolean);
1102
+ get connected(): boolean;
1103
+ static get Companion(): {
1104
+ };
1105
+ }
1106
+ class UserForSiteResponse {
1107
+ constructor(userId: string, email: string, displayName: Nullable<string> | undefined, orphan: boolean);
1108
+ get userId(): string;
1109
+ get email(): string;
1110
+ get displayName(): Nullable<string>;
1111
+ get orphan(): boolean;
1112
+ static get Companion(): {
1113
+ };
1114
+ }
1115
+ }
1116
+ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1117
+ class TileLocksResponse {
1118
+ constructor(siteId: string, tileId: string, deviceIds: kotlin.collections.KtList<string>);
1119
+ get siteId(): string;
1120
+ get tileId(): string;
1121
+ get deviceIds(): kotlin.collections.KtList<string>;
1122
+ static get Companion(): {
1123
+ };
1124
+ }
1125
+ }
1126
+ export declare namespace com.doordeck.multiplatform.sdk.storage {
1127
+ interface SecureStorage {
1128
+ addCloudAuthToken(token: string): void;
1129
+ getCloudAuthToken(): Nullable<string>;
1130
+ addFusionAuthToken(token: string): void;
1131
+ getFusionAuthToken(): Nullable<string>;
1132
+ addPrivateKey(byteArray: Int8Array): void;
1133
+ getPrivateKey(): Nullable<Int8Array>;
1134
+ addUserId(userId: string): void;
1135
+ getUserId(): Nullable<string>;
1136
+ addCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
1137
+ getCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
1138
+ clear(): void;
1139
+ readonly __doNotUseOrImplementIt: {
1140
+ readonly "com.doordeck.multiplatform.sdk.storage.SecureStorage": unique symbol;
1141
+ };
1142
+ }
1143
+ }
1144
+ export declare namespace com.doordeck.multiplatform.sdk.util {
1145
+ abstract class Crypto extends _objects_.com$doordeck$multiplatform$sdk$util$Crypto {
1146
+ private constructor();
1147
+ }
1148
+ namespace Crypto {
1149
+ class KeyPair {
1150
+ constructor(_private: Int8Array, _public: Int8Array);
1151
+ get private(): Int8Array;
1152
+ get public(): Int8Array;
1153
+ }
1154
+ class EncodedKeyPair {
1155
+ constructor(_private: string, _public: string);
1156
+ get private(): string;
1157
+ get public(): string;
1158
+ static get Companion(): {
1159
+ };
1160
+ }
1161
+ }
1162
+ }
1163
+ declare namespace _objects_ {
1164
+ const com$doordeck$multiplatform$sdk$util$Crypto: {
1165
+ generateKeyPair(): com.doordeck.multiplatform.sdk.util.Crypto.KeyPair;
1166
+ generateKeyPairJson(): string;
1167
+ signWithPrivateKey(_this_: string, privateKey: Int8Array): Int8Array;
1168
+ decodeBase64ToByteArray(_this_: string): Int8Array;
1169
+ encodeByteArrayToBase64(_this_: Int8Array): string;
1170
+ certificateChainToString(_this_: kotlin.collections.KtList<string>): string;
1171
+ stringToCertificateChain(_this_: string): kotlin.collections.KtList<string>;
1172
+ } & {
1173
+ new(): any;
1174
+ };
1175
+ }
1176
+ export declare namespace com.doordeck.multiplatform.sdk {
1177
+ const KDoordeckFactory: {
1178
+ initialize(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment): com.doordeck.multiplatform.sdk.Doordeck;
1179
+ initializeWithAuthToken(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment, token: string): com.doordeck.multiplatform.sdk.Doordeck;
1180
+ initializeWithAuthAndRefreshTokens(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment, token: string, refreshToken: string): com.doordeck.multiplatform.sdk.Doordeck;
1181
+ };
1182
+ }
1183
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1184
+ interface AccountResource {
1185
+ refreshToken(refreshToken: string): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1186
+ logout(): Promise<any>;
1187
+ registerEphemeralKey(publicKey: Int8Array): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
1188
+ registerEphemeralKeyWithSecondaryAuthentication(publicKey: Int8Array, method?: Nullable<com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse>;
1189
+ verifyEphemeralKeyRegistration(code: string, privateKey: Int8Array): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
1190
+ reverifyEmail(): Promise<any>;
1191
+ changePassword(oldPassword: string, newPassword: string): Promise<any>;
1192
+ getUserDetails(): Promise<com.doordeck.multiplatform.sdk.api.responses.UserDetailsResponse>;
1193
+ updateUserDetails(displayName: string): Promise<any>;
1194
+ deleteAccount(): Promise<any>;
1195
+ readonly __doNotUseOrImplementIt: {
1196
+ readonly "com.doordeck.multiplatform.sdk.api.AccountResource": unique symbol;
1197
+ };
1198
+ }
1199
+ function account(): com.doordeck.multiplatform.sdk.api.AccountResource;
1200
+ }
1201
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1202
+ interface AccountlessResource {
1203
+ login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1204
+ registration(email: string, password: string, displayName?: Nullable<string>, force?: boolean): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1205
+ verifyEmail(code: string): Promise<any>;
1206
+ readonly __doNotUseOrImplementIt: {
1207
+ readonly "com.doordeck.multiplatform.sdk.api.AccountlessResource": unique symbol;
1208
+ };
1209
+ }
1210
+ function accountless(): com.doordeck.multiplatform.sdk.api.AccountlessResource;
1211
+ }
1212
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1213
+ interface FusionResource {
1214
+ login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.FusionLoginResponse>;
1215
+ getIntegrationType(): Promise<com.doordeck.multiplatform.sdk.api.responses.IntegrationTypeResponse>;
1216
+ getIntegrationConfiguration(type: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.IntegrationConfigurationResponse>>;
1217
+ enableDoor(name: string, siteId: string, controller: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController): Promise<any>;
1218
+ deleteDoor(deviceId: string): Promise<any>;
1219
+ getDoorStatus(deviceId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.DoorStateResponse>;
1220
+ startDoor(deviceId: string): Promise<any>;
1221
+ stopDoor(deviceId: string): Promise<any>;
1222
+ readonly __doNotUseOrImplementIt: {
1223
+ readonly "com.doordeck.multiplatform.sdk.api.FusionResource": unique symbol;
1224
+ };
1225
+ }
1226
+ function fusion(): com.doordeck.multiplatform.sdk.api.FusionResource;
1227
+ }
1228
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1229
+ interface HelperResource {
1230
+ uploadPlatformLogo(applicationId: string, contentType: string, image: Int8Array): Promise<any>;
1231
+ readonly __doNotUseOrImplementIt: {
1232
+ readonly "com.doordeck.multiplatform.sdk.api.HelperResource": unique symbol;
1233
+ };
1234
+ }
1235
+ function helper(): com.doordeck.multiplatform.sdk.api.HelperResource;
1236
+ }
1237
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1238
+ interface LockOperationsResource {
1239
+ getSingleLock(lockId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.LockResponse>;
1240
+ getLockAuditTrail(lockId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.AuditResponse>>;
1241
+ getAuditForUser(userId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.AuditResponse>>;
1242
+ getUsersForLock(lockId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.UserLockResponse>>;
1243
+ getLocksForUser(userId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.LockUserResponse>;
1244
+ updateLockName(lockId: string, name?: Nullable<string>): Promise<any>;
1245
+ updateLockFavourite(lockId: string, favourite?: Nullable<boolean>): Promise<any>;
1246
+ updateLockColour(lockId: string, colour?: Nullable<string>): Promise<any>;
1247
+ updateLockSettingDefaultName(lockId: string, name?: Nullable<string>): Promise<any>;
1248
+ setLockSettingPermittedAddresses(lockId: string, permittedAddresses: kotlin.collections.KtList<string>): Promise<any>;
1249
+ updateLockSettingHidden(lockId: string, hidden: boolean): Promise<any>;
1250
+ setLockSettingTimeRestrictions(lockId: string, times: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.model.LockOperations.TimeRequirement>): Promise<any>;
1251
+ updateLockSettingLocationRestrictions(lockId: string, location?: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.LocationRequirement>): Promise<any>;
1252
+ getUserPublicKey(userEmail: string, visitor?: boolean): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1253
+ getUserPublicKeyByEmail(email: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1254
+ getUserPublicKeyByTelephone(telephone: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1255
+ getUserPublicKeyByLocalKey(localKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1256
+ getUserPublicKeyByForeignKey(foreignKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1257
+ getUserPublicKeyByIdentity(identity: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1258
+ unlockWithContext(lockId: string, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>): Promise<any>;
1259
+ unlock(unlockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockOperation): Promise<any>;
1260
+ shareLockWithContext(lockId: string, shareLock: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock): Promise<any>;
1261
+ shareLock(shareLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLockOperation): Promise<any>;
1262
+ revokeAccessToLockWithContext(lockId: string, users: kotlin.collections.KtList<string>): Promise<any>;
1263
+ revokeAccessToLock(revokeAccessToLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.RevokeAccessToLockOperation): Promise<any>;
1264
+ updateSecureSettingUnlockDurationWithContext(lockId: string, unlockDuration: number): Promise<any>;
1265
+ updateSecureSettingUnlockDuration(updateSecureSettingUnlockDuration: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockDuration): Promise<any>;
1266
+ updateSecureSettingUnlockBetweenWithContext(lockId: string, unlockBetween: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>): Promise<any>;
1267
+ updateSecureSettingUnlockBetween(updateSecureSettingUnlockBetween: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockBetween): Promise<any>;
1268
+ getPinnedLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockResponse>>;
1269
+ getShareableLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ShareableLockResponse>>;
1270
+ readonly __doNotUseOrImplementIt: {
1271
+ readonly "com.doordeck.multiplatform.sdk.api.LockOperationsResource": unique symbol;
1272
+ };
1273
+ }
1274
+ function lockOperations(): com.doordeck.multiplatform.sdk.api.LockOperationsResource;
1275
+ }
1276
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1277
+ interface PlatformResource {
1278
+ createApplication(application: com.doordeck.multiplatform.sdk.api.model.Platform.CreateApplication): Promise<any>;
1279
+ listApplications(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ApplicationResponse>>;
1280
+ getApplication(applicationId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.ApplicationResponse>;
1281
+ updateApplicationName(applicationId: string, name: string): Promise<any>;
1282
+ updateApplicationCompanyName(applicationId: string, companyName: string): Promise<any>;
1283
+ updateApplicationMailingAddress(applicationId: string, mailingAddress: string): Promise<any>;
1284
+ updateApplicationPrivacyPolicy(applicationId: string, privacyPolicy: string): Promise<any>;
1285
+ updateApplicationSupportContact(applicationId: string, supportContact: string): Promise<any>;
1286
+ updateApplicationAppLink(applicationId: string, appLink: string): Promise<any>;
1287
+ updateApplicationEmailPreferences(applicationId: string, emailPreferences: com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences): Promise<any>;
1288
+ updateApplicationLogoUrl(applicationId: string, logoUrl: string): Promise<any>;
1289
+ deleteApplication(applicationId: string): Promise<any>;
1290
+ getLogoUploadUrl(applicationId: string, contentType: string): Promise<com.doordeck.multiplatform.sdk.api.responses.GetLogoUploadUrlResponse>;
1291
+ addAuthKey(applicationId: string, key: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey): Promise<any>;
1292
+ addAuthIssuer(applicationId: string, url: string): Promise<any>;
1293
+ deleteAuthIssuer(applicationId: string, url: string): Promise<any>;
1294
+ addCorsDomain(applicationId: string, url: string): Promise<any>;
1295
+ removeCorsDomain(applicationId: string, url: string): Promise<any>;
1296
+ addApplicationOwner(applicationId: string, userId: string): Promise<any>;
1297
+ removeApplicationOwner(applicationId: string, userId: string): Promise<any>;
1298
+ getApplicationOwnersDetails(applicationId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ApplicationOwnerDetailsResponse>>;
1299
+ readonly __doNotUseOrImplementIt: {
1300
+ readonly "com.doordeck.multiplatform.sdk.api.PlatformResource": unique symbol;
1301
+ };
1302
+ }
1303
+ function platform(): com.doordeck.multiplatform.sdk.api.PlatformResource;
1304
+ }
1305
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1306
+ interface SitesResource {
1307
+ listSites(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.SiteResponse>>;
1308
+ getLocksForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.SiteLocksResponse>>;
1309
+ getUsersForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.UserForSiteResponse>>;
1310
+ readonly __doNotUseOrImplementIt: {
1311
+ readonly "com.doordeck.multiplatform.sdk.api.SitesResource": unique symbol;
1312
+ };
1313
+ }
1314
+ function sites(): com.doordeck.multiplatform.sdk.api.SitesResource;
1315
+ }
1316
+ export declare namespace com.doordeck.multiplatform.sdk.api {
1317
+ interface TilesResource {
1318
+ getLocksBelongingToTile(tileId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.TileLocksResponse>;
1319
+ associateMultipleLocks(tileId: string, siteId: string, lockIds: kotlin.collections.KtList<string>): Promise<any>;
1320
+ readonly __doNotUseOrImplementIt: {
1321
+ readonly "com.doordeck.multiplatform.sdk.api.TilesResource": unique symbol;
1322
+ };
1323
+ }
1324
+ function tiles(): com.doordeck.multiplatform.sdk.api.TilesResource;
1325
+ }