@gooday_corp/gooday-api-client 1.3.65 → 1.3.67
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 +7 -0
- package/api.ts +280 -4
- package/docs/BusinessApi.md +54 -2
- package/docs/BusinessVenueListResponse.md +22 -0
- package/docs/BusinessVenueListResponseDTO.md +22 -0
- package/docs/BusinessVenueMapDTO.md +38 -0
- package/docs/BusinessVenueMapDetailsEntity.md +30 -0
- package/docs/BusinessVenueMapResponseDTO.md +22 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/FriendsApi.md +2 -2
- package/docs/FriendsList.md +22 -0
- package/docs/FriendsListDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -71,6 +71,11 @@ docs/BusinessTypeListResponse.md
|
|
|
71
71
|
docs/BusinessUnFavoriteResponse.md
|
|
72
72
|
docs/BusinessVenueDTO.md
|
|
73
73
|
docs/BusinessVenueDetailsEntity.md
|
|
74
|
+
docs/BusinessVenueListResponse.md
|
|
75
|
+
docs/BusinessVenueListResponseDTO.md
|
|
76
|
+
docs/BusinessVenueMapDTO.md
|
|
77
|
+
docs/BusinessVenueMapDetailsEntity.md
|
|
78
|
+
docs/BusinessVenueMapResponseDTO.md
|
|
74
79
|
docs/BusinessVenueResponseDTO.md
|
|
75
80
|
docs/BusinessVenueTimingPayload.md
|
|
76
81
|
docs/BusinessVerificationEntity.md
|
|
@@ -143,6 +148,8 @@ docs/ForgotPasswordPayloadDTO.md
|
|
|
143
148
|
docs/ForgotPasswordResponseDTO.md
|
|
144
149
|
docs/FriendsApi.md
|
|
145
150
|
docs/FriendsDTO.md
|
|
151
|
+
docs/FriendsList.md
|
|
152
|
+
docs/FriendsListDTO.md
|
|
146
153
|
docs/FriendsResponseDTO.md
|
|
147
154
|
docs/FriendshipStatusCheck.md
|
|
148
155
|
docs/FriendshipStatusDTO.md
|
package/api.ts
CHANGED
|
@@ -2298,6 +2298,173 @@ export interface BusinessVenueDetailsEntity {
|
|
|
2298
2298
|
*/
|
|
2299
2299
|
'favoriteCount': number;
|
|
2300
2300
|
}
|
|
2301
|
+
/**
|
|
2302
|
+
*
|
|
2303
|
+
* @export
|
|
2304
|
+
* @interface BusinessVenueListResponse
|
|
2305
|
+
*/
|
|
2306
|
+
export interface BusinessVenueListResponse {
|
|
2307
|
+
/**
|
|
2308
|
+
* Business verification
|
|
2309
|
+
* @type {Array<BusinessVenueDetailsEntity>}
|
|
2310
|
+
* @memberof BusinessVenueListResponse
|
|
2311
|
+
*/
|
|
2312
|
+
'data': Array<BusinessVenueDetailsEntity>;
|
|
2313
|
+
/**
|
|
2314
|
+
*
|
|
2315
|
+
* @type {number}
|
|
2316
|
+
* @memberof BusinessVenueListResponse
|
|
2317
|
+
*/
|
|
2318
|
+
'totalCount': number;
|
|
2319
|
+
}
|
|
2320
|
+
/**
|
|
2321
|
+
*
|
|
2322
|
+
* @export
|
|
2323
|
+
* @interface BusinessVenueListResponseDTO
|
|
2324
|
+
*/
|
|
2325
|
+
export interface BusinessVenueListResponseDTO {
|
|
2326
|
+
/**
|
|
2327
|
+
* statusCode
|
|
2328
|
+
* @type {number}
|
|
2329
|
+
* @memberof BusinessVenueListResponseDTO
|
|
2330
|
+
*/
|
|
2331
|
+
'statusCode': number;
|
|
2332
|
+
/**
|
|
2333
|
+
*
|
|
2334
|
+
* @type {BusinessVenueListResponse}
|
|
2335
|
+
* @memberof BusinessVenueListResponseDTO
|
|
2336
|
+
*/
|
|
2337
|
+
'data': BusinessVenueListResponse;
|
|
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
|
+
*
|
|
2451
|
+
* @export
|
|
2452
|
+
* @interface BusinessVenueMapResponseDTO
|
|
2453
|
+
*/
|
|
2454
|
+
export interface BusinessVenueMapResponseDTO {
|
|
2455
|
+
/**
|
|
2456
|
+
* statusCode
|
|
2457
|
+
* @type {number}
|
|
2458
|
+
* @memberof BusinessVenueMapResponseDTO
|
|
2459
|
+
*/
|
|
2460
|
+
'statusCode': number;
|
|
2461
|
+
/**
|
|
2462
|
+
* Business verification
|
|
2463
|
+
* @type {Array<BusinessVenueMapDetailsEntity>}
|
|
2464
|
+
* @memberof BusinessVenueMapResponseDTO
|
|
2465
|
+
*/
|
|
2466
|
+
'data': Array<BusinessVenueMapDetailsEntity>;
|
|
2467
|
+
}
|
|
2301
2468
|
/**
|
|
2302
2469
|
*
|
|
2303
2470
|
* @export
|
|
@@ -4438,6 +4605,44 @@ export interface FriendsDTO {
|
|
|
4438
4605
|
*/
|
|
4439
4606
|
'data': Array<UserEntity>;
|
|
4440
4607
|
}
|
|
4608
|
+
/**
|
|
4609
|
+
*
|
|
4610
|
+
* @export
|
|
4611
|
+
* @interface FriendsList
|
|
4612
|
+
*/
|
|
4613
|
+
export interface FriendsList {
|
|
4614
|
+
/**
|
|
4615
|
+
* User
|
|
4616
|
+
* @type {Array<UserEntity>}
|
|
4617
|
+
* @memberof FriendsList
|
|
4618
|
+
*/
|
|
4619
|
+
'data': Array<UserEntity>;
|
|
4620
|
+
/**
|
|
4621
|
+
*
|
|
4622
|
+
* @type {number}
|
|
4623
|
+
* @memberof FriendsList
|
|
4624
|
+
*/
|
|
4625
|
+
'totalCount': number;
|
|
4626
|
+
}
|
|
4627
|
+
/**
|
|
4628
|
+
*
|
|
4629
|
+
* @export
|
|
4630
|
+
* @interface FriendsListDTO
|
|
4631
|
+
*/
|
|
4632
|
+
export interface FriendsListDTO {
|
|
4633
|
+
/**
|
|
4634
|
+
* statusCode
|
|
4635
|
+
* @type {number}
|
|
4636
|
+
* @memberof FriendsListDTO
|
|
4637
|
+
*/
|
|
4638
|
+
'statusCode': number;
|
|
4639
|
+
/**
|
|
4640
|
+
* User
|
|
4641
|
+
* @type {FriendsList}
|
|
4642
|
+
* @memberof FriendsListDTO
|
|
4643
|
+
*/
|
|
4644
|
+
'data': FriendsList;
|
|
4645
|
+
}
|
|
4441
4646
|
/**
|
|
4442
4647
|
*
|
|
4443
4648
|
* @export
|
|
@@ -12614,6 +12819,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12614
12819
|
options: localVarRequestOptions,
|
|
12615
12820
|
};
|
|
12616
12821
|
},
|
|
12822
|
+
/**
|
|
12823
|
+
*
|
|
12824
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
12825
|
+
* @param {*} [options] Override http request option.
|
|
12826
|
+
* @throws {RequiredError}
|
|
12827
|
+
*/
|
|
12828
|
+
businessTypeControllerBusinessVenueMap: async (businessVenueMapDTO: BusinessVenueMapDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12829
|
+
// verify required parameter 'businessVenueMapDTO' is not null or undefined
|
|
12830
|
+
assertParamExists('businessTypeControllerBusinessVenueMap', 'businessVenueMapDTO', businessVenueMapDTO)
|
|
12831
|
+
const localVarPath = `/v1/business/map/venue`;
|
|
12832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12833
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12834
|
+
let baseOptions;
|
|
12835
|
+
if (configuration) {
|
|
12836
|
+
baseOptions = configuration.baseOptions;
|
|
12837
|
+
}
|
|
12838
|
+
|
|
12839
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12840
|
+
const localVarHeaderParameter = {} as any;
|
|
12841
|
+
const localVarQueryParameter = {} as any;
|
|
12842
|
+
|
|
12843
|
+
// authentication bearer required
|
|
12844
|
+
// http bearer authentication required
|
|
12845
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12846
|
+
|
|
12847
|
+
|
|
12848
|
+
|
|
12849
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12850
|
+
|
|
12851
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12853
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12854
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessVenueMapDTO, localVarRequestOptions, configuration)
|
|
12855
|
+
|
|
12856
|
+
return {
|
|
12857
|
+
url: toPathString(localVarUrlObj),
|
|
12858
|
+
options: localVarRequestOptions,
|
|
12859
|
+
};
|
|
12860
|
+
},
|
|
12617
12861
|
/**
|
|
12618
12862
|
*
|
|
12619
12863
|
* @param {string} id
|
|
@@ -13367,6 +13611,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
13367
13611
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
13368
13612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13369
13613
|
},
|
|
13614
|
+
/**
|
|
13615
|
+
*
|
|
13616
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
13617
|
+
* @param {*} [options] Override http request option.
|
|
13618
|
+
* @throws {RequiredError}
|
|
13619
|
+
*/
|
|
13620
|
+
async businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueMapResponseDTO>> {
|
|
13621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options);
|
|
13622
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13623
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerBusinessVenueMap']?.[localVarOperationServerIndex]?.url;
|
|
13624
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13625
|
+
},
|
|
13370
13626
|
/**
|
|
13371
13627
|
*
|
|
13372
13628
|
* @param {string} id
|
|
@@ -13421,7 +13677,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
13421
13677
|
* @param {*} [options] Override http request option.
|
|
13422
13678
|
* @throws {RequiredError}
|
|
13423
13679
|
*/
|
|
13424
|
-
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
13680
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueListResponseDTO>> {
|
|
13425
13681
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
13426
13682
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13427
13683
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
@@ -13676,6 +13932,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13676
13932
|
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
13677
13933
|
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
13678
13934
|
},
|
|
13935
|
+
/**
|
|
13936
|
+
*
|
|
13937
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
13938
|
+
* @param {*} [options] Override http request option.
|
|
13939
|
+
* @throws {RequiredError}
|
|
13940
|
+
*/
|
|
13941
|
+
businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueMapResponseDTO> {
|
|
13942
|
+
return localVarFp.businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options).then((request) => request(axios, basePath));
|
|
13943
|
+
},
|
|
13679
13944
|
/**
|
|
13680
13945
|
*
|
|
13681
13946
|
* @param {string} id
|
|
@@ -13718,7 +13983,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13718
13983
|
* @param {*} [options] Override http request option.
|
|
13719
13984
|
* @throws {RequiredError}
|
|
13720
13985
|
*/
|
|
13721
|
-
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
13986
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueListResponseDTO> {
|
|
13722
13987
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
13723
13988
|
},
|
|
13724
13989
|
/**
|
|
@@ -13956,6 +14221,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13956
14221
|
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13957
14222
|
}
|
|
13958
14223
|
|
|
14224
|
+
/**
|
|
14225
|
+
*
|
|
14226
|
+
* @param {BusinessVenueMapDTO} businessVenueMapDTO
|
|
14227
|
+
* @param {*} [options] Override http request option.
|
|
14228
|
+
* @throws {RequiredError}
|
|
14229
|
+
* @memberof BusinessApi
|
|
14230
|
+
*/
|
|
14231
|
+
public businessTypeControllerBusinessVenueMap(businessVenueMapDTO: BusinessVenueMapDTO, options?: RawAxiosRequestConfig) {
|
|
14232
|
+
return BusinessApiFp(this.configuration).businessTypeControllerBusinessVenueMap(businessVenueMapDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14233
|
+
}
|
|
14234
|
+
|
|
13959
14235
|
/**
|
|
13960
14236
|
*
|
|
13961
14237
|
* @param {string} id
|
|
@@ -16687,7 +16963,7 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
16687
16963
|
* @param {*} [options] Override http request option.
|
|
16688
16964
|
* @throws {RequiredError}
|
|
16689
16965
|
*/
|
|
16690
|
-
async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16966
|
+
async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsListDTO>> {
|
|
16691
16967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
|
|
16692
16968
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16693
16969
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16835,7 +17111,7 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
16835
17111
|
* @param {*} [options] Override http request option.
|
|
16836
17112
|
* @throws {RequiredError}
|
|
16837
17113
|
*/
|
|
16838
|
-
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17114
|
+
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsListDTO> {
|
|
16839
17115
|
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
16840
17116
|
},
|
|
16841
17117
|
/**
|
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
|
|-------------|-------------|------------------|
|
|
@@ -784,7 +836,7 @@ No authorization required
|
|
|
784
836
|
[[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)
|
|
785
837
|
|
|
786
838
|
# **businessTypeControllerGetBusinessVenue**
|
|
787
|
-
>
|
|
839
|
+
> BusinessVenueListResponseDTO businessTypeControllerGetBusinessVenue(getBusinessVenueDto)
|
|
788
840
|
|
|
789
841
|
|
|
790
842
|
### Example
|
|
@@ -815,7 +867,7 @@ const { status, data } = await apiInstance.businessTypeControllerGetBusinessVenu
|
|
|
815
867
|
|
|
816
868
|
### Return type
|
|
817
869
|
|
|
818
|
-
**
|
|
870
|
+
**BusinessVenueListResponseDTO**
|
|
819
871
|
|
|
820
872
|
### Authorization
|
|
821
873
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BusinessVenueListResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<BusinessVenueDetailsEntity>**](BusinessVenueDetailsEntity.md) | Business verification | [default to undefined]
|
|
9
|
+
**totalCount** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessVenueListResponse } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessVenueListResponse = {
|
|
17
|
+
data,
|
|
18
|
+
totalCount,
|
|
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,22 @@
|
|
|
1
|
+
# BusinessVenueListResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**BusinessVenueListResponse**](BusinessVenueListResponse.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BusinessVenueListResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: BusinessVenueListResponseDTO = {
|
|
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,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,30 @@
|
|
|
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
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { BusinessVenueMapDetailsEntity } from './api';
|
|
19
|
+
|
|
20
|
+
const instance: BusinessVenueMapDetailsEntity = {
|
|
21
|
+
_id,
|
|
22
|
+
coverPhoto,
|
|
23
|
+
priceRange,
|
|
24
|
+
description,
|
|
25
|
+
name,
|
|
26
|
+
business,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[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-19T16:30:23+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
|
@@ -171,7 +171,7 @@ const { status, data } = await apiInstance.friendControllerDeclineFriendRequest(
|
|
|
171
171
|
[[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)
|
|
172
172
|
|
|
173
173
|
# **friendControllerFindFriends**
|
|
174
|
-
>
|
|
174
|
+
> FriendsListDTO friendControllerFindFriends()
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
### Example
|
|
@@ -207,7 +207,7 @@ const { status, data } = await apiInstance.friendControllerFindFriends(
|
|
|
207
207
|
|
|
208
208
|
### Return type
|
|
209
209
|
|
|
210
|
-
**
|
|
210
|
+
**FriendsListDTO**
|
|
211
211
|
|
|
212
212
|
### Authorization
|
|
213
213
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FriendsList
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**data** | [**Array<UserEntity>**](UserEntity.md) | User | [default to undefined]
|
|
9
|
+
**totalCount** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendsList } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendsList = {
|
|
17
|
+
data,
|
|
18
|
+
totalCount,
|
|
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,22 @@
|
|
|
1
|
+
# FriendsListDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**FriendsList**](FriendsList.md) | User | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { FriendsListDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: FriendsListDTO = {
|
|
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-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-19T16:30:23+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-19T16:30:23+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-19T17:30:23+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]
|