@triveria/wallet 0.0.136 → 0.0.138

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.
Files changed (3) hide show
  1. package/api.d.ts +12 -4
  2. package/api.js +21 -7
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1666,10 +1666,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1666
1666
  * @param {number} [limit] The number of items
1667
1667
  * @param {string} [nextMarker] Marking the next set of items
1668
1668
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
1669
+ * @param {string} [path] JSON path specification for the filter to apply
1670
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
1669
1671
  * @param {*} [options] Override http request option.
1670
1672
  * @throws {RequiredError}
1671
1673
  */
1672
- credentialList: (walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1674
+ credentialList: (walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1673
1675
  /**
1674
1676
  * 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.
1675
1677
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2001,10 +2003,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2001
2003
  * @param {number} [limit] The number of items
2002
2004
  * @param {string} [nextMarker] Marking the next set of items
2003
2005
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2006
+ * @param {string} [path] JSON path specification for the filter to apply
2007
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2004
2008
  * @param {*} [options] Override http request option.
2005
2009
  * @throws {RequiredError}
2006
2010
  */
2007
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2011
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2008
2012
  /**
2009
2013
  * 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.
2010
2014
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2336,10 +2340,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2336
2340
  * @param {number} [limit] The number of items
2337
2341
  * @param {string} [nextMarker] Marking the next set of items
2338
2342
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2343
+ * @param {string} [path] JSON path specification for the filter to apply
2344
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2339
2345
  * @param {*} [options] Override http request option.
2340
2346
  * @throws {RequiredError}
2341
2347
  */
2342
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, options?: any): AxiosPromise<CredentialList>;
2348
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: any): AxiosPromise<CredentialList>;
2343
2349
  /**
2344
2350
  * 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.
2345
2351
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2678,11 +2684,13 @@ export declare class DefaultApi extends BaseAPI {
2678
2684
  * @param {number} [limit] The number of items
2679
2685
  * @param {string} [nextMarker] Marking the next set of items
2680
2686
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2687
+ * @param {string} [path] JSON path specification for the filter to apply
2688
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2681
2689
  * @param {*} [options] Override http request option.
2682
2690
  * @throws {RequiredError}
2683
2691
  * @memberof DefaultApi
2684
2692
  */
2685
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
2693
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: CredentialListSortEnum, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
2686
2694
  /**
2687
2695
  * 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.
2688
2696
  * @param {string} credentialId Verifiable Credential Identifier
package/api.js CHANGED
@@ -287,10 +287,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
287
287
  * @param {number} [limit] The number of items
288
288
  * @param {string} [nextMarker] Marking the next set of items
289
289
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
290
+ * @param {string} [path] JSON path specification for the filter to apply
291
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
290
292
  * @param {*} [options] Override http request option.
291
293
  * @throws {RequiredError}
292
294
  */
293
- credentialList: (walletId, interaction, type, limit, nextMarker, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
295
+ credentialList: (walletId, interaction, type, limit, nextMarker, sort, path, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
294
296
  // verify required parameter 'walletId' is not null or undefined
295
297
  (0, common_1.assertParamExists)('credentialList', 'walletId', walletId);
296
298
  // verify required parameter 'interaction' is not null or undefined
@@ -323,6 +325,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
323
325
  if (sort !== undefined) {
324
326
  localVarQueryParameter['sort'] = sort;
325
327
  }
328
+ if (path !== undefined) {
329
+ localVarQueryParameter['path'] = path;
330
+ }
331
+ if (filter !== undefined) {
332
+ localVarQueryParameter['filter'] = filter;
333
+ }
326
334
  if (walletId != null) {
327
335
  localVarHeaderParameter['wallet-id'] = String(walletId);
328
336
  }
@@ -1664,13 +1672,15 @@ const DefaultApiFp = function (configuration) {
1664
1672
  * @param {number} [limit] The number of items
1665
1673
  * @param {string} [nextMarker] Marking the next set of items
1666
1674
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
1675
+ * @param {string} [path] JSON path specification for the filter to apply
1676
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
1667
1677
  * @param {*} [options] Override http request option.
1668
1678
  * @throws {RequiredError}
1669
1679
  */
1670
- credentialList(walletId, interaction, type, limit, nextMarker, sort, options) {
1680
+ credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
1671
1681
  var _a, _b, _c;
1672
1682
  return __awaiter(this, void 0, void 0, function* () {
1673
- const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, type, limit, nextMarker, sort, options);
1683
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options);
1674
1684
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1675
1685
  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;
1676
1686
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2301,11 +2311,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2301
2311
  * @param {number} [limit] The number of items
2302
2312
  * @param {string} [nextMarker] Marking the next set of items
2303
2313
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2314
+ * @param {string} [path] JSON path specification for the filter to apply
2315
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2304
2316
  * @param {*} [options] Override http request option.
2305
2317
  * @throws {RequiredError}
2306
2318
  */
2307
- credentialList(walletId, interaction, type, limit, nextMarker, sort, options) {
2308
- return localVarFp.credentialList(walletId, interaction, type, limit, nextMarker, sort, options).then((request) => request(axios, basePath));
2319
+ credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
2320
+ return localVarFp.credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options).then((request) => request(axios, basePath));
2309
2321
  },
2310
2322
  /**
2311
2323
  * 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.
@@ -2727,12 +2739,14 @@ class DefaultApi extends base_1.BaseAPI {
2727
2739
  * @param {number} [limit] The number of items
2728
2740
  * @param {string} [nextMarker] Marking the next set of items
2729
2741
  * @param {CredentialListSortEnum} [sort] Sort flag controls the sort direction by the time updated or issued
2742
+ * @param {string} [path] JSON path specification for the filter to apply
2743
+ * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
2730
2744
  * @param {*} [options] Override http request option.
2731
2745
  * @throws {RequiredError}
2732
2746
  * @memberof DefaultApi
2733
2747
  */
2734
- credentialList(walletId, interaction, type, limit, nextMarker, sort, options) {
2735
- return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, type, limit, nextMarker, sort, options).then((request) => request(this.axios, this.basePath));
2748
+ credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
2749
+ return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options).then((request) => request(this.axios, this.basePath));
2736
2750
  }
2737
2751
  /**
2738
2752
  * 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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.136",
4
+ "version": "0.0.138",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {