@gooday_corp/gooday-api-client 1.1.29-alpha → 1.1.29-alpha-3

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 +335 -9
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -367,18 +367,24 @@ export interface BookingResponse {
367
367
  * @memberof BookingResponse
368
368
  */
369
369
  'business': BusinessEntity;
370
+ /**
371
+ * The user details
372
+ * @type {Array<UserEntity>}
373
+ * @memberof BookingResponse
374
+ */
375
+ 'users': Array<UserEntity>;
370
376
  /**
371
377
  * The user details
372
378
  * @type {UserEntity}
373
379
  * @memberof BookingResponse
374
380
  */
375
- 'users': UserEntity;
381
+ 'createdBy'?: UserEntity;
376
382
  /**
377
383
  * Notes attached with booking
378
384
  * @type {string}
379
385
  * @memberof BookingResponse
380
386
  */
381
- 'note': string;
387
+ 'notes': string;
382
388
  /**
383
389
  * Occasion id
384
390
  * @type {string}
@@ -415,6 +421,18 @@ export interface BookingResponse {
415
421
  * @memberof BookingResponse
416
422
  */
417
423
  'favorite'?: BusinessVenueDTO;
424
+ /**
425
+ * Booking Icon
426
+ * @type {string}
427
+ * @memberof BookingResponse
428
+ */
429
+ 'icon'?: string;
430
+ /**
431
+ * Status of the booking
432
+ * @type {string}
433
+ * @memberof BookingResponse
434
+ */
435
+ 'status': BookingResponseStatusEnum;
418
436
  }
419
437
 
420
438
  export const BookingResponseMethodEnum = {
@@ -424,6 +442,17 @@ export const BookingResponseMethodEnum = {
424
442
  } as const;
425
443
 
426
444
  export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
445
+ export const BookingResponseStatusEnum = {
446
+ CheckedIn: 'CHECKED_IN',
447
+ Confirmed: 'CONFIRMED',
448
+ Unconfirmed: 'UNCONFIRMED',
449
+ Rescheduled: 'RESCHEDULED',
450
+ NoShow: 'NO_SHOW',
451
+ Rejected: 'REJECTED',
452
+ Cancelled: 'CANCELLED'
453
+ } as const;
454
+
455
+ export type BookingResponseStatusEnum = typeof BookingResponseStatusEnum[keyof typeof BookingResponseStatusEnum];
427
456
 
428
457
  /**
429
458
  *
@@ -1409,6 +1438,12 @@ export interface CreateEventCustomerPayload {
1409
1438
  * @interface CreateEventPayload
1410
1439
  */
1411
1440
  export interface CreateEventPayload {
1441
+ /**
1442
+ * The unique identifier of the customer
1443
+ * @type {string}
1444
+ * @memberof CreateEventPayload
1445
+ */
1446
+ '_id'?: string;
1412
1447
  /**
1413
1448
  * The title of the event
1414
1449
  * @type {string}
@@ -1445,6 +1480,12 @@ export interface CreateEventPayload {
1445
1480
  * @memberof CreateEventPayload
1446
1481
  */
1447
1482
  'customers': Array<CreateEventCustomerPayload>;
1483
+ /**
1484
+ *
1485
+ * @type {LocationDTO}
1486
+ * @memberof CreateEventPayload
1487
+ */
1488
+ 'location': LocationDTO;
1448
1489
  }
1449
1490
  /**
1450
1491
  *
@@ -1647,6 +1688,38 @@ export interface EventDTO {
1647
1688
  */
1648
1689
  'data': boolean;
1649
1690
  }
1691
+ /**
1692
+ *
1693
+ * @export
1694
+ * @interface EventDeletePayload
1695
+ */
1696
+ export interface EventDeletePayload {
1697
+ /**
1698
+ * The unique identifier of the customer
1699
+ * @type {string}
1700
+ * @memberof EventDeletePayload
1701
+ */
1702
+ '_id': string;
1703
+ }
1704
+ /**
1705
+ *
1706
+ * @export
1707
+ * @interface EventDeleteResponseDTO
1708
+ */
1709
+ export interface EventDeleteResponseDTO {
1710
+ /**
1711
+ * statusCode
1712
+ * @type {number}
1713
+ * @memberof EventDeleteResponseDTO
1714
+ */
1715
+ 'statusCode': number;
1716
+ /**
1717
+ *
1718
+ * @type {boolean}
1719
+ * @memberof EventDeleteResponseDTO
1720
+ */
1721
+ 'data': boolean;
1722
+ }
1650
1723
  /**
1651
1724
  *
1652
1725
  * @export
@@ -2135,6 +2208,38 @@ export interface IntegrationsResponse {
2135
2208
  */
2136
2209
  'data': Array<IntegrationEntity>;
2137
2210
  }
2211
+ /**
2212
+ *
2213
+ * @export
2214
+ * @interface LeaveBookingDTO
2215
+ */
2216
+ export interface LeaveBookingDTO {
2217
+ /**
2218
+ * Booking Id
2219
+ * @type {string}
2220
+ * @memberof LeaveBookingDTO
2221
+ */
2222
+ 'booking': string;
2223
+ }
2224
+ /**
2225
+ *
2226
+ * @export
2227
+ * @interface LeaveBookingResponseDTO
2228
+ */
2229
+ export interface LeaveBookingResponseDTO {
2230
+ /**
2231
+ * statusCode
2232
+ * @type {number}
2233
+ * @memberof LeaveBookingResponseDTO
2234
+ */
2235
+ 'statusCode': number;
2236
+ /**
2237
+ *
2238
+ * @type {boolean}
2239
+ * @memberof LeaveBookingResponseDTO
2240
+ */
2241
+ 'data': boolean;
2242
+ }
2138
2243
  /**
2139
2244
  *
2140
2245
  * @export
@@ -4814,6 +4919,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
4814
4919
  options: localVarRequestOptions,
4815
4920
  };
4816
4921
  },
4922
+ /**
4923
+ *
4924
+ * @param {LeaveBookingDTO} leaveBookingDTO
4925
+ * @param {*} [options] Override http request option.
4926
+ * @throws {RequiredError}
4927
+ */
4928
+ bookingControllerLeaveBooking: async (leaveBookingDTO: LeaveBookingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4929
+ // verify required parameter 'leaveBookingDTO' is not null or undefined
4930
+ assertParamExists('bookingControllerLeaveBooking', 'leaveBookingDTO', leaveBookingDTO)
4931
+ const localVarPath = `/v1/booking/leave-booking`;
4932
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4933
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4934
+ let baseOptions;
4935
+ if (configuration) {
4936
+ baseOptions = configuration.baseOptions;
4937
+ }
4938
+
4939
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4940
+ const localVarHeaderParameter = {} as any;
4941
+ const localVarQueryParameter = {} as any;
4942
+
4943
+ // authentication bearer required
4944
+ // http bearer authentication required
4945
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4946
+
4947
+
4948
+
4949
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4950
+
4951
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4952
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4953
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4954
+ localVarRequestOptions.data = serializeDataIfNeeded(leaveBookingDTO, localVarRequestOptions, configuration)
4955
+
4956
+ return {
4957
+ url: toPathString(localVarUrlObj),
4958
+ options: localVarRequestOptions,
4959
+ };
4960
+ },
4817
4961
  /**
4818
4962
  *
4819
4963
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -4911,6 +5055,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
4911
5055
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerGetBooking']?.[localVarOperationServerIndex]?.url;
4912
5056
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4913
5057
  },
5058
+ /**
5059
+ *
5060
+ * @param {LeaveBookingDTO} leaveBookingDTO
5061
+ * @param {*} [options] Override http request option.
5062
+ * @throws {RequiredError}
5063
+ */
5064
+ async bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveBookingResponseDTO>> {
5065
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerLeaveBooking(leaveBookingDTO, options);
5066
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5067
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerLeaveBooking']?.[localVarOperationServerIndex]?.url;
5068
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5069
+ },
4914
5070
  /**
4915
5071
  *
4916
5072
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -4969,6 +5125,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
4969
5125
  bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
4970
5126
  return localVarFp.bookingControllerGetBooking(id, options).then((request) => request(axios, basePath));
4971
5127
  },
5128
+ /**
5129
+ *
5130
+ * @param {LeaveBookingDTO} leaveBookingDTO
5131
+ * @param {*} [options] Override http request option.
5132
+ * @throws {RequiredError}
5133
+ */
5134
+ bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): AxiosPromise<LeaveBookingResponseDTO> {
5135
+ return localVarFp.bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(axios, basePath));
5136
+ },
4972
5137
  /**
4973
5138
  *
4974
5139
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -5032,6 +5197,17 @@ export class BookingApi extends BaseAPI {
5032
5197
  return BookingApiFp(this.configuration).bookingControllerGetBooking(id, options).then((request) => request(this.axios, this.basePath));
5033
5198
  }
5034
5199
 
5200
+ /**
5201
+ *
5202
+ * @param {LeaveBookingDTO} leaveBookingDTO
5203
+ * @param {*} [options] Override http request option.
5204
+ * @throws {RequiredError}
5205
+ * @memberof BookingApi
5206
+ */
5207
+ public bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig) {
5208
+ return BookingApiFp(this.configuration).bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(this.axios, this.basePath));
5209
+ }
5210
+
5035
5211
  /**
5036
5212
  *
5037
5213
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -5998,10 +6174,11 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5998
6174
  *
5999
6175
  * @param {string} startDate Start date for the events
6000
6176
  * @param {string} endDate End date for the events
6177
+ * @param {string} [calendar] Calendar
6001
6178
  * @param {*} [options] Override http request option.
6002
6179
  * @throws {RequiredError}
6003
6180
  */
6004
- calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6181
+ calendarControllerListEvents: async (startDate: string, endDate: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6005
6182
  // verify required parameter 'startDate' is not null or undefined
6006
6183
  assertParamExists('calendarControllerListEvents', 'startDate', startDate)
6007
6184
  // verify required parameter 'endDate' is not null or undefined
@@ -6034,6 +6211,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
6034
6211
  endDate;
6035
6212
  }
6036
6213
 
6214
+ if (calendar !== undefined) {
6215
+ localVarQueryParameter['calendar'] = calendar;
6216
+ }
6217
+
6037
6218
 
6038
6219
 
6039
6220
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6296,11 +6477,12 @@ export const CalendarApiFp = function(configuration?: Configuration) {
6296
6477
  *
6297
6478
  * @param {string} startDate Start date for the events
6298
6479
  * @param {string} endDate End date for the events
6480
+ * @param {string} [calendar] Calendar
6299
6481
  * @param {*} [options] Override http request option.
6300
6482
  * @throws {RequiredError}
6301
6483
  */
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);
6484
+ async calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
6485
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, calendar, options);
6304
6486
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6305
6487
  const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
6306
6488
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6414,11 +6596,12 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
6414
6596
  *
6415
6597
  * @param {string} startDate Start date for the events
6416
6598
  * @param {string} endDate End date for the events
6599
+ * @param {string} [calendar] Calendar
6417
6600
  * @param {*} [options] Override http request option.
6418
6601
  * @throws {RequiredError}
6419
6602
  */
6420
- calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6421
- return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
6603
+ calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6604
+ return localVarFp.calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(axios, basePath));
6422
6605
  },
6423
6606
  /**
6424
6607
  *
@@ -6522,12 +6705,13 @@ export class CalendarApi extends BaseAPI {
6522
6705
  *
6523
6706
  * @param {string} startDate Start date for the events
6524
6707
  * @param {string} endDate End date for the events
6708
+ * @param {string} [calendar] Calendar
6525
6709
  * @param {*} [options] Override http request option.
6526
6710
  * @throws {RequiredError}
6527
6711
  * @memberof CalendarApi
6528
6712
  */
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));
6713
+ public calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig) {
6714
+ return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(this.axios, this.basePath));
6531
6715
  }
6532
6716
 
6533
6717
  /**
@@ -6781,6 +6965,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6781
6965
  options: localVarRequestOptions,
6782
6966
  };
6783
6967
  },
6968
+ /**
6969
+ *
6970
+ * @param {EventDeletePayload} eventDeletePayload
6971
+ * @param {*} [options] Override http request option.
6972
+ * @throws {RequiredError}
6973
+ */
6974
+ eventControllerDeleteEvents: async (eventDeletePayload: EventDeletePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6975
+ // verify required parameter 'eventDeletePayload' is not null or undefined
6976
+ assertParamExists('eventControllerDeleteEvents', 'eventDeletePayload', eventDeletePayload)
6977
+ const localVarPath = `/v1/event`;
6978
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6979
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6980
+ let baseOptions;
6981
+ if (configuration) {
6982
+ baseOptions = configuration.baseOptions;
6983
+ }
6984
+
6985
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
6986
+ const localVarHeaderParameter = {} as any;
6987
+ const localVarQueryParameter = {} as any;
6988
+
6989
+ // authentication bearer required
6990
+ // http bearer authentication required
6991
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6992
+
6993
+
6994
+
6995
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6996
+
6997
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6998
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6999
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7000
+ localVarRequestOptions.data = serializeDataIfNeeded(eventDeletePayload, localVarRequestOptions, configuration)
7001
+
7002
+ return {
7003
+ url: toPathString(localVarUrlObj),
7004
+ options: localVarRequestOptions,
7005
+ };
7006
+ },
6784
7007
  /**
6785
7008
  *
6786
7009
  * @param {string} id
@@ -6852,6 +7075,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6852
7075
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6853
7076
  localVarRequestOptions.data = serializeDataIfNeeded(rejectEventInvitePayload, localVarRequestOptions, configuration)
6854
7077
 
7078
+ return {
7079
+ url: toPathString(localVarUrlObj),
7080
+ options: localVarRequestOptions,
7081
+ };
7082
+ },
7083
+ /**
7084
+ *
7085
+ * @param {CreateEventPayload} createEventPayload
7086
+ * @param {*} [options] Override http request option.
7087
+ * @throws {RequiredError}
7088
+ */
7089
+ eventControllerUpdateEvents: async (createEventPayload: CreateEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7090
+ // verify required parameter 'createEventPayload' is not null or undefined
7091
+ assertParamExists('eventControllerUpdateEvents', 'createEventPayload', createEventPayload)
7092
+ const localVarPath = `/v1/event`;
7093
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7094
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7095
+ let baseOptions;
7096
+ if (configuration) {
7097
+ baseOptions = configuration.baseOptions;
7098
+ }
7099
+
7100
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
7101
+ const localVarHeaderParameter = {} as any;
7102
+ const localVarQueryParameter = {} as any;
7103
+
7104
+ // authentication bearer required
7105
+ // http bearer authentication required
7106
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7107
+
7108
+
7109
+
7110
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7111
+
7112
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7113
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7114
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7115
+ localVarRequestOptions.data = serializeDataIfNeeded(createEventPayload, localVarRequestOptions, configuration)
7116
+
6855
7117
  return {
6856
7118
  url: toPathString(localVarUrlObj),
6857
7119
  options: localVarRequestOptions,
@@ -6891,6 +7153,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
6891
7153
  const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCreateEvents']?.[localVarOperationServerIndex]?.url;
6892
7154
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6893
7155
  },
7156
+ /**
7157
+ *
7158
+ * @param {EventDeletePayload} eventDeletePayload
7159
+ * @param {*} [options] Override http request option.
7160
+ * @throws {RequiredError}
7161
+ */
7162
+ async eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDeleteResponseDTO>> {
7163
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerDeleteEvents(eventDeletePayload, options);
7164
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7165
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerDeleteEvents']?.[localVarOperationServerIndex]?.url;
7166
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7167
+ },
6894
7168
  /**
6895
7169
  *
6896
7170
  * @param {string} id
@@ -6915,6 +7189,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
6915
7189
  const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerRejectEventInvite']?.[localVarOperationServerIndex]?.url;
6916
7190
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6917
7191
  },
7192
+ /**
7193
+ *
7194
+ * @param {CreateEventPayload} createEventPayload
7195
+ * @param {*} [options] Override http request option.
7196
+ * @throws {RequiredError}
7197
+ */
7198
+ async eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
7199
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayload, options);
7200
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7201
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
7202
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7203
+ },
6918
7204
  }
6919
7205
  };
6920
7206
 
@@ -6943,6 +7229,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
6943
7229
  eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
6944
7230
  return localVarFp.eventControllerCreateEvents(createEventPayload, options).then((request) => request(axios, basePath));
6945
7231
  },
7232
+ /**
7233
+ *
7234
+ * @param {EventDeletePayload} eventDeletePayload
7235
+ * @param {*} [options] Override http request option.
7236
+ * @throws {RequiredError}
7237
+ */
7238
+ eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDeleteResponseDTO> {
7239
+ return localVarFp.eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(axios, basePath));
7240
+ },
6946
7241
  /**
6947
7242
  *
6948
7243
  * @param {string} id
@@ -6961,6 +7256,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
6961
7256
  eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
6962
7257
  return localVarFp.eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(axios, basePath));
6963
7258
  },
7259
+ /**
7260
+ *
7261
+ * @param {CreateEventPayload} createEventPayload
7262
+ * @param {*} [options] Override http request option.
7263
+ * @throws {RequiredError}
7264
+ */
7265
+ eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
7266
+ return localVarFp.eventControllerUpdateEvents(createEventPayload, options).then((request) => request(axios, basePath));
7267
+ },
6964
7268
  };
6965
7269
  };
6966
7270
 
@@ -6993,6 +7297,17 @@ export class EventsApi extends BaseAPI {
6993
7297
  return EventsApiFp(this.configuration).eventControllerCreateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
6994
7298
  }
6995
7299
 
7300
+ /**
7301
+ *
7302
+ * @param {EventDeletePayload} eventDeletePayload
7303
+ * @param {*} [options] Override http request option.
7304
+ * @throws {RequiredError}
7305
+ * @memberof EventsApi
7306
+ */
7307
+ public eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig) {
7308
+ return EventsApiFp(this.configuration).eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(this.axios, this.basePath));
7309
+ }
7310
+
6996
7311
  /**
6997
7312
  *
6998
7313
  * @param {string} id
@@ -7014,6 +7329,17 @@ export class EventsApi extends BaseAPI {
7014
7329
  public eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig) {
7015
7330
  return EventsApiFp(this.configuration).eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
7016
7331
  }
7332
+
7333
+ /**
7334
+ *
7335
+ * @param {CreateEventPayload} createEventPayload
7336
+ * @param {*} [options] Override http request option.
7337
+ * @throws {RequiredError}
7338
+ * @memberof EventsApi
7339
+ */
7340
+ public eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig) {
7341
+ return EventsApiFp(this.configuration).eventControllerUpdateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
7342
+ }
7017
7343
  }
7018
7344
 
7019
7345
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.29-alpha",
3
+ "version": "1.1.29-alpha-3",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},