@gooday_corp/gooday-api-client 1.3.62 → 1.3.63

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.
@@ -232,6 +232,7 @@ docs/ResetPasswordPayloadDTO.md
232
232
  docs/ResetPasswordResponseDTO.md
233
233
  docs/SearchHistoryApi.md
234
234
  docs/SearchHistoryDTO.md
235
+ docs/SearchHistoryDeleteDTO.md
235
236
  docs/SearchHistoryEntity.md
236
237
  docs/SearchHistoryFilter.md
237
238
  docs/SearchHistoryPayload.md
package/api.ts CHANGED
@@ -6726,6 +6726,25 @@ export interface SearchHistoryDTO {
6726
6726
  */
6727
6727
  'data': SearchHistoryEntity;
6728
6728
  }
6729
+ /**
6730
+ *
6731
+ * @export
6732
+ * @interface SearchHistoryDeleteDTO
6733
+ */
6734
+ export interface SearchHistoryDeleteDTO {
6735
+ /**
6736
+ * statusCode
6737
+ * @type {number}
6738
+ * @memberof SearchHistoryDeleteDTO
6739
+ */
6740
+ 'statusCode': number;
6741
+ /**
6742
+ *
6743
+ * @type {boolean}
6744
+ * @memberof SearchHistoryDeleteDTO
6745
+ */
6746
+ 'success': boolean;
6747
+ }
6729
6748
  /**
6730
6749
  *
6731
6750
  * @export
@@ -20014,6 +20033,43 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
20014
20033
  options: localVarRequestOptions,
20015
20034
  };
20016
20035
  },
20036
+ /**
20037
+ *
20038
+ * @param {string} id
20039
+ * @param {*} [options] Override http request option.
20040
+ * @throws {RequiredError}
20041
+ */
20042
+ searchControllerDeleteSearchHistory: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20043
+ // verify required parameter 'id' is not null or undefined
20044
+ assertParamExists('searchControllerDeleteSearchHistory', 'id', id)
20045
+ const localVarPath = `/v1/search/{id}`
20046
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
20047
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20048
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20049
+ let baseOptions;
20050
+ if (configuration) {
20051
+ baseOptions = configuration.baseOptions;
20052
+ }
20053
+
20054
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
20055
+ const localVarHeaderParameter = {} as any;
20056
+ const localVarQueryParameter = {} as any;
20057
+
20058
+ // authentication bearer required
20059
+ // http bearer authentication required
20060
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20061
+
20062
+
20063
+
20064
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20065
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20066
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20067
+
20068
+ return {
20069
+ url: toPathString(localVarUrlObj),
20070
+ options: localVarRequestOptions,
20071
+ };
20072
+ },
20017
20073
  /**
20018
20074
  *
20019
20075
  * @param {SearchHistoryFilter} searchHistoryFilter
@@ -20048,6 +20104,39 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
20048
20104
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20049
20105
  localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryFilter, localVarRequestOptions, configuration)
20050
20106
 
20107
+ return {
20108
+ url: toPathString(localVarUrlObj),
20109
+ options: localVarRequestOptions,
20110
+ };
20111
+ },
20112
+ /**
20113
+ *
20114
+ * @param {*} [options] Override http request option.
20115
+ * @throws {RequiredError}
20116
+ */
20117
+ searchControllerRecentSearchHistory: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20118
+ const localVarPath = `/v1/search/recent`;
20119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20121
+ let baseOptions;
20122
+ if (configuration) {
20123
+ baseOptions = configuration.baseOptions;
20124
+ }
20125
+
20126
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
20127
+ const localVarHeaderParameter = {} as any;
20128
+ const localVarQueryParameter = {} as any;
20129
+
20130
+ // authentication bearer required
20131
+ // http bearer authentication required
20132
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20133
+
20134
+
20135
+
20136
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20137
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20138
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20139
+
20051
20140
  return {
20052
20141
  url: toPathString(localVarUrlObj),
20053
20142
  options: localVarRequestOptions,
@@ -20075,6 +20164,18 @@ export const SearchHistoryApiFp = function(configuration?: Configuration) {
20075
20164
  const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerAddSearchHistory']?.[localVarOperationServerIndex]?.url;
20076
20165
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20077
20166
  },
20167
+ /**
20168
+ *
20169
+ * @param {string} id
20170
+ * @param {*} [options] Override http request option.
20171
+ * @throws {RequiredError}
20172
+ */
20173
+ async searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryDeleteDTO>> {
20174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerDeleteSearchHistory(id, options);
20175
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20176
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerDeleteSearchHistory']?.[localVarOperationServerIndex]?.url;
20177
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20178
+ },
20078
20179
  /**
20079
20180
  *
20080
20181
  * @param {SearchHistoryFilter} searchHistoryFilter
@@ -20087,6 +20188,17 @@ export const SearchHistoryApiFp = function(configuration?: Configuration) {
20087
20188
  const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerFindSearchHistory']?.[localVarOperationServerIndex]?.url;
20088
20189
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20089
20190
  },
20191
+ /**
20192
+ *
20193
+ * @param {*} [options] Override http request option.
20194
+ * @throws {RequiredError}
20195
+ */
20196
+ async searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryResponseDTO>> {
20197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRecentSearchHistory(options);
20198
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20199
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerRecentSearchHistory']?.[localVarOperationServerIndex]?.url;
20200
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20201
+ },
20090
20202
  }
20091
20203
  };
20092
20204
 
@@ -20106,6 +20218,15 @@ export const SearchHistoryApiFactory = function (configuration?: Configuration,
20106
20218
  searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDTO> {
20107
20219
  return localVarFp.searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(axios, basePath));
20108
20220
  },
20221
+ /**
20222
+ *
20223
+ * @param {string} id
20224
+ * @param {*} [options] Override http request option.
20225
+ * @throws {RequiredError}
20226
+ */
20227
+ searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDeleteDTO> {
20228
+ return localVarFp.searchControllerDeleteSearchHistory(id, options).then((request) => request(axios, basePath));
20229
+ },
20109
20230
  /**
20110
20231
  *
20111
20232
  * @param {SearchHistoryFilter} searchHistoryFilter
@@ -20115,6 +20236,14 @@ export const SearchHistoryApiFactory = function (configuration?: Configuration,
20115
20236
  searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20116
20237
  return localVarFp.searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(axios, basePath));
20117
20238
  },
20239
+ /**
20240
+ *
20241
+ * @param {*} [options] Override http request option.
20242
+ * @throws {RequiredError}
20243
+ */
20244
+ searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20245
+ return localVarFp.searchControllerRecentSearchHistory(options).then((request) => request(axios, basePath));
20246
+ },
20118
20247
  };
20119
20248
  };
20120
20249
 
@@ -20136,6 +20265,17 @@ export class SearchHistoryApi extends BaseAPI {
20136
20265
  return SearchHistoryApiFp(this.configuration).searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(this.axios, this.basePath));
20137
20266
  }
20138
20267
 
20268
+ /**
20269
+ *
20270
+ * @param {string} id
20271
+ * @param {*} [options] Override http request option.
20272
+ * @throws {RequiredError}
20273
+ * @memberof SearchHistoryApi
20274
+ */
20275
+ public searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig) {
20276
+ return SearchHistoryApiFp(this.configuration).searchControllerDeleteSearchHistory(id, options).then((request) => request(this.axios, this.basePath));
20277
+ }
20278
+
20139
20279
  /**
20140
20280
  *
20141
20281
  * @param {SearchHistoryFilter} searchHistoryFilter
@@ -20146,6 +20286,16 @@ export class SearchHistoryApi extends BaseAPI {
20146
20286
  public searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig) {
20147
20287
  return SearchHistoryApiFp(this.configuration).searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(this.axios, this.basePath));
20148
20288
  }
20289
+
20290
+ /**
20291
+ *
20292
+ * @param {*} [options] Override http request option.
20293
+ * @throws {RequiredError}
20294
+ * @memberof SearchHistoryApi
20295
+ */
20296
+ public searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig) {
20297
+ return SearchHistoryApiFp(this.configuration).searchControllerRecentSearchHistory(options).then((request) => request(this.axios, this.basePath));
20298
+ }
20149
20299
  }
20150
20300
 
20151
20301
 
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **date** | **string** | The start date of the booking | [default to 2025-05-16T09:55:06+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-05-16T11:01:30+05:30]
10
10
  **from** | **string** | | [optional] [default to undefined]
11
11
  **to** | **string** | | [optional] [default to undefined]
12
12
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | The start date of the booking | [default to 2025-05-16T09:55:06+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-05-16T11:01:30+05:30]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -5,7 +5,9 @@ All URIs are relative to *http://localhost:8080*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**searchControllerAddSearchHistory**](#searchcontrolleraddsearchhistory) | **POST** /v1/search | |
8
+ |[**searchControllerDeleteSearchHistory**](#searchcontrollerdeletesearchhistory) | **DELETE** /v1/search/{id} | |
8
9
  |[**searchControllerFindSearchHistory**](#searchcontrollerfindsearchhistory) | **POST** /v1/search/list | |
10
+ |[**searchControllerRecentSearchHistory**](#searchcontrollerrecentsearchhistory) | **GET** /v1/search/recent | |
9
11
 
10
12
  # **searchControllerAddSearchHistory**
11
13
  > SearchHistoryDTO searchControllerAddSearchHistory(searchHistoryPayload)
@@ -51,6 +53,56 @@ const { status, data } = await apiInstance.searchControllerAddSearchHistory(
51
53
  - **Accept**: application/json
52
54
 
53
55
 
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | | - |
60
+
61
+ [[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)
62
+
63
+ # **searchControllerDeleteSearchHistory**
64
+ > SearchHistoryDeleteDTO searchControllerDeleteSearchHistory()
65
+
66
+
67
+ ### Example
68
+
69
+ ```typescript
70
+ import {
71
+ SearchHistoryApi,
72
+ Configuration
73
+ } from './api';
74
+
75
+ const configuration = new Configuration();
76
+ const apiInstance = new SearchHistoryApi(configuration);
77
+
78
+ let id: string; // (default to undefined)
79
+
80
+ const { status, data } = await apiInstance.searchControllerDeleteSearchHistory(
81
+ id
82
+ );
83
+ ```
84
+
85
+ ### Parameters
86
+
87
+ |Name | Type | Description | Notes|
88
+ |------------- | ------------- | ------------- | -------------|
89
+ | **id** | [**string**] | | defaults to undefined|
90
+
91
+
92
+ ### Return type
93
+
94
+ **SearchHistoryDeleteDTO**
95
+
96
+ ### Authorization
97
+
98
+ [bearer](../README.md#bearer)
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: Not defined
103
+ - **Accept**: application/json
104
+
105
+
54
106
  ### HTTP response details
55
107
  | Status code | Description | Response headers |
56
108
  |-------------|-------------|------------------|
@@ -109,3 +161,46 @@ const { status, data } = await apiInstance.searchControllerFindSearchHistory(
109
161
 
110
162
  [[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)
111
163
 
164
+ # **searchControllerRecentSearchHistory**
165
+ > SearchHistoryResponseDTO searchControllerRecentSearchHistory()
166
+
167
+
168
+ ### Example
169
+
170
+ ```typescript
171
+ import {
172
+ SearchHistoryApi,
173
+ Configuration
174
+ } from './api';
175
+
176
+ const configuration = new Configuration();
177
+ const apiInstance = new SearchHistoryApi(configuration);
178
+
179
+ const { status, data } = await apiInstance.searchControllerRecentSearchHistory();
180
+ ```
181
+
182
+ ### Parameters
183
+ This endpoint does not have any parameters.
184
+
185
+
186
+ ### Return type
187
+
188
+ **SearchHistoryResponseDTO**
189
+
190
+ ### Authorization
191
+
192
+ [bearer](../README.md#bearer)
193
+
194
+ ### HTTP request headers
195
+
196
+ - **Content-Type**: Not defined
197
+ - **Accept**: application/json
198
+
199
+
200
+ ### HTTP response details
201
+ | Status code | Description | Response headers |
202
+ |-------------|-------------|------------------|
203
+ |**200** | | - |
204
+
205
+ [[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)
206
+
@@ -0,0 +1,22 @@
1
+ # SearchHistoryDeleteDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **success** | **boolean** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SearchHistoryDeleteDTO } from './api';
15
+
16
+ const instance: SearchHistoryDeleteDTO = {
17
+ statusCode,
18
+ success,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **startDate** | **string** | The start date of the waitlist | [default to 2025-05-16T09:55:06+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-16T10:55:06+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-05-16T11:01:30+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-05-16T12:01:30+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": "1.3.62",
3
+ "version": "1.3.63",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},