@gooday_corp/gooday-api-client 1.1.67 → 1.2.1
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 +26 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6484,15 +6484,18 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6484
6484
|
*
|
|
6485
6485
|
* @param {string} startDate Start date for the events
|
|
6486
6486
|
* @param {string} endDate End date for the events
|
|
6487
|
+
* @param {CalendarControllerListEventsViewEnum} view View
|
|
6487
6488
|
* @param {string} [calendar] Calendar
|
|
6488
6489
|
* @param {*} [options] Override http request option.
|
|
6489
6490
|
* @throws {RequiredError}
|
|
6490
6491
|
*/
|
|
6491
|
-
calendarControllerListEvents: async (startDate: string, endDate: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6492
|
+
calendarControllerListEvents: async (startDate: string, endDate: string, view: CalendarControllerListEventsViewEnum, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6492
6493
|
// verify required parameter 'startDate' is not null or undefined
|
|
6493
6494
|
assertParamExists('calendarControllerListEvents', 'startDate', startDate)
|
|
6494
6495
|
// verify required parameter 'endDate' is not null or undefined
|
|
6495
6496
|
assertParamExists('calendarControllerListEvents', 'endDate', endDate)
|
|
6497
|
+
// verify required parameter 'view' is not null or undefined
|
|
6498
|
+
assertParamExists('calendarControllerListEvents', 'view', view)
|
|
6496
6499
|
const localVarPath = `/v1/calendar/events`;
|
|
6497
6500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6498
6501
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -6521,6 +6524,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6521
6524
|
endDate;
|
|
6522
6525
|
}
|
|
6523
6526
|
|
|
6527
|
+
if (view !== undefined) {
|
|
6528
|
+
localVarQueryParameter['view'] = view;
|
|
6529
|
+
}
|
|
6530
|
+
|
|
6524
6531
|
if (calendar !== undefined) {
|
|
6525
6532
|
localVarQueryParameter['calendar'] = calendar;
|
|
6526
6533
|
}
|
|
@@ -6787,12 +6794,13 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
6787
6794
|
*
|
|
6788
6795
|
* @param {string} startDate Start date for the events
|
|
6789
6796
|
* @param {string} endDate End date for the events
|
|
6797
|
+
* @param {CalendarControllerListEventsViewEnum} view View
|
|
6790
6798
|
* @param {string} [calendar] Calendar
|
|
6791
6799
|
* @param {*} [options] Override http request option.
|
|
6792
6800
|
* @throws {RequiredError}
|
|
6793
6801
|
*/
|
|
6794
|
-
async calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
|
|
6795
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, calendar, options);
|
|
6802
|
+
async calendarControllerListEvents(startDate: string, endDate: string, view: CalendarControllerListEventsViewEnum, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
|
|
6803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, view, calendar, options);
|
|
6796
6804
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6797
6805
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
|
|
6798
6806
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6906,12 +6914,13 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
6906
6914
|
*
|
|
6907
6915
|
* @param {string} startDate Start date for the events
|
|
6908
6916
|
* @param {string} endDate End date for the events
|
|
6917
|
+
* @param {CalendarControllerListEventsViewEnum} view View
|
|
6909
6918
|
* @param {string} [calendar] Calendar
|
|
6910
6919
|
* @param {*} [options] Override http request option.
|
|
6911
6920
|
* @throws {RequiredError}
|
|
6912
6921
|
*/
|
|
6913
|
-
calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
|
|
6914
|
-
return localVarFp.calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(axios, basePath));
|
|
6922
|
+
calendarControllerListEvents(startDate: string, endDate: string, view: CalendarControllerListEventsViewEnum, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
|
|
6923
|
+
return localVarFp.calendarControllerListEvents(startDate, endDate, view, calendar, options).then((request) => request(axios, basePath));
|
|
6915
6924
|
},
|
|
6916
6925
|
/**
|
|
6917
6926
|
*
|
|
@@ -7015,13 +7024,14 @@ export class CalendarApi extends BaseAPI {
|
|
|
7015
7024
|
*
|
|
7016
7025
|
* @param {string} startDate Start date for the events
|
|
7017
7026
|
* @param {string} endDate End date for the events
|
|
7027
|
+
* @param {CalendarControllerListEventsViewEnum} view View
|
|
7018
7028
|
* @param {string} [calendar] Calendar
|
|
7019
7029
|
* @param {*} [options] Override http request option.
|
|
7020
7030
|
* @throws {RequiredError}
|
|
7021
7031
|
* @memberof CalendarApi
|
|
7022
7032
|
*/
|
|
7023
|
-
public calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig) {
|
|
7024
|
-
return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(this.axios, this.basePath));
|
|
7033
|
+
public calendarControllerListEvents(startDate: string, endDate: string, view: CalendarControllerListEventsViewEnum, calendar?: string, options?: RawAxiosRequestConfig) {
|
|
7034
|
+
return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, view, calendar, options).then((request) => request(this.axios, this.basePath));
|
|
7025
7035
|
}
|
|
7026
7036
|
|
|
7027
7037
|
/**
|
|
@@ -7079,6 +7089,15 @@ export class CalendarApi extends BaseAPI {
|
|
|
7079
7089
|
}
|
|
7080
7090
|
}
|
|
7081
7091
|
|
|
7092
|
+
/**
|
|
7093
|
+
* @export
|
|
7094
|
+
*/
|
|
7095
|
+
export const CalendarControllerListEventsViewEnum = {
|
|
7096
|
+
Daily: 'daily',
|
|
7097
|
+
Weekly: 'weekly',
|
|
7098
|
+
Monthly: 'monthly'
|
|
7099
|
+
} as const;
|
|
7100
|
+
export type CalendarControllerListEventsViewEnum = typeof CalendarControllerListEventsViewEnum[keyof typeof CalendarControllerListEventsViewEnum];
|
|
7082
7101
|
|
|
7083
7102
|
|
|
7084
7103
|
/**
|