@gooday_corp/gooday-api-client 1.3.48 → 1.3.49
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/.openapi-generator/FILES +1 -0
- package/api.ts +224 -0
- package/docs/BusinessApi.md +103 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/GetAllWhatsOnDTO.md +2 -0
- package/docs/PrepaidServiceApi.md +52 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/VenueResponseDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -4486,6 +4486,12 @@ export interface GetAllWhatsOnDTO {
|
|
|
4486
4486
|
* @memberof GetAllWhatsOnDTO
|
|
4487
4487
|
*/
|
|
4488
4488
|
'capacity'?: number;
|
|
4489
|
+
/**
|
|
4490
|
+
*
|
|
4491
|
+
* @type {string}
|
|
4492
|
+
* @memberof GetAllWhatsOnDTO
|
|
4493
|
+
*/
|
|
4494
|
+
'venue'?: string;
|
|
4489
4495
|
}
|
|
4490
4496
|
/**
|
|
4491
4497
|
*
|
|
@@ -7825,6 +7831,25 @@ export interface UserWaitingListResponseDTO {
|
|
|
7825
7831
|
*/
|
|
7826
7832
|
'data': UserWaitingListPayloadDTO;
|
|
7827
7833
|
}
|
|
7834
|
+
/**
|
|
7835
|
+
*
|
|
7836
|
+
* @export
|
|
7837
|
+
* @interface VenueResponseDTO
|
|
7838
|
+
*/
|
|
7839
|
+
export interface VenueResponseDTO {
|
|
7840
|
+
/**
|
|
7841
|
+
* statusCode
|
|
7842
|
+
* @type {number}
|
|
7843
|
+
* @memberof VenueResponseDTO
|
|
7844
|
+
*/
|
|
7845
|
+
'statusCode': number;
|
|
7846
|
+
/**
|
|
7847
|
+
* Venue
|
|
7848
|
+
* @type {BusinessVenueDetailsEntity}
|
|
7849
|
+
* @memberof VenueResponseDTO
|
|
7850
|
+
*/
|
|
7851
|
+
'data': BusinessVenueDetailsEntity;
|
|
7852
|
+
}
|
|
7828
7853
|
/**
|
|
7829
7854
|
*
|
|
7830
7855
|
* @export
|
|
@@ -11979,6 +12004,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11979
12004
|
options: localVarRequestOptions,
|
|
11980
12005
|
};
|
|
11981
12006
|
},
|
|
12007
|
+
/**
|
|
12008
|
+
*
|
|
12009
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
12010
|
+
* @param {*} [options] Override http request option.
|
|
12011
|
+
* @throws {RequiredError}
|
|
12012
|
+
*/
|
|
12013
|
+
businessStaffControllerFindVenueStaffs: async (findBusinessStaff: FindBusinessStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12014
|
+
// verify required parameter 'findBusinessStaff' is not null or undefined
|
|
12015
|
+
assertParamExists('businessStaffControllerFindVenueStaffs', 'findBusinessStaff', findBusinessStaff)
|
|
12016
|
+
const localVarPath = `/v1/business-staff/public-list`;
|
|
12017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12019
|
+
let baseOptions;
|
|
12020
|
+
if (configuration) {
|
|
12021
|
+
baseOptions = configuration.baseOptions;
|
|
12022
|
+
}
|
|
12023
|
+
|
|
12024
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12025
|
+
const localVarHeaderParameter = {} as any;
|
|
12026
|
+
const localVarQueryParameter = {} as any;
|
|
12027
|
+
|
|
12028
|
+
|
|
12029
|
+
|
|
12030
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12031
|
+
|
|
12032
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12033
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12034
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12035
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findBusinessStaff, localVarRequestOptions, configuration)
|
|
12036
|
+
|
|
12037
|
+
return {
|
|
12038
|
+
url: toPathString(localVarUrlObj),
|
|
12039
|
+
options: localVarRequestOptions,
|
|
12040
|
+
};
|
|
12041
|
+
},
|
|
11982
12042
|
/**
|
|
11983
12043
|
*
|
|
11984
12044
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12248,6 +12308,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12248
12308
|
options: localVarRequestOptions,
|
|
12249
12309
|
};
|
|
12250
12310
|
},
|
|
12311
|
+
/**
|
|
12312
|
+
*
|
|
12313
|
+
* @param {string} id
|
|
12314
|
+
* @param {*} [options] Override http request option.
|
|
12315
|
+
* @throws {RequiredError}
|
|
12316
|
+
*/
|
|
12317
|
+
businessTypeControllerGetVenueById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12318
|
+
// verify required parameter 'id' is not null or undefined
|
|
12319
|
+
assertParamExists('businessTypeControllerGetVenueById', 'id', id)
|
|
12320
|
+
const localVarPath = `/v1/business/venue/{id}`
|
|
12321
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12324
|
+
let baseOptions;
|
|
12325
|
+
if (configuration) {
|
|
12326
|
+
baseOptions = configuration.baseOptions;
|
|
12327
|
+
}
|
|
12328
|
+
|
|
12329
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12330
|
+
const localVarHeaderParameter = {} as any;
|
|
12331
|
+
const localVarQueryParameter = {} as any;
|
|
12332
|
+
|
|
12333
|
+
|
|
12334
|
+
|
|
12335
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12336
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12337
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12338
|
+
|
|
12339
|
+
return {
|
|
12340
|
+
url: toPathString(localVarUrlObj),
|
|
12341
|
+
options: localVarRequestOptions,
|
|
12342
|
+
};
|
|
12343
|
+
},
|
|
12251
12344
|
/**
|
|
12252
12345
|
*
|
|
12253
12346
|
* @param {*} [options] Override http request option.
|
|
@@ -12706,6 +12799,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12706
12799
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
12707
12800
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12708
12801
|
},
|
|
12802
|
+
/**
|
|
12803
|
+
*
|
|
12804
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
12805
|
+
* @param {*} [options] Override http request option.
|
|
12806
|
+
* @throws {RequiredError}
|
|
12807
|
+
*/
|
|
12808
|
+
async businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
|
|
12809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindVenueStaffs(findBusinessStaff, options);
|
|
12810
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12811
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindVenueStaffs']?.[localVarOperationServerIndex]?.url;
|
|
12812
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12813
|
+
},
|
|
12709
12814
|
/**
|
|
12710
12815
|
*
|
|
12711
12816
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12791,6 +12896,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12791
12896
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12792
12897
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12793
12898
|
},
|
|
12899
|
+
/**
|
|
12900
|
+
*
|
|
12901
|
+
* @param {string} id
|
|
12902
|
+
* @param {*} [options] Override http request option.
|
|
12903
|
+
* @throws {RequiredError}
|
|
12904
|
+
*/
|
|
12905
|
+
async businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueResponseDTO>> {
|
|
12906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenueById(id, options);
|
|
12907
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12908
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenueById']?.[localVarOperationServerIndex]?.url;
|
|
12909
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12910
|
+
},
|
|
12794
12911
|
/**
|
|
12795
12912
|
*
|
|
12796
12913
|
* @param {*} [options] Override http request option.
|
|
@@ -12987,6 +13104,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12987
13104
|
businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
12988
13105
|
return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
|
|
12989
13106
|
},
|
|
13107
|
+
/**
|
|
13108
|
+
*
|
|
13109
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
13110
|
+
* @param {*} [options] Override http request option.
|
|
13111
|
+
* @throws {RequiredError}
|
|
13112
|
+
*/
|
|
13113
|
+
businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
|
|
13114
|
+
return localVarFp.businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(axios, basePath));
|
|
13115
|
+
},
|
|
12990
13116
|
/**
|
|
12991
13117
|
*
|
|
12992
13118
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -13051,6 +13177,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13051
13177
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
13052
13178
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
13053
13179
|
},
|
|
13180
|
+
/**
|
|
13181
|
+
*
|
|
13182
|
+
* @param {string} id
|
|
13183
|
+
* @param {*} [options] Override http request option.
|
|
13184
|
+
* @throws {RequiredError}
|
|
13185
|
+
*/
|
|
13186
|
+
businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VenueResponseDTO> {
|
|
13187
|
+
return localVarFp.businessTypeControllerGetVenueById(id, options).then((request) => request(axios, basePath));
|
|
13188
|
+
},
|
|
13054
13189
|
/**
|
|
13055
13190
|
*
|
|
13056
13191
|
* @param {*} [options] Override http request option.
|
|
@@ -13233,6 +13368,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13233
13368
|
return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
13234
13369
|
}
|
|
13235
13370
|
|
|
13371
|
+
/**
|
|
13372
|
+
*
|
|
13373
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
13374
|
+
* @param {*} [options] Override http request option.
|
|
13375
|
+
* @throws {RequiredError}
|
|
13376
|
+
* @memberof BusinessApi
|
|
13377
|
+
*/
|
|
13378
|
+
public businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
|
|
13379
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
|
|
13380
|
+
}
|
|
13381
|
+
|
|
13236
13382
|
/**
|
|
13237
13383
|
*
|
|
13238
13384
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -13311,6 +13457,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13311
13457
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
13312
13458
|
}
|
|
13313
13459
|
|
|
13460
|
+
/**
|
|
13461
|
+
*
|
|
13462
|
+
* @param {string} id
|
|
13463
|
+
* @param {*} [options] Override http request option.
|
|
13464
|
+
* @throws {RequiredError}
|
|
13465
|
+
* @memberof BusinessApi
|
|
13466
|
+
*/
|
|
13467
|
+
public businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig) {
|
|
13468
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetVenueById(id, options).then((request) => request(this.axios, this.basePath));
|
|
13469
|
+
}
|
|
13470
|
+
|
|
13314
13471
|
/**
|
|
13315
13472
|
*
|
|
13316
13473
|
* @param {*} [options] Override http request option.
|
|
@@ -18816,6 +18973,41 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
18816
18973
|
|
|
18817
18974
|
|
|
18818
18975
|
|
|
18976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18977
|
+
|
|
18978
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18979
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18980
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18981
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServiceFindDTO, localVarRequestOptions, configuration)
|
|
18982
|
+
|
|
18983
|
+
return {
|
|
18984
|
+
url: toPathString(localVarUrlObj),
|
|
18985
|
+
options: localVarRequestOptions,
|
|
18986
|
+
};
|
|
18987
|
+
},
|
|
18988
|
+
/**
|
|
18989
|
+
*
|
|
18990
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
18991
|
+
* @param {*} [options] Override http request option.
|
|
18992
|
+
* @throws {RequiredError}
|
|
18993
|
+
*/
|
|
18994
|
+
prepaidServiceControllerFindServiceByVenue: async (prepaidServiceFindDTO: PrepaidServiceFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18995
|
+
// verify required parameter 'prepaidServiceFindDTO' is not null or undefined
|
|
18996
|
+
assertParamExists('prepaidServiceControllerFindServiceByVenue', 'prepaidServiceFindDTO', prepaidServiceFindDTO)
|
|
18997
|
+
const localVarPath = `/v1/prepaid-service/public-list`;
|
|
18998
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19000
|
+
let baseOptions;
|
|
19001
|
+
if (configuration) {
|
|
19002
|
+
baseOptions = configuration.baseOptions;
|
|
19003
|
+
}
|
|
19004
|
+
|
|
19005
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19006
|
+
const localVarHeaderParameter = {} as any;
|
|
19007
|
+
const localVarQueryParameter = {} as any;
|
|
19008
|
+
|
|
19009
|
+
|
|
19010
|
+
|
|
18819
19011
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18820
19012
|
|
|
18821
19013
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19016,6 +19208,18 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
19016
19208
|
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
19017
19209
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19018
19210
|
},
|
|
19211
|
+
/**
|
|
19212
|
+
*
|
|
19213
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19214
|
+
* @param {*} [options] Override http request option.
|
|
19215
|
+
* @throws {RequiredError}
|
|
19216
|
+
*/
|
|
19217
|
+
async prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
|
|
19218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options);
|
|
19219
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19220
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindServiceByVenue']?.[localVarOperationServerIndex]?.url;
|
|
19221
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19222
|
+
},
|
|
19019
19223
|
/**
|
|
19020
19224
|
*
|
|
19021
19225
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -19107,6 +19311,15 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
19107
19311
|
prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
19108
19312
|
return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
19109
19313
|
},
|
|
19314
|
+
/**
|
|
19315
|
+
*
|
|
19316
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19317
|
+
* @param {*} [options] Override http request option.
|
|
19318
|
+
* @throws {RequiredError}
|
|
19319
|
+
*/
|
|
19320
|
+
prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
19321
|
+
return localVarFp.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
19322
|
+
},
|
|
19110
19323
|
/**
|
|
19111
19324
|
*
|
|
19112
19325
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -19199,6 +19412,17 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
19199
19412
|
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19200
19413
|
}
|
|
19201
19414
|
|
|
19415
|
+
/**
|
|
19416
|
+
*
|
|
19417
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19418
|
+
* @param {*} [options] Override http request option.
|
|
19419
|
+
* @throws {RequiredError}
|
|
19420
|
+
* @memberof PrepaidServiceApi
|
|
19421
|
+
*/
|
|
19422
|
+
public prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig) {
|
|
19423
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19424
|
+
}
|
|
19425
|
+
|
|
19202
19426
|
/**
|
|
19203
19427
|
*
|
|
19204
19428
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
package/docs/BusinessApi.md
CHANGED
|
@@ -12,6 +12,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
12
12
|
|[**businessStaffControllerDeleteStaff**](#businessstaffcontrollerdeletestaff) | **DELETE** /v1/business-staff/{id} | |
|
|
13
13
|
|[**businessStaffControllerFindBusinessStaffs**](#businessstaffcontrollerfindbusinessstaffs) | **POST** /v1/business-staff/list | |
|
|
14
14
|
|[**businessStaffControllerFindByIdBusinessStaff**](#businessstaffcontrollerfindbyidbusinessstaff) | **GET** /v1/business-staff/{id} | |
|
|
15
|
+
|[**businessStaffControllerFindVenueStaffs**](#businessstaffcontrollerfindvenuestaffs) | **POST** /v1/business-staff/public-list | |
|
|
15
16
|
|[**businessStaffControllerSaveBusinessStaff**](#businessstaffcontrollersavebusinessstaff) | **POST** /v1/business-staff | |
|
|
16
17
|
|[**businessStaffControllerUpdateStaff**](#businessstaffcontrollerupdatestaff) | **PUT** /v1/business-staff/{id} | |
|
|
17
18
|
|[**businessTypeControllerFindFavoriteBusinessVenue**](#businesstypecontrollerfindfavoritebusinessvenue) | **GET** /v1/business/favorite/{id} | |
|
|
@@ -19,6 +20,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
19
20
|
|[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
|
|
20
21
|
|[**businessTypeControllerGetAllVenue**](#businesstypecontrollergetallvenue) | **POST** /v1/business/venues | |
|
|
21
22
|
|[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
|
|
23
|
+
|[**businessTypeControllerGetVenueById**](#businesstypecontrollergetvenuebyid) | **POST** /v1/business/venue/{id} | |
|
|
22
24
|
|[**businessTypeControllerHighlyRecommended**](#businesstypecontrollerhighlyrecommended) | **GET** /v1/business/highlyRecommended | |
|
|
23
25
|
|[**businessTypeControllerListAllCategories**](#businesstypecontrollerlistallcategories) | **GET** /v1/business/categories | |
|
|
24
26
|
|[**businessTypeControllerListBookingDurations**](#businesstypecontrollerlistbookingdurations) | **GET** /v1/business/booking-durations | |
|
|
@@ -415,6 +417,57 @@ const { status, data } = await apiInstance.businessStaffControllerFindByIdBusine
|
|
|
415
417
|
- **Accept**: application/json
|
|
416
418
|
|
|
417
419
|
|
|
420
|
+
### HTTP response details
|
|
421
|
+
| Status code | Description | Response headers |
|
|
422
|
+
|-------------|-------------|------------------|
|
|
423
|
+
|**200** | | - |
|
|
424
|
+
|
|
425
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
426
|
+
|
|
427
|
+
# **businessStaffControllerFindVenueStaffs**
|
|
428
|
+
> BusinessStaffsResponseDTO businessStaffControllerFindVenueStaffs(findBusinessStaff)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
### Example
|
|
432
|
+
|
|
433
|
+
```typescript
|
|
434
|
+
import {
|
|
435
|
+
BusinessApi,
|
|
436
|
+
Configuration,
|
|
437
|
+
FindBusinessStaff
|
|
438
|
+
} from './api';
|
|
439
|
+
|
|
440
|
+
const configuration = new Configuration();
|
|
441
|
+
const apiInstance = new BusinessApi(configuration);
|
|
442
|
+
|
|
443
|
+
let findBusinessStaff: FindBusinessStaff; //
|
|
444
|
+
|
|
445
|
+
const { status, data } = await apiInstance.businessStaffControllerFindVenueStaffs(
|
|
446
|
+
findBusinessStaff
|
|
447
|
+
);
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Parameters
|
|
451
|
+
|
|
452
|
+
|Name | Type | Description | Notes|
|
|
453
|
+
|------------- | ------------- | ------------- | -------------|
|
|
454
|
+
| **findBusinessStaff** | **FindBusinessStaff**| | |
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
### Return type
|
|
458
|
+
|
|
459
|
+
**BusinessStaffsResponseDTO**
|
|
460
|
+
|
|
461
|
+
### Authorization
|
|
462
|
+
|
|
463
|
+
No authorization required
|
|
464
|
+
|
|
465
|
+
### HTTP request headers
|
|
466
|
+
|
|
467
|
+
- **Content-Type**: application/json
|
|
468
|
+
- **Accept**: application/json
|
|
469
|
+
|
|
470
|
+
|
|
418
471
|
### HTTP response details
|
|
419
472
|
| Status code | Description | Response headers |
|
|
420
473
|
|-------------|-------------|------------------|
|
|
@@ -773,6 +826,56 @@ const { status, data } = await apiInstance.businessTypeControllerGetBusinessVenu
|
|
|
773
826
|
- **Accept**: application/json
|
|
774
827
|
|
|
775
828
|
|
|
829
|
+
### HTTP response details
|
|
830
|
+
| Status code | Description | Response headers |
|
|
831
|
+
|-------------|-------------|------------------|
|
|
832
|
+
|**200** | | - |
|
|
833
|
+
|
|
834
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
835
|
+
|
|
836
|
+
# **businessTypeControllerGetVenueById**
|
|
837
|
+
> VenueResponseDTO businessTypeControllerGetVenueById()
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
### Example
|
|
841
|
+
|
|
842
|
+
```typescript
|
|
843
|
+
import {
|
|
844
|
+
BusinessApi,
|
|
845
|
+
Configuration
|
|
846
|
+
} from './api';
|
|
847
|
+
|
|
848
|
+
const configuration = new Configuration();
|
|
849
|
+
const apiInstance = new BusinessApi(configuration);
|
|
850
|
+
|
|
851
|
+
let id: string; // (default to undefined)
|
|
852
|
+
|
|
853
|
+
const { status, data } = await apiInstance.businessTypeControllerGetVenueById(
|
|
854
|
+
id
|
|
855
|
+
);
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
### Parameters
|
|
859
|
+
|
|
860
|
+
|Name | Type | Description | Notes|
|
|
861
|
+
|------------- | ------------- | ------------- | -------------|
|
|
862
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
### Return type
|
|
866
|
+
|
|
867
|
+
**VenueResponseDTO**
|
|
868
|
+
|
|
869
|
+
### Authorization
|
|
870
|
+
|
|
871
|
+
No authorization required
|
|
872
|
+
|
|
873
|
+
### HTTP request headers
|
|
874
|
+
|
|
875
|
+
- **Content-Type**: Not defined
|
|
876
|
+
- **Accept**: application/json
|
|
877
|
+
|
|
878
|
+
|
|
776
879
|
### HTTP response details
|
|
777
880
|
| Status code | Description | Response headers |
|
|
778
881
|
|-------------|-------------|------------------|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-07T15:23:06+05:30]
|
|
10
10
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
package/docs/GetAllWhatsOnDTO.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**toTime** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**coordinates** | **Array<number>** | | [optional] [default to undefined]
|
|
14
14
|
**capacity** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,6 +27,7 @@ const instance: GetAllWhatsOnDTO = {
|
|
|
26
27
|
toTime,
|
|
27
28
|
coordinates,
|
|
28
29
|
capacity,
|
|
30
|
+
venue,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
31
33
|
|
|
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**prepaidServiceControllerDeleteService**](#prepaidservicecontrollerdeleteservice) | **PUT** /v1/prepaid-service/delete/{id} | |
|
|
10
10
|
|[**prepaidServiceControllerDiscountCodeApply**](#prepaidservicecontrollerdiscountcodeapply) | **POST** /v1/prepaid-service/discount | |
|
|
11
11
|
|[**prepaidServiceControllerFindService**](#prepaidservicecontrollerfindservice) | **POST** /v1/prepaid-service/list | |
|
|
12
|
+
|[**prepaidServiceControllerFindServiceByVenue**](#prepaidservicecontrollerfindservicebyvenue) | **POST** /v1/prepaid-service/public-list | |
|
|
12
13
|
|[**prepaidServiceControllerPrepaidServiceAvailability**](#prepaidservicecontrollerprepaidserviceavailability) | **POST** /v1/prepaid-service/availability | |
|
|
13
14
|
|[**prepaidServiceControllerServiceById**](#prepaidservicecontrollerservicebyid) | **GET** /v1/prepaid-service/{id} | |
|
|
14
15
|
|[**prepaidServiceControllerUpdateTagById**](#prepaidservicecontrollerupdatetagbyid) | **PUT** /v1/prepaid-service/{id} | |
|
|
@@ -252,6 +253,57 @@ const { status, data } = await apiInstance.prepaidServiceControllerFindService(
|
|
|
252
253
|
- **Accept**: application/json
|
|
253
254
|
|
|
254
255
|
|
|
256
|
+
### HTTP response details
|
|
257
|
+
| Status code | Description | Response headers |
|
|
258
|
+
|-------------|-------------|------------------|
|
|
259
|
+
|**200** | | - |
|
|
260
|
+
|
|
261
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
262
|
+
|
|
263
|
+
# **prepaidServiceControllerFindServiceByVenue**
|
|
264
|
+
> PrepaidServiceResponseDTO prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO)
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### Example
|
|
268
|
+
|
|
269
|
+
```typescript
|
|
270
|
+
import {
|
|
271
|
+
PrepaidServiceApi,
|
|
272
|
+
Configuration,
|
|
273
|
+
PrepaidServiceFindDTO
|
|
274
|
+
} from './api';
|
|
275
|
+
|
|
276
|
+
const configuration = new Configuration();
|
|
277
|
+
const apiInstance = new PrepaidServiceApi(configuration);
|
|
278
|
+
|
|
279
|
+
let prepaidServiceFindDTO: PrepaidServiceFindDTO; //
|
|
280
|
+
|
|
281
|
+
const { status, data } = await apiInstance.prepaidServiceControllerFindServiceByVenue(
|
|
282
|
+
prepaidServiceFindDTO
|
|
283
|
+
);
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Parameters
|
|
287
|
+
|
|
288
|
+
|Name | Type | Description | Notes|
|
|
289
|
+
|------------- | ------------- | ------------- | -------------|
|
|
290
|
+
| **prepaidServiceFindDTO** | **PrepaidServiceFindDTO**| | |
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Return type
|
|
294
|
+
|
|
295
|
+
**PrepaidServiceResponseDTO**
|
|
296
|
+
|
|
297
|
+
### Authorization
|
|
298
|
+
|
|
299
|
+
No authorization required
|
|
300
|
+
|
|
301
|
+
### HTTP request headers
|
|
302
|
+
|
|
303
|
+
- **Content-Type**: application/json
|
|
304
|
+
- **Accept**: application/json
|
|
305
|
+
|
|
306
|
+
|
|
255
307
|
### HTTP response details
|
|
256
308
|
| Status code | Description | Response headers |
|
|
257
309
|
|-------------|-------------|------------------|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-07T15:23:06+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# VenueResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**BusinessVenueDetailsEntity**](BusinessVenueDetailsEntity.md) | Venue | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { VenueResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: VenueResponseDTO = {
|
|
17
|
+
statusCode,
|
|
18
|
+
data,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-07T15:23:06+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-07T16:23:06+05:30]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|