@gooday_corp/gooday-api-client 2.3.0 → 3.3.3
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 +3 -0
- package/api.ts +222 -18
- package/docs/BookingApi.md +8 -8
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/CreateWalkInBookingPayload.md +42 -0
- package/docs/LocationApi.md +54 -0
- package/docs/LocationCoordinatesResponseDTO.md +22 -0
- package/docs/LocationCoordinatesToBusiness.md +24 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -127,6 +127,7 @@ docs/CreatePaymentLinkDTO.md
|
|
|
127
127
|
docs/CreateTaskPayload.md
|
|
128
128
|
docs/CreateTodoPayload.md
|
|
129
129
|
docs/CreateWaitlistBookingCollaboratorPayload.md
|
|
130
|
+
docs/CreateWalkInBookingPayload.md
|
|
130
131
|
docs/CustomerApi.md
|
|
131
132
|
docs/CustomerBookingResponseDTO.md
|
|
132
133
|
docs/CustomerDeleteResponseDTO.md
|
|
@@ -210,6 +211,8 @@ docs/LeaveBookingResponseDTO.md
|
|
|
210
211
|
docs/ListTaskListPayload.md
|
|
211
212
|
docs/LocationApi.md
|
|
212
213
|
docs/LocationCoordinatesResponse.md
|
|
214
|
+
docs/LocationCoordinatesResponseDTO.md
|
|
215
|
+
docs/LocationCoordinatesToBusiness.md
|
|
213
216
|
docs/LocationDTO.md
|
|
214
217
|
docs/LocationEntityResponse.md
|
|
215
218
|
docs/LocationMetaDTO.md
|
package/api.ts
CHANGED
|
@@ -1056,7 +1056,8 @@ export type BookingEntityStatusEnum = typeof BookingEntityStatusEnum[keyof typeo
|
|
|
1056
1056
|
export const BookingEntityMethodEnum = {
|
|
1057
1057
|
Call: 'CALL',
|
|
1058
1058
|
InPerson: 'IN_PERSON',
|
|
1059
|
-
App: 'APP'
|
|
1059
|
+
App: 'APP',
|
|
1060
|
+
WalkIn: 'WALK_IN'
|
|
1060
1061
|
} as const;
|
|
1061
1062
|
|
|
1062
1063
|
export type BookingEntityMethodEnum = typeof BookingEntityMethodEnum[keyof typeof BookingEntityMethodEnum];
|
|
@@ -1316,7 +1317,8 @@ export interface BookingResponse {
|
|
|
1316
1317
|
export const BookingResponseMethodEnum = {
|
|
1317
1318
|
Call: 'CALL',
|
|
1318
1319
|
InPerson: 'IN_PERSON',
|
|
1319
|
-
App: 'APP'
|
|
1320
|
+
App: 'APP',
|
|
1321
|
+
WalkIn: 'WALK_IN'
|
|
1320
1322
|
} as const;
|
|
1321
1323
|
|
|
1322
1324
|
export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
|
|
@@ -4057,6 +4059,85 @@ export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
|
|
|
4057
4059
|
|
|
4058
4060
|
export type CreateWaitlistBookingCollaboratorPayloadStatusEnum = typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum[keyof typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum];
|
|
4059
4061
|
|
|
4062
|
+
/**
|
|
4063
|
+
*
|
|
4064
|
+
* @export
|
|
4065
|
+
* @interface CreateWalkInBookingPayload
|
|
4066
|
+
*/
|
|
4067
|
+
export interface CreateWalkInBookingPayload {
|
|
4068
|
+
/**
|
|
4069
|
+
* The title of the booking
|
|
4070
|
+
* @type {string}
|
|
4071
|
+
* @memberof CreateWalkInBookingPayload
|
|
4072
|
+
*/
|
|
4073
|
+
'title': string;
|
|
4074
|
+
/**
|
|
4075
|
+
* The start date of the booking
|
|
4076
|
+
* @type {string}
|
|
4077
|
+
* @memberof CreateWalkInBookingPayload
|
|
4078
|
+
*/
|
|
4079
|
+
'startDate': string;
|
|
4080
|
+
/**
|
|
4081
|
+
* The start date of the booking
|
|
4082
|
+
* @type {string}
|
|
4083
|
+
* @memberof CreateWalkInBookingPayload
|
|
4084
|
+
*/
|
|
4085
|
+
'endDate': string;
|
|
4086
|
+
/**
|
|
4087
|
+
* Notes attached with booking
|
|
4088
|
+
* @type {string}
|
|
4089
|
+
* @memberof CreateWalkInBookingPayload
|
|
4090
|
+
*/
|
|
4091
|
+
'note'?: string;
|
|
4092
|
+
/**
|
|
4093
|
+
* Occasion id
|
|
4094
|
+
* @type {string}
|
|
4095
|
+
* @memberof CreateWalkInBookingPayload
|
|
4096
|
+
*/
|
|
4097
|
+
'occasion'?: string;
|
|
4098
|
+
/**
|
|
4099
|
+
* Calendar attached with booking
|
|
4100
|
+
* @type {Array<string>}
|
|
4101
|
+
* @memberof CreateWalkInBookingPayload
|
|
4102
|
+
*/
|
|
4103
|
+
'calendar'?: Array<string>;
|
|
4104
|
+
/**
|
|
4105
|
+
* The list of collaborators associated with the booking
|
|
4106
|
+
* @type {Array<CreateBookingCollaboratorPayload>}
|
|
4107
|
+
* @memberof CreateWalkInBookingPayload
|
|
4108
|
+
*/
|
|
4109
|
+
'collaborators': Array<CreateBookingCollaboratorPayload>;
|
|
4110
|
+
/**
|
|
4111
|
+
* The list of customers associated with the booking
|
|
4112
|
+
* @type {Array<string>}
|
|
4113
|
+
* @memberof CreateWalkInBookingPayload
|
|
4114
|
+
*/
|
|
4115
|
+
'customers': Array<string>;
|
|
4116
|
+
/**
|
|
4117
|
+
* Booking method
|
|
4118
|
+
* @type {string}
|
|
4119
|
+
* @memberof CreateWalkInBookingPayload
|
|
4120
|
+
*/
|
|
4121
|
+
'method': string;
|
|
4122
|
+
/**
|
|
4123
|
+
*
|
|
4124
|
+
* @type {Array<string>}
|
|
4125
|
+
* @memberof CreateWalkInBookingPayload
|
|
4126
|
+
*/
|
|
4127
|
+
'tags'?: Array<string>;
|
|
4128
|
+
/**
|
|
4129
|
+
*
|
|
4130
|
+
* @type {number}
|
|
4131
|
+
* @memberof CreateWalkInBookingPayload
|
|
4132
|
+
*/
|
|
4133
|
+
'quantity': number;
|
|
4134
|
+
/**
|
|
4135
|
+
*
|
|
4136
|
+
* @type {object}
|
|
4137
|
+
* @memberof CreateWalkInBookingPayload
|
|
4138
|
+
*/
|
|
4139
|
+
'walking': object;
|
|
4140
|
+
}
|
|
4060
4141
|
/**
|
|
4061
4142
|
*
|
|
4062
4143
|
* @export
|
|
@@ -6150,6 +6231,50 @@ export interface LocationCoordinatesResponse {
|
|
|
6150
6231
|
*/
|
|
6151
6232
|
'data': LocationDTO;
|
|
6152
6233
|
}
|
|
6234
|
+
/**
|
|
6235
|
+
*
|
|
6236
|
+
* @export
|
|
6237
|
+
* @interface LocationCoordinatesResponseDTO
|
|
6238
|
+
*/
|
|
6239
|
+
export interface LocationCoordinatesResponseDTO {
|
|
6240
|
+
/**
|
|
6241
|
+
* statusCode
|
|
6242
|
+
* @type {number}
|
|
6243
|
+
* @memberof LocationCoordinatesResponseDTO
|
|
6244
|
+
*/
|
|
6245
|
+
'statusCode': number;
|
|
6246
|
+
/**
|
|
6247
|
+
* Location coordinate
|
|
6248
|
+
* @type {LocationCoordinatesToBusiness}
|
|
6249
|
+
* @memberof LocationCoordinatesResponseDTO
|
|
6250
|
+
*/
|
|
6251
|
+
'data': LocationCoordinatesToBusiness;
|
|
6252
|
+
}
|
|
6253
|
+
/**
|
|
6254
|
+
*
|
|
6255
|
+
* @export
|
|
6256
|
+
* @interface LocationCoordinatesToBusiness
|
|
6257
|
+
*/
|
|
6258
|
+
export interface LocationCoordinatesToBusiness {
|
|
6259
|
+
/**
|
|
6260
|
+
*
|
|
6261
|
+
* @type {string}
|
|
6262
|
+
* @memberof LocationCoordinatesToBusiness
|
|
6263
|
+
*/
|
|
6264
|
+
'type': string;
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @type {object}
|
|
6268
|
+
* @memberof LocationCoordinatesToBusiness
|
|
6269
|
+
*/
|
|
6270
|
+
'place': object;
|
|
6271
|
+
/**
|
|
6272
|
+
* Location coordinate
|
|
6273
|
+
* @type {object}
|
|
6274
|
+
* @memberof LocationCoordinatesToBusiness
|
|
6275
|
+
*/
|
|
6276
|
+
'data': object;
|
|
6277
|
+
}
|
|
6153
6278
|
/**
|
|
6154
6279
|
*
|
|
6155
6280
|
* @export
|
|
@@ -9657,7 +9782,8 @@ export interface WaitlistEntity {
|
|
|
9657
9782
|
export const WaitlistEntityMethodEnum = {
|
|
9658
9783
|
Call: 'CALL',
|
|
9659
9784
|
InPerson: 'IN_PERSON',
|
|
9660
|
-
App: 'APP'
|
|
9785
|
+
App: 'APP',
|
|
9786
|
+
WalkIn: 'WALK_IN'
|
|
9661
9787
|
} as const;
|
|
9662
9788
|
|
|
9663
9789
|
export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
|
|
@@ -12837,13 +12963,13 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
12837
12963
|
},
|
|
12838
12964
|
/**
|
|
12839
12965
|
*
|
|
12840
|
-
* @param {
|
|
12966
|
+
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
12841
12967
|
* @param {*} [options] Override http request option.
|
|
12842
12968
|
* @throws {RequiredError}
|
|
12843
12969
|
*/
|
|
12844
|
-
|
|
12845
|
-
// verify required parameter '
|
|
12846
|
-
assertParamExists('
|
|
12970
|
+
bookingControllerCreateWalkInBooking: async (createWalkInBookingPayload: CreateWalkInBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12971
|
+
// verify required parameter 'createWalkInBookingPayload' is not null or undefined
|
|
12972
|
+
assertParamExists('bookingControllerCreateWalkInBooking', 'createWalkInBookingPayload', createWalkInBookingPayload)
|
|
12847
12973
|
const localVarPath = `/v1/booking`;
|
|
12848
12974
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12849
12975
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12867,7 +12993,7 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
12867
12993
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12868
12994
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12869
12995
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12870
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12996
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createWalkInBookingPayload, localVarRequestOptions, configuration)
|
|
12871
12997
|
|
|
12872
12998
|
return {
|
|
12873
12999
|
url: toPathString(localVarUrlObj),
|
|
@@ -13381,14 +13507,14 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
13381
13507
|
},
|
|
13382
13508
|
/**
|
|
13383
13509
|
*
|
|
13384
|
-
* @param {
|
|
13510
|
+
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
13385
13511
|
* @param {*} [options] Override http request option.
|
|
13386
13512
|
* @throws {RequiredError}
|
|
13387
13513
|
*/
|
|
13388
|
-
async
|
|
13389
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13514
|
+
async bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
|
|
13515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options);
|
|
13390
13516
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13391
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.
|
|
13517
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateWalkInBooking']?.[localVarOperationServerIndex]?.url;
|
|
13392
13518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13393
13519
|
},
|
|
13394
13520
|
/**
|
|
@@ -13582,12 +13708,12 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
13582
13708
|
},
|
|
13583
13709
|
/**
|
|
13584
13710
|
*
|
|
13585
|
-
* @param {
|
|
13711
|
+
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
13586
13712
|
* @param {*} [options] Override http request option.
|
|
13587
13713
|
* @throws {RequiredError}
|
|
13588
13714
|
*/
|
|
13589
|
-
|
|
13590
|
-
return localVarFp.
|
|
13715
|
+
bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
13716
|
+
return localVarFp.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(axios, basePath));
|
|
13591
13717
|
},
|
|
13592
13718
|
/**
|
|
13593
13719
|
*
|
|
@@ -13757,13 +13883,13 @@ export class BookingApi extends BaseAPI {
|
|
|
13757
13883
|
|
|
13758
13884
|
/**
|
|
13759
13885
|
*
|
|
13760
|
-
* @param {
|
|
13886
|
+
* @param {CreateWalkInBookingPayload} createWalkInBookingPayload
|
|
13761
13887
|
* @param {*} [options] Override http request option.
|
|
13762
13888
|
* @throws {RequiredError}
|
|
13763
13889
|
* @memberof BookingApi
|
|
13764
13890
|
*/
|
|
13765
|
-
public
|
|
13766
|
-
return BookingApiFp(this.configuration).
|
|
13891
|
+
public bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig) {
|
|
13892
|
+
return BookingApiFp(this.configuration).bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
13767
13893
|
}
|
|
13768
13894
|
|
|
13769
13895
|
/**
|
|
@@ -20749,6 +20875,49 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
20749
20875
|
|
|
20750
20876
|
|
|
20751
20877
|
|
|
20878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20880
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20881
|
+
|
|
20882
|
+
return {
|
|
20883
|
+
url: toPathString(localVarUrlObj),
|
|
20884
|
+
options: localVarRequestOptions,
|
|
20885
|
+
};
|
|
20886
|
+
},
|
|
20887
|
+
/**
|
|
20888
|
+
*
|
|
20889
|
+
* @param {string} place
|
|
20890
|
+
* @param {string} label
|
|
20891
|
+
* @param {*} [options] Override http request option.
|
|
20892
|
+
* @throws {RequiredError}
|
|
20893
|
+
*/
|
|
20894
|
+
locationControllerGetCoordinateToBusiness: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20895
|
+
// verify required parameter 'place' is not null or undefined
|
|
20896
|
+
assertParamExists('locationControllerGetCoordinateToBusiness', 'place', place)
|
|
20897
|
+
// verify required parameter 'label' is not null or undefined
|
|
20898
|
+
assertParamExists('locationControllerGetCoordinateToBusiness', 'label', label)
|
|
20899
|
+
const localVarPath = `/v1/locations-coordinates-to-business`;
|
|
20900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20902
|
+
let baseOptions;
|
|
20903
|
+
if (configuration) {
|
|
20904
|
+
baseOptions = configuration.baseOptions;
|
|
20905
|
+
}
|
|
20906
|
+
|
|
20907
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20908
|
+
const localVarHeaderParameter = {} as any;
|
|
20909
|
+
const localVarQueryParameter = {} as any;
|
|
20910
|
+
|
|
20911
|
+
if (place !== undefined) {
|
|
20912
|
+
localVarQueryParameter['place'] = place;
|
|
20913
|
+
}
|
|
20914
|
+
|
|
20915
|
+
if (label !== undefined) {
|
|
20916
|
+
localVarQueryParameter['label'] = label;
|
|
20917
|
+
}
|
|
20918
|
+
|
|
20919
|
+
|
|
20920
|
+
|
|
20752
20921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20753
20922
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20754
20923
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20793,6 +20962,19 @@ export const LocationApiFp = function(configuration?: Configuration) {
|
|
|
20793
20962
|
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
20794
20963
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20795
20964
|
},
|
|
20965
|
+
/**
|
|
20966
|
+
*
|
|
20967
|
+
* @param {string} place
|
|
20968
|
+
* @param {string} label
|
|
20969
|
+
* @param {*} [options] Override http request option.
|
|
20970
|
+
* @throws {RequiredError}
|
|
20971
|
+
*/
|
|
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);
|
|
20974
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20975
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerGetCoordinateToBusiness']?.[localVarOperationServerIndex]?.url;
|
|
20976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20977
|
+
},
|
|
20796
20978
|
}
|
|
20797
20979
|
};
|
|
20798
20980
|
|
|
@@ -20822,6 +21004,16 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
|
|
|
20822
21004
|
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
20823
21005
|
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
20824
21006
|
},
|
|
21007
|
+
/**
|
|
21008
|
+
*
|
|
21009
|
+
* @param {string} place
|
|
21010
|
+
* @param {string} label
|
|
21011
|
+
* @param {*} [options] Override http request option.
|
|
21012
|
+
* @throws {RequiredError}
|
|
21013
|
+
*/
|
|
21014
|
+
locationControllerGetCoordinateToBusiness(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
|
|
21015
|
+
return localVarFp.locationControllerGetCoordinateToBusiness(place, label, options).then((request) => request(axios, basePath));
|
|
21016
|
+
},
|
|
20825
21017
|
};
|
|
20826
21018
|
};
|
|
20827
21019
|
|
|
@@ -20854,6 +21046,18 @@ export class LocationApi extends BaseAPI {
|
|
|
20854
21046
|
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
20855
21047
|
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
20856
21048
|
}
|
|
21049
|
+
|
|
21050
|
+
/**
|
|
21051
|
+
*
|
|
21052
|
+
* @param {string} place
|
|
21053
|
+
* @param {string} label
|
|
21054
|
+
* @param {*} [options] Override http request option.
|
|
21055
|
+
* @throws {RequiredError}
|
|
21056
|
+
* @memberof LocationApi
|
|
21057
|
+
*/
|
|
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));
|
|
21060
|
+
}
|
|
20857
21061
|
}
|
|
20858
21062
|
|
|
20859
21063
|
|
package/docs/BookingApi.md
CHANGED
|
@@ -9,7 +9,7 @@ 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
|
+
|[**bookingControllerCreateWalkInBooking**](#bookingcontrollercreatewalkinbooking) | **POST** /v1/booking | |
|
|
13
13
|
|[**bookingControllerGetBooking**](#bookingcontrollergetbooking) | **GET** /v1/booking/{id} | |
|
|
14
14
|
|[**bookingControllerLeaveBooking**](#bookingcontrollerleavebooking) | **POST** /v1/booking/leave-booking | |
|
|
15
15
|
|[**bookingControllerListBookings**](#bookingcontrollerlistbookings) | **POST** /v1/booking/list | |
|
|
@@ -276,8 +276,8 @@ const { status, data } = await apiInstance.bookingControllerCancelBooking(
|
|
|
276
276
|
|
|
277
277
|
[[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)
|
|
278
278
|
|
|
279
|
-
# **
|
|
280
|
-
> BookingResponseDTO
|
|
279
|
+
# **bookingControllerCreateWalkInBooking**
|
|
280
|
+
> BookingResponseDTO bookingControllerCreateWalkInBooking(createWalkInBookingPayload)
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
### Example
|
|
@@ -286,16 +286,16 @@ const { status, data } = await apiInstance.bookingControllerCancelBooking(
|
|
|
286
286
|
import {
|
|
287
287
|
BookingApi,
|
|
288
288
|
Configuration,
|
|
289
|
-
|
|
289
|
+
CreateWalkInBookingPayload
|
|
290
290
|
} from './api';
|
|
291
291
|
|
|
292
292
|
const configuration = new Configuration();
|
|
293
293
|
const apiInstance = new BookingApi(configuration);
|
|
294
294
|
|
|
295
|
-
let
|
|
295
|
+
let createWalkInBookingPayload: CreateWalkInBookingPayload; //
|
|
296
296
|
|
|
297
|
-
const { status, data } = await apiInstance.
|
|
298
|
-
|
|
297
|
+
const { status, data } = await apiInstance.bookingControllerCreateWalkInBooking(
|
|
298
|
+
createWalkInBookingPayload
|
|
299
299
|
);
|
|
300
300
|
```
|
|
301
301
|
|
|
@@ -303,7 +303,7 @@ const { status, data } = await apiInstance.bookingControllerCreateBooking(
|
|
|
303
303
|
|
|
304
304
|
|Name | Type | Description | Notes|
|
|
305
305
|
|------------- | ------------- | ------------- | -------------|
|
|
306
|
-
| **
|
|
306
|
+
| **createWalkInBookingPayload** | **CreateWalkInBookingPayload**| | |
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
### Return type
|
|
@@ -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-19T15:12:09+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-19T15:12:09+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]
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# CreateWalkInBookingPayload
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
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-19T15:12:09+05:30]
|
|
10
|
+
**endDate** | **string** | The start date of the booking | [default to 2025-09-19T15:12:09+05:30]
|
|
11
|
+
**note** | **string** | Notes attached with booking | [optional] [default to undefined]
|
|
12
|
+
**occasion** | **string** | Occasion id | [optional] [default to undefined]
|
|
13
|
+
**calendar** | **Array<string>** | Calendar attached with booking | [optional] [default to undefined]
|
|
14
|
+
**collaborators** | [**Array<CreateBookingCollaboratorPayload>**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
|
|
15
|
+
**customers** | **Array<string>** | The list of customers associated with the booking | [default to undefined]
|
|
16
|
+
**method** | **string** | Booking method | [default to 'WALK_IN']
|
|
17
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
|
+
**quantity** | **number** | | [default to undefined]
|
|
19
|
+
**walking** | **object** | | [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { CreateWalkInBookingPayload } from './api';
|
|
25
|
+
|
|
26
|
+
const instance: CreateWalkInBookingPayload = {
|
|
27
|
+
title,
|
|
28
|
+
startDate,
|
|
29
|
+
endDate,
|
|
30
|
+
note,
|
|
31
|
+
occasion,
|
|
32
|
+
calendar,
|
|
33
|
+
collaborators,
|
|
34
|
+
customers,
|
|
35
|
+
method,
|
|
36
|
+
tags,
|
|
37
|
+
quantity,
|
|
38
|
+
walking,
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/LocationApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**locationControllerFetchCoordinates**](#locationcontrollerfetchcoordinates) | **GET** /v1/locations-coordinates | |
|
|
8
8
|
|[**locationControllerFetchLocations**](#locationcontrollerfetchlocations) | **GET** /v1/locations | |
|
|
9
|
+
|[**locationControllerGetCoordinateToBusiness**](#locationcontrollergetcoordinatetobusiness) | **GET** /v1/locations-coordinates-to-business | |
|
|
9
10
|
|
|
10
11
|
# **locationControllerFetchCoordinates**
|
|
11
12
|
> LocationCoordinatesResponse locationControllerFetchCoordinates()
|
|
@@ -110,3 +111,56 @@ No authorization required
|
|
|
110
111
|
|
|
111
112
|
[[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)
|
|
112
113
|
|
|
114
|
+
# **locationControllerGetCoordinateToBusiness**
|
|
115
|
+
> LocationCoordinatesResponseDTO locationControllerGetCoordinateToBusiness()
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Example
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import {
|
|
122
|
+
LocationApi,
|
|
123
|
+
Configuration
|
|
124
|
+
} from './api';
|
|
125
|
+
|
|
126
|
+
const configuration = new Configuration();
|
|
127
|
+
const apiInstance = new LocationApi(configuration);
|
|
128
|
+
|
|
129
|
+
let place: string; // (default to undefined)
|
|
130
|
+
let label: string; // (default to undefined)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.locationControllerGetCoordinateToBusiness(
|
|
133
|
+
place,
|
|
134
|
+
label
|
|
135
|
+
);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
|
|
140
|
+
|Name | Type | Description | Notes|
|
|
141
|
+
|------------- | ------------- | ------------- | -------------|
|
|
142
|
+
| **place** | [**string**] | | defaults to undefined|
|
|
143
|
+
| **label** | [**string**] | | defaults to undefined|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Return type
|
|
147
|
+
|
|
148
|
+
**LocationCoordinatesResponseDTO**
|
|
149
|
+
|
|
150
|
+
### Authorization
|
|
151
|
+
|
|
152
|
+
No authorization required
|
|
153
|
+
|
|
154
|
+
### HTTP request headers
|
|
155
|
+
|
|
156
|
+
- **Content-Type**: Not defined
|
|
157
|
+
- **Accept**: application/json
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### HTTP response details
|
|
161
|
+
| Status code | Description | Response headers |
|
|
162
|
+
|-------------|-------------|------------------|
|
|
163
|
+
|**200** | | - |
|
|
164
|
+
|
|
165
|
+
[[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)
|
|
166
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# LocationCoordinatesResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**LocationCoordinatesToBusiness**](LocationCoordinatesToBusiness.md) | Location coordinate | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { LocationCoordinatesResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: LocationCoordinatesResponseDTO = {
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# LocationCoordinatesToBusiness
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**place** | **object** | | [default to undefined]
|
|
10
|
+
**data** | **object** | Location coordinate | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { LocationCoordinatesToBusiness } from './api';
|
|
16
|
+
|
|
17
|
+
const instance: LocationCoordinatesToBusiness = {
|
|
18
|
+
type,
|
|
19
|
+
place,
|
|
20
|
+
data,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,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-19T15:12:09+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-19T15:12:09+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-19T16:12:09+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]
|