@gooday_corp/gooday-api-client 1.3.35 → 1.3.36

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/api.ts CHANGED
@@ -11984,6 +11984,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
11984
11984
 
11985
11985
 
11986
11986
 
11987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11989
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11990
+
11991
+ return {
11992
+ url: toPathString(localVarUrlObj),
11993
+ options: localVarRequestOptions,
11994
+ };
11995
+ },
11996
+ /**
11997
+ *
11998
+ * @param {*} [options] Override http request option.
11999
+ * @throws {RequiredError}
12000
+ */
12001
+ businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12002
+ const localVarPath = `/v1/business/categories`;
12003
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12004
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12005
+ let baseOptions;
12006
+ if (configuration) {
12007
+ baseOptions = configuration.baseOptions;
12008
+ }
12009
+
12010
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12011
+ const localVarHeaderParameter = {} as any;
12012
+ const localVarQueryParameter = {} as any;
12013
+
12014
+ // authentication bearer required
12015
+ // http bearer authentication required
12016
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12017
+
12018
+
12019
+
11987
12020
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11988
12021
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11989
12022
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12469,6 +12502,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12469
12502
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
12470
12503
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12471
12504
  },
12505
+ /**
12506
+ *
12507
+ * @param {*} [options] Override http request option.
12508
+ * @throws {RequiredError}
12509
+ */
12510
+ async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
12511
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
12512
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12513
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
12514
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12515
+ },
12472
12516
  /**
12473
12517
  *
12474
12518
  * @param {*} [options] Override http request option.
@@ -12706,6 +12750,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
12706
12750
  businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
12707
12751
  return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
12708
12752
  },
12753
+ /**
12754
+ *
12755
+ * @param {*} [options] Override http request option.
12756
+ * @throws {RequiredError}
12757
+ */
12758
+ businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
12759
+ return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
12760
+ },
12709
12761
  /**
12710
12762
  *
12711
12763
  * @param {*} [options] Override http request option.
@@ -12949,6 +13001,16 @@ export class BusinessApi extends BaseAPI {
12949
13001
  return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
12950
13002
  }
12951
13003
 
13004
+ /**
13005
+ *
13006
+ * @param {*} [options] Override http request option.
13007
+ * @throws {RequiredError}
13008
+ * @memberof BusinessApi
13009
+ */
13010
+ public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
13011
+ return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
13012
+ }
13013
+
12952
13014
  /**
12953
13015
  *
12954
13016
  * @param {*} [options] Override http request option.
@@ -15447,6 +15509,39 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
15447
15509
  options: localVarRequestOptions,
15448
15510
  };
15449
15511
  },
15512
+ /**
15513
+ *
15514
+ * @param {*} [options] Override http request option.
15515
+ * @throws {RequiredError}
15516
+ */
15517
+ friendControllerSuggestedFriendList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
15518
+ const localVarPath = `/v1/friend/suggested-friends`;
15519
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15520
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15521
+ let baseOptions;
15522
+ if (configuration) {
15523
+ baseOptions = configuration.baseOptions;
15524
+ }
15525
+
15526
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15527
+ const localVarHeaderParameter = {} as any;
15528
+ const localVarQueryParameter = {} as any;
15529
+
15530
+ // authentication bearer required
15531
+ // http bearer authentication required
15532
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
15533
+
15534
+
15535
+
15536
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15537
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15538
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15539
+
15540
+ return {
15541
+ url: toPathString(localVarUrlObj),
15542
+ options: localVarRequestOptions,
15543
+ };
15544
+ },
15450
15545
  /**
15451
15546
  *
15452
15547
  * @param {*} [options] Override http request option.
@@ -15612,6 +15707,17 @@ export const FriendsApiFp = function(configuration?: Configuration) {
15612
15707
  const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
15613
15708
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15614
15709
  },
15710
+ /**
15711
+ *
15712
+ * @param {*} [options] Override http request option.
15713
+ * @throws {RequiredError}
15714
+ */
15715
+ async friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
15716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(options);
15717
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15718
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSuggestedFriendList']?.[localVarOperationServerIndex]?.url;
15719
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15720
+ },
15615
15721
  /**
15616
15722
  *
15617
15723
  * @param {*} [options] Override http request option.
@@ -15725,6 +15831,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
15725
15831
  friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
15726
15832
  return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
15727
15833
  },
15834
+ /**
15835
+ *
15836
+ * @param {*} [options] Override http request option.
15837
+ * @throws {RequiredError}
15838
+ */
15839
+ friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
15840
+ return localVarFp.friendControllerSuggestedFriendList(options).then((request) => request(axios, basePath));
15841
+ },
15728
15842
  /**
15729
15843
  *
15730
15844
  * @param {*} [options] Override http request option.
@@ -15855,6 +15969,16 @@ export class FriendsApi extends BaseAPI {
15855
15969
  return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
15856
15970
  }
15857
15971
 
15972
+ /**
15973
+ *
15974
+ * @param {*} [options] Override http request option.
15975
+ * @throws {RequiredError}
15976
+ * @memberof FriendsApi
15977
+ */
15978
+ public friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig) {
15979
+ return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(options).then((request) => request(this.axios, this.basePath));
15980
+ }
15981
+
15858
15982
  /**
15859
15983
  *
15860
15984
  * @param {*} [options] Override http request option.
@@ -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-28T12:25:19Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-04-29T12:42:47+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]
@@ -14,6 +14,7 @@ All URIs are relative to *http://localhost:8080*
14
14
  |[**friendControllerRemoveFriendById**](#friendcontrollerremovefriendbyid) | **POST** /v1/friend/remove | |
15
15
  |[**friendControllerRemoveMutualFriend**](#friendcontrollerremovemutualfriend) | **DELETE** /v1/friend/mutual/{id} | |
16
16
  |[**friendControllerSendFriendRequest**](#friendcontrollersendfriendrequest) | **POST** /v1/friend/send-request | |
17
+ |[**friendControllerSuggestedFriendList**](#friendcontrollersuggestedfriendlist) | **GET** /v1/friend/suggested-friends | |
17
18
  |[**friendControllerTodayAvailableFriends**](#friendcontrollertodayavailablefriends) | **GET** /v1/friend/today/available/friends | |
18
19
 
19
20
  # **friendControllerApproveFriendRequest**
@@ -523,6 +524,49 @@ const { status, data } = await apiInstance.friendControllerSendFriendRequest(
523
524
  - **Accept**: application/json
524
525
 
525
526
 
527
+ ### HTTP response details
528
+ | Status code | Description | Response headers |
529
+ |-------------|-------------|------------------|
530
+ |**200** | | - |
531
+
532
+ [[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)
533
+
534
+ # **friendControllerSuggestedFriendList**
535
+ > FriendsDTO friendControllerSuggestedFriendList()
536
+
537
+
538
+ ### Example
539
+
540
+ ```typescript
541
+ import {
542
+ FriendsApi,
543
+ Configuration
544
+ } from './api';
545
+
546
+ const configuration = new Configuration();
547
+ const apiInstance = new FriendsApi(configuration);
548
+
549
+ const { status, data } = await apiInstance.friendControllerSuggestedFriendList();
550
+ ```
551
+
552
+ ### Parameters
553
+ This endpoint does not have any parameters.
554
+
555
+
556
+ ### Return type
557
+
558
+ **FriendsDTO**
559
+
560
+ ### Authorization
561
+
562
+ [bearer](../README.md#bearer)
563
+
564
+ ### HTTP request headers
565
+
566
+ - **Content-Type**: Not defined
567
+ - **Accept**: application/json
568
+
569
+
526
570
  ### HTTP response details
527
571
  | Status code | Description | Response headers |
528
572
  |-------------|-------------|------------------|
@@ -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-28T12:25:19Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-04-29T12:42:47+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-28T12:25:19Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-04-28T13:25:19Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-04-29T12:42:47+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-04-29T13:42:47+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.35",
3
+ "version": "1.3.36",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},