@gooday_corp/gooday-api-client 2.1.6 → 2.1.8

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.
@@ -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
@@ -1033,6 +1033,12 @@ export interface BookingEntity {
1033
1033
  * @memberof BookingEntity
1034
1034
  */
1035
1035
  'whatsOn': WhatsOnEntity;
1036
+ /**
1037
+ *
1038
+ * @type {object}
1039
+ * @memberof BookingEntity
1040
+ */
1041
+ 'walking': object;
1036
1042
  /**
1037
1043
  * Cancellation fee
1038
1044
  * @type {object}
@@ -1056,7 +1062,8 @@ export type BookingEntityStatusEnum = typeof BookingEntityStatusEnum[keyof typeo
1056
1062
  export const BookingEntityMethodEnum = {
1057
1063
  Call: 'CALL',
1058
1064
  InPerson: 'IN_PERSON',
1059
- App: 'APP'
1065
+ App: 'APP',
1066
+ WalkIn: 'WALK_IN'
1060
1067
  } as const;
1061
1068
 
1062
1069
  export type BookingEntityMethodEnum = typeof BookingEntityMethodEnum[keyof typeof BookingEntityMethodEnum];
@@ -1305,6 +1312,12 @@ export interface BookingResponse {
1305
1312
  * @memberof BookingResponse
1306
1313
  */
1307
1314
  'whatsOn': string;
1315
+ /**
1316
+ *
1317
+ * @type {object}
1318
+ * @memberof BookingResponse
1319
+ */
1320
+ 'walking': object;
1308
1321
  /**
1309
1322
  * Staff members involved in the booking
1310
1323
  * @type {BusinessStaffEntity}
@@ -1316,7 +1329,8 @@ export interface BookingResponse {
1316
1329
  export const BookingResponseMethodEnum = {
1317
1330
  Call: 'CALL',
1318
1331
  InPerson: 'IN_PERSON',
1319
- App: 'APP'
1332
+ App: 'APP',
1333
+ WalkIn: 'WALK_IN'
1320
1334
  } as const;
1321
1335
 
1322
1336
  export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
@@ -4057,6 +4071,85 @@ export const CreateWaitlistBookingCollaboratorPayloadStatusEnum = {
4057
4071
 
4058
4072
  export type CreateWaitlistBookingCollaboratorPayloadStatusEnum = typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum[keyof typeof CreateWaitlistBookingCollaboratorPayloadStatusEnum];
4059
4073
 
4074
+ /**
4075
+ *
4076
+ * @export
4077
+ * @interface CreateWalkInBookingPayload
4078
+ */
4079
+ export interface CreateWalkInBookingPayload {
4080
+ /**
4081
+ * The title of the booking
4082
+ * @type {string}
4083
+ * @memberof CreateWalkInBookingPayload
4084
+ */
4085
+ 'title': string;
4086
+ /**
4087
+ * The start date of the booking
4088
+ * @type {string}
4089
+ * @memberof CreateWalkInBookingPayload
4090
+ */
4091
+ 'startDate': string;
4092
+ /**
4093
+ * The start date of the booking
4094
+ * @type {string}
4095
+ * @memberof CreateWalkInBookingPayload
4096
+ */
4097
+ 'endDate': string;
4098
+ /**
4099
+ * Notes attached with booking
4100
+ * @type {string}
4101
+ * @memberof CreateWalkInBookingPayload
4102
+ */
4103
+ 'note'?: string;
4104
+ /**
4105
+ * Occasion id
4106
+ * @type {string}
4107
+ * @memberof CreateWalkInBookingPayload
4108
+ */
4109
+ 'occasion'?: string;
4110
+ /**
4111
+ * Calendar attached with booking
4112
+ * @type {Array<string>}
4113
+ * @memberof CreateWalkInBookingPayload
4114
+ */
4115
+ 'calendar'?: Array<string>;
4116
+ /**
4117
+ * The list of collaborators associated with the booking
4118
+ * @type {Array<CreateBookingCollaboratorPayload>}
4119
+ * @memberof CreateWalkInBookingPayload
4120
+ */
4121
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
4122
+ /**
4123
+ * The list of customers associated with the booking
4124
+ * @type {Array<string>}
4125
+ * @memberof CreateWalkInBookingPayload
4126
+ */
4127
+ 'customers': Array<string>;
4128
+ /**
4129
+ * Booking method
4130
+ * @type {string}
4131
+ * @memberof CreateWalkInBookingPayload
4132
+ */
4133
+ 'method': string;
4134
+ /**
4135
+ *
4136
+ * @type {Array<string>}
4137
+ * @memberof CreateWalkInBookingPayload
4138
+ */
4139
+ 'tags'?: Array<string>;
4140
+ /**
4141
+ *
4142
+ * @type {number}
4143
+ * @memberof CreateWalkInBookingPayload
4144
+ */
4145
+ 'quantity': number;
4146
+ /**
4147
+ *
4148
+ * @type {object}
4149
+ * @memberof CreateWalkInBookingPayload
4150
+ */
4151
+ 'walking': object;
4152
+ }
4060
4153
  /**
4061
4154
  *
4062
4155
  * @export
@@ -6150,6 +6243,50 @@ export interface LocationCoordinatesResponse {
6150
6243
  */
6151
6244
  'data': LocationDTO;
6152
6245
  }
6246
+ /**
6247
+ *
6248
+ * @export
6249
+ * @interface LocationCoordinatesResponseDTO
6250
+ */
6251
+ export interface LocationCoordinatesResponseDTO {
6252
+ /**
6253
+ * statusCode
6254
+ * @type {number}
6255
+ * @memberof LocationCoordinatesResponseDTO
6256
+ */
6257
+ 'statusCode': number;
6258
+ /**
6259
+ * Location coordinate
6260
+ * @type {LocationCoordinatesToBusiness}
6261
+ * @memberof LocationCoordinatesResponseDTO
6262
+ */
6263
+ 'data': LocationCoordinatesToBusiness;
6264
+ }
6265
+ /**
6266
+ *
6267
+ * @export
6268
+ * @interface LocationCoordinatesToBusiness
6269
+ */
6270
+ export interface LocationCoordinatesToBusiness {
6271
+ /**
6272
+ *
6273
+ * @type {string}
6274
+ * @memberof LocationCoordinatesToBusiness
6275
+ */
6276
+ 'type': string;
6277
+ /**
6278
+ *
6279
+ * @type {object}
6280
+ * @memberof LocationCoordinatesToBusiness
6281
+ */
6282
+ 'place': object;
6283
+ /**
6284
+ * Location coordinate
6285
+ * @type {object}
6286
+ * @memberof LocationCoordinatesToBusiness
6287
+ */
6288
+ 'data': object;
6289
+ }
6153
6290
  /**
6154
6291
  *
6155
6292
  * @export
@@ -9657,7 +9794,8 @@ export interface WaitlistEntity {
9657
9794
  export const WaitlistEntityMethodEnum = {
9658
9795
  Call: 'CALL',
9659
9796
  InPerson: 'IN_PERSON',
9660
- App: 'APP'
9797
+ App: 'APP',
9798
+ WalkIn: 'WALK_IN'
9661
9799
  } as const;
9662
9800
 
9663
9801
  export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
@@ -12874,6 +13012,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
12874
13012
  options: localVarRequestOptions,
12875
13013
  };
12876
13014
  },
13015
+ /**
13016
+ *
13017
+ * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
13018
+ * @param {*} [options] Override http request option.
13019
+ * @throws {RequiredError}
13020
+ */
13021
+ bookingControllerCreateWalkInBooking: async (createWalkInBookingPayload: CreateWalkInBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13022
+ // verify required parameter 'createWalkInBookingPayload' is not null or undefined
13023
+ assertParamExists('bookingControllerCreateWalkInBooking', 'createWalkInBookingPayload', createWalkInBookingPayload)
13024
+ const localVarPath = `/v1/booking/walk-in`;
13025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13027
+ let baseOptions;
13028
+ if (configuration) {
13029
+ baseOptions = configuration.baseOptions;
13030
+ }
13031
+
13032
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
13033
+ const localVarHeaderParameter = {} as any;
13034
+ const localVarQueryParameter = {} as any;
13035
+
13036
+ // authentication bearer required
13037
+ // http bearer authentication required
13038
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13039
+
13040
+
13041
+
13042
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13043
+
13044
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13045
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13046
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13047
+ localVarRequestOptions.data = serializeDataIfNeeded(createWalkInBookingPayload, localVarRequestOptions, configuration)
13048
+
13049
+ return {
13050
+ url: toPathString(localVarUrlObj),
13051
+ options: localVarRequestOptions,
13052
+ };
13053
+ },
12877
13054
  /**
12878
13055
  *
12879
13056
  * @param {string} id
@@ -13391,6 +13568,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
13391
13568
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
13392
13569
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13393
13570
  },
13571
+ /**
13572
+ *
13573
+ * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
13574
+ * @param {*} [options] Override http request option.
13575
+ * @throws {RequiredError}
13576
+ */
13577
+ async bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
13578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options);
13579
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13580
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateWalkInBooking']?.[localVarOperationServerIndex]?.url;
13581
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13582
+ },
13394
13583
  /**
13395
13584
  *
13396
13585
  * @param {string} id
@@ -13589,6 +13778,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
13589
13778
  bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
13590
13779
  return localVarFp.bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
13591
13780
  },
13781
+ /**
13782
+ *
13783
+ * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
13784
+ * @param {*} [options] Override http request option.
13785
+ * @throws {RequiredError}
13786
+ */
13787
+ bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
13788
+ return localVarFp.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(axios, basePath));
13789
+ },
13592
13790
  /**
13593
13791
  *
13594
13792
  * @param {string} id
@@ -13766,6 +13964,17 @@ export class BookingApi extends BaseAPI {
13766
13964
  return BookingApiFp(this.configuration).bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
13767
13965
  }
13768
13966
 
13967
+ /**
13968
+ *
13969
+ * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
13970
+ * @param {*} [options] Override http request option.
13971
+ * @throws {RequiredError}
13972
+ * @memberof BookingApi
13973
+ */
13974
+ public bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig) {
13975
+ return BookingApiFp(this.configuration).bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(this.axios, this.basePath));
13976
+ }
13977
+
13769
13978
  /**
13770
13979
  *
13771
13980
  * @param {string} id
@@ -20683,14 +20892,17 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
20683
20892
  *
20684
20893
  * @param {string} place
20685
20894
  * @param {string} label
20895
+ * @param {string} searchText
20686
20896
  * @param {*} [options] Override http request option.
20687
20897
  * @throws {RequiredError}
20688
20898
  */
20689
- locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20899
+ locationControllerFetchCoordinates: async (place: string, label: string, searchText: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20690
20900
  // verify required parameter 'place' is not null or undefined
20691
20901
  assertParamExists('locationControllerFetchCoordinates', 'place', place)
20692
20902
  // verify required parameter 'label' is not null or undefined
20693
20903
  assertParamExists('locationControllerFetchCoordinates', 'label', label)
20904
+ // verify required parameter 'searchText' is not null or undefined
20905
+ assertParamExists('locationControllerFetchCoordinates', 'searchText', searchText)
20694
20906
  const localVarPath = `/v1/locations-coordinates`;
20695
20907
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20696
20908
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20711,6 +20923,10 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
20711
20923
  localVarQueryParameter['label'] = label;
20712
20924
  }
20713
20925
 
20926
+ if (searchText !== undefined) {
20927
+ localVarQueryParameter['searchText'] = searchText;
20928
+ }
20929
+
20714
20930
 
20715
20931
 
20716
20932
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20749,6 +20965,56 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
20749
20965
 
20750
20966
 
20751
20967
 
20968
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20969
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20970
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20971
+
20972
+ return {
20973
+ url: toPathString(localVarUrlObj),
20974
+ options: localVarRequestOptions,
20975
+ };
20976
+ },
20977
+ /**
20978
+ *
20979
+ * @param {string} place
20980
+ * @param {string} label
20981
+ * @param {string} searchText
20982
+ * @param {*} [options] Override http request option.
20983
+ * @throws {RequiredError}
20984
+ */
20985
+ locationControllerGetCoordinateToBusiness: async (place: string, label: string, searchText: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20986
+ // verify required parameter 'place' is not null or undefined
20987
+ assertParamExists('locationControllerGetCoordinateToBusiness', 'place', place)
20988
+ // verify required parameter 'label' is not null or undefined
20989
+ assertParamExists('locationControllerGetCoordinateToBusiness', 'label', label)
20990
+ // verify required parameter 'searchText' is not null or undefined
20991
+ assertParamExists('locationControllerGetCoordinateToBusiness', 'searchText', searchText)
20992
+ const localVarPath = `/v1/locations-coordinates-to-business`;
20993
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20994
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20995
+ let baseOptions;
20996
+ if (configuration) {
20997
+ baseOptions = configuration.baseOptions;
20998
+ }
20999
+
21000
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21001
+ const localVarHeaderParameter = {} as any;
21002
+ const localVarQueryParameter = {} as any;
21003
+
21004
+ if (place !== undefined) {
21005
+ localVarQueryParameter['place'] = place;
21006
+ }
21007
+
21008
+ if (label !== undefined) {
21009
+ localVarQueryParameter['label'] = label;
21010
+ }
21011
+
21012
+ if (searchText !== undefined) {
21013
+ localVarQueryParameter['searchText'] = searchText;
21014
+ }
21015
+
21016
+
21017
+
20752
21018
  setSearchParams(localVarUrlObj, localVarQueryParameter);
20753
21019
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20754
21020
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -20772,11 +21038,12 @@ export const LocationApiFp = function(configuration?: Configuration) {
20772
21038
  *
20773
21039
  * @param {string} place
20774
21040
  * @param {string} label
21041
+ * @param {string} searchText
20775
21042
  * @param {*} [options] Override http request option.
20776
21043
  * @throws {RequiredError}
20777
21044
  */
20778
- async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
20779
- const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
21045
+ async locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
21046
+ const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, searchText, options);
20780
21047
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20781
21048
  const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
20782
21049
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -20793,6 +21060,20 @@ export const LocationApiFp = function(configuration?: Configuration) {
20793
21060
  const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
20794
21061
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20795
21062
  },
21063
+ /**
21064
+ *
21065
+ * @param {string} place
21066
+ * @param {string} label
21067
+ * @param {string} searchText
21068
+ * @param {*} [options] Override http request option.
21069
+ * @throws {RequiredError}
21070
+ */
21071
+ async locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponseDTO>> {
21072
+ const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerGetCoordinateToBusiness(place, label, searchText, options);
21073
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21074
+ const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerGetCoordinateToBusiness']?.[localVarOperationServerIndex]?.url;
21075
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21076
+ },
20796
21077
  }
20797
21078
  };
20798
21079
 
@@ -20807,11 +21088,12 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
20807
21088
  *
20808
21089
  * @param {string} place
20809
21090
  * @param {string} label
21091
+ * @param {string} searchText
20810
21092
  * @param {*} [options] Override http request option.
20811
21093
  * @throws {RequiredError}
20812
21094
  */
20813
- locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
20814
- return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
21095
+ locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
21096
+ return localVarFp.locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(axios, basePath));
20815
21097
  },
20816
21098
  /**
20817
21099
  *
@@ -20822,6 +21104,17 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
20822
21104
  locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
20823
21105
  return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
20824
21106
  },
21107
+ /**
21108
+ *
21109
+ * @param {string} place
21110
+ * @param {string} label
21111
+ * @param {string} searchText
21112
+ * @param {*} [options] Override http request option.
21113
+ * @throws {RequiredError}
21114
+ */
21115
+ locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
21116
+ return localVarFp.locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(axios, basePath));
21117
+ },
20825
21118
  };
20826
21119
  };
20827
21120
 
@@ -20836,12 +21129,13 @@ export class LocationApi extends BaseAPI {
20836
21129
  *
20837
21130
  * @param {string} place
20838
21131
  * @param {string} label
21132
+ * @param {string} searchText
20839
21133
  * @param {*} [options] Override http request option.
20840
21134
  * @throws {RequiredError}
20841
21135
  * @memberof LocationApi
20842
21136
  */
20843
- public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
20844
- return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
21137
+ public locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig) {
21138
+ return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
20845
21139
  }
20846
21140
 
20847
21141
  /**
@@ -20854,6 +21148,19 @@ export class LocationApi extends BaseAPI {
20854
21148
  public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
20855
21149
  return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
20856
21150
  }
21151
+
21152
+ /**
21153
+ *
21154
+ * @param {string} place
21155
+ * @param {string} label
21156
+ * @param {string} searchText
21157
+ * @param {*} [options] Override http request option.
21158
+ * @throws {RequiredError}
21159
+ * @memberof LocationApi
21160
+ */
21161
+ public locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig) {
21162
+ return LocationApiFp(this.configuration).locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
21163
+ }
20857
21164
  }
20858
21165
 
20859
21166
 
@@ -10,6 +10,7 @@ All URIs are relative to *http://localhost:8080*
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 | |
@@ -306,6 +307,57 @@ const { status, data } = await apiInstance.bookingControllerCreateBooking(
306
307
  | **createBookingPayload** | **CreateBookingPayload**| | |
307
308
 
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
+
324
+ ### HTTP response details
325
+ | Status code | Description | Response headers |
326
+ |-------------|-------------|------------------|
327
+ |**0** | | - |
328
+
329
+ [[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)
330
+
331
+ # **bookingControllerCreateWalkInBooking**
332
+ > BookingResponseDTO bookingControllerCreateWalkInBooking(createWalkInBookingPayload)
333
+
334
+
335
+ ### Example
336
+
337
+ ```typescript
338
+ import {
339
+ BookingApi,
340
+ Configuration,
341
+ CreateWalkInBookingPayload
342
+ } from './api';
343
+
344
+ const configuration = new Configuration();
345
+ const apiInstance = new BookingApi(configuration);
346
+
347
+ let createWalkInBookingPayload: CreateWalkInBookingPayload; //
348
+
349
+ const { status, data } = await apiInstance.bookingControllerCreateWalkInBooking(
350
+ createWalkInBookingPayload
351
+ );
352
+ ```
353
+
354
+ ### Parameters
355
+
356
+ |Name | Type | Description | Notes|
357
+ |------------- | ------------- | ------------- | -------------|
358
+ | **createWalkInBookingPayload** | **CreateWalkInBookingPayload**| | |
359
+
360
+
309
361
  ### Return type
310
362
 
311
363
  **BookingResponseDTO**
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
31
31
  **paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
32
32
  **tags** | [**Array&lt;TagsResponse&gt;**](TagsResponse.md) | | [default to undefined]
33
33
  **whatsOn** | [**WhatsOnEntity**](WhatsOnEntity.md) | | [default to undefined]
34
+ **walking** | **object** | | [default to undefined]
34
35
  **cancellationFee** | **object** | Cancellation fee | [optional] [default to undefined]
35
36
 
36
37
  ## Example
@@ -65,6 +66,7 @@ const instance: BookingEntity = {
65
66
  paymentMethod,
66
67
  tags,
67
68
  whatsOn,
69
+ walking,
68
70
  cancellationFee,
69
71
  };
70
72
  ```
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
26
26
  **serviceId** | [**PrepaidServiceEntity**](PrepaidServiceEntity.md) | | [default to undefined]
27
27
  **paymentMethod** | [**BookingPaymentCreateResponse**](BookingPaymentCreateResponse.md) | | [default to undefined]
28
28
  **whatsOn** | **string** | | [default to undefined]
29
+ **walking** | **object** | | [default to undefined]
29
30
  **selectedStaff** | [**BusinessStaffEntity**](BusinessStaffEntity.md) | Staff members involved in the booking | [default to undefined]
30
31
 
31
32
  ## Example
@@ -55,6 +56,7 @@ const instance: BookingResponse = {
55
56
  serviceId,
56
57
  paymentMethod,
57
58
  whatsOn,
59
+ walking,
58
60
  selectedStaff,
59
61
  };
60
62
  ```
@@ -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-12T15:06:05Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-12T15:06:05Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-09-26T05:05:08Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-26T05:05:08Z]
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-26T05:05:08Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-09-26T05:05:08Z]
11
+ **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
+ **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
+ **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
14
+ **collaborators** | [**Array&lt;CreateBookingCollaboratorPayload&gt;**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
15
+ **customers** | **Array&lt;string&gt;** | The list of customers associated with the booking | [default to undefined]
16
+ **method** | **string** | Booking method | [default to 'WALK_IN']
17
+ **tags** | **Array&lt;string&gt;** | | [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)
@@ -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()
@@ -24,10 +25,12 @@ const apiInstance = new LocationApi(configuration);
24
25
 
25
26
  let place: string; // (default to undefined)
26
27
  let label: string; // (default to undefined)
28
+ let searchText: string; // (default to undefined)
27
29
 
28
30
  const { status, data } = await apiInstance.locationControllerFetchCoordinates(
29
31
  place,
30
- label
32
+ label,
33
+ searchText
31
34
  );
32
35
  ```
33
36
 
@@ -37,6 +40,7 @@ const { status, data } = await apiInstance.locationControllerFetchCoordinates(
37
40
  |------------- | ------------- | ------------- | -------------|
38
41
  | **place** | [**string**] | | defaults to undefined|
39
42
  | **label** | [**string**] | | defaults to undefined|
43
+ | **searchText** | [**string**] | | defaults to undefined|
40
44
 
41
45
 
42
46
  ### Return type
@@ -110,3 +114,59 @@ No authorization required
110
114
 
111
115
  [[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
116
 
117
+ # **locationControllerGetCoordinateToBusiness**
118
+ > LocationCoordinatesResponseDTO locationControllerGetCoordinateToBusiness()
119
+
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ LocationApi,
126
+ Configuration
127
+ } from './api';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new LocationApi(configuration);
131
+
132
+ let place: string; // (default to undefined)
133
+ let label: string; // (default to undefined)
134
+ let searchText: string; // (default to undefined)
135
+
136
+ const { status, data } = await apiInstance.locationControllerGetCoordinateToBusiness(
137
+ place,
138
+ label,
139
+ searchText
140
+ );
141
+ ```
142
+
143
+ ### Parameters
144
+
145
+ |Name | Type | Description | Notes|
146
+ |------------- | ------------- | ------------- | -------------|
147
+ | **place** | [**string**] | | defaults to undefined|
148
+ | **label** | [**string**] | | defaults to undefined|
149
+ | **searchText** | [**string**] | | defaults to undefined|
150
+
151
+
152
+ ### Return type
153
+
154
+ **LocationCoordinatesResponseDTO**
155
+
156
+ ### Authorization
157
+
158
+ No authorization required
159
+
160
+ ### HTTP request headers
161
+
162
+ - **Content-Type**: Not defined
163
+ - **Accept**: application/json
164
+
165
+
166
+ ### HTTP response details
167
+ | Status code | Description | Response headers |
168
+ |-------------|-------------|------------------|
169
+ |**200** | | - |
170
+
171
+ [[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)
172
+
@@ -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-12T15:06:05Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-09-26T05:05:08Z]
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-12T15:06:05Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-12T16:06:05Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-09-26T05:05:08Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-09-26T06:05:08Z]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},