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