@doordeck/doordeck-headless-sdk 0.146.0 → 0.147.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/doordeck-sdk.d.ts +13 -2
- package/kotlin/doordeck-sdk.js +6363 -6092
- package/package.json +1 -1
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -358,6 +358,17 @@ export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
|
358
358
|
namespace ContextState.$metadata$ {
|
|
359
359
|
const constructor: abstract new () => ContextState;
|
|
360
360
|
}
|
|
361
|
+
namespace ContextState {
|
|
362
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
363
|
+
private constructor();
|
|
364
|
+
}
|
|
365
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
366
|
+
namespace Companion.$metadata$ {
|
|
367
|
+
abstract class constructor /* implements kotlinx.serialization.internal.SerializerFactory */ {
|
|
368
|
+
private constructor();
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
361
372
|
}
|
|
362
373
|
export declare namespace com.doordeck.multiplatform.sdk.model.common {
|
|
363
374
|
abstract class DayOfWeek {
|
|
@@ -919,7 +930,7 @@ export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
|
919
930
|
getApiEnvironment(): string;
|
|
920
931
|
setCloudAuthToken(token: string): void;
|
|
921
932
|
getCloudAuthToken(): Nullable<string>;
|
|
922
|
-
isCloudAuthTokenInvalidOrExpired(): boolean
|
|
933
|
+
isCloudAuthTokenInvalidOrExpired(): Promise<boolean>;
|
|
923
934
|
setCloudRefreshToken(token: string): void;
|
|
924
935
|
getCloudRefreshToken(): Nullable<string>;
|
|
925
936
|
setFusionHost(host: string): void;
|
|
@@ -939,7 +950,7 @@ export declare namespace com.doordeck.multiplatform.sdk.context {
|
|
|
939
950
|
isKeyPairVerified(): boolean;
|
|
940
951
|
isKeyPairValid(): boolean;
|
|
941
952
|
setOperationContext(userId: string, certificateChain: Array<string>, publicKey: Int8Array, privateKey: Int8Array, isKeyPairVerified: boolean): void;
|
|
942
|
-
getContextState(): string
|
|
953
|
+
getContextState(): Promise<string>;
|
|
943
954
|
clearContext(): void;
|
|
944
955
|
private constructor();
|
|
945
956
|
}
|