@gooday_corp/gooday-api-client 1.2.27 → 1.2.29
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 +69 -39
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2356,6 +2356,43 @@ export interface FileNameUploadDTO {
|
|
|
2356
2356
|
*/
|
|
2357
2357
|
'bucketName': string;
|
|
2358
2358
|
}
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @export
|
|
2362
|
+
* @interface FindBusinessStaff
|
|
2363
|
+
*/
|
|
2364
|
+
export interface FindBusinessStaff {
|
|
2365
|
+
/**
|
|
2366
|
+
*
|
|
2367
|
+
* @type {number}
|
|
2368
|
+
* @memberof FindBusinessStaff
|
|
2369
|
+
*/
|
|
2370
|
+
'page': number;
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @type {number}
|
|
2374
|
+
* @memberof FindBusinessStaff
|
|
2375
|
+
*/
|
|
2376
|
+
'pageSize': number;
|
|
2377
|
+
/**
|
|
2378
|
+
*
|
|
2379
|
+
* @type {string}
|
|
2380
|
+
* @memberof FindBusinessStaff
|
|
2381
|
+
*/
|
|
2382
|
+
'search'?: string;
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @type {string}
|
|
2386
|
+
* @memberof FindBusinessStaff
|
|
2387
|
+
*/
|
|
2388
|
+
'venue'?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
*
|
|
2391
|
+
* @type {boolean}
|
|
2392
|
+
* @memberof FindBusinessStaff
|
|
2393
|
+
*/
|
|
2394
|
+
'allStaff'?: boolean;
|
|
2395
|
+
}
|
|
2359
2396
|
/**
|
|
2360
2397
|
*
|
|
2361
2398
|
* @export
|
|
@@ -3457,7 +3494,13 @@ export interface PrepaidServiceEntity {
|
|
|
3457
3494
|
* @type {boolean}
|
|
3458
3495
|
* @memberof PrepaidServiceEntity
|
|
3459
3496
|
*/
|
|
3460
|
-
'
|
|
3497
|
+
'allowSelectGoodayStaff': boolean;
|
|
3498
|
+
/**
|
|
3499
|
+
*
|
|
3500
|
+
* @type {boolean}
|
|
3501
|
+
* @memberof PrepaidServiceEntity
|
|
3502
|
+
*/
|
|
3503
|
+
'individualPricingPerStaff': boolean;
|
|
3461
3504
|
/**
|
|
3462
3505
|
*
|
|
3463
3506
|
* @type {number}
|
|
@@ -3527,7 +3570,13 @@ export interface PrepaidServicePayloadDTO {
|
|
|
3527
3570
|
* @type {boolean}
|
|
3528
3571
|
* @memberof PrepaidServicePayloadDTO
|
|
3529
3572
|
*/
|
|
3530
|
-
'
|
|
3573
|
+
'allowSelectGoodayStaff': boolean;
|
|
3574
|
+
/**
|
|
3575
|
+
*
|
|
3576
|
+
* @type {boolean}
|
|
3577
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3578
|
+
*/
|
|
3579
|
+
'individualPricingPerStaff': boolean;
|
|
3531
3580
|
/**
|
|
3532
3581
|
*
|
|
3533
3582
|
* @type {number}
|
|
@@ -6979,18 +7028,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6979
7028
|
},
|
|
6980
7029
|
/**
|
|
6981
7030
|
*
|
|
6982
|
-
* @param {
|
|
6983
|
-
* @param {number} pageSize
|
|
6984
|
-
* @param {string} [search]
|
|
7031
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
6985
7032
|
* @param {*} [options] Override http request option.
|
|
6986
7033
|
* @throws {RequiredError}
|
|
6987
7034
|
*/
|
|
6988
|
-
businessStaffControllerFindBusinessStaffs: async (
|
|
6989
|
-
// verify required parameter '
|
|
6990
|
-
assertParamExists('businessStaffControllerFindBusinessStaffs', '
|
|
6991
|
-
|
|
6992
|
-
assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
|
|
6993
|
-
const localVarPath = `/v1/business-staff`;
|
|
7035
|
+
businessStaffControllerFindBusinessStaffs: async (findBusinessStaff: FindBusinessStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7036
|
+
// verify required parameter 'findBusinessStaff' is not null or undefined
|
|
7037
|
+
assertParamExists('businessStaffControllerFindBusinessStaffs', 'findBusinessStaff', findBusinessStaff)
|
|
7038
|
+
const localVarPath = `/v1/business-staff/list`;
|
|
6994
7039
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6995
7040
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6996
7041
|
let baseOptions;
|
|
@@ -6998,7 +7043,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6998
7043
|
baseOptions = configuration.baseOptions;
|
|
6999
7044
|
}
|
|
7000
7045
|
|
|
7001
|
-
const localVarRequestOptions = { method: '
|
|
7046
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7002
7047
|
const localVarHeaderParameter = {} as any;
|
|
7003
7048
|
const localVarQueryParameter = {} as any;
|
|
7004
7049
|
|
|
@@ -7006,23 +7051,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7006
7051
|
// http bearer authentication required
|
|
7007
7052
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7008
7053
|
|
|
7009
|
-
if (page !== undefined) {
|
|
7010
|
-
localVarQueryParameter['page'] = page;
|
|
7011
|
-
}
|
|
7012
|
-
|
|
7013
|
-
if (pageSize !== undefined) {
|
|
7014
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
7015
|
-
}
|
|
7016
|
-
|
|
7017
|
-
if (search !== undefined) {
|
|
7018
|
-
localVarQueryParameter['search'] = search;
|
|
7019
|
-
}
|
|
7020
|
-
|
|
7021
7054
|
|
|
7022
7055
|
|
|
7056
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7057
|
+
|
|
7023
7058
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7024
7059
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7025
7060
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7061
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findBusinessStaff, localVarRequestOptions, configuration)
|
|
7026
7062
|
|
|
7027
7063
|
return {
|
|
7028
7064
|
url: toPathString(localVarUrlObj),
|
|
@@ -7500,14 +7536,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
7500
7536
|
},
|
|
7501
7537
|
/**
|
|
7502
7538
|
*
|
|
7503
|
-
* @param {
|
|
7504
|
-
* @param {number} pageSize
|
|
7505
|
-
* @param {string} [search]
|
|
7539
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
7506
7540
|
* @param {*} [options] Override http request option.
|
|
7507
7541
|
* @throws {RequiredError}
|
|
7508
7542
|
*/
|
|
7509
|
-
async businessStaffControllerFindBusinessStaffs(
|
|
7510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(
|
|
7543
|
+
async businessStaffControllerFindBusinessStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
|
|
7544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(findBusinessStaff, options);
|
|
7511
7545
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7512
7546
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
|
|
7513
7547
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -7690,14 +7724,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
7690
7724
|
},
|
|
7691
7725
|
/**
|
|
7692
7726
|
*
|
|
7693
|
-
* @param {
|
|
7694
|
-
* @param {number} pageSize
|
|
7695
|
-
* @param {string} [search]
|
|
7727
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
7696
7728
|
* @param {*} [options] Override http request option.
|
|
7697
7729
|
* @throws {RequiredError}
|
|
7698
7730
|
*/
|
|
7699
|
-
businessStaffControllerFindBusinessStaffs(
|
|
7700
|
-
return localVarFp.businessStaffControllerFindBusinessStaffs(
|
|
7731
|
+
businessStaffControllerFindBusinessStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
|
|
7732
|
+
return localVarFp.businessStaffControllerFindBusinessStaffs(findBusinessStaff, options).then((request) => request(axios, basePath));
|
|
7701
7733
|
},
|
|
7702
7734
|
/**
|
|
7703
7735
|
*
|
|
@@ -7852,15 +7884,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
7852
7884
|
|
|
7853
7885
|
/**
|
|
7854
7886
|
*
|
|
7855
|
-
* @param {
|
|
7856
|
-
* @param {number} pageSize
|
|
7857
|
-
* @param {string} [search]
|
|
7887
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
7858
7888
|
* @param {*} [options] Override http request option.
|
|
7859
7889
|
* @throws {RequiredError}
|
|
7860
7890
|
* @memberof BusinessApi
|
|
7861
7891
|
*/
|
|
7862
|
-
public businessStaffControllerFindBusinessStaffs(
|
|
7863
|
-
return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(
|
|
7892
|
+
public businessStaffControllerFindBusinessStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
|
|
7893
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
|
|
7864
7894
|
}
|
|
7865
7895
|
|
|
7866
7896
|
/**
|