@gooday_corp/gooday-api-client 1.2.21 → 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.
- package/api.ts +53 -53
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6001,15 +6001,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6001
6001
|
},
|
|
6002
6002
|
/**
|
|
6003
6003
|
*
|
|
6004
|
-
* @param {
|
|
6004
|
+
* @param {number} page
|
|
6005
|
+
* @param {number} pageSize
|
|
6006
|
+
* @param {string} [search]
|
|
6005
6007
|
* @param {*} [options] Override http request option.
|
|
6006
6008
|
* @throws {RequiredError}
|
|
6007
6009
|
*/
|
|
6008
|
-
|
|
6009
|
-
// verify required parameter '
|
|
6010
|
-
assertParamExists('
|
|
6011
|
-
|
|
6012
|
-
|
|
6010
|
+
businessStaffControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6011
|
+
// verify required parameter 'page' is not null or undefined
|
|
6012
|
+
assertParamExists('businessStaffControllerFindBusinessStaffs', 'page', page)
|
|
6013
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
6014
|
+
assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
|
|
6015
|
+
const localVarPath = `/v1/business-staff`;
|
|
6013
6016
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6014
6017
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6015
6018
|
let baseOptions;
|
|
@@ -6025,6 +6028,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6025
6028
|
// http bearer authentication required
|
|
6026
6029
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6027
6030
|
|
|
6031
|
+
if (page !== undefined) {
|
|
6032
|
+
localVarQueryParameter['page'] = page;
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
if (pageSize !== undefined) {
|
|
6036
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
if (search !== undefined) {
|
|
6040
|
+
localVarQueryParameter['search'] = search;
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6028
6043
|
|
|
6029
6044
|
|
|
6030
6045
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6038,18 +6053,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6038
6053
|
},
|
|
6039
6054
|
/**
|
|
6040
6055
|
*
|
|
6041
|
-
* @param {
|
|
6042
|
-
* @param {number} pageSize
|
|
6043
|
-
* @param {string} [search]
|
|
6056
|
+
* @param {string} id
|
|
6044
6057
|
* @param {*} [options] Override http request option.
|
|
6045
6058
|
* @throws {RequiredError}
|
|
6046
6059
|
*/
|
|
6047
|
-
|
|
6048
|
-
// verify required parameter '
|
|
6049
|
-
assertParamExists('
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
const localVarPath = `/v1/business-staff`;
|
|
6060
|
+
businessStaffControllerFindByIdBusinessStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6061
|
+
// verify required parameter 'id' is not null or undefined
|
|
6062
|
+
assertParamExists('businessStaffControllerFindByIdBusinessStaff', 'id', id)
|
|
6063
|
+
const localVarPath = `/v1/business-staff/{id}`
|
|
6064
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6053
6065
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6054
6066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6055
6067
|
let baseOptions;
|
|
@@ -6065,18 +6077,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6065
6077
|
// http bearer authentication required
|
|
6066
6078
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6067
6079
|
|
|
6068
|
-
if (page !== undefined) {
|
|
6069
|
-
localVarQueryParameter['page'] = page;
|
|
6070
|
-
}
|
|
6071
|
-
|
|
6072
|
-
if (pageSize !== undefined) {
|
|
6073
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
6074
|
-
}
|
|
6075
|
-
|
|
6076
|
-
if (search !== undefined) {
|
|
6077
|
-
localVarQueryParameter['search'] = search;
|
|
6078
|
-
}
|
|
6079
|
-
|
|
6080
6080
|
|
|
6081
6081
|
|
|
6082
6082
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6522,28 +6522,28 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
6522
6522
|
},
|
|
6523
6523
|
/**
|
|
6524
6524
|
*
|
|
6525
|
-
* @param {
|
|
6525
|
+
* @param {number} page
|
|
6526
|
+
* @param {number} pageSize
|
|
6527
|
+
* @param {string} [search]
|
|
6526
6528
|
* @param {*} [options] Override http request option.
|
|
6527
6529
|
* @throws {RequiredError}
|
|
6528
6530
|
*/
|
|
6529
|
-
async
|
|
6530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
6531
6533
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6532
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
6534
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
|
|
6533
6535
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6534
6536
|
},
|
|
6535
6537
|
/**
|
|
6536
6538
|
*
|
|
6537
|
-
* @param {
|
|
6538
|
-
* @param {number} pageSize
|
|
6539
|
-
* @param {string} [search]
|
|
6539
|
+
* @param {string} id
|
|
6540
6540
|
* @param {*} [options] Override http request option.
|
|
6541
6541
|
* @throws {RequiredError}
|
|
6542
6542
|
*/
|
|
6543
|
-
async
|
|
6544
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6543
|
+
async businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
|
|
6544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindByIdBusinessStaff(id, options);
|
|
6545
6545
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6546
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
6546
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
6547
6547
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6548
6548
|
},
|
|
6549
6549
|
/**
|
|
@@ -6712,23 +6712,23 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
6712
6712
|
},
|
|
6713
6713
|
/**
|
|
6714
6714
|
*
|
|
6715
|
-
* @param {
|
|
6715
|
+
* @param {number} page
|
|
6716
|
+
* @param {number} pageSize
|
|
6717
|
+
* @param {string} [search]
|
|
6716
6718
|
* @param {*} [options] Override http request option.
|
|
6717
6719
|
* @throws {RequiredError}
|
|
6718
6720
|
*/
|
|
6719
|
-
|
|
6720
|
-
return localVarFp.
|
|
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));
|
|
6721
6723
|
},
|
|
6722
6724
|
/**
|
|
6723
6725
|
*
|
|
6724
|
-
* @param {
|
|
6725
|
-
* @param {number} pageSize
|
|
6726
|
-
* @param {string} [search]
|
|
6726
|
+
* @param {string} id
|
|
6727
6727
|
* @param {*} [options] Override http request option.
|
|
6728
6728
|
* @throws {RequiredError}
|
|
6729
6729
|
*/
|
|
6730
|
-
|
|
6731
|
-
return localVarFp.
|
|
6730
|
+
businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
6731
|
+
return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
|
|
6732
6732
|
},
|
|
6733
6733
|
/**
|
|
6734
6734
|
*
|
|
@@ -6874,26 +6874,26 @@ export class BusinessApi extends BaseAPI {
|
|
|
6874
6874
|
|
|
6875
6875
|
/**
|
|
6876
6876
|
*
|
|
6877
|
-
* @param {
|
|
6877
|
+
* @param {number} page
|
|
6878
|
+
* @param {number} pageSize
|
|
6879
|
+
* @param {string} [search]
|
|
6878
6880
|
* @param {*} [options] Override http request option.
|
|
6879
6881
|
* @throws {RequiredError}
|
|
6880
6882
|
* @memberof BusinessApi
|
|
6881
6883
|
*/
|
|
6882
|
-
public
|
|
6883
|
-
return BusinessApiFp(this.configuration).
|
|
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));
|
|
6884
6886
|
}
|
|
6885
6887
|
|
|
6886
6888
|
/**
|
|
6887
6889
|
*
|
|
6888
|
-
* @param {
|
|
6889
|
-
* @param {number} pageSize
|
|
6890
|
-
* @param {string} [search]
|
|
6890
|
+
* @param {string} id
|
|
6891
6891
|
* @param {*} [options] Override http request option.
|
|
6892
6892
|
* @throws {RequiredError}
|
|
6893
6893
|
* @memberof BusinessApi
|
|
6894
6894
|
*/
|
|
6895
|
-
public
|
|
6896
|
-
return BusinessApiFp(this.configuration).
|
|
6895
|
+
public businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig) {
|
|
6896
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
6897
6897
|
}
|
|
6898
6898
|
|
|
6899
6899
|
/**
|