@doordeck/doordeck-headless-sdk 0.39.0 → 0.41.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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/kotlin/doordeck-sdk.d.ts +17 -0
- package/kotlin/doordeck-sdk.js +5951 -5145
- package/kotlin/doordeck-sdk.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
return tmp;
|
|
338
338
|
}
|
|
339
339
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
340
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
340
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
|
|
341
341
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
342
342
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
343
343
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export declare namespace com.doordeck.multiplatform.sdk {
|
|
|
83
83
|
export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
84
84
|
interface ContextManager {
|
|
85
85
|
setAuthToken(token: string): void;
|
|
86
|
+
setRefreshToken(token: string): void;
|
|
86
87
|
setOperationContext(userId: string, certificateChain: kotlin.collections.KtList<string>, privateKey: Int8Array): void;
|
|
87
88
|
setOperationContextJson(data: string): void;
|
|
88
89
|
setFusionAuthToken(token: string): void;
|
|
@@ -867,6 +868,16 @@ export declare namespace com.doordeck.multiplatform.sdk.api.responses {
|
|
|
867
868
|
static get Companion(): {
|
|
868
869
|
};
|
|
869
870
|
}
|
|
871
|
+
class BatchUserPublicKeyResponse {
|
|
872
|
+
constructor(id: string, email: Nullable<string> | undefined, foreignKey: Nullable<string> | undefined, phone: Nullable<string> | undefined, publicKey: string);
|
|
873
|
+
get id(): string;
|
|
874
|
+
get email(): Nullable<string>;
|
|
875
|
+
get foreignKey(): Nullable<string>;
|
|
876
|
+
get phone(): Nullable<string>;
|
|
877
|
+
get publicKey(): string;
|
|
878
|
+
static get Companion(): {
|
|
879
|
+
};
|
|
880
|
+
}
|
|
870
881
|
class ShareableLockResponse {
|
|
871
882
|
constructor(id: string, name: string);
|
|
872
883
|
get id(): string;
|
|
@@ -1150,6 +1161,8 @@ export declare namespace com.doordeck.multiplatform.sdk.storage {
|
|
|
1150
1161
|
interface SecureStorage {
|
|
1151
1162
|
addCloudAuthToken(token: string): void;
|
|
1152
1163
|
getCloudAuthToken(): Nullable<string>;
|
|
1164
|
+
addCloudRefreshToken(token: string): void;
|
|
1165
|
+
getCloudRefreshToken(): Nullable<string>;
|
|
1153
1166
|
addFusionAuthToken(token: string): void;
|
|
1154
1167
|
getFusionAuthToken(): Nullable<string>;
|
|
1155
1168
|
addPrivateKey(byteArray: Int8Array): void;
|
|
@@ -1254,6 +1267,10 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
1254
1267
|
getUserPublicKeyByLocalKey(localKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
|
|
1255
1268
|
getUserPublicKeyByForeignKey(foreignKey: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
|
|
1256
1269
|
getUserPublicKeyByIdentity(identity: string): Promise<com.doordeck.multiplatform.sdk.api.responses.UserPublicKeyResponse>;
|
|
1270
|
+
getUserPublicKeyByEmails(emails: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1271
|
+
getUserPublicKeyByTelephones(telephones: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1272
|
+
getUserPublicKeyByLocalKeys(localKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1273
|
+
getUserPublicKeyByForeignKeys(foreignKeys: kotlin.collections.KtList<string>): Promise<kotlin.collections.KtList<com.doordeck.multiplatform.sdk.api.responses.BatchUserPublicKeyResponse>>;
|
|
1257
1274
|
unlockWithContext(lockId: string, directAccessEndpoints?: Nullable<kotlin.collections.KtList<string>>): Promise<any>;
|
|
1258
1275
|
unlock(unlockOperation: com.doordeck.multiplatform.sdk.api.model.LockOperations.UnlockOperation): Promise<any>;
|
|
1259
1276
|
shareLockWithContext(lockId: string, shareLock: com.doordeck.multiplatform.sdk.api.model.LockOperations.ShareLock): Promise<any>;
|