@gooday_corp/gooday-api-client 3.3.3 → 3.3.9
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
CHANGED
|
@@ -12961,6 +12961,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
12961
12961
|
options: localVarRequestOptions,
|
|
12962
12962
|
};
|
|
12963
12963
|
},
|
|
12964
|
+
/**
|
|
12965
|
+
*
|
|
12966
|
+
* @param {CreateBookingPayload} createBookingPayload
|
|
12967
|
+
* @param {*} [options] Override http request option.
|
|
12968
|
+
* @throws {RequiredError}
|
|
12969
|
+
*/
|
|
12970
|
+
bookingControllerCreateBooking: async (createBookingPayload: CreateBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12971
|
+
// verify required parameter 'createBookingPayload' is not null or undefined
|
|
12972
|
+
assertParamExists('bookingControllerCreateBooking', 'createBookingPayload', createBookingPayload)
|
|
12973
|
+
const localVarPath = `/v1/booking`;
|
|
12974
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12975
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12976
|
+
let baseOptions;
|
|
12977
|
+
if (configuration) {
|
|
12978
|
+
baseOptions = configuration.baseOptions;
|
|
12979
|
+
}
|
|
12980
|
+
|
|
12981
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12982
|
+
const localVarHeaderParameter = {} as any;
|
|
12983
|
+
const localVarQueryParameter = {} as any;
|
|
12984
|
+
|
|
12985
|
+
// authentication bearer required
|
|
12986
|
+
// http bearer authentication required
|
|
12987
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12988
|
+
|
|
12989
|
+
|
|
12990
|
+
|
|
12991
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12992
|
+
|
|
12993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12995
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12996
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createBookingPayload, localVarRequestOptions, configuration)
|
|
12997
|
+
|
|
12998
|
+
return {
|
|
12999
|
+
url: toPathString(localVarUrlObj),
|
|
13000
|
+
options: localVarRequestOptions,
|
|
13001
|
+
};
|
|
13002
|
+
},
|
|
12964
13003
|
/**
|
|
12965
13004
|
*
|
|
12966
13005
|
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
@@ -12970,7 +13009,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
12970
13009
|
bookingControllerCreateWalkInBooking: async (createWalkInBookingPayload: CreateWalkInBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12971
13010
|
// verify required parameter 'createWalkInBookingPayload' is not null or undefined
|
|
12972
13011
|
assertParamExists('bookingControllerCreateWalkInBooking', 'createWalkInBookingPayload', createWalkInBookingPayload)
|
|
12973
|
-
const localVarPath = `/v1/booking`;
|
|
13012
|
+
const localVarPath = `/v1/booking/walk-in`;
|
|
12974
13013
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12975
13014
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12976
13015
|
let baseOptions;
|
|
@@ -13505,6 +13544,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
13505
13544
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCancelBooking']?.[localVarOperationServerIndex]?.url;
|
|
13506
13545
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13507
13546
|
},
|
|
13547
|
+
/**
|
|
13548
|
+
*
|
|
13549
|
+
* @param {CreateBookingPayload} createBookingPayload
|
|
13550
|
+
* @param {*} [options] Override http request option.
|
|
13551
|
+
* @throws {RequiredError}
|
|
13552
|
+
*/
|
|
13553
|
+
async bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
13554
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateBooking(createBookingPayload, options);
|
|
13555
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13556
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
|
|
13557
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13558
|
+
},
|
|
13508
13559
|
/**
|
|
13509
13560
|
*
|
|
13510
13561
|
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
@@ -13706,6 +13757,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
13706
13757
|
bookingControllerCancelBooking(cancelBookingDTO: CancelBookingDTO, options?: RawAxiosRequestConfig): AxiosPromise<CancelBookingResponseDTO> {
|
|
13707
13758
|
return localVarFp.bookingControllerCancelBooking(cancelBookingDTO, options).then((request) => request(axios, basePath));
|
|
13708
13759
|
},
|
|
13760
|
+
/**
|
|
13761
|
+
*
|
|
13762
|
+
* @param {CreateBookingPayload} createBookingPayload
|
|
13763
|
+
* @param {*} [options] Override http request option.
|
|
13764
|
+
* @throws {RequiredError}
|
|
13765
|
+
*/
|
|
13766
|
+
bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
13767
|
+
return localVarFp.bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
|
|
13768
|
+
},
|
|
13709
13769
|
/**
|
|
13710
13770
|
*
|
|
13711
13771
|
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
@@ -13881,6 +13941,17 @@ export class BookingApi extends BaseAPI {
|
|
|
13881
13941
|
return BookingApiFp(this.configuration).bookingControllerCancelBooking(cancelBookingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13882
13942
|
}
|
|
13883
13943
|
|
|
13944
|
+
/**
|
|
13945
|
+
*
|
|
13946
|
+
* @param {CreateBookingPayload} createBookingPayload
|
|
13947
|
+
* @param {*} [options] Override http request option.
|
|
13948
|
+
* @throws {RequiredError}
|
|
13949
|
+
* @memberof BookingApi
|
|
13950
|
+
*/
|
|
13951
|
+
public bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
|
|
13952
|
+
return BookingApiFp(this.configuration).bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
13953
|
+
}
|
|
13954
|
+
|
|
13884
13955
|
/**
|
|
13885
13956
|
*
|
|
13886
13957
|
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
@@ -20809,10 +20880,11 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
20809
20880
|
*
|
|
20810
20881
|
* @param {string} place
|
|
20811
20882
|
* @param {string} label
|
|
20883
|
+
* @param {string} [searchText]
|
|
20812
20884
|
* @param {*} [options] Override http request option.
|
|
20813
20885
|
* @throws {RequiredError}
|
|
20814
20886
|
*/
|
|
20815
|
-
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20887
|
+
locationControllerFetchCoordinates: async (place: string, label: string, searchText?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20816
20888
|
// verify required parameter 'place' is not null or undefined
|
|
20817
20889
|
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
20818
20890
|
// verify required parameter 'label' is not null or undefined
|
|
@@ -20837,6 +20909,10 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
20837
20909
|
localVarQueryParameter['label'] = label;
|
|
20838
20910
|
}
|
|
20839
20911
|
|
|
20912
|
+
if (searchText !== undefined) {
|
|
20913
|
+
localVarQueryParameter['searchText'] = searchText;
|
|
20914
|
+
}
|
|
20915
|
+
|
|
20840
20916
|
|
|
20841
20917
|
|
|
20842
20918
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20888,10 +20964,11 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
20888
20964
|
*
|
|
20889
20965
|
* @param {string} place
|
|
20890
20966
|
* @param {string} label
|
|
20967
|
+
* @param {string} [searchText]
|
|
20891
20968
|
* @param {*} [options] Override http request option.
|
|
20892
20969
|
* @throws {RequiredError}
|
|
20893
20970
|
*/
|
|
20894
|
-
locationControllerGetCoordinateToBusiness: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20971
|
+
locationControllerGetCoordinateToBusiness: async (place: string, label: string, searchText?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20895
20972
|
// verify required parameter 'place' is not null or undefined
|
|
20896
20973
|
assertParamExists('locationControllerGetCoordinateToBusiness', 'place', place)
|
|
20897
20974
|
// verify required parameter 'label' is not null or undefined
|
|
@@ -20916,6 +20993,10 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
20916
20993
|
localVarQueryParameter['label'] = label;
|
|
20917
20994
|
}
|
|
20918
20995
|
|
|
20996
|
+
if (searchText !== undefined) {
|
|
20997
|
+
localVarQueryParameter['searchText'] = searchText;
|
|
20998
|
+
}
|
|
20999
|
+
|
|
20919
21000
|
|
|
20920
21001
|
|
|
20921
21002
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -20941,11 +21022,12 @@ export const LocationApiFp = function(configuration?: Configuration) {
|
|
|
20941
21022
|
*
|
|
20942
21023
|
* @param {string} place
|
|
20943
21024
|
* @param {string} label
|
|
21025
|
+
* @param {string} [searchText]
|
|
20944
21026
|
* @param {*} [options] Override http request option.
|
|
20945
21027
|
* @throws {RequiredError}
|
|
20946
21028
|
*/
|
|
20947
|
-
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
20948
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
21029
|
+
async locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
21030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, searchText, options);
|
|
20949
21031
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20950
21032
|
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
20951
21033
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20966,11 +21048,12 @@ export const LocationApiFp = function(configuration?: Configuration) {
|
|
|
20966
21048
|
*
|
|
20967
21049
|
* @param {string} place
|
|
20968
21050
|
* @param {string} label
|
|
21051
|
+
* @param {string} [searchText]
|
|
20969
21052
|
* @param {*} [options] Override http request option.
|
|
20970
21053
|
* @throws {RequiredError}
|
|
20971
21054
|
*/
|
|
20972
|
-
async locationControllerGetCoordinateToBusiness(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponseDTO>> {
|
|
20973
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerGetCoordinateToBusiness(place, label, options);
|
|
21055
|
+
async locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponseDTO>> {
|
|
21056
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerGetCoordinateToBusiness(place, label, searchText, options);
|
|
20974
21057
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20975
21058
|
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerGetCoordinateToBusiness']?.[localVarOperationServerIndex]?.url;
|
|
20976
21059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -20989,11 +21072,12 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
|
|
|
20989
21072
|
*
|
|
20990
21073
|
* @param {string} place
|
|
20991
21074
|
* @param {string} label
|
|
21075
|
+
* @param {string} [searchText]
|
|
20992
21076
|
* @param {*} [options] Override http request option.
|
|
20993
21077
|
* @throws {RequiredError}
|
|
20994
21078
|
*/
|
|
20995
|
-
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
20996
|
-
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
21079
|
+
locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
21080
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(axios, basePath));
|
|
20997
21081
|
},
|
|
20998
21082
|
/**
|
|
20999
21083
|
*
|
|
@@ -21008,11 +21092,12 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
|
|
|
21008
21092
|
*
|
|
21009
21093
|
* @param {string} place
|
|
21010
21094
|
* @param {string} label
|
|
21095
|
+
* @param {string} [searchText]
|
|
21011
21096
|
* @param {*} [options] Override http request option.
|
|
21012
21097
|
* @throws {RequiredError}
|
|
21013
21098
|
*/
|
|
21014
|
-
locationControllerGetCoordinateToBusiness(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
|
|
21015
|
-
return localVarFp.locationControllerGetCoordinateToBusiness(place, label, options).then((request) => request(axios, basePath));
|
|
21099
|
+
locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
|
|
21100
|
+
return localVarFp.locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(axios, basePath));
|
|
21016
21101
|
},
|
|
21017
21102
|
};
|
|
21018
21103
|
};
|
|
@@ -21028,12 +21113,13 @@ export class LocationApi extends BaseAPI {
|
|
|
21028
21113
|
*
|
|
21029
21114
|
* @param {string} place
|
|
21030
21115
|
* @param {string} label
|
|
21116
|
+
* @param {string} [searchText]
|
|
21031
21117
|
* @param {*} [options] Override http request option.
|
|
21032
21118
|
* @throws {RequiredError}
|
|
21033
21119
|
* @memberof LocationApi
|
|
21034
21120
|
*/
|
|
21035
|
-
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
21036
|
-
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
21121
|
+
public locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig) {
|
|
21122
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
|
|
21037
21123
|
}
|
|
21038
21124
|
|
|
21039
21125
|
/**
|
|
@@ -21051,12 +21137,13 @@ export class LocationApi extends BaseAPI {
|
|
|
21051
21137
|
*
|
|
21052
21138
|
* @param {string} place
|
|
21053
21139
|
* @param {string} label
|
|
21140
|
+
* @param {string} [searchText]
|
|
21054
21141
|
* @param {*} [options] Override http request option.
|
|
21055
21142
|
* @throws {RequiredError}
|
|
21056
21143
|
* @memberof LocationApi
|
|
21057
21144
|
*/
|
|
21058
|
-
public locationControllerGetCoordinateToBusiness(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
21059
|
-
return LocationApiFp(this.configuration).locationControllerGetCoordinateToBusiness(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
21145
|
+
public locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig) {
|
|
21146
|
+
return LocationApiFp(this.configuration).locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
|
|
21060
21147
|
}
|
|
21061
21148
|
}
|
|
21062
21149
|
|
package/docs/BookingApi.md
CHANGED
|
@@ -9,7 +9,8 @@ All URIs are relative to *http://localhost:8080*
|
|
|
9
9
|
|[**bookingControllerBookingConfirmation**](#bookingcontrollerbookingconfirmation) | **POST** /v1/booking/confirmation | |
|
|
10
10
|
|[**bookingControllerCalendarInvites**](#bookingcontrollercalendarinvites) | **POST** /v1/booking/calendar-shared | |
|
|
11
11
|
|[**bookingControllerCancelBooking**](#bookingcontrollercancelbooking) | **POST** /v1/booking/cancel-booking | |
|
|
12
|
-
|[**
|
|
12
|
+
|[**bookingControllerCreateBooking**](#bookingcontrollercreatebooking) | **POST** /v1/booking | |
|
|
13
|
+
|[**bookingControllerCreateWalkInBooking**](#bookingcontrollercreatewalkinbooking) | **POST** /v1/booking/walk-in | |
|
|
13
14
|
|[**bookingControllerGetBooking**](#bookingcontrollergetbooking) | **GET** /v1/booking/{id} | |
|
|
14
15
|
|[**bookingControllerLeaveBooking**](#bookingcontrollerleavebooking) | **POST** /v1/booking/leave-booking | |
|
|
15
16
|
|[**bookingControllerListBookings**](#bookingcontrollerlistbookings) | **POST** /v1/booking/list | |
|
|
@@ -269,6 +270,57 @@ const { status, data } = await apiInstance.bookingControllerCancelBooking(
|
|
|
269
270
|
- **Accept**: application/json
|
|
270
271
|
|
|
271
272
|
|
|
273
|
+
### HTTP response details
|
|
274
|
+
| Status code | Description | Response headers |
|
|
275
|
+
|-------------|-------------|------------------|
|
|
276
|
+
|**0** | | - |
|
|
277
|
+
|
|
278
|
+
[[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)
|
|
279
|
+
|
|
280
|
+
# **bookingControllerCreateBooking**
|
|
281
|
+
> BookingResponseDTO bookingControllerCreateBooking(createBookingPayload)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
### Example
|
|
285
|
+
|
|
286
|
+
```typescript
|
|
287
|
+
import {
|
|
288
|
+
BookingApi,
|
|
289
|
+
Configuration,
|
|
290
|
+
CreateBookingPayload
|
|
291
|
+
} from './api';
|
|
292
|
+
|
|
293
|
+
const configuration = new Configuration();
|
|
294
|
+
const apiInstance = new BookingApi(configuration);
|
|
295
|
+
|
|
296
|
+
let createBookingPayload: CreateBookingPayload; //
|
|
297
|
+
|
|
298
|
+
const { status, data } = await apiInstance.bookingControllerCreateBooking(
|
|
299
|
+
createBookingPayload
|
|
300
|
+
);
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### Parameters
|
|
304
|
+
|
|
305
|
+
|Name | Type | Description | Notes|
|
|
306
|
+
|------------- | ------------- | ------------- | -------------|
|
|
307
|
+
| **createBookingPayload** | **CreateBookingPayload**| | |
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Return type
|
|
311
|
+
|
|
312
|
+
**BookingResponseDTO**
|
|
313
|
+
|
|
314
|
+
### Authorization
|
|
315
|
+
|
|
316
|
+
[bearer](../README.md#bearer)
|
|
317
|
+
|
|
318
|
+
### HTTP request headers
|
|
319
|
+
|
|
320
|
+
- **Content-Type**: application/json
|
|
321
|
+
- **Accept**: application/json
|
|
322
|
+
|
|
323
|
+
|
|
272
324
|
### HTTP response details
|
|
273
325
|
| Status code | Description | Response headers |
|
|
274
326
|
|-------------|-------------|------------------|
|
|
@@ -6,8 +6,8 @@
|
|
|
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-09-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-22T14:31:19+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-22T14:31:19+05:30]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**startDate** | **string** | The start date of the booking | [default to 2025-09-
|
|
10
|
-
**endDate** | **string** | The start date of the booking | [default to 2025-09-
|
|
9
|
+
**startDate** | **string** | The start date of the booking | [default to 2025-09-22T14:31:19+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-09-22T14:31:19+05:30]
|
|
11
11
|
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
12
|
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
13
|
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
package/docs/LocationApi.md
CHANGED
|
@@ -25,10 +25,12 @@ const apiInstance = new LocationApi(configuration);
|
|
|
25
25
|
|
|
26
26
|
let place: string; // (default to undefined)
|
|
27
27
|
let label: string; // (default to undefined)
|
|
28
|
+
let searchText: string; // (optional) (default to undefined)
|
|
28
29
|
|
|
29
30
|
const { status, data } = await apiInstance.locationControllerFetchCoordinates(
|
|
30
31
|
place,
|
|
31
|
-
label
|
|
32
|
+
label,
|
|
33
|
+
searchText
|
|
32
34
|
);
|
|
33
35
|
```
|
|
34
36
|
|
|
@@ -38,6 +40,7 @@ const { status, data } = await apiInstance.locationControllerFetchCoordinates(
|
|
|
38
40
|
|------------- | ------------- | ------------- | -------------|
|
|
39
41
|
| **place** | [**string**] | | defaults to undefined|
|
|
40
42
|
| **label** | [**string**] | | defaults to undefined|
|
|
43
|
+
| **searchText** | [**string**] | | (optional) defaults to undefined|
|
|
41
44
|
|
|
42
45
|
|
|
43
46
|
### Return type
|
|
@@ -128,10 +131,12 @@ const apiInstance = new LocationApi(configuration);
|
|
|
128
131
|
|
|
129
132
|
let place: string; // (default to undefined)
|
|
130
133
|
let label: string; // (default to undefined)
|
|
134
|
+
let searchText: string; // (optional) (default to undefined)
|
|
131
135
|
|
|
132
136
|
const { status, data } = await apiInstance.locationControllerGetCoordinateToBusiness(
|
|
133
137
|
place,
|
|
134
|
-
label
|
|
138
|
+
label,
|
|
139
|
+
searchText
|
|
135
140
|
);
|
|
136
141
|
```
|
|
137
142
|
|
|
@@ -141,6 +146,7 @@ const { status, data } = await apiInstance.locationControllerGetCoordinateToBusi
|
|
|
141
146
|
|------------- | ------------- | ------------- | -------------|
|
|
142
147
|
| **place** | [**string**] | | defaults to undefined|
|
|
143
148
|
| **label** | [**string**] | | defaults to undefined|
|
|
149
|
+
| **searchText** | [**string**] | | (optional) defaults to undefined|
|
|
144
150
|
|
|
145
151
|
|
|
146
152
|
### Return type
|
|
@@ -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-09-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-22T14:31:19+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
|
@@ -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-09-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-09-22T14:31:19+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-22T15:31:19+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]
|