@gooday_corp/gooday-api-client 1.3.44 → 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/api.ts CHANGED
@@ -4758,6 +4758,12 @@ export interface HomeFeedEntity {
4758
4758
  * @memberof HomeFeedEntity
4759
4759
  */
4760
4760
  'type': string;
4761
+ /**
4762
+ *
4763
+ * @type {string}
4764
+ * @memberof HomeFeedEntity
4765
+ */
4766
+ 'image': string;
4761
4767
  }
4762
4768
  /**
4763
4769
  *
@@ -8834,10 +8840,12 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8834
8840
  },
8835
8841
  /**
8836
8842
  *
8843
+ * @param {number} [page]
8844
+ * @param {number} [pageSize]
8837
8845
  * @param {*} [options] Override http request option.
8838
8846
  * @throws {RequiredError}
8839
8847
  */
8840
- assistantControllerGenerateHomeFeed: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8848
+ assistantControllerGenerateHomeFeed: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8841
8849
  const localVarPath = `/v1/ai/home-feed`;
8842
8850
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8843
8851
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8854,6 +8862,14 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8854
8862
  // http bearer authentication required
8855
8863
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8856
8864
 
8865
+ if (page !== undefined) {
8866
+ localVarQueryParameter['page'] = page;
8867
+ }
8868
+
8869
+ if (pageSize !== undefined) {
8870
+ localVarQueryParameter['pageSize'] = pageSize;
8871
+ }
8872
+
8857
8873
 
8858
8874
 
8859
8875
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8952,11 +8968,13 @@ export const AIApiFp = function(configuration?: Configuration) {
8952
8968
  },
8953
8969
  /**
8954
8970
  *
8971
+ * @param {number} [page]
8972
+ * @param {number} [pageSize]
8955
8973
  * @param {*} [options] Override http request option.
8956
8974
  * @throws {RequiredError}
8957
8975
  */
8958
- async assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
8959
- 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);
8960
8978
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8961
8979
  const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateHomeFeed']?.[localVarOperationServerIndex]?.url;
8962
8980
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -9005,11 +9023,13 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
9005
9023
  },
9006
9024
  /**
9007
9025
  *
9026
+ * @param {number} [page]
9027
+ * @param {number} [pageSize]
9008
9028
  * @param {*} [options] Override http request option.
9009
9029
  * @throws {RequiredError}
9010
9030
  */
9011
- assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
9012
- 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));
9013
9033
  },
9014
9034
  /**
9015
9035
  *
@@ -9051,12 +9071,14 @@ export class AIApi extends BaseAPI {
9051
9071
 
9052
9072
  /**
9053
9073
  *
9074
+ * @param {number} [page]
9075
+ * @param {number} [pageSize]
9054
9076
  * @param {*} [options] Override http request option.
9055
9077
  * @throws {RequiredError}
9056
9078
  * @memberof AIApi
9057
9079
  */
9058
- public assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig) {
9059
- 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));
9060
9082
  }
9061
9083
 
9062
9084
  /**
package/docs/AIApi.md CHANGED
@@ -77,11 +77,21 @@ import {
77
77
  const configuration = new Configuration();
78
78
  const apiInstance = new AIApi(configuration);
79
79
 
80
- const { status, data } = await apiInstance.assistantControllerGenerateHomeFeed();
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
- This endpoint does not have any parameters.
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
@@ -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-05T14:42:12+05:30]
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]
@@ -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
 
@@ -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-05T14:42:12+05:30]
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-05T14:42:12+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-05T15:42:12+05:30]
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&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.44",
3
+ "version": "1.3.47",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},