@gooday_corp/gooday-api-client 3.3.9 → 4.4.1

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
@@ -1306,6 +1306,12 @@ export interface BookingResponse {
1306
1306
  * @memberof BookingResponse
1307
1307
  */
1308
1308
  'whatsOn': string;
1309
+ /**
1310
+ *
1311
+ * @type {object}
1312
+ * @memberof BookingResponse
1313
+ */
1314
+ 'walking': object;
1309
1315
  /**
1310
1316
  * Staff members involved in the booking
1311
1317
  * @type {BusinessStaffEntity}
@@ -20880,15 +20886,17 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
20880
20886
  *
20881
20887
  * @param {string} place
20882
20888
  * @param {string} label
20883
- * @param {string} [searchText]
20889
+ * @param {string} searchText
20884
20890
  * @param {*} [options] Override http request option.
20885
20891
  * @throws {RequiredError}
20886
20892
  */
20887
- locationControllerFetchCoordinates: async (place: string, label: string, searchText?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20893
+ locationControllerFetchCoordinates: async (place: string, label: string, searchText: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20888
20894
  // verify required parameter 'place' is not null or undefined
20889
20895
  assertParamExists('locationControllerFetchCoordinates', 'place', place)
20890
20896
  // verify required parameter 'label' is not null or undefined
20891
20897
  assertParamExists('locationControllerFetchCoordinates', 'label', label)
20898
+ // verify required parameter 'searchText' is not null or undefined
20899
+ assertParamExists('locationControllerFetchCoordinates', 'searchText', searchText)
20892
20900
  const localVarPath = `/v1/locations-coordinates`;
20893
20901
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20894
20902
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20964,15 +20972,17 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
20964
20972
  *
20965
20973
  * @param {string} place
20966
20974
  * @param {string} label
20967
- * @param {string} [searchText]
20975
+ * @param {string} searchText
20968
20976
  * @param {*} [options] Override http request option.
20969
20977
  * @throws {RequiredError}
20970
20978
  */
20971
- locationControllerGetCoordinateToBusiness: async (place: string, label: string, searchText?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20979
+ locationControllerGetCoordinateToBusiness: async (place: string, label: string, searchText: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20972
20980
  // verify required parameter 'place' is not null or undefined
20973
20981
  assertParamExists('locationControllerGetCoordinateToBusiness', 'place', place)
20974
20982
  // verify required parameter 'label' is not null or undefined
20975
20983
  assertParamExists('locationControllerGetCoordinateToBusiness', 'label', label)
20984
+ // verify required parameter 'searchText' is not null or undefined
20985
+ assertParamExists('locationControllerGetCoordinateToBusiness', 'searchText', searchText)
20976
20986
  const localVarPath = `/v1/locations-coordinates-to-business`;
20977
20987
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20978
20988
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -21022,11 +21032,11 @@ export const LocationApiFp = function(configuration?: Configuration) {
21022
21032
  *
21023
21033
  * @param {string} place
21024
21034
  * @param {string} label
21025
- * @param {string} [searchText]
21035
+ * @param {string} searchText
21026
21036
  * @param {*} [options] Override http request option.
21027
21037
  * @throws {RequiredError}
21028
21038
  */
21029
- async locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
21039
+ async locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
21030
21040
  const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, searchText, options);
21031
21041
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21032
21042
  const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
@@ -21048,11 +21058,11 @@ export const LocationApiFp = function(configuration?: Configuration) {
21048
21058
  *
21049
21059
  * @param {string} place
21050
21060
  * @param {string} label
21051
- * @param {string} [searchText]
21061
+ * @param {string} searchText
21052
21062
  * @param {*} [options] Override http request option.
21053
21063
  * @throws {RequiredError}
21054
21064
  */
21055
- async locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponseDTO>> {
21065
+ async locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponseDTO>> {
21056
21066
  const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerGetCoordinateToBusiness(place, label, searchText, options);
21057
21067
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21058
21068
  const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerGetCoordinateToBusiness']?.[localVarOperationServerIndex]?.url;
@@ -21072,11 +21082,11 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
21072
21082
  *
21073
21083
  * @param {string} place
21074
21084
  * @param {string} label
21075
- * @param {string} [searchText]
21085
+ * @param {string} searchText
21076
21086
  * @param {*} [options] Override http request option.
21077
21087
  * @throws {RequiredError}
21078
21088
  */
21079
- locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
21089
+ locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
21080
21090
  return localVarFp.locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(axios, basePath));
21081
21091
  },
21082
21092
  /**
@@ -21092,11 +21102,11 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
21092
21102
  *
21093
21103
  * @param {string} place
21094
21104
  * @param {string} label
21095
- * @param {string} [searchText]
21105
+ * @param {string} searchText
21096
21106
  * @param {*} [options] Override http request option.
21097
21107
  * @throws {RequiredError}
21098
21108
  */
21099
- locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
21109
+ locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponseDTO> {
21100
21110
  return localVarFp.locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(axios, basePath));
21101
21111
  },
21102
21112
  };
@@ -21113,12 +21123,12 @@ export class LocationApi extends BaseAPI {
21113
21123
  *
21114
21124
  * @param {string} place
21115
21125
  * @param {string} label
21116
- * @param {string} [searchText]
21126
+ * @param {string} searchText
21117
21127
  * @param {*} [options] Override http request option.
21118
21128
  * @throws {RequiredError}
21119
21129
  * @memberof LocationApi
21120
21130
  */
21121
- public locationControllerFetchCoordinates(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig) {
21131
+ public locationControllerFetchCoordinates(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig) {
21122
21132
  return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
21123
21133
  }
21124
21134
 
@@ -21137,12 +21147,12 @@ export class LocationApi extends BaseAPI {
21137
21147
  *
21138
21148
  * @param {string} place
21139
21149
  * @param {string} label
21140
- * @param {string} [searchText]
21150
+ * @param {string} searchText
21141
21151
  * @param {*} [options] Override http request option.
21142
21152
  * @throws {RequiredError}
21143
21153
  * @memberof LocationApi
21144
21154
  */
21145
- public locationControllerGetCoordinateToBusiness(place: string, label: string, searchText?: string, options?: RawAxiosRequestConfig) {
21155
+ public locationControllerGetCoordinateToBusiness(place: string, label: string, searchText: string, options?: RawAxiosRequestConfig) {
21146
21156
  return LocationApiFp(this.configuration).locationControllerGetCoordinateToBusiness(place, label, searchText, options).then((request) => request(this.axios, this.basePath));
21147
21157
  }
21148
21158
  }
@@ -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-22T14:31:19+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-22T14:31:19+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-09-25T10:48:46+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-25T10:48:46+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-22T14:31:19+05:30]
10
- **endDate** | **string** | The start date of the booking | [default to 2025-09-22T14:31:19+05:30]
9
+ **startDate** | **string** | The start date of the booking | [default to 2025-09-25T10:48:46+05:30]
10
+ **endDate** | **string** | The start date of the booking | [default to 2025-09-25T10:48:46+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&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -25,7 +25,7 @@ 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
+ let searchText: string; // (default to undefined)
29
29
 
30
30
  const { status, data } = await apiInstance.locationControllerFetchCoordinates(
31
31
  place,
@@ -40,7 +40,7 @@ const { status, data } = await apiInstance.locationControllerFetchCoordinates(
40
40
  |------------- | ------------- | ------------- | -------------|
41
41
  | **place** | [**string**] | | defaults to undefined|
42
42
  | **label** | [**string**] | | defaults to undefined|
43
- | **searchText** | [**string**] | | (optional) defaults to undefined|
43
+ | **searchText** | [**string**] | | defaults to undefined|
44
44
 
45
45
 
46
46
  ### Return type
@@ -131,7 +131,7 @@ const apiInstance = new LocationApi(configuration);
131
131
 
132
132
  let place: string; // (default to undefined)
133
133
  let label: string; // (default to undefined)
134
- let searchText: string; // (optional) (default to undefined)
134
+ let searchText: string; // (default to undefined)
135
135
 
136
136
  const { status, data } = await apiInstance.locationControllerGetCoordinateToBusiness(
137
137
  place,
@@ -146,7 +146,7 @@ const { status, data } = await apiInstance.locationControllerGetCoordinateToBusi
146
146
  |------------- | ------------- | ------------- | -------------|
147
147
  | **place** | [**string**] | | defaults to undefined|
148
148
  | **label** | [**string**] | | defaults to undefined|
149
- | **searchText** | [**string**] | | (optional) defaults to undefined|
149
+ | **searchText** | [**string**] | | defaults to undefined|
150
150
 
151
151
 
152
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-22T14:31:19+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-09-25T10:48:46+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-22T14:31:19+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-22T15:31:19+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-09-25T10:48:46+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-09-25T11:48:46+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&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": "3.3.9",
3
+ "version": "4.4.1",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},