@gooday_corp/gooday-api-client 1.2.22-beta → 1.2.22

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 (2) hide show
  1. package/api.ts +10 -10
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -6007,11 +6007,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6007
6007
  * @param {*} [options] Override http request option.
6008
6008
  * @throws {RequiredError}
6009
6009
  */
6010
- businessStaffControllerFindBusinessStaff: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6010
+ businessStaffControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6011
6011
  // verify required parameter 'page' is not null or undefined
6012
- assertParamExists('businessStaffControllerFindBusinessStaff', 'page', page)
6012
+ assertParamExists('businessStaffControllerFindBusinessStaffs', 'page', page)
6013
6013
  // verify required parameter 'pageSize' is not null or undefined
6014
- assertParamExists('businessStaffControllerFindBusinessStaff', 'pageSize', pageSize)
6014
+ assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
6015
6015
  const localVarPath = `/v1/business-staff`;
6016
6016
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6017
6017
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6528,10 +6528,10 @@ export const BusinessApiFp = function(configuration?: Configuration) {
6528
6528
  * @param {*} [options] Override http request option.
6529
6529
  * @throws {RequiredError}
6530
6530
  */
6531
- async businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
6532
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaff(page, pageSize, search, options);
6531
+ async businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
6532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options);
6533
6533
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6534
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaff']?.[localVarOperationServerIndex]?.url;
6534
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
6535
6535
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6536
6536
  },
6537
6537
  /**
@@ -6718,8 +6718,8 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
6718
6718
  * @param {*} [options] Override http request option.
6719
6719
  * @throws {RequiredError}
6720
6720
  */
6721
- businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
6722
- return localVarFp.businessStaffControllerFindBusinessStaff(page, pageSize, search, options).then((request) => request(axios, basePath));
6721
+ businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
6722
+ return localVarFp.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
6723
6723
  },
6724
6724
  /**
6725
6725
  *
@@ -6881,8 +6881,8 @@ export class BusinessApi extends BaseAPI {
6881
6881
  * @throws {RequiredError}
6882
6882
  * @memberof BusinessApi
6883
6883
  */
6884
- public businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
6885
- return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaff(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
6884
+ public businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
6885
+ return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
6886
6886
  }
6887
6887
 
6888
6888
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.22-beta",
3
+ "version": "1.2.22",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},