@triveria/wallet 0.0.101 → 0.0.102

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 +47 -47
  2. package/api.js +71 -71
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1382,19 +1382,19 @@ export type WalletNotificationEventDetails = IdTokenReceivedNotification | Offer
1382
1382
  /**
1383
1383
  *
1384
1384
  * @export
1385
- * @interface WalletNotificationListPermanent
1385
+ * @interface WalletNotificationHistory
1386
1386
  */
1387
- export interface WalletNotificationListPermanent {
1387
+ export interface WalletNotificationHistory {
1388
1388
  /**
1389
1389
  *
1390
1390
  * @type {Array<WalletNotification>}
1391
- * @memberof WalletNotificationListPermanent
1391
+ * @memberof WalletNotificationHistory
1392
1392
  */
1393
1393
  'list': Array<WalletNotification>;
1394
1394
  /**
1395
1395
  *
1396
1396
  * @type {string}
1397
- * @memberof WalletNotificationListPermanent
1397
+ * @memberof WalletNotificationHistory
1398
1398
  */
1399
1399
  'next': string;
1400
1400
  }
@@ -1640,16 +1640,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1640
1640
  * @throws {RequiredError}
1641
1641
  */
1642
1642
  walletDelete: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1643
- /**
1644
- * Provides wallet events that can be used to audit the wallet activity.
1645
- * @param {string} walletId Wallet ID
1646
- * @param {number} [limit] The number of items
1647
- * @param {string} [nextMarker] Marking the next set of items
1648
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
1649
- * @param {*} [options] Override http request option.
1650
- * @throws {RequiredError}
1651
- */
1652
- walletEvents: (walletId: string, limit?: number, nextMarker?: string, sort?: WalletEventsSortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1653
1643
  /**
1654
1644
  * Provides wallet details
1655
1645
  * @param {string} walletId
@@ -1663,6 +1653,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1663
1653
  * @throws {RequiredError}
1664
1654
  */
1665
1655
  walletList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1656
+ /**
1657
+ * Provides wallet notifications that can be used to audit the wallet activity.
1658
+ * @param {string} walletId Wallet ID
1659
+ * @param {number} [limit] The number of items
1660
+ * @param {string} [nextMarker] Marking the next set of items
1661
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1662
+ * @param {*} [options] Override http request option.
1663
+ * @throws {RequiredError}
1664
+ */
1665
+ walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1666
1666
  /**
1667
1667
  * Provides first-in-first-out queue of notifications for a specific wallet.
1668
1668
  * @param {string} walletId Wallet ID
@@ -1921,16 +1921,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1921
1921
  * @throws {RequiredError}
1922
1922
  */
1923
1923
  walletDelete(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1924
- /**
1925
- * Provides wallet events that can be used to audit the wallet activity.
1926
- * @param {string} walletId Wallet ID
1927
- * @param {number} [limit] The number of items
1928
- * @param {string} [nextMarker] Marking the next set of items
1929
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
1930
- * @param {*} [options] Override http request option.
1931
- * @throws {RequiredError}
1932
- */
1933
- walletEvents(walletId: string, limit?: number, nextMarker?: string, sort?: WalletEventsSortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationListPermanent>>;
1934
1924
  /**
1935
1925
  * Provides wallet details
1936
1926
  * @param {string} walletId
@@ -1944,6 +1934,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1944
1934
  * @throws {RequiredError}
1945
1935
  */
1946
1936
  walletList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Wallet>>>;
1937
+ /**
1938
+ * Provides wallet notifications that can be used to audit the wallet activity.
1939
+ * @param {string} walletId Wallet ID
1940
+ * @param {number} [limit] The number of items
1941
+ * @param {string} [nextMarker] Marking the next set of items
1942
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1943
+ * @param {*} [options] Override http request option.
1944
+ * @throws {RequiredError}
1945
+ */
1946
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
1947
1947
  /**
1948
1948
  * Provides first-in-first-out queue of notifications for a specific wallet.
1949
1949
  * @param {string} walletId Wallet ID
@@ -2202,16 +2202,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2202
2202
  * @throws {RequiredError}
2203
2203
  */
2204
2204
  walletDelete(walletId: string, options?: any): AxiosPromise<void>;
2205
- /**
2206
- * Provides wallet events that can be used to audit the wallet activity.
2207
- * @param {string} walletId Wallet ID
2208
- * @param {number} [limit] The number of items
2209
- * @param {string} [nextMarker] Marking the next set of items
2210
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
2211
- * @param {*} [options] Override http request option.
2212
- * @throws {RequiredError}
2213
- */
2214
- walletEvents(walletId: string, limit?: number, nextMarker?: string, sort?: WalletEventsSortEnum, options?: any): AxiosPromise<WalletNotificationListPermanent>;
2215
2205
  /**
2216
2206
  * Provides wallet details
2217
2207
  * @param {string} walletId
@@ -2225,6 +2215,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2225
2215
  * @throws {RequiredError}
2226
2216
  */
2227
2217
  walletList(options?: any): AxiosPromise<Array<Wallet>>;
2218
+ /**
2219
+ * Provides wallet notifications that can be used to audit the wallet activity.
2220
+ * @param {string} walletId Wallet ID
2221
+ * @param {number} [limit] The number of items
2222
+ * @param {string} [nextMarker] Marking the next set of items
2223
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2224
+ * @param {*} [options] Override http request option.
2225
+ * @throws {RequiredError}
2226
+ */
2227
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, sort?: WalletNotificationHistorySortEnum, options?: any): AxiosPromise<WalletNotificationHistory>;
2228
2228
  /**
2229
2229
  * Provides first-in-first-out queue of notifications for a specific wallet.
2230
2230
  * @param {string} walletId Wallet ID
@@ -2515,17 +2515,6 @@ export declare class DefaultApi extends BaseAPI {
2515
2515
  * @memberof DefaultApi
2516
2516
  */
2517
2517
  walletDelete(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
2518
- /**
2519
- * Provides wallet events that can be used to audit the wallet activity.
2520
- * @param {string} walletId Wallet ID
2521
- * @param {number} [limit] The number of items
2522
- * @param {string} [nextMarker] Marking the next set of items
2523
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
2524
- * @param {*} [options] Override http request option.
2525
- * @throws {RequiredError}
2526
- * @memberof DefaultApi
2527
- */
2528
- walletEvents(walletId: string, limit?: number, nextMarker?: string, sort?: WalletEventsSortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationListPermanent, any>>;
2529
2518
  /**
2530
2519
  * Provides wallet details
2531
2520
  * @param {string} walletId
@@ -2541,6 +2530,17 @@ export declare class DefaultApi extends BaseAPI {
2541
2530
  * @memberof DefaultApi
2542
2531
  */
2543
2532
  walletList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Wallet[], any>>;
2533
+ /**
2534
+ * Provides wallet notifications that can be used to audit the wallet activity.
2535
+ * @param {string} walletId Wallet ID
2536
+ * @param {number} [limit] The number of items
2537
+ * @param {string} [nextMarker] Marking the next set of items
2538
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ * @memberof DefaultApi
2542
+ */
2543
+ walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, sort?: WalletNotificationHistorySortEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
2544
2544
  /**
2545
2545
  * Provides first-in-first-out queue of notifications for a specific wallet.
2546
2546
  * @param {string} walletId Wallet ID
@@ -2579,8 +2579,8 @@ export type CredentialListSortEnum = typeof CredentialListSortEnum[keyof typeof
2579
2579
  /**
2580
2580
  * @export
2581
2581
  */
2582
- export declare const WalletEventsSortEnum: {
2582
+ export declare const WalletNotificationHistorySortEnum: {
2583
2583
  readonly Asc: "asc";
2584
2584
  readonly Desc: "desc";
2585
2585
  };
2586
- export type WalletEventsSortEnum = typeof WalletEventsSortEnum[keyof typeof WalletEventsSortEnum];
2586
+ export type WalletNotificationHistorySortEnum = typeof WalletNotificationHistorySortEnum[keyof typeof WalletNotificationHistorySortEnum];
package/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.WalletEventsSortEnum = exports.CredentialListSortEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventTypeEnum = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PrepareToAccreditRequestTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
28
+ exports.WalletNotificationHistorySortEnum = exports.CredentialListSortEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventTypeEnum = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PrepareToAccreditRequestTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -1141,18 +1141,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1141
1141
  };
1142
1142
  }),
1143
1143
  /**
1144
- * Provides wallet events that can be used to audit the wallet activity.
1145
- * @param {string} walletId Wallet ID
1146
- * @param {number} [limit] The number of items
1147
- * @param {string} [nextMarker] Marking the next set of items
1148
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
1144
+ * Provides wallet details
1145
+ * @param {string} walletId
1149
1146
  * @param {*} [options] Override http request option.
1150
1147
  * @throws {RequiredError}
1151
1148
  */
1152
- walletEvents: (walletId, limit, nextMarker, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
1149
+ walletGet: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1153
1150
  // verify required parameter 'walletId' is not null or undefined
1154
- (0, common_1.assertParamExists)('walletEvents', 'walletId', walletId);
1155
- const localVarPath = `/wallets/{wallet_id}/events`
1151
+ (0, common_1.assertParamExists)('walletGet', 'walletId', walletId);
1152
+ const localVarPath = `/wallets/{wallet_id}`
1156
1153
  .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
1157
1154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1158
1155
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1166,15 +1163,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1166
1163
  // authentication accessToken required
1167
1164
  // http bearer authentication required
1168
1165
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1169
- if (limit !== undefined) {
1170
- localVarQueryParameter['limit'] = limit;
1171
- }
1172
- if (nextMarker !== undefined) {
1173
- localVarQueryParameter['nextMarker'] = nextMarker;
1174
- }
1175
- if (sort !== undefined) {
1176
- localVarQueryParameter['sort'] = sort;
1177
- }
1178
1166
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1179
1167
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1180
1168
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1184,16 +1172,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1184
1172
  };
1185
1173
  }),
1186
1174
  /**
1187
- * Provides wallet details
1188
- * @param {string} walletId
1175
+ * Provides list of wallets owned by the authenticated client.
1189
1176
  * @param {*} [options] Override http request option.
1190
1177
  * @throws {RequiredError}
1191
1178
  */
1192
- walletGet: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1193
- // verify required parameter 'walletId' is not null or undefined
1194
- (0, common_1.assertParamExists)('walletGet', 'walletId', walletId);
1195
- const localVarPath = `/wallets/{wallet_id}`
1196
- .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
1179
+ walletList: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1180
+ const localVarPath = `/wallets`;
1197
1181
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1198
1182
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1199
1183
  let baseOptions;
@@ -1215,12 +1199,19 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1215
1199
  };
1216
1200
  }),
1217
1201
  /**
1218
- * Provides list of wallets owned by the authenticated client.
1202
+ * Provides wallet notifications that can be used to audit the wallet activity.
1203
+ * @param {string} walletId Wallet ID
1204
+ * @param {number} [limit] The number of items
1205
+ * @param {string} [nextMarker] Marking the next set of items
1206
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1219
1207
  * @param {*} [options] Override http request option.
1220
1208
  * @throws {RequiredError}
1221
1209
  */
1222
- walletList: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1223
- const localVarPath = `/wallets`;
1210
+ walletNotificationHistory: (walletId, limit, nextMarker, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
1211
+ // verify required parameter 'walletId' is not null or undefined
1212
+ (0, common_1.assertParamExists)('walletNotificationHistory', 'walletId', walletId);
1213
+ const localVarPath = `/wallets/{wallet_id}/notification_history`
1214
+ .replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
1224
1215
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1225
1216
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1226
1217
  let baseOptions;
@@ -1233,6 +1224,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1233
1224
  // authentication accessToken required
1234
1225
  // http bearer authentication required
1235
1226
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1227
+ if (limit !== undefined) {
1228
+ localVarQueryParameter['limit'] = limit;
1229
+ }
1230
+ if (nextMarker !== undefined) {
1231
+ localVarQueryParameter['nextMarker'] = nextMarker;
1232
+ }
1233
+ if (sort !== undefined) {
1234
+ localVarQueryParameter['sort'] = sort;
1235
+ }
1236
1236
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1237
1237
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1238
1238
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1794,49 +1794,49 @@ const DefaultApiFp = function (configuration) {
1794
1794
  });
1795
1795
  },
1796
1796
  /**
1797
- * Provides wallet events that can be used to audit the wallet activity.
1798
- * @param {string} walletId Wallet ID
1799
- * @param {number} [limit] The number of items
1800
- * @param {string} [nextMarker] Marking the next set of items
1801
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
1797
+ * Provides wallet details
1798
+ * @param {string} walletId
1802
1799
  * @param {*} [options] Override http request option.
1803
1800
  * @throws {RequiredError}
1804
1801
  */
1805
- walletEvents(walletId, limit, nextMarker, sort, options) {
1802
+ walletGet(walletId, options) {
1806
1803
  var _a, _b, _c;
1807
1804
  return __awaiter(this, void 0, void 0, function* () {
1808
- const localVarAxiosArgs = yield localVarAxiosParamCreator.walletEvents(walletId, limit, nextMarker, sort, options);
1805
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletGet(walletId, options);
1809
1806
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1810
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1807
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1811
1808
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1812
1809
  });
1813
1810
  },
1814
1811
  /**
1815
- * Provides wallet details
1816
- * @param {string} walletId
1812
+ * Provides list of wallets owned by the authenticated client.
1817
1813
  * @param {*} [options] Override http request option.
1818
1814
  * @throws {RequiredError}
1819
1815
  */
1820
- walletGet(walletId, options) {
1816
+ walletList(options) {
1821
1817
  var _a, _b, _c;
1822
1818
  return __awaiter(this, void 0, void 0, function* () {
1823
- const localVarAxiosArgs = yield localVarAxiosParamCreator.walletGet(walletId, options);
1819
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletList(options);
1824
1820
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1825
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1821
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1826
1822
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1827
1823
  });
1828
1824
  },
1829
1825
  /**
1830
- * Provides list of wallets owned by the authenticated client.
1826
+ * Provides wallet notifications that can be used to audit the wallet activity.
1827
+ * @param {string} walletId Wallet ID
1828
+ * @param {number} [limit] The number of items
1829
+ * @param {string} [nextMarker] Marking the next set of items
1830
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
1831
1831
  * @param {*} [options] Override http request option.
1832
1832
  * @throws {RequiredError}
1833
1833
  */
1834
- walletList(options) {
1834
+ walletNotificationHistory(walletId, limit, nextMarker, sort, options) {
1835
1835
  var _a, _b, _c;
1836
1836
  return __awaiter(this, void 0, void 0, function* () {
1837
- const localVarAxiosArgs = yield localVarAxiosParamCreator.walletList(options);
1837
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationHistory(walletId, limit, nextMarker, sort, options);
1838
1838
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1839
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1839
+ 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;
1840
1840
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1841
1841
  });
1842
1842
  },
@@ -2178,18 +2178,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2178
2178
  walletDelete(walletId, options) {
2179
2179
  return localVarFp.walletDelete(walletId, options).then((request) => request(axios, basePath));
2180
2180
  },
2181
- /**
2182
- * Provides wallet events that can be used to audit the wallet activity.
2183
- * @param {string} walletId Wallet ID
2184
- * @param {number} [limit] The number of items
2185
- * @param {string} [nextMarker] Marking the next set of items
2186
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
2187
- * @param {*} [options] Override http request option.
2188
- * @throws {RequiredError}
2189
- */
2190
- walletEvents(walletId, limit, nextMarker, sort, options) {
2191
- return localVarFp.walletEvents(walletId, limit, nextMarker, sort, options).then((request) => request(axios, basePath));
2192
- },
2193
2181
  /**
2194
2182
  * Provides wallet details
2195
2183
  * @param {string} walletId
@@ -2207,6 +2195,18 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2207
2195
  walletList(options) {
2208
2196
  return localVarFp.walletList(options).then((request) => request(axios, basePath));
2209
2197
  },
2198
+ /**
2199
+ * Provides wallet notifications that can be used to audit the wallet activity.
2200
+ * @param {string} walletId Wallet ID
2201
+ * @param {number} [limit] The number of items
2202
+ * @param {string} [nextMarker] Marking the next set of items
2203
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2204
+ * @param {*} [options] Override http request option.
2205
+ * @throws {RequiredError}
2206
+ */
2207
+ walletNotificationHistory(walletId, limit, nextMarker, sort, options) {
2208
+ return localVarFp.walletNotificationHistory(walletId, limit, nextMarker, sort, options).then((request) => request(axios, basePath));
2209
+ },
2210
2210
  /**
2211
2211
  * Provides first-in-first-out queue of notifications for a specific wallet.
2212
2212
  * @param {string} walletId Wallet ID
@@ -2563,19 +2563,6 @@ class DefaultApi extends base_1.BaseAPI {
2563
2563
  walletDelete(walletId, options) {
2564
2564
  return (0, exports.DefaultApiFp)(this.configuration).walletDelete(walletId, options).then((request) => request(this.axios, this.basePath));
2565
2565
  }
2566
- /**
2567
- * Provides wallet events that can be used to audit the wallet activity.
2568
- * @param {string} walletId Wallet ID
2569
- * @param {number} [limit] The number of items
2570
- * @param {string} [nextMarker] Marking the next set of items
2571
- * @param {WalletEventsSortEnum} [sort] Sort flag controls the sort direction by the time created
2572
- * @param {*} [options] Override http request option.
2573
- * @throws {RequiredError}
2574
- * @memberof DefaultApi
2575
- */
2576
- walletEvents(walletId, limit, nextMarker, sort, options) {
2577
- return (0, exports.DefaultApiFp)(this.configuration).walletEvents(walletId, limit, nextMarker, sort, options).then((request) => request(this.axios, this.basePath));
2578
- }
2579
2566
  /**
2580
2567
  * Provides wallet details
2581
2568
  * @param {string} walletId
@@ -2595,6 +2582,19 @@ class DefaultApi extends base_1.BaseAPI {
2595
2582
  walletList(options) {
2596
2583
  return (0, exports.DefaultApiFp)(this.configuration).walletList(options).then((request) => request(this.axios, this.basePath));
2597
2584
  }
2585
+ /**
2586
+ * Provides wallet notifications that can be used to audit the wallet activity.
2587
+ * @param {string} walletId Wallet ID
2588
+ * @param {number} [limit] The number of items
2589
+ * @param {string} [nextMarker] Marking the next set of items
2590
+ * @param {WalletNotificationHistorySortEnum} [sort] Sort flag controls the sort direction by the time created
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ * @memberof DefaultApi
2594
+ */
2595
+ walletNotificationHistory(walletId, limit, nextMarker, sort, options) {
2596
+ return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, sort, options).then((request) => request(this.axios, this.basePath));
2597
+ }
2598
2598
  /**
2599
2599
  * Provides first-in-first-out queue of notifications for a specific wallet.
2600
2600
  * @param {string} walletId Wallet ID
@@ -2636,7 +2636,7 @@ exports.CredentialListSortEnum = {
2636
2636
  /**
2637
2637
  * @export
2638
2638
  */
2639
- exports.WalletEventsSortEnum = {
2639
+ exports.WalletNotificationHistorySortEnum = {
2640
2640
  Asc: 'asc',
2641
2641
  Desc: 'desc'
2642
2642
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.101",
4
+ "version": "0.0.102",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {