@triveria/wallet 0.0.270 → 0.0.271

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 +8 -4
  2. package/api.js +14 -7
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1508,10 +1508,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1508
1508
  * @param {string} [nextMarker] Marking the next set of items
1509
1509
  * @param {Array<WalletNotificationEventType>} [type] Notification types
1510
1510
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
1511
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
1511
1512
  * @param {*} [options] Override http request option.
1512
1513
  * @throws {RequiredError}
1513
1514
  */
1514
- walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1515
+ walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1515
1516
  /**
1516
1517
  * Provides first-in-first-out queue of notifications for a specific wallet.
1517
1518
  * @param {string} walletId Wallet ID
@@ -2035,10 +2036,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2035
2036
  * @param {string} [nextMarker] Marking the next set of items
2036
2037
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2037
2038
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2039
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
2038
2040
  * @param {*} [options] Override http request option.
2039
2041
  * @throws {RequiredError}
2040
2042
  */
2041
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
2043
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
2042
2044
  /**
2043
2045
  * Provides first-in-first-out queue of notifications for a specific wallet.
2044
2046
  * @param {string} walletId Wallet ID
@@ -2562,10 +2564,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2562
2564
  * @param {string} [nextMarker] Marking the next set of items
2563
2565
  * @param {Array<WalletNotificationEventType>} [type] Notification types
2564
2566
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
2567
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
2565
2568
  * @param {*} [options] Override http request option.
2566
2569
  * @throws {RequiredError}
2567
2570
  */
2568
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotificationHistory>;
2571
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotificationHistory>;
2569
2572
  /**
2570
2573
  * Provides first-in-first-out queue of notifications for a specific wallet.
2571
2574
  * @param {string} walletId Wallet ID
@@ -3089,10 +3092,11 @@ export declare class DefaultApi extends BaseAPI {
3089
3092
  * @param {string} [nextMarker] Marking the next set of items
3090
3093
  * @param {Array<WalletNotificationEventType>} [type] Notification types
3091
3094
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
3095
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
3092
3096
  * @param {*} [options] Override http request option.
3093
3097
  * @throws {RequiredError}
3094
3098
  */
3095
- walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
3099
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
3096
3100
  /**
3097
3101
  * Provides first-in-first-out queue of notifications for a specific wallet.
3098
3102
  * @param {string} walletId Wallet ID
package/api.js CHANGED
@@ -1971,10 +1971,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1971
1971
  * @param {string} [nextMarker] Marking the next set of items
1972
1972
  * @param {Array<WalletNotificationEventType>} [type] Notification types
1973
1973
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
1974
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
1974
1975
  * @param {*} [options] Override http request option.
1975
1976
  * @throws {RequiredError}
1976
1977
  */
1977
- walletNotificationHistory: (walletId, limit, nextMarker, type, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
1978
+ walletNotificationHistory: (walletId, limit, nextMarker, type, sort, newerThan, options = {}) => __awaiter(this, void 0, void 0, function* () {
1978
1979
  // verify required parameter 'walletId' is not null or undefined
1979
1980
  (0, common_1.assertParamExists)('walletNotificationHistory', 'walletId', walletId);
1980
1981
  const localVarPath = `/wallets/{wallet_id}/notification_history`
@@ -2003,6 +2004,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2003
2004
  if (sort !== undefined) {
2004
2005
  localVarQueryParameter['sort'] = sort;
2005
2006
  }
2007
+ if (newerThan !== undefined) {
2008
+ localVarQueryParameter['newerThan'] = newerThan;
2009
+ }
2006
2010
  localVarHeaderParameter['Accept'] = 'application/json';
2007
2011
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2008
2012
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -3362,13 +3366,14 @@ const DefaultApiFp = function (configuration) {
3362
3366
  * @param {string} [nextMarker] Marking the next set of items
3363
3367
  * @param {Array<WalletNotificationEventType>} [type] Notification types
3364
3368
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
3369
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
3365
3370
  * @param {*} [options] Override http request option.
3366
3371
  * @throws {RequiredError}
3367
3372
  */
3368
- walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
3373
+ walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
3369
3374
  var _a, _b, _c;
3370
3375
  return __awaiter(this, void 0, void 0, function* () {
3371
- const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationHistory(walletId, limit, nextMarker, type, sort, options);
3376
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options);
3372
3377
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3373
3378
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotificationHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3374
3379
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4121,11 +4126,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4121
4126
  * @param {string} [nextMarker] Marking the next set of items
4122
4127
  * @param {Array<WalletNotificationEventType>} [type] Notification types
4123
4128
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
4129
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
4124
4130
  * @param {*} [options] Override http request option.
4125
4131
  * @throws {RequiredError}
4126
4132
  */
4127
- walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
4128
- return localVarFp.walletNotificationHistory(walletId, limit, nextMarker, type, sort, options).then((request) => request(axios, basePath));
4133
+ walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
4134
+ return localVarFp.walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options).then((request) => request(axios, basePath));
4129
4135
  },
4130
4136
  /**
4131
4137
  * Provides first-in-first-out queue of notifications for a specific wallet.
@@ -4776,11 +4782,12 @@ class DefaultApi extends base_1.BaseAPI {
4776
4782
  * @param {string} [nextMarker] Marking the next set of items
4777
4783
  * @param {Array<WalletNotificationEventType>} [type] Notification types
4778
4784
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
4785
+ * @param {number} [newerThan] List notifications that are newer than the provided timestamp
4779
4786
  * @param {*} [options] Override http request option.
4780
4787
  * @throws {RequiredError}
4781
4788
  */
4782
- walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
4783
- return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, type, sort, options).then((request) => request(this.axios, this.basePath));
4789
+ walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
4790
+ return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options).then((request) => request(this.axios, this.basePath));
4784
4791
  }
4785
4792
  /**
4786
4793
  * Provides first-in-first-out queue of notifications for a specific wallet.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.270",
4
+ "version": "0.0.271",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {