@gooday_corp/gooday-api-client 1.2.117 → 1.2.119

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 +3 -148
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -23,25 +23,6 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- *
28
- * @export
29
- * @interface AISuggestionResponseDTO
30
- */
31
- export interface AISuggestionResponseDTO {
32
- /**
33
- * statusCode
34
- * @type {number}
35
- * @memberof AISuggestionResponseDTO
36
- */
37
- 'statusCode': number;
38
- /**
39
- * AI Suggestion
40
- * @type {Array<SuggestionEntity>}
41
- * @memberof AISuggestionResponseDTO
42
- */
43
- 'data': Array<SuggestionEntity>;
44
- }
45
26
  /**
46
27
  *
47
28
  * @export
@@ -6149,7 +6130,7 @@ export interface StandardBookingSlotsPayload {
6149
6130
  * @type {string}
6150
6131
  * @memberof StandardBookingSlotsPayload
6151
6132
  */
6152
- 'id': string;
6133
+ 'id'?: string;
6153
6134
  }
6154
6135
  /**
6155
6136
  *
@@ -6183,74 +6164,6 @@ export interface StripeSetupPaymentIntentDTO {
6183
6164
  */
6184
6165
  'clientSecret': string;
6185
6166
  }
6186
- /**
6187
- *
6188
- * @export
6189
- * @interface SuggestionActions
6190
- */
6191
- export interface SuggestionActions {
6192
- /**
6193
- *
6194
- * @type {string}
6195
- * @memberof SuggestionActions
6196
- */
6197
- 'label': string;
6198
- /**
6199
- *
6200
- * @type {string}
6201
- * @memberof SuggestionActions
6202
- */
6203
- 'target': string;
6204
- }
6205
- /**
6206
- *
6207
- * @export
6208
- * @interface SuggestionEntity
6209
- */
6210
- export interface SuggestionEntity {
6211
- /**
6212
- *
6213
- * @type {string}
6214
- * @memberof SuggestionEntity
6215
- */
6216
- '_id': string;
6217
- /**
6218
- *
6219
- * @type {string}
6220
- * @memberof SuggestionEntity
6221
- */
6222
- 'title': string;
6223
- /**
6224
- *
6225
- * @type {string}
6226
- * @memberof SuggestionEntity
6227
- */
6228
- 'description': string;
6229
- /**
6230
- *
6231
- * @type {UserEntity}
6232
- * @memberof SuggestionEntity
6233
- */
6234
- 'userId': UserEntity;
6235
- /**
6236
- *
6237
- * @type {AssistantEntity}
6238
- * @memberof SuggestionEntity
6239
- */
6240
- 'assistant': AssistantEntity;
6241
- /**
6242
- *
6243
- * @type {object}
6244
- * @memberof SuggestionEntity
6245
- */
6246
- 'metaData': object;
6247
- /**
6248
- *
6249
- * @type {Array<SuggestionActions>}
6250
- * @memberof SuggestionEntity
6251
- */
6252
- 'actions': Array<SuggestionActions>;
6253
- }
6254
6167
  /**
6255
6168
  *
6256
6169
  * @export
@@ -8130,35 +8043,6 @@ export interface WhatsOnUnFavoriteResponse {
8130
8043
  */
8131
8044
  export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8132
8045
  return {
8133
- /**
8134
- *
8135
- * @param {*} [options] Override http request option.
8136
- * @throws {RequiredError}
8137
- */
8138
- aISuggestionControllerFindAiSuggestion: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8139
- const localVarPath = `/v1/ai/suggestion/list`;
8140
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8141
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8142
- let baseOptions;
8143
- if (configuration) {
8144
- baseOptions = configuration.baseOptions;
8145
- }
8146
-
8147
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8148
- const localVarHeaderParameter = {} as any;
8149
- const localVarQueryParameter = {} as any;
8150
-
8151
-
8152
-
8153
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8154
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8155
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8156
-
8157
- return {
8158
- url: toPathString(localVarUrlObj),
8159
- options: localVarRequestOptions,
8160
- };
8161
- },
8162
8046
  /**
8163
8047
  *
8164
8048
  * @param {*} [options] Override http request option.
@@ -8231,17 +8115,6 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
8231
8115
  export const AIApiFp = function(configuration?: Configuration) {
8232
8116
  const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
8233
8117
  return {
8234
- /**
8235
- *
8236
- * @param {*} [options] Override http request option.
8237
- * @throws {RequiredError}
8238
- */
8239
- async aISuggestionControllerFindAiSuggestion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionResponseDTO>> {
8240
- const localVarAxiosArgs = await localVarAxiosParamCreator.aISuggestionControllerFindAiSuggestion(options);
8241
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8242
- const localVarOperationServerBasePath = operationServerMap['AIApi.aISuggestionControllerFindAiSuggestion']?.[localVarOperationServerIndex]?.url;
8243
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8244
- },
8245
8118
  /**
8246
8119
  *
8247
8120
  * @param {*} [options] Override http request option.
@@ -8274,14 +8147,6 @@ export const AIApiFp = function(configuration?: Configuration) {
8274
8147
  export const AIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
8275
8148
  const localVarFp = AIApiFp(configuration)
8276
8149
  return {
8277
- /**
8278
- *
8279
- * @param {*} [options] Override http request option.
8280
- * @throws {RequiredError}
8281
- */
8282
- aISuggestionControllerFindAiSuggestion(options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionResponseDTO> {
8283
- return localVarFp.aISuggestionControllerFindAiSuggestion(options).then((request) => request(axios, basePath));
8284
- },
8285
8150
  /**
8286
8151
  *
8287
8152
  * @param {*} [options] Override http request option.
@@ -8308,16 +8173,6 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
8308
8173
  * @extends {BaseAPI}
8309
8174
  */
8310
8175
  export class AIApi extends BaseAPI {
8311
- /**
8312
- *
8313
- * @param {*} [options] Override http request option.
8314
- * @throws {RequiredError}
8315
- * @memberof AIApi
8316
- */
8317
- public aISuggestionControllerFindAiSuggestion(options?: RawAxiosRequestConfig) {
8318
- return AIApiFp(this.configuration).aISuggestionControllerFindAiSuggestion(options).then((request) => request(this.axios, this.basePath));
8319
- }
8320
-
8321
8176
  /**
8322
8177
  *
8323
8178
  * @param {*} [options] Override http request option.
@@ -11349,7 +11204,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
11349
11204
  * @param {*} [options] Override http request option.
11350
11205
  * @throws {RequiredError}
11351
11206
  */
11352
- async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
11207
+ async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessEntity>>> {
11353
11208
  const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
11354
11209
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11355
11210
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
@@ -11614,7 +11469,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
11614
11469
  * @param {*} [options] Override http request option.
11615
11470
  * @throws {RequiredError}
11616
11471
  */
11617
- businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
11472
+ businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessEntity>> {
11618
11473
  return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
11619
11474
  },
11620
11475
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.117",
3
+ "version": "1.2.119",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},