@gooday_corp/gooday-api-client 1.3.66 → 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/.openapi-generator/FILES +3 -0
- package/api.ts +276 -0
- package/docs/BusinessApi.md +52 -0
- package/docs/BusinessVenueMapDTO.md +38 -0
- package/docs/BusinessVenueMapDetailsEntity.md +32 -0
- package/docs/BusinessVenueMapResponseDTO.md +22 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/FriendsApi.md +51 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -73,6 +73,9 @@ docs/BusinessVenueDTO.md
|
|
|
73
73
|
docs/BusinessVenueDetailsEntity.md
|
|
74
74
|
docs/BusinessVenueListResponse.md
|
|
75
75
|
docs/BusinessVenueListResponseDTO.md
|
|
76
|
+
docs/BusinessVenueMapDTO.md
|
|
77
|
+
docs/BusinessVenueMapDetailsEntity.md
|
|
78
|
+
docs/BusinessVenueMapResponseDTO.md
|
|
76
79
|
docs/BusinessVenueResponseDTO.md
|
|
77
80
|
docs/BusinessVenueTimingPayload.md
|
|
78
81
|
docs/BusinessVerificationEntity.md
|
package/api.ts
CHANGED
|
@@ -2336,6 +2336,141 @@ export interface BusinessVenueListResponseDTO {
|
|
|
2336
2336
|
*/
|
|
2337
2337
|
'data': BusinessVenueListResponse;
|
|
2338
2338
|
}
|
|
2339
|
+
/**
|
|
2340
|
+
*
|
|
2341
|
+
* @export
|
|
2342
|
+
* @interface BusinessVenueMapDTO
|
|
2343
|
+
*/
|
|
2344
|
+
export interface BusinessVenueMapDTO {
|
|
2345
|
+
/**
|
|
2346
|
+
* Business name search
|
|
2347
|
+
* @type {string}
|
|
2348
|
+
* @memberof BusinessVenueMapDTO
|
|
2349
|
+
*/
|
|
2350
|
+
'search'?: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* Business category ID
|
|
2353
|
+
* @type {Array<string>}
|
|
2354
|
+
* @memberof BusinessVenueMapDTO
|
|
2355
|
+
*/
|
|
2356
|
+
'category'?: Array<string>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Page number for pagination
|
|
2359
|
+
* @type {number}
|
|
2360
|
+
* @memberof BusinessVenueMapDTO
|
|
2361
|
+
*/
|
|
2362
|
+
'page'?: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* Number of items per page for pagination
|
|
2365
|
+
* @type {number}
|
|
2366
|
+
* @memberof BusinessVenueMapDTO
|
|
2367
|
+
*/
|
|
2368
|
+
'limit'?: number;
|
|
2369
|
+
/**
|
|
2370
|
+
*
|
|
2371
|
+
* @type {string}
|
|
2372
|
+
* @memberof BusinessVenueMapDTO
|
|
2373
|
+
*/
|
|
2374
|
+
'price'?: string;
|
|
2375
|
+
/**
|
|
2376
|
+
*
|
|
2377
|
+
* @type {number}
|
|
2378
|
+
* @memberof BusinessVenueMapDTO
|
|
2379
|
+
*/
|
|
2380
|
+
'people'?: number;
|
|
2381
|
+
/**
|
|
2382
|
+
*
|
|
2383
|
+
* @type {string}
|
|
2384
|
+
* @memberof BusinessVenueMapDTO
|
|
2385
|
+
*/
|
|
2386
|
+
'distance'?: string;
|
|
2387
|
+
/**
|
|
2388
|
+
* Start date for the events
|
|
2389
|
+
* @type {string}
|
|
2390
|
+
* @memberof BusinessVenueMapDTO
|
|
2391
|
+
*/
|
|
2392
|
+
'date'?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
*
|
|
2395
|
+
* @type {string}
|
|
2396
|
+
* @memberof BusinessVenueMapDTO
|
|
2397
|
+
*/
|
|
2398
|
+
'from'?: string;
|
|
2399
|
+
/**
|
|
2400
|
+
*
|
|
2401
|
+
* @type {string}
|
|
2402
|
+
* @memberof BusinessVenueMapDTO
|
|
2403
|
+
*/
|
|
2404
|
+
'to'?: string;
|
|
2405
|
+
}
|
|
2406
|
+
/**
|
|
2407
|
+
*
|
|
2408
|
+
* @export
|
|
2409
|
+
* @interface BusinessVenueMapDetailsEntity
|
|
2410
|
+
*/
|
|
2411
|
+
export interface BusinessVenueMapDetailsEntity {
|
|
2412
|
+
/**
|
|
2413
|
+
* Unique identifier for the business venue
|
|
2414
|
+
* @type {string}
|
|
2415
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2416
|
+
*/
|
|
2417
|
+
'_id'?: string;
|
|
2418
|
+
/**
|
|
2419
|
+
* coverPhots
|
|
2420
|
+
* @type {Array<string>}
|
|
2421
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2422
|
+
*/
|
|
2423
|
+
'coverPhoto': Array<string>;
|
|
2424
|
+
/**
|
|
2425
|
+
*
|
|
2426
|
+
* @type {string}
|
|
2427
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2428
|
+
*/
|
|
2429
|
+
'priceRange': string;
|
|
2430
|
+
/**
|
|
2431
|
+
*
|
|
2432
|
+
* @type {string}
|
|
2433
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2434
|
+
*/
|
|
2435
|
+
'description': string;
|
|
2436
|
+
/**
|
|
2437
|
+
*
|
|
2438
|
+
* @type {string}
|
|
2439
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2440
|
+
*/
|
|
2441
|
+
'name': string;
|
|
2442
|
+
/**
|
|
2443
|
+
*
|
|
2444
|
+
* @type {string}
|
|
2445
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2446
|
+
*/
|
|
2447
|
+
'business': string;
|
|
2448
|
+
/**
|
|
2449
|
+
*
|
|
2450
|
+
* @type {LocationDTO}
|
|
2451
|
+
* @memberof BusinessVenueMapDetailsEntity
|
|
2452
|
+
*/
|
|
2453
|
+
'location': LocationDTO;
|
|
2454
|
+
}
|
|
2455
|
+
/**
|
|
2456
|
+
*
|
|
2457
|
+
* @export
|
|
2458
|
+
* @interface BusinessVenueMapResponseDTO
|
|
2459
|
+
*/
|
|
2460
|
+
export interface BusinessVenueMapResponseDTO {
|
|
2461
|
+
/**
|
|
2462
|
+
* statusCode
|
|
2463
|
+
* @type {number}
|
|
2464
|
+
* @memberof BusinessVenueMapResponseDTO
|
|
2465
|
+
*/
|
|
2466
|
+
'statusCode': number;
|
|
2467
|
+
/**
|
|
2468
|
+
* Business verification
|
|
2469
|
+
* @type {Array<BusinessVenueMapDetailsEntity>}
|
|
2470
|
+
* @memberof BusinessVenueMapResponseDTO
|
|
2471
|
+
*/
|
|
2472
|
+
'data': Array<BusinessVenueMapDetailsEntity>;
|
|
2473
|
+
}
|
|
2339
2474
|
/**
|
|
2340
2475
|
*
|
|
2341
2476
|
* @export
|
|
@@ -12690,6 +12825,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12690
12825
|
options: localVarRequestOptions,
|
|
12691
12826
|
};
|
|
12692
12827
|
},
|
|
12828
|
+
/**
|
|
12829
|
+
*
|
|
12830
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
12831
|
+
* @param {*} [options] Override http request option.
|
|
12832
|
+
* @throws {RequiredError}
|
|
12833
|
+
*/
|
|
12834
|
+
businessTypeControllerBusinessVenueMap: async (businessVenueMapDTO: BusinessVenueMapDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12835
|
+
// verify required parameter 'businessVenueMapDTO' is not null or undefined
|
|
12836
|
+
assertParamExists('businessTypeControllerBusinessVenueMap', 'businessVenueMapDTO', businessVenueMapDTO)
|
|
12837
|
+
const localVarPath = `/v1/business/map/venue`;
|
|
12838
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12840
|
+
let baseOptions;
|
|
12841
|
+
if (configuration) {
|
|
12842
|
+
baseOptions = configuration.baseOptions;
|
|
12843
|
+
}
|
|
12844
|
+
|
|
12845
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12846
|
+
const localVarHeaderParameter = {} as any;
|
|
12847
|
+
const localVarQueryParameter = {} as any;
|
|
12848
|
+
|
|
12849
|
+
// authentication bearer required
|
|
12850
|
+
// http bearer authentication required
|
|
12851
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12852
|
+
|
|
12853
|
+
|
|
12854
|
+
|
|
12855
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12856
|
+
|
|
12857
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12858
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12859
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12860
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVenueMapDTO, localVarRequestOptions, configuration)
|
|
12861
|
+
|
|
12862
|
+
return {
|
|
12863
|
+
url: toPathString(localVarUrlObj),
|
|
12864
|
+
options: localVarRequestOptions,
|
|
12865
|
+
};
|
|
12866
|
+
},
|
|
12693
12867
|
/**
|
|
12694
12868
|
*
|
|
12695
12869
|
* @param {string} id
|
|
@@ -13443,6 +13617,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
13443
13617
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
13444
13618
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13445
13619
|
},
|
|
13620
|
+
/**
|
|
13621
|
+
*
|
|
13622
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
13623
|
+
* @param {*} [options] Override http request option.
|
|
13624
|
+
* @throws {RequiredError}
|
|
13625
|
+
*/
|
|
13626
|
+
async businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueMapResponseDTO>> {
|
|
13627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options);
|
|
13628
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13629
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerBusinessVenueMap']?.[localVarOperationServerIndex]?.url;
|
|
13630
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13631
|
+
},
|
|
13446
13632
|
/**
|
|
13447
13633
|
*
|
|
13448
13634
|
* @param {string} id
|
|
@@ -13752,6 +13938,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13752
13938
|
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
13753
13939
|
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
13754
13940
|
},
|
|
13941
|
+
/**
|
|
13942
|
+
*
|
|
13943
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
13944
|
+
* @param {*} [options] Override http request option.
|
|
13945
|
+
* @throws {RequiredError}
|
|
13946
|
+
*/
|
|
13947
|
+
businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueMapResponseDTO> {
|
|
13948
|
+
return localVarFp.businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options).then((request) => request(axios, basePath));
|
|
13949
|
+
},
|
|
13755
13950
|
/**
|
|
13756
13951
|
*
|
|
13757
13952
|
* @param {string} id
|
|
@@ -14032,6 +14227,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
14032
14227
|
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14033
14228
|
}
|
|
14034
14229
|
|
|
14230
|
+
/**
|
|
14231
|
+
*
|
|
14232
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
14233
|
+
* @param {*} [options] Override http request option.
|
|
14234
|
+
* @throws {RequiredError}
|
|
14235
|
+
* @memberof BusinessApi
|
|
14236
|
+
*/
|
|
14237
|
+
public businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig) {
|
|
14238
|
+
return BusinessApiFp(this.configuration).businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14239
|
+
}
|
|
14240
|
+
|
|
14035
14241
|
/**
|
|
14036
14242
|
*
|
|
14037
14243
|
* @param {string} id
|
|
@@ -16344,6 +16550,44 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16344
16550
|
options: localVarRequestOptions,
|
|
16345
16551
|
};
|
|
16346
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
|
+
},
|
|
16347
16591
|
/**
|
|
16348
16592
|
*
|
|
16349
16593
|
* @param {number} page
|
|
@@ -16755,6 +16999,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
16755
16999
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
16756
17000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16757
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
|
+
},
|
|
16758
17014
|
/**
|
|
16759
17015
|
*
|
|
16760
17016
|
* @param {number} page
|
|
@@ -16903,6 +17159,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16903
17159
|
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
16904
17160
|
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
16905
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
|
+
},
|
|
16906
17171
|
/**
|
|
16907
17172
|
*
|
|
16908
17173
|
* @param {number} page
|
|
@@ -17030,6 +17295,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
17030
17295
|
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
17031
17296
|
}
|
|
17032
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
|
+
|
|
17033
17309
|
/**
|
|
17034
17310
|
*
|
|
17035
17311
|
* @param {number} page
|
package/docs/BusinessApi.md
CHANGED
|
@@ -15,6 +15,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
15
15
|
|[**businessStaffControllerFindVenueStaffs**](#businessstaffcontrollerfindvenuestaffs) | **POST** /v1/business-staff/public-list | |
|
|
16
16
|
|[**businessStaffControllerSaveBusinessStaff**](#businessstaffcontrollersavebusinessstaff) | **POST** /v1/business-staff | |
|
|
17
17
|
|[**businessStaffControllerUpdateStaff**](#businessstaffcontrollerupdatestaff) | **PUT** /v1/business-staff/{id} | |
|
|
18
|
+
|[**businessTypeControllerBusinessVenueMap**](#businesstypecontrollerbusinessvenuemap) | **POST** /v1/business/map/venue | |
|
|
18
19
|
|[**businessTypeControllerFindFavoriteBusinessVenue**](#businesstypecontrollerfindfavoritebusinessvenue) | **GET** /v1/business/favorite/{id} | |
|
|
19
20
|
|[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
|
|
20
21
|
|[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
|
|
@@ -574,6 +575,57 @@ const { status, data } = await apiInstance.businessStaffControllerUpdateStaff(
|
|
|
574
575
|
- **Accept**: application/json
|
|
575
576
|
|
|
576
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
|
+
# **businessTypeControllerBusinessVenueMap**
|
|
586
|
+
> BusinessVenueMapResponseDTO businessTypeControllerBusinessVenueMap(businessVenueMapDTO)
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
### Example
|
|
590
|
+
|
|
591
|
+
```typescript
|
|
592
|
+
import {
|
|
593
|
+
BusinessApi,
|
|
594
|
+
Configuration,
|
|
595
|
+
BusinessVenueMapDTO
|
|
596
|
+
} from './api';
|
|
597
|
+
|
|
598
|
+
const configuration = new Configuration();
|
|
599
|
+
const apiInstance = new BusinessApi(configuration);
|
|
600
|
+
|
|
601
|
+
let businessVenueMapDTO: BusinessVenueMapDTO; //
|
|
602
|
+
|
|
603
|
+
const { status, data } = await apiInstance.businessTypeControllerBusinessVenueMap(
|
|
604
|
+
businessVenueMapDTO
|
|
605
|
+
);
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
### Parameters
|
|
609
|
+
|
|
610
|
+
|Name | Type | Description | Notes|
|
|
611
|
+
|------------- | ------------- | ------------- | -------------|
|
|
612
|
+
| **businessVenueMapDTO** | **BusinessVenueMapDTO**| | |
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
### Return type
|
|
616
|
+
|
|
617
|
+
**BusinessVenueMapResponseDTO**
|
|
618
|
+
|
|
619
|
+
### Authorization
|
|
620
|
+
|
|
621
|
+
[bearer](../README.md#bearer)
|
|
622
|
+
|
|
623
|
+
### HTTP request headers
|
|
624
|
+
|
|
625
|
+
- **Content-Type**: application/json
|
|
626
|
+
- **Accept**: application/json
|
|
627
|
+
|
|
628
|
+
|
|
577
629
|
### HTTP response details
|
|
578
630
|
| Status code | Description | Response headers |
|
|
579
631
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# BusinessVenueMapDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**search** | **string** | Business name search | [optional] [default to undefined]
|
|
9
|
+
**category** | **Array<string>** | Business category ID | [optional] [default to undefined]
|
|
10
|
+
**page** | **number** | Page number for pagination | [optional] [default to 1]
|
|
11
|
+
**limit** | **number** | Number of items per page for pagination | [optional] [default to 10]
|
|
12
|
+
**price** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**people** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**distance** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**date** | **string** | Start date for the events | [optional] [default to undefined]
|
|
16
|
+
**from** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**to** | **string** | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { BusinessVenueMapDTO } from './api';
|
|
23
|
+
|
|
24
|
+
const instance: BusinessVenueMapDTO = {
|
|
25
|
+
search,
|
|
26
|
+
category,
|
|
27
|
+
page,
|
|
28
|
+
limit,
|
|
29
|
+
price,
|
|
30
|
+
people,
|
|
31
|
+
distance,
|
|
32
|
+
date,
|
|
33
|
+
from,
|
|
34
|
+
to,
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[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,32 @@
|
|
|
1
|
+
# BusinessVenueMapDetailsEntity
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | Unique identifier for the business venue | [optional] [default to undefined]
|
|
9
|
+
**coverPhoto** | **Array<string>** | coverPhots | [default to undefined]
|
|
10
|
+
**priceRange** | **string** | | [default to undefined]
|
|
11
|
+
**description** | **string** | | [default to undefined]
|
|
12
|
+
**name** | **string** | | [default to undefined]
|
|
13
|
+
**business** | **string** | | [default to undefined]
|
|
14
|
+
**location** | [**LocationDTO**](LocationDTO.md) | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { BusinessVenueMapDetailsEntity } from './api';
|
|
20
|
+
|
|
21
|
+
const instance: BusinessVenueMapDetailsEntity = {
|
|
22
|
+
_id,
|
|
23
|
+
coverPhoto,
|
|
24
|
+
priceRange,
|
|
25
|
+
description,
|
|
26
|
+
name,
|
|
27
|
+
business,
|
|
28
|
+
location,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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,22 @@
|
|
|
1
|
+
# BusinessVenueMapResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<BusinessVenueMapDetailsEntity>**](BusinessVenueMapDetailsEntity.md) | Business verification | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessVenueMapResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessVenueMapResponseDTO = {
|
|
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)
|
|
@@ -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]
|