@triveria/wallet 0.0.189 → 0.0.190

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 +8 -4
  2. package/api.js +14 -7
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1984,6 +1984,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1984
1984
  * Retrieves a list of credentials.
1985
1985
  * @param {string} walletId
1986
1986
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
1987
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
1987
1988
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1988
1989
  * @param {number} [limit] The number of items
1989
1990
  * @param {string} [nextMarker] Marking the next set of items
@@ -1993,7 +1994,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1993
1994
  * @param {*} [options] Override http request option.
1994
1995
  * @throws {RequiredError}
1995
1996
  */
1996
- credentialList: (walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1997
+ credentialList: (walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1997
1998
  /**
1998
1999
  * 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.
1999
2000
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2317,6 +2318,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2317
2318
  * Retrieves a list of credentials.
2318
2319
  * @param {string} walletId
2319
2320
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2321
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2320
2322
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2321
2323
  * @param {number} [limit] The number of items
2322
2324
  * @param {string} [nextMarker] Marking the next set of items
@@ -2326,7 +2328,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2326
2328
  * @param {*} [options] Override http request option.
2327
2329
  * @throws {RequiredError}
2328
2330
  */
2329
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2331
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2330
2332
  /**
2331
2333
  * 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.
2332
2334
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2650,6 +2652,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2650
2652
  * Retrieves a list of credentials.
2651
2653
  * @param {string} walletId
2652
2654
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2655
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2653
2656
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2654
2657
  * @param {number} [limit] The number of items
2655
2658
  * @param {string} [nextMarker] Marking the next set of items
@@ -2659,7 +2662,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2659
2662
  * @param {*} [options] Override http request option.
2660
2663
  * @throws {RequiredError}
2661
2664
  */
2662
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
2665
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
2663
2666
  /**
2664
2667
  * 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.
2665
2668
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2989,6 +2992,7 @@ export declare class DefaultApi extends BaseAPI {
2989
2992
  * Retrieves a list of credentials.
2990
2993
  * @param {string} walletId
2991
2994
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2995
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2992
2996
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2993
2997
  * @param {number} [limit] The number of items
2994
2998
  * @param {string} [nextMarker] Marking the next set of items
@@ -2999,7 +3003,7 @@ export declare class DefaultApi extends BaseAPI {
2999
3003
  * @throws {RequiredError}
3000
3004
  * @memberof DefaultApi
3001
3005
  */
3002
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
3006
+ credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, path?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
3003
3007
  /**
3004
3008
  * 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.
3005
3009
  * @param {string} credentialId Verifiable Credential Identifier
package/api.js CHANGED
@@ -287,6 +287,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
287
287
  * Retrieves a list of credentials.
288
288
  * @param {string} walletId
289
289
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
290
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
290
291
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
291
292
  * @param {number} [limit] The number of items
292
293
  * @param {string} [nextMarker] Marking the next set of items
@@ -296,7 +297,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
296
297
  * @param {*} [options] Override http request option.
297
298
  * @throws {RequiredError}
298
299
  */
299
- credentialList: (walletId, interaction, type, limit, nextMarker, sort, path, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
300
+ credentialList: (walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
300
301
  // verify required parameter 'walletId' is not null or undefined
301
302
  (0, common_1.assertParamExists)('credentialList', 'walletId', walletId);
302
303
  // verify required parameter 'interaction' is not null or undefined
@@ -317,6 +318,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
317
318
  if (interaction !== undefined) {
318
319
  localVarQueryParameter['interaction'] = interaction;
319
320
  }
321
+ if (valid !== undefined) {
322
+ localVarQueryParameter['valid'] = valid;
323
+ }
320
324
  if (type !== undefined) {
321
325
  localVarQueryParameter['type'] = type;
322
326
  }
@@ -1653,6 +1657,7 @@ const DefaultApiFp = function (configuration) {
1653
1657
  * Retrieves a list of credentials.
1654
1658
  * @param {string} walletId
1655
1659
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
1660
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
1656
1661
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1657
1662
  * @param {number} [limit] The number of items
1658
1663
  * @param {string} [nextMarker] Marking the next set of items
@@ -1662,10 +1667,10 @@ const DefaultApiFp = function (configuration) {
1662
1667
  * @param {*} [options] Override http request option.
1663
1668
  * @throws {RequiredError}
1664
1669
  */
1665
- credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
1670
+ credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options) {
1666
1671
  var _a, _b, _c;
1667
1672
  return __awaiter(this, void 0, void 0, function* () {
1668
- const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options);
1673
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options);
1669
1674
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1670
1675
  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;
1671
1676
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2294,6 +2299,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2294
2299
  * Retrieves a list of credentials.
2295
2300
  * @param {string} walletId
2296
2301
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2302
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2297
2303
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2298
2304
  * @param {number} [limit] The number of items
2299
2305
  * @param {string} [nextMarker] Marking the next set of items
@@ -2303,8 +2309,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2303
2309
  * @param {*} [options] Override http request option.
2304
2310
  * @throws {RequiredError}
2305
2311
  */
2306
- credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
2307
- return localVarFp.credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options).then((request) => request(axios, basePath));
2312
+ credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options) {
2313
+ return localVarFp.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options).then((request) => request(axios, basePath));
2308
2314
  },
2309
2315
  /**
2310
2316
  * 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.
@@ -2717,6 +2723,7 @@ class DefaultApi extends base_1.BaseAPI {
2717
2723
  * Retrieves a list of credentials.
2718
2724
  * @param {string} walletId
2719
2725
  * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2726
+ * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2720
2727
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2721
2728
  * @param {number} [limit] The number of items
2722
2729
  * @param {string} [nextMarker] Marking the next set of items
@@ -2727,8 +2734,8 @@ class DefaultApi extends base_1.BaseAPI {
2727
2734
  * @throws {RequiredError}
2728
2735
  * @memberof DefaultApi
2729
2736
  */
2730
- credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options) {
2731
- return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, type, limit, nextMarker, sort, path, filter, options).then((request) => request(this.axios, this.basePath));
2737
+ credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options) {
2738
+ return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, path, filter, options).then((request) => request(this.axios, this.basePath));
2732
2739
  }
2733
2740
  /**
2734
2741
  * 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.189",
4
+ "version": "0.0.190",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {