@triveria/wallet 0.0.271 → 0.0.272
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/api.d.ts +12 -4
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1069,6 +1069,12 @@ export interface WmpCreateInvitationResponse {
|
|
|
1069
1069
|
export interface WmpEntityConnectionStatus {
|
|
1070
1070
|
'connected': boolean;
|
|
1071
1071
|
}
|
|
1072
|
+
export interface WmpEntityIdObject {
|
|
1073
|
+
/**
|
|
1074
|
+
* WMP Entity ID
|
|
1075
|
+
*/
|
|
1076
|
+
'id': string;
|
|
1077
|
+
}
|
|
1072
1078
|
/**
|
|
1073
1079
|
* WMP Entity key identifier
|
|
1074
1080
|
*/
|
|
@@ -1095,7 +1101,9 @@ export interface WmpEntityRecord {
|
|
|
1095
1101
|
'identifiers': Array<WmpEntityKeyIdentifier>;
|
|
1096
1102
|
}
|
|
1097
1103
|
export interface WmpNotification {
|
|
1098
|
-
'server'
|
|
1104
|
+
'server'?: WmpEntityRecord;
|
|
1105
|
+
'client'?: WmpEntityRecord;
|
|
1106
|
+
'invitationUrl'?: string;
|
|
1099
1107
|
'id': string;
|
|
1100
1108
|
'error'?: string;
|
|
1101
1109
|
}
|
|
@@ -2102,7 +2110,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2102
2110
|
* @param {*} [options] Override http request option.
|
|
2103
2111
|
* @throws {RequiredError}
|
|
2104
2112
|
*/
|
|
2105
|
-
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2113
|
+
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WmpEntityIdObject>>;
|
|
2106
2114
|
/**
|
|
2107
2115
|
* Get pending WMP requests (credential offers or credential verification requests)
|
|
2108
2116
|
* @param {string} walletId
|
|
@@ -2630,7 +2638,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2630
2638
|
* @param {*} [options] Override http request option.
|
|
2631
2639
|
* @throws {RequiredError}
|
|
2632
2640
|
*/
|
|
2633
|
-
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2641
|
+
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): AxiosPromise<WmpEntityIdObject>;
|
|
2634
2642
|
/**
|
|
2635
2643
|
* Get pending WMP requests (credential offers or credential verification requests)
|
|
2636
2644
|
* @param {string} walletId
|
|
@@ -3158,7 +3166,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3158
3166
|
* @param {*} [options] Override http request option.
|
|
3159
3167
|
* @throws {RequiredError}
|
|
3160
3168
|
*/
|
|
3161
|
-
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3169
|
+
wmpAcceptInvitation(walletId: string, wmpAcceptInvitationPayload?: WmpAcceptInvitationPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WmpEntityIdObject, any>>;
|
|
3162
3170
|
/**
|
|
3163
3171
|
* Get pending WMP requests (credential offers or credential verification requests)
|
|
3164
3172
|
* @param {string} walletId
|