@triveria/wallet 0.0.240 → 0.0.241
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 +8 -8
- package/api.js +15 -15
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -2713,12 +2713,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Gets a specific notification by state
|
|
2715
2715
|
* @param {string} walletId Wallet ID
|
|
2716
|
-
* @param {string} state Event identifier
|
|
2717
2716
|
* @param {string} eventType Event type
|
|
2717
|
+
* @param {string} state Event identifier
|
|
2718
2718
|
* @param {*} [options] Override http request option.
|
|
2719
2719
|
* @throws {RequiredError}
|
|
2720
2720
|
*/
|
|
2721
|
-
walletNotificationGetByState: (walletId: string,
|
|
2721
|
+
walletNotificationGetByState: (walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2722
2722
|
/**
|
|
2723
2723
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
2724
2724
|
* @param {string} walletId Wallet ID
|
|
@@ -3092,12 +3092,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Gets a specific notification by state
|
|
3094
3094
|
* @param {string} walletId Wallet ID
|
|
3095
|
-
* @param {string} state Event identifier
|
|
3096
3095
|
* @param {string} eventType Event type
|
|
3096
|
+
* @param {string} state Event identifier
|
|
3097
3097
|
* @param {*} [options] Override http request option.
|
|
3098
3098
|
* @throws {RequiredError}
|
|
3099
3099
|
*/
|
|
3100
|
-
walletNotificationGetByState(walletId: string,
|
|
3100
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
|
|
3101
3101
|
/**
|
|
3102
3102
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3103
3103
|
* @param {string} walletId Wallet ID
|
|
@@ -3471,12 +3471,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3471
3471
|
/**
|
|
3472
3472
|
* Gets a specific notification by state
|
|
3473
3473
|
* @param {string} walletId Wallet ID
|
|
3474
|
-
* @param {string} state Event identifier
|
|
3475
3474
|
* @param {string} eventType Event type
|
|
3475
|
+
* @param {string} state Event identifier
|
|
3476
3476
|
* @param {*} [options] Override http request option.
|
|
3477
3477
|
* @throws {RequiredError}
|
|
3478
3478
|
*/
|
|
3479
|
-
walletNotificationGetByState(walletId: string,
|
|
3479
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
|
|
3480
3480
|
/**
|
|
3481
3481
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3482
3482
|
* @param {string} walletId Wallet ID
|
|
@@ -3892,13 +3892,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3892
3892
|
/**
|
|
3893
3893
|
* Gets a specific notification by state
|
|
3894
3894
|
* @param {string} walletId Wallet ID
|
|
3895
|
-
* @param {string} state Event identifier
|
|
3896
3895
|
* @param {string} eventType Event type
|
|
3896
|
+
* @param {string} state Event identifier
|
|
3897
3897
|
* @param {*} [options] Override http request option.
|
|
3898
3898
|
* @throws {RequiredError}
|
|
3899
3899
|
* @memberof DefaultApi
|
|
3900
3900
|
*/
|
|
3901
|
-
walletNotificationGetByState(walletId: string,
|
|
3901
|
+
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
|
|
3902
3902
|
/**
|
|
3903
3903
|
* Provides wallet notifications that can be used to audit the wallet activity.
|
|
3904
3904
|
* @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.
|