@triveria/wallet 0.0.163 → 0.0.165
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 +35 -17
- package/api.js +30 -30
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1327,12 +1327,30 @@ export interface PresentationDefinitionInputConstraint {
|
|
|
1327
1327
|
* @interface PresentationDefinitionInputConstraintField
|
|
1328
1328
|
*/
|
|
1329
1329
|
export interface PresentationDefinitionInputConstraintField {
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof PresentationDefinitionInputConstraintField
|
|
1334
|
+
*/
|
|
1335
|
+
'id'?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {string}
|
|
1339
|
+
* @memberof PresentationDefinitionInputConstraintField
|
|
1340
|
+
*/
|
|
1341
|
+
'name'?: string;
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @type {string}
|
|
1345
|
+
* @memberof PresentationDefinitionInputConstraintField
|
|
1346
|
+
*/
|
|
1347
|
+
'purpose'?: string;
|
|
1330
1348
|
/**
|
|
1331
1349
|
*
|
|
1332
1350
|
* @type {object}
|
|
1333
1351
|
* @memberof PresentationDefinitionInputConstraintField
|
|
1334
1352
|
*/
|
|
1335
|
-
'filter'
|
|
1353
|
+
'filter'?: object;
|
|
1336
1354
|
/**
|
|
1337
1355
|
*
|
|
1338
1356
|
* @type {Array<string>}
|
|
@@ -2100,21 +2118,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2100
2118
|
*/
|
|
2101
2119
|
walletPatch: (walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2102
2120
|
/**
|
|
2103
|
-
* Gets a specific verified
|
|
2121
|
+
* Gets a specific verified credentials by state
|
|
2104
2122
|
* @param {string} walletId Wallet ID
|
|
2105
2123
|
* @param {string} state Verifier state
|
|
2106
2124
|
* @param {*} [options] Override http request option.
|
|
2107
2125
|
* @throws {RequiredError}
|
|
2108
2126
|
*/
|
|
2109
|
-
|
|
2127
|
+
walletVerifiedCredentialsByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2110
2128
|
/**
|
|
2111
|
-
* Deletes a specific verified
|
|
2129
|
+
* Deletes a specific verified credentials by state
|
|
2112
2130
|
* @param {string} walletId Wallet ID
|
|
2113
2131
|
* @param {string} state Verifier state
|
|
2114
2132
|
* @param {*} [options] Override http request option.
|
|
2115
2133
|
* @throws {RequiredError}
|
|
2116
2134
|
*/
|
|
2117
|
-
|
|
2135
|
+
walletVerifiedCredentialsDeleteByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2118
2136
|
};
|
|
2119
2137
|
/**
|
|
2120
2138
|
* DefaultApi - functional programming interface
|
|
@@ -2426,21 +2444,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2426
2444
|
*/
|
|
2427
2445
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdObject>>;
|
|
2428
2446
|
/**
|
|
2429
|
-
* Gets a specific verified
|
|
2447
|
+
* Gets a specific verified credentials by state
|
|
2430
2448
|
* @param {string} walletId Wallet ID
|
|
2431
2449
|
* @param {string} state Verifier state
|
|
2432
2450
|
* @param {*} [options] Override http request option.
|
|
2433
2451
|
* @throws {RequiredError}
|
|
2434
2452
|
*/
|
|
2435
|
-
|
|
2453
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Credential>>>;
|
|
2436
2454
|
/**
|
|
2437
|
-
* Deletes a specific verified
|
|
2455
|
+
* Deletes a specific verified credentials by state
|
|
2438
2456
|
* @param {string} walletId Wallet ID
|
|
2439
2457
|
* @param {string} state Verifier state
|
|
2440
2458
|
* @param {*} [options] Override http request option.
|
|
2441
2459
|
* @throws {RequiredError}
|
|
2442
2460
|
*/
|
|
2443
|
-
|
|
2461
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2444
2462
|
};
|
|
2445
2463
|
/**
|
|
2446
2464
|
* DefaultApi - factory interface
|
|
@@ -2752,21 +2770,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2752
2770
|
*/
|
|
2753
2771
|
walletPatch(walletId: string, wallet?: Wallet, options?: any): AxiosPromise<WalletIdObject>;
|
|
2754
2772
|
/**
|
|
2755
|
-
* Gets a specific verified
|
|
2773
|
+
* Gets a specific verified credentials by state
|
|
2756
2774
|
* @param {string} walletId Wallet ID
|
|
2757
2775
|
* @param {string} state Verifier state
|
|
2758
2776
|
* @param {*} [options] Override http request option.
|
|
2759
2777
|
* @throws {RequiredError}
|
|
2760
2778
|
*/
|
|
2761
|
-
|
|
2779
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: any): AxiosPromise<Array<Credential>>;
|
|
2762
2780
|
/**
|
|
2763
|
-
* Deletes a specific verified
|
|
2781
|
+
* Deletes a specific verified credentials by state
|
|
2764
2782
|
* @param {string} walletId Wallet ID
|
|
2765
2783
|
* @param {string} state Verifier state
|
|
2766
2784
|
* @param {*} [options] Override http request option.
|
|
2767
2785
|
* @throws {RequiredError}
|
|
2768
2786
|
*/
|
|
2769
|
-
|
|
2787
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: any): AxiosPromise<void>;
|
|
2770
2788
|
};
|
|
2771
2789
|
/**
|
|
2772
2790
|
* DefaultApi - object-oriented interface
|
|
@@ -3118,23 +3136,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3118
3136
|
*/
|
|
3119
3137
|
walletPatch(walletId: string, wallet?: Wallet, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
3120
3138
|
/**
|
|
3121
|
-
* Gets a specific verified
|
|
3139
|
+
* Gets a specific verified credentials by state
|
|
3122
3140
|
* @param {string} walletId Wallet ID
|
|
3123
3141
|
* @param {string} state Verifier state
|
|
3124
3142
|
* @param {*} [options] Override http request option.
|
|
3125
3143
|
* @throws {RequiredError}
|
|
3126
3144
|
* @memberof DefaultApi
|
|
3127
3145
|
*/
|
|
3128
|
-
|
|
3146
|
+
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credential[], any>>;
|
|
3129
3147
|
/**
|
|
3130
|
-
* Deletes a specific verified
|
|
3148
|
+
* Deletes a specific verified credentials by state
|
|
3131
3149
|
* @param {string} walletId Wallet ID
|
|
3132
3150
|
* @param {string} state Verifier state
|
|
3133
3151
|
* @param {*} [options] Override http request option.
|
|
3134
3152
|
* @throws {RequiredError}
|
|
3135
3153
|
* @memberof DefaultApi
|
|
3136
3154
|
*/
|
|
3137
|
-
|
|
3155
|
+
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3138
3156
|
}
|
|
3139
3157
|
/**
|
|
3140
3158
|
* @export
|
package/api.js
CHANGED
|
@@ -1460,18 +1460,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
}),
|
|
1462
1462
|
/**
|
|
1463
|
-
* Gets a specific verified
|
|
1463
|
+
* Gets a specific verified credentials by state
|
|
1464
1464
|
* @param {string} walletId Wallet ID
|
|
1465
1465
|
* @param {string} state Verifier state
|
|
1466
1466
|
* @param {*} [options] Override http request option.
|
|
1467
1467
|
* @throws {RequiredError}
|
|
1468
1468
|
*/
|
|
1469
|
-
|
|
1469
|
+
walletVerifiedCredentialsByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1470
1470
|
// verify required parameter 'walletId' is not null or undefined
|
|
1471
|
-
(0, common_1.assertParamExists)('
|
|
1471
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsByState', 'walletId', walletId);
|
|
1472
1472
|
// verify required parameter 'state' is not null or undefined
|
|
1473
|
-
(0, common_1.assertParamExists)('
|
|
1474
|
-
const localVarPath = `/wallets/{wallet_id}/
|
|
1473
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsByState', 'state', state);
|
|
1474
|
+
const localVarPath = `/wallets/{wallet_id}/verified_credentials/{state}`
|
|
1475
1475
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1476
1476
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1477
1477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1495,18 +1495,18 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1495
1495
|
};
|
|
1496
1496
|
}),
|
|
1497
1497
|
/**
|
|
1498
|
-
* Deletes a specific verified
|
|
1498
|
+
* Deletes a specific verified credentials by state
|
|
1499
1499
|
* @param {string} walletId Wallet ID
|
|
1500
1500
|
* @param {string} state Verifier state
|
|
1501
1501
|
* @param {*} [options] Override http request option.
|
|
1502
1502
|
* @throws {RequiredError}
|
|
1503
1503
|
*/
|
|
1504
|
-
|
|
1504
|
+
walletVerifiedCredentialsDeleteByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1505
1505
|
// verify required parameter 'walletId' is not null or undefined
|
|
1506
|
-
(0, common_1.assertParamExists)('
|
|
1506
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsDeleteByState', 'walletId', walletId);
|
|
1507
1507
|
// verify required parameter 'state' is not null or undefined
|
|
1508
|
-
(0, common_1.assertParamExists)('
|
|
1509
|
-
const localVarPath = `/wallets/{wallet_id}/
|
|
1508
|
+
(0, common_1.assertParamExists)('walletVerifiedCredentialsDeleteByState', 'state', state);
|
|
1509
|
+
const localVarPath = `/wallets/{wallet_id}/verified_credentials/{state}`
|
|
1510
1510
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1511
1511
|
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1512
1512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2148,34 +2148,34 @@ const DefaultApiFp = function (configuration) {
|
|
|
2148
2148
|
});
|
|
2149
2149
|
},
|
|
2150
2150
|
/**
|
|
2151
|
-
* Gets a specific verified
|
|
2151
|
+
* Gets a specific verified credentials by state
|
|
2152
2152
|
* @param {string} walletId Wallet ID
|
|
2153
2153
|
* @param {string} state Verifier state
|
|
2154
2154
|
* @param {*} [options] Override http request option.
|
|
2155
2155
|
* @throws {RequiredError}
|
|
2156
2156
|
*/
|
|
2157
|
-
|
|
2157
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
2158
2158
|
var _a, _b, _c;
|
|
2159
2159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2160
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2160
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedCredentialsByState(walletId, state, options);
|
|
2161
2161
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2162
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
2162
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedCredentialsByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2163
2163
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2164
2164
|
});
|
|
2165
2165
|
},
|
|
2166
2166
|
/**
|
|
2167
|
-
* Deletes a specific verified
|
|
2167
|
+
* Deletes a specific verified credentials by state
|
|
2168
2168
|
* @param {string} walletId Wallet ID
|
|
2169
2169
|
* @param {string} state Verifier state
|
|
2170
2170
|
* @param {*} [options] Override http request option.
|
|
2171
2171
|
* @throws {RequiredError}
|
|
2172
2172
|
*/
|
|
2173
|
-
|
|
2173
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
2174
2174
|
var _a, _b, _c;
|
|
2175
2175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2176
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
2176
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletVerifiedCredentialsDeleteByState(walletId, state, options);
|
|
2177
2177
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2178
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
2178
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletVerifiedCredentialsDeleteByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2179
2179
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2180
2180
|
});
|
|
2181
2181
|
},
|
|
@@ -2570,24 +2570,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2570
2570
|
return localVarFp.walletPatch(walletId, wallet, options).then((request) => request(axios, basePath));
|
|
2571
2571
|
},
|
|
2572
2572
|
/**
|
|
2573
|
-
* Gets a specific verified
|
|
2573
|
+
* Gets a specific verified credentials by state
|
|
2574
2574
|
* @param {string} walletId Wallet ID
|
|
2575
2575
|
* @param {string} state Verifier state
|
|
2576
2576
|
* @param {*} [options] Override http request option.
|
|
2577
2577
|
* @throws {RequiredError}
|
|
2578
2578
|
*/
|
|
2579
|
-
|
|
2580
|
-
return localVarFp.
|
|
2579
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
2580
|
+
return localVarFp.walletVerifiedCredentialsByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2581
2581
|
},
|
|
2582
2582
|
/**
|
|
2583
|
-
* Deletes a specific verified
|
|
2583
|
+
* Deletes a specific verified credentials by state
|
|
2584
2584
|
* @param {string} walletId Wallet ID
|
|
2585
2585
|
* @param {string} state Verifier state
|
|
2586
2586
|
* @param {*} [options] Override http request option.
|
|
2587
2587
|
* @throws {RequiredError}
|
|
2588
2588
|
*/
|
|
2589
|
-
|
|
2590
|
-
return localVarFp.
|
|
2589
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
2590
|
+
return localVarFp.walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
2591
2591
|
},
|
|
2592
2592
|
};
|
|
2593
2593
|
};
|
|
@@ -3018,26 +3018,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3018
3018
|
return (0, exports.DefaultApiFp)(this.configuration).walletPatch(walletId, wallet, options).then((request) => request(this.axios, this.basePath));
|
|
3019
3019
|
}
|
|
3020
3020
|
/**
|
|
3021
|
-
* Gets a specific verified
|
|
3021
|
+
* Gets a specific verified credentials by state
|
|
3022
3022
|
* @param {string} walletId Wallet ID
|
|
3023
3023
|
* @param {string} state Verifier state
|
|
3024
3024
|
* @param {*} [options] Override http request option.
|
|
3025
3025
|
* @throws {RequiredError}
|
|
3026
3026
|
* @memberof DefaultApi
|
|
3027
3027
|
*/
|
|
3028
|
-
|
|
3029
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3028
|
+
walletVerifiedCredentialsByState(walletId, state, options) {
|
|
3029
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3030
3030
|
}
|
|
3031
3031
|
/**
|
|
3032
|
-
* Deletes a specific verified
|
|
3032
|
+
* Deletes a specific verified credentials by state
|
|
3033
3033
|
* @param {string} walletId Wallet ID
|
|
3034
3034
|
* @param {string} state Verifier state
|
|
3035
3035
|
* @param {*} [options] Override http request option.
|
|
3036
3036
|
* @throws {RequiredError}
|
|
3037
3037
|
* @memberof DefaultApi
|
|
3038
3038
|
*/
|
|
3039
|
-
|
|
3040
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
3039
|
+
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
3040
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3041
3041
|
}
|
|
3042
3042
|
}
|
|
3043
3043
|
exports.DefaultApi = DefaultApi;
|