@doordeck/doordeck-headless-sdk 0.145.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.
@@ -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 {
@@ -818,7 +829,7 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
818
829
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
819
830
  namespace PlatformApi.$metadata$ {
820
831
  abstract class constructor {
821
- createApplication(application: com.doordeck.multiplatform.sdk.model.data.PlatformOperations.CreateApplication): Promise<any>;
832
+ createApplication(application: com.doordeck.multiplatform.sdk.model.data.PlatformOperations.CreateApplication): Promise<string>;
822
833
  listApplications(): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.ApplicationResponse>>;
823
834
  getApplication(applicationId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.ApplicationResponse>;
824
835
  updateApplicationName(applicationId: string, name: string): Promise<any>;
@@ -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
  }