@triveria/wallet 0.0.213 → 0.0.214
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.
- package/api.d.ts +12 -12
- package/api.js +18 -20
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -2260,9 +2260,9 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Retrieves a list of credentials.
|
|
2262
2262
|
* @param {string} walletId
|
|
2263
|
-
* @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
|
|
2263
|
+
* @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \"type\" parameter.
|
|
2264
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
|
|
2264
2265
|
* @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
2266
|
* @param {number} [limit] The number of items
|
|
2267
2267
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2268
2268
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
@@ -2271,7 +2271,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2271
2271
|
* @param {*} [options] Override http request option.
|
|
2272
2272
|
* @throws {RequiredError}
|
|
2273
2273
|
*/
|
|
2274
|
-
credentialList: (walletId: string, interaction
|
|
2274
|
+
credentialList: (walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2275
2275
|
/**
|
|
2276
2276
|
* 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
2277
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -2641,9 +2641,9 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2641
2641
|
/**
|
|
2642
2642
|
* Retrieves a list of credentials.
|
|
2643
2643
|
* @param {string} walletId
|
|
2644
|
-
* @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
|
|
2644
|
+
* @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \"type\" parameter.
|
|
2645
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
|
|
2645
2646
|
* @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
2647
|
* @param {number} [limit] The number of items
|
|
2648
2648
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2649
2649
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
@@ -2652,7 +2652,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2652
2652
|
* @param {*} [options] Override http request option.
|
|
2653
2653
|
* @throws {RequiredError}
|
|
2654
2654
|
*/
|
|
2655
|
-
credentialList(walletId: string, interaction
|
|
2655
|
+
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
2656
|
/**
|
|
2657
2657
|
* 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
2658
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -3024,9 +3024,9 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3024
3024
|
/**
|
|
3025
3025
|
* Retrieves a list of credentials.
|
|
3026
3026
|
* @param {string} walletId
|
|
3027
|
-
* @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
|
|
3027
|
+
* @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \"type\" parameter.
|
|
3028
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
|
|
3028
3029
|
* @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
3030
|
* @param {number} [limit] The number of items
|
|
3031
3031
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3032
3032
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
@@ -3035,7 +3035,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3035
3035
|
* @param {*} [options] Override http request option.
|
|
3036
3036
|
* @throws {RequiredError}
|
|
3037
3037
|
*/
|
|
3038
|
-
credentialList(walletId: string, interaction
|
|
3038
|
+
credentialList(walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialList>;
|
|
3039
3039
|
/**
|
|
3040
3040
|
* 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
3041
|
* @param {string} credentialId Verifiable Credential Identifier
|
|
@@ -3413,9 +3413,9 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3413
3413
|
/**
|
|
3414
3414
|
* Retrieves a list of credentials.
|
|
3415
3415
|
* @param {string} walletId
|
|
3416
|
-
* @param {CredentialListInteractionEnum} interaction The interaction that is the origin of the credential.
|
|
3416
|
+
* @param {CredentialListInteractionEnum} [interaction] The interaction that is the origin of the credential. This parameter is mutually exclusive with the \"type\" parameter.
|
|
3417
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" parameter. I.e. VerifiableCredential,VerifiableAttestation,Europass.
|
|
3417
3418
|
* @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
3419
|
* @param {number} [limit] The number of items
|
|
3420
3420
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3421
3421
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time updated or issued
|
|
@@ -3425,7 +3425,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3425
3425
|
* @throws {RequiredError}
|
|
3426
3426
|
* @memberof DefaultApi
|
|
3427
3427
|
*/
|
|
3428
|
-
credentialList(walletId: string, interaction
|
|
3428
|
+
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
3429
|
/**
|
|
3430
3430
|
* 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
3431
|
* @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 \"type\" parameter.
|
|
298
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" 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,
|
|
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 \"type\" parameter.
|
|
1866
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" 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,
|
|
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,
|
|
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 \"type\" parameter.
|
|
2603
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" 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,
|
|
2616
|
-
return localVarFp.credentialList(walletId, interaction,
|
|
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 \"type\" parameter.
|
|
3086
|
+
* @param {string} [type] The credential type as comma delimited list representing a single type. This parameter is mutually exclusive with the \"interaction\" 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,
|
|
3100
|
-
return (0, exports.DefaultApiFp)(this.configuration).credentialList(walletId, interaction,
|
|
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.
|