@doordeck/doordeck-headless-sdk 0.71.0 → 0.73.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 (28) hide show
  1. package/README.md +14 -14
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1343 -1343
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
  5. package/kotlin/doordeck-sdk.d.ts +463 -489
  6. package/kotlin/doordeck-sdk.js +28975 -28999
  7. package/kotlin/kotlin-kotlin-stdlib.js +2288 -2789
  8. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +6 -0
  9. package/kotlin/kotlinx-atomicfu.js +19 -19
  10. package/kotlin/kotlinx-coroutines-core.js +2189 -2805
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +2 -198
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +463 -536
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1684 -1733
  15. package/kotlin/ktor-ktor-client-ktor-client-core.js +3074 -3401
  16. package/kotlin/ktor-ktor-client-ktor-client-js.js +6 -0
  17. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +438 -540
  18. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +271 -372
  19. package/kotlin/ktor-ktor-http.js +906 -1012
  20. package/kotlin/ktor-ktor-io.js +880 -1782
  21. package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
  22. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
  23. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
  24. package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
  25. package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
  26. package/kotlin/ktor-ktor-utils.js +668 -758
  27. package/package.json +2 -2
  28. package/kotlin/ktor-ktor-http-ktor-http-cio.js +0 -2009
@@ -19,238 +19,278 @@ export declare namespace kotlin.collections {
19
19
  fromJsMap<K, V>(map: ReadonlyMap<K, V>): kotlin.collections.KtMap<K, V>;
20
20
  };
21
21
  }
22
- export declare namespace io.ktor.client.engine.js {
23
- /** @deprecated */
24
- const initHook: any;
25
- }
26
22
  export declare namespace com.doordeck.multiplatform.sdk {
27
23
  interface Doordeck {
28
- contextManager(): com.doordeck.multiplatform.sdk.api.ContextManager;
24
+ contextManager(): com.doordeck.multiplatform.sdk.context.ContextManager;
29
25
  readonly __doNotUseOrImplementIt: {
30
26
  readonly "com.doordeck.multiplatform.sdk.Doordeck": unique symbol;
31
27
  };
32
28
  }
33
29
  }
34
- export declare namespace com.doordeck.multiplatform.sdk {
35
- class SdkException /* extends kotlin.Exception */ {
36
- constructor(message: string, exception?: Nullable<Error>);
37
- }
38
- class MissingContextFieldException extends com.doordeck.multiplatform.sdk.SdkException {
39
- constructor(message: string);
40
- }
41
- class BatchShareFailedException extends com.doordeck.multiplatform.sdk.SdkException {
42
- constructor(message: string, userIds: kotlin.collections.KtList<string>);
30
+ export declare namespace com.doordeck.multiplatform.sdk.context {
31
+ interface ContextManager {
32
+ setApiEnvironment(apiEnvironment: com.doordeck.multiplatform.sdk.model.data.ApiEnvironment): void;
33
+ getApiEnvironment(): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment;
34
+ setAuthToken(token: string): void;
35
+ getAuthToken(): Nullable<string>;
36
+ isAuthTokenAboutToExpire(): boolean;
37
+ setRefreshToken(token: string): void;
38
+ getRefreshToken(): Nullable<string>;
39
+ setFusionAuthToken(token: string): void;
40
+ getFusionAuthToken(): Nullable<string>;
41
+ setUserId(userId: string): void;
42
+ getUserId(): Nullable<string>;
43
+ setUserEmail(email: string): void;
44
+ getUserEmail(): Nullable<string>;
45
+ setCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
46
+ getCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
47
+ isCertificateChainAboutToExpire(): boolean;
48
+ setKeyPair(publicKey: Int8Array, privateKey: Int8Array): void;
49
+ getKeyPair(): Nullable<com.doordeck.multiplatform.sdk.model.data.Crypto.KeyPair>;
50
+ isKeyPairValid(): boolean;
51
+ setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, publicKey: Int8Array, privateKey: Int8Array): void;
52
+ setOperationContextJson(data: string): void;
53
+ setSecureStorageImpl(secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage): void;
54
+ loadContext(): void;
55
+ storeContext(): void;
56
+ clearContext(): void;
57
+ readonly __doNotUseOrImplementIt: {
58
+ readonly "com.doordeck.multiplatform.sdk.context.ContextManager": unique symbol;
59
+ };
43
60
  }
44
- class BadRequestException extends com.doordeck.multiplatform.sdk.SdkException {
61
+ }
62
+ export declare namespace com.doordeck.multiplatform.sdk.exceptions {
63
+ class BadRequestException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
45
64
  constructor(message: string);
46
65
  }
47
- class UnauthorizedException extends com.doordeck.multiplatform.sdk.SdkException {
66
+ class UnauthorizedException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
48
67
  constructor(message: string);
49
68
  }
50
- class ForbiddenException extends com.doordeck.multiplatform.sdk.SdkException {
69
+ class ForbiddenException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
51
70
  constructor(message: string);
52
71
  }
53
- class NotFoundException extends com.doordeck.multiplatform.sdk.SdkException {
72
+ class NotFoundException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
54
73
  constructor(message: string);
55
74
  }
56
- class MethodNotAllowedException extends com.doordeck.multiplatform.sdk.SdkException {
75
+ class MethodNotAllowedException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
57
76
  constructor(message: string);
58
77
  }
59
- class NotAcceptableException extends com.doordeck.multiplatform.sdk.SdkException {
78
+ class NotAcceptableException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
60
79
  constructor(message: string);
61
80
  }
62
- class ConflictException extends com.doordeck.multiplatform.sdk.SdkException {
81
+ class ConflictException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
63
82
  constructor(message: string);
64
83
  }
65
- class GoneException extends com.doordeck.multiplatform.sdk.SdkException {
84
+ class GoneException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
66
85
  constructor(message: string);
67
86
  }
68
- class LockedException extends com.doordeck.multiplatform.sdk.SdkException {
87
+ class LockedException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
69
88
  constructor(message: string);
70
89
  }
71
- class TooEarlyException extends com.doordeck.multiplatform.sdk.SdkException {
90
+ class TooEarlyException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
72
91
  constructor(message: string);
73
92
  }
74
- class TooManyRequestsException extends com.doordeck.multiplatform.sdk.SdkException {
93
+ class TooManyRequestsException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
75
94
  constructor(message: string);
76
95
  }
77
- class InternalServerErrorException extends com.doordeck.multiplatform.sdk.SdkException {
96
+ class InternalServerErrorException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
78
97
  constructor(message: string);
79
98
  }
80
- class ServiceUnavailableException extends com.doordeck.multiplatform.sdk.SdkException {
99
+ class ServiceUnavailableException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
81
100
  constructor(message: string);
82
101
  }
83
- class GatewayTimeoutException extends com.doordeck.multiplatform.sdk.SdkException {
102
+ class GatewayTimeoutException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
84
103
  constructor(message: string);
85
104
  }
86
105
  }
87
- export declare namespace com.doordeck.multiplatform.sdk.api {
88
- interface ContextManager {
89
- setApiEnvironment(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment): void;
90
- getApiEnvironment(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment;
91
- setAuthToken(token: string): void;
92
- getAuthToken(): Nullable<string>;
93
- isAuthTokenAboutToExpire(): boolean;
94
- setRefreshToken(token: string): void;
95
- getRefreshToken(): Nullable<string>;
96
- setFusionAuthToken(token: string): void;
97
- getFusionAuthToken(): Nullable<string>;
98
- setUserId(userId: string): void;
99
- getUserId(): Nullable<string>;
100
- setUserEmail(email: string): void;
101
- getUserEmail(): Nullable<string>;
102
- setCertificateChain(certificateChain: kotlin.collections.KtList<string>): void;
103
- getCertificateChain(): Nullable<kotlin.collections.KtList<string>>;
104
- isCertificateChainAboutToExpire(): boolean;
105
- setKeyPair(publicKey: Int8Array, privateKey: Int8Array): void;
106
- getKeyPair(): Nullable<com.doordeck.multiplatform.sdk.api.model.Crypto.KeyPair>;
107
- isKeyPairValid(): boolean;
108
- setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, publicKey: Int8Array, privateKey: Int8Array): void;
109
- setOperationContextJson(data: string): void;
110
- setSecureStorageImpl(secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage): void;
111
- loadContext(): void;
112
- storeContext(): void;
113
- clearContext(): void;
114
- readonly __doNotUseOrImplementIt: {
115
- readonly "com.doordeck.multiplatform.sdk.api.ContextManager": unique symbol;
116
- };
106
+ export declare namespace com.doordeck.multiplatform.sdk.exceptions {
107
+ class SdkException /* extends kotlin.Exception */ {
108
+ constructor(message: string, exception?: Nullable<Error>);
117
109
  }
118
- }
119
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
120
- abstract class ApiEnvironment {
121
- private constructor();
122
- static get DEV(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
123
- get name(): "DEV";
124
- get ordinal(): 0;
125
- };
126
- static get STAGING(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
127
- get name(): "STAGING";
128
- get ordinal(): 1;
129
- };
130
- static get PROD(): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment & {
131
- get name(): "PROD";
132
- get ordinal(): 2;
133
- };
134
- get name(): "DEV" | "STAGING" | "PROD";
135
- get ordinal(): 0 | 1 | 2;
136
- get cloudHost(): string;
137
- get fusionHost(): string;
138
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.ApiEnvironment>;
139
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.ApiEnvironment;
110
+ class MissingContextFieldException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
111
+ constructor(message: string);
112
+ }
113
+ class BatchShareFailedException extends com.doordeck.multiplatform.sdk.exceptions.SdkException {
114
+ constructor(message: string, userIds: kotlin.collections.KtList<string>);
140
115
  }
141
116
  }
142
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
117
+ export declare namespace com.doordeck.multiplatform.sdk.model.common {
143
118
  abstract class AuditEvent {
144
119
  private constructor();
145
- static get DOOR_OPEN(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
120
+ static get DOOR_OPEN(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
146
121
  get name(): "DOOR_OPEN";
147
122
  get ordinal(): 0;
148
123
  };
149
- static get DOOR_CLOSE(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
124
+ static get DOOR_CLOSE(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
150
125
  get name(): "DOOR_CLOSE";
151
126
  get ordinal(): 1;
152
127
  };
153
- static get DOOR_UNLOCK(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
128
+ static get DOOR_UNLOCK(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
154
129
  get name(): "DOOR_UNLOCK";
155
130
  get ordinal(): 2;
156
131
  };
157
- static get DOOR_LOCK(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
132
+ static get DOOR_LOCK(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
158
133
  get name(): "DOOR_LOCK";
159
134
  get ordinal(): 3;
160
135
  };
161
- static get OWNER_ASSIGNED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
136
+ static get OWNER_ASSIGNED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
162
137
  get name(): "OWNER_ASSIGNED";
163
138
  get ordinal(): 4;
164
139
  };
165
- static get DEVICE_CONNECTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
140
+ static get DEVICE_CONNECTED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
166
141
  get name(): "DEVICE_CONNECTED";
167
142
  get ordinal(): 5;
168
143
  };
169
- static get DEVICE_DISCONNECTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
144
+ static get DEVICE_DISCONNECTED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
170
145
  get name(): "DEVICE_DISCONNECTED";
171
146
  get ordinal(): 6;
172
147
  };
173
- static get LOCK_SHARED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
148
+ static get LOCK_SHARED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
174
149
  get name(): "LOCK_SHARED";
175
150
  get ordinal(): 7;
176
151
  };
177
- static get LOCK_REVOKED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
152
+ static get LOCK_REVOKED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
178
153
  get name(): "LOCK_REVOKED";
179
154
  get ordinal(): 8;
180
155
  };
181
- static get USER_PROMOTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
156
+ static get USER_PROMOTED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
182
157
  get name(): "USER_PROMOTED";
183
158
  get ordinal(): 9;
184
159
  };
185
- static get USER_DEMOTED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
160
+ static get USER_DEMOTED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
186
161
  get name(): "USER_DEMOTED";
187
162
  get ordinal(): 10;
188
163
  };
189
- static get SETTING_CHANGED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
164
+ static get SETTING_CHANGED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
190
165
  get name(): "SETTING_CHANGED";
191
166
  get ordinal(): 11;
192
167
  };
193
- static get TILE_ASSOCIATED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
168
+ static get TILE_ASSOCIATED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
194
169
  get name(): "TILE_ASSOCIATED";
195
170
  get ordinal(): 12;
196
171
  };
197
- static get TILE_DISASSOCIATED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
172
+ static get TILE_DISASSOCIATED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
198
173
  get name(): "TILE_DISASSOCIATED";
199
174
  get ordinal(): 13;
200
175
  };
201
- static get DEVICE_DECOMMISSIONED(): com.doordeck.multiplatform.sdk.api.model.AuditEvent & {
176
+ static get DEVICE_DECOMMISSIONED(): com.doordeck.multiplatform.sdk.model.common.AuditEvent & {
202
177
  get name(): "DEVICE_DECOMMISSIONED";
203
178
  get ordinal(): 14;
204
179
  };
205
180
  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";
206
181
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;
207
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.AuditEvent>;
208
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.AuditEvent;
182
+ static values(): Array<com.doordeck.multiplatform.sdk.model.common.AuditEvent>;
183
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.AuditEvent;
209
184
  static get Companion(): {
210
185
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
211
186
  }
212
187
  }
213
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
188
+ export declare namespace com.doordeck.multiplatform.sdk.model.common {
214
189
  abstract class CapabilityStatus {
215
190
  private constructor();
216
- static get SUPPORTED(): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus & {
191
+ static get SUPPORTED(): com.doordeck.multiplatform.sdk.model.common.CapabilityStatus & {
217
192
  get name(): "SUPPORTED";
218
193
  get ordinal(): 0;
219
194
  };
220
- static get UNSUPPORTED(): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus & {
195
+ static get UNSUPPORTED(): com.doordeck.multiplatform.sdk.model.common.CapabilityStatus & {
221
196
  get name(): "UNSUPPORTED";
222
197
  get ordinal(): 1;
223
198
  };
224
199
  get name(): "SUPPORTED" | "UNSUPPORTED";
225
200
  get ordinal(): 0 | 1;
226
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.CapabilityStatus>;
227
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.CapabilityStatus;
201
+ static values(): Array<com.doordeck.multiplatform.sdk.model.common.CapabilityStatus>;
202
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityStatus;
228
203
  static get Companion(): {
229
204
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
230
205
  }
231
206
  abstract class CapabilityType {
232
207
  private constructor();
233
- static get CONFIGURABLE_UNLOCK_DURATION(): com.doordeck.multiplatform.sdk.api.model.CapabilityType & {
208
+ static get CONFIGURABLE_UNLOCK_DURATION(): com.doordeck.multiplatform.sdk.model.common.CapabilityType & {
234
209
  get name(): "CONFIGURABLE_UNLOCK_DURATION";
235
210
  get ordinal(): 0;
236
211
  };
237
- static get OPEN_HOURS(): com.doordeck.multiplatform.sdk.api.model.CapabilityType & {
212
+ static get OPEN_HOURS(): com.doordeck.multiplatform.sdk.model.common.CapabilityType & {
238
213
  get name(): "OPEN_HOURS";
239
214
  get ordinal(): 1;
240
215
  };
241
- static get BATCH_SHARING_25(): com.doordeck.multiplatform.sdk.api.model.CapabilityType & {
216
+ static get BATCH_SHARING_25(): com.doordeck.multiplatform.sdk.model.common.CapabilityType & {
242
217
  get name(): "BATCH_SHARING_25";
243
218
  get ordinal(): 2;
244
219
  };
245
220
  get name(): "CONFIGURABLE_UNLOCK_DURATION" | "OPEN_HOURS" | "BATCH_SHARING_25";
246
221
  get ordinal(): 0 | 1 | 2;
247
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.CapabilityType>;
248
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.CapabilityType;
222
+ static values(): Array<com.doordeck.multiplatform.sdk.model.common.CapabilityType>;
223
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.CapabilityType;
224
+ static get Companion(): {
225
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
226
+ }
227
+ }
228
+ export declare namespace com.doordeck.multiplatform.sdk.model.common {
229
+ abstract class TwoFactorMethod {
230
+ private constructor();
231
+ static get EMAIL(): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod & {
232
+ get name(): "EMAIL";
233
+ get ordinal(): 0;
234
+ };
235
+ static get TELEPHONE(): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod & {
236
+ get name(): "TELEPHONE";
237
+ get ordinal(): 1;
238
+ };
239
+ static get SMS(): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod & {
240
+ get name(): "SMS";
241
+ get ordinal(): 2;
242
+ };
243
+ get name(): "EMAIL" | "TELEPHONE" | "SMS";
244
+ get ordinal(): 0 | 1 | 2;
245
+ static values(): Array<com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod>;
246
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod;
247
+ static get Companion(): {
248
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
249
+ }
250
+ }
251
+ export declare namespace com.doordeck.multiplatform.sdk.model.common {
252
+ abstract class UserRole {
253
+ private constructor();
254
+ static get ADMIN(): com.doordeck.multiplatform.sdk.model.common.UserRole & {
255
+ get name(): "ADMIN";
256
+ get ordinal(): 0;
257
+ };
258
+ static get USER(): com.doordeck.multiplatform.sdk.model.common.UserRole & {
259
+ get name(): "USER";
260
+ get ordinal(): 1;
261
+ };
262
+ get name(): "ADMIN" | "USER";
263
+ get ordinal(): 0 | 1;
264
+ static values(): Array<com.doordeck.multiplatform.sdk.model.common.UserRole>;
265
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.common.UserRole;
249
266
  static get Companion(): {
250
267
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
251
268
  }
252
269
  }
253
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
270
+ export declare namespace com.doordeck.multiplatform.sdk.model.data {
271
+ abstract class ApiEnvironment {
272
+ private constructor();
273
+ static get DEV(): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment & {
274
+ get name(): "DEV";
275
+ get ordinal(): 0;
276
+ };
277
+ static get STAGING(): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment & {
278
+ get name(): "STAGING";
279
+ get ordinal(): 1;
280
+ };
281
+ static get PROD(): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment & {
282
+ get name(): "PROD";
283
+ get ordinal(): 2;
284
+ };
285
+ get name(): "DEV" | "STAGING" | "PROD";
286
+ get ordinal(): 0 | 1 | 2;
287
+ get cloudHost(): string;
288
+ get fusionHost(): string;
289
+ static values(): Array<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
290
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.data.ApiEnvironment;
291
+ }
292
+ }
293
+ export declare namespace com.doordeck.multiplatform.sdk.model.data {
254
294
  abstract class Crypto {
255
295
  private constructor();
256
296
  }
@@ -259,7 +299,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
259
299
  constructor(_private: Int8Array, _public: Int8Array);
260
300
  get private(): Int8Array;
261
301
  get public(): Int8Array;
262
- copy(_private?: Int8Array, _public?: Int8Array): com.doordeck.multiplatform.sdk.api.model.Crypto.KeyPair;
302
+ copy(_private?: Int8Array, _public?: Int8Array): com.doordeck.multiplatform.sdk.model.data.Crypto.KeyPair;
263
303
  toString(): string;
264
304
  hashCode(): number;
265
305
  equals(other: Nullable<any>): boolean;
@@ -268,7 +308,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
268
308
  constructor(_private: string, _public: string);
269
309
  get private(): string;
270
310
  get public(): string;
271
- copy(_private?: string, _public?: string): com.doordeck.multiplatform.sdk.api.model.Crypto.EncodedKeyPair;
311
+ copy(_private?: string, _public?: string): com.doordeck.multiplatform.sdk.model.data.Crypto.EncodedKeyPair;
272
312
  toString(): string;
273
313
  hashCode(): number;
274
314
  equals(other: Nullable<any>): boolean;
@@ -277,123 +317,123 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
277
317
  }
278
318
  }
279
319
  }
280
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
320
+ export declare namespace com.doordeck.multiplatform.sdk.model.data {
281
321
  abstract class Fusion {
282
322
  private constructor();
283
323
  }
284
324
  namespace Fusion {
285
325
  interface LockController {
286
326
  readonly __doNotUseOrImplementIt: {
287
- readonly "com.doordeck.multiplatform.sdk.api.model.Fusion.LockController": unique symbol;
327
+ readonly "com.doordeck.multiplatform.sdk.model.data.Fusion.LockController": unique symbol;
288
328
  };
289
329
  }
290
330
  const LockController: {
291
331
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
292
- class AlpetaController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
332
+ class AlpetaController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
293
333
  constructor(username: string, password: string, doorId: number, baseUrl?: Nullable<string>);
294
334
  get username(): string;
295
335
  get password(): string;
296
336
  get doorId(): number;
297
337
  get baseUrl(): Nullable<string>;
298
- copy(username?: string, password?: string, doorId?: number, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.api.model.Fusion.AlpetaController;
338
+ copy(username?: string, password?: string, doorId?: number, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.model.data.Fusion.AlpetaController;
299
339
  toString(): string;
300
340
  hashCode(): number;
301
341
  equals(other: Nullable<any>): boolean;
302
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
342
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
303
343
  static get Companion(): {
304
344
  };
305
345
  }
306
- class AmagController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
346
+ class AmagController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
307
347
  constructor(username: string, password: string, doorId: number, baseUrl?: Nullable<string>);
308
348
  get username(): string;
309
349
  get password(): string;
310
350
  get doorId(): number;
311
351
  get baseUrl(): Nullable<string>;
312
- copy(username?: string, password?: string, doorId?: number, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.api.model.Fusion.AmagController;
352
+ copy(username?: string, password?: string, doorId?: number, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.model.data.Fusion.AmagController;
313
353
  toString(): string;
314
354
  hashCode(): number;
315
355
  equals(other: Nullable<any>): boolean;
316
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
356
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
317
357
  static get Companion(): {
318
358
  };
319
359
  }
320
- class AssaAbloyController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
360
+ class AssaAbloyController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
321
361
  constructor(baseUrl: string, doorId: string);
322
362
  get baseUrl(): string;
323
363
  get doorId(): string;
324
- copy(baseUrl?: string, doorId?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.AssaAbloyController;
364
+ copy(baseUrl?: string, doorId?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.AssaAbloyController;
325
365
  toString(): string;
326
366
  hashCode(): number;
327
367
  equals(other: Nullable<any>): boolean;
328
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
368
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
329
369
  static get Companion(): {
330
370
  };
331
371
  }
332
- class AvigilonController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
372
+ class AvigilonController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
333
373
  constructor(baseUrl: string, username: string, password: string, doorId: string);
334
374
  get baseUrl(): string;
335
375
  get username(): string;
336
376
  get password(): string;
337
377
  get doorId(): string;
338
- copy(baseUrl?: string, username?: string, password?: string, doorId?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.AvigilonController;
378
+ copy(baseUrl?: string, username?: string, password?: string, doorId?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.AvigilonController;
339
379
  toString(): string;
340
380
  hashCode(): number;
341
381
  equals(other: Nullable<any>): boolean;
342
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
382
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
343
383
  static get Companion(): {
344
384
  };
345
385
  }
346
- class AxisController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
386
+ class AxisController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
347
387
  constructor(baseUrl: string, doorIdentifier: string);
348
388
  get baseUrl(): string;
349
389
  get doorIdentifier(): string;
350
- copy(baseUrl?: string, doorIdentifier?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.AxisController;
390
+ copy(baseUrl?: string, doorIdentifier?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.AxisController;
351
391
  toString(): string;
352
392
  hashCode(): number;
353
393
  equals(other: Nullable<any>): boolean;
354
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
394
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
355
395
  static get Companion(): {
356
396
  };
357
397
  }
358
- class DemoController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
398
+ class DemoController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
359
399
  constructor(port?: number);
360
400
  get port(): number;
361
- copy(port?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.DemoController;
401
+ copy(port?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.DemoController;
362
402
  toString(): string;
363
403
  hashCode(): number;
364
404
  equals(other: Nullable<any>): boolean;
365
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
405
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
366
406
  static get Companion(): {
367
407
  };
368
408
  }
369
- class GallagherController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
409
+ class GallagherController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
370
410
  constructor(baseUrl: Nullable<string> | undefined, apiKey: string, doorId: string);
371
411
  get baseUrl(): Nullable<string>;
372
412
  get apiKey(): string;
373
413
  get doorId(): string;
374
- copy(baseUrl?: Nullable<string>, apiKey?: string, doorId?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.GallagherController;
414
+ copy(baseUrl?: Nullable<string>, apiKey?: string, doorId?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.GallagherController;
375
415
  toString(): string;
376
416
  hashCode(): number;
377
417
  equals(other: Nullable<any>): boolean;
378
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
418
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
379
419
  static get Companion(): {
380
420
  };
381
421
  }
382
- class GenetecController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
422
+ class GenetecController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
383
423
  constructor(baseUrl: string, username: string, password: string, doorId: string);
384
424
  get baseUrl(): string;
385
425
  get username(): string;
386
426
  get password(): string;
387
427
  get doorId(): string;
388
- copy(baseUrl?: string, username?: string, password?: string, doorId?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.GenetecController;
428
+ copy(baseUrl?: string, username?: string, password?: string, doorId?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.GenetecController;
389
429
  toString(): string;
390
430
  hashCode(): number;
391
431
  equals(other: Nullable<any>): boolean;
392
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
432
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
393
433
  static get Companion(): {
394
434
  };
395
435
  }
396
- class LenelController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
436
+ class LenelController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
397
437
  constructor(baseUrl: string, username: string, password: string, directoryId: string, panelId: string, readerId: string);
398
438
  get baseUrl(): string;
399
439
  get username(): string;
@@ -401,91 +441,91 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
401
441
  get directoryId(): string;
402
442
  get panelId(): string;
403
443
  get readerId(): string;
404
- copy(baseUrl?: string, username?: string, password?: string, directoryId?: string, panelId?: string, readerId?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.LenelController;
444
+ copy(baseUrl?: string, username?: string, password?: string, directoryId?: string, panelId?: string, readerId?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.LenelController;
405
445
  toString(): string;
406
446
  hashCode(): number;
407
447
  equals(other: Nullable<any>): boolean;
408
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
448
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
409
449
  static get Companion(): {
410
450
  };
411
451
  }
412
- class MitrefinchController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
452
+ class MitrefinchController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
413
453
  constructor(host: string, output: number);
414
454
  get host(): string;
415
455
  get output(): number;
416
- copy(host?: string, output?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.MitrefinchController;
456
+ copy(host?: string, output?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.MitrefinchController;
417
457
  toString(): string;
418
458
  hashCode(): number;
419
459
  equals(other: Nullable<any>): boolean;
420
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
460
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
421
461
  static get Companion(): {
422
462
  };
423
463
  }
424
- class PaxtonNet2Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
464
+ class PaxtonNet2Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
425
465
  constructor(host: string, address: string, output: number);
426
466
  get host(): string;
427
467
  get address(): string;
428
468
  get output(): number;
429
- copy(host?: string, address?: string, output?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.PaxtonNet2Controller;
469
+ copy(host?: string, address?: string, output?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.PaxtonNet2Controller;
430
470
  toString(): string;
431
471
  hashCode(): number;
432
472
  equals(other: Nullable<any>): boolean;
433
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
473
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
434
474
  static get Companion(): {
435
475
  };
436
476
  }
437
- class Paxton10Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
477
+ class Paxton10Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
438
478
  constructor(baseUrl: string, username: string, password: string, applianceId: number);
439
479
  get baseUrl(): string;
440
480
  get username(): string;
441
481
  get password(): string;
442
482
  get applianceId(): number;
443
- copy(baseUrl?: string, username?: string, password?: string, applianceId?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.Paxton10Controller;
483
+ copy(baseUrl?: string, username?: string, password?: string, applianceId?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.Paxton10Controller;
444
484
  toString(): string;
445
485
  hashCode(): number;
446
486
  equals(other: Nullable<any>): boolean;
447
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
487
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
448
488
  static get Companion(): {
449
489
  };
450
490
  }
451
- class IntegraV1Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
491
+ class IntegraV1Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
452
492
  constructor(username: string, password: string, controllerId: number);
453
493
  get username(): string;
454
494
  get password(): string;
455
495
  get controllerId(): number;
456
- copy(username?: string, password?: string, controllerId?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.IntegraV1Controller;
496
+ copy(username?: string, password?: string, controllerId?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.IntegraV1Controller;
457
497
  toString(): string;
458
498
  hashCode(): number;
459
499
  equals(other: Nullable<any>): boolean;
460
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
500
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
461
501
  static get Companion(): {
462
502
  };
463
503
  }
464
- class IntegraV2Controller implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
504
+ class IntegraV2Controller implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
465
505
  constructor(baseUrl: string, sessionId: string, controllerId: number, cardholderId: number, pinCode?: Nullable<number>);
466
506
  get baseUrl(): string;
467
507
  get sessionId(): string;
468
508
  get controllerId(): number;
469
509
  get cardholderId(): number;
470
510
  get pinCode(): Nullable<number>;
471
- copy(baseUrl?: string, sessionId?: string, controllerId?: number, cardholderId?: number, pinCode?: Nullable<number>): com.doordeck.multiplatform.sdk.api.model.Fusion.IntegraV2Controller;
511
+ copy(baseUrl?: string, sessionId?: string, controllerId?: number, cardholderId?: number, pinCode?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.Fusion.IntegraV2Controller;
472
512
  toString(): string;
473
513
  hashCode(): number;
474
514
  equals(other: Nullable<any>): boolean;
475
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
515
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
476
516
  static get Companion(): {
477
517
  };
478
518
  }
479
- class PacController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
480
- constructor(dataSource: com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource, outputChannel: number, controllerSerial: number);
481
- get dataSource(): com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource;
519
+ class PacController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
520
+ constructor(dataSource: com.doordeck.multiplatform.sdk.model.data.Fusion.DataSource, outputChannel: number, controllerSerial: number);
521
+ get dataSource(): com.doordeck.multiplatform.sdk.model.data.Fusion.DataSource;
482
522
  get outputChannel(): number;
483
523
  get controllerSerial(): number;
484
- copy(dataSource?: com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource, outputChannel?: number, controllerSerial?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.PacController;
524
+ copy(dataSource?: com.doordeck.multiplatform.sdk.model.data.Fusion.DataSource, outputChannel?: number, controllerSerial?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.PacController;
485
525
  toString(): string;
486
526
  hashCode(): number;
487
527
  equals(other: Nullable<any>): boolean;
488
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
528
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
489
529
  static get Companion(): {
490
530
  };
491
531
  }
@@ -495,75 +535,75 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
495
535
  get url(): string;
496
536
  get user(): string;
497
537
  get password(): string;
498
- copy(driverClass?: string, url?: string, user?: string, password?: string): com.doordeck.multiplatform.sdk.api.model.Fusion.DataSource;
538
+ copy(driverClass?: string, url?: string, user?: string, password?: string): com.doordeck.multiplatform.sdk.model.data.Fusion.DataSource;
499
539
  toString(): string;
500
540
  hashCode(): number;
501
541
  equals(other: Nullable<any>): boolean;
502
542
  static get Companion(): {
503
543
  };
504
544
  }
505
- class TdsiExgardeController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
545
+ class TdsiExgardeController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
506
546
  constructor(dbUrl: Nullable<string> | undefined, username: string, password: string, doorId: number);
507
547
  get dbUrl(): Nullable<string>;
508
548
  get username(): string;
509
549
  get password(): string;
510
550
  get doorId(): number;
511
- copy(dbUrl?: Nullable<string>, username?: string, password?: string, doorId?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.TdsiExgardeController;
551
+ copy(dbUrl?: Nullable<string>, username?: string, password?: string, doorId?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.TdsiExgardeController;
512
552
  toString(): string;
513
553
  hashCode(): number;
514
554
  equals(other: Nullable<any>): boolean;
515
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
555
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
516
556
  static get Companion(): {
517
557
  };
518
558
  }
519
- class TdsiGardisController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
559
+ class TdsiGardisController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
520
560
  constructor(host: string, username: string, password: string, doorId: number);
521
561
  get host(): string;
522
562
  get username(): string;
523
563
  get password(): string;
524
564
  get doorId(): number;
525
- copy(host?: string, username?: string, password?: string, doorId?: number): com.doordeck.multiplatform.sdk.api.model.Fusion.TdsiGardisController;
565
+ copy(host?: string, username?: string, password?: string, doorId?: number): com.doordeck.multiplatform.sdk.model.data.Fusion.TdsiGardisController;
526
566
  toString(): string;
527
567
  hashCode(): number;
528
568
  equals(other: Nullable<any>): boolean;
529
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
569
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
530
570
  static get Companion(): {
531
571
  };
532
572
  }
533
- class ZktecoController implements com.doordeck.multiplatform.sdk.api.model.Fusion.LockController {
534
- constructor(clientSecret: string, doorId: string, baseUrl: Nullable<string> | undefined, entityType: com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType);
573
+ class ZktecoController implements com.doordeck.multiplatform.sdk.model.data.Fusion.LockController {
574
+ constructor(clientSecret: string, doorId: string, baseUrl: Nullable<string> | undefined, entityType: com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType);
535
575
  get clientSecret(): string;
536
576
  get doorId(): string;
537
577
  get baseUrl(): Nullable<string>;
538
- get entityType(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType;
539
- copy(clientSecret?: string, doorId?: string, baseUrl?: Nullable<string>, entityType?: com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoController;
578
+ get entityType(): com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType;
579
+ copy(clientSecret?: string, doorId?: string, baseUrl?: Nullable<string>, entityType?: com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType): com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoController;
540
580
  toString(): string;
541
581
  hashCode(): number;
542
582
  equals(other: Nullable<any>): boolean;
543
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController["__doNotUseOrImplementIt"];
583
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController["__doNotUseOrImplementIt"];
544
584
  static get Companion(): {
545
585
  };
546
586
  }
547
587
  abstract class ZktecoEntityType {
548
588
  private constructor();
549
- static get DOOR(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType & {
589
+ static get DOOR(): com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType & {
550
590
  get name(): "DOOR";
551
591
  get ordinal(): 0;
552
592
  };
553
- static get FLOOR(): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType & {
593
+ static get FLOOR(): com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType & {
554
594
  get name(): "FLOOR";
555
595
  get ordinal(): 1;
556
596
  };
557
597
  get name(): "DOOR" | "FLOOR";
558
598
  get ordinal(): 0 | 1;
559
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType>;
560
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.Fusion.ZktecoEntityType;
599
+ static values(): Array<com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType>;
600
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.data.Fusion.ZktecoEntityType;
561
601
  static get Companion(): {
562
602
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
563
603
  }
564
604
  }
565
605
  }
566
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
606
+ export declare namespace com.doordeck.multiplatform.sdk.model.data {
567
607
  abstract class LockOperations {
568
608
  private constructor();
569
609
  }
@@ -574,7 +614,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
574
614
  get end(): string;
575
615
  get timezone(): string;
576
616
  get days(): kotlin.collections.KtList<string>;
577
- copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.api.model.LockOperations.TimeRequirement;
617
+ copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement;
578
618
  toString(): string;
579
619
  hashCode(): number;
580
620
  equals(other: Nullable<any>): boolean;
@@ -586,7 +626,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
586
626
  get enabled(): Nullable<boolean>;
587
627
  get radius(): Nullable<number>;
588
628
  get accuracy(): Nullable<number>;
589
- copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.api.model.LockOperations.LocationRequirement;
629
+ copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement;
590
630
  toString(): string;
591
631
  hashCode(): number;
592
632
  equals(other: Nullable<any>): boolean;
@@ -598,82 +638,82 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
598
638
  get timezone(): string;
599
639
  get days(): kotlin.collections.KtList<string>;
600
640
  get exceptions(): Nullable<kotlin.collections.KtList<string>>;
601
- copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween;
641
+ copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween;
602
642
  toString(): string;
603
643
  hashCode(): number;
604
644
  equals(other: Nullable<any>): boolean;
605
645
  }
606
- class UnlockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
607
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>);
608
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
646
+ class UnlockOperation implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
647
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>);
648
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
609
649
  get directAccessEndpoints(): Nullable<kotlin.collections.KtList<string>>;
610
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockOperation;
650
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockOperation;
611
651
  toString(): string;
612
652
  hashCode(): number;
613
653
  equals(other: Nullable<any>): boolean;
614
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
654
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
615
655
  }
616
- class ShareLockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
617
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, shareLock: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock);
618
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
619
- get shareLock(): com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock;
620
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, shareLock?: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock): com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLockOperation;
656
+ class ShareLockOperation implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
657
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, shareLock: com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock);
658
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
659
+ get shareLock(): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
660
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, shareLock?: com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLockOperation;
621
661
  toString(): string;
622
662
  hashCode(): number;
623
663
  equals(other: Nullable<any>): boolean;
624
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
664
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
625
665
  }
626
666
  class ShareLock {
627
- constructor(targetUserId: string, targetUserRole: com.doordeck.multiplatform.sdk.api.model.UserRole, targetUserPublicKey: Int8Array, start?: Nullable<number>, end?: Nullable<number>);
667
+ constructor(targetUserId: string, targetUserRole: com.doordeck.multiplatform.sdk.model.common.UserRole, targetUserPublicKey: Int8Array, start?: Nullable<number>, end?: Nullable<number>);
628
668
  get targetUserId(): string;
629
- get targetUserRole(): com.doordeck.multiplatform.sdk.api.model.UserRole;
669
+ get targetUserRole(): com.doordeck.multiplatform.sdk.model.common.UserRole;
630
670
  get targetUserPublicKey(): Int8Array;
631
671
  get start(): Nullable<number>;
632
672
  get end(): Nullable<number>;
633
- copy(targetUserId?: string, targetUserRole?: com.doordeck.multiplatform.sdk.api.model.UserRole, targetUserPublicKey?: Int8Array, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock;
673
+ copy(targetUserId?: string, targetUserRole?: com.doordeck.multiplatform.sdk.model.common.UserRole, targetUserPublicKey?: Int8Array, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
634
674
  toString(): string;
635
675
  hashCode(): number;
636
676
  equals(other: Nullable<any>): boolean;
637
677
  }
638
- class BatchShareLockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
639
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, users: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock>);
640
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
641
- get users(): kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock>;
642
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, users?: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock>): com.doordeck.multiplatform.sdk.api.model.LockOperations.BatchShareLockOperation;
678
+ class BatchShareLockOperation implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
679
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, users: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock>);
680
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
681
+ get users(): kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock>;
682
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, users?: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock>): com.doordeck.multiplatform.sdk.model.data.LockOperations.BatchShareLockOperation;
643
683
  toString(): string;
644
684
  hashCode(): number;
645
685
  equals(other: Nullable<any>): boolean;
646
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
686
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
647
687
  }
648
- class RevokeAccessToLockOperation implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
649
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, users: kotlin.collections.KtList<string>);
650
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
688
+ class RevokeAccessToLockOperation implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
689
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, users: kotlin.collections.KtList<string>);
690
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
651
691
  get users(): kotlin.collections.KtList<string>;
652
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, users?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.api.model.LockOperations.RevokeAccessToLockOperation;
692
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, users?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.model.data.LockOperations.RevokeAccessToLockOperation;
653
693
  toString(): string;
654
694
  hashCode(): number;
655
695
  equals(other: Nullable<any>): boolean;
656
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
696
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
657
697
  }
658
- class UpdateSecureSettingUnlockDuration implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
659
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockDuration: number);
660
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
698
+ class UpdateSecureSettingUnlockDuration implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
699
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, unlockDuration: number);
700
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
661
701
  get unlockDuration(): number;
662
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockDuration?: number): com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockDuration;
702
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, unlockDuration?: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.UpdateSecureSettingUnlockDuration;
663
703
  toString(): string;
664
704
  hashCode(): number;
665
705
  equals(other: Nullable<any>): boolean;
666
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
706
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
667
707
  }
668
- class UpdateSecureSettingUnlockBetween implements com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation {
669
- constructor(baseOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockBetween?: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>);
670
- get baseOperation(): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
671
- get unlockBetween(): Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>;
672
- copy(baseOperation?: com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation, unlockBetween?: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockBetween>): com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockBetween;
708
+ class UpdateSecureSettingUnlockBetween implements com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation {
709
+ constructor(baseOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, unlockBetween?: Nullable<com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween>);
710
+ get baseOperation(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
711
+ get unlockBetween(): Nullable<com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween>;
712
+ copy(baseOperation?: com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation, unlockBetween?: Nullable<com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UpdateSecureSettingUnlockBetween;
673
713
  toString(): string;
674
714
  hashCode(): number;
675
715
  equals(other: Nullable<any>): boolean;
676
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation["__doNotUseOrImplementIt"];
716
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation["__doNotUseOrImplementIt"];
677
717
  }
678
718
  class BaseOperation {
679
719
  constructor(userId: Nullable<string> | undefined, userCertificateChain: Nullable<kotlin.collections.KtList<string>> | undefined, userPrivateKey: Nullable<Int8Array> | undefined, lockId: string, notBefore?: number, issuedAt?: number, expiresAt?: number, jti?: string);
@@ -685,47 +725,47 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
685
725
  get issuedAt(): number;
686
726
  get expiresAt(): number;
687
727
  get jti(): string;
688
- copy(userId?: Nullable<string>, userCertificateChain?: Nullable<kotlin.collections.KtList<string>>, userPrivateKey?: Nullable<Int8Array>, lockId?: string, notBefore?: number, issuedAt?: number, expiresAt?: number, jti?: string): com.doordeck.multiplatform.sdk.api.model.LockOperations.BaseOperation;
728
+ copy(userId?: Nullable<string>, userCertificateChain?: Nullable<kotlin.collections.KtList<string>>, userPrivateKey?: Nullable<Int8Array>, lockId?: string, notBefore?: number, issuedAt?: number, expiresAt?: number, jti?: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
689
729
  toString(): string;
690
730
  hashCode(): number;
691
731
  equals(other: Nullable<any>): boolean;
692
732
  }
693
733
  interface Operation {
694
734
  readonly __doNotUseOrImplementIt: {
695
- readonly "com.doordeck.multiplatform.sdk.api.model.LockOperations.Operation": unique symbol;
735
+ readonly "com.doordeck.multiplatform.sdk.model.data.LockOperations.Operation": unique symbol;
696
736
  };
697
737
  }
698
738
  }
699
739
  }
700
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
740
+ export declare namespace com.doordeck.multiplatform.sdk.model.data {
701
741
  abstract class Platform {
702
742
  private constructor();
703
743
  }
704
744
  namespace Platform {
705
745
  class CreateApplication {
706
- 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>);
746
+ constructor(name: string, companyName: string, mailingAddress: string, privacyPolicy?: Nullable<string>, supportContact?: Nullable<string>, appLink?: Nullable<string>, emailPreferences?: Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailPreferences>, logoUrl?: Nullable<string>);
707
747
  get name(): string;
708
748
  get companyName(): string;
709
749
  get mailingAddress(): string;
710
750
  get privacyPolicy(): Nullable<string>;
711
751
  get supportContact(): Nullable<string>;
712
752
  get appLink(): Nullable<string>;
713
- get emailPreferences(): Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences>;
753
+ get emailPreferences(): Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailPreferences>;
714
754
  get logoUrl(): Nullable<string>;
715
- copy(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>): com.doordeck.multiplatform.sdk.api.model.Platform.CreateApplication;
755
+ copy(name?: string, companyName?: string, mailingAddress?: string, privacyPolicy?: Nullable<string>, supportContact?: Nullable<string>, appLink?: Nullable<string>, emailPreferences?: Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailPreferences>, logoUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.model.data.Platform.CreateApplication;
716
756
  toString(): string;
717
757
  hashCode(): number;
718
758
  equals(other: Nullable<any>): boolean;
719
759
  }
720
760
  class EmailPreferences {
721
- 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>);
761
+ constructor(senderEmail?: Nullable<string>, senderName?: Nullable<string>, primaryColour?: Nullable<string>, secondaryColour?: Nullable<string>, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailCallToAction>);
722
762
  get senderEmail(): Nullable<string>;
723
763
  get senderName(): Nullable<string>;
724
764
  get primaryColour(): Nullable<string>;
725
765
  get secondaryColour(): Nullable<string>;
726
766
  get onlySendEssentialEmails(): Nullable<boolean>;
727
- get callToAction(): Nullable<com.doordeck.multiplatform.sdk.api.model.Platform.EmailCallToAction>;
728
- copy(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>): com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences;
767
+ get callToAction(): Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailCallToAction>;
768
+ copy(senderEmail?: Nullable<string>, senderName?: Nullable<string>, primaryColour?: Nullable<string>, secondaryColour?: Nullable<string>, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.model.data.Platform.EmailCallToAction>): com.doordeck.multiplatform.sdk.model.data.Platform.EmailPreferences;
729
769
  toString(): string;
730
770
  hashCode(): number;
731
771
  equals(other: Nullable<any>): boolean;
@@ -735,7 +775,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
735
775
  get actionTarget(): string;
736
776
  get headline(): string;
737
777
  get actionText(): string;
738
- copy(actionTarget?: string, headline?: string, actionText?: string): com.doordeck.multiplatform.sdk.api.model.Platform.EmailCallToAction;
778
+ copy(actionTarget?: string, headline?: string, actionText?: string): com.doordeck.multiplatform.sdk.model.data.Platform.EmailCallToAction;
739
779
  toString(): string;
740
780
  hashCode(): number;
741
781
  equals(other: Nullable<any>): boolean;
@@ -746,10 +786,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
746
786
  readonly use: string;
747
787
  readonly alg: Nullable<string>;
748
788
  readonly __doNotUseOrImplementIt: {
749
- readonly "com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey": unique symbol;
789
+ readonly "com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey": unique symbol;
750
790
  };
751
791
  }
752
- class RsaKey implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
792
+ class RsaKey implements com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey {
753
793
  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);
754
794
  get kty(): string;
755
795
  get use(): string;
@@ -763,13 +803,13 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
763
803
  get dp(): string;
764
804
  get dq(): string;
765
805
  get n(): string;
766
- copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, p?: string, q?: string, d?: string, e?: string, qi?: string, dp?: string, dq?: string, n?: string): com.doordeck.multiplatform.sdk.api.model.Platform.RsaKey;
806
+ copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, p?: string, q?: string, d?: string, e?: string, qi?: string, dp?: string, dq?: string, n?: string): com.doordeck.multiplatform.sdk.model.data.Platform.RsaKey;
767
807
  toString(): string;
768
808
  hashCode(): number;
769
809
  equals(other: Nullable<any>): boolean;
770
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
810
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey["__doNotUseOrImplementIt"];
771
811
  }
772
- class EcKey implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
812
+ class EcKey implements com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey {
773
813
  constructor(kty: string | undefined, use: string, kid: string, alg: Nullable<string> | undefined, d: string, crv: string, x: string, y: string);
774
814
  get kty(): string;
775
815
  get use(): string;
@@ -779,13 +819,13 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
779
819
  get crv(): string;
780
820
  get x(): string;
781
821
  get y(): string;
782
- copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, d?: string, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.api.model.Platform.EcKey;
822
+ copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, d?: string, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.model.data.Platform.EcKey;
783
823
  toString(): string;
784
824
  hashCode(): number;
785
825
  equals(other: Nullable<any>): boolean;
786
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
826
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey["__doNotUseOrImplementIt"];
787
827
  }
788
- class Ed25519Key implements com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey {
828
+ class Ed25519Key implements com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey {
789
829
  constructor(kty: string | undefined, use: string, kid: string, alg: Nullable<string> | undefined, d: string, crv: string, x: string);
790
830
  get kty(): string;
791
831
  get use(): string;
@@ -794,62 +834,20 @@ export declare namespace com.doordeck.multiplatform.sdk.api.model {
794
834
  get d(): string;
795
835
  get crv(): string;
796
836
  get x(): string;
797
- copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, d?: string, crv?: string, x?: string): com.doordeck.multiplatform.sdk.api.model.Platform.Ed25519Key;
837
+ copy(kty?: string, use?: string, kid?: string, alg?: Nullable<string>, d?: string, crv?: string, x?: string): com.doordeck.multiplatform.sdk.model.data.Platform.Ed25519Key;
798
838
  toString(): string;
799
839
  hashCode(): number;
800
840
  equals(other: Nullable<any>): boolean;
801
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey["__doNotUseOrImplementIt"];
841
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey["__doNotUseOrImplementIt"];
802
842
  }
803
843
  }
804
844
  }
805
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
806
- abstract class TwoFactorMethod {
807
- private constructor();
808
- static get EMAIL(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
809
- get name(): "EMAIL";
810
- get ordinal(): 0;
811
- };
812
- static get TELEPHONE(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
813
- get name(): "TELEPHONE";
814
- get ordinal(): 1;
815
- };
816
- static get SMS(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod & {
817
- get name(): "SMS";
818
- get ordinal(): 2;
819
- };
820
- get name(): "EMAIL" | "TELEPHONE" | "SMS";
821
- get ordinal(): 0 | 1 | 2;
822
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod>;
823
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod;
824
- static get Companion(): {
825
- } & any/* kotlinx.serialization.internal.SerializerFactory */;
826
- }
827
- }
828
- export declare namespace com.doordeck.multiplatform.sdk.api.model {
829
- abstract class UserRole {
830
- private constructor();
831
- static get ADMIN(): com.doordeck.multiplatform.sdk.api.model.UserRole & {
832
- get name(): "ADMIN";
833
- get ordinal(): 0;
834
- };
835
- static get USER(): com.doordeck.multiplatform.sdk.api.model.UserRole & {
836
- get name(): "USER";
837
- get ordinal(): 1;
838
- };
839
- get name(): "ADMIN" | "USER";
840
- get ordinal(): 0 | 1;
841
- static values(): Array<com.doordeck.multiplatform.sdk.api.model.UserRole>;
842
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.model.UserRole;
843
- static get Companion(): {
844
- } & any/* kotlinx.serialization.internal.SerializerFactory */;
845
- }
846
- }
847
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
845
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
848
846
  class TokenResponse {
849
847
  constructor(authToken: string, refreshToken: string);
850
848
  get authToken(): string;
851
849
  get refreshToken(): string;
852
- copy(authToken?: string, refreshToken?: string): com.doordeck.multiplatform.sdk.api.responses.TokenResponse;
850
+ copy(authToken?: string, refreshToken?: string): com.doordeck.multiplatform.sdk.model.responses.TokenResponse;
853
851
  toString(): string;
854
852
  hashCode(): number;
855
853
  equals(other: Nullable<any>): boolean;
@@ -862,7 +860,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
862
860
  get displayName(): Nullable<string>;
863
861
  get emailVerified(): boolean;
864
862
  get publicKey(): string;
865
- copy(email?: string, displayName?: Nullable<string>, emailVerified?: boolean, publicKey?: string): com.doordeck.multiplatform.sdk.api.responses.UserDetailsResponse;
863
+ copy(email?: string, displayName?: Nullable<string>, emailVerified?: boolean, publicKey?: string): com.doordeck.multiplatform.sdk.model.responses.UserDetailsResponse;
866
864
  toString(): string;
867
865
  hashCode(): number;
868
866
  equals(other: Nullable<any>): boolean;
@@ -873,7 +871,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
873
871
  constructor(certificateChain: kotlin.collections.KtList<string>, userId: string);
874
872
  get certificateChain(): kotlin.collections.KtList<string>;
875
873
  get userId(): string;
876
- copy(certificateChain?: kotlin.collections.KtList<string>, userId?: string): com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse;
874
+ copy(certificateChain?: kotlin.collections.KtList<string>, userId?: string): com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyResponse;
877
875
  toString(): string;
878
876
  hashCode(): number;
879
877
  equals(other: Nullable<any>): boolean;
@@ -881,9 +879,9 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
881
879
  };
882
880
  }
883
881
  class RegisterEphemeralKeyWithSecondaryAuthenticationResponse {
884
- constructor(method: com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod);
885
- get method(): com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod;
886
- copy(method?: com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod): com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse;
882
+ constructor(method: com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod);
883
+ get method(): com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod;
884
+ copy(method?: com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod): com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse;
887
885
  toString(): string;
888
886
  hashCode(): number;
889
887
  equals(other: Nullable<any>): boolean;
@@ -891,11 +889,11 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
891
889
  };
892
890
  }
893
891
  }
894
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
892
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
895
893
  class FusionLoginResponse {
896
894
  constructor(authToken: string);
897
895
  get authToken(): string;
898
- copy(authToken?: string): com.doordeck.multiplatform.sdk.api.responses.FusionLoginResponse;
896
+ copy(authToken?: string): com.doordeck.multiplatform.sdk.model.responses.FusionLoginResponse;
899
897
  toString(): string;
900
898
  hashCode(): number;
901
899
  equals(other: Nullable<any>): boolean;
@@ -905,7 +903,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
905
903
  class IntegrationTypeResponse {
906
904
  constructor(status?: Nullable<string>);
907
905
  get status(): Nullable<string>;
908
- copy(status?: Nullable<string>): com.doordeck.multiplatform.sdk.api.responses.IntegrationTypeResponse;
906
+ copy(status?: Nullable<string>): com.doordeck.multiplatform.sdk.model.responses.IntegrationTypeResponse;
909
907
  toString(): string;
910
908
  hashCode(): number;
911
909
  equals(other: Nullable<any>): boolean;
@@ -913,9 +911,9 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
913
911
  };
914
912
  }
915
913
  class DoorStateResponse {
916
- constructor(state: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType);
917
- get state(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
918
- copy(state?: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType): com.doordeck.multiplatform.sdk.api.responses.DoorStateResponse;
914
+ constructor(state: com.doordeck.multiplatform.sdk.model.responses.ServiceStateType);
915
+ get state(): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType;
916
+ copy(state?: com.doordeck.multiplatform.sdk.model.responses.ServiceStateType): com.doordeck.multiplatform.sdk.model.responses.DoorStateResponse;
919
917
  toString(): string;
920
918
  hashCode(): number;
921
919
  equals(other: Nullable<any>): boolean;
@@ -923,11 +921,11 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
923
921
  };
924
922
  }
925
923
  class IntegrationConfigurationResponse {
926
- 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>);
927
- get doordeck(): Nullable<com.doordeck.multiplatform.sdk.api.responses.ControllerResponse>;
928
- get service(): Nullable<com.doordeck.multiplatform.sdk.api.responses.ServiceStateResponse>;
929
- get integration(): Nullable<com.doordeck.multiplatform.sdk.api.responses.DiscoveredDeviceResponse>;
930
- copy(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>): com.doordeck.multiplatform.sdk.api.responses.IntegrationConfigurationResponse;
924
+ constructor(doordeck?: Nullable<com.doordeck.multiplatform.sdk.model.responses.ControllerResponse>, service?: Nullable<com.doordeck.multiplatform.sdk.model.responses.ServiceStateResponse>, integration?: Nullable<com.doordeck.multiplatform.sdk.model.responses.DiscoveredDeviceResponse>);
925
+ get doordeck(): Nullable<com.doordeck.multiplatform.sdk.model.responses.ControllerResponse>;
926
+ get service(): Nullable<com.doordeck.multiplatform.sdk.model.responses.ServiceStateResponse>;
927
+ get integration(): Nullable<com.doordeck.multiplatform.sdk.model.responses.DiscoveredDeviceResponse>;
928
+ copy(doordeck?: Nullable<com.doordeck.multiplatform.sdk.model.responses.ControllerResponse>, service?: Nullable<com.doordeck.multiplatform.sdk.model.responses.ServiceStateResponse>, integration?: Nullable<com.doordeck.multiplatform.sdk.model.responses.DiscoveredDeviceResponse>): com.doordeck.multiplatform.sdk.model.responses.IntegrationConfigurationResponse;
931
929
  toString(): string;
932
930
  hashCode(): number;
933
931
  equals(other: Nullable<any>): boolean;
@@ -935,11 +933,11 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
935
933
  };
936
934
  }
937
935
  class ControllerResponse {
938
- constructor(id: string, name?: Nullable<string>, role?: Nullable<com.doordeck.multiplatform.sdk.api.model.UserRole>);
936
+ constructor(id: string, name?: Nullable<string>, role?: Nullable<com.doordeck.multiplatform.sdk.model.common.UserRole>);
939
937
  get id(): string;
940
938
  get name(): Nullable<string>;
941
- get role(): Nullable<com.doordeck.multiplatform.sdk.api.model.UserRole>;
942
- copy(id?: string, name?: Nullable<string>, role?: Nullable<com.doordeck.multiplatform.sdk.api.model.UserRole>): com.doordeck.multiplatform.sdk.api.responses.ControllerResponse;
939
+ get role(): Nullable<com.doordeck.multiplatform.sdk.model.common.UserRole>;
940
+ copy(id?: string, name?: Nullable<string>, role?: Nullable<com.doordeck.multiplatform.sdk.model.common.UserRole>): com.doordeck.multiplatform.sdk.model.responses.ControllerResponse;
943
941
  toString(): string;
944
942
  hashCode(): number;
945
943
  equals(other: Nullable<any>): boolean;
@@ -947,9 +945,9 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
947
945
  };
948
946
  }
949
947
  class ServiceStateResponse {
950
- constructor(state: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType);
951
- get state(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
952
- copy(state?: com.doordeck.multiplatform.sdk.api.responses.ServiceStateType): com.doordeck.multiplatform.sdk.api.responses.ServiceStateResponse;
948
+ constructor(state: com.doordeck.multiplatform.sdk.model.responses.ServiceStateType);
949
+ get state(): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType;
950
+ copy(state?: com.doordeck.multiplatform.sdk.model.responses.ServiceStateType): com.doordeck.multiplatform.sdk.model.responses.ServiceStateResponse;
953
951
  toString(): string;
954
952
  hashCode(): number;
955
953
  equals(other: Nullable<any>): boolean;
@@ -957,10 +955,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
957
955
  };
958
956
  }
959
957
  class DiscoveredDeviceResponse {
960
- constructor(key: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController, metadata: kotlin.collections.KtMap<string, string>);
961
- get key(): com.doordeck.multiplatform.sdk.api.model.Fusion.LockController;
958
+ constructor(key: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController, metadata: kotlin.collections.KtMap<string, string>);
959
+ get key(): com.doordeck.multiplatform.sdk.model.data.Fusion.LockController;
962
960
  get metadata(): kotlin.collections.KtMap<string, string>;
963
- copy(key?: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController, metadata?: kotlin.collections.KtMap<string, string>): com.doordeck.multiplatform.sdk.api.responses.DiscoveredDeviceResponse;
961
+ copy(key?: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController, metadata?: kotlin.collections.KtMap<string, string>): com.doordeck.multiplatform.sdk.model.responses.DiscoveredDeviceResponse;
964
962
  toString(): string;
965
963
  hashCode(): number;
966
964
  equals(other: Nullable<any>): boolean;
@@ -969,31 +967,31 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
969
967
  }
970
968
  abstract class ServiceStateType {
971
969
  private constructor();
972
- static get RUNNING(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
970
+ static get RUNNING(): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType & {
973
971
  get name(): "RUNNING";
974
972
  get ordinal(): 0;
975
973
  };
976
- static get STOPPED(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
974
+ static get STOPPED(): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType & {
977
975
  get name(): "STOPPED";
978
976
  get ordinal(): 1;
979
977
  };
980
- static get UNDEFINED(): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType & {
978
+ static get UNDEFINED(): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType & {
981
979
  get name(): "UNDEFINED";
982
980
  get ordinal(): 2;
983
981
  };
984
982
  get name(): "RUNNING" | "STOPPED" | "UNDEFINED";
985
983
  get ordinal(): 0 | 1 | 2;
986
- static values(): Array<com.doordeck.multiplatform.sdk.api.responses.ServiceStateType>;
987
- static valueOf(value: string): com.doordeck.multiplatform.sdk.api.responses.ServiceStateType;
984
+ static values(): Array<com.doordeck.multiplatform.sdk.model.responses.ServiceStateType>;
985
+ static valueOf(value: string): com.doordeck.multiplatform.sdk.model.responses.ServiceStateType;
988
986
  static get Companion(): {
989
987
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
990
988
  }
991
989
  }
992
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
990
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
993
991
  class AssistedLoginResponse {
994
992
  constructor(requiresVerification: boolean);
995
993
  get requiresVerification(): boolean;
996
- copy(requiresVerification?: boolean): com.doordeck.multiplatform.sdk.api.responses.AssistedLoginResponse;
994
+ copy(requiresVerification?: boolean): com.doordeck.multiplatform.sdk.model.responses.AssistedLoginResponse;
997
995
  toString(): string;
998
996
  hashCode(): number;
999
997
  equals(other: Nullable<any>): boolean;
@@ -1003,7 +1001,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1003
1001
  class AssistedRegisterEphemeralKeyResponse {
1004
1002
  constructor(requiresVerification: boolean);
1005
1003
  get requiresVerification(): boolean;
1006
- copy(requiresVerification?: boolean): com.doordeck.multiplatform.sdk.api.responses.AssistedRegisterEphemeralKeyResponse;
1004
+ copy(requiresVerification?: boolean): com.doordeck.multiplatform.sdk.model.responses.AssistedRegisterEphemeralKeyResponse;
1007
1005
  toString(): string;
1008
1006
  hashCode(): number;
1009
1007
  equals(other: Nullable<any>): boolean;
@@ -1011,20 +1009,20 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1011
1009
  };
1012
1010
  }
1013
1011
  }
1014
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1012
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
1015
1013
  class LockResponse {
1016
- 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>);
1014
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, start: Nullable<string> | undefined, end: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse, state: com.doordeck.multiplatform.sdk.model.responses.LockStateResponse, favourite: boolean, unlockTime?: Nullable<number>);
1017
1015
  get id(): string;
1018
1016
  get name(): string;
1019
1017
  get colour(): Nullable<string>;
1020
1018
  get start(): Nullable<string>;
1021
1019
  get end(): Nullable<string>;
1022
- get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
1023
- get settings(): com.doordeck.multiplatform.sdk.api.responses.LockSettingsResponse;
1024
- get state(): com.doordeck.multiplatform.sdk.api.responses.LockStateResponse;
1020
+ get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
1021
+ get settings(): com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse;
1022
+ get state(): com.doordeck.multiplatform.sdk.model.responses.LockStateResponse;
1025
1023
  get favourite(): boolean;
1026
1024
  get unlockTime(): Nullable<number>;
1027
- copy(id?: string, name?: string, colour?: Nullable<string>, start?: Nullable<string>, end?: Nullable<string>, 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>): com.doordeck.multiplatform.sdk.api.responses.LockResponse;
1025
+ copy(id?: string, name?: string, colour?: Nullable<string>, start?: Nullable<string>, end?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse, state?: com.doordeck.multiplatform.sdk.model.responses.LockStateResponse, favourite?: boolean, unlockTime?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.LockResponse;
1028
1026
  toString(): string;
1029
1027
  hashCode(): number;
1030
1028
  equals(other: Nullable<any>): boolean;
@@ -1032,17 +1030,17 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1032
1030
  };
1033
1031
  }
1034
1032
  class LockSettingsResponse {
1035
- 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>);
1033
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, usageRequirements: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse> | undefined, unlockBetweenWindow: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse> | undefined, tiles: kotlin.collections.KtList<string>, hidden: boolean, directAccessEndpoints?: kotlin.collections.KtList<string>, capabilities?: kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.model.common.CapabilityType, com.doordeck.multiplatform.sdk.model.common.CapabilityStatus>);
1036
1034
  get unlockTime(): number;
1037
1035
  get permittedAddresses(): kotlin.collections.KtList<string>;
1038
1036
  get defaultName(): string;
1039
- get usageRequirements(): Nullable<com.doordeck.multiplatform.sdk.api.responses.UsageRequirementsResponse>;
1040
- get unlockBetweenWindow(): Nullable<com.doordeck.multiplatform.sdk.api.responses.UnlockBetweenSettingResponse>;
1037
+ get usageRequirements(): Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse>;
1038
+ get unlockBetweenWindow(): Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse>;
1041
1039
  get tiles(): kotlin.collections.KtList<string>;
1042
1040
  get hidden(): boolean;
1043
1041
  get directAccessEndpoints(): kotlin.collections.KtList<string>;
1044
- get capabilities(): kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.api.model.CapabilityType, com.doordeck.multiplatform.sdk.api.model.CapabilityStatus>;
1045
- copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, usageRequirements?: Nullable<com.doordeck.multiplatform.sdk.api.responses.UsageRequirementsResponse>, unlockBetweenWindow?: Nullable<com.doordeck.multiplatform.sdk.api.responses.UnlockBetweenSettingResponse>, 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>): com.doordeck.multiplatform.sdk.api.responses.LockSettingsResponse;
1042
+ get capabilities(): kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.model.common.CapabilityType, com.doordeck.multiplatform.sdk.model.common.CapabilityStatus>;
1043
+ copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, usageRequirements?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse>, unlockBetweenWindow?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse>, tiles?: kotlin.collections.KtList<string>, hidden?: boolean, directAccessEndpoints?: kotlin.collections.KtList<string>, capabilities?: kotlin.collections.KtMap<com.doordeck.multiplatform.sdk.model.common.CapabilityType, com.doordeck.multiplatform.sdk.model.common.CapabilityStatus>): com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse;
1046
1044
  toString(): string;
1047
1045
  hashCode(): number;
1048
1046
  equals(other: Nullable<any>): boolean;
@@ -1050,10 +1048,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1050
1048
  };
1051
1049
  }
1052
1050
  class UsageRequirementsResponse {
1053
- constructor(time?: Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse>>, location?: Nullable<com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse>);
1054
- get time(): Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse>>;
1055
- get location(): Nullable<com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse>;
1056
- copy(time?: Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse>>, location?: Nullable<com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse>): com.doordeck.multiplatform.sdk.api.responses.UsageRequirementsResponse;
1051
+ constructor(time?: Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.TimeRequirementResponse>>, location?: Nullable<com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse>);
1052
+ get time(): Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.TimeRequirementResponse>>;
1053
+ get location(): Nullable<com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse>;
1054
+ copy(time?: Nullable<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.TimeRequirementResponse>>, location?: Nullable<com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse>): com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse;
1057
1055
  toString(): string;
1058
1056
  hashCode(): number;
1059
1057
  equals(other: Nullable<any>): boolean;
@@ -1066,7 +1064,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1066
1064
  get end(): string;
1067
1065
  get timezone(): string;
1068
1066
  get days(): kotlin.collections.KtList<string>;
1069
- copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.api.responses.TimeRequirementResponse;
1067
+ copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.model.responses.TimeRequirementResponse;
1070
1068
  toString(): string;
1071
1069
  hashCode(): number;
1072
1070
  equals(other: Nullable<any>): boolean;
@@ -1080,7 +1078,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1080
1078
  get enabled(): Nullable<boolean>;
1081
1079
  get radius(): Nullable<number>;
1082
1080
  get accuracy(): Nullable<number>;
1083
- copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.api.responses.LocationRequirementResponse;
1081
+ copy(latitude?: number, longitude?: number, enabled?: Nullable<boolean>, radius?: Nullable<number>, accuracy?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.LocationRequirementResponse;
1084
1082
  toString(): string;
1085
1083
  hashCode(): number;
1086
1084
  equals(other: Nullable<any>): boolean;
@@ -1094,7 +1092,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1094
1092
  get timezone(): string;
1095
1093
  get days(): kotlin.collections.KtList<string>;
1096
1094
  get exceptions(): Nullable<kotlin.collections.KtList<string>>;
1097
- copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.api.responses.UnlockBetweenSettingResponse;
1095
+ copy(start?: string, end?: string, timezone?: string, days?: kotlin.collections.KtList<string>, exceptions?: Nullable<kotlin.collections.KtList<string>>): com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse;
1098
1096
  toString(): string;
1099
1097
  hashCode(): number;
1100
1098
  equals(other: Nullable<any>): boolean;
@@ -1105,7 +1103,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1105
1103
  constructor(locked: boolean, connected: boolean);
1106
1104
  get locked(): boolean;
1107
1105
  get connected(): boolean;
1108
- copy(locked?: boolean, connected?: boolean): com.doordeck.multiplatform.sdk.api.responses.LockStateResponse;
1106
+ copy(locked?: boolean, connected?: boolean): com.doordeck.multiplatform.sdk.model.responses.LockStateResponse;
1109
1107
  toString(): string;
1110
1108
  hashCode(): number;
1111
1109
  equals(other: Nullable<any>): boolean;
@@ -1116,7 +1114,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1116
1114
  constructor(id: string, publicKey: string);
1117
1115
  get id(): string;
1118
1116
  get publicKey(): string;
1119
- copy(id?: string, publicKey?: string): com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse;
1117
+ copy(id?: string, publicKey?: string): com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse;
1120
1118
  toString(): string;
1121
1119
  hashCode(): number;
1122
1120
  equals(other: Nullable<any>): boolean;
@@ -1130,7 +1128,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1130
1128
  get foreignKey(): Nullable<string>;
1131
1129
  get phone(): Nullable<string>;
1132
1130
  get publicKey(): string;
1133
- copy(id?: string, email?: Nullable<string>, foreignKey?: Nullable<string>, phone?: Nullable<string>, publicKey?: string): com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse;
1131
+ copy(id?: string, email?: Nullable<string>, foreignKey?: Nullable<string>, phone?: Nullable<string>, publicKey?: string): com.doordeck.multiplatform.sdk.model.responses.BatchUserPublicKeyResponse;
1134
1132
  toString(): string;
1135
1133
  hashCode(): number;
1136
1134
  equals(other: Nullable<any>): boolean;
@@ -1141,7 +1139,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1141
1139
  constructor(id: string, name: string);
1142
1140
  get id(): string;
1143
1141
  get name(): string;
1144
- copy(id?: string, name?: string): com.doordeck.multiplatform.sdk.api.responses.ShareableLockResponse;
1142
+ copy(id?: string, name?: string): com.doordeck.multiplatform.sdk.model.responses.ShareableLockResponse;
1145
1143
  toString(): string;
1146
1144
  hashCode(): number;
1147
1145
  equals(other: Nullable<any>): boolean;
@@ -1149,17 +1147,17 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1149
1147
  };
1150
1148
  }
1151
1149
  class UserLockResponse {
1152
- 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>);
1150
+ constructor(userId: string, email: string, publicKey: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean, role: com.doordeck.multiplatform.sdk.model.common.UserRole, start?: Nullable<number>, end?: Nullable<number>);
1153
1151
  get userId(): string;
1154
1152
  get email(): string;
1155
1153
  get publicKey(): string;
1156
1154
  get displayName(): Nullable<string>;
1157
1155
  get orphan(): boolean;
1158
1156
  get foreign(): boolean;
1159
- get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
1157
+ get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
1160
1158
  get start(): Nullable<number>;
1161
1159
  get end(): Nullable<number>;
1162
- copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, role?: com.doordeck.multiplatform.sdk.api.model.UserRole, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.api.responses.UserLockResponse;
1160
+ copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.UserLockResponse;
1163
1161
  toString(): string;
1164
1162
  hashCode(): number;
1165
1163
  equals(other: Nullable<any>): boolean;
@@ -1167,7 +1165,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1167
1165
  };
1168
1166
  }
1169
1167
  class LockUserResponse {
1170
- 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>);
1168
+ 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.model.responses.LockUserDetailsResponse>);
1171
1169
  get userId(): string;
1172
1170
  get email(): string;
1173
1171
  get publicKey(): string;
@@ -1176,8 +1174,8 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1176
1174
  get foreign(): boolean;
1177
1175
  get start(): Nullable<number>;
1178
1176
  get end(): Nullable<number>;
1179
- get devices(): kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockUserDetailsResponse>;
1180
- copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, start?: Nullable<number>, end?: Nullable<number>, devices?: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockUserDetailsResponse>): com.doordeck.multiplatform.sdk.api.responses.LockUserResponse;
1177
+ get devices(): kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.LockUserDetailsResponse>;
1178
+ copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, start?: Nullable<number>, end?: Nullable<number>, devices?: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.LockUserDetailsResponse>): com.doordeck.multiplatform.sdk.model.responses.LockUserResponse;
1181
1179
  toString(): string;
1182
1180
  hashCode(): number;
1183
1181
  equals(other: Nullable<any>): boolean;
@@ -1185,12 +1183,12 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1185
1183
  };
1186
1184
  }
1187
1185
  class LockUserDetailsResponse {
1188
- constructor(deviceId: string, role: com.doordeck.multiplatform.sdk.api.model.UserRole, start?: Nullable<number>, end?: Nullable<number>);
1186
+ constructor(deviceId: string, role: com.doordeck.multiplatform.sdk.model.common.UserRole, start?: Nullable<number>, end?: Nullable<number>);
1189
1187
  get deviceId(): string;
1190
- get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
1188
+ get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
1191
1189
  get start(): Nullable<number>;
1192
1190
  get end(): Nullable<number>;
1193
- copy(deviceId?: string, role?: com.doordeck.multiplatform.sdk.api.model.UserRole, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.api.responses.LockUserDetailsResponse;
1191
+ copy(deviceId?: string, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.LockUserDetailsResponse;
1194
1192
  toString(): string;
1195
1193
  hashCode(): number;
1196
1194
  equals(other: Nullable<any>): boolean;
@@ -1198,15 +1196,15 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1198
1196
  };
1199
1197
  }
1200
1198
  class AuditResponse {
1201
- 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);
1199
+ constructor(deviceId: string, timestamp: number, type: com.doordeck.multiplatform.sdk.model.common.AuditEvent, issuer: com.doordeck.multiplatform.sdk.model.responses.AuditIssuerResponse, subject: Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditSubjectResponse> | undefined, rejectionReason: Nullable<string> | undefined, rejected: boolean);
1202
1200
  get deviceId(): string;
1203
1201
  get timestamp(): number;
1204
- get type(): com.doordeck.multiplatform.sdk.api.model.AuditEvent;
1205
- get issuer(): com.doordeck.multiplatform.sdk.api.responses.AuditIssuerResponse;
1206
- get subject(): Nullable<com.doordeck.multiplatform.sdk.api.responses.AuditSubjectResponse>;
1202
+ get type(): com.doordeck.multiplatform.sdk.model.common.AuditEvent;
1203
+ get issuer(): com.doordeck.multiplatform.sdk.model.responses.AuditIssuerResponse;
1204
+ get subject(): Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditSubjectResponse>;
1207
1205
  get rejectionReason(): Nullable<string>;
1208
1206
  get rejected(): boolean;
1209
- copy(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>, rejectionReason?: Nullable<string>, rejected?: boolean): com.doordeck.multiplatform.sdk.api.responses.AuditResponse;
1207
+ copy(deviceId?: string, timestamp?: number, type?: com.doordeck.multiplatform.sdk.model.common.AuditEvent, issuer?: com.doordeck.multiplatform.sdk.model.responses.AuditIssuerResponse, subject?: Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditSubjectResponse>, rejectionReason?: Nullable<string>, rejected?: boolean): com.doordeck.multiplatform.sdk.model.responses.AuditResponse;
1210
1208
  toString(): string;
1211
1209
  hashCode(): number;
1212
1210
  equals(other: Nullable<any>): boolean;
@@ -1218,7 +1216,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1218
1216
  get userId(): string;
1219
1217
  get email(): Nullable<string>;
1220
1218
  get ip(): Nullable<string>;
1221
- copy(userId?: string, email?: Nullable<string>, ip?: Nullable<string>): com.doordeck.multiplatform.sdk.api.responses.AuditIssuerResponse;
1219
+ copy(userId?: string, email?: Nullable<string>, ip?: Nullable<string>): com.doordeck.multiplatform.sdk.model.responses.AuditIssuerResponse;
1222
1220
  toString(): string;
1223
1221
  hashCode(): number;
1224
1222
  equals(other: Nullable<any>): boolean;
@@ -1230,7 +1228,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1230
1228
  get userId(): string;
1231
1229
  get email(): string;
1232
1230
  get displayName(): Nullable<string>;
1233
- copy(userId?: string, email?: string, displayName?: Nullable<string>): com.doordeck.multiplatform.sdk.api.responses.AuditSubjectResponse;
1231
+ copy(userId?: string, email?: string, displayName?: Nullable<string>): com.doordeck.multiplatform.sdk.model.responses.AuditSubjectResponse;
1234
1232
  toString(): string;
1235
1233
  hashCode(): number;
1236
1234
  equals(other: Nullable<any>): boolean;
@@ -1238,9 +1236,9 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1238
1236
  };
1239
1237
  }
1240
1238
  }
1241
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1239
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
1242
1240
  class ApplicationResponse {
1243
- 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>);
1241
+ 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.model.responses.EmailPreferencesResponse, authKeys: kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse>, oauth?: Nullable<com.doordeck.multiplatform.sdk.model.responses.OauthResponse>, isDoordeckApplication?: Nullable<boolean>);
1244
1242
  get applicationId(): string;
1245
1243
  get name(): string;
1246
1244
  get lastUpdated(): Nullable<number>;
@@ -1254,11 +1252,11 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1254
1252
  get supportContact(): Nullable<string>;
1255
1253
  get appLink(): Nullable<string>;
1256
1254
  get slug(): Nullable<string>;
1257
- get emailPreferences(): com.doordeck.multiplatform.sdk.api.responses.EmailPreferencesResponse;
1258
- get authKeys(): kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse>;
1259
- get oauth(): Nullable<com.doordeck.multiplatform.sdk.api.responses.OauthResponse>;
1255
+ get emailPreferences(): com.doordeck.multiplatform.sdk.model.responses.EmailPreferencesResponse;
1256
+ get authKeys(): kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse>;
1257
+ get oauth(): Nullable<com.doordeck.multiplatform.sdk.model.responses.OauthResponse>;
1260
1258
  get isDoordeckApplication(): Nullable<boolean>;
1261
- copy(applicationId?: string, name?: string, lastUpdated?: Nullable<number>, owners?: Nullable<kotlin.collections.KtList<string>>, corsDomains?: Nullable<kotlin.collections.KtList<string>>, authDomains?: Nullable<kotlin.collections.KtList<string>>, logoUrl?: Nullable<string>, privacyPolicy?: Nullable<string>, mailingAddress?: Nullable<string>, companyName?: Nullable<string>, supportContact?: Nullable<string>, appLink?: Nullable<string>, slug?: Nullable<string>, 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>): com.doordeck.multiplatform.sdk.api.responses.ApplicationResponse;
1259
+ copy(applicationId?: string, name?: string, lastUpdated?: Nullable<number>, owners?: Nullable<kotlin.collections.KtList<string>>, corsDomains?: Nullable<kotlin.collections.KtList<string>>, authDomains?: Nullable<kotlin.collections.KtList<string>>, logoUrl?: Nullable<string>, privacyPolicy?: Nullable<string>, mailingAddress?: Nullable<string>, companyName?: Nullable<string>, supportContact?: Nullable<string>, appLink?: Nullable<string>, slug?: Nullable<string>, emailPreferences?: com.doordeck.multiplatform.sdk.model.responses.EmailPreferencesResponse, authKeys?: kotlin.collections.KtMap<string, com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse>, oauth?: Nullable<com.doordeck.multiplatform.sdk.model.responses.OauthResponse>, isDoordeckApplication?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.ApplicationResponse;
1262
1260
  toString(): string;
1263
1261
  hashCode(): number;
1264
1262
  equals(other: Nullable<any>): boolean;
@@ -1278,12 +1276,12 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1278
1276
  readonly nbf: Nullable<number>;
1279
1277
  readonly iat: Nullable<number>;
1280
1278
  readonly __doNotUseOrImplementIt: {
1281
- readonly "com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse": unique symbol;
1279
+ readonly "com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse": unique symbol;
1282
1280
  };
1283
1281
  }
1284
1282
  const AuthKeyResponse: {
1285
1283
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1286
- class RsaKeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
1284
+ class RsaKeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
1287
1285
  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);
1288
1286
  get use(): string;
1289
1287
  get kid(): string;
@@ -1298,15 +1296,15 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1298
1296
  get iat(): Nullable<number>;
1299
1297
  get e(): string;
1300
1298
  get n(): string;
1301
- copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, e?: string, n?: string): com.doordeck.multiplatform.sdk.api.responses.RsaKeyResponse;
1299
+ copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, e?: string, n?: string): com.doordeck.multiplatform.sdk.model.responses.RsaKeyResponse;
1302
1300
  toString(): string;
1303
1301
  hashCode(): number;
1304
1302
  equals(other: Nullable<any>): boolean;
1305
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1303
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1306
1304
  static get Companion(): {
1307
1305
  };
1308
1306
  }
1309
- class EcKeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
1307
+ class EcKeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
1310
1308
  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);
1311
1309
  get use(): string;
1312
1310
  get kid(): string;
@@ -1322,15 +1320,15 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1322
1320
  get crv(): string;
1323
1321
  get x(): string;
1324
1322
  get y(): string;
1325
- copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.api.responses.EcKeyResponse;
1323
+ copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.model.responses.EcKeyResponse;
1326
1324
  toString(): string;
1327
1325
  hashCode(): number;
1328
1326
  equals(other: Nullable<any>): boolean;
1329
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1327
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1330
1328
  static get Companion(): {
1331
1329
  };
1332
1330
  }
1333
- class Ed25519KeyResponse implements com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse {
1331
+ class Ed25519KeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
1334
1332
  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);
1335
1333
  get use(): string;
1336
1334
  get kid(): string;
@@ -1346,23 +1344,23 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1346
1344
  get d(): Nullable<string>;
1347
1345
  get crv(): string;
1348
1346
  get x(): string;
1349
- copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, d?: Nullable<string>, crv?: string, x?: string): com.doordeck.multiplatform.sdk.api.responses.Ed25519KeyResponse;
1347
+ copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<kotlin.collections.KtList<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<kotlin.collections.KtList<string>>, exp?: Nullable<number>, nbf?: Nullable<number>, iat?: Nullable<number>, d?: Nullable<string>, crv?: string, x?: string): com.doordeck.multiplatform.sdk.model.responses.Ed25519KeyResponse;
1350
1348
  toString(): string;
1351
1349
  hashCode(): number;
1352
1350
  equals(other: Nullable<any>): boolean;
1353
- readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.api.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1351
+ readonly __doNotUseOrImplementIt: com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse["__doNotUseOrImplementIt"];
1354
1352
  static get Companion(): {
1355
1353
  };
1356
1354
  }
1357
1355
  class EmailPreferencesResponse {
1358
- 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>);
1356
+ constructor(senderEmail: Nullable<string> | undefined, senderName: Nullable<string> | undefined, primaryColour: string, secondaryColour: string, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.model.responses.EmailCallToActionResponse>);
1359
1357
  get senderEmail(): Nullable<string>;
1360
1358
  get senderName(): Nullable<string>;
1361
1359
  get primaryColour(): string;
1362
1360
  get secondaryColour(): string;
1363
1361
  get onlySendEssentialEmails(): Nullable<boolean>;
1364
- get callToAction(): Nullable<com.doordeck.multiplatform.sdk.api.responses.EmailCallToActionResponse>;
1365
- copy(senderEmail?: Nullable<string>, senderName?: Nullable<string>, primaryColour?: string, secondaryColour?: string, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.api.responses.EmailCallToActionResponse>): com.doordeck.multiplatform.sdk.api.responses.EmailPreferencesResponse;
1362
+ get callToAction(): Nullable<com.doordeck.multiplatform.sdk.model.responses.EmailCallToActionResponse>;
1363
+ copy(senderEmail?: Nullable<string>, senderName?: Nullable<string>, primaryColour?: string, secondaryColour?: string, onlySendEssentialEmails?: Nullable<boolean>, callToAction?: Nullable<com.doordeck.multiplatform.sdk.model.responses.EmailCallToActionResponse>): com.doordeck.multiplatform.sdk.model.responses.EmailPreferencesResponse;
1366
1364
  toString(): string;
1367
1365
  hashCode(): number;
1368
1366
  equals(other: Nullable<any>): boolean;
@@ -1374,7 +1372,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1374
1372
  get actionTarget(): string;
1375
1373
  get headline(): string;
1376
1374
  get actionText(): string;
1377
- copy(actionTarget?: string, headline?: string, actionText?: string): com.doordeck.multiplatform.sdk.api.responses.EmailCallToActionResponse;
1375
+ copy(actionTarget?: string, headline?: string, actionText?: string): com.doordeck.multiplatform.sdk.model.responses.EmailCallToActionResponse;
1378
1376
  toString(): string;
1379
1377
  hashCode(): number;
1380
1378
  equals(other: Nullable<any>): boolean;
@@ -1386,7 +1384,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1386
1384
  get authorizationEndpoint(): string;
1387
1385
  get clientId(): string;
1388
1386
  get grantType(): string;
1389
- copy(authorizationEndpoint?: string, clientId?: string, grantType?: string): com.doordeck.multiplatform.sdk.api.responses.OauthResponse;
1387
+ copy(authorizationEndpoint?: string, clientId?: string, grantType?: string): com.doordeck.multiplatform.sdk.model.responses.OauthResponse;
1390
1388
  toString(): string;
1391
1389
  hashCode(): number;
1392
1390
  equals(other: Nullable<any>): boolean;
@@ -1400,7 +1398,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1400
1398
  get displayName(): Nullable<string>;
1401
1399
  get orphan(): boolean;
1402
1400
  get foreign(): boolean;
1403
- copy(userId?: string, email?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean): com.doordeck.multiplatform.sdk.api.responses.ApplicationOwnerDetailsResponse;
1401
+ copy(userId?: string, email?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean): com.doordeck.multiplatform.sdk.model.responses.ApplicationOwnerDetailsResponse;
1404
1402
  toString(): string;
1405
1403
  hashCode(): number;
1406
1404
  equals(other: Nullable<any>): boolean;
@@ -1410,7 +1408,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1410
1408
  class GetLogoUploadUrlResponse {
1411
1409
  constructor(uploadUrl: string);
1412
1410
  get uploadUrl(): string;
1413
- copy(uploadUrl?: string): com.doordeck.multiplatform.sdk.api.responses.GetLogoUploadUrlResponse;
1411
+ copy(uploadUrl?: string): com.doordeck.multiplatform.sdk.model.responses.GetLogoUploadUrlResponse;
1414
1412
  toString(): string;
1415
1413
  hashCode(): number;
1416
1414
  equals(other: Nullable<any>): boolean;
@@ -1418,7 +1416,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1418
1416
  };
1419
1417
  }
1420
1418
  }
1421
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1419
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
1422
1420
  class SiteResponse {
1423
1421
  constructor(id: string, name: string, colour: string, longitude: number, latitude: number, radius: number, passBackground: string, created: string, updated: string);
1424
1422
  get id(): string;
@@ -1430,7 +1428,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1430
1428
  get passBackground(): string;
1431
1429
  get created(): string;
1432
1430
  get updated(): string;
1433
- copy(id?: string, name?: string, colour?: string, longitude?: number, latitude?: number, radius?: number, passBackground?: string, created?: string, updated?: string): com.doordeck.multiplatform.sdk.api.responses.SiteResponse;
1431
+ copy(id?: string, name?: string, colour?: string, longitude?: number, latitude?: number, radius?: number, passBackground?: string, created?: string, updated?: string): com.doordeck.multiplatform.sdk.model.responses.SiteResponse;
1434
1432
  toString(): string;
1435
1433
  hashCode(): number;
1436
1434
  equals(other: Nullable<any>): boolean;
@@ -1438,13 +1436,13 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1438
1436
  };
1439
1437
  }
1440
1438
  class SiteLocksResponse {
1441
- 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);
1439
+ constructor(id: string, name: string, colour: Nullable<string> | undefined, role: com.doordeck.multiplatform.sdk.model.common.UserRole, settings: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse);
1442
1440
  get id(): string;
1443
1441
  get name(): string;
1444
1442
  get colour(): Nullable<string>;
1445
- get role(): com.doordeck.multiplatform.sdk.api.model.UserRole;
1446
- get settings(): com.doordeck.multiplatform.sdk.api.responses.SiteLockSettingsResponse;
1447
- copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.api.model.UserRole, settings?: com.doordeck.multiplatform.sdk.api.responses.SiteLockSettingsResponse): com.doordeck.multiplatform.sdk.api.responses.SiteLocksResponse;
1443
+ get role(): com.doordeck.multiplatform.sdk.model.common.UserRole;
1444
+ get settings(): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
1445
+ copy(id?: string, name?: string, colour?: Nullable<string>, role?: com.doordeck.multiplatform.sdk.model.common.UserRole, settings?: com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse): com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse;
1448
1446
  toString(): string;
1449
1447
  hashCode(): number;
1450
1448
  equals(other: Nullable<any>): boolean;
@@ -1452,14 +1450,14 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1452
1450
  };
1453
1451
  }
1454
1452
  class SiteLockSettingsResponse {
1455
- 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>);
1453
+ constructor(unlockTime: number, permittedAddresses: kotlin.collections.KtList<string>, defaultName: string, tiles: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>);
1456
1454
  get unlockTime(): number;
1457
1455
  get permittedAddresses(): kotlin.collections.KtList<string>;
1458
1456
  get defaultName(): string;
1459
1457
  get tiles(): kotlin.collections.KtList<string>;
1460
- get state(): Nullable<com.doordeck.multiplatform.sdk.api.responses.SiteStateResponse>;
1458
+ get state(): Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>;
1461
1459
  get favourite(): Nullable<boolean>;
1462
- copy(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>): com.doordeck.multiplatform.sdk.api.responses.SiteLockSettingsResponse;
1460
+ copy(unlockTime?: number, permittedAddresses?: kotlin.collections.KtList<string>, defaultName?: string, tiles?: kotlin.collections.KtList<string>, state?: Nullable<com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse>, favourite?: Nullable<boolean>): com.doordeck.multiplatform.sdk.model.responses.SiteLockSettingsResponse;
1463
1461
  toString(): string;
1464
1462
  hashCode(): number;
1465
1463
  equals(other: Nullable<any>): boolean;
@@ -1469,7 +1467,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1469
1467
  class SiteStateResponse {
1470
1468
  constructor(connected: boolean);
1471
1469
  get connected(): boolean;
1472
- copy(connected?: boolean): com.doordeck.multiplatform.sdk.api.responses.SiteStateResponse;
1470
+ copy(connected?: boolean): com.doordeck.multiplatform.sdk.model.responses.SiteStateResponse;
1473
1471
  toString(): string;
1474
1472
  hashCode(): number;
1475
1473
  equals(other: Nullable<any>): boolean;
@@ -1482,7 +1480,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1482
1480
  get email(): string;
1483
1481
  get displayName(): Nullable<string>;
1484
1482
  get orphan(): boolean;
1485
- copy(userId?: string, email?: string, displayName?: Nullable<string>, orphan?: boolean): com.doordeck.multiplatform.sdk.api.responses.UserForSiteResponse;
1483
+ copy(userId?: string, email?: string, displayName?: Nullable<string>, orphan?: boolean): com.doordeck.multiplatform.sdk.model.responses.UserForSiteResponse;
1486
1484
  toString(): string;
1487
1485
  hashCode(): number;
1488
1486
  equals(other: Nullable<any>): boolean;
@@ -1490,13 +1488,13 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1490
1488
  };
1491
1489
  }
1492
1490
  }
1493
- export declare namespace com.doordeck.multiplatform.sdk.api.responses {
1491
+ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
1494
1492
  class TileLocksResponse {
1495
1493
  constructor(siteId: string, tileId: string, deviceIds: kotlin.collections.KtList<string>);
1496
1494
  get siteId(): string;
1497
1495
  get tileId(): string;
1498
1496
  get deviceIds(): kotlin.collections.KtList<string>;
1499
- copy(siteId?: string, tileId?: string, deviceIds?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.api.responses.TileLocksResponse;
1497
+ copy(siteId?: string, tileId?: string, deviceIds?: kotlin.collections.KtList<string>): com.doordeck.multiplatform.sdk.model.responses.TileLocksResponse;
1500
1498
  toString(): string;
1501
1499
  hashCode(): number;
1502
1500
  equals(other: Nullable<any>): boolean;
@@ -1538,162 +1536,138 @@ export declare namespace com.doordeck.multiplatform.sdk.util {
1538
1536
  }
1539
1537
  export declare namespace com.doordeck.multiplatform.sdk {
1540
1538
  const KDoordeckFactory: {
1541
- initialize(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment): com.doordeck.multiplatform.sdk.Doordeck;
1542
- initializeWithAuthToken(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment, token: string): com.doordeck.multiplatform.sdk.Doordeck;
1543
- initializeWithAuthAndRefreshTokens(apiEnvironment: com.doordeck.multiplatform.sdk.api.model.ApiEnvironment, token: string, refreshToken: string): com.doordeck.multiplatform.sdk.Doordeck;
1539
+ initialize(apiEnvironment: com.doordeck.multiplatform.sdk.model.data.ApiEnvironment): com.doordeck.multiplatform.sdk.Doordeck;
1540
+ initializeWithAuthToken(apiEnvironment: com.doordeck.multiplatform.sdk.model.data.ApiEnvironment, token: string): com.doordeck.multiplatform.sdk.Doordeck;
1541
+ initializeWithAuthAndRefreshTokens(apiEnvironment: com.doordeck.multiplatform.sdk.model.data.ApiEnvironment, token: string, refreshToken: string): com.doordeck.multiplatform.sdk.Doordeck;
1544
1542
  };
1545
1543
  }
1546
1544
  export declare namespace com.doordeck.multiplatform.sdk.api {
1547
- interface AccountResource {
1548
- refreshToken(refreshToken?: Nullable<string>): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1545
+ const AccountApi: {
1546
+ refreshToken(refreshToken?: Nullable<string>): Promise<com.doordeck.multiplatform.sdk.model.responses.TokenResponse>;
1549
1547
  logout(): Promise<any>;
1550
- registerEphemeralKey(publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
1551
- registerEphemeralKeyWithSecondaryAuthentication(publicKey?: Nullable<Int8Array>, method?: Nullable<com.doordeck.multiplatform.sdk.api.model.TwoFactorMethod>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse>;
1552
- verifyEphemeralKeyRegistration(code: string, privateKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.RegisterEphemeralKeyResponse>;
1548
+ registerEphemeralKey(publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyResponse>;
1549
+ registerEphemeralKeyWithSecondaryAuthentication(publicKey?: Nullable<Int8Array>, method?: Nullable<com.doordeck.multiplatform.sdk.model.common.TwoFactorMethod>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse>;
1550
+ verifyEphemeralKeyRegistration(code: string, privateKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyResponse>;
1553
1551
  reverifyEmail(): Promise<any>;
1554
1552
  changePassword(oldPassword: string, newPassword: string): Promise<any>;
1555
- getUserDetails(): Promise<com.doordeck.multiplatform.sdk.api.responses.UserDetailsResponse>;
1553
+ getUserDetails(): Promise<com.doordeck.multiplatform.sdk.model.responses.UserDetailsResponse>;
1556
1554
  updateUserDetails(displayName: string): Promise<any>;
1557
1555
  deleteAccount(): Promise<any>;
1558
- readonly __doNotUseOrImplementIt: {
1559
- readonly "com.doordeck.multiplatform.sdk.api.AccountResource": unique symbol;
1560
- };
1561
- }
1562
- function account(): com.doordeck.multiplatform.sdk.api.AccountResource;
1556
+ };
1557
+ function account(): typeof com.doordeck.multiplatform.sdk.api.AccountApi;
1563
1558
  }
1564
1559
  export declare namespace com.doordeck.multiplatform.sdk.api {
1565
- interface AccountlessResource {
1566
- login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1567
- registration(email: string, password: string, displayName?: Nullable<string>, force?: boolean, publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.TokenResponse>;
1560
+ const AccountlessApi: {
1561
+ login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.model.responses.TokenResponse>;
1562
+ registration(email: string, password: string, displayName?: Nullable<string>, force?: boolean, publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.TokenResponse>;
1568
1563
  verifyEmail(code: string): Promise<any>;
1569
1564
  passwordReset(email: string): Promise<any>;
1570
1565
  passwordResetVerify(userId: string, token: string, password: string): Promise<any>;
1571
- readonly __doNotUseOrImplementIt: {
1572
- readonly "com.doordeck.multiplatform.sdk.api.AccountlessResource": unique symbol;
1573
- };
1574
- }
1575
- function accountless(): com.doordeck.multiplatform.sdk.api.AccountlessResource;
1566
+ };
1567
+ function accountless(): typeof com.doordeck.multiplatform.sdk.api.AccountlessApi;
1576
1568
  }
1577
1569
  export declare namespace com.doordeck.multiplatform.sdk.api {
1578
- interface FusionResource {
1579
- login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.FusionLoginResponse>;
1580
- getIntegrationType(): Promise<com.doordeck.multiplatform.sdk.api.responses.IntegrationTypeResponse>;
1581
- getIntegrationConfiguration(type: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.IntegrationConfigurationResponse>>;
1582
- enableDoor(name: string, siteId: string, controller: com.doordeck.multiplatform.sdk.api.model.Fusion.LockController): Promise<any>;
1570
+ const FusionApi: {
1571
+ login(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.model.responses.FusionLoginResponse>;
1572
+ getIntegrationType(): Promise<com.doordeck.multiplatform.sdk.model.responses.IntegrationTypeResponse>;
1573
+ getIntegrationConfiguration(type: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.IntegrationConfigurationResponse>>;
1574
+ enableDoor(name: string, siteId: string, controller: com.doordeck.multiplatform.sdk.model.data.Fusion.LockController): Promise<any>;
1583
1575
  deleteDoor(deviceId: string): Promise<any>;
1584
- getDoorStatus(deviceId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.DoorStateResponse>;
1576
+ getDoorStatus(deviceId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.DoorStateResponse>;
1585
1577
  startDoor(deviceId: string): Promise<any>;
1586
1578
  stopDoor(deviceId: string): Promise<any>;
1587
- readonly __doNotUseOrImplementIt: {
1588
- readonly "com.doordeck.multiplatform.sdk.api.FusionResource": unique symbol;
1589
- };
1590
- }
1591
- function fusion(): com.doordeck.multiplatform.sdk.api.FusionResource;
1579
+ };
1580
+ function fusion(): typeof com.doordeck.multiplatform.sdk.api.FusionApi;
1592
1581
  }
1593
1582
  export declare namespace com.doordeck.multiplatform.sdk.api {
1594
- interface HelperResource {
1583
+ const HelperApi: {
1595
1584
  uploadPlatformLogo(applicationId: string, contentType: string, image: Int8Array): Promise<any>;
1596
- assistedLogin(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.api.responses.AssistedLoginResponse>;
1597
- assistedRegisterEphemeralKey(publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.api.responses.AssistedRegisterEphemeralKeyResponse>;
1585
+ assistedLogin(email: string, password: string): Promise<com.doordeck.multiplatform.sdk.model.responses.AssistedLoginResponse>;
1586
+ assistedRegisterEphemeralKey(publicKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.AssistedRegisterEphemeralKeyResponse>;
1598
1587
  assistedRegister(email: string, password: string, displayName?: Nullable<string>, force?: boolean): Promise<any>;
1599
- readonly __doNotUseOrImplementIt: {
1600
- readonly "com.doordeck.multiplatform.sdk.api.HelperResource": unique symbol;
1601
- };
1602
- }
1603
- function helper(): com.doordeck.multiplatform.sdk.api.HelperResource;
1588
+ };
1589
+ function helper(): typeof com.doordeck.multiplatform.sdk.api.HelperApi;
1604
1590
  }
1605
1591
  export declare namespace com.doordeck.multiplatform.sdk.api {
1606
- interface LockOperationsResource {
1607
- getSingleLock(lockId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.LockResponse>;
1608
- getLockAuditTrail(lockId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.AuditResponse>>;
1609
- getAuditForUser(userId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.AuditResponse>>;
1610
- getUsersForLock(lockId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.UserLockResponse>>;
1611
- getLocksForUser(userId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.LockUserResponse>;
1592
+ const LockOperationsApi: {
1593
+ getSingleLock(lockId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.LockResponse>;
1594
+ getLockAuditTrail(lockId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
1595
+ getAuditForUser(userId: string, start: number, end: number): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
1596
+ getUsersForLock(lockId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.UserLockResponse>>;
1597
+ getLocksForUser(userId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.LockUserResponse>;
1612
1598
  updateLockName(lockId: string, name?: Nullable<string>): Promise<any>;
1613
1599
  updateLockFavourite(lockId: string, favourite?: Nullable<boolean>): Promise<any>;
1614
1600
  updateLockColour(lockId: string, colour?: Nullable<string>): Promise<any>;
1615
1601
  updateLockSettingDefaultName(lockId: string, name?: Nullable<string>): Promise<any>;
1616
1602
  setLockSettingPermittedAddresses(lockId: string, permittedAddresses: kotlin.collections.KtList<string>): Promise<any>;
1617
1603
  updateLockSettingHidden(lockId: string, hidden: boolean): Promise<any>;
1618
- setLockSettingTimeRestrictions(lockId: string, times: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.model.LockOperations.TimeRequirement>): Promise<any>;
1619
- updateLockSettingLocationRestrictions(lockId: string, location?: Nullable<com.doordeck.multiplatform.sdk.api.model.LockOperations.LocationRequirement>): Promise<any>;
1620
- getUserPublicKey(userEmail: string, visitor?: boolean): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1621
- getUserPublicKeyByEmail(email: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1622
- getUserPublicKeyByTelephone(telephone: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1623
- getUserPublicKeyByLocalKey(localKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1624
- getUserPublicKeyByForeignKey(foreignKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1625
- getUserPublicKeyByIdentity(identity: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
1626
- getUserPublicKeyByEmails(emails: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
1627
- getUserPublicKeyByTelephones(telephones: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
1628
- getUserPublicKeyByLocalKeys(localKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
1629
- getUserPublicKeyByForeignKeys(foreignKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
1630
- unlock(unlockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockOperation): Promise<any>;
1631
- shareLock(shareLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLockOperation): Promise<any>;
1632
- batchShareLock(batchShareLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.BatchShareLockOperation): Promise<any>;
1633
- revokeAccessToLock(revokeAccessToLockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.RevokeAccessToLockOperation): Promise<any>;
1634
- updateSecureSettingUnlockDuration(updateSecureSettingUnlockDuration: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockDuration): Promise<any>;
1635
- updateSecureSettingUnlockBetween(updateSecureSettingUnlockBetween: com.doordeck.multiplatform.sdk.api.model.LockOperations.UpdateSecureSettingUnlockBetween): Promise<any>;
1636
- getPinnedLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.LockResponse>>;
1637
- getShareableLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ShareableLockResponse>>;
1638
- readonly __doNotUseOrImplementIt: {
1639
- readonly "com.doordeck.multiplatform.sdk.api.LockOperationsResource": unique symbol;
1640
- };
1641
- }
1642
- function lockOperations(): com.doordeck.multiplatform.sdk.api.LockOperationsResource;
1604
+ setLockSettingTimeRestrictions(lockId: string, times: kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement>): Promise<any>;
1605
+ updateLockSettingLocationRestrictions(lockId: string, location?: Nullable<com.doordeck.multiplatform.sdk.model.data.LockOperations.LocationRequirement>): Promise<any>;
1606
+ getUserPublicKey(userEmail: string, visitor?: boolean): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1607
+ getUserPublicKeyByEmail(email: string): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1608
+ getUserPublicKeyByTelephone(telephone: string): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1609
+ getUserPublicKeyByLocalKey(localKey: string): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1610
+ getUserPublicKeyByForeignKey(foreignKey: string): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1611
+ getUserPublicKeyByIdentity(identity: string): Promise<com.doordeck.multiplatform.sdk.model.responses.UserPublicKeyResponse>;
1612
+ getUserPublicKeyByEmails(emails: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.BatchUserPublicKeyResponse>>;
1613
+ getUserPublicKeyByTelephones(telephones: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.BatchUserPublicKeyResponse>>;
1614
+ getUserPublicKeyByLocalKeys(localKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.BatchUserPublicKeyResponse>>;
1615
+ getUserPublicKeyByForeignKeys(foreignKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.BatchUserPublicKeyResponse>>;
1616
+ unlock(unlockOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockOperation): Promise<any>;
1617
+ shareLock(shareLockOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLockOperation): Promise<any>;
1618
+ batchShareLock(batchShareLockOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.BatchShareLockOperation): Promise<any>;
1619
+ revokeAccessToLock(revokeAccessToLockOperation: com.doordeck.multiplatform.sdk.model.data.LockOperations.RevokeAccessToLockOperation): Promise<any>;
1620
+ updateSecureSettingUnlockDuration(updateSecureSettingUnlockDuration: com.doordeck.multiplatform.sdk.model.data.LockOperations.UpdateSecureSettingUnlockDuration): Promise<any>;
1621
+ updateSecureSettingUnlockBetween(updateSecureSettingUnlockBetween: com.doordeck.multiplatform.sdk.model.data.LockOperations.UpdateSecureSettingUnlockBetween): Promise<any>;
1622
+ getPinnedLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.LockResponse>>;
1623
+ getShareableLocks(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.ShareableLockResponse>>;
1624
+ };
1625
+ function lockOperations(): typeof com.doordeck.multiplatform.sdk.api.LockOperationsApi;
1643
1626
  }
1644
1627
  export declare namespace com.doordeck.multiplatform.sdk.api {
1645
- interface PlatformResource {
1646
- createApplication(application: com.doordeck.multiplatform.sdk.api.model.Platform.CreateApplication): Promise<any>;
1647
- listApplications(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ApplicationResponse>>;
1648
- getApplication(applicationId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.ApplicationResponse>;
1628
+ const PlatformApi: {
1629
+ createApplication(application: com.doordeck.multiplatform.sdk.model.data.Platform.CreateApplication): Promise<any>;
1630
+ listApplications(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.ApplicationResponse>>;
1631
+ getApplication(applicationId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.ApplicationResponse>;
1649
1632
  updateApplicationName(applicationId: string, name: string): Promise<any>;
1650
1633
  updateApplicationCompanyName(applicationId: string, companyName: string): Promise<any>;
1651
1634
  updateApplicationMailingAddress(applicationId: string, mailingAddress: string): Promise<any>;
1652
1635
  updateApplicationPrivacyPolicy(applicationId: string, privacyPolicy: string): Promise<any>;
1653
1636
  updateApplicationSupportContact(applicationId: string, supportContact: string): Promise<any>;
1654
1637
  updateApplicationAppLink(applicationId: string, appLink: string): Promise<any>;
1655
- updateApplicationEmailPreferences(applicationId: string, emailPreferences: com.doordeck.multiplatform.sdk.api.model.Platform.EmailPreferences): Promise<any>;
1638
+ updateApplicationEmailPreferences(applicationId: string, emailPreferences: com.doordeck.multiplatform.sdk.model.data.Platform.EmailPreferences): Promise<any>;
1656
1639
  updateApplicationLogoUrl(applicationId: string, logoUrl: string): Promise<any>;
1657
1640
  deleteApplication(applicationId: string): Promise<any>;
1658
- getLogoUploadUrl(applicationId: string, contentType: string): Promise<com.doordeck.multiplatform.sdk.api.responses.GetLogoUploadUrlResponse>;
1659
- addAuthKey(applicationId: string, key: com.doordeck.multiplatform.sdk.api.model.Platform.AuthKey): Promise<any>;
1641
+ getLogoUploadUrl(applicationId: string, contentType: string): Promise<com.doordeck.multiplatform.sdk.model.responses.GetLogoUploadUrlResponse>;
1642
+ addAuthKey(applicationId: string, key: com.doordeck.multiplatform.sdk.model.data.Platform.AuthKey): Promise<any>;
1660
1643
  addAuthIssuer(applicationId: string, url: string): Promise<any>;
1661
1644
  deleteAuthIssuer(applicationId: string, url: string): Promise<any>;
1662
1645
  addCorsDomain(applicationId: string, url: string): Promise<any>;
1663
1646
  removeCorsDomain(applicationId: string, url: string): Promise<any>;
1664
1647
  addApplicationOwner(applicationId: string, userId: string): Promise<any>;
1665
1648
  removeApplicationOwner(applicationId: string, userId: string): Promise<any>;
1666
- getApplicationOwnersDetails(applicationId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.ApplicationOwnerDetailsResponse>>;
1667
- readonly __doNotUseOrImplementIt: {
1668
- readonly "com.doordeck.multiplatform.sdk.api.PlatformResource": unique symbol;
1669
- };
1670
- }
1671
- function platform(): com.doordeck.multiplatform.sdk.api.PlatformResource;
1649
+ getApplicationOwnersDetails(applicationId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.ApplicationOwnerDetailsResponse>>;
1650
+ };
1651
+ function platform(): typeof com.doordeck.multiplatform.sdk.api.PlatformApi;
1672
1652
  }
1673
1653
  export declare namespace com.doordeck.multiplatform.sdk.api {
1674
- interface SitesResource {
1675
- listSites(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.SiteResponse>>;
1676
- getLocksForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.SiteLocksResponse>>;
1677
- getUsersForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.UserForSiteResponse>>;
1678
- readonly __doNotUseOrImplementIt: {
1679
- readonly "com.doordeck.multiplatform.sdk.api.SitesResource": unique symbol;
1680
- };
1681
- }
1682
- function sites(): com.doordeck.multiplatform.sdk.api.SitesResource;
1654
+ const SitesApi: {
1655
+ listSites(): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.SiteResponse>>;
1656
+ getLocksForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.SiteLocksResponse>>;
1657
+ getUsersForSite(siteId: string): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.model.responses.UserForSiteResponse>>;
1658
+ };
1659
+ function sites(): typeof com.doordeck.multiplatform.sdk.api.SitesApi;
1683
1660
  }
1684
1661
  export declare namespace com.doordeck.multiplatform.sdk.api {
1685
- interface TilesResource {
1686
- getLocksBelongingToTile(tileId: string): Promise<com.doordeck.multiplatform.sdk.api.responses.TileLocksResponse>;
1662
+ const TilesApi: {
1663
+ getLocksBelongingToTile(tileId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.TileLocksResponse>;
1687
1664
  associateMultipleLocks(tileId: string, siteId: string, lockIds: kotlin.collections.KtList<string>): Promise<any>;
1688
- readonly __doNotUseOrImplementIt: {
1689
- readonly "com.doordeck.multiplatform.sdk.api.TilesResource": unique symbol;
1690
- };
1691
- }
1692
- function tiles(): com.doordeck.multiplatform.sdk.api.TilesResource;
1665
+ };
1666
+ function tiles(): typeof com.doordeck.multiplatform.sdk.api.TilesApi;
1693
1667
  }
1694
1668
  export declare namespace com.doordeck.multiplatform.sdk.crypto {
1695
1669
  const CryptoManager: {
1696
- generateKeyPair(): com.doordeck.multiplatform.sdk.api.model.Crypto.KeyPair;
1670
+ generateKeyPair(): com.doordeck.multiplatform.sdk.model.data.Crypto.KeyPair;
1697
1671
  generateEncodedKeyPair(): string;
1698
1672
  isCertificateAboutToExpire(base64Certificate: string): boolean;
1699
1673
  };