@doordeck/doordeck-headless-sdk 0.187.0 → 0.188.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 +56 -56
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +42 -42
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +37 -37
- package/kotlin/doordeck-sdk.js +12308 -12323
- package/kotlin/kotlin-kotlin-stdlib.js +2495 -2458
- package/kotlin/kotlinx-atomicfu.js +20 -21
- package/kotlin/kotlinx-coroutines-core.js +2291 -2309
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +43 -43
- package/kotlin/kotlinx-io-kotlinx-io-core.js +582 -588
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1826 -1831
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1465 -1468
- package/kotlin/ktor-ktor-client-auth.js +444 -444
- package/kotlin/ktor-ktor-client-content-negotiation.js +203 -203
- package/kotlin/ktor-ktor-client-core.js +3109 -3111
- package/kotlin/ktor-ktor-client-logging.js +1118 -1119
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +537 -539
- package/kotlin/ktor-ktor-http.js +778 -778
- package/kotlin/ktor-ktor-io.js +1106 -1109
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +246 -246
- package/kotlin/ktor-ktor-serialization.js +120 -120
- package/kotlin/ktor-ktor-utils.js +857 -857
- package/kotlin/ktor-ktor-websockets.js +48 -48
- package/package.json +1 -1
package/kotlin/doordeck-sdk.d.ts
CHANGED
|
@@ -739,8 +739,8 @@ export declare namespace com.doordeck.multiplatform.sdk.api {
|
|
|
739
739
|
namespace $metadata$ {
|
|
740
740
|
abstract class constructor {
|
|
741
741
|
getSingleLock(lockId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.LockResponse>;
|
|
742
|
-
getLockAuditTrail(lockId: string, start?: Nullable<
|
|
743
|
-
getAuditForUser(userId: string, start?: Nullable<
|
|
742
|
+
getLockAuditTrail(lockId: string, start?: Nullable<bigint>, end?: Nullable<bigint>): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
|
|
743
|
+
getAuditForUser(userId: string, start?: Nullable<bigint>, end?: Nullable<bigint>): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
|
|
744
744
|
getUsersForLock(lockId: string): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.UserLockResponse>>;
|
|
745
745
|
getLocksForUser(userId: string): Promise<com.doordeck.multiplatform.sdk.model.responses.LockUserResponse>;
|
|
746
746
|
updateLockName(lockId: string, name?: Nullable<string>): Promise<any>;
|
|
@@ -946,12 +946,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
class AlpetaController implements com.doordeck.multiplatform.sdk.model.data.FusionOperations.LockController {
|
|
949
|
-
constructor(username: string, password: string, doorId:
|
|
949
|
+
constructor(username: string, password: string, doorId: bigint, baseUrl?: Nullable<string>);
|
|
950
950
|
get username(): string;
|
|
951
951
|
get password(): string;
|
|
952
|
-
get doorId():
|
|
952
|
+
get doorId(): bigint;
|
|
953
953
|
get baseUrl(): Nullable<string>;
|
|
954
|
-
copy(username?: string, password?: string, doorId?:
|
|
954
|
+
copy(username?: string, password?: string, doorId?: bigint, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.model.data.FusionOperations.AlpetaController;
|
|
955
955
|
toString(): string;
|
|
956
956
|
hashCode(): number;
|
|
957
957
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1466,13 +1466,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
}
|
|
1468
1468
|
class ShareLock {
|
|
1469
|
-
constructor(targetUserId: string, targetUserRole: string, targetUserPublicKey: Int8Array, start?: Nullable<
|
|
1469
|
+
constructor(targetUserId: string, targetUserRole: string, targetUserPublicKey: Int8Array, start?: Nullable<bigint>, end?: Nullable<bigint>);
|
|
1470
1470
|
get targetUserId(): string;
|
|
1471
1471
|
get targetUserRole(): string;
|
|
1472
1472
|
get targetUserPublicKey(): Int8Array;
|
|
1473
|
-
get start(): Nullable<
|
|
1474
|
-
get end(): Nullable<
|
|
1475
|
-
copy(targetUserId?: string, targetUserRole?: string, targetUserPublicKey?: Int8Array, start?: Nullable<
|
|
1473
|
+
get start(): Nullable<bigint>;
|
|
1474
|
+
get end(): Nullable<bigint>;
|
|
1475
|
+
copy(targetUserId?: string, targetUserRole?: string, targetUserPublicKey?: Int8Array, start?: Nullable<bigint>, end?: Nullable<bigint>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
|
|
1476
1476
|
toString(): string;
|
|
1477
1477
|
hashCode(): number;
|
|
1478
1478
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1487,8 +1487,8 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1487
1487
|
setTargetUserId(targetUserId: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1488
1488
|
setTargetUserRole(targetUserRole: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1489
1489
|
setTargetUserPublicKey(targetUserPublicKey: Int8Array): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1490
|
-
setStart(start: Nullable<
|
|
1491
|
-
setEnd(end: Nullable<
|
|
1490
|
+
setStart(start: Nullable<bigint>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1491
|
+
setEnd(end: Nullable<bigint>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
|
|
1492
1492
|
build(): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
|
|
1493
1493
|
}
|
|
1494
1494
|
namespace Builder {
|
|
@@ -1611,16 +1611,16 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
1613
1613
|
class BaseOperation {
|
|
1614
|
-
constructor(userId: Nullable<string> | undefined, userCertificateChain: Nullable<Array<string>> | undefined, userPrivateKey: Nullable<Int8Array> | undefined, lockId: string, notBefore?:
|
|
1614
|
+
constructor(userId: Nullable<string> | undefined, userCertificateChain: Nullable<Array<string>> | undefined, userPrivateKey: Nullable<Int8Array> | undefined, lockId: string, notBefore?: bigint, issuedAt?: bigint, expiresAt?: bigint, jti?: string);
|
|
1615
1615
|
get userId(): Nullable<string>;
|
|
1616
1616
|
get userCertificateChain(): Nullable<Array<string>>;
|
|
1617
1617
|
get userPrivateKey(): Nullable<Int8Array>;
|
|
1618
1618
|
get lockId(): string;
|
|
1619
|
-
get notBefore():
|
|
1620
|
-
get issuedAt():
|
|
1621
|
-
get expiresAt():
|
|
1619
|
+
get notBefore(): bigint;
|
|
1620
|
+
get issuedAt(): bigint;
|
|
1621
|
+
get expiresAt(): bigint;
|
|
1622
1622
|
get jti(): string;
|
|
1623
|
-
copy(userId?: Nullable<string>, userCertificateChain?: Nullable<Array<string>>, userPrivateKey?: Nullable<Int8Array>, lockId?: string, notBefore?:
|
|
1623
|
+
copy(userId?: Nullable<string>, userCertificateChain?: Nullable<Array<string>>, userPrivateKey?: Nullable<Int8Array>, lockId?: string, notBefore?: bigint, issuedAt?: bigint, expiresAt?: bigint, jti?: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
|
|
1624
1624
|
toString(): string;
|
|
1625
1625
|
hashCode(): number;
|
|
1626
1626
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1636,9 +1636,9 @@ export declare namespace com.doordeck.multiplatform.sdk.model.data {
|
|
|
1636
1636
|
setUserCertificateChain(userCertificateChain: Nullable<Array<string>>): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1637
1637
|
setUserPrivateKey(userPrivateKey: Nullable<Int8Array>): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1638
1638
|
setLockId(lockId: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1639
|
-
setNotBefore(notBefore:
|
|
1640
|
-
setIssuedAt(issuedAt:
|
|
1641
|
-
setExpiresAt(expiresAt:
|
|
1639
|
+
setNotBefore(notBefore: bigint): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1640
|
+
setIssuedAt(issuedAt: bigint): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1641
|
+
setExpiresAt(expiresAt: bigint): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1642
1642
|
setJti(jti: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
|
|
1643
1643
|
build(): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
|
|
1644
1644
|
}
|
|
@@ -2414,15 +2414,15 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2414
2414
|
readonly x5t: Nullable<string>;
|
|
2415
2415
|
readonly x5t256: Nullable<string>;
|
|
2416
2416
|
readonly x5c: Nullable<Array<string>>;
|
|
2417
|
-
readonly exp: Nullable<
|
|
2418
|
-
readonly nbf: Nullable<
|
|
2419
|
-
readonly iat: Nullable<
|
|
2417
|
+
readonly exp: Nullable<bigint>;
|
|
2418
|
+
readonly nbf: Nullable<bigint>;
|
|
2419
|
+
readonly iat: Nullable<bigint>;
|
|
2420
2420
|
readonly __doNotUseOrImplementIt: {
|
|
2421
2421
|
readonly "com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse": unique symbol;
|
|
2422
2422
|
};
|
|
2423
2423
|
}
|
|
2424
2424
|
class RsaKeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
|
|
2425
|
-
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<
|
|
2425
|
+
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<bigint> | undefined, nbf: Nullable<bigint> | undefined, iat: Nullable<bigint> | undefined, e: string, n: string);
|
|
2426
2426
|
get use(): string;
|
|
2427
2427
|
get kid(): string;
|
|
2428
2428
|
get alg(): Nullable<string>;
|
|
@@ -2431,12 +2431,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2431
2431
|
get x5t(): Nullable<string>;
|
|
2432
2432
|
get x5t256(): Nullable<string>;
|
|
2433
2433
|
get x5c(): Nullable<Array<string>>;
|
|
2434
|
-
get exp(): Nullable<
|
|
2435
|
-
get nbf(): Nullable<
|
|
2436
|
-
get iat(): Nullable<
|
|
2434
|
+
get exp(): Nullable<bigint>;
|
|
2435
|
+
get nbf(): Nullable<bigint>;
|
|
2436
|
+
get iat(): Nullable<bigint>;
|
|
2437
2437
|
get e(): string;
|
|
2438
2438
|
get n(): string;
|
|
2439
|
-
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<
|
|
2439
|
+
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<bigint>, nbf?: Nullable<bigint>, iat?: Nullable<bigint>, e?: string, n?: string): com.doordeck.multiplatform.sdk.model.responses.RsaKeyResponse;
|
|
2440
2440
|
toString(): string;
|
|
2441
2441
|
hashCode(): number;
|
|
2442
2442
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2449,7 +2449,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
2451
|
class EcKeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
|
|
2452
|
-
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<
|
|
2452
|
+
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<bigint> | undefined, nbf: Nullable<bigint> | undefined, iat: Nullable<bigint> | undefined, crv: string, x: string, y: string);
|
|
2453
2453
|
get use(): string;
|
|
2454
2454
|
get kid(): string;
|
|
2455
2455
|
get alg(): Nullable<string>;
|
|
@@ -2458,13 +2458,13 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2458
2458
|
get x5t(): Nullable<string>;
|
|
2459
2459
|
get x5t256(): Nullable<string>;
|
|
2460
2460
|
get x5c(): Nullable<Array<string>>;
|
|
2461
|
-
get exp(): Nullable<
|
|
2462
|
-
get nbf(): Nullable<
|
|
2463
|
-
get iat(): Nullable<
|
|
2461
|
+
get exp(): Nullable<bigint>;
|
|
2462
|
+
get nbf(): Nullable<bigint>;
|
|
2463
|
+
get iat(): Nullable<bigint>;
|
|
2464
2464
|
get crv(): string;
|
|
2465
2465
|
get x(): string;
|
|
2466
2466
|
get y(): string;
|
|
2467
|
-
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<
|
|
2467
|
+
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<bigint>, nbf?: Nullable<bigint>, iat?: Nullable<bigint>, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.model.responses.EcKeyResponse;
|
|
2468
2468
|
toString(): string;
|
|
2469
2469
|
hashCode(): number;
|
|
2470
2470
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2477,7 +2477,7 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2477
2477
|
}
|
|
2478
2478
|
}
|
|
2479
2479
|
class Ed25519KeyResponse implements com.doordeck.multiplatform.sdk.model.responses.AuthKeyResponse {
|
|
2480
|
-
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<
|
|
2480
|
+
constructor(use: string, kid: string, alg: Nullable<string> | undefined, ops: Nullable<Array<string>> | undefined, x5u: Nullable<string> | undefined, x5t: Nullable<string> | undefined, x5t256: Nullable<string> | undefined, x5c: Nullable<Array<string>> | undefined, exp: Nullable<bigint> | undefined, nbf: Nullable<bigint> | undefined, iat: Nullable<bigint> | undefined, crv: string, x: string);
|
|
2481
2481
|
get use(): string;
|
|
2482
2482
|
get kid(): string;
|
|
2483
2483
|
get alg(): Nullable<string>;
|
|
@@ -2486,12 +2486,12 @@ export declare namespace com.doordeck.multiplatform.sdk.model.responses {
|
|
|
2486
2486
|
get x5t(): Nullable<string>;
|
|
2487
2487
|
get x5t256(): Nullable<string>;
|
|
2488
2488
|
get x5c(): Nullable<Array<string>>;
|
|
2489
|
-
get exp(): Nullable<
|
|
2490
|
-
get nbf(): Nullable<
|
|
2491
|
-
get iat(): Nullable<
|
|
2489
|
+
get exp(): Nullable<bigint>;
|
|
2490
|
+
get nbf(): Nullable<bigint>;
|
|
2491
|
+
get iat(): Nullable<bigint>;
|
|
2492
2492
|
get crv(): string;
|
|
2493
2493
|
get x(): string;
|
|
2494
|
-
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<
|
|
2494
|
+
copy(use?: string, kid?: string, alg?: Nullable<string>, ops?: Nullable<Array<string>>, x5u?: Nullable<string>, x5t?: Nullable<string>, x5t256?: Nullable<string>, x5c?: Nullable<Array<string>>, exp?: Nullable<bigint>, nbf?: Nullable<bigint>, iat?: Nullable<bigint>, crv?: string, x?: string): com.doordeck.multiplatform.sdk.model.responses.Ed25519KeyResponse;
|
|
2495
2495
|
toString(): string;
|
|
2496
2496
|
hashCode(): number;
|
|
2497
2497
|
equals(other: Nullable<any>): boolean;
|