@doordeck/doordeck-headless-sdk 0.143.0 → 0.145.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +59 -59
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +47 -47
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +62 -61
- package/kotlin/doordeck-sdk.js +13298 -13192
- package/kotlin/kotlin-kotlin-stdlib.js +2495 -2269
- package/kotlin/kotlinx-atomicfu.js +24 -24
- package/kotlin/kotlinx-coroutines-core.js +2363 -2363
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +49 -49
- package/kotlin/kotlinx-io-kotlinx-io-core.js +498 -498
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1889 -1889
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1557 -1557
- package/kotlin/ktor-ktor-client-auth.js +471 -471
- package/kotlin/ktor-ktor-client-content-negotiation.js +215 -215
- package/kotlin/ktor-ktor-client-core.js +3032 -3032
- package/kotlin/ktor-ktor-client-logging.js +1193 -1193
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +546 -546
- package/kotlin/ktor-ktor-http.js +845 -845
- package/kotlin/ktor-ktor-io.js +1121 -1121
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +269 -269
- package/kotlin/ktor-ktor-serialization.js +128 -128
- package/kotlin/ktor-ktor-utils.js +918 -905
- package/kotlin/ktor-ktor-websockets.js +53 -53
- package/package.json +1 -1
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -704,7 +704,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
704
704
|
refreshToken(refreshToken?: Nullable<string>): Promise<com.doordeck.multiplatform.sdk.model.responses.TokenResponse>;
|
|
705
705
|
logout(): Promise<any>;
|
|
706
706
|
registerEphemeralKey(publicKey?: Nullable<Int8Array>, privateKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyResponse>;
|
|
707
|
-
registerEphemeralKeyWithSecondaryAuthentication(publicKey?: Nullable<Int8Array>, method?: Nullable<
|
|
707
|
+
registerEphemeralKeyWithSecondaryAuthentication(publicKey?: Nullable<Int8Array>, method?: Nullable<string>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse>;
|
|
708
708
|
verifyEphemeralKeyRegistration(code: string, publicKey?: Nullable<Int8Array>, privateKey?: Nullable<Int8Array>): Promise<com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyResponse>;
|
|
709
709
|
reverifyEmail(): Promise<any>;
|
|
710
710
|
changePassword(oldPassword: string, newPassword: string): Promise<any>;
|
|
@@ -875,14 +875,14 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
875
875
|
}
|
|
876
876
|
export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
877
877
|
class SdkConfig {
|
|
878
|
-
constructor(apiEnvironment: Nullable<
|
|
879
|
-
get apiEnvironment(): Nullable<
|
|
878
|
+
constructor(apiEnvironment: Nullable<string> | undefined, cloudAuthToken: Nullable<string> | undefined, cloudRefreshToken: Nullable<string> | undefined, fusionHost: Nullable<string>, secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage, debugLogging?: Nullable<boolean>);
|
|
879
|
+
get apiEnvironment(): Nullable<string>;
|
|
880
880
|
get cloudAuthToken(): Nullable<string>;
|
|
881
881
|
get cloudRefreshToken(): Nullable<string>;
|
|
882
882
|
get fusionHost(): Nullable<string>;
|
|
883
883
|
get secureStorage(): com.doordeck.multiplatform.sdk.storage.SecureStorage;
|
|
884
884
|
get debugLogging(): Nullable<boolean>;
|
|
885
|
-
copy(apiEnvironment?: Nullable<
|
|
885
|
+
copy(apiEnvironment?: Nullable<string>, cloudAuthToken?: Nullable<string>, cloudRefreshToken?: Nullable<string>, fusionHost?: Nullable<string>, secureStorage?: com.doordeck.multiplatform.sdk.storage.SecureStorage, debugLogging?: Nullable<boolean>): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
886
886
|
toString(): string;
|
|
887
887
|
hashCode(): number;
|
|
888
888
|
equals(other: Nullable<any>): boolean;
|
|
@@ -894,7 +894,7 @@ export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
|
894
894
|
namespace SdkConfig {
|
|
895
895
|
class Builder {
|
|
896
896
|
constructor();
|
|
897
|
-
setApiEnvironment(apiEnvironment: Nullable<
|
|
897
|
+
setApiEnvironment(apiEnvironment: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
898
898
|
setCloudAuthToken(cloudAuthToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
899
899
|
setCloudRefreshToken(cloudRefreshToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
900
900
|
setFusionHost(fusionHost: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
@@ -915,8 +915,8 @@ export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
|
915
915
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
916
916
|
namespace ContextManager.$metadata$ {
|
|
917
917
|
abstract class constructor {
|
|
918
|
-
setApiEnvironment(apiEnvironment:
|
|
919
|
-
getApiEnvironment():
|
|
918
|
+
setApiEnvironment(apiEnvironment: string): void;
|
|
919
|
+
getApiEnvironment(): string;
|
|
920
920
|
setCloudAuthToken(token: string): void;
|
|
921
921
|
getCloudAuthToken(): Nullable<string>;
|
|
922
922
|
isCloudAuthTokenInvalidOrExpired(): boolean;
|
|
@@ -939,7 +939,7 @@ export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
|
939
939
|
isKeyPairVerified(): boolean;
|
|
940
940
|
isKeyPairValid(): boolean;
|
|
941
941
|
setOperationContext(userId: string, certificateChain: Array<string>, publicKey: Int8Array, privateKey: Int8Array, isKeyPairVerified: boolean): void;
|
|
942
|
-
getContextState():
|
|
942
|
+
getContextState(): string;
|
|
943
943
|
clearContext(): void;
|
|
944
944
|
private constructor();
|
|
945
945
|
}
|
|
@@ -1267,12 +1267,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1267
1267
|
const constructor: abstract new () => TdsiGardisController;
|
|
1268
1268
|
}
|
|
1269
1269
|
class ZktecoController implements com.doordeck.multiplatform.sdk.model.data.FusionOperations.LockController {
|
|
1270
|
-
constructor(clientSecret: string, doorId: string, baseUrl: Nullable<string> | undefined, entityType:
|
|
1270
|
+
constructor(clientSecret: string, doorId: string, baseUrl: Nullable<string> | undefined, entityType: string);
|
|
1271
1271
|
get clientSecret(): string;
|
|
1272
1272
|
get doorId(): string;
|
|
1273
1273
|
get baseUrl(): Nullable<string>;
|
|
1274
|
-
get entityType():
|
|
1275
|
-
copy(clientSecret?: string, doorId?: string, baseUrl?: Nullable<string>, entityType?:
|
|
1274
|
+
get entityType(): string;
|
|
1275
|
+
copy(clientSecret?: string, doorId?: string, baseUrl?: Nullable<string>, entityType?: string): com.doordeck.multiplatform.sdk.model.data.FusionOperations.ZktecoController;
|
|
1276
1276
|
toString(): string;
|
|
1277
1277
|
hashCode(): number;
|
|
1278
1278
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1296,12 +1296,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
namespace LockOperations {
|
|
1298
1298
|
class TimeRequirement {
|
|
1299
|
-
constructor(start: string, end: string, timezone: string, days:
|
|
1299
|
+
constructor(start: string, end: string, timezone: string, days: Set<string>);
|
|
1300
1300
|
get start(): string;
|
|
1301
1301
|
get end(): string;
|
|
1302
1302
|
get timezone(): string;
|
|
1303
|
-
get days():
|
|
1304
|
-
copy(start?: string, end?: string, timezone?: string, days?:
|
|
1303
|
+
get days(): Set<string>;
|
|
1304
|
+
copy(start?: string, end?: string, timezone?: string, days?: Set<string>): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement;
|
|
1305
1305
|
toString(): string;
|
|
1306
1306
|
hashCode(): number;
|
|
1307
1307
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1316,7 +1316,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1316
1316
|
setStart(start: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement.Builder;
|
|
1317
1317
|
setEnd(end: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement.Builder;
|
|
1318
1318
|
setTimezone(timezone: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement.Builder;
|
|
1319
|
-
setDays(days:
|
|
1319
|
+
setDays(days: Set<string>): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement.Builder;
|
|
1320
1320
|
build(): com.doordeck.multiplatform.sdk.model.data.LockOperations.TimeRequirement;
|
|
1321
1321
|
}
|
|
1322
1322
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1356,13 +1356,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
1358
|
class UnlockBetween {
|
|
1359
|
-
constructor(start: string, end: string, timezone: string, days:
|
|
1359
|
+
constructor(start: string, end: string, timezone: string, days: Set<string>, exceptions?: Nullable<Array<string>>);
|
|
1360
1360
|
get start(): string;
|
|
1361
1361
|
get end(): string;
|
|
1362
1362
|
get timezone(): string;
|
|
1363
|
-
get days():
|
|
1363
|
+
get days(): Set<string>;
|
|
1364
1364
|
get exceptions(): Nullable<Array<string>>;
|
|
1365
|
-
copy(start?: string, end?: string, timezone?: string, days?:
|
|
1365
|
+
copy(start?: string, end?: string, timezone?: string, days?: Set<string>, exceptions?: Nullable<Array<string>>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween;
|
|
1366
1366
|
toString(): string;
|
|
1367
1367
|
hashCode(): number;
|
|
1368
1368
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1377,7 +1377,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1377
1377
|
setStart(start: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween.Builder;
|
|
1378
1378
|
setEnd(end: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween.Builder;
|
|
1379
1379
|
setTimezone(timezone: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween.Builder;
|
|
1380
|
-
setDays(days:
|
|
1380
|
+
setDays(days: Set<string>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween.Builder;
|
|
1381
1381
|
setExceptions(exceptions: Nullable<Array<string>>): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween.Builder;
|
|
1382
1382
|
build(): com.doordeck.multiplatform.sdk.model.data.LockOperations.UnlockBetween;
|
|
1383
1383
|
}
|
|
@@ -1439,13 +1439,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
1441
|
class ShareLock {
|
|
1442
|
-
constructor(targetUserId: string, targetUserRole:
|
|
1442
|
+
constructor(targetUserId: string, targetUserRole: string, targetUserPublicKey: Int8Array, start?: Nullable<number>, end?: Nullable<number>);
|
|
1443
1443
|
get targetUserId(): string;
|
|
1444
|
-
get targetUserRole():
|
|
1444
|
+
get targetUserRole(): string;
|
|
1445
1445
|
get targetUserPublicKey(): Int8Array;
|
|
1446
1446
|
get start(): Nullable<number>;
|
|
1447
1447
|
get end(): Nullable<number>;
|
|
1448
|
-
copy(targetUserId?: string, targetUserRole?:
|
|
1448
|
+
copy(targetUserId?: string, targetUserRole?: string, targetUserPublicKey?: Int8Array, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
|
|
1449
1449
|
toString(): string;
|
|
1450
1450
|
hashCode(): number;
|
|
1451
1451
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1458,7 +1458,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1458
1458
|
class Builder {
|
|
1459
1459
|
constructor();
|
|
1460
1460
|
setTargetUserId(targetUserId: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1461
|
-
setTargetUserRole(targetUserRole:
|
|
1461
|
+
setTargetUserRole(targetUserRole: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1462
1462
|
setTargetUserPublicKey(targetUserPublicKey: Int8Array): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1463
1463
|
setStart(start: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1464
1464
|
setEnd(end: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
@@ -1889,9 +1889,9 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
1889
1889
|
const constructor: abstract new () => RegisterEphemeralKeyResponse;
|
|
1890
1890
|
}
|
|
1891
1891
|
class RegisterEphemeralKeyWithSecondaryAuthenticationResponse {
|
|
1892
|
-
constructor(method:
|
|
1893
|
-
get method():
|
|
1894
|
-
copy(method?:
|
|
1892
|
+
constructor(method: string);
|
|
1893
|
+
get method(): string;
|
|
1894
|
+
copy(method?: string): com.doordeck.multiplatform.sdk.model.responses.RegisterEphemeralKeyWithSecondaryAuthenticationResponse;
|
|
1895
1895
|
toString(): string;
|
|
1896
1896
|
hashCode(): number;
|
|
1897
1897
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1927,9 +1927,9 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
1927
1927
|
const constructor: abstract new () => IntegrationTypeResponse;
|
|
1928
1928
|
}
|
|
1929
1929
|
class DoorStateResponse {
|
|
1930
|
-
constructor(state:
|
|
1931
|
-
get state():
|
|
1932
|
-
copy(state?:
|
|
1930
|
+
constructor(state: string);
|
|
1931
|
+
get state(): string;
|
|
1932
|
+
copy(state?: string): com.doordeck.multiplatform.sdk.model.responses.DoorStateResponse;
|
|
1933
1933
|
toString(): string;
|
|
1934
1934
|
hashCode(): number;
|
|
1935
1935
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1953,11 +1953,11 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
1953
1953
|
const constructor: abstract new () => IntegrationConfigurationResponse;
|
|
1954
1954
|
}
|
|
1955
1955
|
class ControllerResponse {
|
|
1956
|
-
constructor(id: string, name?: Nullable<string>, role?: Nullable<
|
|
1956
|
+
constructor(id: string, name?: Nullable<string>, role?: Nullable<string>);
|
|
1957
1957
|
get id(): string;
|
|
1958
1958
|
get name(): Nullable<string>;
|
|
1959
|
-
get role(): Nullable<
|
|
1960
|
-
copy(id?: string, name?: Nullable<string>, role?: Nullable<
|
|
1959
|
+
get role(): Nullable<string>;
|
|
1960
|
+
copy(id?: string, name?: Nullable<string>, role?: Nullable<string>): com.doordeck.multiplatform.sdk.model.responses.ControllerResponse;
|
|
1961
1961
|
toString(): string;
|
|
1962
1962
|
hashCode(): number;
|
|
1963
1963
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1967,9 +1967,9 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
1967
1967
|
const constructor: abstract new () => ControllerResponse;
|
|
1968
1968
|
}
|
|
1969
1969
|
class ServiceStateResponse {
|
|
1970
|
-
constructor(state:
|
|
1971
|
-
get state():
|
|
1972
|
-
copy(state?:
|
|
1970
|
+
constructor(state: string);
|
|
1971
|
+
get state(): string;
|
|
1972
|
+
copy(state?: string): com.doordeck.multiplatform.sdk.model.responses.ServiceStateResponse;
|
|
1973
1973
|
toString(): string;
|
|
1974
1974
|
hashCode(): number;
|
|
1975
1975
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2022,16 +2022,16 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
2024
2024
|
class LockResponse {
|
|
2025
|
-
constructor(id: string, name: string, start: Nullable<string> | undefined, end: Nullable<string> | undefined, role:
|
|
2025
|
+
constructor(id: string, name: string, start: Nullable<string> | undefined, end: Nullable<string> | undefined, role: string, settings: com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse, state: com.doordeck.multiplatform.sdk.model.responses.LockStateResponse, favourite: boolean);
|
|
2026
2026
|
get id(): string;
|
|
2027
2027
|
get name(): string;
|
|
2028
2028
|
get start(): Nullable<string>;
|
|
2029
2029
|
get end(): Nullable<string>;
|
|
2030
|
-
get role():
|
|
2030
|
+
get role(): string;
|
|
2031
2031
|
get settings(): com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse;
|
|
2032
2032
|
get state(): com.doordeck.multiplatform.sdk.model.responses.LockStateResponse;
|
|
2033
2033
|
get favourite(): boolean;
|
|
2034
|
-
copy(id?: string, name?: string, start?: Nullable<string>, end?: Nullable<string>, role?:
|
|
2034
|
+
copy(id?: string, name?: string, start?: Nullable<string>, end?: Nullable<string>, role?: string, settings?: com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse, state?: com.doordeck.multiplatform.sdk.model.responses.LockStateResponse, favourite?: boolean): com.doordeck.multiplatform.sdk.model.responses.LockResponse;
|
|
2035
2035
|
toString(): string;
|
|
2036
2036
|
hashCode(): number;
|
|
2037
2037
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2041,7 +2041,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2041
2041
|
const constructor: abstract new () => LockResponse;
|
|
2042
2042
|
}
|
|
2043
2043
|
class LockSettingsResponse {
|
|
2044
|
-
constructor(unlockTime: number, permittedAddresses: Array<string>, defaultName: string, usageRequirements: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse> | undefined, unlockBetweenWindow: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse> | undefined, tiles: Array<string>, hidden: boolean, directAccessEndpoints?: Array<string>, capabilities?:
|
|
2044
|
+
constructor(unlockTime: number, permittedAddresses: Array<string>, defaultName: string, usageRequirements: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse> | undefined, unlockBetweenWindow: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse> | undefined, tiles: Array<string>, hidden: boolean, directAccessEndpoints?: Array<string>, capabilities?: Map<string, string>);
|
|
2045
2045
|
get unlockTime(): number;
|
|
2046
2046
|
get permittedAddresses(): Array<string>;
|
|
2047
2047
|
get defaultName(): string;
|
|
@@ -2050,8 +2050,8 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2050
2050
|
get tiles(): Array<string>;
|
|
2051
2051
|
get hidden(): boolean;
|
|
2052
2052
|
get directAccessEndpoints(): Array<string>;
|
|
2053
|
-
get capabilities():
|
|
2054
|
-
copy(unlockTime?: number, permittedAddresses?: Array<string>, defaultName?: string, usageRequirements?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse>, unlockBetweenWindow?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse>, tiles?: Array<string>, hidden?: boolean, directAccessEndpoints?: Array<string>, capabilities?:
|
|
2053
|
+
get capabilities(): Map<string, string>;
|
|
2054
|
+
copy(unlockTime?: number, permittedAddresses?: Array<string>, defaultName?: string, usageRequirements?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UsageRequirementsResponse>, unlockBetweenWindow?: Nullable<com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse>, tiles?: Array<string>, hidden?: boolean, directAccessEndpoints?: Array<string>, capabilities?: Map<string, string>): com.doordeck.multiplatform.sdk.model.responses.LockSettingsResponse;
|
|
2055
2055
|
toString(): string;
|
|
2056
2056
|
hashCode(): number;
|
|
2057
2057
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2074,12 +2074,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2074
2074
|
const constructor: abstract new () => UsageRequirementsResponse;
|
|
2075
2075
|
}
|
|
2076
2076
|
class TimeRequirementResponse {
|
|
2077
|
-
constructor(start: string, end: string, timezone: string, days:
|
|
2077
|
+
constructor(start: string, end: string, timezone: string, days: Set<string>);
|
|
2078
2078
|
get start(): string;
|
|
2079
2079
|
get end(): string;
|
|
2080
2080
|
get timezone(): string;
|
|
2081
|
-
get days():
|
|
2082
|
-
copy(start?: string, end?: string, timezone?: string, days?:
|
|
2081
|
+
get days(): Set<string>;
|
|
2082
|
+
copy(start?: string, end?: string, timezone?: string, days?: Set<string>): com.doordeck.multiplatform.sdk.model.responses.TimeRequirementResponse;
|
|
2083
2083
|
toString(): string;
|
|
2084
2084
|
hashCode(): number;
|
|
2085
2085
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2105,13 +2105,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2105
2105
|
const constructor: abstract new () => LocationRequirementResponse;
|
|
2106
2106
|
}
|
|
2107
2107
|
class UnlockBetweenSettingResponse {
|
|
2108
|
-
constructor(start: string, end: string, timezone: string, days:
|
|
2108
|
+
constructor(start: string, end: string, timezone: string, days: Set<string>, exceptions?: Array<string>);
|
|
2109
2109
|
get start(): string;
|
|
2110
2110
|
get end(): string;
|
|
2111
2111
|
get timezone(): string;
|
|
2112
|
-
get days():
|
|
2112
|
+
get days(): Set<string>;
|
|
2113
2113
|
get exceptions(): Array<string>;
|
|
2114
|
-
copy(start?: string, end?: string, timezone?: string, days?:
|
|
2114
|
+
copy(start?: string, end?: string, timezone?: string, days?: Set<string>, exceptions?: Array<string>): com.doordeck.multiplatform.sdk.model.responses.UnlockBetweenSettingResponse;
|
|
2115
2115
|
toString(): string;
|
|
2116
2116
|
hashCode(): number;
|
|
2117
2117
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2175,17 +2175,17 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2175
2175
|
const constructor: abstract new () => ShareableLockResponse;
|
|
2176
2176
|
}
|
|
2177
2177
|
class UserLockResponse {
|
|
2178
|
-
constructor(userId: string, email: string, publicKey: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean, role:
|
|
2178
|
+
constructor(userId: string, email: string, publicKey: string, displayName: Nullable<string> | undefined, orphan: boolean, foreign: boolean, role: string, start?: Nullable<number>, end?: Nullable<number>);
|
|
2179
2179
|
get userId(): string;
|
|
2180
2180
|
get email(): string;
|
|
2181
2181
|
get publicKey(): string;
|
|
2182
2182
|
get displayName(): Nullable<string>;
|
|
2183
2183
|
get orphan(): boolean;
|
|
2184
2184
|
get foreign(): boolean;
|
|
2185
|
-
get role():
|
|
2185
|
+
get role(): string;
|
|
2186
2186
|
get start(): Nullable<number>;
|
|
2187
2187
|
get end(): Nullable<number>;
|
|
2188
|
-
copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, role?:
|
|
2188
|
+
copy(userId?: string, email?: string, publicKey?: string, displayName?: Nullable<string>, orphan?: boolean, foreign?: boolean, role?: string, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.UserLockResponse;
|
|
2189
2189
|
toString(): string;
|
|
2190
2190
|
hashCode(): number;
|
|
2191
2191
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2215,12 +2215,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2215
2215
|
const constructor: abstract new () => LockUserResponse;
|
|
2216
2216
|
}
|
|
2217
2217
|
class LockUserDetailsResponse {
|
|
2218
|
-
constructor(deviceId: string, role:
|
|
2218
|
+
constructor(deviceId: string, role: string, start?: Nullable<number>, end?: Nullable<number>);
|
|
2219
2219
|
get deviceId(): string;
|
|
2220
|
-
get role():
|
|
2220
|
+
get role(): string;
|
|
2221
2221
|
get start(): Nullable<number>;
|
|
2222
2222
|
get end(): Nullable<number>;
|
|
2223
|
-
copy(deviceId?: string, role?:
|
|
2223
|
+
copy(deviceId?: string, role?: string, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.responses.LockUserDetailsResponse;
|
|
2224
2224
|
toString(): string;
|
|
2225
2225
|
hashCode(): number;
|
|
2226
2226
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2230,15 +2230,15 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2230
2230
|
const constructor: abstract new () => LockUserDetailsResponse;
|
|
2231
2231
|
}
|
|
2232
2232
|
class AuditResponse {
|
|
2233
|
-
constructor(deviceId: string, timestamp: number, type:
|
|
2233
|
+
constructor(deviceId: string, timestamp: number, type: string, issuer: com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse, subject: Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse> | undefined, rejectionReason: Nullable<string> | undefined, rejected: boolean);
|
|
2234
2234
|
get deviceId(): string;
|
|
2235
2235
|
get timestamp(): number;
|
|
2236
|
-
get type():
|
|
2236
|
+
get type(): string;
|
|
2237
2237
|
get issuer(): com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse;
|
|
2238
2238
|
get subject(): Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse>;
|
|
2239
2239
|
get rejectionReason(): Nullable<string>;
|
|
2240
2240
|
get rejected(): boolean;
|
|
2241
|
-
copy(deviceId?: string, timestamp?: number, type?:
|
|
2241
|
+
copy(deviceId?: string, timestamp?: number, type?: string, issuer?: com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse, subject?: Nullable<com.doordeck.multiplatform.sdk.model.responses.AuditUserResponse>, rejectionReason?: Nullable<string>, rejected?: boolean): com.doordeck.multiplatform.sdk.model.responses.AuditResponse;
|
|
2242
2242
|
toString(): string;
|
|
2243
2243
|
hashCode(): number;
|
|
2244
2244
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2416,11 +2416,11 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2416
2416
|
const constructor: abstract new () => EmailCallToActionResponse;
|
|
2417
2417
|
}
|
|
2418
2418
|
class OauthResponse {
|
|
2419
|
-
constructor(authorizationEndpoint: string, clientId: string, grantType:
|
|
2419
|
+
constructor(authorizationEndpoint: string, clientId: string, grantType: string);
|
|
2420
2420
|
get authorizationEndpoint(): string;
|
|
2421
2421
|
get clientId(): string;
|
|
2422
|
-
get grantType():
|
|
2423
|
-
copy(authorizationEndpoint?: string, clientId?: string, grantType?:
|
|
2422
|
+
get grantType(): string;
|
|
2423
|
+
copy(authorizationEndpoint?: string, clientId?: string, grantType?: string): com.doordeck.multiplatform.sdk.model.responses.OauthResponse;
|
|
2424
2424
|
toString(): string;
|
|
2425
2425
|
hashCode(): number;
|
|
2426
2426
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2460,15 +2460,16 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2460
2460
|
}
|
|
2461
2461
|
export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
2462
2462
|
class SiteResponse {
|
|
2463
|
-
constructor(id: string, name: string, longitude: number, latitude: number, radius: number, created: string, updated: string);
|
|
2463
|
+
constructor(id: string, name: string, colour: string, longitude: number, latitude: number, radius: number, created: string, updated: string);
|
|
2464
2464
|
get id(): string;
|
|
2465
2465
|
get name(): string;
|
|
2466
|
+
get colour(): string;
|
|
2466
2467
|
get longitude(): number;
|
|
2467
2468
|
get latitude(): number;
|
|
2468
2469
|
get radius(): number;
|
|
2469
2470
|
get created(): string;
|
|
2470
2471
|
get updated(): string;
|
|
2471
|
-
copy(id?: string, name?: string, longitude?: number, latitude?: number, radius?: number, created?: string, updated?: string): com.doordeck.multiplatform.sdk.model.responses.SiteResponse;
|
|
2472
|
+
copy(id?: string, name?: string, colour?: string, longitude?: number, latitude?: number, radius?: number, created?: string, updated?: string): com.doordeck.multiplatform.sdk.model.responses.SiteResponse;
|
|
2472
2473
|
toString(): string;
|
|
2473
2474
|
hashCode(): number;
|
|
2474
2475
|
equals(other: Nullable<any>): boolean;
|