@gooday_corp/gooday-api-client 1.3.37 → 1.3.39
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
|
@@ -15567,12 +15567,13 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15567
15567
|
},
|
|
15568
15568
|
/**
|
|
15569
15569
|
*
|
|
15570
|
+
* @param {string} [search]
|
|
15570
15571
|
* @param {number} [page]
|
|
15571
15572
|
* @param {number} [pageSize]
|
|
15572
15573
|
* @param {*} [options] Override http request option.
|
|
15573
15574
|
* @throws {RequiredError}
|
|
15574
15575
|
*/
|
|
15575
|
-
friendControllerSuggestedFriendList: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15576
|
+
friendControllerSuggestedFriendList: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15576
15577
|
const localVarPath = `/v1/friend/suggested-friends`;
|
|
15577
15578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15578
15579
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15589,6 +15590,10 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15589
15590
|
// http bearer authentication required
|
|
15590
15591
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15591
15592
|
|
|
15593
|
+
if (search !== undefined) {
|
|
15594
|
+
localVarQueryParameter['search'] = search;
|
|
15595
|
+
}
|
|
15596
|
+
|
|
15592
15597
|
if (page !== undefined) {
|
|
15593
15598
|
localVarQueryParameter['page'] = page;
|
|
15594
15599
|
}
|
|
@@ -15787,13 +15792,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
15787
15792
|
},
|
|
15788
15793
|
/**
|
|
15789
15794
|
*
|
|
15795
|
+
* @param {string} [search]
|
|
15790
15796
|
* @param {number} [page]
|
|
15791
15797
|
* @param {number} [pageSize]
|
|
15792
15798
|
* @param {*} [options] Override http request option.
|
|
15793
15799
|
* @throws {RequiredError}
|
|
15794
15800
|
*/
|
|
15795
|
-
async friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
15796
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(page, pageSize, options);
|
|
15801
|
+
async friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
15802
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(search, page, pageSize, options);
|
|
15797
15803
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15798
15804
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSuggestedFriendList']?.[localVarOperationServerIndex]?.url;
|
|
15799
15805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15922,13 +15928,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15922
15928
|
},
|
|
15923
15929
|
/**
|
|
15924
15930
|
*
|
|
15931
|
+
* @param {string} [search]
|
|
15925
15932
|
* @param {number} [page]
|
|
15926
15933
|
* @param {number} [pageSize]
|
|
15927
15934
|
* @param {*} [options] Override http request option.
|
|
15928
15935
|
* @throws {RequiredError}
|
|
15929
15936
|
*/
|
|
15930
|
-
friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
15931
|
-
return localVarFp.friendControllerSuggestedFriendList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
15937
|
+
friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
15938
|
+
return localVarFp.friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
15932
15939
|
},
|
|
15933
15940
|
/**
|
|
15934
15941
|
*
|
|
@@ -16073,14 +16080,15 @@ export class FriendsApi extends BaseAPI {
|
|
|
16073
16080
|
|
|
16074
16081
|
/**
|
|
16075
16082
|
*
|
|
16083
|
+
* @param {string} [search]
|
|
16076
16084
|
* @param {number} [page]
|
|
16077
16085
|
* @param {number} [pageSize]
|
|
16078
16086
|
* @param {*} [options] Override http request option.
|
|
16079
16087
|
* @throws {RequiredError}
|
|
16080
16088
|
* @memberof FriendsApi
|
|
16081
16089
|
*/
|
|
16082
|
-
public friendControllerSuggestedFriendList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
16083
|
-
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
16090
|
+
public friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
16091
|
+
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
16084
16092
|
}
|
|
16085
16093
|
|
|
16086
16094
|
/**
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-04-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-04-30T10:21:48+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
|
@@ -597,10 +597,12 @@ import {
|
|
|
597
597
|
const configuration = new Configuration();
|
|
598
598
|
const apiInstance = new FriendsApi(configuration);
|
|
599
599
|
|
|
600
|
+
let search: string; // (optional) (default to undefined)
|
|
600
601
|
let page: number; // (optional) (default to undefined)
|
|
601
602
|
let pageSize: number; // (optional) (default to undefined)
|
|
602
603
|
|
|
603
604
|
const { status, data } = await apiInstance.friendControllerSuggestedFriendList(
|
|
605
|
+
search,
|
|
604
606
|
page,
|
|
605
607
|
pageSize
|
|
606
608
|
);
|
|
@@ -610,6 +612,7 @@ const { status, data } = await apiInstance.friendControllerSuggestedFriendList(
|
|
|
610
612
|
|
|
611
613
|
|Name | Type | Description | Notes|
|
|
612
614
|
|------------- | ------------- | ------------- | -------------|
|
|
615
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
613
616
|
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
614
617
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
615
618
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-04-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-04-30T10:21:48+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-04-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-04-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-04-30T10:21:48+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-04-30T11:21:48+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]
|