@triveria/wallet 0.0.135 → 0.0.137

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 +18 -4
  2. package/api.js +21 -7
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -603,6 +603,12 @@ export interface EbsiConfiguration {
603
603
  * @interface EbsiSpecificWalletData
604
604
  */
605
605
  export interface EbsiSpecificWalletData {
606
+ /**
607
+ *
608
+ * @type {string}
609
+ * @memberof EbsiSpecificWalletData
610
+ */
611
+ 'requiredDid'?: string;
606
612
  /**
607
613
  *
608
614
  * @type {boolean}
@@ -1660,10 +1666,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1660
1666
  * @param {number} [limit] The number of items
1661
1667
  * @param {string} [nextMarker] Marking the next set of items
1662
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)
1663
1671
  * @param {*} [options] Override http request option.
1664
1672
  * @throws {RequiredError}
1665
1673
  */
1666
- 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>;
1667
1675
  /**
1668
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.
1669
1677
  * @param {string} credentialId Verifiable Credential Identifier
@@ -1995,10 +2003,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1995
2003
  * @param {number} [limit] The number of items
1996
2004
  * @param {string} [nextMarker] Marking the next set of items
1997
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)
1998
2008
  * @param {*} [options] Override http request option.
1999
2009
  * @throws {RequiredError}
2000
2010
  */
2001
- 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>>;
2002
2012
  /**
2003
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.
2004
2014
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2330,10 +2340,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2330
2340
  * @param {number} [limit] The number of items
2331
2341
  * @param {string} [nextMarker] Marking the next set of items
2332
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)
2333
2345
  * @param {*} [options] Override http request option.
2334
2346
  * @throws {RequiredError}
2335
2347
  */
2336
- 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>;
2337
2349
  /**
2338
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.
2339
2351
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2672,11 +2684,13 @@ export declare class DefaultApi extends BaseAPI {
2672
2684
  * @param {number} [limit] The number of items
2673
2685
  * @param {string} [nextMarker] Marking the next set of items
2674
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)
2675
2689
  * @param {*} [options] Override http request option.
2676
2690
  * @throws {RequiredError}
2677
2691
  * @memberof DefaultApi
2678
2692
  */
2679
- 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>>;
2680
2694
  /**
2681
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.
2682
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.135",
4
+ "version": "0.0.137",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {