@gooday_corp/gooday-api-client 1.1.29-alpha → 1.1.29-alpha-2
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 +298 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1409,6 +1409,12 @@ export interface CreateEventCustomerPayload {
|
|
|
1409
1409
|
* @interface CreateEventPayload
|
|
1410
1410
|
*/
|
|
1411
1411
|
export interface CreateEventPayload {
|
|
1412
|
+
/**
|
|
1413
|
+
* The unique identifier of the customer
|
|
1414
|
+
* @type {string}
|
|
1415
|
+
* @memberof CreateEventPayload
|
|
1416
|
+
*/
|
|
1417
|
+
'_id'?: string;
|
|
1412
1418
|
/**
|
|
1413
1419
|
* The title of the event
|
|
1414
1420
|
* @type {string}
|
|
@@ -1647,6 +1653,38 @@ export interface EventDTO {
|
|
|
1647
1653
|
*/
|
|
1648
1654
|
'data': boolean;
|
|
1649
1655
|
}
|
|
1656
|
+
/**
|
|
1657
|
+
*
|
|
1658
|
+
* @export
|
|
1659
|
+
* @interface EventDeletePayload
|
|
1660
|
+
*/
|
|
1661
|
+
export interface EventDeletePayload {
|
|
1662
|
+
/**
|
|
1663
|
+
* The unique identifier of the customer
|
|
1664
|
+
* @type {string}
|
|
1665
|
+
* @memberof EventDeletePayload
|
|
1666
|
+
*/
|
|
1667
|
+
'_id': string;
|
|
1668
|
+
}
|
|
1669
|
+
/**
|
|
1670
|
+
*
|
|
1671
|
+
* @export
|
|
1672
|
+
* @interface EventDeleteResponseDTO
|
|
1673
|
+
*/
|
|
1674
|
+
export interface EventDeleteResponseDTO {
|
|
1675
|
+
/**
|
|
1676
|
+
* statusCode
|
|
1677
|
+
* @type {number}
|
|
1678
|
+
* @memberof EventDeleteResponseDTO
|
|
1679
|
+
*/
|
|
1680
|
+
'statusCode': number;
|
|
1681
|
+
/**
|
|
1682
|
+
*
|
|
1683
|
+
* @type {boolean}
|
|
1684
|
+
* @memberof EventDeleteResponseDTO
|
|
1685
|
+
*/
|
|
1686
|
+
'data': boolean;
|
|
1687
|
+
}
|
|
1650
1688
|
/**
|
|
1651
1689
|
*
|
|
1652
1690
|
* @export
|
|
@@ -2135,6 +2173,38 @@ export interface IntegrationsResponse {
|
|
|
2135
2173
|
*/
|
|
2136
2174
|
'data': Array<IntegrationEntity>;
|
|
2137
2175
|
}
|
|
2176
|
+
/**
|
|
2177
|
+
*
|
|
2178
|
+
* @export
|
|
2179
|
+
* @interface LeaveBookingDTO
|
|
2180
|
+
*/
|
|
2181
|
+
export interface LeaveBookingDTO {
|
|
2182
|
+
/**
|
|
2183
|
+
* Booking Id
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof LeaveBookingDTO
|
|
2186
|
+
*/
|
|
2187
|
+
'booking': string;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @export
|
|
2192
|
+
* @interface LeaveBookingResponseDTO
|
|
2193
|
+
*/
|
|
2194
|
+
export interface LeaveBookingResponseDTO {
|
|
2195
|
+
/**
|
|
2196
|
+
* statusCode
|
|
2197
|
+
* @type {number}
|
|
2198
|
+
* @memberof LeaveBookingResponseDTO
|
|
2199
|
+
*/
|
|
2200
|
+
'statusCode': number;
|
|
2201
|
+
/**
|
|
2202
|
+
*
|
|
2203
|
+
* @type {boolean}
|
|
2204
|
+
* @memberof LeaveBookingResponseDTO
|
|
2205
|
+
*/
|
|
2206
|
+
'data': boolean;
|
|
2207
|
+
}
|
|
2138
2208
|
/**
|
|
2139
2209
|
*
|
|
2140
2210
|
* @export
|
|
@@ -4814,6 +4884,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4814
4884
|
options: localVarRequestOptions,
|
|
4815
4885
|
};
|
|
4816
4886
|
},
|
|
4887
|
+
/**
|
|
4888
|
+
*
|
|
4889
|
+
* @param {LeaveBookingDTO} leaveBookingDTO
|
|
4890
|
+
* @param {*} [options] Override http request option.
|
|
4891
|
+
* @throws {RequiredError}
|
|
4892
|
+
*/
|
|
4893
|
+
bookingControllerLeaveBooking: async (leaveBookingDTO: LeaveBookingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4894
|
+
// verify required parameter 'leaveBookingDTO' is not null or undefined
|
|
4895
|
+
assertParamExists('bookingControllerLeaveBooking', 'leaveBookingDTO', leaveBookingDTO)
|
|
4896
|
+
const localVarPath = `/v1/booking/leave-booking`;
|
|
4897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4898
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4899
|
+
let baseOptions;
|
|
4900
|
+
if (configuration) {
|
|
4901
|
+
baseOptions = configuration.baseOptions;
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4904
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4905
|
+
const localVarHeaderParameter = {} as any;
|
|
4906
|
+
const localVarQueryParameter = {} as any;
|
|
4907
|
+
|
|
4908
|
+
// authentication bearer required
|
|
4909
|
+
// http bearer authentication required
|
|
4910
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
|
|
4914
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4915
|
+
|
|
4916
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4917
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4918
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4919
|
+
localVarRequestOptions.data = serializeDataIfNeeded(leaveBookingDTO, localVarRequestOptions, configuration)
|
|
4920
|
+
|
|
4921
|
+
return {
|
|
4922
|
+
url: toPathString(localVarUrlObj),
|
|
4923
|
+
options: localVarRequestOptions,
|
|
4924
|
+
};
|
|
4925
|
+
},
|
|
4817
4926
|
/**
|
|
4818
4927
|
*
|
|
4819
4928
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -4911,6 +5020,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
4911
5020
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerGetBooking']?.[localVarOperationServerIndex]?.url;
|
|
4912
5021
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4913
5022
|
},
|
|
5023
|
+
/**
|
|
5024
|
+
*
|
|
5025
|
+
* @param {LeaveBookingDTO} leaveBookingDTO
|
|
5026
|
+
* @param {*} [options] Override http request option.
|
|
5027
|
+
* @throws {RequiredError}
|
|
5028
|
+
*/
|
|
5029
|
+
async bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveBookingResponseDTO>> {
|
|
5030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerLeaveBooking(leaveBookingDTO, options);
|
|
5031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5032
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerLeaveBooking']?.[localVarOperationServerIndex]?.url;
|
|
5033
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5034
|
+
},
|
|
4914
5035
|
/**
|
|
4915
5036
|
*
|
|
4916
5037
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -4969,6 +5090,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
4969
5090
|
bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
4970
5091
|
return localVarFp.bookingControllerGetBooking(id, options).then((request) => request(axios, basePath));
|
|
4971
5092
|
},
|
|
5093
|
+
/**
|
|
5094
|
+
*
|
|
5095
|
+
* @param {LeaveBookingDTO} leaveBookingDTO
|
|
5096
|
+
* @param {*} [options] Override http request option.
|
|
5097
|
+
* @throws {RequiredError}
|
|
5098
|
+
*/
|
|
5099
|
+
bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): AxiosPromise<LeaveBookingResponseDTO> {
|
|
5100
|
+
return localVarFp.bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(axios, basePath));
|
|
5101
|
+
},
|
|
4972
5102
|
/**
|
|
4973
5103
|
*
|
|
4974
5104
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -5032,6 +5162,17 @@ export class BookingApi extends BaseAPI {
|
|
|
5032
5162
|
return BookingApiFp(this.configuration).bookingControllerGetBooking(id, options).then((request) => request(this.axios, this.basePath));
|
|
5033
5163
|
}
|
|
5034
5164
|
|
|
5165
|
+
/**
|
|
5166
|
+
*
|
|
5167
|
+
* @param {LeaveBookingDTO} leaveBookingDTO
|
|
5168
|
+
* @param {*} [options] Override http request option.
|
|
5169
|
+
* @throws {RequiredError}
|
|
5170
|
+
* @memberof BookingApi
|
|
5171
|
+
*/
|
|
5172
|
+
public bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig) {
|
|
5173
|
+
return BookingApiFp(this.configuration).bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5035
5176
|
/**
|
|
5036
5177
|
*
|
|
5037
5178
|
* @param {RejectBookingInvitePayload} rejectBookingInvitePayload
|
|
@@ -5998,10 +6139,11 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5998
6139
|
*
|
|
5999
6140
|
* @param {string} startDate Start date for the events
|
|
6000
6141
|
* @param {string} endDate End date for the events
|
|
6142
|
+
* @param {string} [calendar] Calendar
|
|
6001
6143
|
* @param {*} [options] Override http request option.
|
|
6002
6144
|
* @throws {RequiredError}
|
|
6003
6145
|
*/
|
|
6004
|
-
calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6146
|
+
calendarControllerListEvents: async (startDate: string, endDate: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6005
6147
|
// verify required parameter 'startDate' is not null or undefined
|
|
6006
6148
|
assertParamExists('calendarControllerListEvents', 'startDate', startDate)
|
|
6007
6149
|
// verify required parameter 'endDate' is not null or undefined
|
|
@@ -6034,6 +6176,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6034
6176
|
endDate;
|
|
6035
6177
|
}
|
|
6036
6178
|
|
|
6179
|
+
if (calendar !== undefined) {
|
|
6180
|
+
localVarQueryParameter['calendar'] = calendar;
|
|
6181
|
+
}
|
|
6182
|
+
|
|
6037
6183
|
|
|
6038
6184
|
|
|
6039
6185
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6296,11 +6442,12 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
6296
6442
|
*
|
|
6297
6443
|
* @param {string} startDate Start date for the events
|
|
6298
6444
|
* @param {string} endDate End date for the events
|
|
6445
|
+
* @param {string} [calendar] Calendar
|
|
6299
6446
|
* @param {*} [options] Override http request option.
|
|
6300
6447
|
* @throws {RequiredError}
|
|
6301
6448
|
*/
|
|
6302
|
-
async calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
|
|
6303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, options);
|
|
6449
|
+
async calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
|
|
6450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, calendar, options);
|
|
6304
6451
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6305
6452
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
|
|
6306
6453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -6414,11 +6561,12 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
6414
6561
|
*
|
|
6415
6562
|
* @param {string} startDate Start date for the events
|
|
6416
6563
|
* @param {string} endDate End date for the events
|
|
6564
|
+
* @param {string} [calendar] Calendar
|
|
6417
6565
|
* @param {*} [options] Override http request option.
|
|
6418
6566
|
* @throws {RequiredError}
|
|
6419
6567
|
*/
|
|
6420
|
-
calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
|
|
6421
|
-
return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
6568
|
+
calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
|
|
6569
|
+
return localVarFp.calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(axios, basePath));
|
|
6422
6570
|
},
|
|
6423
6571
|
/**
|
|
6424
6572
|
*
|
|
@@ -6522,12 +6670,13 @@ export class CalendarApi extends BaseAPI {
|
|
|
6522
6670
|
*
|
|
6523
6671
|
* @param {string} startDate Start date for the events
|
|
6524
6672
|
* @param {string} endDate End date for the events
|
|
6673
|
+
* @param {string} [calendar] Calendar
|
|
6525
6674
|
* @param {*} [options] Override http request option.
|
|
6526
6675
|
* @throws {RequiredError}
|
|
6527
6676
|
* @memberof CalendarApi
|
|
6528
6677
|
*/
|
|
6529
|
-
public calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig) {
|
|
6530
|
-
return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
6678
|
+
public calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig) {
|
|
6679
|
+
return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(this.axios, this.basePath));
|
|
6531
6680
|
}
|
|
6532
6681
|
|
|
6533
6682
|
/**
|
|
@@ -6781,6 +6930,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6781
6930
|
options: localVarRequestOptions,
|
|
6782
6931
|
};
|
|
6783
6932
|
},
|
|
6933
|
+
/**
|
|
6934
|
+
*
|
|
6935
|
+
* @param {EventDeletePayload} eventDeletePayload
|
|
6936
|
+
* @param {*} [options] Override http request option.
|
|
6937
|
+
* @throws {RequiredError}
|
|
6938
|
+
*/
|
|
6939
|
+
eventControllerDeleteEvents: async (eventDeletePayload: EventDeletePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6940
|
+
// verify required parameter 'eventDeletePayload' is not null or undefined
|
|
6941
|
+
assertParamExists('eventControllerDeleteEvents', 'eventDeletePayload', eventDeletePayload)
|
|
6942
|
+
const localVarPath = `/v1/event`;
|
|
6943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6944
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6945
|
+
let baseOptions;
|
|
6946
|
+
if (configuration) {
|
|
6947
|
+
baseOptions = configuration.baseOptions;
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6951
|
+
const localVarHeaderParameter = {} as any;
|
|
6952
|
+
const localVarQueryParameter = {} as any;
|
|
6953
|
+
|
|
6954
|
+
// authentication bearer required
|
|
6955
|
+
// http bearer authentication required
|
|
6956
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6957
|
+
|
|
6958
|
+
|
|
6959
|
+
|
|
6960
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6961
|
+
|
|
6962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6964
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6965
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventDeletePayload, localVarRequestOptions, configuration)
|
|
6966
|
+
|
|
6967
|
+
return {
|
|
6968
|
+
url: toPathString(localVarUrlObj),
|
|
6969
|
+
options: localVarRequestOptions,
|
|
6970
|
+
};
|
|
6971
|
+
},
|
|
6784
6972
|
/**
|
|
6785
6973
|
*
|
|
6786
6974
|
* @param {string} id
|
|
@@ -6852,6 +7040,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6852
7040
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6853
7041
|
localVarRequestOptions.data = serializeDataIfNeeded(rejectEventInvitePayload, localVarRequestOptions, configuration)
|
|
6854
7042
|
|
|
7043
|
+
return {
|
|
7044
|
+
url: toPathString(localVarUrlObj),
|
|
7045
|
+
options: localVarRequestOptions,
|
|
7046
|
+
};
|
|
7047
|
+
},
|
|
7048
|
+
/**
|
|
7049
|
+
*
|
|
7050
|
+
* @param {CreateEventPayload} createEventPayload
|
|
7051
|
+
* @param {*} [options] Override http request option.
|
|
7052
|
+
* @throws {RequiredError}
|
|
7053
|
+
*/
|
|
7054
|
+
eventControllerUpdateEvents: async (createEventPayload: CreateEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7055
|
+
// verify required parameter 'createEventPayload' is not null or undefined
|
|
7056
|
+
assertParamExists('eventControllerUpdateEvents', 'createEventPayload', createEventPayload)
|
|
7057
|
+
const localVarPath = `/v1/event`;
|
|
7058
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7059
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7060
|
+
let baseOptions;
|
|
7061
|
+
if (configuration) {
|
|
7062
|
+
baseOptions = configuration.baseOptions;
|
|
7063
|
+
}
|
|
7064
|
+
|
|
7065
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
7066
|
+
const localVarHeaderParameter = {} as any;
|
|
7067
|
+
const localVarQueryParameter = {} as any;
|
|
7068
|
+
|
|
7069
|
+
// authentication bearer required
|
|
7070
|
+
// http bearer authentication required
|
|
7071
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7072
|
+
|
|
7073
|
+
|
|
7074
|
+
|
|
7075
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7076
|
+
|
|
7077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7079
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7080
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEventPayload, localVarRequestOptions, configuration)
|
|
7081
|
+
|
|
6855
7082
|
return {
|
|
6856
7083
|
url: toPathString(localVarUrlObj),
|
|
6857
7084
|
options: localVarRequestOptions,
|
|
@@ -6891,6 +7118,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
6891
7118
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCreateEvents']?.[localVarOperationServerIndex]?.url;
|
|
6892
7119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6893
7120
|
},
|
|
7121
|
+
/**
|
|
7122
|
+
*
|
|
7123
|
+
* @param {EventDeletePayload} eventDeletePayload
|
|
7124
|
+
* @param {*} [options] Override http request option.
|
|
7125
|
+
* @throws {RequiredError}
|
|
7126
|
+
*/
|
|
7127
|
+
async eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDeleteResponseDTO>> {
|
|
7128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerDeleteEvents(eventDeletePayload, options);
|
|
7129
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7130
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerDeleteEvents']?.[localVarOperationServerIndex]?.url;
|
|
7131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7132
|
+
},
|
|
6894
7133
|
/**
|
|
6895
7134
|
*
|
|
6896
7135
|
* @param {string} id
|
|
@@ -6915,6 +7154,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
6915
7154
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerRejectEventInvite']?.[localVarOperationServerIndex]?.url;
|
|
6916
7155
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6917
7156
|
},
|
|
7157
|
+
/**
|
|
7158
|
+
*
|
|
7159
|
+
* @param {CreateEventPayload} createEventPayload
|
|
7160
|
+
* @param {*} [options] Override http request option.
|
|
7161
|
+
* @throws {RequiredError}
|
|
7162
|
+
*/
|
|
7163
|
+
async eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
|
|
7164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayload, options);
|
|
7165
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7166
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
|
|
7167
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7168
|
+
},
|
|
6918
7169
|
}
|
|
6919
7170
|
};
|
|
6920
7171
|
|
|
@@ -6943,6 +7194,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
6943
7194
|
eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
6944
7195
|
return localVarFp.eventControllerCreateEvents(createEventPayload, options).then((request) => request(axios, basePath));
|
|
6945
7196
|
},
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @param {EventDeletePayload} eventDeletePayload
|
|
7200
|
+
* @param {*} [options] Override http request option.
|
|
7201
|
+
* @throws {RequiredError}
|
|
7202
|
+
*/
|
|
7203
|
+
eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDeleteResponseDTO> {
|
|
7204
|
+
return localVarFp.eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(axios, basePath));
|
|
7205
|
+
},
|
|
6946
7206
|
/**
|
|
6947
7207
|
*
|
|
6948
7208
|
* @param {string} id
|
|
@@ -6961,6 +7221,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
6961
7221
|
eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
6962
7222
|
return localVarFp.eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(axios, basePath));
|
|
6963
7223
|
},
|
|
7224
|
+
/**
|
|
7225
|
+
*
|
|
7226
|
+
* @param {CreateEventPayload} createEventPayload
|
|
7227
|
+
* @param {*} [options] Override http request option.
|
|
7228
|
+
* @throws {RequiredError}
|
|
7229
|
+
*/
|
|
7230
|
+
eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
|
|
7231
|
+
return localVarFp.eventControllerUpdateEvents(createEventPayload, options).then((request) => request(axios, basePath));
|
|
7232
|
+
},
|
|
6964
7233
|
};
|
|
6965
7234
|
};
|
|
6966
7235
|
|
|
@@ -6993,6 +7262,17 @@ export class EventsApi extends BaseAPI {
|
|
|
6993
7262
|
return EventsApiFp(this.configuration).eventControllerCreateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
6994
7263
|
}
|
|
6995
7264
|
|
|
7265
|
+
/**
|
|
7266
|
+
*
|
|
7267
|
+
* @param {EventDeletePayload} eventDeletePayload
|
|
7268
|
+
* @param {*} [options] Override http request option.
|
|
7269
|
+
* @throws {RequiredError}
|
|
7270
|
+
* @memberof EventsApi
|
|
7271
|
+
*/
|
|
7272
|
+
public eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig) {
|
|
7273
|
+
return EventsApiFp(this.configuration).eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(this.axios, this.basePath));
|
|
7274
|
+
}
|
|
7275
|
+
|
|
6996
7276
|
/**
|
|
6997
7277
|
*
|
|
6998
7278
|
* @param {string} id
|
|
@@ -7014,6 +7294,17 @@ export class EventsApi extends BaseAPI {
|
|
|
7014
7294
|
public eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig) {
|
|
7015
7295
|
return EventsApiFp(this.configuration).eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
7016
7296
|
}
|
|
7297
|
+
|
|
7298
|
+
/**
|
|
7299
|
+
*
|
|
7300
|
+
* @param {CreateEventPayload} createEventPayload
|
|
7301
|
+
* @param {*} [options] Override http request option.
|
|
7302
|
+
* @throws {RequiredError}
|
|
7303
|
+
* @memberof EventsApi
|
|
7304
|
+
*/
|
|
7305
|
+
public eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig) {
|
|
7306
|
+
return EventsApiFp(this.configuration).eventControllerUpdateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
7307
|
+
}
|
|
7017
7308
|
}
|
|
7018
7309
|
|
|
7019
7310
|
|