@triveria/wallet 0.0.213 → 0.0.215

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 +24 -18
  2. package/api.js +18 -20
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1186,6 +1186,12 @@ export interface InteractionAuthorizationRequirements {
1186
1186
  * @memberof InteractionAuthorizationRequirements
1187
1187
  */
1188
1188
  'offeredCredentialsTypes'?: Array<string>;
1189
+ /**
1190
+ * Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
1191
+ * @type {Array<IssuerDisplayItem>}
1192
+ * @memberof InteractionAuthorizationRequirements
1193
+ */
1194
+ 'issuerDisplay'?: Array<IssuerDisplayItem>;
1189
1195
  }
1190
1196
  export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
1191
1197
  readonly IdToken: "id_token";
@@ -1232,27 +1238,27 @@ export interface IssuerDisplayItem {
1232
1238
  'locale'?: string;
1233
1239
  /**
1234
1240
  *
1235
- * @type {IssuerLogoImage}
1241
+ * @type {IssuerLogo}
1236
1242
  * @memberof IssuerDisplayItem
1237
1243
  */
1238
- 'logo'?: IssuerLogoImage;
1244
+ 'logo'?: IssuerLogo;
1239
1245
  }
1240
1246
  /**
1241
1247
  *
1242
1248
  * @export
1243
- * @interface IssuerLogoImage
1249
+ * @interface IssuerLogo
1244
1250
  */
1245
- export interface IssuerLogoImage {
1251
+ export interface IssuerLogo {
1246
1252
  /**
1247
1253
  *
1248
1254
  * @type {string}
1249
- * @memberof IssuerLogoImage
1255
+ * @memberof IssuerLogo
1250
1256
  */
1251
1257
  'uri'?: string;
1252
1258
  /**
1253
1259
  *
1254
1260
  * @type {string}
1255
- * @memberof IssuerLogoImage
1261
+ * @memberof IssuerLogo
1256
1262
  */
1257
1263
  'alt_text'?: string;
1258
1264
  }
@@ -2260,9 +2266,9 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2260
2266
  /**
2261
2267
  * Retrieves a list of credentials.
2262
2268
  * @param {string} walletId
2263
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2269
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
2270
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2264
2271
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2265
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2266
2272
  * @param {number} [limit] The number of items
2267
2273
  * @param {string} [nextMarker] Marking the next set of items
2268
2274
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -2271,7 +2277,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2271
2277
  * @param {*} [options] Override http request option.
2272
2278
  * @throws {RequiredError}
2273
2279
  */
2274
- credentialList: (walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2280
+ credentialList: (walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2275
2281
  /**
2276
2282
  * 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.
2277
2283
  * @param {string} credentialId Verifiable Credential Identifier
@@ -2641,9 +2647,9 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2641
2647
  /**
2642
2648
  * Retrieves a list of credentials.
2643
2649
  * @param {string} walletId
2644
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2650
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
2651
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2645
2652
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2646
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2647
2653
  * @param {number} [limit] The number of items
2648
2654
  * @param {string} [nextMarker] Marking the next set of items
2649
2655
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -2652,7 +2658,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2652
2658
  * @param {*} [options] Override http request option.
2653
2659
  * @throws {RequiredError}
2654
2660
  */
2655
- 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>>;
2661
+ credentialList(walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialList>>;
2656
2662
  /**
2657
2663
  * 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.
2658
2664
  * @param {string} credentialId Verifiable Credential Identifier
@@ -3024,9 +3030,9 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3024
3030
  /**
3025
3031
  * Retrieves a list of credentials.
3026
3032
  * @param {string} walletId
3027
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
3033
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
3034
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3028
3035
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
3029
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3030
3036
  * @param {number} [limit] The number of items
3031
3037
  * @param {string} [nextMarker] Marking the next set of items
3032
3038
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -3035,7 +3041,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3035
3041
  * @param {*} [options] Override http request option.
3036
3042
  * @throws {RequiredError}
3037
3043
  */
3038
- credentialList(walletId: string, interaction: CredentialListInteractionEnum, valid?: boolean, type?: string, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
3044
+ credentialList(walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
3039
3045
  /**
3040
3046
  * 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.
3041
3047
  * @param {string} credentialId Verifiable Credential Identifier
@@ -3413,9 +3419,9 @@ export declare class DefaultApi extends BaseAPI {
3413
3419
  /**
3414
3420
  * Retrieves a list of credentials.
3415
3421
  * @param {string} walletId
3416
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
3422
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
3423
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3417
3424
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
3418
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3419
3425
  * @param {number} [limit] The number of items
3420
3426
  * @param {string} [nextMarker] Marking the next set of items
3421
3427
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -3425,7 +3431,7 @@ export declare class DefaultApi extends BaseAPI {
3425
3431
  * @throws {RequiredError}
3426
3432
  * @memberof DefaultApi
3427
3433
  */
3428
- 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>>;
3434
+ credentialList(walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
3429
3435
  /**
3430
3436
  * 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.
3431
3437
  * @param {string} credentialId Verifiable Credential Identifier
package/api.js CHANGED
@@ -294,9 +294,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
294
294
  /**
295
295
  * Retrieves a list of credentials.
296
296
  * @param {string} walletId
297
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
297
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
298
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
298
299
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
299
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
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
@@ -305,11 +305,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
305
305
  * @param {*} [options] Override http request option.
306
306
  * @throws {RequiredError}
307
307
  */
308
- credentialList: (walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
308
+ credentialList: (walletId, interaction, type, valid, 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
- // verify required parameter 'interaction' is not null or undefined
312
- (0, common_1.assertParamExists)('credentialList', 'interaction', interaction);
313
311
  const localVarPath = `/credentials`;
314
312
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
315
313
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -326,12 +324,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
326
324
  if (interaction !== undefined) {
327
325
  localVarQueryParameter['interaction'] = interaction;
328
326
  }
329
- if (valid !== undefined) {
330
- localVarQueryParameter['valid'] = valid;
331
- }
332
327
  if (type !== undefined) {
333
328
  localVarQueryParameter['type'] = type;
334
329
  }
330
+ if (valid !== undefined) {
331
+ localVarQueryParameter['valid'] = valid;
332
+ }
335
333
  if (limit !== undefined) {
336
334
  localVarQueryParameter['limit'] = limit;
337
335
  }
@@ -1864,9 +1862,9 @@ const DefaultApiFp = function (configuration) {
1864
1862
  /**
1865
1863
  * Retrieves a list of credentials.
1866
1864
  * @param {string} walletId
1867
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
1865
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
1866
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1868
1867
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
1869
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
1870
1868
  * @param {number} [limit] The number of items
1871
1869
  * @param {string} [nextMarker] Marking the next set of items
1872
1870
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -1875,10 +1873,10 @@ const DefaultApiFp = function (configuration) {
1875
1873
  * @param {*} [options] Override http request option.
1876
1874
  * @throws {RequiredError}
1877
1875
  */
1878
- credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
1876
+ credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options) {
1879
1877
  var _a, _b, _c;
1880
1878
  return __awaiter(this, void 0, void 0, function* () {
1881
- const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options);
1879
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options);
1882
1880
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1883
1881
  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;
1884
1882
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2601,9 +2599,9 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2601
2599
  /**
2602
2600
  * Retrieves a list of credentials.
2603
2601
  * @param {string} walletId
2604
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
2602
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
2603
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2605
2604
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
2606
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
2607
2605
  * @param {number} [limit] The number of items
2608
2606
  * @param {string} [nextMarker] Marking the next set of items
2609
2607
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -2612,8 +2610,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2612
2610
  * @param {*} [options] Override http request option.
2613
2611
  * @throws {RequiredError}
2614
2612
  */
2615
- credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
2616
- return localVarFp.credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(axios, basePath));
2613
+ credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options) {
2614
+ return localVarFp.credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(axios, basePath));
2617
2615
  },
2618
2616
  /**
2619
2617
  * 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,9 +3082,9 @@ class DefaultApi extends base_1.BaseAPI {
3084
3082
  /**
3085
3083
  * Retrieves a list of credentials.
3086
3084
  * @param {string} walletId
3087
- * @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
3085
+ * @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \&quot;type\&quot; parameter.
3086
+ * @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \&quot;interaction\&quot; parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3088
3087
  * @param {boolean} [valid] The credential validity flag. If not provided credentials with any validity will be returned.
3089
- * @param {string} [type] The credential type as comma delimited list representing a single type. I.e. VerifiableCredential,VerifiableAttestation,Europass.
3090
3088
  * @param {number} [limit] The number of items
3091
3089
  * @param {string} [nextMarker] Marking the next set of items
3092
3090
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
@@ -3096,8 +3094,8 @@ class DefaultApi extends base_1.BaseAPI {
3096
3094
  * @throws {RequiredError}
3097
3095
  * @memberof DefaultApi
3098
3096
  */
3099
- credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options) {
3100
- return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, valid, type, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(this.axios, this.basePath));
3097
+ credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options) {
3098
+ return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction, type, valid, limit, nextMarker, sort, searchPath, filter, options).then((request) => request(this.axios, this.basePath));
3101
3099
  }
3102
3100
  /**
3103
3101
  * 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.213",
4
+ "version": "0.0.215",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {