@doordeck/doordeck-headless-sdk 0.187.0 → 0.189.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.
@@ -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<number>, end?: Nullable<number>): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
743
- getAuditForUser(userId: string, start?: Nullable<number>, end?: Nullable<number>): Promise<Array<com.doordeck.multiplatform.sdk.model.responses.AuditResponse>>;
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: number, baseUrl?: Nullable<string>);
949
+ constructor(username: string, password: string, doorId: bigint, baseUrl?: Nullable<string>);
950
950
  get username(): string;
951
951
  get password(): string;
952
- get doorId(): number;
952
+ get doorId(): bigint;
953
953
  get baseUrl(): Nullable<string>;
954
- copy(username?: string, password?: string, doorId?: number, baseUrl?: Nullable<string>): com.doordeck.multiplatform.sdk.model.data.FusionOperations.AlpetaController;
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<number>, end?: Nullable<number>);
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<number>;
1474
- get end(): Nullable<number>;
1475
- copy(targetUserId?: string, targetUserRole?: string, targetUserPublicKey?: Int8Array, start?: Nullable<number>, end?: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock;
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<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
1491
- setEnd(end: Nullable<number>): com.doordeck.multiplatform.sdk.model.data.LockOperations.ShareLock.Builder;
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?: number, issuedAt?: number, expiresAt?: number, jti?: string);
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(): number;
1620
- get issuedAt(): number;
1621
- get expiresAt(): number;
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?: number, issuedAt?: number, expiresAt?: number, jti?: string): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation;
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: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
1640
- setIssuedAt(issuedAt: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
1641
- setExpiresAt(expiresAt: number): com.doordeck.multiplatform.sdk.model.data.LockOperations.BaseOperation.Builder;
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<number>;
2418
- readonly nbf: Nullable<number>;
2419
- readonly iat: Nullable<number>;
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<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, e: string, n: string);
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<number>;
2435
- get nbf(): Nullable<number>;
2436
- get iat(): Nullable<number>;
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<number>, nbf?: Nullable<number>, iat?: Nullable<number>, e?: string, n?: string): com.doordeck.multiplatform.sdk.model.responses.RsaKeyResponse;
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<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, crv: string, x: string, y: string);
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<number>;
2462
- get nbf(): Nullable<number>;
2463
- get iat(): Nullable<number>;
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<number>, nbf?: Nullable<number>, iat?: Nullable<number>, crv?: string, x?: string, y?: string): com.doordeck.multiplatform.sdk.model.responses.EcKeyResponse;
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<number> | undefined, nbf: Nullable<number> | undefined, iat: Nullable<number> | undefined, crv: string, x: string);
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<number>;
2490
- get nbf(): Nullable<number>;
2491
- get iat(): Nullable<number>;
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<number>, nbf?: Nullable<number>, iat?: Nullable<number>, crv?: string, x?: string): com.doordeck.multiplatform.sdk.model.responses.Ed25519KeyResponse;
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;