@doordeck/doordeck-headless-sdk 0.141.0 → 0.143.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 +49 -49
- package/kotlin/doordeck-sdk.js +10435 -10386
- package/kotlin/kotlin-kotlin-stdlib.js +2259 -2433
- package/kotlin/kotlinx-atomicfu.js +24 -24
- package/kotlin/kotlinx-coroutines-core.js +2369 -2369
- 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 +1888 -1888
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1557 -1557
- package/kotlin/ktor-ktor-client-auth.js +470 -470
- package/kotlin/ktor-ktor-client-content-negotiation.js +215 -215
- package/kotlin/ktor-ktor-client-core.js +3031 -3031
- 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 +904 -914
- package/kotlin/ktor-ktor-websockets.js +53 -53
- package/package.json +1 -1
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -46,41 +46,6 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
50
|
-
class SdkConfig {
|
|
51
|
-
constructor(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment> | undefined, cloudAuthToken: Nullable<string> | undefined, cloudRefreshToken: Nullable<string> | undefined, fusionHost: Nullable<string>, secureStorage: com.doordeck.multiplatform.sdk.storage.SecureStorage, debugLogging?: Nullable<boolean>);
|
|
52
|
-
get apiEnvironment(): Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
|
|
53
|
-
get cloudAuthToken(): Nullable<string>;
|
|
54
|
-
get cloudRefreshToken(): Nullable<string>;
|
|
55
|
-
get fusionHost(): Nullable<string>;
|
|
56
|
-
get secureStorage(): com.doordeck.multiplatform.sdk.storage.SecureStorage;
|
|
57
|
-
get debugLogging(): Nullable<boolean>;
|
|
58
|
-
copy(apiEnvironment?: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>, 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;
|
|
59
|
-
toString(): string;
|
|
60
|
-
hashCode(): number;
|
|
61
|
-
equals(other: Nullable<any>): boolean;
|
|
62
|
-
}
|
|
63
|
-
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
64
|
-
namespace SdkConfig.$metadata$ {
|
|
65
|
-
const constructor: abstract new () => SdkConfig;
|
|
66
|
-
}
|
|
67
|
-
namespace SdkConfig {
|
|
68
|
-
class Builder {
|
|
69
|
-
constructor();
|
|
70
|
-
setApiEnvironment(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
71
|
-
setCloudAuthToken(cloudAuthToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
72
|
-
setCloudRefreshToken(cloudRefreshToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
73
|
-
setFusionHost(fusionHost: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
74
|
-
setSecureStorageOverride(secureStorage: Nullable<com.doordeck.multiplatform.sdk.storage.SecureStorage>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
75
|
-
setDebugLogging(enabled: Nullable<boolean>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
76
|
-
build(): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
77
|
-
}
|
|
78
|
-
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
79
|
-
namespace Builder.$metadata$ {
|
|
80
|
-
const constructor: abstract new () => Builder;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
49
|
export declare namespace com.doordeck.multiplatform.sdk.exceptions {
|
|
85
50
|
class BadRequestException extends com.doordeck.multiplatform.sdk.exceptions.SdkException.$metadata$.constructor {
|
|
86
51
|
constructor(message: string);
|
|
@@ -908,6 +873,41 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
908
873
|
}
|
|
909
874
|
function tiles(): typeof com.doordeck.multiplatform.sdk.api.TilesApi;
|
|
910
875
|
}
|
|
876
|
+
export declare namespace com.doordeck.multiplatform.sdk.config {
|
|
877
|
+
class SdkConfig {
|
|
878
|
+
constructor(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment> | 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<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>;
|
|
880
|
+
get cloudAuthToken(): Nullable<string>;
|
|
881
|
+
get cloudRefreshToken(): Nullable<string>;
|
|
882
|
+
get fusionHost(): Nullable<string>;
|
|
883
|
+
get secureStorage(): com.doordeck.multiplatform.sdk.storage.SecureStorage;
|
|
884
|
+
get debugLogging(): Nullable<boolean>;
|
|
885
|
+
copy(apiEnvironment?: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>, 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
|
+
toString(): string;
|
|
887
|
+
hashCode(): number;
|
|
888
|
+
equals(other: Nullable<any>): boolean;
|
|
889
|
+
}
|
|
890
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
891
|
+
namespace SdkConfig.$metadata$ {
|
|
892
|
+
const constructor: abstract new () => SdkConfig;
|
|
893
|
+
}
|
|
894
|
+
namespace SdkConfig {
|
|
895
|
+
class Builder {
|
|
896
|
+
constructor();
|
|
897
|
+
setApiEnvironment(apiEnvironment: Nullable<com.doordeck.multiplatform.sdk.model.data.ApiEnvironment>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
898
|
+
setCloudAuthToken(cloudAuthToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
899
|
+
setCloudRefreshToken(cloudRefreshToken: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
900
|
+
setFusionHost(fusionHost: Nullable<string>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
901
|
+
setSecureStorageOverride(secureStorage: Nullable<com.doordeck.multiplatform.sdk.storage.SecureStorage>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
902
|
+
setDebugLogging(enabled: Nullable<boolean>): com.doordeck.multiplatform.sdk.config.SdkConfig.Builder;
|
|
903
|
+
build(): com.doordeck.multiplatform.sdk.config.SdkConfig;
|
|
904
|
+
}
|
|
905
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
906
|
+
namespace Builder.$metadata$ {
|
|
907
|
+
const constructor: abstract new () => Builder;
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
911
|
export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
912
912
|
abstract class ContextManager extends KtSingleton<ContextManager.$metadata$.constructor>() {
|
|
913
913
|
private constructor();
|
|
@@ -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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>);
|
|
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(): Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>;
|
|
1304
|
+
copy(start?: string, end?: string, timezone?: string, days?: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>): 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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>): 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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>, 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(): Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>;
|
|
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?: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>, 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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>): 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
|
}
|
|
@@ -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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>);
|
|
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(): Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>;
|
|
2082
|
+
copy(start?: string, end?: string, timezone?: string, days?: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>): 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: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>, exceptions?: Array<string>);
|
|
2109
2109
|
get start(): string;
|
|
2110
2110
|
get end(): string;
|
|
2111
2111
|
get timezone(): string;
|
|
2112
|
-
get days():
|
|
2112
|
+
get days(): Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>;
|
|
2113
2113
|
get exceptions(): Array<string>;
|
|
2114
|
-
copy(start?: string, end?: string, timezone?: string, days?:
|
|
2114
|
+
copy(start?: string, end?: string, timezone?: string, days?: Array<com.doordeck.multiplatform.sdk.model.common.DayOfWeek>, 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;
|