@gooday_corp/gooday-api-client 1.3.35 → 1.3.37
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 +228 -0
- package/docs/BusinessApi.md +44 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/FriendSuggestionResponseDTO.md +22 -0
- package/docs/FriendsApi.md +105 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -138,6 +138,7 @@ docs/FindWhatsOnAndPrepaidService.md
|
|
|
138
138
|
docs/FineCustomerResponseDTO.md
|
|
139
139
|
docs/ForgotPasswordPayloadDTO.md
|
|
140
140
|
docs/ForgotPasswordResponseDTO.md
|
|
141
|
+
docs/FriendSuggestionResponseDTO.md
|
|
141
142
|
docs/FriendsApi.md
|
|
142
143
|
docs/FriendsDTO.md
|
|
143
144
|
docs/FriendsResponseDTO.md
|
package/api.ts
CHANGED
|
@@ -4344,6 +4344,25 @@ export interface ForgotPasswordResponseDTO {
|
|
|
4344
4344
|
*/
|
|
4345
4345
|
'message': string;
|
|
4346
4346
|
}
|
|
4347
|
+
/**
|
|
4348
|
+
*
|
|
4349
|
+
* @export
|
|
4350
|
+
* @interface FriendSuggestionResponseDTO
|
|
4351
|
+
*/
|
|
4352
|
+
export interface FriendSuggestionResponseDTO {
|
|
4353
|
+
/**
|
|
4354
|
+
* statusCode
|
|
4355
|
+
* @type {number}
|
|
4356
|
+
* @memberof FriendSuggestionResponseDTO
|
|
4357
|
+
*/
|
|
4358
|
+
'statusCode': number;
|
|
4359
|
+
/**
|
|
4360
|
+
*
|
|
4361
|
+
* @type {number}
|
|
4362
|
+
* @memberof FriendSuggestionResponseDTO
|
|
4363
|
+
*/
|
|
4364
|
+
'data'?: number;
|
|
4365
|
+
}
|
|
4347
4366
|
/**
|
|
4348
4367
|
*
|
|
4349
4368
|
* @export
|
|
@@ -11984,6 +12003,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11984
12003
|
|
|
11985
12004
|
|
|
11986
12005
|
|
|
12006
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12007
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12008
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12009
|
+
|
|
12010
|
+
return {
|
|
12011
|
+
url: toPathString(localVarUrlObj),
|
|
12012
|
+
options: localVarRequestOptions,
|
|
12013
|
+
};
|
|
12014
|
+
},
|
|
12015
|
+
/**
|
|
12016
|
+
*
|
|
12017
|
+
* @param {*} [options] Override http request option.
|
|
12018
|
+
* @throws {RequiredError}
|
|
12019
|
+
*/
|
|
12020
|
+
businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12021
|
+
const localVarPath = `/v1/business/categories`;
|
|
12022
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12023
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12024
|
+
let baseOptions;
|
|
12025
|
+
if (configuration) {
|
|
12026
|
+
baseOptions = configuration.baseOptions;
|
|
12027
|
+
}
|
|
12028
|
+
|
|
12029
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12030
|
+
const localVarHeaderParameter = {} as any;
|
|
12031
|
+
const localVarQueryParameter = {} as any;
|
|
12032
|
+
|
|
12033
|
+
// authentication bearer required
|
|
12034
|
+
// http bearer authentication required
|
|
12035
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12036
|
+
|
|
12037
|
+
|
|
12038
|
+
|
|
11987
12039
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11988
12040
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11989
12041
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12469,6 +12521,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12469
12521
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
|
|
12470
12522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12471
12523
|
},
|
|
12524
|
+
/**
|
|
12525
|
+
*
|
|
12526
|
+
* @param {*} [options] Override http request option.
|
|
12527
|
+
* @throws {RequiredError}
|
|
12528
|
+
*/
|
|
12529
|
+
async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
|
|
12531
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12532
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
12533
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12534
|
+
},
|
|
12472
12535
|
/**
|
|
12473
12536
|
*
|
|
12474
12537
|
* @param {*} [options] Override http request option.
|
|
@@ -12706,6 +12769,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12706
12769
|
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12707
12770
|
return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
|
|
12708
12771
|
},
|
|
12772
|
+
/**
|
|
12773
|
+
*
|
|
12774
|
+
* @param {*} [options] Override http request option.
|
|
12775
|
+
* @throws {RequiredError}
|
|
12776
|
+
*/
|
|
12777
|
+
businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12778
|
+
return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
|
|
12779
|
+
},
|
|
12709
12780
|
/**
|
|
12710
12781
|
*
|
|
12711
12782
|
* @param {*} [options] Override http request option.
|
|
@@ -12949,6 +13020,16 @@ export class BusinessApi extends BaseAPI {
|
|
|
12949
13020
|
return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
|
|
12950
13021
|
}
|
|
12951
13022
|
|
|
13023
|
+
/**
|
|
13024
|
+
*
|
|
13025
|
+
* @param {*} [options] Override http request option.
|
|
13026
|
+
* @throws {RequiredError}
|
|
13027
|
+
* @memberof BusinessApi
|
|
13028
|
+
*/
|
|
13029
|
+
public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
|
|
13030
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
|
|
13031
|
+
}
|
|
13032
|
+
|
|
12952
13033
|
/**
|
|
12953
13034
|
*
|
|
12954
13035
|
* @param {*} [options] Override http request option.
|
|
@@ -15332,6 +15413,43 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15332
15413
|
options: localVarRequestOptions,
|
|
15333
15414
|
};
|
|
15334
15415
|
},
|
|
15416
|
+
/**
|
|
15417
|
+
*
|
|
15418
|
+
* @param {string} id
|
|
15419
|
+
* @param {*} [options] Override http request option.
|
|
15420
|
+
* @throws {RequiredError}
|
|
15421
|
+
*/
|
|
15422
|
+
friendControllerMutualFriendsCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15423
|
+
// verify required parameter 'id' is not null or undefined
|
|
15424
|
+
assertParamExists('friendControllerMutualFriendsCount', 'id', id)
|
|
15425
|
+
const localVarPath = `/v1/friend/mutual-friends-count/{id}`
|
|
15426
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15428
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15429
|
+
let baseOptions;
|
|
15430
|
+
if (configuration) {
|
|
15431
|
+
baseOptions = configuration.baseOptions;
|
|
15432
|
+
}
|
|
15433
|
+
|
|
15434
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15435
|
+
const localVarHeaderParameter = {} as any;
|
|
15436
|
+
const localVarQueryParameter = {} as any;
|
|
15437
|
+
|
|
15438
|
+
// authentication bearer required
|
|
15439
|
+
// http bearer authentication required
|
|
15440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15441
|
+
|
|
15442
|
+
|
|
15443
|
+
|
|
15444
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15445
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15446
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15447
|
+
|
|
15448
|
+
return {
|
|
15449
|
+
url: toPathString(localVarUrlObj),
|
|
15450
|
+
options: localVarRequestOptions,
|
|
15451
|
+
};
|
|
15452
|
+
},
|
|
15335
15453
|
/**
|
|
15336
15454
|
*
|
|
15337
15455
|
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
@@ -15447,6 +15565,49 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15447
15565
|
options: localVarRequestOptions,
|
|
15448
15566
|
};
|
|
15449
15567
|
},
|
|
15568
|
+
/**
|
|
15569
|
+
*
|
|
15570
|
+
* @param {number} [page]
|
|
15571
|
+
* @param {number} [pageSize]
|
|
15572
|
+
* @param {*} [options] Override http request option.
|
|
15573
|
+
* @throws {RequiredError}
|
|
15574
|
+
*/
|
|
15575
|
+
friendControllerSuggestedFriendList: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15576
|
+
const localVarPath = `/v1/friend/suggested-friends`;
|
|
15577
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15578
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15579
|
+
let baseOptions;
|
|
15580
|
+
if (configuration) {
|
|
15581
|
+
baseOptions = configuration.baseOptions;
|
|
15582
|
+
}
|
|
15583
|
+
|
|
15584
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15585
|
+
const localVarHeaderParameter = {} as any;
|
|
15586
|
+
const localVarQueryParameter = {} as any;
|
|
15587
|
+
|
|
15588
|
+
// authentication bearer required
|
|
15589
|
+
// http bearer authentication required
|
|
15590
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15591
|
+
|
|
15592
|
+
if (page !== undefined) {
|
|
15593
|
+
localVarQueryParameter['page'] = page;
|
|
15594
|
+
}
|
|
15595
|
+
|
|
15596
|
+
if (pageSize !== undefined) {
|
|
15597
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
15598
|
+
}
|
|
15599
|
+
|
|
15600
|
+
|
|
15601
|
+
|
|
15602
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15604
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15605
|
+
|
|
15606
|
+
return {
|
|
15607
|
+
url: toPathString(localVarUrlObj),
|
|
15608
|
+
options: localVarRequestOptions,
|
|
15609
|
+
};
|
|
15610
|
+
},
|
|
15450
15611
|
/**
|
|
15451
15612
|
*
|
|
15452
15613
|
* @param {*} [options] Override http request option.
|
|
@@ -15576,6 +15737,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
15576
15737
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
15577
15738
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15578
15739
|
},
|
|
15740
|
+
/**
|
|
15741
|
+
*
|
|
15742
|
+
* @param {string} id
|
|
15743
|
+
* @param {*} [options] Override http request option.
|
|
15744
|
+
* @throws {RequiredError}
|
|
15745
|
+
*/
|
|
15746
|
+
async friendControllerMutualFriendsCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendSuggestionResponseDTO>> {
|
|
15747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerMutualFriendsCount(id, options);
|
|
15748
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15749
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerMutualFriendsCount']?.[localVarOperationServerIndex]?.url;
|
|
15750
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15751
|
+
},
|
|
15579
15752
|
/**
|
|
15580
15753
|
*
|
|
15581
15754
|
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
@@ -15612,6 +15785,19 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
15612
15785
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
15613
15786
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15614
15787
|
},
|
|
15788
|
+
/**
|
|
15789
|
+
*
|
|
15790
|
+
* @param {number} [page]
|
|
15791
|
+
* @param {number} [pageSize]
|
|
15792
|
+
* @param {*} [options] Override http request option.
|
|
15793
|
+
* @throws {RequiredError}
|
|
15794
|
+
*/
|
|
15795
|
+
async friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
15796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(page, pageSize, options);
|
|
15797
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15798
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSuggestedFriendList']?.[localVarOperationServerIndex]?.url;
|
|
15799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15800
|
+
},
|
|
15615
15801
|
/**
|
|
15616
15802
|
*
|
|
15617
15803
|
* @param {*} [options] Override http request option.
|
|
@@ -15698,6 +15884,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15698
15884
|
friendControllerListMyFriends(findMyFriendRequestPayload: FindMyFriendRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
15699
15885
|
return localVarFp.friendControllerListMyFriends(findMyFriendRequestPayload, options).then((request) => request(axios, basePath));
|
|
15700
15886
|
},
|
|
15887
|
+
/**
|
|
15888
|
+
*
|
|
15889
|
+
* @param {string} id
|
|
15890
|
+
* @param {*} [options] Override http request option.
|
|
15891
|
+
* @throws {RequiredError}
|
|
15892
|
+
*/
|
|
15893
|
+
friendControllerMutualFriendsCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendSuggestionResponseDTO> {
|
|
15894
|
+
return localVarFp.friendControllerMutualFriendsCount(id, options).then((request) => request(axios, basePath));
|
|
15895
|
+
},
|
|
15701
15896
|
/**
|
|
15702
15897
|
*
|
|
15703
15898
|
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
@@ -15725,6 +15920,16 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15725
15920
|
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
15726
15921
|
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
15727
15922
|
},
|
|
15923
|
+
/**
|
|
15924
|
+
*
|
|
15925
|
+
* @param {number} [page]
|
|
15926
|
+
* @param {number} [pageSize]
|
|
15927
|
+
* @param {*} [options] Override http request option.
|
|
15928
|
+
* @throws {RequiredError}
|
|
15929
|
+
*/
|
|
15930
|
+
friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
15931
|
+
return localVarFp.friendControllerSuggestedFriendList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
15932
|
+
},
|
|
15728
15933
|
/**
|
|
15729
15934
|
*
|
|
15730
15935
|
* @param {*} [options] Override http request option.
|
|
@@ -15822,6 +16027,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
15822
16027
|
return FriendsApiFp(this.configuration).friendControllerListMyFriends(findMyFriendRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15823
16028
|
}
|
|
15824
16029
|
|
|
16030
|
+
/**
|
|
16031
|
+
*
|
|
16032
|
+
* @param {string} id
|
|
16033
|
+
* @param {*} [options] Override http request option.
|
|
16034
|
+
* @throws {RequiredError}
|
|
16035
|
+
* @memberof FriendsApi
|
|
16036
|
+
*/
|
|
16037
|
+
public friendControllerMutualFriendsCount(id: string, options?: RawAxiosRequestConfig) {
|
|
16038
|
+
return FriendsApiFp(this.configuration).friendControllerMutualFriendsCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
16039
|
+
}
|
|
16040
|
+
|
|
15825
16041
|
/**
|
|
15826
16042
|
*
|
|
15827
16043
|
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
@@ -15855,6 +16071,18 @@ export class FriendsApi extends BaseAPI {
|
|
|
15855
16071
|
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15856
16072
|
}
|
|
15857
16073
|
|
|
16074
|
+
/**
|
|
16075
|
+
*
|
|
16076
|
+
* @param {number} [page]
|
|
16077
|
+
* @param {number} [pageSize]
|
|
16078
|
+
* @param {*} [options] Override http request option.
|
|
16079
|
+
* @throws {RequiredError}
|
|
16080
|
+
* @memberof FriendsApi
|
|
16081
|
+
*/
|
|
16082
|
+
public friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
16083
|
+
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
16084
|
+
}
|
|
16085
|
+
|
|
15858
16086
|
/**
|
|
15859
16087
|
*
|
|
15860
16088
|
* @param {*} [options] Override http request option.
|
package/docs/BusinessApi.md
CHANGED
|
@@ -19,6 +19,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
19
19
|
|[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
|
|
20
20
|
|[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
|
|
21
21
|
|[**businessTypeControllerHighlyRecommended**](#businesstypecontrollerhighlyrecommended) | **GET** /v1/business/highlyRecommended | |
|
|
22
|
+
|[**businessTypeControllerListAllCategories**](#businesstypecontrollerlistallcategories) | **GET** /v1/business/categories | |
|
|
22
23
|
|[**businessTypeControllerListBookingDurations**](#businesstypecontrollerlistbookingdurations) | **GET** /v1/business/booking-durations | |
|
|
23
24
|
|[**businessTypeControllerListBusinessType**](#businesstypecontrollerlistbusinesstype) | **GET** /v1/business/list{favorite} | |
|
|
24
25
|
|[**businessTypeControllerListCategories**](#businesstypecontrollerlistcategories) | **GET** /v1/business/{businessTypeId}/categories | |
|
|
@@ -749,6 +750,49 @@ const { status, data } = await apiInstance.businessTypeControllerHighlyRecommend
|
|
|
749
750
|
This endpoint does not have any parameters.
|
|
750
751
|
|
|
751
752
|
|
|
753
|
+
### Return type
|
|
754
|
+
|
|
755
|
+
**CategoryListResponse**
|
|
756
|
+
|
|
757
|
+
### Authorization
|
|
758
|
+
|
|
759
|
+
[bearer](../README.md#bearer)
|
|
760
|
+
|
|
761
|
+
### HTTP request headers
|
|
762
|
+
|
|
763
|
+
- **Content-Type**: Not defined
|
|
764
|
+
- **Accept**: application/json
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
### HTTP response details
|
|
768
|
+
| Status code | Description | Response headers |
|
|
769
|
+
|-------------|-------------|------------------|
|
|
770
|
+
|**200** | | - |
|
|
771
|
+
|
|
772
|
+
[[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)
|
|
773
|
+
|
|
774
|
+
# **businessTypeControllerListAllCategories**
|
|
775
|
+
> CategoryListResponse businessTypeControllerListAllCategories()
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
### Example
|
|
779
|
+
|
|
780
|
+
```typescript
|
|
781
|
+
import {
|
|
782
|
+
BusinessApi,
|
|
783
|
+
Configuration
|
|
784
|
+
} from './api';
|
|
785
|
+
|
|
786
|
+
const configuration = new Configuration();
|
|
787
|
+
const apiInstance = new BusinessApi(configuration);
|
|
788
|
+
|
|
789
|
+
const { status, data } = await apiInstance.businessTypeControllerListAllCategories();
|
|
790
|
+
```
|
|
791
|
+
|
|
792
|
+
### Parameters
|
|
793
|
+
This endpoint does not have any parameters.
|
|
794
|
+
|
|
795
|
+
|
|
752
796
|
### Return type
|
|
753
797
|
|
|
754
798
|
**CategoryListResponse**
|
|
@@ -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-04-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-04-29T13:53:15+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]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FriendSuggestionResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendSuggestionResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendSuggestionResponseDTO = {
|
|
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)
|
package/docs/FriendsApi.md
CHANGED
|
@@ -11,9 +11,11 @@ All URIs are relative to *http://localhost:8080*
|
|
|
11
11
|
|[**friendControllerFindMutualFriends**](#friendcontrollerfindmutualfriends) | **POST** /v1/friend/mutual/list | |
|
|
12
12
|
|[**friendControllerGetFriendshipStatus**](#friendcontrollergetfriendshipstatus) | **POST** /v1/friend/status | |
|
|
13
13
|
|[**friendControllerListMyFriends**](#friendcontrollerlistmyfriends) | **POST** /v1/friend/list | |
|
|
14
|
+
|[**friendControllerMutualFriendsCount**](#friendcontrollermutualfriendscount) | **GET** /v1/friend/mutual-friends-count/{id} | |
|
|
14
15
|
|[**friendControllerRemoveFriendById**](#friendcontrollerremovefriendbyid) | **POST** /v1/friend/remove | |
|
|
15
16
|
|[**friendControllerRemoveMutualFriend**](#friendcontrollerremovemutualfriend) | **DELETE** /v1/friend/mutual/{id} | |
|
|
16
17
|
|[**friendControllerSendFriendRequest**](#friendcontrollersendfriendrequest) | **POST** /v1/friend/send-request | |
|
|
18
|
+
|[**friendControllerSuggestedFriendList**](#friendcontrollersuggestedfriendlist) | **GET** /v1/friend/suggested-friends | |
|
|
17
19
|
|[**friendControllerTodayAvailableFriends**](#friendcontrollertodayavailablefriends) | **GET** /v1/friend/today/available/friends | |
|
|
18
20
|
|
|
19
21
|
# **friendControllerApproveFriendRequest**
|
|
@@ -371,6 +373,56 @@ const { status, data } = await apiInstance.friendControllerListMyFriends(
|
|
|
371
373
|
- **Accept**: application/json
|
|
372
374
|
|
|
373
375
|
|
|
376
|
+
### HTTP response details
|
|
377
|
+
| Status code | Description | Response headers |
|
|
378
|
+
|-------------|-------------|------------------|
|
|
379
|
+
|**200** | | - |
|
|
380
|
+
|
|
381
|
+
[[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)
|
|
382
|
+
|
|
383
|
+
# **friendControllerMutualFriendsCount**
|
|
384
|
+
> FriendSuggestionResponseDTO friendControllerMutualFriendsCount()
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
### Example
|
|
388
|
+
|
|
389
|
+
```typescript
|
|
390
|
+
import {
|
|
391
|
+
FriendsApi,
|
|
392
|
+
Configuration
|
|
393
|
+
} from './api';
|
|
394
|
+
|
|
395
|
+
const configuration = new Configuration();
|
|
396
|
+
const apiInstance = new FriendsApi(configuration);
|
|
397
|
+
|
|
398
|
+
let id: string; // (default to undefined)
|
|
399
|
+
|
|
400
|
+
const { status, data } = await apiInstance.friendControllerMutualFriendsCount(
|
|
401
|
+
id
|
|
402
|
+
);
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
### Parameters
|
|
406
|
+
|
|
407
|
+
|Name | Type | Description | Notes|
|
|
408
|
+
|------------- | ------------- | ------------- | -------------|
|
|
409
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
### Return type
|
|
413
|
+
|
|
414
|
+
**FriendSuggestionResponseDTO**
|
|
415
|
+
|
|
416
|
+
### Authorization
|
|
417
|
+
|
|
418
|
+
[bearer](../README.md#bearer)
|
|
419
|
+
|
|
420
|
+
### HTTP request headers
|
|
421
|
+
|
|
422
|
+
- **Content-Type**: Not defined
|
|
423
|
+
- **Accept**: application/json
|
|
424
|
+
|
|
425
|
+
|
|
374
426
|
### HTTP response details
|
|
375
427
|
| Status code | Description | Response headers |
|
|
376
428
|
|-------------|-------------|------------------|
|
|
@@ -523,6 +575,59 @@ const { status, data } = await apiInstance.friendControllerSendFriendRequest(
|
|
|
523
575
|
- **Accept**: application/json
|
|
524
576
|
|
|
525
577
|
|
|
578
|
+
### HTTP response details
|
|
579
|
+
| Status code | Description | Response headers |
|
|
580
|
+
|-------------|-------------|------------------|
|
|
581
|
+
|**200** | | - |
|
|
582
|
+
|
|
583
|
+
[[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)
|
|
584
|
+
|
|
585
|
+
# **friendControllerSuggestedFriendList**
|
|
586
|
+
> FriendsDTO friendControllerSuggestedFriendList()
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
### Example
|
|
590
|
+
|
|
591
|
+
```typescript
|
|
592
|
+
import {
|
|
593
|
+
FriendsApi,
|
|
594
|
+
Configuration
|
|
595
|
+
} from './api';
|
|
596
|
+
|
|
597
|
+
const configuration = new Configuration();
|
|
598
|
+
const apiInstance = new FriendsApi(configuration);
|
|
599
|
+
|
|
600
|
+
let page: number; // (optional) (default to undefined)
|
|
601
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
602
|
+
|
|
603
|
+
const { status, data } = await apiInstance.friendControllerSuggestedFriendList(
|
|
604
|
+
page,
|
|
605
|
+
pageSize
|
|
606
|
+
);
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
### Parameters
|
|
610
|
+
|
|
611
|
+
|Name | Type | Description | Notes|
|
|
612
|
+
|------------- | ------------- | ------------- | -------------|
|
|
613
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
614
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
### Return type
|
|
618
|
+
|
|
619
|
+
**FriendsDTO**
|
|
620
|
+
|
|
621
|
+
### Authorization
|
|
622
|
+
|
|
623
|
+
[bearer](../README.md#bearer)
|
|
624
|
+
|
|
625
|
+
### HTTP request headers
|
|
626
|
+
|
|
627
|
+
- **Content-Type**: Not defined
|
|
628
|
+
- **Accept**: application/json
|
|
629
|
+
|
|
630
|
+
|
|
526
631
|
### HTTP response details
|
|
527
632
|
| Status code | Description | Response headers |
|
|
528
633
|
|-------------|-------------|------------------|
|
|
@@ -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-04-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-04-29T13:53:15+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-04-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-04-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-04-29T13:53:15+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-04-29T14:53:15+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]
|