@gooday_corp/gooday-api-client 1.3.21 → 1.3.23
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 +35 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -59,6 +59,18 @@ export interface AISuggestionEntity {
|
|
|
59
59
|
* @memberof AISuggestionEntity
|
|
60
60
|
*/
|
|
61
61
|
'bookId'?: BookingEntity;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AISuggestionEntity
|
|
66
|
+
*/
|
|
67
|
+
'createdAt': string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AISuggestionEntity
|
|
72
|
+
*/
|
|
73
|
+
'updatedAt': string;
|
|
62
74
|
}
|
|
63
75
|
/**
|
|
64
76
|
*
|
|
@@ -8653,10 +8665,12 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8653
8665
|
return {
|
|
8654
8666
|
/**
|
|
8655
8667
|
*
|
|
8668
|
+
* @param {number} [page]
|
|
8669
|
+
* @param {number} [pageSize]
|
|
8656
8670
|
* @param {*} [options] Override http request option.
|
|
8657
8671
|
* @throws {RequiredError}
|
|
8658
8672
|
*/
|
|
8659
|
-
assistantControllerAiSuggestionList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8673
|
+
assistantControllerAiSuggestionList: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8660
8674
|
const localVarPath = `/v1/ai/suggestion/list`;
|
|
8661
8675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8662
8676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8673,6 +8687,14 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8673
8687
|
// http bearer authentication required
|
|
8674
8688
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8675
8689
|
|
|
8690
|
+
if (page !== undefined) {
|
|
8691
|
+
localVarQueryParameter['page'] = page;
|
|
8692
|
+
}
|
|
8693
|
+
|
|
8694
|
+
if (pageSize !== undefined) {
|
|
8695
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
8696
|
+
}
|
|
8697
|
+
|
|
8676
8698
|
|
|
8677
8699
|
|
|
8678
8700
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8758,11 +8780,13 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8758
8780
|
return {
|
|
8759
8781
|
/**
|
|
8760
8782
|
*
|
|
8783
|
+
* @param {number} [page]
|
|
8784
|
+
* @param {number} [pageSize]
|
|
8761
8785
|
* @param {*} [options] Override http request option.
|
|
8762
8786
|
* @throws {RequiredError}
|
|
8763
8787
|
*/
|
|
8764
|
-
async assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionListResponse>> {
|
|
8765
|
-
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);
|
|
8766
8790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8767
8791
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
8768
8792
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8801,11 +8825,13 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8801
8825
|
return {
|
|
8802
8826
|
/**
|
|
8803
8827
|
*
|
|
8828
|
+
* @param {number} [page]
|
|
8829
|
+
* @param {number} [pageSize]
|
|
8804
8830
|
* @param {*} [options] Override http request option.
|
|
8805
8831
|
* @throws {RequiredError}
|
|
8806
8832
|
*/
|
|
8807
|
-
assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
8808
|
-
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));
|
|
8809
8835
|
},
|
|
8810
8836
|
/**
|
|
8811
8837
|
*
|
|
@@ -8835,12 +8861,14 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8835
8861
|
export class AIApi extends BaseAPI {
|
|
8836
8862
|
/**
|
|
8837
8863
|
*
|
|
8864
|
+
* @param {number} [page]
|
|
8865
|
+
* @param {number} [pageSize]
|
|
8838
8866
|
* @param {*} [options] Override http request option.
|
|
8839
8867
|
* @throws {RequiredError}
|
|
8840
8868
|
* @memberof AIApi
|
|
8841
8869
|
*/
|
|
8842
|
-
public assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig) {
|
|
8843
|
-
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));
|
|
8844
8872
|
}
|
|
8845
8873
|
|
|
8846
8874
|
/**
|