@gooday_corp/gooday-api-client 1.3.61 → 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.
- package/.openapi-generator/FILES +6 -0
- package/api.ts +312 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SearchHistoryApi.md +111 -0
- package/docs/SearchHistoryDTO.md +22 -0
- package/docs/SearchHistoryEntity.md +26 -0
- package/docs/SearchHistoryFilter.md +22 -0
- package/docs/SearchHistoryPayload.md +22 -0
- package/docs/SearchHistoryResponseDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -230,6 +230,12 @@ 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/SearchHistoryEntity.md
|
|
236
|
+
docs/SearchHistoryFilter.md
|
|
237
|
+
docs/SearchHistoryPayload.md
|
|
238
|
+
docs/SearchHistoryResponseDTO.md
|
|
233
239
|
docs/SendCollaborateInvitePayload.md
|
|
234
240
|
docs/SendFriendshipRequestPayload.md
|
|
235
241
|
docs/SignInDto.md
|
package/api.ts
CHANGED
|
@@ -6707,6 +6707,137 @@ 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 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
|
+
}
|
|
6710
6841
|
/**
|
|
6711
6842
|
*
|
|
6712
6843
|
* @export
|
|
@@ -19838,6 +19969,187 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
19838
19969
|
|
|
19839
19970
|
|
|
19840
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
|
+
|
|
19841
20153
|
/**
|
|
19842
20154
|
* TagsApi - axios parameter creator
|
|
19843
20155
|
* @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-
|
|
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]
|
|
@@ -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-
|
|
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<SearchHistoryEntity>**](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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|