@triveria/wallet 0.0.239 → 0.0.240

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 +12 -8
  2. package/api.js +20 -13
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -2713,11 +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 Verifier state
2716
+ * @param {string} state Event identifier
2717
+ * @param {string} eventType Event type
2717
2718
  * @param {*} [options] Override http request option.
2718
2719
  * @throws {RequiredError}
2719
2720
  */
2720
- walletNotificationGetByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2721
+ walletNotificationGetByState: (walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2721
2722
  /**
2722
2723
  * Provides wallet notifications that can be used to audit the wallet activity.
2723
2724
  * @param {string} walletId Wallet ID
@@ -3091,11 +3092,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3091
3092
  /**
3092
3093
  * Gets a specific notification by state
3093
3094
  * @param {string} walletId Wallet ID
3094
- * @param {string} state Verifier state
3095
+ * @param {string} state Event identifier
3096
+ * @param {string} eventType Event type
3095
3097
  * @param {*} [options] Override http request option.
3096
3098
  * @throws {RequiredError}
3097
3099
  */
3098
- walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
3100
+ walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotification>>;
3099
3101
  /**
3100
3102
  * Provides wallet notifications that can be used to audit the wallet activity.
3101
3103
  * @param {string} walletId Wallet ID
@@ -3469,11 +3471,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3469
3471
  /**
3470
3472
  * Gets a specific notification by state
3471
3473
  * @param {string} walletId Wallet ID
3472
- * @param {string} state Verifier state
3474
+ * @param {string} state Event identifier
3475
+ * @param {string} eventType Event type
3473
3476
  * @param {*} [options] Override http request option.
3474
3477
  * @throws {RequiredError}
3475
3478
  */
3476
- walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
3479
+ walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotification>;
3477
3480
  /**
3478
3481
  * Provides wallet notifications that can be used to audit the wallet activity.
3479
3482
  * @param {string} walletId Wallet ID
@@ -3889,12 +3892,13 @@ export declare class DefaultApi extends BaseAPI {
3889
3892
  /**
3890
3893
  * Gets a specific notification by state
3891
3894
  * @param {string} walletId Wallet ID
3892
- * @param {string} state Verifier state
3895
+ * @param {string} state Event identifier
3896
+ * @param {string} eventType Event type
3893
3897
  * @param {*} [options] Override http request option.
3894
3898
  * @throws {RequiredError}
3895
3899
  * @memberof DefaultApi
3896
3900
  */
3897
- walletNotificationGetByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
3901
+ walletNotificationGetByState(walletId: string, state: string, eventType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
3898
3902
  /**
3899
3903
  * Provides wallet notifications that can be used to audit the wallet activity.
3900
3904
  * @param {string} walletId Wallet ID
package/api.js CHANGED
@@ -1583,18 +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 Verifier state
1586
+ * @param {string} state Event identifier
1587
+ * @param {string} eventType Event type
1587
1588
  * @param {*} [options] Override http request option.
1588
1589
  * @throws {RequiredError}
1589
1590
  */
1590
- walletNotificationGetByState: (walletId, state, options = {}) => __awaiter(this, void 0, void 0, function* () {
1591
+ walletNotificationGetByState: (walletId, state, eventType, options = {}) => __awaiter(this, void 0, void 0, function* () {
1591
1592
  // verify required parameter 'walletId' is not null or undefined
1592
1593
  (0, common_1.assertParamExists)('walletNotificationGetByState', 'walletId', walletId);
1593
1594
  // verify required parameter 'state' is not null or undefined
1594
1595
  (0, common_1.assertParamExists)('walletNotificationGetByState', 'state', state);
1595
- const localVarPath = `/wallets/{wallet_id}/notification_history/{state}`
1596
+ // verify required parameter 'eventType' is not null or undefined
1597
+ (0, common_1.assertParamExists)('walletNotificationGetByState', 'eventType', eventType);
1598
+ const localVarPath = `/wallets/{wallet_id}/notification_history/{event_type}/{state}`
1596
1599
  .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)))
1597
- .replace(`{${"state"}}`, encodeURIComponent(String(state)));
1600
+ .replace(`{${"state"}}`, encodeURIComponent(String(state)))
1601
+ .replace(`{${"event_type"}}`, encodeURIComponent(String(eventType)));
1598
1602
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1599
1603
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1600
1604
  let baseOptions;
@@ -2450,14 +2454,15 @@ const DefaultApiFp = function (configuration) {
2450
2454
  /**
2451
2455
  * Gets a specific notification by state
2452
2456
  * @param {string} walletId Wallet ID
2453
- * @param {string} state Verifier state
2457
+ * @param {string} state Event identifier
2458
+ * @param {string} eventType Event type
2454
2459
  * @param {*} [options] Override http request option.
2455
2460
  * @throws {RequiredError}
2456
2461
  */
2457
- walletNotificationGetByState(walletId, state, options) {
2462
+ walletNotificationGetByState(walletId, state, eventType, options) {
2458
2463
  var _a, _b, _c;
2459
2464
  return __awaiter(this, void 0, void 0, function* () {
2460
- const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId, state, options);
2465
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationGetByState(walletId, state, eventType, options);
2461
2466
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2462
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;
2463
2468
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2958,12 +2963,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2958
2963
  /**
2959
2964
  * Gets a specific notification by state
2960
2965
  * @param {string} walletId Wallet ID
2961
- * @param {string} state Verifier state
2966
+ * @param {string} state Event identifier
2967
+ * @param {string} eventType Event type
2962
2968
  * @param {*} [options] Override http request option.
2963
2969
  * @throws {RequiredError}
2964
2970
  */
2965
- walletNotificationGetByState(walletId, state, options) {
2966
- return localVarFp.walletNotificationGetByState(walletId, state, options).then((request) => request(axios, basePath));
2971
+ walletNotificationGetByState(walletId, state, eventType, options) {
2972
+ return localVarFp.walletNotificationGetByState(walletId, state, eventType, options).then((request) => request(axios, basePath));
2967
2973
  },
2968
2974
  /**
2969
2975
  * Provides wallet notifications that can be used to audit the wallet activity.
@@ -3470,13 +3476,14 @@ class DefaultApi extends base_1.BaseAPI {
3470
3476
  /**
3471
3477
  * Gets a specific notification by state
3472
3478
  * @param {string} walletId Wallet ID
3473
- * @param {string} state Verifier state
3479
+ * @param {string} state Event identifier
3480
+ * @param {string} eventType Event type
3474
3481
  * @param {*} [options] Override http request option.
3475
3482
  * @throws {RequiredError}
3476
3483
  * @memberof DefaultApi
3477
3484
  */
3478
- walletNotificationGetByState(walletId, state, options) {
3479
- return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
3485
+ walletNotificationGetByState(walletId, state, eventType, options) {
3486
+ return (0, exports.DefaultApiFp)(this.configuration).walletNotificationGetByState(walletId, state, eventType, options).then((request) => request(this.axios, this.basePath));
3480
3487
  }
3481
3488
  /**
3482
3489
  * Provides wallet notifications that can be used to audit the wallet activity.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.239",
4
+ "version": "0.0.240",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {