@triveria/wallet 0.0.188 → 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 -16
  2. package/api.js +14 -7
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -406,12 +406,6 @@ export interface CredentialRequest {
406
406
  * @memberof CredentialRequest
407
407
  */
408
408
  'state'?: string;
409
- /**
410
- *
411
- * @type {boolean}
412
- * @memberof CredentialRequest
413
- */
414
- 'legalEntity': boolean;
415
409
  }
416
410
  /**
417
411
  *
@@ -1691,12 +1685,6 @@ export interface VcOffer {
1691
1685
  * @memberof VcOffer
1692
1686
  */
1693
1687
  'Url': string;
1694
- /**
1695
- *
1696
- * @type {boolean}
1697
- * @memberof VcOffer
1698
- */
1699
- 'LegalEntity'?: boolean;
1700
1688
  }
1701
1689
  /**
1702
1690
  * Request for the creation of URL used by holder to present credentials to a verifier. Either clientId or idTokenRequestId MUST be present.
@@ -1996,6 +1984,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1996
1984
  * Retrieves a list of credentials.
1997
1985
  * @param {string} walletId
1998
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.
1999
1988
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2000
1989
  * @param {number} [limit] The number of items
2001
1990
  * @param {string} [nextMarker] Marking the next set of items
@@ -2005,7 +1994,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2005
1994
  * @param {*} [options] Override http request option.
2006
1995
  * @throws {RequiredError}
2007
1996
  */
2008
- 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>;
2009
1998
  /**
2010
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.
2011
2000
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2329,6 +2318,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2329
2318
  * Retrieves a list of credentials.
2330
2319
  * @param {string} walletId
2331
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.
2332
2322
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2333
2323
  * @param {number} [limit] The number of items
2334
2324
  * @param {string} [nextMarker] Marking the next set of items
@@ -2338,7 +2328,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2338
2328
  * @param {*} [options] Override http request option.
2339
2329
  * @throws {RequiredError}
2340
2330
  */
2341
- 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>>;
2342
2332
  /**
2343
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.
2344
2334
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2662,6 +2652,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2662
2652
  * Retrieves a list of credentials.
2663
2653
  * @param {string} walletId
2664
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.
2665
2656
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2666
2657
  * @param {number} [limit] The number of items
2667
2658
  * @param {string} [nextMarker] Marking the next set of items
@@ -2671,7 +2662,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2671
2662
  * @param {*} [options] Override http request option.
2672
2663
  * @throws {RequiredError}
2673
2664
  */
2674
- 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>;
2675
2666
  /**
2676
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.
2677
2668
  * @param {string} credentialId Verifiable Credential Identifier
@@ -3001,6 +2992,7 @@ export declare class DefaultApi extends BaseAPI {
3001
2992
  * Retrieves a list of credentials.
3002
2993
  * @param {string} walletId
3003
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.
3004
2996
  * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3005
2997
  * @param {number} [limit] The number of items
3006
2998
  * @param {string} [nextMarker] Marking the next set of items
@@ -3011,7 +3003,7 @@ export declare class DefaultApi extends BaseAPI {
3011
3003
  * @throws {RequiredError}
3012
3004
  * @memberof DefaultApi
3013
3005
  */
3014
- 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>>;
3015
3007
  /**
3016
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.
3017
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.188",
4
+ "version": "0.0.190",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {