@triveria/wallet 0.0.222 → 0.0.223
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 +23 -4
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -227,7 +227,7 @@ export interface CredentialImport {
|
|
|
227
227
|
'name': string;
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
230
|
-
* Request for addition of already created VC draft to issuance queue for a client
|
|
230
|
+
* Request for addition of already created VC draft to issuance queue for a client. If clientId is used, it will be used as the queue item id, otherwise a new ID will be created.
|
|
231
231
|
* @export
|
|
232
232
|
* @interface CredentialIssuanceInit
|
|
233
233
|
*/
|
|
@@ -257,6 +257,19 @@ export interface CredentialIssuanceInit {
|
|
|
257
257
|
*/
|
|
258
258
|
'issuanceRequirementsToVerify'?: IssuanceRequirementsToVerify;
|
|
259
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @export
|
|
263
|
+
* @interface CredentialIssuanceInitResult
|
|
264
|
+
*/
|
|
265
|
+
export interface CredentialIssuanceInitResult {
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {string}
|
|
269
|
+
* @memberof CredentialIssuanceInitResult
|
|
270
|
+
*/
|
|
271
|
+
'issuanceQueueItemId': string;
|
|
272
|
+
}
|
|
260
273
|
/**
|
|
261
274
|
*
|
|
262
275
|
* @export
|
|
@@ -1099,6 +1112,12 @@ export interface InitAuthOffer {
|
|
|
1099
1112
|
* @memberof InitAuthOffer
|
|
1100
1113
|
*/
|
|
1101
1114
|
'deferred'?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* Id of issuance queue item. Required when issuer type is CredentialQueue type and no clientId was provided when adding credential to queue.
|
|
1117
|
+
* @type {string}
|
|
1118
|
+
* @memberof InitAuthOffer
|
|
1119
|
+
*/
|
|
1120
|
+
'issuanceQueueItemId'?: string;
|
|
1102
1121
|
}
|
|
1103
1122
|
/**
|
|
1104
1123
|
* Request for pre-authorized issuance process start. Consists of client id or id token request id, credential offer endpoint(most commonly only schema) and id\'s of credentials to be issued to client. Either clientId or idTokenRequestId MUST be present in the request.
|
|
@@ -2679,7 +2698,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2679
2698
|
* @param {*} [options] Override http request option.
|
|
2680
2699
|
* @throws {RequiredError}
|
|
2681
2700
|
*/
|
|
2682
|
-
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2701
|
+
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialIssuanceInitResult>>;
|
|
2683
2702
|
/**
|
|
2684
2703
|
* Retrieves a list of credentials.
|
|
2685
2704
|
* @param {string} walletId
|
|
@@ -3062,7 +3081,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3062
3081
|
* @param {*} [options] Override http request option.
|
|
3063
3082
|
* @throws {RequiredError}
|
|
3064
3083
|
*/
|
|
3065
|
-
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3084
|
+
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): AxiosPromise<CredentialIssuanceInitResult>;
|
|
3066
3085
|
/**
|
|
3067
3086
|
* Retrieves a list of credentials.
|
|
3068
3087
|
* @param {string} walletId
|
|
@@ -3451,7 +3470,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3451
3470
|
* @throws {RequiredError}
|
|
3452
3471
|
* @memberof DefaultApi
|
|
3453
3472
|
*/
|
|
3454
|
-
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3473
|
+
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIssuanceInitResult, any>>;
|
|
3455
3474
|
/**
|
|
3456
3475
|
* Retrieves a list of credentials.
|
|
3457
3476
|
* @param {string} walletId
|