@triveria/wallet 0.0.240 → 0.0.242
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 +14 -8
- package/api.js +15 -15
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -426,6 +426,12 @@ export interface CredentialMetadata {
|
|
|
426
426
|
* @memberof CredentialMetadata
|
|
427
427
|
*/
|
|
428
428
|
'disclosableFields'?: Array<string>;
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof CredentialMetadata
|
|
433
|
+
*/
|
|
434
|
+
'issuerIdentifier': string;
|
|
429
435
|
/**
|
|
430
436
|
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
431
437
|
* @type {Array<IssuerDisplayItem>}
|
|
@@ -2713,12 +2719,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2713
2719
|
/**
|
|
2714
2720
|
* Gets a specific notification by state
|
|
2715
2721
|
* @param {string} walletId Wallet ID
|
|
2716
|
-
* @param {string} state Event identifier
|
|
2717
2722
|
* @param {string} eventType Event type
|
|
2723
|
+
* @param {string} state Event identifier
|
|
2718
2724
|
* @param {*} [options] Override http request option.
|
|
2719
2725
|
* @throws {RequiredError}
|
|
2720
2726
|
*/
|
|
2721
|
-
walletNotificationGetByState: (walletId: string,
|
|
2727
|
+
walletNotificationGetByState: (walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2722
2728
|
/**
|
|
2723
2729
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
2724
2730
|
* @param {string} walletId Wallet ID
|
|
@@ -3092,12 +3098,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3092
3098
|
/**
|
|
3093
3099
|
* Gets a specific notification by state
|
|
3094
3100
|
* @param {string} walletId Wallet ID
|
|
3095
|
-
* @param {string} state Event identifier
|
|
3096
3101
|
* @param {string} eventType Event type
|
|
3102
|
+
* @param {string} state Event identifier
|
|
3097
3103
|
* @param {*} [options] Override http request option.
|
|
3098
3104
|
* @throws {RequiredError}
|
|
3099
3105
|
*/
|
|
3100
|
-
walletNotificationGetByState(walletId: string,
|
|
3106
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
|
|
3101
3107
|
/**
|
|
3102
3108
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3103
3109
|
* @param {string} walletId Wallet ID
|
|
@@ -3471,12 +3477,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3471
3477
|
/**
|
|
3472
3478
|
* Gets a specific notification by state
|
|
3473
3479
|
* @param {string} walletId Wallet ID
|
|
3474
|
-
* @param {string} state Event identifier
|
|
3475
3480
|
* @param {string} eventType Event type
|
|
3481
|
+
* @param {string} state Event identifier
|
|
3476
3482
|
* @param {*} [options] Override http request option.
|
|
3477
3483
|
* @throws {RequiredError}
|
|
3478
3484
|
*/
|
|
3479
|
-
walletNotificationGetByState(walletId: string,
|
|
3485
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
|
|
3480
3486
|
/**
|
|
3481
3487
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3482
3488
|
* @param {string} walletId Wallet ID
|
|
@@ -3892,13 +3898,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3892
3898
|
/**
|
|
3893
3899
|
* Gets a specific notification by state
|
|
3894
3900
|
* @param {string} walletId Wallet ID
|
|
3895
|
-
* @param {string} state Event identifier
|
|
3896
3901
|
* @param {string} eventType Event type
|
|
3902
|
+
* @param {string} state Event identifier
|
|
3897
3903
|
* @param {*} [options] Override http request option.
|
|
3898
3904
|
* @throws {RequiredError}
|
|
3899
3905
|
* @memberof DefaultApi
|
|
3900
3906
|
*/
|
|
3901
|
-
walletNotificationGetByState(walletId: string,
|
|
3907
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
|
|
3902
3908
|
/**
|
|
3903
3909
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3904
3910
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -1583,22 +1583,22 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Gets a specific notification by state
|
|
1585
1585
|
* @param {string} walletId Wallet ID
|
|
1586
|
-
* @param {string} state Event identifier
|
|
1587
1586
|
* @param {string} eventType Event type
|
|
1587
|
+
* @param {string} state Event identifier
|
|
1588
1588
|
* @param {*} [options] Override http request option.
|
|
1589
1589
|
* @throws {RequiredError}
|
|
1590
1590
|
*/
|
|
1591
|
-
walletNotificationGetByState: (walletId,
|
|
1591
|
+
walletNotificationGetByState: (walletId, eventType, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1592
1592
|
// verify required parameter 'walletId' is not null or undefined
|
|
1593
1593
|
(0, common_1.assertParamExists)('walletNotificationGetByState', 'walletId', walletId);
|
|
1594
|
-
// verify required parameter 'state' is not null or undefined
|
|
1595
|
-
(0, common_1.assertParamExists)('walletNotificationGetByState', 'state', state);
|
|
1596
1594
|
// verify required parameter 'eventType' is not null or undefined
|
|
1597
1595
|
(0, common_1.assertParamExists)('walletNotificationGetByState', 'eventType', eventType);
|
|
1596
|
+
// verify required parameter 'state' is not null or undefined
|
|
1597
|
+
(0, common_1.assertParamExists)('walletNotificationGetByState', 'state', state);
|
|
1598
1598
|
const localVarPath = `/wallets/{wallet_id}/notification_history/{event_type}/{state}`
|
|
1599
1599
|
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
|
|
1600
|
-
.replace(`{${"
|
|
1601
|
-
.replace(`{${"
|
|
1600
|
+
.replace(`{${"event_type"}}`, encodeURIComponent(String(eventType)))
|
|
1601
|
+
.replace(`{${"state"}}`, encodeURIComponent(String(state)));
|
|
1602
1602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1603
1603
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1604
1604
|
let baseOptions;
|
|
@@ -2454,15 +2454,15 @@ const DefaultApiFp = function (configuration) {
|
|
|
2454
2454
|
/**
|
|
2455
2455
|
* Gets a specific notification by state
|
|
2456
2456
|
* @param {string} walletId Wallet ID
|
|
2457
|
-
* @param {string} state Event identifier
|
|
2458
2457
|
* @param {string} eventType Event type
|
|
2458
|
+
* @param {string} state Event identifier
|
|
2459
2459
|
* @param {*} [options] Override http request option.
|
|
2460
2460
|
* @throws {RequiredError}
|
|
2461
2461
|
*/
|
|
2462
|
-
walletNotificationGetByState(walletId,
|
|
2462
|
+
walletNotificationGetByState(walletId, eventType, state, options) {
|
|
2463
2463
|
var _a, _b, _c;
|
|
2464
2464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2465
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId,
|
|
2465
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId, eventType, state, options);
|
|
2466
2466
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2467
2467
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotificationGetByState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2468
2468
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2963,13 +2963,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2963
2963
|
/**
|
|
2964
2964
|
* Gets a specific notification by state
|
|
2965
2965
|
* @param {string} walletId Wallet ID
|
|
2966
|
-
* @param {string} state Event identifier
|
|
2967
2966
|
* @param {string} eventType Event type
|
|
2967
|
+
* @param {string} state Event identifier
|
|
2968
2968
|
* @param {*} [options] Override http request option.
|
|
2969
2969
|
* @throws {RequiredError}
|
|
2970
2970
|
*/
|
|
2971
|
-
walletNotificationGetByState(walletId,
|
|
2972
|
-
return localVarFp.walletNotificationGetByState(walletId,
|
|
2971
|
+
walletNotificationGetByState(walletId, eventType, state, options) {
|
|
2972
|
+
return localVarFp.walletNotificationGetByState(walletId, eventType, state, options).then((request) => request(axios, basePath));
|
|
2973
2973
|
},
|
|
2974
2974
|
/**
|
|
2975
2975
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
@@ -3476,14 +3476,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3476
3476
|
/**
|
|
3477
3477
|
* Gets a specific notification by state
|
|
3478
3478
|
* @param {string} walletId Wallet ID
|
|
3479
|
-
* @param {string} state Event identifier
|
|
3480
3479
|
* @param {string} eventType Event type
|
|
3480
|
+
* @param {string} state Event identifier
|
|
3481
3481
|
* @param {*} [options] Override http request option.
|
|
3482
3482
|
* @throws {RequiredError}
|
|
3483
3483
|
* @memberof DefaultApi
|
|
3484
3484
|
*/
|
|
3485
|
-
walletNotificationGetByState(walletId,
|
|
3486
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId,
|
|
3485
|
+
walletNotificationGetByState(walletId, eventType, state, options) {
|
|
3486
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, eventType, state, options).then((request) => request(this.axios, this.basePath));
|
|
3487
3487
|
}
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Provides wallet notifications that can be used to audit the wallet activity.
|