@gooday_corp/gooday-api-client 1.3.66 → 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.
@@ -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,135 @@ 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
+ *
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
+ }
2339
2468
  /**
2340
2469
  *
2341
2470
  * @export
@@ -12690,6 +12819,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
12690
12819
  options: localVarRequestOptions,
12691
12820
  };
12692
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
+ },
12693
12861
  /**
12694
12862
  *
12695
12863
  * @param {string} id
@@ -13443,6 +13611,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
13443
13611
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
13444
13612
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13445
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
+ },
13446
13626
  /**
13447
13627
  *
13448
13628
  * @param {string} id
@@ -13752,6 +13932,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
13752
13932
  businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
13753
13933
  return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
13754
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
+ },
13755
13944
  /**
13756
13945
  *
13757
13946
  * @param {string} id
@@ -14032,6 +14221,17 @@ export class BusinessApi extends BaseAPI {
14032
14221
  return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
14033
14222
  }
14034
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
+
14035
14235
  /**
14036
14236
  *
14037
14237
  * @param {string} id
@@ -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&lt;string&gt;** | 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&lt;string&gt;** | 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&lt;BusinessVenueMapDetailsEntity&gt;**](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-16T17:13:46+05:30]
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]
@@ -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-16T17:13:46+05:30]
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-16T17:13:46+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-16T18:13:46+05:30]
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&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.66",
3
+ "version": "1.3.67",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},