@gooday_corp/gooday-api-client 1.3.67 → 1.3.69

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/api.ts CHANGED
@@ -2354,6 +2354,12 @@ export interface BusinessVenueMapDTO {
2354
2354
  * @memberof BusinessVenueMapDTO
2355
2355
  */
2356
2356
  'category'?: Array<string>;
2357
+ /**
2358
+ * Users ID
2359
+ * @type {Array<string>}
2360
+ * @memberof BusinessVenueMapDTO
2361
+ */
2362
+ 'users'?: Array<string>;
2357
2363
  /**
2358
2364
  * Page number for pagination
2359
2365
  * @type {number}
@@ -2371,7 +2377,13 @@ export interface BusinessVenueMapDTO {
2371
2377
  * @type {string}
2372
2378
  * @memberof BusinessVenueMapDTO
2373
2379
  */
2374
- 'price'?: string;
2380
+ 'maxPrice'?: string;
2381
+ /**
2382
+ *
2383
+ * @type {string}
2384
+ * @memberof BusinessVenueMapDTO
2385
+ */
2386
+ 'minPrice'?: string;
2375
2387
  /**
2376
2388
  *
2377
2389
  * @type {number}
@@ -2445,6 +2457,12 @@ export interface BusinessVenueMapDetailsEntity {
2445
2457
  * @memberof BusinessVenueMapDetailsEntity
2446
2458
  */
2447
2459
  'business': string;
2460
+ /**
2461
+ *
2462
+ * @type {LocationDTO}
2463
+ * @memberof BusinessVenueMapDetailsEntity
2464
+ */
2465
+ 'location': LocationDTO;
2448
2466
  }
2449
2467
  /**
2450
2468
  *
@@ -16544,6 +16562,44 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
16544
16562
  options: localVarRequestOptions,
16545
16563
  };
16546
16564
  },
16565
+ /**
16566
+ *
16567
+ * @param {Array<string>} [friends]
16568
+ * @param {*} [options] Override http request option.
16569
+ * @throws {RequiredError}
16570
+ */
16571
+ friendControllerFindFriendConfirmedVenueList: async (friends?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16572
+ const localVarPath = `/v1/friend/venue-booked`;
16573
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16574
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16575
+ let baseOptions;
16576
+ if (configuration) {
16577
+ baseOptions = configuration.baseOptions;
16578
+ }
16579
+
16580
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16581
+ const localVarHeaderParameter = {} as any;
16582
+ const localVarQueryParameter = {} as any;
16583
+
16584
+ // authentication bearer required
16585
+ // http bearer authentication required
16586
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16587
+
16588
+ if (friends) {
16589
+ localVarQueryParameter['friends'] = friends;
16590
+ }
16591
+
16592
+
16593
+
16594
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16595
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16596
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16597
+
16598
+ return {
16599
+ url: toPathString(localVarUrlObj),
16600
+ options: localVarRequestOptions,
16601
+ };
16602
+ },
16547
16603
  /**
16548
16604
  *
16549
16605
  * @param {number} page
@@ -16955,6 +17011,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
16955
17011
  const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
16956
17012
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16957
17013
  },
17014
+ /**
17015
+ *
17016
+ * @param {Array<string>} [friends]
17017
+ * @param {*} [options] Override http request option.
17018
+ * @throws {RequiredError}
17019
+ */
17020
+ async friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
17021
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriendConfirmedVenueList(friends, options);
17022
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17023
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
17024
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17025
+ },
16958
17026
  /**
16959
17027
  *
16960
17028
  * @param {number} page
@@ -17103,6 +17171,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
17103
17171
  friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
17104
17172
  return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
17105
17173
  },
17174
+ /**
17175
+ *
17176
+ * @param {Array<string>} [friends]
17177
+ * @param {*} [options] Override http request option.
17178
+ * @throws {RequiredError}
17179
+ */
17180
+ friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
17181
+ return localVarFp.friendControllerFindFriendConfirmedVenueList(friends, options).then((request) => request(axios, basePath));
17182
+ },
17106
17183
  /**
17107
17184
  *
17108
17185
  * @param {number} page
@@ -17230,6 +17307,17 @@ export class FriendsApi extends BaseAPI {
17230
17307
  return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
17231
17308
  }
17232
17309
 
17310
+ /**
17311
+ *
17312
+ * @param {Array<string>} [friends]
17313
+ * @param {*} [options] Override http request option.
17314
+ * @throws {RequiredError}
17315
+ * @memberof FriendsApi
17316
+ */
17317
+ public friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig) {
17318
+ return FriendsApiFp(this.configuration).friendControllerFindFriendConfirmedVenueList(friends, options).then((request) => request(this.axios, this.basePath));
17319
+ }
17320
+
17233
17321
  /**
17234
17322
  *
17235
17323
  * @param {number} page
@@ -7,9 +7,11 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **search** | **string** | Business name search | [optional] [default to undefined]
9
9
  **category** | **Array&lt;string&gt;** | Business category ID | [optional] [default to undefined]
10
+ **users** | **Array&lt;string&gt;** | Users ID | [optional] [default to undefined]
10
11
  **page** | **number** | Page number for pagination | [optional] [default to 1]
11
12
  **limit** | **number** | Number of items per page for pagination | [optional] [default to 10]
12
- **price** | **string** | | [optional] [default to undefined]
13
+ **maxPrice** | **string** | | [optional] [default to undefined]
14
+ **minPrice** | **string** | | [optional] [default to undefined]
13
15
  **people** | **number** | | [optional] [default to undefined]
14
16
  **distance** | **string** | | [optional] [default to undefined]
15
17
  **date** | **string** | Start date for the events | [optional] [default to undefined]
@@ -24,9 +26,11 @@ import { BusinessVenueMapDTO } from './api';
24
26
  const instance: BusinessVenueMapDTO = {
25
27
  search,
26
28
  category,
29
+ users,
27
30
  page,
28
31
  limit,
29
- price,
32
+ maxPrice,
33
+ minPrice,
30
34
  people,
31
35
  distance,
32
36
  date,
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **description** | **string** | | [default to undefined]
12
12
  **name** | **string** | | [default to undefined]
13
13
  **business** | **string** | | [default to undefined]
14
+ **location** | [**LocationDTO**](LocationDTO.md) | | [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: BusinessVenueMapDetailsEntity = {
24
25
  description,
25
26
  name,
26
27
  business,
28
+ location,
27
29
  };
28
30
  ```
29
31
 
@@ -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-19T16:30:23+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-05-19T19:32:37+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]
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
7
7
  |[**friendControllerApproveFriendRequest**](#friendcontrollerapprovefriendrequest) | **POST** /v1/friend/approve-request | |
8
8
  |[**friendControllerCreateMutualFriend**](#friendcontrollercreatemutualfriend) | **POST** /v1/friend/mutual | |
9
9
  |[**friendControllerDeclineFriendRequest**](#friendcontrollerdeclinefriendrequest) | **POST** /v1/friend/decline-request | |
10
+ |[**friendControllerFindFriendConfirmedVenueList**](#friendcontrollerfindfriendconfirmedvenuelist) | **GET** /v1/friend/venue-booked | |
10
11
  |[**friendControllerFindFriends**](#friendcontrollerfindfriends) | **GET** /v1/friend/find | |
11
12
  |[**friendControllerFindMutualFriends**](#friendcontrollerfindmutualfriends) | **POST** /v1/friend/mutual/list | |
12
13
  |[**friendControllerGetFriendshipStatus**](#friendcontrollergetfriendshipstatus) | **POST** /v1/friend/status | |
@@ -163,6 +164,56 @@ const { status, data } = await apiInstance.friendControllerDeclineFriendRequest(
163
164
  - **Accept**: application/json
164
165
 
165
166
 
167
+ ### HTTP response details
168
+ | Status code | Description | Response headers |
169
+ |-------------|-------------|------------------|
170
+ |**200** | | - |
171
+
172
+ [[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)
173
+
174
+ # **friendControllerFindFriendConfirmedVenueList**
175
+ > FriendsDTO friendControllerFindFriendConfirmedVenueList()
176
+
177
+
178
+ ### Example
179
+
180
+ ```typescript
181
+ import {
182
+ FriendsApi,
183
+ Configuration
184
+ } from './api';
185
+
186
+ const configuration = new Configuration();
187
+ const apiInstance = new FriendsApi(configuration);
188
+
189
+ let friends: Array<string>; // (optional) (default to undefined)
190
+
191
+ const { status, data } = await apiInstance.friendControllerFindFriendConfirmedVenueList(
192
+ friends
193
+ );
194
+ ```
195
+
196
+ ### Parameters
197
+
198
+ |Name | Type | Description | Notes|
199
+ |------------- | ------------- | ------------- | -------------|
200
+ | **friends** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
201
+
202
+
203
+ ### Return type
204
+
205
+ **FriendsDTO**
206
+
207
+ ### Authorization
208
+
209
+ [bearer](../README.md#bearer)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
166
217
  ### HTTP response details
167
218
  | Status code | Description | Response headers |
168
219
  |-------------|-------------|------------------|
@@ -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-19T16:30:23+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-05-19T19:32:37+05:30]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -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-19T16:30:23+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-19T17:30:23+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-05-19T19:32:37+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-05-19T20:32:37+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.67",
3
+ "version": "1.3.69",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},