@gooday_corp/gooday-api-client 1.3.63 → 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.
@@ -235,7 +235,9 @@ docs/SearchHistoryDTO.md
235
235
  docs/SearchHistoryDeleteDTO.md
236
236
  docs/SearchHistoryEntity.md
237
237
  docs/SearchHistoryFilter.md
238
+ docs/SearchHistoryMeta.md
238
239
  docs/SearchHistoryPayload.md
240
+ docs/SearchHistoryPayloadMeta.md
239
241
  docs/SearchHistoryResponseDTO.md
240
242
  docs/SendCollaborateInvitePayload.md
241
243
  docs/SendFriendshipRequestPayload.md
package/api.ts CHANGED
@@ -6759,10 +6759,10 @@ export interface SearchHistoryEntity {
6759
6759
  '_id': string;
6760
6760
  /**
6761
6761
  *
6762
- * @type {object}
6762
+ * @type {SearchHistoryMeta}
6763
6763
  * @memberof SearchHistoryEntity
6764
6764
  */
6765
- 'search': object;
6765
+ 'search': SearchHistoryMeta;
6766
6766
  /**
6767
6767
  *
6768
6768
  * @type {string}
@@ -6811,6 +6811,25 @@ export const SearchHistoryFilterTypeEnum = {
6811
6811
 
6812
6812
  export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[keyof typeof SearchHistoryFilterTypeEnum];
6813
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
+ }
6814
6833
  /**
6815
6834
  *
6816
6835
  * @export
@@ -6819,10 +6838,10 @@ export type SearchHistoryFilterTypeEnum = typeof SearchHistoryFilterTypeEnum[key
6819
6838
  export interface SearchHistoryPayload {
6820
6839
  /**
6821
6840
  *
6822
- * @type {object}
6841
+ * @type {SearchHistoryPayloadMeta}
6823
6842
  * @memberof SearchHistoryPayload
6824
6843
  */
6825
- 'search': object;
6844
+ 'search': SearchHistoryPayloadMeta;
6826
6845
  /**
6827
6846
  *
6828
6847
  * @type {string}
@@ -6838,6 +6857,25 @@ export const SearchHistoryPayloadTypeEnum = {
6838
6857
 
6839
6858
  export type SearchHistoryPayloadTypeEnum = typeof SearchHistoryPayloadTypeEnum[keyof typeof SearchHistoryPayloadTypeEnum];
6840
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
+ }
6841
6879
  /**
6842
6880
  *
6843
6881
  * @export
@@ -20111,10 +20149,12 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
20111
20149
  },
20112
20150
  /**
20113
20151
  *
20152
+ * @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
20153
+ * @param {string} [createdBy]
20114
20154
  * @param {*} [options] Override http request option.
20115
20155
  * @throws {RequiredError}
20116
20156
  */
20117
- searchControllerRecentSearchHistory: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20157
+ searchControllerRecentSearchHistory: async (type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20118
20158
  const localVarPath = `/v1/search/recent`;
20119
20159
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20120
20160
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20131,6 +20171,14 @@ export const SearchHistoryApiAxiosParamCreator = function (configuration?: Confi
20131
20171
  // http bearer authentication required
20132
20172
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
20133
20173
 
20174
+ if (type !== undefined) {
20175
+ localVarQueryParameter['type'] = type;
20176
+ }
20177
+
20178
+ if (createdBy !== undefined) {
20179
+ localVarQueryParameter['createdBy'] = createdBy;
20180
+ }
20181
+
20134
20182
 
20135
20183
 
20136
20184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20190,11 +20238,13 @@ export const SearchHistoryApiFp = function(configuration?: Configuration) {
20190
20238
  },
20191
20239
  /**
20192
20240
  *
20241
+ * @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
20242
+ * @param {string} [createdBy]
20193
20243
  * @param {*} [options] Override http request option.
20194
20244
  * @throws {RequiredError}
20195
20245
  */
20196
- async searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchHistoryResponseDTO>> {
20197
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRecentSearchHistory(options);
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);
20198
20248
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20199
20249
  const localVarOperationServerBasePath = operationServerMap['SearchHistoryApi.searchControllerRecentSearchHistory']?.[localVarOperationServerIndex]?.url;
20200
20250
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -20238,11 +20288,13 @@ export const SearchHistoryApiFactory = function (configuration?: Configuration,
20238
20288
  },
20239
20289
  /**
20240
20290
  *
20291
+ * @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
20292
+ * @param {string} [createdBy]
20241
20293
  * @param {*} [options] Override http request option.
20242
20294
  * @throws {RequiredError}
20243
20295
  */
20244
- searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20245
- return localVarFp.searchControllerRecentSearchHistory(options).then((request) => request(axios, basePath));
20296
+ searchControllerRecentSearchHistory(type?: SearchControllerRecentSearchHistoryTypeEnum, createdBy?: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchHistoryResponseDTO> {
20297
+ return localVarFp.searchControllerRecentSearchHistory(type, createdBy, options).then((request) => request(axios, basePath));
20246
20298
  },
20247
20299
  };
20248
20300
  };
@@ -20289,15 +20341,25 @@ export class SearchHistoryApi extends BaseAPI {
20289
20341
 
20290
20342
  /**
20291
20343
  *
20344
+ * @param {SearchControllerRecentSearchHistoryTypeEnum} [type]
20345
+ * @param {string} [createdBy]
20292
20346
  * @param {*} [options] Override http request option.
20293
20347
  * @throws {RequiredError}
20294
20348
  * @memberof SearchHistoryApi
20295
20349
  */
20296
- public searchControllerRecentSearchHistory(options?: RawAxiosRequestConfig) {
20297
- return SearchHistoryApiFp(this.configuration).searchControllerRecentSearchHistory(options).then((request) => request(this.axios, this.basePath));
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));
20298
20352
  }
20299
20353
  }
20300
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];
20301
20363
 
20302
20364
 
20303
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-16T11:01:30+05:30]
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-16T11:01:30+05:30]
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
 
@@ -176,11 +176,21 @@ import {
176
176
  const configuration = new Configuration();
177
177
  const apiInstance = new SearchHistoryApi(configuration);
178
178
 
179
- const { status, data } = await apiInstance.searchControllerRecentSearchHistory();
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
+ );
180
186
  ```
181
187
 
182
188
  ### Parameters
183
- This endpoint does not have any parameters.
189
+
190
+ |Name | Type | Description | Notes|
191
+ |------------- | ------------- | ------------- | -------------|
192
+ | **type** | [**&#39;PERSON&#39; | &#39;PLACE&#39;**]**Array<&#39;PERSON&#39; &#124; &#39;PLACE&#39;>** | | (optional) defaults to undefined|
193
+ | **createdBy** | [**string**] | | (optional) defaults to undefined|
184
194
 
185
195
 
186
196
  ### Return type
@@ -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** | **object** | | [default to undefined]
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** | **object** | | [default to undefined]
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-16T11:01:30+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-16T12:01:30+05:30]
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&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.63",
3
+ "version": "1.3.64",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},