@gooday_corp/gooday-api-client 1.3.62 → 1.3.64
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 +3 -0
- package/api.ts +216 -4
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SearchHistoryApi.md +105 -0
- package/docs/SearchHistoryDeleteDTO.md +22 -0
- package/docs/SearchHistoryEntity.md +1 -1
- package/docs/SearchHistoryMeta.md +22 -0
- package/docs/SearchHistoryPayload.md +1 -1
- package/docs/SearchHistoryPayloadMeta.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -232,9 +232,12 @@ 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
|
|
238
|
+
docs/SearchHistoryMeta.md
|
|
237
239
|
docs/SearchHistoryPayload.md
|
|
240
|
+
docs/SearchHistoryPayloadMeta.md
|
|
238
241
|
docs/SearchHistoryResponseDTO.md
|
|
239
242
|
docs/SendCollaborateInvitePayload.md
|
|
240
243
|
docs/SendFriendshipRequestPayload.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
|
|
@@ -6740,10 +6759,10 @@ export interface SearchHistoryEntity {
|
|
|
6740
6759
|
'_id': string;
|
|
6741
6760
|
/**
|
|
6742
6761
|
*
|
|
6743
|
-
* @type {
|
|
6762
|
+
* @type {SearchHistoryMeta}
|
|
6744
6763
|
* @memberof SearchHistoryEntity
|
|
6745
6764
|
*/
|
|
6746
|
-
'search':
|
|
6765
|
+
'search': SearchHistoryMeta;
|
|
6747
6766
|
/**
|
|
6748
6767
|
*
|
|
6749
6768
|
* @type {string}
|
|
@@ -6792,6 +6811,25 @@ export const SearchHistoryFilterTypeEnum = {
|
|
|
6792
6811
|
|
|
6793
6812
|
export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[keyof typeof SearchHistoryFilterTypeEnum];
|
|
6794
6813
|
|
|
6814
|
+
/**
|
|
6815
|
+
*
|
|
6816
|
+
* @export
|
|
6817
|
+
* @interface SearchHistoryMeta
|
|
6818
|
+
*/
|
|
6819
|
+
export interface SearchHistoryMeta {
|
|
6820
|
+
/**
|
|
6821
|
+
*
|
|
6822
|
+
* @type {UserEntity}
|
|
6823
|
+
* @memberof SearchHistoryMeta
|
|
6824
|
+
*/
|
|
6825
|
+
'userId'?: UserEntity;
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @type {BusinessVenueDetailsEntity}
|
|
6829
|
+
* @memberof SearchHistoryMeta
|
|
6830
|
+
*/
|
|
6831
|
+
'venue'?: BusinessVenueDetailsEntity;
|
|
6832
|
+
}
|
|
6795
6833
|
/**
|
|
6796
6834
|
*
|
|
6797
6835
|
* @export
|
|
@@ -6800,10 +6838,10 @@ export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[key
|
|
|
6800
6838
|
export interface SearchHistoryPayload {
|
|
6801
6839
|
/**
|
|
6802
6840
|
*
|
|
6803
|
-
* @type {
|
|
6841
|
+
* @type {SearchHistoryPayloadMeta}
|
|
6804
6842
|
* @memberof SearchHistoryPayload
|
|
6805
6843
|
*/
|
|
6806
|
-
'search':
|
|
6844
|
+
'search': SearchHistoryPayloadMeta;
|
|
6807
6845
|
/**
|
|
6808
6846
|
*
|
|
6809
6847
|
* @type {string}
|
|
@@ -6819,6 +6857,25 @@ export const SearchHistoryPayloadTypeEnum = {
|
|
|
6819
6857
|
|
|
6820
6858
|
export type SearchHistoryPayloadTypeEnum = typeof SearchHistoryPayloadTypeEnum[keyof typeof SearchHistoryPayloadTypeEnum];
|
|
6821
6859
|
|
|
6860
|
+
/**
|
|
6861
|
+
*
|
|
6862
|
+
* @export
|
|
6863
|
+
* @interface SearchHistoryPayloadMeta
|
|
6864
|
+
*/
|
|
6865
|
+
export interface SearchHistoryPayloadMeta {
|
|
6866
|
+
/**
|
|
6867
|
+
*
|
|
6868
|
+
* @type {string}
|
|
6869
|
+
* @memberof SearchHistoryPayloadMeta
|
|
6870
|
+
*/
|
|
6871
|
+
'userId'?: string;
|
|
6872
|
+
/**
|
|
6873
|
+
*
|
|
6874
|
+
* @type {string}
|
|
6875
|
+
* @memberof SearchHistoryPayloadMeta
|
|
6876
|
+
*/
|
|
6877
|
+
'venue'?: string;
|
|
6878
|
+
}
|
|
6822
6879
|
/**
|
|
6823
6880
|
*
|
|
6824
6881
|
* @export
|
|
@@ -20014,6 +20071,43 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20014
20071
|
options: localVarRequestOptions,
|
|
20015
20072
|
};
|
|
20016
20073
|
},
|
|
20074
|
+
/**
|
|
20075
|
+
*
|
|
20076
|
+
* @param {string} id
|
|
20077
|
+
* @param {*} [options] Override http request option.
|
|
20078
|
+
* @throws {RequiredError}
|
|
20079
|
+
*/
|
|
20080
|
+
searchControllerDeleteSearchHistory: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20081
|
+
// verify required parameter 'id' is not null or undefined
|
|
20082
|
+
assertParamExists('searchControllerDeleteSearchHistory', 'id', id)
|
|
20083
|
+
const localVarPath = `/v1/search/{id}`
|
|
20084
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
20085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20087
|
+
let baseOptions;
|
|
20088
|
+
if (configuration) {
|
|
20089
|
+
baseOptions = configuration.baseOptions;
|
|
20090
|
+
}
|
|
20091
|
+
|
|
20092
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
20093
|
+
const localVarHeaderParameter = {} as any;
|
|
20094
|
+
const localVarQueryParameter = {} as any;
|
|
20095
|
+
|
|
20096
|
+
// authentication bearer required
|
|
20097
|
+
// http bearer authentication required
|
|
20098
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20099
|
+
|
|
20100
|
+
|
|
20101
|
+
|
|
20102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20104
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20105
|
+
|
|
20106
|
+
return {
|
|
20107
|
+
url: toPathString(localVarUrlObj),
|
|
20108
|
+
options: localVarRequestOptions,
|
|
20109
|
+
};
|
|
20110
|
+
},
|
|
20017
20111
|
/**
|
|
20018
20112
|
*
|
|
20019
20113
|
* @param {SearchHistoryFilter} searchHistoryFilter
|
|
@@ -20048,6 +20142,49 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
|
|
|
20048
20142
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20049
20143
|
localVarRequestOptions.data = serializeDataIfNeeded(searchHistoryFilter, localVarRequestOptions, configuration)
|
|
20050
20144
|
|
|
20145
|
+
return {
|
|
20146
|
+
url: toPathString(localVarUrlObj),
|
|
20147
|
+
options: localVarRequestOptions,
|
|
20148
|
+
};
|
|
20149
|
+
},
|
|
20150
|
+
/**
|
|
20151
|
+
*
|
|
20152
|
+
* @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
|
|
20153
|
+
* @param {string} [createdBy]
|
|
20154
|
+
* @param {*} [options] Override http request option.
|
|
20155
|
+
* @throws {RequiredError}
|
|
20156
|
+
*/
|
|
20157
|
+
searchControllerRecentSearchHistory: async (type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20158
|
+
const localVarPath = `/v1/search/recent`;
|
|
20159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20160
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20161
|
+
let baseOptions;
|
|
20162
|
+
if (configuration) {
|
|
20163
|
+
baseOptions = configuration.baseOptions;
|
|
20164
|
+
}
|
|
20165
|
+
|
|
20166
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20167
|
+
const localVarHeaderParameter = {} as any;
|
|
20168
|
+
const localVarQueryParameter = {} as any;
|
|
20169
|
+
|
|
20170
|
+
// authentication bearer required
|
|
20171
|
+
// http bearer authentication required
|
|
20172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20173
|
+
|
|
20174
|
+
if (type !== undefined) {
|
|
20175
|
+
localVarQueryParameter['type'] = type;
|
|
20176
|
+
}
|
|
20177
|
+
|
|
20178
|
+
if (createdBy !== undefined) {
|
|
20179
|
+
localVarQueryParameter['createdBy'] = createdBy;
|
|
20180
|
+
}
|
|
20181
|
+
|
|
20182
|
+
|
|
20183
|
+
|
|
20184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20187
|
+
|
|
20051
20188
|
return {
|
|
20052
20189
|
url: toPathString(localVarUrlObj),
|
|
20053
20190
|
options: localVarRequestOptions,
|
|
@@ -20075,6 +20212,18 @@ export const SearchHistoryApiFp = function(configuration?: Configuration) {
|
|
|
20075
20212
|
const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerAddSearchHistory']?.[localVarOperationServerIndex]?.url;
|
|
20076
20213
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20077
20214
|
},
|
|
20215
|
+
/**
|
|
20216
|
+
*
|
|
20217
|
+
* @param {string} id
|
|
20218
|
+
* @param {*} [options] Override http request option.
|
|
20219
|
+
* @throws {RequiredError}
|
|
20220
|
+
*/
|
|
20221
|
+
async searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryDeleteDTO>> {
|
|
20222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerDeleteSearchHistory(id, options);
|
|
20223
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20224
|
+
const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerDeleteSearchHistory']?.[localVarOperationServerIndex]?.url;
|
|
20225
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20226
|
+
},
|
|
20078
20227
|
/**
|
|
20079
20228
|
*
|
|
20080
20229
|
* @param {SearchHistoryFilter} searchHistoryFilter
|
|
@@ -20087,6 +20236,19 @@ export const SearchHistoryApiFp = function(configuration?: Configuration) {
|
|
|
20087
20236
|
const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerFindSearchHistory']?.[localVarOperationServerIndex]?.url;
|
|
20088
20237
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20089
20238
|
},
|
|
20239
|
+
/**
|
|
20240
|
+
*
|
|
20241
|
+
* @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
|
|
20242
|
+
* @param {string} [createdBy]
|
|
20243
|
+
* @param {*} [options] Override http request option.
|
|
20244
|
+
* @throws {RequiredError}
|
|
20245
|
+
*/
|
|
20246
|
+
async searchControllerRecentSearchHistory(type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryResponseDTO>> {
|
|
20247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRecentSearchHistory(type, createdBy, options);
|
|
20248
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20249
|
+
const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerRecentSearchHistory']?.[localVarOperationServerIndex]?.url;
|
|
20250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20251
|
+
},
|
|
20090
20252
|
}
|
|
20091
20253
|
};
|
|
20092
20254
|
|
|
@@ -20106,6 +20268,15 @@ export const SearchHistoryApiFactory = function (configuration?: Configuration,
|
|
|
20106
20268
|
searchControllerAddSearchHistory(searchHistoryPayload: SearchHistoryPayload, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDTO> {
|
|
20107
20269
|
return localVarFp.searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(axios, basePath));
|
|
20108
20270
|
},
|
|
20271
|
+
/**
|
|
20272
|
+
*
|
|
20273
|
+
* @param {string} id
|
|
20274
|
+
* @param {*} [options] Override http request option.
|
|
20275
|
+
* @throws {RequiredError}
|
|
20276
|
+
*/
|
|
20277
|
+
searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryDeleteDTO> {
|
|
20278
|
+
return localVarFp.searchControllerDeleteSearchHistory(id, options).then((request) => request(axios, basePath));
|
|
20279
|
+
},
|
|
20109
20280
|
/**
|
|
20110
20281
|
*
|
|
20111
20282
|
* @param {SearchHistoryFilter} searchHistoryFilter
|
|
@@ -20115,6 +20286,16 @@ export const SearchHistoryApiFactory = function (configuration?: Configuration,
|
|
|
20115
20286
|
searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
|
|
20116
20287
|
return localVarFp.searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(axios, basePath));
|
|
20117
20288
|
},
|
|
20289
|
+
/**
|
|
20290
|
+
*
|
|
20291
|
+
* @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
|
|
20292
|
+
* @param {string} [createdBy]
|
|
20293
|
+
* @param {*} [options] Override http request option.
|
|
20294
|
+
* @throws {RequiredError}
|
|
20295
|
+
*/
|
|
20296
|
+
searchControllerRecentSearchHistory(type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
|
|
20297
|
+
return localVarFp.searchControllerRecentSearchHistory(type, createdBy, options).then((request) => request(axios, basePath));
|
|
20298
|
+
},
|
|
20118
20299
|
};
|
|
20119
20300
|
};
|
|
20120
20301
|
|
|
@@ -20136,6 +20317,17 @@ export class SearchHistoryApi extends BaseAPI {
|
|
|
20136
20317
|
return SearchHistoryApiFp(this.configuration).searchControllerAddSearchHistory(searchHistoryPayload, options).then((request) => request(this.axios, this.basePath));
|
|
20137
20318
|
}
|
|
20138
20319
|
|
|
20320
|
+
/**
|
|
20321
|
+
*
|
|
20322
|
+
* @param {string} id
|
|
20323
|
+
* @param {*} [options] Override http request option.
|
|
20324
|
+
* @throws {RequiredError}
|
|
20325
|
+
* @memberof SearchHistoryApi
|
|
20326
|
+
*/
|
|
20327
|
+
public searchControllerDeleteSearchHistory(id: string, options?: RawAxiosRequestConfig) {
|
|
20328
|
+
return SearchHistoryApiFp(this.configuration).searchControllerDeleteSearchHistory(id, options).then((request) => request(this.axios, this.basePath));
|
|
20329
|
+
}
|
|
20330
|
+
|
|
20139
20331
|
/**
|
|
20140
20332
|
*
|
|
20141
20333
|
* @param {SearchHistoryFilter} searchHistoryFilter
|
|
@@ -20146,8 +20338,28 @@ export class SearchHistoryApi extends BaseAPI {
|
|
|
20146
20338
|
public searchControllerFindSearchHistory(searchHistoryFilter: SearchHistoryFilter, options?: RawAxiosRequestConfig) {
|
|
20147
20339
|
return SearchHistoryApiFp(this.configuration).searchControllerFindSearchHistory(searchHistoryFilter, options).then((request) => request(this.axios, this.basePath));
|
|
20148
20340
|
}
|
|
20341
|
+
|
|
20342
|
+
/**
|
|
20343
|
+
*
|
|
20344
|
+
* @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
|
|
20345
|
+
* @param {string} [createdBy]
|
|
20346
|
+
* @param {*} [options] Override http request option.
|
|
20347
|
+
* @throws {RequiredError}
|
|
20348
|
+
* @memberof SearchHistoryApi
|
|
20349
|
+
*/
|
|
20350
|
+
public searchControllerRecentSearchHistory(type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options?: RawAxiosRequestConfig) {
|
|
20351
|
+
return SearchHistoryApiFp(this.configuration).searchControllerRecentSearchHistory(type, createdBy, options).then((request) => request(this.axios, this.basePath));
|
|
20352
|
+
}
|
|
20149
20353
|
}
|
|
20150
20354
|
|
|
20355
|
+
/**
|
|
20356
|
+
* @export
|
|
20357
|
+
*/
|
|
20358
|
+
export const SearchControllerRecentSearchHistoryTypeEnum = {
|
|
20359
|
+
Person: 'PERSON',
|
|
20360
|
+
Place: 'PLACE'
|
|
20361
|
+
} as const;
|
|
20362
|
+
export type SearchControllerRecentSearchHistoryTypeEnum = typeof SearchControllerRecentSearchHistoryTypeEnum[keyof typeof SearchControllerRecentSearchHistoryTypeEnum];
|
|
20151
20363
|
|
|
20152
20364
|
|
|
20153
20365
|
/**
|
|
@@ -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-16T11:52:51+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-16T11:52:51+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
package/docs/SearchHistoryApi.md
CHANGED
|
@@ -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,56 @@ 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
|
+
let type: 'PERSON' | 'PLACE'; // (optional) (default to undefined)
|
|
180
|
+
let createdBy: string; // (optional) (default to undefined)
|
|
181
|
+
|
|
182
|
+
const { status, data } = await apiInstance.searchControllerRecentSearchHistory(
|
|
183
|
+
type,
|
|
184
|
+
createdBy
|
|
185
|
+
);
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Parameters
|
|
189
|
+
|
|
190
|
+
|Name | Type | Description | Notes|
|
|
191
|
+
|------------- | ------------- | ------------- | -------------|
|
|
192
|
+
| **type** | [**'PERSON' | 'PLACE'**]**Array<'PERSON' | 'PLACE'>** | | (optional) defaults to undefined|
|
|
193
|
+
| **createdBy** | [**string**] | | (optional) defaults to undefined|
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Return type
|
|
197
|
+
|
|
198
|
+
**SearchHistoryResponseDTO**
|
|
199
|
+
|
|
200
|
+
### Authorization
|
|
201
|
+
|
|
202
|
+
[bearer](../README.md#bearer)
|
|
203
|
+
|
|
204
|
+
### HTTP request headers
|
|
205
|
+
|
|
206
|
+
- **Content-Type**: Not defined
|
|
207
|
+
- **Accept**: application/json
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### HTTP response details
|
|
211
|
+
| Status code | Description | Response headers |
|
|
212
|
+
|-------------|-------------|------------------|
|
|
213
|
+
|**200** | | - |
|
|
214
|
+
|
|
215
|
+
[[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)
|
|
216
|
+
|
|
@@ -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)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**_id** | **string** | Unique identifier for the booking | [default to undefined]
|
|
9
|
-
**search** | **
|
|
9
|
+
**search** | [**SearchHistoryMeta**](SearchHistoryMeta.md) | | [default to undefined]
|
|
10
10
|
**type** | **string** | | [default to undefined]
|
|
11
11
|
**createdBy** | [**UserEntity**](UserEntity.md) | | [default to undefined]
|
|
12
12
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SearchHistoryMeta
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | [**UserEntity**](UserEntity.md) | | [optional] [default to undefined]
|
|
9
|
+
**venue** | [**BusinessVenueDetailsEntity**](BusinessVenueDetailsEntity.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SearchHistoryMeta } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: SearchHistoryMeta = {
|
|
17
|
+
userId,
|
|
18
|
+
venue,
|
|
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
|
-
**search** | **
|
|
8
|
+
**search** | [**SearchHistoryPayloadMeta**](SearchHistoryPayloadMeta.md) | | [default to undefined]
|
|
9
9
|
**type** | **string** | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SearchHistoryPayloadMeta
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**venue** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SearchHistoryPayloadMeta } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: SearchHistoryPayloadMeta = {
|
|
17
|
+
userId,
|
|
18
|
+
venue,
|
|
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-16T11:52:51+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-16T12:52:51+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]
|