@gooday_corp/gooday-api-client 1.3.60 → 1.3.62

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,8 @@ docs/EventsApi.md
127
127
  docs/FavoriteResponseDTO.md
128
128
  docs/FeedbackPayloadDTO.md
129
129
  docs/FileNameUploadDTO.md
130
+ docs/FilterEntity.md
131
+ docs/FilterEntityResponseDTO.md
130
132
  docs/FindBookingPayload.md
131
133
  docs/FindBookingResponseDTO.md
132
134
  docs/FindBusinessStaff.md
@@ -228,6 +230,12 @@ docs/RenameCalendarPayload.md
228
230
  docs/RescheduleBookingPayload.md
229
231
  docs/ResetPasswordPayloadDTO.md
230
232
  docs/ResetPasswordResponseDTO.md
233
+ docs/SearchHistoryApi.md
234
+ docs/SearchHistoryDTO.md
235
+ docs/SearchHistoryEntity.md
236
+ docs/SearchHistoryFilter.md
237
+ docs/SearchHistoryPayload.md
238
+ docs/SearchHistoryResponseDTO.md
231
239
  docs/SendCollaborateInvitePayload.md
232
240
  docs/SendFriendshipRequestPayload.md
233
241
  docs/SignInDto.md
package/api.ts CHANGED
@@ -3937,6 +3937,86 @@ export interface FileNameUploadDTO {
3937
3937
  */
3938
3938
  'bucketName': string;
3939
3939
  }
3940
+ /**
3941
+ *
3942
+ * @export
3943
+ * @interface FilterEntity
3944
+ */
3945
+ export interface FilterEntity {
3946
+ /**
3947
+ * Event id
3948
+ * @type {string}
3949
+ * @memberof FilterEntity
3950
+ */
3951
+ '_id': string;
3952
+ /**
3953
+ * Event name
3954
+ * @type {string}
3955
+ * @memberof FilterEntity
3956
+ */
3957
+ 'title': string;
3958
+ /**
3959
+ *
3960
+ * @type {Array<string>}
3961
+ * @memberof FilterEntity
3962
+ */
3963
+ 'photos': Array<string>;
3964
+ /**
3965
+ *
3966
+ * @type {Array<string>}
3967
+ * @memberof FilterEntity
3968
+ */
3969
+ 'coverPhoto': Array<string>;
3970
+ /**
3971
+ *
3972
+ * @type {string}
3973
+ * @memberof FilterEntity
3974
+ */
3975
+ 'type': string;
3976
+ /**
3977
+ *
3978
+ * @type {string}
3979
+ * @memberof FilterEntity
3980
+ */
3981
+ 'startDate': string;
3982
+ /**
3983
+ *
3984
+ * @type {string}
3985
+ * @memberof FilterEntity
3986
+ */
3987
+ 'endDate': string;
3988
+ /**
3989
+ *
3990
+ * @type {Array<TagsResponse>}
3991
+ * @memberof FilterEntity
3992
+ */
3993
+ 'tags': Array<TagsResponse>;
3994
+ /**
3995
+ *
3996
+ * @type {Array<string>}
3997
+ * @memberof FilterEntity
3998
+ */
3999
+ 'keyword': Array<string>;
4000
+ }
4001
+ /**
4002
+ *
4003
+ * @export
4004
+ * @interface FilterEntityResponseDTO
4005
+ */
4006
+ export interface FilterEntityResponseDTO {
4007
+ /**
4008
+ *
4009
+ * @type {Array<FilterEntity>}
4010
+ * @memberof FilterEntityResponseDTO
4011
+ */
4012
+ 'data': Array<FilterEntity>;
4013
+ /**
4014
+ * statusCode
4015
+ * @type {number}
4016
+ * @memberof FilterEntityResponseDTO
4017
+ */
4018
+ 'statusCode': number;
4019
+ }
3940
4020
  /**
3941
4021
  *
3942
4022
  * @export
@@ -6627,6 +6707,137 @@ export interface ResetPasswordResponseDTO {
6627
6707
  */
6628
6708
  'message': string;
6629
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 SearchHistoryEntity
6733
+ */
6734
+ export interface SearchHistoryEntity {
6735
+ /**
6736
+ * Unique identifier for the booking
6737
+ * @type {string}
6738
+ * @memberof SearchHistoryEntity
6739
+ */
6740
+ '_id': string;
6741
+ /**
6742
+ *
6743
+ * @type {object}
6744
+ * @memberof SearchHistoryEntity
6745
+ */
6746
+ 'search': object;
6747
+ /**
6748
+ *
6749
+ * @type {string}
6750
+ * @memberof SearchHistoryEntity
6751
+ */
6752
+ 'type': SearchHistoryEntityTypeEnum;
6753
+ /**
6754
+ *
6755
+ * @type {UserEntity}
6756
+ * @memberof SearchHistoryEntity
6757
+ */
6758
+ 'createdBy': UserEntity;
6759
+ }
6760
+
6761
+ export const SearchHistoryEntityTypeEnum = {
6762
+ Person: 'PERSON',
6763
+ Place: 'PLACE'
6764
+ } as const;
6765
+
6766
+ export type SearchHistoryEntityTypeEnum = typeof SearchHistoryEntityTypeEnum[keyof typeof SearchHistoryEntityTypeEnum];
6767
+
6768
+ /**
6769
+ *
6770
+ * @export
6771
+ * @interface SearchHistoryFilter
6772
+ */
6773
+ export interface SearchHistoryFilter {
6774
+ /**
6775
+ *
6776
+ * @type {string}
6777
+ * @memberof SearchHistoryFilter
6778
+ */
6779
+ 'type'?: SearchHistoryFilterTypeEnum;
6780
+ /**
6781
+ *
6782
+ * @type {string}
6783
+ * @memberof SearchHistoryFilter
6784
+ */
6785
+ 'createdBy'?: string;
6786
+ }
6787
+
6788
+ export const SearchHistoryFilterTypeEnum = {
6789
+ Person: 'PERSON',
6790
+ Place: 'PLACE'
6791
+ } as const;
6792
+
6793
+ export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[keyof typeof SearchHistoryFilterTypeEnum];
6794
+
6795
+ /**
6796
+ *
6797
+ * @export
6798
+ * @interface SearchHistoryPayload
6799
+ */
6800
+ export interface SearchHistoryPayload {
6801
+ /**
6802
+ *
6803
+ * @type {object}
6804
+ * @memberof SearchHistoryPayload
6805
+ */
6806
+ 'search': object;
6807
+ /**
6808
+ *
6809
+ * @type {string}
6810
+ * @memberof SearchHistoryPayload
6811
+ */
6812
+ 'type': SearchHistoryPayloadTypeEnum;
6813
+ }
6814
+
6815
+ export const SearchHistoryPayloadTypeEnum = {
6816
+ Person: 'PERSON',
6817
+ Place: 'PLACE'
6818
+ } as const;
6819
+
6820
+ export type SearchHistoryPayloadTypeEnum = typeof SearchHistoryPayloadTypeEnum[keyof typeof SearchHistoryPayloadTypeEnum];
6821
+
6822
+ /**
6823
+ *
6824
+ * @export
6825
+ * @interface SearchHistoryResponseDTO
6826
+ */
6827
+ export interface SearchHistoryResponseDTO {
6828
+ /**
6829
+ * statusCode
6830
+ * @type {number}
6831
+ * @memberof SearchHistoryResponseDTO
6832
+ */
6833
+ 'statusCode': number;
6834
+ /**
6835
+ *
6836
+ * @type {Array<SearchHistoryEntity>}
6837
+ * @memberof SearchHistoryResponseDTO
6838
+ */
6839
+ 'data': Array<SearchHistoryEntity>;
6840
+ }
6630
6841
  /**
6631
6842
  *
6632
6843
  * @export
@@ -8637,13 +8848,13 @@ export interface WhatsOnFilterDTO {
8637
8848
  * @type {number}
8638
8849
  * @memberof WhatsOnFilterDTO
8639
8850
  */
8640
- 'page': number;
8851
+ 'page'?: number;
8641
8852
  /**
8642
8853
  *
8643
8854
  * @type {number}
8644
8855
  * @memberof WhatsOnFilterDTO
8645
8856
  */
8646
- 'pageSize': number;
8857
+ 'pageSize'?: number;
8647
8858
  /**
8648
8859
  *
8649
8860
  * @type {string}
@@ -8687,17 +8898,17 @@ export interface WhatsOnFilterDTO {
8687
8898
  */
8688
8899
  'distance'?: number;
8689
8900
  /**
8690
- * Minimum price filter
8901
+ * Maximum price filter
8691
8902
  * @type {number}
8692
8903
  * @memberof WhatsOnFilterDTO
8693
8904
  */
8694
- 'minPrice'?: number;
8905
+ 'maxPrice'?: number;
8695
8906
  /**
8696
- * Maximum price filter
8907
+ *
8697
8908
  * @type {number}
8698
8909
  * @memberof WhatsOnFilterDTO
8699
8910
  */
8700
- 'maxPrice'?: number;
8911
+ 'number'?: number;
8701
8912
  }
8702
8913
  /**
8703
8914
  *
@@ -19758,6 +19969,187 @@ export class PrepaidServiceApi extends BaseAPI {
19758
19969
 
19759
19970
 
19760
19971
 
19972
+ /**
19973
+ * SearchHistoryApi - axios parameter creator
19974
+ * @export
19975
+ */
19976
+ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
19977
+ return {
19978
+ /**
19979
+ *
19980
+ * @param {SearchHistoryPayload} searchHistoryPayload
19981
+ * @param {*} [options] Override http request option.
19982
+ * @throws {RequiredError}
19983
+ */
19984
+ searchControllerAddSearchHistory: async (searchHistoryPayload: SearchHistoryPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19985
+ // verify required parameter 'searchHistoryPayload' is not null or undefined
19986
+ assertParamExists('searchControllerAddSearchHistory', 'searchHistoryPayload', searchHistoryPayload)
19987
+ const localVarPath = `/v1/search`;
19988
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19989
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19990
+ let baseOptions;
19991
+ if (configuration) {
19992
+ baseOptions = configuration.baseOptions;
19993
+ }
19994
+
19995
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19996
+ const localVarHeaderParameter = {} as any;
19997
+ const localVarQueryParameter = {} as any;
19998
+
19999
+ // authentication bearer required
20000
+ // http bearer authentication required
20001
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20002
+
20003
+
20004
+
20005
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20006
+
20007
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20008
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20009
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20010
+ localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryPayload, localVarRequestOptions, configuration)
20011
+
20012
+ return {
20013
+ url: toPathString(localVarUrlObj),
20014
+ options: localVarRequestOptions,
20015
+ };
20016
+ },
20017
+ /**
20018
+ *
20019
+ * @param {SearchHistoryFilter} searchHistoryFilter
20020
+ * @param {*} [options] Override http request option.
20021
+ * @throws {RequiredError}
20022
+ */
20023
+ searchControllerFindSearchHistory: async (searchHistoryFilter: SearchHistoryFilter, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20024
+ // verify required parameter 'searchHistoryFilter' is not null or undefined
20025
+ assertParamExists('searchControllerFindSearchHistory', 'searchHistoryFilter', searchHistoryFilter)
20026
+ const localVarPath = `/v1/search/list`;
20027
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20028
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20029
+ let baseOptions;
20030
+ if (configuration) {
20031
+ baseOptions = configuration.baseOptions;
20032
+ }
20033
+
20034
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20035
+ const localVarHeaderParameter = {} as any;
20036
+ const localVarQueryParameter = {} as any;
20037
+
20038
+ // authentication bearer required
20039
+ // http bearer authentication required
20040
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20041
+
20042
+
20043
+
20044
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20045
+
20046
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20047
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20048
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20049
+ localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryFilter, localVarRequestOptions, configuration)
20050
+
20051
+ return {
20052
+ url: toPathString(localVarUrlObj),
20053
+ options: localVarRequestOptions,
20054
+ };
20055
+ },
20056
+ }
20057
+ };
20058
+
20059
+ /**
20060
+ * SearchHistoryApi - functional programming interface
20061
+ * @export
20062
+ */
20063
+ export const SearchHistoryApiFp = function(configuration?: Configuration) {
20064
+ const localVarAxiosParamCreator = SearchHistoryApiAxiosParamCreator(configuration)
20065
+ return {
20066
+ /**
20067
+ *
20068
+ * @param {SearchHistoryPayload} searchHistoryPayload
20069
+ * @param {*} [options] Override http request option.
20070
+ * @throws {RequiredError}
20071
+ */
20072
+ async searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryDTO>> {
20073
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerAddSearchHistory(searchHistoryPayload, options);
20074
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20075
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerAddSearchHistory']?.[localVarOperationServerIndex]?.url;
20076
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20077
+ },
20078
+ /**
20079
+ *
20080
+ * @param {SearchHistoryFilter} searchHistoryFilter
20081
+ * @param {*} [options] Override http request option.
20082
+ * @throws {RequiredError}
20083
+ */
20084
+ async searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryResponseDTO>> {
20085
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerFindSearchHistory(searchHistoryFilter, options);
20086
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20087
+ const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerFindSearchHistory']?.[localVarOperationServerIndex]?.url;
20088
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20089
+ },
20090
+ }
20091
+ };
20092
+
20093
+ /**
20094
+ * SearchHistoryApi - factory interface
20095
+ * @export
20096
+ */
20097
+ export const SearchHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
20098
+ const localVarFp = SearchHistoryApiFp(configuration)
20099
+ return {
20100
+ /**
20101
+ *
20102
+ * @param {SearchHistoryPayload} searchHistoryPayload
20103
+ * @param {*} [options] Override http request option.
20104
+ * @throws {RequiredError}
20105
+ */
20106
+ searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDTO> {
20107
+ return localVarFp.searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(axios, basePath));
20108
+ },
20109
+ /**
20110
+ *
20111
+ * @param {SearchHistoryFilter} searchHistoryFilter
20112
+ * @param {*} [options] Override http request option.
20113
+ * @throws {RequiredError}
20114
+ */
20115
+ searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20116
+ return localVarFp.searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(axios, basePath));
20117
+ },
20118
+ };
20119
+ };
20120
+
20121
+ /**
20122
+ * SearchHistoryApi - object-oriented interface
20123
+ * @export
20124
+ * @class SearchHistoryApi
20125
+ * @extends {BaseAPI}
20126
+ */
20127
+ export class SearchHistoryApi extends BaseAPI {
20128
+ /**
20129
+ *
20130
+ * @param {SearchHistoryPayload} searchHistoryPayload
20131
+ * @param {*} [options] Override http request option.
20132
+ * @throws {RequiredError}
20133
+ * @memberof SearchHistoryApi
20134
+ */
20135
+ public searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig) {
20136
+ return SearchHistoryApiFp(this.configuration).searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(this.axios, this.basePath));
20137
+ }
20138
+
20139
+ /**
20140
+ *
20141
+ * @param {SearchHistoryFilter} searchHistoryFilter
20142
+ * @param {*} [options] Override http request option.
20143
+ * @throws {RequiredError}
20144
+ * @memberof SearchHistoryApi
20145
+ */
20146
+ public searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig) {
20147
+ return SearchHistoryApiFp(this.configuration).searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(this.axios, this.basePath));
20148
+ }
20149
+ }
20150
+
20151
+
20152
+
19761
20153
  /**
19762
20154
  * TagsApi - axios parameter creator
19763
20155
  * @export
@@ -23297,7 +23689,7 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
23297
23689
  * @param {*} [options] Override http request option.
23298
23690
  * @throws {RequiredError}
23299
23691
  */
23300
- async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
23692
+ async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterEntityResponseDTO>> {
23301
23693
  const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options);
23302
23694
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23303
23695
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOn']?.[localVarOperationServerIndex]?.url;
@@ -23518,7 +23910,7 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
23518
23910
  * @param {*} [options] Override http request option.
23519
23911
  * @throws {RequiredError}
23520
23912
  */
23521
- whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
23913
+ whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FilterEntityResponseDTO> {
23522
23914
  return localVarFp.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
23523
23915
  },
23524
23916
  /**
@@ -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-13T20:20:06+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-05-16T09:55:06+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]
@@ -0,0 +1,36 @@
1
+ # FilterEntity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | Event id | [default to undefined]
9
+ **title** | **string** | Event name | [default to undefined]
10
+ **photos** | **Array&lt;string&gt;** | | [default to undefined]
11
+ **coverPhoto** | **Array&lt;string&gt;** | | [default to undefined]
12
+ **type** | **string** | | [default to undefined]
13
+ **startDate** | **string** | | [default to undefined]
14
+ **endDate** | **string** | | [default to undefined]
15
+ **tags** | [**Array&lt;TagsResponse&gt;**](TagsResponse.md) | | [default to undefined]
16
+ **keyword** | **Array&lt;string&gt;** | | [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { FilterEntity } from './api';
22
+
23
+ const instance: FilterEntity = {
24
+ _id,
25
+ title,
26
+ photos,
27
+ coverPhoto,
28
+ type,
29
+ startDate,
30
+ endDate,
31
+ tags,
32
+ keyword,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # FilterEntityResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | [**Array&lt;FilterEntity&gt;**](FilterEntity.md) | | [default to undefined]
9
+ **statusCode** | **number** | statusCode | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FilterEntityResponseDTO } from './api';
15
+
16
+ const instance: FilterEntityResponseDTO = {
17
+ data,
18
+ statusCode,
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,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-13T20:20:06+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-05-16T09:55:06+05:30]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -0,0 +1,111 @@
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
+ |[**searchControllerFindSearchHistory**](#searchcontrollerfindsearchhistory) | **POST** /v1/search/list | |
9
+
10
+ # **searchControllerAddSearchHistory**
11
+ > SearchHistoryDTO searchControllerAddSearchHistory(searchHistoryPayload)
12
+
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ SearchHistoryApi,
19
+ Configuration,
20
+ SearchHistoryPayload
21
+ } from './api';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new SearchHistoryApi(configuration);
25
+
26
+ let searchHistoryPayload: SearchHistoryPayload; //
27
+
28
+ const { status, data } = await apiInstance.searchControllerAddSearchHistory(
29
+ searchHistoryPayload
30
+ );
31
+ ```
32
+
33
+ ### Parameters
34
+
35
+ |Name | Type | Description | Notes|
36
+ |------------- | ------------- | ------------- | -------------|
37
+ | **searchHistoryPayload** | **SearchHistoryPayload**| | |
38
+
39
+
40
+ ### Return type
41
+
42
+ **SearchHistoryDTO**
43
+
44
+ ### Authorization
45
+
46
+ [bearer](../README.md#bearer)
47
+
48
+ ### HTTP request headers
49
+
50
+ - **Content-Type**: application/json
51
+ - **Accept**: application/json
52
+
53
+
54
+ ### HTTP response details
55
+ | Status code | Description | Response headers |
56
+ |-------------|-------------|------------------|
57
+ |**200** | | - |
58
+
59
+ [[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)
60
+
61
+ # **searchControllerFindSearchHistory**
62
+ > SearchHistoryResponseDTO searchControllerFindSearchHistory(searchHistoryFilter)
63
+
64
+
65
+ ### Example
66
+
67
+ ```typescript
68
+ import {
69
+ SearchHistoryApi,
70
+ Configuration,
71
+ SearchHistoryFilter
72
+ } from './api';
73
+
74
+ const configuration = new Configuration();
75
+ const apiInstance = new SearchHistoryApi(configuration);
76
+
77
+ let searchHistoryFilter: SearchHistoryFilter; //
78
+
79
+ const { status, data } = await apiInstance.searchControllerFindSearchHistory(
80
+ searchHistoryFilter
81
+ );
82
+ ```
83
+
84
+ ### Parameters
85
+
86
+ |Name | Type | Description | Notes|
87
+ |------------- | ------------- | ------------- | -------------|
88
+ | **searchHistoryFilter** | **SearchHistoryFilter**| | |
89
+
90
+
91
+ ### Return type
92
+
93
+ **SearchHistoryResponseDTO**
94
+
95
+ ### Authorization
96
+
97
+ [bearer](../README.md#bearer)
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: application/json
102
+ - **Accept**: application/json
103
+
104
+
105
+ ### HTTP response details
106
+ | Status code | Description | Response headers |
107
+ |-------------|-------------|------------------|
108
+ |**200** | | - |
109
+
110
+ [[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
+
@@ -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,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-13T20:20:06+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-13T21:20:06+05:30]
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]
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]
@@ -176,7 +176,7 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
176
176
  [[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)
177
177
 
178
178
  # **whatsOnControllerFilterWhatsOn**
179
- > WhatsOnResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
179
+ > FilterEntityResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
180
180
 
181
181
 
182
182
  ### Example
@@ -207,7 +207,7 @@ const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOn(
207
207
 
208
208
  ### Return type
209
209
 
210
- **WhatsOnResponseDTO**
210
+ **FilterEntityResponseDTO**
211
211
 
212
212
  ### Authorization
213
213
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **page** | **number** | | [default to undefined]
9
- **pageSize** | **number** | | [default to undefined]
8
+ **page** | **number** | | [optional] [default to 1]
9
+ **pageSize** | **number** | | [optional] [default to 10]
10
10
  **search** | **string** | | [optional] [default to undefined]
11
11
  **category** | **Array&lt;string&gt;** | | [optional] [default to undefined]
12
12
  **type** | **string** | | [optional] [default to undefined]
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  **from** | **string** | | [optional] [default to undefined]
15
15
  **to** | **string** | | [optional] [default to undefined]
16
16
  **distance** | **number** | | [optional] [default to undefined]
17
- **minPrice** | **number** | Minimum price filter | [optional] [default to undefined]
18
17
  **maxPrice** | **number** | Maximum price filter | [optional] [default to undefined]
18
+ **number** | **number** | | [optional] [default to undefined]
19
19
 
20
20
  ## Example
21
21
 
@@ -32,8 +32,8 @@ const instance: WhatsOnFilterDTO = {
32
32
  from,
33
33
  to,
34
34
  distance,
35
- minPrice,
36
35
  maxPrice,
36
+ number,
37
37
  };
38
38
  ```
39
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.60",
3
+ "version": "1.3.62",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},