@gooday_corp/gooday-api-client 1.3.67 → 1.3.68
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
|
@@ -2445,6 +2445,12 @@ export interface BusinessVenueMapDetailsEntity {
|
|
|
2445
2445
|
* @memberof BusinessVenueMapDetailsEntity
|
|
2446
2446
|
*/
|
|
2447
2447
|
'business': string;
|
|
2448
|
+
/**
|
|
2449
|
+
*
|
|
2450
|
+
* @type {LocationDTO}
|
|
2451
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2452
|
+
*/
|
|
2453
|
+
'location': LocationDTO;
|
|
2448
2454
|
}
|
|
2449
2455
|
/**
|
|
2450
2456
|
*
|
|
@@ -16544,6 +16550,44 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16544
16550
|
options: localVarRequestOptions,
|
|
16545
16551
|
};
|
|
16546
16552
|
},
|
|
16553
|
+
/**
|
|
16554
|
+
*
|
|
16555
|
+
* @param {Array<string>} [friends]
|
|
16556
|
+
* @param {*} [options] Override http request option.
|
|
16557
|
+
* @throws {RequiredError}
|
|
16558
|
+
*/
|
|
16559
|
+
friendControllerFindFriendConfirmedVenueList: async (friends?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16560
|
+
const localVarPath = `/v1/friend/venue-booked`;
|
|
16561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16562
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16563
|
+
let baseOptions;
|
|
16564
|
+
if (configuration) {
|
|
16565
|
+
baseOptions = configuration.baseOptions;
|
|
16566
|
+
}
|
|
16567
|
+
|
|
16568
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16569
|
+
const localVarHeaderParameter = {} as any;
|
|
16570
|
+
const localVarQueryParameter = {} as any;
|
|
16571
|
+
|
|
16572
|
+
// authentication bearer required
|
|
16573
|
+
// http bearer authentication required
|
|
16574
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16575
|
+
|
|
16576
|
+
if (friends) {
|
|
16577
|
+
localVarQueryParameter['friends'] = friends;
|
|
16578
|
+
}
|
|
16579
|
+
|
|
16580
|
+
|
|
16581
|
+
|
|
16582
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16583
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16584
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16585
|
+
|
|
16586
|
+
return {
|
|
16587
|
+
url: toPathString(localVarUrlObj),
|
|
16588
|
+
options: localVarRequestOptions,
|
|
16589
|
+
};
|
|
16590
|
+
},
|
|
16547
16591
|
/**
|
|
16548
16592
|
*
|
|
16549
16593
|
* @param {number} page
|
|
@@ -16955,6 +16999,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
16955
16999
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
16956
17000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16957
17001
|
},
|
|
17002
|
+
/**
|
|
17003
|
+
*
|
|
17004
|
+
* @param {Array<string>} [friends]
|
|
17005
|
+
* @param {*} [options] Override http request option.
|
|
17006
|
+
* @throws {RequiredError}
|
|
17007
|
+
*/
|
|
17008
|
+
async friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
17009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriendConfirmedVenueList(friends, options);
|
|
17010
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17011
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
|
|
17012
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17013
|
+
},
|
|
16958
17014
|
/**
|
|
16959
17015
|
*
|
|
16960
17016
|
* @param {number} page
|
|
@@ -17103,6 +17159,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
17103
17159
|
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
17104
17160
|
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
17105
17161
|
},
|
|
17162
|
+
/**
|
|
17163
|
+
*
|
|
17164
|
+
* @param {Array<string>} [friends]
|
|
17165
|
+
* @param {*} [options] Override http request option.
|
|
17166
|
+
* @throws {RequiredError}
|
|
17167
|
+
*/
|
|
17168
|
+
friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
17169
|
+
return localVarFp.friendControllerFindFriendConfirmedVenueList(friends, options).then((request) => request(axios, basePath));
|
|
17170
|
+
},
|
|
17106
17171
|
/**
|
|
17107
17172
|
*
|
|
17108
17173
|
* @param {number} page
|
|
@@ -17230,6 +17295,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
17230
17295
|
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
17231
17296
|
}
|
|
17232
17297
|
|
|
17298
|
+
/**
|
|
17299
|
+
*
|
|
17300
|
+
* @param {Array<string>} [friends]
|
|
17301
|
+
* @param {*} [options] Override http request option.
|
|
17302
|
+
* @throws {RequiredError}
|
|
17303
|
+
* @memberof FriendsApi
|
|
17304
|
+
*/
|
|
17305
|
+
public friendControllerFindFriendConfirmedVenueList(friends?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
17306
|
+
return FriendsApiFp(this.configuration).friendControllerFindFriendConfirmedVenueList(friends, options).then((request) => request(this.axios, this.basePath));
|
|
17307
|
+
}
|
|
17308
|
+
|
|
17233
17309
|
/**
|
|
17234
17310
|
*
|
|
17235
17311
|
* @param {number} page
|
|
@@ -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-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-19T17:53:55+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]
|
package/docs/FriendsApi.md
CHANGED
|
@@ -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<string>** | | (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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-19T17:53:55+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-
|
|
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-19T17:53:55+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-19T18:53:55+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]
|