@finverse/sdk-typescript 0.0.159 → 0.0.160

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/dist/api.d.ts CHANGED
@@ -5711,7 +5711,7 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
5711
5711
  * @param {*} [options] Override http request option.
5712
5712
  * @throws {RequiredError}
5713
5713
  */
5714
- listPaymentAccount: (paymentUserId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5714
+ listPaymentAccounts: (paymentUserId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5715
5715
  /**
5716
5716
  * Refresh an access token
5717
5717
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -5869,7 +5869,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
5869
5869
  * @param {*} [options] Override http request option.
5870
5870
  * @throws {RequiredError}
5871
5871
  */
5872
- listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentAccountsResponse>>;
5872
+ listPaymentAccounts(paymentUserId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentAccountsResponse>>;
5873
5873
  /**
5874
5874
  * Refresh an access token
5875
5875
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -6027,7 +6027,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
6027
6027
  * @param {*} [options] Override http request option.
6028
6028
  * @throws {RequiredError}
6029
6029
  */
6030
- listPaymentAccount(paymentUserId: string, options?: any): AxiosPromise<ListPaymentAccountsResponse>;
6030
+ listPaymentAccounts(paymentUserId: string, options?: any): AxiosPromise<ListPaymentAccountsResponse>;
6031
6031
  /**
6032
6032
  * Refresh an access token
6033
6033
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -6204,7 +6204,7 @@ export interface CustomerApiInterface {
6204
6204
  * @throws {RequiredError}
6205
6205
  * @memberof CustomerApiInterface
6206
6206
  */
6207
- listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): AxiosPromise<ListPaymentAccountsResponse>;
6207
+ listPaymentAccounts(paymentUserId: string, options?: AxiosRequestConfig): AxiosPromise<ListPaymentAccountsResponse>;
6208
6208
  /**
6209
6209
  * Refresh an access token
6210
6210
  * @param {RefreshRequest} refreshRequest The refresh token
@@ -6385,7 +6385,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
6385
6385
  * @throws {RequiredError}
6386
6386
  * @memberof CustomerApi
6387
6387
  */
6388
- listPaymentAccount(paymentUserId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentAccountsResponse>>;
6388
+ listPaymentAccounts(paymentUserId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentAccountsResponse>>;
6389
6389
  /**
6390
6390
  * Refresh an access token
6391
6391
  * @param {RefreshRequest} refreshRequest The refresh token
package/dist/api.js CHANGED
@@ -845,9 +845,9 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
845
845
  * @param {*} [options] Override http request option.
846
846
  * @throws {RequiredError}
847
847
  */
848
- listPaymentAccount: (paymentUserId, options = {}) => __awaiter(this, void 0, void 0, function* () {
848
+ listPaymentAccounts: (paymentUserId, options = {}) => __awaiter(this, void 0, void 0, function* () {
849
849
  // verify required parameter 'paymentUserId' is not null or undefined
850
- common_1.assertParamExists('listPaymentAccount', 'paymentUserId', paymentUserId);
850
+ common_1.assertParamExists('listPaymentAccounts', 'paymentUserId', paymentUserId);
851
851
  const localVarPath = `/payment_users/{paymentUserId}/payment_accounts`.replace(`{${'paymentUserId'}}`, encodeURIComponent(String(paymentUserId)));
852
852
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
853
853
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1189,9 +1189,9 @@ exports.CustomerApiFp = function (configuration) {
1189
1189
  * @param {*} [options] Override http request option.
1190
1190
  * @throws {RequiredError}
1191
1191
  */
1192
- listPaymentAccount(paymentUserId, options) {
1192
+ listPaymentAccounts(paymentUserId, options) {
1193
1193
  return __awaiter(this, void 0, void 0, function* () {
1194
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentAccount(paymentUserId, options);
1194
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentAccounts(paymentUserId, options);
1195
1195
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1196
1196
  });
1197
1197
  },
@@ -1420,8 +1420,8 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1420
1420
  * @param {*} [options] Override http request option.
1421
1421
  * @throws {RequiredError}
1422
1422
  */
1423
- listPaymentAccount(paymentUserId, options) {
1424
- return localVarFp.listPaymentAccount(paymentUserId, options).then((request) => request(axios, basePath));
1423
+ listPaymentAccounts(paymentUserId, options) {
1424
+ return localVarFp.listPaymentAccounts(paymentUserId, options).then((request) => request(axios, basePath));
1425
1425
  },
1426
1426
  /**
1427
1427
  * Refresh an access token
@@ -1677,9 +1677,9 @@ class CustomerApi extends base_1.BaseAPI {
1677
1677
  * @throws {RequiredError}
1678
1678
  * @memberof CustomerApi
1679
1679
  */
1680
- listPaymentAccount(paymentUserId, options) {
1680
+ listPaymentAccounts(paymentUserId, options) {
1681
1681
  return exports.CustomerApiFp(this.configuration)
1682
- .listPaymentAccount(paymentUserId, options)
1682
+ .listPaymentAccounts(paymentUserId, options)
1683
1683
  .then((request) => request(this.axios, this.basePath));
1684
1684
  }
1685
1685
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.159",
3
+ "version": "0.0.160",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [