@gooday_corp/gooday-api-client 1.1.21 → 1.1.22-alpha

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 +21 -7
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -409,6 +409,12 @@ export interface BookingResponse {
409
409
  * @memberof BookingResponse
410
410
  */
411
411
  'method': BookingResponseMethodEnum;
412
+ /**
413
+ * Business venue favorite
414
+ * @type {BusinessVenueDTO}
415
+ * @memberof BookingResponse
416
+ */
417
+ 'favorite'?: BusinessVenueDTO;
412
418
  }
413
419
 
414
420
  export const BookingResponseMethodEnum = {
@@ -5953,10 +5959,11 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5953
5959
  *
5954
5960
  * @param {string} startDate Start date for the events
5955
5961
  * @param {string} endDate End date for the events
5962
+ * @param {string} [calendar] Calendar
5956
5963
  * @param {*} [options] Override http request option.
5957
5964
  * @throws {RequiredError}
5958
5965
  */
5959
- calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5966
+ calendarControllerListEvents: async (startDate: string, endDate: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5960
5967
  // verify required parameter 'startDate' is not null or undefined
5961
5968
  assertParamExists('calendarControllerListEvents', 'startDate', startDate)
5962
5969
  // verify required parameter 'endDate' is not null or undefined
@@ -5989,6 +5996,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5989
5996
  endDate;
5990
5997
  }
5991
5998
 
5999
+ if (calendar !== undefined) {
6000
+ localVarQueryParameter['calendar'] = calendar;
6001
+ }
6002
+
5992
6003
 
5993
6004
 
5994
6005
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6251,11 +6262,12 @@ export const CalendarApiFp = function(configuration?: Configuration) {
6251
6262
  *
6252
6263
  * @param {string} startDate Start date for the events
6253
6264
  * @param {string} endDate End date for the events
6265
+ * @param {string} [calendar] Calendar
6254
6266
  * @param {*} [options] Override http request option.
6255
6267
  * @throws {RequiredError}
6256
6268
  */
6257
- async calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
6258
- const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, options);
6269
+ async calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
6270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, calendar, options);
6259
6271
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6260
6272
  const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
6261
6273
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6369,11 +6381,12 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
6369
6381
  *
6370
6382
  * @param {string} startDate Start date for the events
6371
6383
  * @param {string} endDate End date for the events
6384
+ * @param {string} [calendar] Calendar
6372
6385
  * @param {*} [options] Override http request option.
6373
6386
  * @throws {RequiredError}
6374
6387
  */
6375
- calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6376
- return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
6388
+ calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6389
+ return localVarFp.calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(axios, basePath));
6377
6390
  },
6378
6391
  /**
6379
6392
  *
@@ -6477,12 +6490,13 @@ export class CalendarApi extends BaseAPI {
6477
6490
  *
6478
6491
  * @param {string} startDate Start date for the events
6479
6492
  * @param {string} endDate End date for the events
6493
+ * @param {string} [calendar] Calendar
6480
6494
  * @param {*} [options] Override http request option.
6481
6495
  * @throws {RequiredError}
6482
6496
  * @memberof CalendarApi
6483
6497
  */
6484
- public calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig) {
6485
- return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
6498
+ public calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig) {
6499
+ return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(this.axios, this.basePath));
6486
6500
  }
6487
6501
 
6488
6502
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.21",
3
+ "version": "1.1.22-alpha",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},