@gooday_corp/gooday-api-client 1.3.77 → 1.3.81
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 +2 -0
- package/api.ts +172 -14
- package/docs/BusinessVenueDTO.md +4 -2
- package/docs/BusinessVenueDetailsEntity.md +4 -2
- package/docs/BusinessVenueMapDetailsEntity.md +4 -2
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/FindFriendsFavoritesDTO.md +4 -2
- package/docs/FriendsApi.md +51 -0
- package/docs/FriendshipDTO.md +22 -0
- package/docs/FriendshipEntity.md +28 -0
- package/docs/GetBusinessVenueDto.md +4 -2
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -2106,10 +2106,16 @@ export interface BusinessVenueDTO {
|
|
|
2106
2106
|
'timing'?: Array<BusinessTiming>;
|
|
2107
2107
|
/**
|
|
2108
2108
|
*
|
|
2109
|
-
* @type {
|
|
2109
|
+
* @type {number}
|
|
2110
2110
|
* @memberof BusinessVenueDTO
|
|
2111
2111
|
*/
|
|
2112
|
-
'
|
|
2112
|
+
'minPrice': number;
|
|
2113
|
+
/**
|
|
2114
|
+
*
|
|
2115
|
+
* @type {number}
|
|
2116
|
+
* @memberof BusinessVenueDTO
|
|
2117
|
+
*/
|
|
2118
|
+
'maxPrice': number;
|
|
2113
2119
|
/**
|
|
2114
2120
|
*
|
|
2115
2121
|
* @type {LocationDTO}
|
|
@@ -2195,12 +2201,6 @@ export interface BusinessVenueDetailsEntity {
|
|
|
2195
2201
|
* @memberof BusinessVenueDetailsEntity
|
|
2196
2202
|
*/
|
|
2197
2203
|
'coverPhoto': Array<string>;
|
|
2198
|
-
/**
|
|
2199
|
-
*
|
|
2200
|
-
* @type {string}
|
|
2201
|
-
* @memberof BusinessVenueDetailsEntity
|
|
2202
|
-
*/
|
|
2203
|
-
'priceRange': string;
|
|
2204
2204
|
/**
|
|
2205
2205
|
*
|
|
2206
2206
|
* @type {string}
|
|
@@ -2297,6 +2297,18 @@ export interface BusinessVenueDetailsEntity {
|
|
|
2297
2297
|
* @memberof BusinessVenueDetailsEntity
|
|
2298
2298
|
*/
|
|
2299
2299
|
'favoriteCount': number;
|
|
2300
|
+
/**
|
|
2301
|
+
*
|
|
2302
|
+
* @type {number}
|
|
2303
|
+
* @memberof BusinessVenueDetailsEntity
|
|
2304
|
+
*/
|
|
2305
|
+
'minPrice': number;
|
|
2306
|
+
/**
|
|
2307
|
+
*
|
|
2308
|
+
* @type {number}
|
|
2309
|
+
* @memberof BusinessVenueDetailsEntity
|
|
2310
|
+
*/
|
|
2311
|
+
'maxPrice': number;
|
|
2300
2312
|
}
|
|
2301
2313
|
/**
|
|
2302
2314
|
*
|
|
@@ -2441,10 +2453,16 @@ export interface BusinessVenueMapDetailsEntity {
|
|
|
2441
2453
|
'coverPhoto': Array<string>;
|
|
2442
2454
|
/**
|
|
2443
2455
|
*
|
|
2444
|
-
* @type {
|
|
2456
|
+
* @type {number}
|
|
2457
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2458
|
+
*/
|
|
2459
|
+
'minPrice': number;
|
|
2460
|
+
/**
|
|
2461
|
+
*
|
|
2462
|
+
* @type {number}
|
|
2445
2463
|
* @memberof BusinessVenueMapDetailsEntity
|
|
2446
2464
|
*/
|
|
2447
|
-
'
|
|
2465
|
+
'maxPrice': number;
|
|
2448
2466
|
/**
|
|
2449
2467
|
*
|
|
2450
2468
|
* @type {string}
|
|
@@ -4435,10 +4453,16 @@ export interface FindCustomerBookingPayload {
|
|
|
4435
4453
|
export interface FindFriendsFavoritesDTO {
|
|
4436
4454
|
/**
|
|
4437
4455
|
*
|
|
4438
|
-
* @type {
|
|
4456
|
+
* @type {number}
|
|
4457
|
+
* @memberof FindFriendsFavoritesDTO
|
|
4458
|
+
*/
|
|
4459
|
+
'maxPrice'?: number;
|
|
4460
|
+
/**
|
|
4461
|
+
*
|
|
4462
|
+
* @type {number}
|
|
4439
4463
|
* @memberof FindFriendsFavoritesDTO
|
|
4440
4464
|
*/
|
|
4441
|
-
'
|
|
4465
|
+
'minPrice'?: number;
|
|
4442
4466
|
/**
|
|
4443
4467
|
*
|
|
4444
4468
|
* @type {number}
|
|
@@ -4730,6 +4754,62 @@ export interface FriendsResponseDTO {
|
|
|
4730
4754
|
*/
|
|
4731
4755
|
'success': boolean;
|
|
4732
4756
|
}
|
|
4757
|
+
/**
|
|
4758
|
+
*
|
|
4759
|
+
* @export
|
|
4760
|
+
* @interface FriendshipDTO
|
|
4761
|
+
*/
|
|
4762
|
+
export interface FriendshipDTO {
|
|
4763
|
+
/**
|
|
4764
|
+
* statusCode
|
|
4765
|
+
* @type {number}
|
|
4766
|
+
* @memberof FriendshipDTO
|
|
4767
|
+
*/
|
|
4768
|
+
'statusCode': number;
|
|
4769
|
+
/**
|
|
4770
|
+
*
|
|
4771
|
+
* @type {FriendshipEntity}
|
|
4772
|
+
* @memberof FriendshipDTO
|
|
4773
|
+
*/
|
|
4774
|
+
'data': FriendshipEntity;
|
|
4775
|
+
}
|
|
4776
|
+
/**
|
|
4777
|
+
*
|
|
4778
|
+
* @export
|
|
4779
|
+
* @interface FriendshipEntity
|
|
4780
|
+
*/
|
|
4781
|
+
export interface FriendshipEntity {
|
|
4782
|
+
/**
|
|
4783
|
+
* Unique identifier for the user
|
|
4784
|
+
* @type {string}
|
|
4785
|
+
* @memberof FriendshipEntity
|
|
4786
|
+
*/
|
|
4787
|
+
'_id': string;
|
|
4788
|
+
/**
|
|
4789
|
+
*
|
|
4790
|
+
* @type {string}
|
|
4791
|
+
* @memberof FriendshipEntity
|
|
4792
|
+
*/
|
|
4793
|
+
'from': string;
|
|
4794
|
+
/**
|
|
4795
|
+
*
|
|
4796
|
+
* @type {string}
|
|
4797
|
+
* @memberof FriendshipEntity
|
|
4798
|
+
*/
|
|
4799
|
+
'to': string;
|
|
4800
|
+
/**
|
|
4801
|
+
*
|
|
4802
|
+
* @type {string}
|
|
4803
|
+
* @memberof FriendshipEntity
|
|
4804
|
+
*/
|
|
4805
|
+
'status': string;
|
|
4806
|
+
/**
|
|
4807
|
+
*
|
|
4808
|
+
* @type {string}
|
|
4809
|
+
* @memberof FriendshipEntity
|
|
4810
|
+
*/
|
|
4811
|
+
'type': string;
|
|
4812
|
+
}
|
|
4733
4813
|
/**
|
|
4734
4814
|
*
|
|
4735
4815
|
* @export
|
|
@@ -4903,10 +4983,16 @@ export interface GetBusinessVenueDto {
|
|
|
4903
4983
|
'limit'?: number;
|
|
4904
4984
|
/**
|
|
4905
4985
|
*
|
|
4906
|
-
* @type {
|
|
4986
|
+
* @type {number}
|
|
4907
4987
|
* @memberof GetBusinessVenueDto
|
|
4908
4988
|
*/
|
|
4909
|
-
'
|
|
4989
|
+
'maxPrice'?: number;
|
|
4990
|
+
/**
|
|
4991
|
+
*
|
|
4992
|
+
* @type {number}
|
|
4993
|
+
* @memberof GetBusinessVenueDto
|
|
4994
|
+
*/
|
|
4995
|
+
'minPrice'?: number;
|
|
4910
4996
|
/**
|
|
4911
4997
|
*
|
|
4912
4998
|
* @type {number}
|
|
@@ -16856,6 +16942,46 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16856
16942
|
options: localVarRequestOptions,
|
|
16857
16943
|
};
|
|
16858
16944
|
},
|
|
16945
|
+
/**
|
|
16946
|
+
*
|
|
16947
|
+
* @param {string} to
|
|
16948
|
+
* @param {*} [options] Override http request option.
|
|
16949
|
+
* @throws {RequiredError}
|
|
16950
|
+
*/
|
|
16951
|
+
friendControllerGetFriendship: async (to: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16952
|
+
// verify required parameter 'to' is not null or undefined
|
|
16953
|
+
assertParamExists('friendControllerGetFriendship', 'to', to)
|
|
16954
|
+
const localVarPath = `/v1/friend/request`;
|
|
16955
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16956
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16957
|
+
let baseOptions;
|
|
16958
|
+
if (configuration) {
|
|
16959
|
+
baseOptions = configuration.baseOptions;
|
|
16960
|
+
}
|
|
16961
|
+
|
|
16962
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16963
|
+
const localVarHeaderParameter = {} as any;
|
|
16964
|
+
const localVarQueryParameter = {} as any;
|
|
16965
|
+
|
|
16966
|
+
// authentication bearer required
|
|
16967
|
+
// http bearer authentication required
|
|
16968
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16969
|
+
|
|
16970
|
+
if (to !== undefined) {
|
|
16971
|
+
localVarQueryParameter['to'] = to;
|
|
16972
|
+
}
|
|
16973
|
+
|
|
16974
|
+
|
|
16975
|
+
|
|
16976
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16977
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16978
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16979
|
+
|
|
16980
|
+
return {
|
|
16981
|
+
url: toPathString(localVarUrlObj),
|
|
16982
|
+
options: localVarRequestOptions,
|
|
16983
|
+
};
|
|
16984
|
+
},
|
|
16859
16985
|
/**
|
|
16860
16986
|
*
|
|
16861
16987
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -17214,6 +17340,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
17214
17340
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindMutualFriends']?.[localVarOperationServerIndex]?.url;
|
|
17215
17341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17216
17342
|
},
|
|
17343
|
+
/**
|
|
17344
|
+
*
|
|
17345
|
+
* @param {string} to
|
|
17346
|
+
* @param {*} [options] Override http request option.
|
|
17347
|
+
* @throws {RequiredError}
|
|
17348
|
+
*/
|
|
17349
|
+
async friendControllerGetFriendship(to: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipDTO>> {
|
|
17350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendship(to, options);
|
|
17351
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17352
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendship']?.[localVarOperationServerIndex]?.url;
|
|
17353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17354
|
+
},
|
|
17217
17355
|
/**
|
|
17218
17356
|
*
|
|
17219
17357
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -17365,6 +17503,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
17365
17503
|
friendControllerFindMutualFriends(mutualFindFriendRequestPayload: MutualFindFriendRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<MutualFriendsListDTO> {
|
|
17366
17504
|
return localVarFp.friendControllerFindMutualFriends(mutualFindFriendRequestPayload, options).then((request) => request(axios, basePath));
|
|
17367
17505
|
},
|
|
17506
|
+
/**
|
|
17507
|
+
*
|
|
17508
|
+
* @param {string} to
|
|
17509
|
+
* @param {*} [options] Override http request option.
|
|
17510
|
+
* @throws {RequiredError}
|
|
17511
|
+
*/
|
|
17512
|
+
friendControllerGetFriendship(to: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipDTO> {
|
|
17513
|
+
return localVarFp.friendControllerGetFriendship(to, options).then((request) => request(axios, basePath));
|
|
17514
|
+
},
|
|
17368
17515
|
/**
|
|
17369
17516
|
*
|
|
17370
17517
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -17507,6 +17654,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
17507
17654
|
return FriendsApiFp(this.configuration).friendControllerFindMutualFriends(mutualFindFriendRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
17508
17655
|
}
|
|
17509
17656
|
|
|
17657
|
+
/**
|
|
17658
|
+
*
|
|
17659
|
+
* @param {string} to
|
|
17660
|
+
* @param {*} [options] Override http request option.
|
|
17661
|
+
* @throws {RequiredError}
|
|
17662
|
+
* @memberof FriendsApi
|
|
17663
|
+
*/
|
|
17664
|
+
public friendControllerGetFriendship(to: string, options?: RawAxiosRequestConfig) {
|
|
17665
|
+
return FriendsApiFp(this.configuration).friendControllerGetFriendship(to, options).then((request) => request(this.axios, this.basePath));
|
|
17666
|
+
}
|
|
17667
|
+
|
|
17510
17668
|
/**
|
|
17511
17669
|
*
|
|
17512
17670
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
package/docs/BusinessVenueDTO.md
CHANGED
|
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**coverPhoto** | **Array<string>** | coverPhots | [default to undefined]
|
|
9
9
|
**timing** | [**Array<BusinessTiming>**](BusinessTiming.md) | Business Timing | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**minPrice** | **number** | | [default to undefined]
|
|
11
|
+
**maxPrice** | **number** | | [default to undefined]
|
|
11
12
|
**location** | [**LocationDTO**](LocationDTO.md) | | [default to undefined]
|
|
12
13
|
**numberOfEmployee** | **string** | | [default to undefined]
|
|
13
14
|
**keywords** | **Array<string>** | | [default to undefined]
|
|
@@ -28,7 +29,8 @@ import { BusinessVenueDTO } from './api';
|
|
|
28
29
|
const instance: BusinessVenueDTO = {
|
|
29
30
|
coverPhoto,
|
|
30
31
|
timing,
|
|
31
|
-
|
|
32
|
+
minPrice,
|
|
33
|
+
maxPrice,
|
|
32
34
|
location,
|
|
33
35
|
numberOfEmployee,
|
|
34
36
|
keywords,
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**_id** | **string** | Unique identifier for the business venue | [optional] [default to undefined]
|
|
9
9
|
**coverPhoto** | **Array<string>** | coverPhots | [default to undefined]
|
|
10
|
-
**priceRange** | **string** | | [default to undefined]
|
|
11
10
|
**description** | **string** | | [default to undefined]
|
|
12
11
|
**email** | **string** | | [default to undefined]
|
|
13
12
|
**website** | **string** | | [default to undefined]
|
|
@@ -24,6 +23,8 @@ Name | Type | Description | Notes
|
|
|
24
23
|
**timing** | [**Array<BusinessTiming>**](BusinessTiming.md) | | [optional] [default to undefined]
|
|
25
24
|
**currentTime** | [**BusinessTiming**](BusinessTiming.md) | Business Current Timing | [optional] [default to undefined]
|
|
26
25
|
**favoriteCount** | **number** | | [default to undefined]
|
|
26
|
+
**minPrice** | **number** | | [default to undefined]
|
|
27
|
+
**maxPrice** | **number** | | [default to undefined]
|
|
27
28
|
|
|
28
29
|
## Example
|
|
29
30
|
|
|
@@ -33,7 +34,6 @@ import { BusinessVenueDetailsEntity } from './api';
|
|
|
33
34
|
const instance: BusinessVenueDetailsEntity = {
|
|
34
35
|
_id,
|
|
35
36
|
coverPhoto,
|
|
36
|
-
priceRange,
|
|
37
37
|
description,
|
|
38
38
|
email,
|
|
39
39
|
website,
|
|
@@ -50,6 +50,8 @@ const instance: BusinessVenueDetailsEntity = {
|
|
|
50
50
|
timing,
|
|
51
51
|
currentTime,
|
|
52
52
|
favoriteCount,
|
|
53
|
+
minPrice,
|
|
54
|
+
maxPrice,
|
|
53
55
|
};
|
|
54
56
|
```
|
|
55
57
|
|
|
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**_id** | **string** | Unique identifier for the business venue | [optional] [default to undefined]
|
|
9
9
|
**coverPhoto** | **Array<string>** | coverPhots | [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**minPrice** | **number** | | [default to undefined]
|
|
11
|
+
**maxPrice** | **number** | | [default to undefined]
|
|
11
12
|
**description** | **string** | | [default to undefined]
|
|
12
13
|
**name** | **string** | | [default to undefined]
|
|
13
14
|
**business** | **string** | | [default to undefined]
|
|
@@ -21,7 +22,8 @@ import { BusinessVenueMapDetailsEntity } from './api';
|
|
|
21
22
|
const instance: BusinessVenueMapDetailsEntity = {
|
|
22
23
|
_id,
|
|
23
24
|
coverPhoto,
|
|
24
|
-
|
|
25
|
+
minPrice,
|
|
26
|
+
maxPrice,
|
|
25
27
|
description,
|
|
26
28
|
name,
|
|
27
29
|
business,
|
|
@@ -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-26T19:58:59+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,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**maxPrice** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**minPrice** | **number** | | [optional] [default to undefined]
|
|
9
10
|
**people** | **number** | | [optional] [default to undefined]
|
|
10
11
|
**available_today** | **boolean** | | [optional] [default to undefined]
|
|
11
12
|
**distance** | **string** | | [optional] [default to undefined]
|
|
@@ -19,7 +20,8 @@ Name | Type | Description | Notes
|
|
|
19
20
|
import { FindFriendsFavoritesDTO } from './api';
|
|
20
21
|
|
|
21
22
|
const instance: FindFriendsFavoritesDTO = {
|
|
22
|
-
|
|
23
|
+
maxPrice,
|
|
24
|
+
minPrice,
|
|
23
25
|
people,
|
|
24
26
|
available_today,
|
|
25
27
|
distance,
|
package/docs/FriendsApi.md
CHANGED
|
@@ -10,6 +10,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
10
10
|
|[**friendControllerFindFriendConfirmedVenueList**](#friendcontrollerfindfriendconfirmedvenuelist) | **GET** /v1/friend/venue-booked | |
|
|
11
11
|
|[**friendControllerFindFriends**](#friendcontrollerfindfriends) | **GET** /v1/friend/find | |
|
|
12
12
|
|[**friendControllerFindMutualFriends**](#friendcontrollerfindmutualfriends) | **POST** /v1/friend/mutual/list | |
|
|
13
|
+
|[**friendControllerGetFriendship**](#friendcontrollergetfriendship) | **GET** /v1/friend/request | |
|
|
13
14
|
|[**friendControllerGetFriendshipStatus**](#friendcontrollergetfriendshipstatus) | **POST** /v1/friend/status | |
|
|
14
15
|
|[**friendControllerListMyFriends**](#friendcontrollerlistmyfriends) | **POST** /v1/friend/list | |
|
|
15
16
|
|[**friendControllerRemoveFriendById**](#friendcontrollerremovefriendbyid) | **POST** /v1/friend/remove | |
|
|
@@ -321,6 +322,56 @@ const { status, data } = await apiInstance.friendControllerFindMutualFriends(
|
|
|
321
322
|
- **Accept**: application/json
|
|
322
323
|
|
|
323
324
|
|
|
325
|
+
### HTTP response details
|
|
326
|
+
| Status code | Description | Response headers |
|
|
327
|
+
|-------------|-------------|------------------|
|
|
328
|
+
|**200** | | - |
|
|
329
|
+
|
|
330
|
+
[[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)
|
|
331
|
+
|
|
332
|
+
# **friendControllerGetFriendship**
|
|
333
|
+
> FriendshipDTO friendControllerGetFriendship()
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### Example
|
|
337
|
+
|
|
338
|
+
```typescript
|
|
339
|
+
import {
|
|
340
|
+
FriendsApi,
|
|
341
|
+
Configuration
|
|
342
|
+
} from './api';
|
|
343
|
+
|
|
344
|
+
const configuration = new Configuration();
|
|
345
|
+
const apiInstance = new FriendsApi(configuration);
|
|
346
|
+
|
|
347
|
+
let to: string; // (default to undefined)
|
|
348
|
+
|
|
349
|
+
const { status, data } = await apiInstance.friendControllerGetFriendship(
|
|
350
|
+
to
|
|
351
|
+
);
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
### Parameters
|
|
355
|
+
|
|
356
|
+
|Name | Type | Description | Notes|
|
|
357
|
+
|------------- | ------------- | ------------- | -------------|
|
|
358
|
+
| **to** | [**string**] | | defaults to undefined|
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
### Return type
|
|
362
|
+
|
|
363
|
+
**FriendshipDTO**
|
|
364
|
+
|
|
365
|
+
### Authorization
|
|
366
|
+
|
|
367
|
+
[bearer](../README.md#bearer)
|
|
368
|
+
|
|
369
|
+
### HTTP request headers
|
|
370
|
+
|
|
371
|
+
- **Content-Type**: Not defined
|
|
372
|
+
- **Accept**: application/json
|
|
373
|
+
|
|
374
|
+
|
|
324
375
|
### HTTP response details
|
|
325
376
|
| Status code | Description | Response headers |
|
|
326
377
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FriendshipDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**FriendshipEntity**](FriendshipEntity.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendshipDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendshipDTO = {
|
|
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)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# FriendshipEntity
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Unique identifier for the user | [default to undefined]
|
|
9
|
+
**from** | **string** | | [default to undefined]
|
|
10
|
+
**to** | **string** | | [default to undefined]
|
|
11
|
+
**status** | **string** | | [default to undefined]
|
|
12
|
+
**type** | **string** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { FriendshipEntity } from './api';
|
|
18
|
+
|
|
19
|
+
const instance: FriendshipEntity = {
|
|
20
|
+
_id,
|
|
21
|
+
from,
|
|
22
|
+
to,
|
|
23
|
+
status,
|
|
24
|
+
type,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -10,7 +10,8 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**category** | **string** | Business category ID | [optional] [default to undefined]
|
|
11
11
|
**page** | **number** | Page number for pagination | [optional] [default to undefined]
|
|
12
12
|
**limit** | **number** | Number of items per page for pagination | [optional] [default to undefined]
|
|
13
|
-
**
|
|
13
|
+
**maxPrice** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**minPrice** | **number** | | [optional] [default to undefined]
|
|
14
15
|
**people** | **number** | | [optional] [default to undefined]
|
|
15
16
|
**available_today** | **boolean** | | [optional] [default to undefined]
|
|
16
17
|
**distance** | **string** | | [optional] [default to undefined]
|
|
@@ -27,7 +28,8 @@ const instance: GetBusinessVenueDto = {
|
|
|
27
28
|
category,
|
|
28
29
|
page,
|
|
29
30
|
limit,
|
|
30
|
-
|
|
31
|
+
maxPrice,
|
|
32
|
+
minPrice,
|
|
31
33
|
people,
|
|
32
34
|
available_today,
|
|
33
35
|
distance,
|
|
@@ -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-26T19:58:59+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-26T19:58:59+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-26T20:58:59+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]
|