@gooday_corp/gooday-api-client 1.3.61 → 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.
@@ -230,6 +230,13 @@ docs/RenameCalendarPayload.md
230
230
  docs/RescheduleBookingPayload.md
231
231
  docs/ResetPasswordPayloadDTO.md
232
232
  docs/ResetPasswordResponseDTO.md
233
+ docs/SearchHistoryApi.md
234
+ docs/SearchHistoryDTO.md
235
+ docs/SearchHistoryDeleteDTO.md
236
+ docs/SearchHistoryEntity.md
237
+ docs/SearchHistoryFilter.md
238
+ docs/SearchHistoryPayload.md
239
+ docs/SearchHistoryResponseDTO.md
233
240
  docs/SendCollaborateInvitePayload.md
234
241
  docs/SendFriendshipRequestPayload.md
235
242
  docs/SignInDto.md
package/api.ts CHANGED
@@ -6707,6 +6707,156 @@ export interface ResetPasswordResponseDTO {
6707
6707
  */
6708
6708
  'message': string;
6709
6709
  }
6710
+ /**
6711
+ *
6712
+ * @export
6713
+ * @interface SearchHistoryDTO
6714
+ */
6715
+ export interface SearchHistoryDTO {
6716
+ /**
6717
+ * statusCode
6718
+ * @type {number}
6719
+ * @memberof SearchHistoryDTO
6720
+ */
6721
+ 'statusCode': number;
6722
+ /**
6723
+ *
6724
+ * @type {SearchHistoryEntity}
6725
+ * @memberof SearchHistoryDTO
6726
+ */
6727
+ 'data': SearchHistoryEntity;
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
+ }
6748
+ /**
6749
+ *
6750
+ * @export
6751
+ * @interface SearchHistoryEntity
6752
+ */
6753
+ export interface SearchHistoryEntity {
6754
+ /**
6755
+ * Unique identifier for the booking
6756
+ * @type {string}
6757
+ * @memberof SearchHistoryEntity
6758
+ */
6759
+ '_id': string;
6760
+ /**
6761
+ *
6762
+ * @type {object}
6763
+ * @memberof SearchHistoryEntity
6764
+ */
6765
+ 'search': object;
6766
+ /**
6767
+ *
6768
+ * @type {string}
6769
+ * @memberof SearchHistoryEntity
6770
+ */
6771
+ 'type': SearchHistoryEntityTypeEnum;
6772
+ /**
6773
+ *
6774
+ * @type {UserEntity}
6775
+ * @memberof SearchHistoryEntity
6776
+ */
6777
+ 'createdBy': UserEntity;
6778
+ }
6779
+
6780
+ export const SearchHistoryEntityTypeEnum = {
6781
+ Person: 'PERSON',
6782
+ Place: 'PLACE'
6783
+ } as const;
6784
+
6785
+ export type SearchHistoryEntityTypeEnum = typeof SearchHistoryEntityTypeEnum[keyof typeof SearchHistoryEntityTypeEnum];
6786
+
6787
+ /**
6788
+ *
6789
+ * @export
6790
+ * @interface SearchHistoryFilter
6791
+ */
6792
+ export interface SearchHistoryFilter {
6793
+ /**
6794
+ *
6795
+ * @type {string}
6796
+ * @memberof SearchHistoryFilter
6797
+ */
6798
+ 'type'?: SearchHistoryFilterTypeEnum;
6799
+ /**
6800
+ *
6801
+ * @type {string}
6802
+ * @memberof SearchHistoryFilter
6803
+ */
6804
+ 'createdBy'?: string;
6805
+ }
6806
+
6807
+ export const SearchHistoryFilterTypeEnum = {
6808
+ Person: 'PERSON',
6809
+ Place: 'PLACE'
6810
+ } as const;
6811
+
6812
+ export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[keyof typeof SearchHistoryFilterTypeEnum];
6813
+
6814
+ /**
6815
+ *
6816
+ * @export
6817
+ * @interface SearchHistoryPayload
6818
+ */
6819
+ export interface SearchHistoryPayload {
6820
+ /**
6821
+ *
6822
+ * @type {object}
6823
+ * @memberof SearchHistoryPayload
6824
+ */
6825
+ 'search': object;
6826
+ /**
6827
+ *
6828
+ * @type {string}
6829
+ * @memberof SearchHistoryPayload
6830
+ */
6831
+ 'type': SearchHistoryPayloadTypeEnum;
6832
+ }
6833
+
6834
+ export const SearchHistoryPayloadTypeEnum = {
6835
+ Person: 'PERSON',
6836
+ Place: 'PLACE'
6837
+ } as const;
6838
+
6839
+ export type SearchHistoryPayloadTypeEnum = typeof SearchHistoryPayloadTypeEnum[keyof typeof SearchHistoryPayloadTypeEnum];
6840
+
6841
+ /**
6842
+ *
6843
+ * @export
6844
+ * @interface SearchHistoryResponseDTO
6845
+ */
6846
+ export interface SearchHistoryResponseDTO {
6847
+ /**
6848
+ * statusCode
6849
+ * @type {number}
6850
+ * @memberof SearchHistoryResponseDTO
6851
+ */
6852
+ 'statusCode': number;
6853
+ /**
6854
+ *
6855
+ * @type {Array<SearchHistoryEntity>}
6856
+ * @memberof SearchHistoryResponseDTO
6857
+ */
6858
+ 'data': Array<SearchHistoryEntity>;
6859
+ }
6710
6860
  /**
6711
6861
  *
6712
6862
  * @export
@@ -19838,6 +19988,318 @@ export class PrepaidServiceApi extends BaseAPI {
19838
19988
 
19839
19989
 
19840
19990
 
19991
+ /**
19992
+ * SearchHistoryApi - axios parameter creator
19993
+ * @export
19994
+ */
19995
+ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
19996
+ return {
19997
+ /**
19998
+ *
19999
+ * @param {SearchHistoryPayload} searchHistoryPayload
20000
+ * @param {*} [options] Override http request option.
20001
+ * @throws {RequiredError}
20002
+ */
20003
+ searchControllerAddSearchHistory: async (searchHistoryPayload: SearchHistoryPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20004
+ // verify required parameter 'searchHistoryPayload' is not null or undefined
20005
+ assertParamExists('searchControllerAddSearchHistory', 'searchHistoryPayload', searchHistoryPayload)
20006
+ const localVarPath = `/v1/search`;
20007
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20008
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20009
+ let baseOptions;
20010
+ if (configuration) {
20011
+ baseOptions = configuration.baseOptions;
20012
+ }
20013
+
20014
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20015
+ const localVarHeaderParameter = {} as any;
20016
+ const localVarQueryParameter = {} as any;
20017
+
20018
+ // authentication bearer required
20019
+ // http bearer authentication required
20020
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20021
+
20022
+
20023
+
20024
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20025
+
20026
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20028
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20029
+ localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryPayload, localVarRequestOptions, configuration)
20030
+
20031
+ return {
20032
+ url: toPathString(localVarUrlObj),
20033
+ options: localVarRequestOptions,
20034
+ };
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
+ },
20073
+ /**
20074
+ *
20075
+ * @param {SearchHistoryFilter} searchHistoryFilter
20076
+ * @param {*} [options] Override http request option.
20077
+ * @throws {RequiredError}
20078
+ */
20079
+ searchControllerFindSearchHistory: async (searchHistoryFilter: SearchHistoryFilter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20080
+ // verify required parameter 'searchHistoryFilter' is not null or undefined
20081
+ assertParamExists('searchControllerFindSearchHistory', 'searchHistoryFilter', searchHistoryFilter)
20082
+ const localVarPath = `/v1/search/list`;
20083
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20084
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20085
+ let baseOptions;
20086
+ if (configuration) {
20087
+ baseOptions = configuration.baseOptions;
20088
+ }
20089
+
20090
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20091
+ const localVarHeaderParameter = {} as any;
20092
+ const localVarQueryParameter = {} as any;
20093
+
20094
+ // authentication bearer required
20095
+ // http bearer authentication required
20096
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20097
+
20098
+
20099
+
20100
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20101
+
20102
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20104
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20105
+ localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryFilter, localVarRequestOptions, configuration)
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
+
20140
+ return {
20141
+ url: toPathString(localVarUrlObj),
20142
+ options: localVarRequestOptions,
20143
+ };
20144
+ },
20145
+ }
20146
+ };
20147
+
20148
+ /**
20149
+ * SearchHistoryApi - functional programming interface
20150
+ * @export
20151
+ */
20152
+ export const SearchHistoryApiFp = function(configuration?: Configuration) {
20153
+ const localVarAxiosParamCreator = SearchHistoryApiAxiosParamCreator(configuration)
20154
+ return {
20155
+ /**
20156
+ *
20157
+ * @param {SearchHistoryPayload} searchHistoryPayload
20158
+ * @param {*} [options] Override http request option.
20159
+ * @throws {RequiredError}
20160
+ */
20161
+ async searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryDTO>> {
20162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerAddSearchHistory(searchHistoryPayload, options);
20163
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20164
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerAddSearchHistory']?.[localVarOperationServerIndex]?.url;
20165
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
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
+ },
20179
+ /**
20180
+ *
20181
+ * @param {SearchHistoryFilter} searchHistoryFilter
20182
+ * @param {*} [options] Override http request option.
20183
+ * @throws {RequiredError}
20184
+ */
20185
+ async searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryResponseDTO>> {
20186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerFindSearchHistory(searchHistoryFilter, options);
20187
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20188
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerFindSearchHistory']?.[localVarOperationServerIndex]?.url;
20189
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
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
+ },
20202
+ }
20203
+ };
20204
+
20205
+ /**
20206
+ * SearchHistoryApi - factory interface
20207
+ * @export
20208
+ */
20209
+ export const SearchHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20210
+ const localVarFp = SearchHistoryApiFp(configuration)
20211
+ return {
20212
+ /**
20213
+ *
20214
+ * @param {SearchHistoryPayload} searchHistoryPayload
20215
+ * @param {*} [options] Override http request option.
20216
+ * @throws {RequiredError}
20217
+ */
20218
+ searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDTO> {
20219
+ return localVarFp.searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(axios, basePath));
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
+ },
20230
+ /**
20231
+ *
20232
+ * @param {SearchHistoryFilter} searchHistoryFilter
20233
+ * @param {*} [options] Override http request option.
20234
+ * @throws {RequiredError}
20235
+ */
20236
+ searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20237
+ return localVarFp.searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(axios, basePath));
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
+ },
20247
+ };
20248
+ };
20249
+
20250
+ /**
20251
+ * SearchHistoryApi - object-oriented interface
20252
+ * @export
20253
+ * @class SearchHistoryApi
20254
+ * @extends {BaseAPI}
20255
+ */
20256
+ export class SearchHistoryApi extends BaseAPI {
20257
+ /**
20258
+ *
20259
+ * @param {SearchHistoryPayload} searchHistoryPayload
20260
+ * @param {*} [options] Override http request option.
20261
+ * @throws {RequiredError}
20262
+ * @memberof SearchHistoryApi
20263
+ */
20264
+ public searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig) {
20265
+ return SearchHistoryApiFp(this.configuration).searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(this.axios, this.basePath));
20266
+ }
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
+
20279
+ /**
20280
+ *
20281
+ * @param {SearchHistoryFilter} searchHistoryFilter
20282
+ * @param {*} [options] Override http request option.
20283
+ * @throws {RequiredError}
20284
+ * @memberof SearchHistoryApi
20285
+ */
20286
+ public searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig) {
20287
+ return SearchHistoryApiFp(this.configuration).searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(this.axios, this.basePath));
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
+ }
20299
+ }
20300
+
20301
+
20302
+
19841
20303
  /**
19842
20304
  * TagsApi - axios parameter creator
19843
20305
  * @export
@@ -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-14T15:01:35+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-14T15:01:35+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
 
@@ -0,0 +1,206 @@
1
+ # SearchHistoryApi
2
+
3
+ All URIs are relative to *http://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**searchControllerAddSearchHistory**](#searchcontrolleraddsearchhistory) | **POST** /v1/search | |
8
+ |[**searchControllerDeleteSearchHistory**](#searchcontrollerdeletesearchhistory) | **DELETE** /v1/search/{id} | |
9
+ |[**searchControllerFindSearchHistory**](#searchcontrollerfindsearchhistory) | **POST** /v1/search/list | |
10
+ |[**searchControllerRecentSearchHistory**](#searchcontrollerrecentsearchhistory) | **GET** /v1/search/recent | |
11
+
12
+ # **searchControllerAddSearchHistory**
13
+ > SearchHistoryDTO searchControllerAddSearchHistory(searchHistoryPayload)
14
+
15
+
16
+ ### Example
17
+
18
+ ```typescript
19
+ import {
20
+ SearchHistoryApi,
21
+ Configuration,
22
+ SearchHistoryPayload
23
+ } from './api';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new SearchHistoryApi(configuration);
27
+
28
+ let searchHistoryPayload: SearchHistoryPayload; //
29
+
30
+ const { status, data } = await apiInstance.searchControllerAddSearchHistory(
31
+ searchHistoryPayload
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **searchHistoryPayload** | **SearchHistoryPayload**| | |
40
+
41
+
42
+ ### Return type
43
+
44
+ **SearchHistoryDTO**
45
+
46
+ ### Authorization
47
+
48
+ [bearer](../README.md#bearer)
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
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
+
106
+ ### HTTP response details
107
+ | Status code | Description | Response headers |
108
+ |-------------|-------------|------------------|
109
+ |**200** | | - |
110
+
111
+ [[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
+ # **searchControllerFindSearchHistory**
114
+ > SearchHistoryResponseDTO searchControllerFindSearchHistory(searchHistoryFilter)
115
+
116
+
117
+ ### Example
118
+
119
+ ```typescript
120
+ import {
121
+ SearchHistoryApi,
122
+ Configuration,
123
+ SearchHistoryFilter
124
+ } from './api';
125
+
126
+ const configuration = new Configuration();
127
+ const apiInstance = new SearchHistoryApi(configuration);
128
+
129
+ let searchHistoryFilter: SearchHistoryFilter; //
130
+
131
+ const { status, data } = await apiInstance.searchControllerFindSearchHistory(
132
+ searchHistoryFilter
133
+ );
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ |Name | Type | Description | Notes|
139
+ |------------- | ------------- | ------------- | -------------|
140
+ | **searchHistoryFilter** | **SearchHistoryFilter**| | |
141
+
142
+
143
+ ### Return type
144
+
145
+ **SearchHistoryResponseDTO**
146
+
147
+ ### Authorization
148
+
149
+ [bearer](../README.md#bearer)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: application/json
154
+ - **Accept**: application/json
155
+
156
+
157
+ ### HTTP response details
158
+ | Status code | Description | Response headers |
159
+ |-------------|-------------|------------------|
160
+ |**200** | | - |
161
+
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)
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
+ # SearchHistoryDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**SearchHistoryEntity**](SearchHistoryEntity.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SearchHistoryDTO } from './api';
15
+
16
+ const instance: SearchHistoryDTO = {
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,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)
@@ -0,0 +1,26 @@
1
+ # SearchHistoryEntity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | Unique identifier for the booking | [default to undefined]
9
+ **search** | **object** | | [default to undefined]
10
+ **type** | **string** | | [default to undefined]
11
+ **createdBy** | [**UserEntity**](UserEntity.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { SearchHistoryEntity } from './api';
17
+
18
+ const instance: SearchHistoryEntity = {
19
+ _id,
20
+ search,
21
+ type,
22
+ createdBy,
23
+ };
24
+ ```
25
+
26
+ [[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,22 @@
1
+ # SearchHistoryFilter
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **createdBy** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SearchHistoryFilter } from './api';
15
+
16
+ const instance: SearchHistoryFilter = {
17
+ type,
18
+ createdBy,
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,22 @@
1
+ # SearchHistoryPayload
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **search** | **object** | | [default to undefined]
9
+ **type** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SearchHistoryPayload } from './api';
15
+
16
+ const instance: SearchHistoryPayload = {
17
+ search,
18
+ type,
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,22 @@
1
+ # SearchHistoryResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**Array&lt;SearchHistoryEntity&gt;**](SearchHistoryEntity.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SearchHistoryResponseDTO } from './api';
15
+
16
+ const instance: SearchHistoryResponseDTO = {
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)
@@ -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-14T15:01:35+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-14T16:01:35+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.61",
3
+ "version": "1.3.63",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},