@safetech/inheriti-client-sdk 1.17.20 → 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.
- package/dist/automation.js +1 -1
- package/dist/browser.js +1 -1
- package/dist/inbox.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inheriti-client-sdk.umd.js +14 -14
- package/dist/node-base.js +1 -1
- package/dist/node.js +1 -1
- package/dist/sdk-types.d.ts +4 -1
- package/dist/src/business/inbox/inbox-response-validator.d.ts +1 -0
- package/dist/src/elements/http-elements-api-port.d.ts +2 -1
- package/dist/src/operator-auth/operator-auth-client.d.ts +1 -0
- package/dist/src/operator-auth/types.d.ts +1 -0
- package/package.json +2 -2
package/dist/sdk-types.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|
|
@@ -27,6 +27,7 @@ export declare function decodeInboxConversation(value: unknown): InboxConversati
|
|
|
27
27
|
export declare function decodeInboxConversationPage(value: unknown): InboxConversationPage;
|
|
28
28
|
/** Validates a page of eligible participants. */
|
|
29
29
|
export declare function decodeInboxParticipantPage(value: unknown): InboxParticipantPage;
|
|
30
|
+
/** Validates a directory page without accepting device or key data. */
|
|
30
31
|
export declare function decodeInboxMemberPage(value: unknown): InboxMemberPage;
|
|
31
32
|
/** Validates the snapshot needed to send a message. */
|
|
32
33
|
export declare function decodeInboxSendPreparation(value: unknown): InboxSendPreparation;
|
|
@@ -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
|
-
|
|
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 {
|
package/package.json
CHANGED