@gooday_corp/gooday-api-client 1.3.43 → 1.3.47
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 +2 -1
- package/api.ts +67 -26
- package/docs/AIApi.md +14 -4
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/HomeFeedEntity.md +2 -0
- package/docs/{HomeFeedEListResponseDTO.md → HomeFeedListResponse.md} +5 -5
- package/docs/HomeFeedListResponseDTO.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
|
@@ -157,8 +157,9 @@ docs/HistoryApi.md
|
|
|
157
157
|
docs/HistoryEntity.md
|
|
158
158
|
docs/HistoryPayloadDTO.md
|
|
159
159
|
docs/HistoryResponseDTO.md
|
|
160
|
-
docs/HomeFeedEListResponseDTO.md
|
|
161
160
|
docs/HomeFeedEntity.md
|
|
161
|
+
docs/HomeFeedListResponse.md
|
|
162
|
+
docs/HomeFeedListResponseDTO.md
|
|
162
163
|
docs/IntegrationApi.md
|
|
163
164
|
docs/IntegrationEntity.md
|
|
164
165
|
docs/IntegrationResponse.md
|
package/api.ts
CHANGED
|
@@ -4734,25 +4734,6 @@ export interface HistoryResponseDTO {
|
|
|
4734
4734
|
*/
|
|
4735
4735
|
'data': HistoryEntity;
|
|
4736
4736
|
}
|
|
4737
|
-
/**
|
|
4738
|
-
*
|
|
4739
|
-
* @export
|
|
4740
|
-
* @interface HomeFeedEListResponseDTO
|
|
4741
|
-
*/
|
|
4742
|
-
export interface HomeFeedEListResponseDTO {
|
|
4743
|
-
/**
|
|
4744
|
-
* statusCode
|
|
4745
|
-
* @type {number}
|
|
4746
|
-
* @memberof HomeFeedEListResponseDTO
|
|
4747
|
-
*/
|
|
4748
|
-
'statusCode': number;
|
|
4749
|
-
/**
|
|
4750
|
-
*
|
|
4751
|
-
* @type {Array<HomeFeedEntity>}
|
|
4752
|
-
* @memberof HomeFeedEListResponseDTO
|
|
4753
|
-
*/
|
|
4754
|
-
'data': Array<HomeFeedEntity>;
|
|
4755
|
-
}
|
|
4756
4737
|
/**
|
|
4757
4738
|
*
|
|
4758
4739
|
* @export
|
|
@@ -4777,6 +4758,50 @@ export interface HomeFeedEntity {
|
|
|
4777
4758
|
* @memberof HomeFeedEntity
|
|
4778
4759
|
*/
|
|
4779
4760
|
'type': string;
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @type {string}
|
|
4764
|
+
* @memberof HomeFeedEntity
|
|
4765
|
+
*/
|
|
4766
|
+
'image': string;
|
|
4767
|
+
}
|
|
4768
|
+
/**
|
|
4769
|
+
*
|
|
4770
|
+
* @export
|
|
4771
|
+
* @interface HomeFeedListResponse
|
|
4772
|
+
*/
|
|
4773
|
+
export interface HomeFeedListResponse {
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @type {string}
|
|
4777
|
+
* @memberof HomeFeedListResponse
|
|
4778
|
+
*/
|
|
4779
|
+
'title': string;
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @type {Array<HomeFeedEntity>}
|
|
4783
|
+
* @memberof HomeFeedListResponse
|
|
4784
|
+
*/
|
|
4785
|
+
'data': Array<HomeFeedEntity>;
|
|
4786
|
+
}
|
|
4787
|
+
/**
|
|
4788
|
+
*
|
|
4789
|
+
* @export
|
|
4790
|
+
* @interface HomeFeedListResponseDTO
|
|
4791
|
+
*/
|
|
4792
|
+
export interface HomeFeedListResponseDTO {
|
|
4793
|
+
/**
|
|
4794
|
+
* statusCode
|
|
4795
|
+
* @type {number}
|
|
4796
|
+
* @memberof HomeFeedListResponseDTO
|
|
4797
|
+
*/
|
|
4798
|
+
'statusCode': number;
|
|
4799
|
+
/**
|
|
4800
|
+
*
|
|
4801
|
+
* @type {Array<HomeFeedListResponse>}
|
|
4802
|
+
* @memberof HomeFeedListResponseDTO
|
|
4803
|
+
*/
|
|
4804
|
+
'data': Array<HomeFeedListResponse>;
|
|
4780
4805
|
}
|
|
4781
4806
|
/**
|
|
4782
4807
|
*
|
|
@@ -8815,10 +8840,12 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8815
8840
|
},
|
|
8816
8841
|
/**
|
|
8817
8842
|
*
|
|
8843
|
+
* @param {number} [page]
|
|
8844
|
+
* @param {number} [pageSize]
|
|
8818
8845
|
* @param {*} [options] Override http request option.
|
|
8819
8846
|
* @throws {RequiredError}
|
|
8820
8847
|
*/
|
|
8821
|
-
assistantControllerGenerateHomeFeed: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8848
|
+
assistantControllerGenerateHomeFeed: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8822
8849
|
const localVarPath = `/v1/ai/home-feed`;
|
|
8823
8850
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8824
8851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8835,6 +8862,14 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8835
8862
|
// http bearer authentication required
|
|
8836
8863
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8837
8864
|
|
|
8865
|
+
if (page !== undefined) {
|
|
8866
|
+
localVarQueryParameter['page'] = page;
|
|
8867
|
+
}
|
|
8868
|
+
|
|
8869
|
+
if (pageSize !== undefined) {
|
|
8870
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
8871
|
+
}
|
|
8872
|
+
|
|
8838
8873
|
|
|
8839
8874
|
|
|
8840
8875
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8933,11 +8968,13 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8933
8968
|
},
|
|
8934
8969
|
/**
|
|
8935
8970
|
*
|
|
8971
|
+
* @param {number} [page]
|
|
8972
|
+
* @param {number} [pageSize]
|
|
8936
8973
|
* @param {*} [options] Override http request option.
|
|
8937
8974
|
* @throws {RequiredError}
|
|
8938
8975
|
*/
|
|
8939
|
-
async assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8940
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(options);
|
|
8976
|
+
async assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
8977
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(page, pageSize, options);
|
|
8941
8978
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8942
8979
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateHomeFeed']?.[localVarOperationServerIndex]?.url;
|
|
8943
8980
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8986,11 +9023,13 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8986
9023
|
},
|
|
8987
9024
|
/**
|
|
8988
9025
|
*
|
|
9026
|
+
* @param {number} [page]
|
|
9027
|
+
* @param {number} [pageSize]
|
|
8989
9028
|
* @param {*} [options] Override http request option.
|
|
8990
9029
|
* @throws {RequiredError}
|
|
8991
9030
|
*/
|
|
8992
|
-
assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8993
|
-
return localVarFp.assistantControllerGenerateHomeFeed(options).then((request) => request(axios, basePath));
|
|
9031
|
+
assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9032
|
+
return localVarFp.assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(axios, basePath));
|
|
8994
9033
|
},
|
|
8995
9034
|
/**
|
|
8996
9035
|
*
|
|
@@ -9032,12 +9071,14 @@ export class AIApi extends BaseAPI {
|
|
|
9032
9071
|
|
|
9033
9072
|
/**
|
|
9034
9073
|
*
|
|
9074
|
+
* @param {number} [page]
|
|
9075
|
+
* @param {number} [pageSize]
|
|
9035
9076
|
* @param {*} [options] Override http request option.
|
|
9036
9077
|
* @throws {RequiredError}
|
|
9037
9078
|
* @memberof AIApi
|
|
9038
9079
|
*/
|
|
9039
|
-
public assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig) {
|
|
9040
|
-
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(options).then((request) => request(this.axios, this.basePath));
|
|
9080
|
+
public assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
9081
|
+
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9041
9082
|
}
|
|
9042
9083
|
|
|
9043
9084
|
/**
|
package/docs/AIApi.md
CHANGED
|
@@ -63,7 +63,7 @@ const { status, data } = await apiInstance.assistantControllerAiSuggestionList(
|
|
|
63
63
|
[[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)
|
|
64
64
|
|
|
65
65
|
# **assistantControllerGenerateHomeFeed**
|
|
66
|
-
>
|
|
66
|
+
> HomeFeedListResponseDTO assistantControllerGenerateHomeFeed()
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
### Example
|
|
@@ -77,16 +77,26 @@ import {
|
|
|
77
77
|
const configuration = new Configuration();
|
|
78
78
|
const apiInstance = new AIApi(configuration);
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
let page: number; // (optional) (default to undefined)
|
|
81
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.assistantControllerGenerateHomeFeed(
|
|
84
|
+
page,
|
|
85
|
+
pageSize
|
|
86
|
+
);
|
|
81
87
|
```
|
|
82
88
|
|
|
83
89
|
### Parameters
|
|
84
|
-
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
94
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
85
95
|
|
|
86
96
|
|
|
87
97
|
### Return type
|
|
88
98
|
|
|
89
|
-
**
|
|
99
|
+
**HomeFeedListResponseDTO**
|
|
90
100
|
|
|
91
101
|
### Authorization
|
|
92
102
|
|
|
@@ -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-06T10:13:56+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/HomeFeedEntity.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**_id** | **string** | Unique identifier for the assistant | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**type** | **string** | | [default to undefined]
|
|
11
|
+
**image** | **string** | | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: HomeFeedEntity = {
|
|
|
18
19
|
_id,
|
|
19
20
|
name,
|
|
20
21
|
type,
|
|
22
|
+
image,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# HomeFeedListResponse
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**title** | **string** | | [default to undefined]
|
|
9
9
|
**data** | [**Array<HomeFeedEntity>**](HomeFeedEntity.md) | | [default to undefined]
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import {
|
|
14
|
+
import { HomeFeedListResponse } from './api';
|
|
15
15
|
|
|
16
|
-
const instance:
|
|
17
|
-
|
|
16
|
+
const instance: HomeFeedListResponse = {
|
|
17
|
+
title,
|
|
18
18
|
data,
|
|
19
19
|
};
|
|
20
20
|
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# HomeFeedListResponseDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statusCode** | **number** | statusCode | [default to undefined]
|
|
9
|
+
**data** | [**Array<HomeFeedListResponse>**](HomeFeedListResponse.md) | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { HomeFeedListResponseDTO } from './api';
|
|
15
|
+
|
|
16
|
+
const instance: HomeFeedListResponseDTO = {
|
|
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-06T10:13:56+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-06T10:13:56+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-06T11:13:56+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]
|