@triveria/wallet 0.0.207 → 0.0.209
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 +14 -8
- package/api.js +13 -13
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1180,6 +1180,12 @@ export interface InteractionAuthorizationRequirements {
|
|
|
1180
1180
|
* @memberof InteractionAuthorizationRequirements
|
|
1181
1181
|
*/
|
|
1182
1182
|
'interactionId': string;
|
|
1183
|
+
/**
|
|
1184
|
+
*
|
|
1185
|
+
* @type {Array<string>}
|
|
1186
|
+
* @memberof InteractionAuthorizationRequirements
|
|
1187
|
+
*/
|
|
1188
|
+
'offeredCredentialsTypes'?: Array<string>;
|
|
1183
1189
|
}
|
|
1184
1190
|
export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
|
|
1185
1191
|
readonly IdToken: "id_token";
|
|
@@ -2260,12 +2266,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2260
2266
|
* @param {number} [limit] The number of items
|
|
2261
2267
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2262
2268
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
2263
|
-
* @param {string} [
|
|
2269
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
2264
2270
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
2265
2271
|
* @param {*} [options] Override http request option.
|
|
2266
2272
|
* @throws {RequiredError}
|
|
2267
2273
|
*/
|
|
2268
|
-
credentialList: (walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort,
|
|
2274
|
+
credentialList: (walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2269
2275
|
/**
|
|
2270
2276
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
2271
2277
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2640,12 +2646,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2640
2646
|
* @param {number} [limit] The number of items
|
|
2641
2647
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2642
2648
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
2643
|
-
* @param {string} [
|
|
2649
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
2644
2650
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
2645
2651
|
* @param {*} [options] Override http request option.
|
|
2646
2652
|
* @throws {RequiredError}
|
|
2647
2653
|
*/
|
|
2648
|
-
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort,
|
|
2654
|
+
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
|
|
2649
2655
|
/**
|
|
2650
2656
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
2651
2657
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -3022,12 +3028,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3022
3028
|
* @param {number} [limit] The number of items
|
|
3023
3029
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3024
3030
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
3025
|
-
* @param {string} [
|
|
3031
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
3026
3032
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
3027
3033
|
* @param {*} [options] Override http request option.
|
|
3028
3034
|
* @throws {RequiredError}
|
|
3029
3035
|
*/
|
|
3030
|
-
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort,
|
|
3036
|
+
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
|
|
3031
3037
|
/**
|
|
3032
3038
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
3033
3039
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -3410,13 +3416,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3410
3416
|
* @param {number} [limit] The number of items
|
|
3411
3417
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3412
3418
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
3413
|
-
* @param {string} [
|
|
3419
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
3414
3420
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
3415
3421
|
* @param {*} [options] Override http request option.
|
|
3416
3422
|
* @throws {RequiredError}
|
|
3417
3423
|
* @memberof DefaultApi
|
|
3418
3424
|
*/
|
|
3419
|
-
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort,
|
|
3425
|
+
credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
|
|
3420
3426
|
/**
|
|
3421
3427
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
3422
3428
|
* @param {string} credentialId Verifiable Credential Identifier
|
package/api.js
CHANGED
|
@@ -300,12 +300,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
300
300
|
* @param {number} [limit] The number of items
|
|
301
301
|
* @param {string} [nextMarker] Marking the next set of items
|
|
302
302
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
303
|
-
* @param {string} [
|
|
303
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
304
304
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
*/
|
|
308
|
-
credentialList: (walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
308
|
+
credentialList: (walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
309
309
|
// verify required parameter 'walletId' is not null or undefined
|
|
310
310
|
(0, common_1.assertParamExists)('credentialList', 'walletId', walletId);
|
|
311
311
|
// verify required parameter 'interaction' is not null or undefined
|
|
@@ -341,8 +341,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
341
341
|
if (sort !== undefined) {
|
|
342
342
|
localVarQueryParameter['sort'] = sort;
|
|
343
343
|
}
|
|
344
|
-
if (
|
|
345
|
-
localVarQueryParameter['
|
|
344
|
+
if (searchPath !== undefined) {
|
|
345
|
+
localVarQueryParameter['searchPath'] = searchPath;
|
|
346
346
|
}
|
|
347
347
|
if (filter !== undefined) {
|
|
348
348
|
localVarQueryParameter['filter'] = filter;
|
|
@@ -1866,15 +1866,15 @@ const DefaultApiFp = function (configuration) {
|
|
|
1866
1866
|
* @param {number} [limit] The number of items
|
|
1867
1867
|
* @param {string} [nextMarker] Marking the next set of items
|
|
1868
1868
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
1869
|
-
* @param {string} [
|
|
1869
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
1870
1870
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
1871
1871
|
* @param {*} [options] Override http request option.
|
|
1872
1872
|
* @throws {RequiredError}
|
|
1873
1873
|
*/
|
|
1874
|
-
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
1874
|
+
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
|
|
1875
1875
|
var _a, _b, _c;
|
|
1876
1876
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1877
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
1877
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options);
|
|
1878
1878
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1879
1879
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1880
1880
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2602,13 +2602,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2602
2602
|
* @param {number} [limit] The number of items
|
|
2603
2603
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2604
2604
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
2605
|
-
* @param {string} [
|
|
2605
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
2606
2606
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
2607
2607
|
* @param {*} [options] Override http request option.
|
|
2608
2608
|
* @throws {RequiredError}
|
|
2609
2609
|
*/
|
|
2610
|
-
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
2611
|
-
return localVarFp.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
2610
|
+
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
|
|
2611
|
+
return localVarFp.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(axios, basePath));
|
|
2612
2612
|
},
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|
|
@@ -3084,14 +3084,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3084
3084
|
* @param {number} [limit] The number of items
|
|
3085
3085
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3086
3086
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
3087
|
-
* @param {string} [
|
|
3087
|
+
* @param {string} [searchPath] JSON path specification for the filter to apply
|
|
3088
3088
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
3089
3089
|
* @param {*} [options] Override http request option.
|
|
3090
3090
|
* @throws {RequiredError}
|
|
3091
3091
|
* @memberof DefaultApi
|
|
3092
3092
|
*/
|
|
3093
|
-
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
3094
|
-
return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, valid, type, limit, nextMarker, sort,
|
|
3093
|
+
credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
|
|
3094
|
+
return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(this.axios, this.basePath));
|
|
3095
3095
|
}
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.
|