@gooday_corp/gooday-api-client 1.3.22 → 1.3.24

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.
Files changed (2) hide show
  1. package/api.ts +23 -7
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -8665,10 +8665,12 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8665
8665
  return {
8666
8666
  /**
8667
8667
  *
8668
+ * @param {number} [page]
8669
+ * @param {number} [pageSize]
8668
8670
  * @param {*} [options] Override http request option.
8669
8671
  * @throws {RequiredError}
8670
8672
  */
8671
- assistantControllerAiSuggestionList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8673
+ assistantControllerAiSuggestionList: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8672
8674
  const localVarPath = `/v1/ai/suggestion/list`;
8673
8675
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8674
8676
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8685,6 +8687,14 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8685
8687
  // http bearer authentication required
8686
8688
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
8687
8689
 
8690
+ if (page !== undefined) {
8691
+ localVarQueryParameter['page'] = page;
8692
+ }
8693
+
8694
+ if (pageSize !== undefined) {
8695
+ localVarQueryParameter['pageSize'] = pageSize;
8696
+ }
8697
+
8688
8698
 
8689
8699
 
8690
8700
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8770,11 +8780,13 @@ export const AIApiFp = function(configuration?: Configuration) {
8770
8780
  return {
8771
8781
  /**
8772
8782
  *
8783
+ * @param {number} [page]
8784
+ * @param {number} [pageSize]
8773
8785
  * @param {*} [options] Override http request option.
8774
8786
  * @throws {RequiredError}
8775
8787
  */
8776
- async assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionListResponse>> {
8777
- const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerAiSuggestionList(options);
8788
+ async assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionListResponse>> {
8789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerAiSuggestionList(page, pageSize, options);
8778
8790
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8779
8791
  const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
8780
8792
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -8813,11 +8825,13 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
8813
8825
  return {
8814
8826
  /**
8815
8827
  *
8828
+ * @param {number} [page]
8829
+ * @param {number} [pageSize]
8816
8830
  * @param {*} [options] Override http request option.
8817
8831
  * @throws {RequiredError}
8818
8832
  */
8819
- assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
8820
- return localVarFp.assistantControllerAiSuggestionList(options).then((request) => request(axios, basePath));
8833
+ assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
8834
+ return localVarFp.assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(axios, basePath));
8821
8835
  },
8822
8836
  /**
8823
8837
  *
@@ -8847,12 +8861,14 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
8847
8861
  export class AIApi extends BaseAPI {
8848
8862
  /**
8849
8863
  *
8864
+ * @param {number} [page]
8865
+ * @param {number} [pageSize]
8850
8866
  * @param {*} [options] Override http request option.
8851
8867
  * @throws {RequiredError}
8852
8868
  * @memberof AIApi
8853
8869
  */
8854
- public assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig) {
8855
- return AIApiFp(this.configuration).assistantControllerAiSuggestionList(options).then((request) => request(this.axios, this.basePath));
8870
+ public assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
8871
+ return AIApiFp(this.configuration).assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
8856
8872
  }
8857
8873
 
8858
8874
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.22",
3
+ "version": "1.3.24",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},