@safetech/inheriti-client-sdk 1.17.19 → 1.17.21

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.
@@ -1564,7 +1564,8 @@ declare class ElementsApiRequestFailed extends Error {
1564
1564
  readonly status: number;
1565
1565
  readonly code?: string | undefined;
1566
1566
  readonly detail?: string | undefined;
1567
- constructor(status: number, code?: string | undefined, detail?: string | undefined);
1567
+ readonly requestId?: string | undefined;
1568
+ constructor(status: number, code?: string | undefined, detail?: string | undefined, requestId?: string | undefined);
1568
1569
  get stepUpRequestId(): string | undefined;
1569
1570
  }
1570
1571
  declare class HttpElementsApiPort implements ElementsApiPort {
@@ -1842,6 +1843,7 @@ interface OperatorSession {
1842
1843
  tokenType: 'Bearer';
1843
1844
  expiresAt: number;
1844
1845
  refreshExpiresAt?: number;
1846
+ offlineAccessGranted?: boolean;
1845
1847
  principal: ValidatedOperatorToken;
1846
1848
  }
1847
1849
  interface AuthorizationTransaction {
@@ -1995,6 +1997,7 @@ declare class OperatorAuthClient {
1995
1997
  private getDiscovery;
1996
1998
  private transactionKey;
1997
1999
  private acceptTokens;
2000
+ private isOfflineSession;
1998
2001
  private assertPrincipal;
1999
2002
  private assertIdentity;
2000
2003
  }
@@ -21,6 +21,7 @@ export declare class PlanEditReconfiguration {
21
21
  private clearCheckpoint;
22
22
  private prepareConfiguration;
23
23
  private transportShares;
24
+ private assertNotAborted;
24
25
  private commit;
25
26
  private isCommitted;
26
27
  }
@@ -70,6 +70,7 @@ export declare class QuickPlanEditor {
70
70
  private readonly coreSdk;
71
71
  private readonly assetAccess;
72
72
  private readonly reconfiguration;
73
+ private readonly activeEdits;
73
74
  constructor(port: HttpPlanEditPort, coreSdk: SDKContainer, recoveryStore: EditRecoveryStore);
74
75
  clearRevealedAssets(planId: string): void;
75
76
  start(organizationId: string, planId: string, mode: 'DIRECT' | 'GOVERNED', idempotencyKey: string): Promise<EditSession>;
@@ -83,6 +84,7 @@ export declare class QuickPlanEditor {
83
84
  status: 'UPDATED' | 'RECOVERY_REQUIRED';
84
85
  assetId: string;
85
86
  }>;
87
+ private withEditLock;
86
88
  private isMedia;
87
89
  private hasMediaData;
88
90
  recover(input: EditReference): Promise<{
@@ -43,7 +43,8 @@ export declare class ElementsApiRequestFailed extends Error {
43
43
  readonly status: number;
44
44
  readonly code?: string | undefined;
45
45
  readonly detail?: string | undefined;
46
- constructor(status: number, code?: string | undefined, detail?: string | undefined);
46
+ readonly requestId?: string | undefined;
47
+ constructor(status: number, code?: string | undefined, detail?: string | undefined, requestId?: string | undefined);
47
48
  get stepUpRequestId(): string | undefined;
48
49
  }
49
50
  export default class HttpElementsApiPort implements ElementsApiPort {
@@ -30,6 +30,7 @@ export declare class OperatorAuthClient {
30
30
  private getDiscovery;
31
31
  private transactionKey;
32
32
  private acceptTokens;
33
+ private isOfflineSession;
33
34
  private assertPrincipal;
34
35
  private assertIdentity;
35
36
  }
@@ -42,6 +42,7 @@ export interface OperatorSession {
42
42
  tokenType: 'Bearer';
43
43
  expiresAt: number;
44
44
  refreshExpiresAt?: number;
45
+ offlineAccessGranted?: boolean;
45
46
  principal: ValidatedOperatorToken;
46
47
  }
47
48
  export interface AuthorizationTransaction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safetech/inheriti-client-sdk",
3
- "version": "1.17.19",
3
+ "version": "1.17.21",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -115,4 +115,4 @@
115
115
  "files": [
116
116
  "dist"
117
117
  ]
118
- }
118
+ }