@gooday_corp/gooday-api-client 2.2.6 → 2.2.9
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 +1 -0
- package/api.ts +181 -0
- package/docs/CalendarSlots.md +2 -0
- package/docs/ContactsApi.md +57 -0
- package/docs/CreateBookingPayload.md +2 -2
- package/docs/FriendsFavoriteVenueResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UsersApi.md +51 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -3170,6 +3170,12 @@ export interface CalendarSlots {
|
|
|
3170
3170
|
* @memberof CalendarSlots
|
|
3171
3171
|
*/
|
|
3172
3172
|
'end': string;
|
|
3173
|
+
/**
|
|
3174
|
+
* Slot is available or not
|
|
3175
|
+
* @type {boolean}
|
|
3176
|
+
* @memberof CalendarSlots
|
|
3177
|
+
*/
|
|
3178
|
+
'isBusinessAvailable': boolean;
|
|
3173
3179
|
/**
|
|
3174
3180
|
* Slot is available or not
|
|
3175
3181
|
* @type {boolean}
|
|
@@ -5243,6 +5249,25 @@ export interface FriendsDTO {
|
|
|
5243
5249
|
*/
|
|
5244
5250
|
'data': Array<UserEntity>;
|
|
5245
5251
|
}
|
|
5252
|
+
/**
|
|
5253
|
+
*
|
|
5254
|
+
* @export
|
|
5255
|
+
* @interface FriendsFavoriteVenueResponseDTO
|
|
5256
|
+
*/
|
|
5257
|
+
export interface FriendsFavoriteVenueResponseDTO {
|
|
5258
|
+
/**
|
|
5259
|
+
* statusCode
|
|
5260
|
+
* @type {number}
|
|
5261
|
+
* @memberof FriendsFavoriteVenueResponseDTO
|
|
5262
|
+
*/
|
|
5263
|
+
'statusCode': number;
|
|
5264
|
+
/**
|
|
5265
|
+
*
|
|
5266
|
+
* @type {Array<UserEntity>}
|
|
5267
|
+
* @memberof FriendsFavoriteVenueResponseDTO
|
|
5268
|
+
*/
|
|
5269
|
+
'data'?: Array<UserEntity>;
|
|
5270
|
+
}
|
|
5246
5271
|
/**
|
|
5247
5272
|
*
|
|
5248
5273
|
* @export
|
|
@@ -17430,6 +17455,54 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17430
17455
|
|
|
17431
17456
|
|
|
17432
17457
|
|
|
17458
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17459
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17460
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17461
|
+
|
|
17462
|
+
return {
|
|
17463
|
+
url: toPathString(localVarUrlObj),
|
|
17464
|
+
options: localVarRequestOptions,
|
|
17465
|
+
};
|
|
17466
|
+
},
|
|
17467
|
+
/**
|
|
17468
|
+
*
|
|
17469
|
+
* @param {string} [search]
|
|
17470
|
+
* @param {number} [page]
|
|
17471
|
+
* @param {number} [pageSize]
|
|
17472
|
+
* @param {*} [options] Override http request option.
|
|
17473
|
+
* @throws {RequiredError}
|
|
17474
|
+
*/
|
|
17475
|
+
contactsControllerFindContactsSuggestion: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17476
|
+
const localVarPath = `/v1/contacts/suggestion`;
|
|
17477
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17478
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17479
|
+
let baseOptions;
|
|
17480
|
+
if (configuration) {
|
|
17481
|
+
baseOptions = configuration.baseOptions;
|
|
17482
|
+
}
|
|
17483
|
+
|
|
17484
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17485
|
+
const localVarHeaderParameter = {} as any;
|
|
17486
|
+
const localVarQueryParameter = {} as any;
|
|
17487
|
+
|
|
17488
|
+
// authentication bearer required
|
|
17489
|
+
// http bearer authentication required
|
|
17490
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17491
|
+
|
|
17492
|
+
if (search !== undefined) {
|
|
17493
|
+
localVarQueryParameter['search'] = search;
|
|
17494
|
+
}
|
|
17495
|
+
|
|
17496
|
+
if (page !== undefined) {
|
|
17497
|
+
localVarQueryParameter['page'] = page;
|
|
17498
|
+
}
|
|
17499
|
+
|
|
17500
|
+
if (pageSize !== undefined) {
|
|
17501
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
17502
|
+
}
|
|
17503
|
+
|
|
17504
|
+
|
|
17505
|
+
|
|
17433
17506
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17434
17507
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17435
17508
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17486,6 +17559,20 @@ export const ContactsApiFp = function(configuration?: Configuration) {
|
|
|
17486
17559
|
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContacts']?.[localVarOperationServerIndex]?.url;
|
|
17487
17560
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17488
17561
|
},
|
|
17562
|
+
/**
|
|
17563
|
+
*
|
|
17564
|
+
* @param {string} [search]
|
|
17565
|
+
* @param {number} [page]
|
|
17566
|
+
* @param {number} [pageSize]
|
|
17567
|
+
* @param {*} [options] Override http request option.
|
|
17568
|
+
* @throws {RequiredError}
|
|
17569
|
+
*/
|
|
17570
|
+
async contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsResponseDTO>> {
|
|
17571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerFindContactsSuggestion(search, page, pageSize, options);
|
|
17572
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17573
|
+
const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerFindContactsSuggestion']?.[localVarOperationServerIndex]?.url;
|
|
17574
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17575
|
+
},
|
|
17489
17576
|
}
|
|
17490
17577
|
};
|
|
17491
17578
|
|
|
@@ -17524,6 +17611,17 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17524
17611
|
contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17525
17612
|
return localVarFp.contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
17526
17613
|
},
|
|
17614
|
+
/**
|
|
17615
|
+
*
|
|
17616
|
+
* @param {string} [search]
|
|
17617
|
+
* @param {number} [page]
|
|
17618
|
+
* @param {number} [pageSize]
|
|
17619
|
+
* @param {*} [options] Override http request option.
|
|
17620
|
+
* @throws {RequiredError}
|
|
17621
|
+
*/
|
|
17622
|
+
contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ContactsResponseDTO> {
|
|
17623
|
+
return localVarFp.contactsControllerFindContactsSuggestion(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
17624
|
+
},
|
|
17527
17625
|
};
|
|
17528
17626
|
};
|
|
17529
17627
|
|
|
@@ -17567,6 +17665,19 @@ export class ContactsApi extends BaseAPI {
|
|
|
17567
17665
|
public contactsControllerFindContacts(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
17568
17666
|
return ContactsApiFp(this.configuration).contactsControllerFindContacts(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17569
17667
|
}
|
|
17668
|
+
|
|
17669
|
+
/**
|
|
17670
|
+
*
|
|
17671
|
+
* @param {string} [search]
|
|
17672
|
+
* @param {number} [page]
|
|
17673
|
+
* @param {number} [pageSize]
|
|
17674
|
+
* @param {*} [options] Override http request option.
|
|
17675
|
+
* @throws {RequiredError}
|
|
17676
|
+
* @memberof ContactsApi
|
|
17677
|
+
*/
|
|
17678
|
+
public contactsControllerFindContactsSuggestion(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
17679
|
+
return ContactsApiFp(this.configuration).contactsControllerFindContactsSuggestion(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17680
|
+
}
|
|
17570
17681
|
}
|
|
17571
17682
|
|
|
17572
17683
|
|
|
@@ -25232,6 +25343,44 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
25232
25343
|
|
|
25233
25344
|
|
|
25234
25345
|
|
|
25346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25349
|
+
|
|
25350
|
+
return {
|
|
25351
|
+
url: toPathString(localVarUrlObj),
|
|
25352
|
+
options: localVarRequestOptions,
|
|
25353
|
+
};
|
|
25354
|
+
},
|
|
25355
|
+
/**
|
|
25356
|
+
*
|
|
25357
|
+
* @param {Array<string>} [venues]
|
|
25358
|
+
* @param {*} [options] Override http request option.
|
|
25359
|
+
* @throws {RequiredError}
|
|
25360
|
+
*/
|
|
25361
|
+
usersControllerFindFriendConfirmedVenueList: async (venues?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25362
|
+
const localVarPath = `/v1/user/venue/favorites/user`;
|
|
25363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25365
|
+
let baseOptions;
|
|
25366
|
+
if (configuration) {
|
|
25367
|
+
baseOptions = configuration.baseOptions;
|
|
25368
|
+
}
|
|
25369
|
+
|
|
25370
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25371
|
+
const localVarHeaderParameter = {} as any;
|
|
25372
|
+
const localVarQueryParameter = {} as any;
|
|
25373
|
+
|
|
25374
|
+
// authentication bearer required
|
|
25375
|
+
// http bearer authentication required
|
|
25376
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25377
|
+
|
|
25378
|
+
if (venues) {
|
|
25379
|
+
localVarQueryParameter['venues'] = venues;
|
|
25380
|
+
}
|
|
25381
|
+
|
|
25382
|
+
|
|
25383
|
+
|
|
25235
25384
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25236
25385
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25237
25386
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -25615,6 +25764,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
25615
25764
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
25616
25765
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25617
25766
|
},
|
|
25767
|
+
/**
|
|
25768
|
+
*
|
|
25769
|
+
* @param {Array<string>} [venues]
|
|
25770
|
+
* @param {*} [options] Override http request option.
|
|
25771
|
+
* @throws {RequiredError}
|
|
25772
|
+
*/
|
|
25773
|
+
async usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsFavoriteVenueResponseDTO>> {
|
|
25774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerFindFriendConfirmedVenueList(venues, options);
|
|
25775
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25776
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerFindFriendConfirmedVenueList']?.[localVarOperationServerIndex]?.url;
|
|
25777
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25778
|
+
},
|
|
25618
25779
|
/**
|
|
25619
25780
|
*
|
|
25620
25781
|
* @param {*} [options] Override http request option.
|
|
@@ -25755,6 +25916,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
25755
25916
|
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
25756
25917
|
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
25757
25918
|
},
|
|
25919
|
+
/**
|
|
25920
|
+
*
|
|
25921
|
+
* @param {Array<string>} [venues]
|
|
25922
|
+
* @param {*} [options] Override http request option.
|
|
25923
|
+
* @throws {RequiredError}
|
|
25924
|
+
*/
|
|
25925
|
+
usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<FriendsFavoriteVenueResponseDTO> {
|
|
25926
|
+
return localVarFp.usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(axios, basePath));
|
|
25927
|
+
},
|
|
25758
25928
|
/**
|
|
25759
25929
|
*
|
|
25760
25930
|
* @param {*} [options] Override http request option.
|
|
@@ -25874,6 +26044,17 @@ export class UsersApi extends BaseAPI {
|
|
|
25874
26044
|
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
25875
26045
|
}
|
|
25876
26046
|
|
|
26047
|
+
/**
|
|
26048
|
+
*
|
|
26049
|
+
* @param {Array<string>} [venues]
|
|
26050
|
+
* @param {*} [options] Override http request option.
|
|
26051
|
+
* @throws {RequiredError}
|
|
26052
|
+
* @memberof UsersApi
|
|
26053
|
+
*/
|
|
26054
|
+
public usersControllerFindFriendConfirmedVenueList(venues?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
26055
|
+
return UsersApiFp(this.configuration).usersControllerFindFriendConfirmedVenueList(venues, options).then((request) => request(this.axios, this.basePath));
|
|
26056
|
+
}
|
|
26057
|
+
|
|
25877
26058
|
/**
|
|
25878
26059
|
*
|
|
25879
26060
|
* @param {*} [options] Override http request option.
|
package/docs/CalendarSlots.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**start** | **string** | start | [default to undefined]
|
|
9
9
|
**end** | **string** | end | [default to undefined]
|
|
10
|
+
**isBusinessAvailable** | **boolean** | Slot is available or not | [default to undefined]
|
|
10
11
|
**isAvailable** | **boolean** | Slot is available or not | [default to undefined]
|
|
11
12
|
**unavailableFriends** | **Array<object>** | Friends unavailable for this slot | [default to undefined]
|
|
12
13
|
**unavailableStaffs** | [**Array<BusinessStaffEntity>**](BusinessStaffEntity.md) | Staffs unavailable for this slot | [default to undefined]
|
|
@@ -19,6 +20,7 @@ import { CalendarSlots } from './api';
|
|
|
19
20
|
const instance: CalendarSlots = {
|
|
20
21
|
start,
|
|
21
22
|
end,
|
|
23
|
+
isBusinessAvailable,
|
|
22
24
|
isAvailable,
|
|
23
25
|
unavailableFriends,
|
|
24
26
|
unavailableStaffs,
|
package/docs/ContactsApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**contactsControllerAddContacts**](#contactscontrolleraddcontacts) | **POST** /v1/contacts | |
|
|
8
8
|
|[**contactsControllerContactStatus**](#contactscontrollercontactstatus) | **POST** /v1/contacts/status | |
|
|
9
9
|
|[**contactsControllerFindContacts**](#contactscontrollerfindcontacts) | **GET** /v1/contacts | |
|
|
10
|
+
|[**contactsControllerFindContactsSuggestion**](#contactscontrollerfindcontactssuggestion) | **GET** /v1/contacts/suggestion | |
|
|
10
11
|
|
|
11
12
|
# **contactsControllerAddContacts**
|
|
12
13
|
> ContactResponseDTO contactsControllerAddContacts(contactsPayloadDTO)
|
|
@@ -157,3 +158,59 @@ const { status, data } = await apiInstance.contactsControllerFindContacts(
|
|
|
157
158
|
|
|
158
159
|
[[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)
|
|
159
160
|
|
|
161
|
+
# **contactsControllerFindContactsSuggestion**
|
|
162
|
+
> ContactsResponseDTO contactsControllerFindContactsSuggestion()
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### Example
|
|
166
|
+
|
|
167
|
+
```typescript
|
|
168
|
+
import {
|
|
169
|
+
ContactsApi,
|
|
170
|
+
Configuration
|
|
171
|
+
} from './api';
|
|
172
|
+
|
|
173
|
+
const configuration = new Configuration();
|
|
174
|
+
const apiInstance = new ContactsApi(configuration);
|
|
175
|
+
|
|
176
|
+
let search: string; // (optional) (default to undefined)
|
|
177
|
+
let page: number; // (optional) (default to undefined)
|
|
178
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
179
|
+
|
|
180
|
+
const { status, data } = await apiInstance.contactsControllerFindContactsSuggestion(
|
|
181
|
+
search,
|
|
182
|
+
page,
|
|
183
|
+
pageSize
|
|
184
|
+
);
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Parameters
|
|
188
|
+
|
|
189
|
+
|Name | Type | Description | Notes|
|
|
190
|
+
|------------- | ------------- | ------------- | -------------|
|
|
191
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
192
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
193
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Return type
|
|
197
|
+
|
|
198
|
+
**ContactsResponseDTO**
|
|
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
|
+
|
|
@@ -6,8 +6,8 @@
|
|
|
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-09-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-11T17:16:29+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-11T17:16:29+05:30]
|
|
11
11
|
**from** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**to** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FriendsFavoriteVenueResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<UserEntity>**](UserEntity.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendsFavoriteVenueResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendsFavoriteVenueResponseDTO = {
|
|
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,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-09-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-11T17:16:29+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**notes** | **string** | | [optional] [default to undefined]
|
package/docs/UsersApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**usersControllerAccountDelete**](#userscontrolleraccountdelete) | **DELETE** /v1/user/delete | |
|
|
8
8
|
|[**usersControllerAddToWaitingList**](#userscontrolleraddtowaitinglist) | **POST** /v1/user/joining-list | |
|
|
9
9
|
|[**usersControllerDeactivateAccount**](#userscontrollerdeactivateaccount) | **DELETE** /v1/user/deactivate | |
|
|
10
|
+
|[**usersControllerFindFriendConfirmedVenueList**](#userscontrollerfindfriendconfirmedvenuelist) | **GET** /v1/user/venue/favorites/user | |
|
|
10
11
|
|[**usersControllerGetMe**](#userscontrollergetme) | **GET** /v1/user/me | |
|
|
11
12
|
|[**usersControllerGetUser**](#userscontrollergetuser) | **POST** /v1/user/get-user | |
|
|
12
13
|
|[**usersControllerOnBoarded**](#userscontrolleronboarded) | **POST** /v1/user/onboarding | |
|
|
@@ -147,6 +148,56 @@ This endpoint does not have any parameters.
|
|
|
147
148
|
- **Accept**: application/json
|
|
148
149
|
|
|
149
150
|
|
|
151
|
+
### HTTP response details
|
|
152
|
+
| Status code | Description | Response headers |
|
|
153
|
+
|-------------|-------------|------------------|
|
|
154
|
+
|**200** | | - |
|
|
155
|
+
|
|
156
|
+
[[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)
|
|
157
|
+
|
|
158
|
+
# **usersControllerFindFriendConfirmedVenueList**
|
|
159
|
+
> FriendsFavoriteVenueResponseDTO usersControllerFindFriendConfirmedVenueList()
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Example
|
|
163
|
+
|
|
164
|
+
```typescript
|
|
165
|
+
import {
|
|
166
|
+
UsersApi,
|
|
167
|
+
Configuration
|
|
168
|
+
} from './api';
|
|
169
|
+
|
|
170
|
+
const configuration = new Configuration();
|
|
171
|
+
const apiInstance = new UsersApi(configuration);
|
|
172
|
+
|
|
173
|
+
let venues: Array<string>; // (optional) (default to undefined)
|
|
174
|
+
|
|
175
|
+
const { status, data } = await apiInstance.usersControllerFindFriendConfirmedVenueList(
|
|
176
|
+
venues
|
|
177
|
+
);
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Parameters
|
|
181
|
+
|
|
182
|
+
|Name | Type | Description | Notes|
|
|
183
|
+
|------------- | ------------- | ------------- | -------------|
|
|
184
|
+
| **venues** | **Array<string>** | | (optional) defaults to undefined|
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Return type
|
|
188
|
+
|
|
189
|
+
**FriendsFavoriteVenueResponseDTO**
|
|
190
|
+
|
|
191
|
+
### Authorization
|
|
192
|
+
|
|
193
|
+
[bearer](../README.md#bearer)
|
|
194
|
+
|
|
195
|
+
### HTTP request headers
|
|
196
|
+
|
|
197
|
+
- **Content-Type**: Not defined
|
|
198
|
+
- **Accept**: application/json
|
|
199
|
+
|
|
200
|
+
|
|
150
201
|
### HTTP response details
|
|
151
202
|
| Status code | Description | Response headers |
|
|
152
203
|
|-------------|-------------|------------------|
|
|
@@ -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-09-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-09-11T17:16:29+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-11T18:16:29+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]
|