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

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 +300 -119
  2. 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
@@ -2351,44 +2421,6 @@ export interface NewPasswordResponseDTO {
2351
2421
  */
2352
2422
  'message': string;
2353
2423
  }
2354
- /**
2355
- *
2356
- * @export
2357
- * @interface NotificationActionEventPayload
2358
- */
2359
- export interface NotificationActionEventPayload {
2360
- /**
2361
- * Trigger for event
2362
- * @type {string}
2363
- * @memberof NotificationActionEventPayload
2364
- */
2365
- 'trigger': string;
2366
- /**
2367
- * Action Data
2368
- * @type {object}
2369
- * @memberof NotificationActionEventPayload
2370
- */
2371
- 'data': object;
2372
- }
2373
- /**
2374
- *
2375
- * @export
2376
- * @interface NotificationActionEventResponseDTO
2377
- */
2378
- export interface NotificationActionEventResponseDTO {
2379
- /**
2380
- * statusCode
2381
- * @type {number}
2382
- * @memberof NotificationActionEventResponseDTO
2383
- */
2384
- 'statusCode': number;
2385
- /**
2386
- * Response
2387
- * @type {boolean}
2388
- * @memberof NotificationActionEventResponseDTO
2389
- */
2390
- 'success': boolean;
2391
- }
2392
2424
  /**
2393
2425
  *
2394
2426
  * @export
@@ -2446,8 +2478,7 @@ export const NotificationEntityTypeEnum = {
2446
2478
  UserOnboard: 'USER_ONBOARD',
2447
2479
  BusinessBookingCreate: 'BUSINESS_BOOKING_CREATE',
2448
2480
  BookingCreate: 'BOOKING_CREATE',
2449
- BookingCreateForUser: 'BOOKING_CREATE_FOR_USER',
2450
- BokingAccept: 'BOKING_ACCEPT',
2481
+ BokkingAccept: 'BOKKING_ACCEPT',
2451
2482
  BookingReject: 'BOOKING_REJECT'
2452
2483
  } as const;
2453
2484
 
@@ -2479,7 +2510,7 @@ export interface NotificationReadResponseDTO {
2479
2510
  */
2480
2511
  'statusCode': number;
2481
2512
  /**
2482
- * Response
2513
+ *
2483
2514
  * @type {boolean}
2484
2515
  * @memberof NotificationReadResponseDTO
2485
2516
  */
@@ -4814,6 +4845,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
4814
4845
  options: localVarRequestOptions,
4815
4846
  };
4816
4847
  },
4848
+ /**
4849
+ *
4850
+ * @param {LeaveBookingDTO} leaveBookingDTO
4851
+ * @param {*} [options] Override http request option.
4852
+ * @throws {RequiredError}
4853
+ */
4854
+ bookingControllerLeaveBooking: async (leaveBookingDTO: LeaveBookingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4855
+ // verify required parameter 'leaveBookingDTO' is not null or undefined
4856
+ assertParamExists('bookingControllerLeaveBooking', 'leaveBookingDTO', leaveBookingDTO)
4857
+ const localVarPath = `/v1/booking/leave-booking`;
4858
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4859
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4860
+ let baseOptions;
4861
+ if (configuration) {
4862
+ baseOptions = configuration.baseOptions;
4863
+ }
4864
+
4865
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4866
+ const localVarHeaderParameter = {} as any;
4867
+ const localVarQueryParameter = {} as any;
4868
+
4869
+ // authentication bearer required
4870
+ // http bearer authentication required
4871
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4872
+
4873
+
4874
+
4875
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4876
+
4877
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4878
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4879
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4880
+ localVarRequestOptions.data = serializeDataIfNeeded(leaveBookingDTO, localVarRequestOptions, configuration)
4881
+
4882
+ return {
4883
+ url: toPathString(localVarUrlObj),
4884
+ options: localVarRequestOptions,
4885
+ };
4886
+ },
4817
4887
  /**
4818
4888
  *
4819
4889
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -4911,6 +4981,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
4911
4981
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerGetBooking']?.[localVarOperationServerIndex]?.url;
4912
4982
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4913
4983
  },
4984
+ /**
4985
+ *
4986
+ * @param {LeaveBookingDTO} leaveBookingDTO
4987
+ * @param {*} [options] Override http request option.
4988
+ * @throws {RequiredError}
4989
+ */
4990
+ async bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeaveBookingResponseDTO>> {
4991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerLeaveBooking(leaveBookingDTO, options);
4992
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4993
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerLeaveBooking']?.[localVarOperationServerIndex]?.url;
4994
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4995
+ },
4914
4996
  /**
4915
4997
  *
4916
4998
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -4969,6 +5051,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
4969
5051
  bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
4970
5052
  return localVarFp.bookingControllerGetBooking(id, options).then((request) => request(axios, basePath));
4971
5053
  },
5054
+ /**
5055
+ *
5056
+ * @param {LeaveBookingDTO} leaveBookingDTO
5057
+ * @param {*} [options] Override http request option.
5058
+ * @throws {RequiredError}
5059
+ */
5060
+ bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig): AxiosPromise<LeaveBookingResponseDTO> {
5061
+ return localVarFp.bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(axios, basePath));
5062
+ },
4972
5063
  /**
4973
5064
  *
4974
5065
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -5032,6 +5123,17 @@ export class BookingApi extends BaseAPI {
5032
5123
  return BookingApiFp(this.configuration).bookingControllerGetBooking(id, options).then((request) => request(this.axios, this.basePath));
5033
5124
  }
5034
5125
 
5126
+ /**
5127
+ *
5128
+ * @param {LeaveBookingDTO} leaveBookingDTO
5129
+ * @param {*} [options] Override http request option.
5130
+ * @throws {RequiredError}
5131
+ * @memberof BookingApi
5132
+ */
5133
+ public bookingControllerLeaveBooking(leaveBookingDTO: LeaveBookingDTO, options?: RawAxiosRequestConfig) {
5134
+ return BookingApiFp(this.configuration).bookingControllerLeaveBooking(leaveBookingDTO, options).then((request) => request(this.axios, this.basePath));
5135
+ }
5136
+
5035
5137
  /**
5036
5138
  *
5037
5139
  * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
@@ -5998,10 +6100,11 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
5998
6100
  *
5999
6101
  * @param {string} startDate Start date for the events
6000
6102
  * @param {string} endDate End date for the events
6103
+ * @param {string} [calendar] Calendar
6001
6104
  * @param {*} [options] Override http request option.
6002
6105
  * @throws {RequiredError}
6003
6106
  */
6004
- calendarControllerListEvents: async (startDate: string, endDate: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6107
+ calendarControllerListEvents: async (startDate: string, endDate: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6005
6108
  // verify required parameter 'startDate' is not null or undefined
6006
6109
  assertParamExists('calendarControllerListEvents', 'startDate', startDate)
6007
6110
  // verify required parameter 'endDate' is not null or undefined
@@ -6034,6 +6137,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
6034
6137
  endDate;
6035
6138
  }
6036
6139
 
6140
+ if (calendar !== undefined) {
6141
+ localVarQueryParameter['calendar'] = calendar;
6142
+ }
6143
+
6037
6144
 
6038
6145
 
6039
6146
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6296,11 +6403,12 @@ export const CalendarApiFp = function(configuration?: Configuration) {
6296
6403
  *
6297
6404
  * @param {string} startDate Start date for the events
6298
6405
  * @param {string} endDate End date for the events
6406
+ * @param {string} [calendar] Calendar
6299
6407
  * @param {*} [options] Override http request option.
6300
6408
  * @throws {RequiredError}
6301
6409
  */
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);
6410
+ async calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarEventsDTO>> {
6411
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(startDate, endDate, calendar, options);
6304
6412
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6305
6413
  const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
6306
6414
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -6414,11 +6522,12 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
6414
6522
  *
6415
6523
  * @param {string} startDate Start date for the events
6416
6524
  * @param {string} endDate End date for the events
6525
+ * @param {string} [calendar] Calendar
6417
6526
  * @param {*} [options] Override http request option.
6418
6527
  * @throws {RequiredError}
6419
6528
  */
6420
- calendarControllerListEvents(startDate: string, endDate: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6421
- return localVarFp.calendarControllerListEvents(startDate, endDate, options).then((request) => request(axios, basePath));
6529
+ calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<CalendarEventsDTO> {
6530
+ return localVarFp.calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(axios, basePath));
6422
6531
  },
6423
6532
  /**
6424
6533
  *
@@ -6522,12 +6631,13 @@ export class CalendarApi extends BaseAPI {
6522
6631
  *
6523
6632
  * @param {string} startDate Start date for the events
6524
6633
  * @param {string} endDate End date for the events
6634
+ * @param {string} [calendar] Calendar
6525
6635
  * @param {*} [options] Override http request option.
6526
6636
  * @throws {RequiredError}
6527
6637
  * @memberof CalendarApi
6528
6638
  */
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));
6639
+ public calendarControllerListEvents(startDate: string, endDate: string, calendar?: string, options?: RawAxiosRequestConfig) {
6640
+ return CalendarApiFp(this.configuration).calendarControllerListEvents(startDate, endDate, calendar, options).then((request) => request(this.axios, this.basePath));
6531
6641
  }
6532
6642
 
6533
6643
  /**
@@ -6781,6 +6891,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6781
6891
  options: localVarRequestOptions,
6782
6892
  };
6783
6893
  },
6894
+ /**
6895
+ *
6896
+ * @param {EventDeletePayload} eventDeletePayload
6897
+ * @param {*} [options] Override http request option.
6898
+ * @throws {RequiredError}
6899
+ */
6900
+ eventControllerDeleteEvents: async (eventDeletePayload: EventDeletePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6901
+ // verify required parameter 'eventDeletePayload' is not null or undefined
6902
+ assertParamExists('eventControllerDeleteEvents', 'eventDeletePayload', eventDeletePayload)
6903
+ const localVarPath = `/v1/event`;
6904
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6905
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6906
+ let baseOptions;
6907
+ if (configuration) {
6908
+ baseOptions = configuration.baseOptions;
6909
+ }
6910
+
6911
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
6912
+ const localVarHeaderParameter = {} as any;
6913
+ const localVarQueryParameter = {} as any;
6914
+
6915
+ // authentication bearer required
6916
+ // http bearer authentication required
6917
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6918
+
6919
+
6920
+
6921
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6922
+
6923
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6924
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6925
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6926
+ localVarRequestOptions.data = serializeDataIfNeeded(eventDeletePayload, localVarRequestOptions, configuration)
6927
+
6928
+ return {
6929
+ url: toPathString(localVarUrlObj),
6930
+ options: localVarRequestOptions,
6931
+ };
6932
+ },
6784
6933
  /**
6785
6934
  *
6786
6935
  * @param {string} id
@@ -6852,6 +7001,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
6852
7001
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6853
7002
  localVarRequestOptions.data = serializeDataIfNeeded(rejectEventInvitePayload, localVarRequestOptions, configuration)
6854
7003
 
7004
+ return {
7005
+ url: toPathString(localVarUrlObj),
7006
+ options: localVarRequestOptions,
7007
+ };
7008
+ },
7009
+ /**
7010
+ *
7011
+ * @param {CreateEventPayload} createEventPayload
7012
+ * @param {*} [options] Override http request option.
7013
+ * @throws {RequiredError}
7014
+ */
7015
+ eventControllerUpdateEvents: async (createEventPayload: CreateEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7016
+ // verify required parameter 'createEventPayload' is not null or undefined
7017
+ assertParamExists('eventControllerUpdateEvents', 'createEventPayload', createEventPayload)
7018
+ const localVarPath = `/v1/event`;
7019
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7020
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7021
+ let baseOptions;
7022
+ if (configuration) {
7023
+ baseOptions = configuration.baseOptions;
7024
+ }
7025
+
7026
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
7027
+ const localVarHeaderParameter = {} as any;
7028
+ const localVarQueryParameter = {} as any;
7029
+
7030
+ // authentication bearer required
7031
+ // http bearer authentication required
7032
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7033
+
7034
+
7035
+
7036
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7037
+
7038
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7039
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7040
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7041
+ localVarRequestOptions.data = serializeDataIfNeeded(createEventPayload, localVarRequestOptions, configuration)
7042
+
6855
7043
  return {
6856
7044
  url: toPathString(localVarUrlObj),
6857
7045
  options: localVarRequestOptions,
@@ -6891,6 +7079,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
6891
7079
  const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCreateEvents']?.[localVarOperationServerIndex]?.url;
6892
7080
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6893
7081
  },
7082
+ /**
7083
+ *
7084
+ * @param {EventDeletePayload} eventDeletePayload
7085
+ * @param {*} [options] Override http request option.
7086
+ * @throws {RequiredError}
7087
+ */
7088
+ async eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDeleteResponseDTO>> {
7089
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerDeleteEvents(eventDeletePayload, options);
7090
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7091
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerDeleteEvents']?.[localVarOperationServerIndex]?.url;
7092
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7093
+ },
6894
7094
  /**
6895
7095
  *
6896
7096
  * @param {string} id
@@ -6915,6 +7115,18 @@ export const EventsApiFp = function(configuration?: Configuration) {
6915
7115
  const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerRejectEventInvite']?.[localVarOperationServerIndex]?.url;
6916
7116
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6917
7117
  },
7118
+ /**
7119
+ *
7120
+ * @param {CreateEventPayload} createEventPayload
7121
+ * @param {*} [options] Override http request option.
7122
+ * @throws {RequiredError}
7123
+ */
7124
+ async eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
7125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayload, options);
7126
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7127
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
7128
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7129
+ },
6918
7130
  }
6919
7131
  };
6920
7132
 
@@ -6943,6 +7155,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
6943
7155
  eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
6944
7156
  return localVarFp.eventControllerCreateEvents(createEventPayload, options).then((request) => request(axios, basePath));
6945
7157
  },
7158
+ /**
7159
+ *
7160
+ * @param {EventDeletePayload} eventDeletePayload
7161
+ * @param {*} [options] Override http request option.
7162
+ * @throws {RequiredError}
7163
+ */
7164
+ eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDeleteResponseDTO> {
7165
+ return localVarFp.eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(axios, basePath));
7166
+ },
6946
7167
  /**
6947
7168
  *
6948
7169
  * @param {string} id
@@ -6961,6 +7182,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
6961
7182
  eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
6962
7183
  return localVarFp.eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(axios, basePath));
6963
7184
  },
7185
+ /**
7186
+ *
7187
+ * @param {CreateEventPayload} createEventPayload
7188
+ * @param {*} [options] Override http request option.
7189
+ * @throws {RequiredError}
7190
+ */
7191
+ eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
7192
+ return localVarFp.eventControllerUpdateEvents(createEventPayload, options).then((request) => request(axios, basePath));
7193
+ },
6964
7194
  };
6965
7195
  };
6966
7196
 
@@ -6993,6 +7223,17 @@ export class EventsApi extends BaseAPI {
6993
7223
  return EventsApiFp(this.configuration).eventControllerCreateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
6994
7224
  }
6995
7225
 
7226
+ /**
7227
+ *
7228
+ * @param {EventDeletePayload} eventDeletePayload
7229
+ * @param {*} [options] Override http request option.
7230
+ * @throws {RequiredError}
7231
+ * @memberof EventsApi
7232
+ */
7233
+ public eventControllerDeleteEvents(eventDeletePayload: EventDeletePayload, options?: RawAxiosRequestConfig) {
7234
+ return EventsApiFp(this.configuration).eventControllerDeleteEvents(eventDeletePayload, options).then((request) => request(this.axios, this.basePath));
7235
+ }
7236
+
6996
7237
  /**
6997
7238
  *
6998
7239
  * @param {string} id
@@ -7014,6 +7255,17 @@ export class EventsApi extends BaseAPI {
7014
7255
  public eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig) {
7015
7256
  return EventsApiFp(this.configuration).eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
7016
7257
  }
7258
+
7259
+ /**
7260
+ *
7261
+ * @param {CreateEventPayload} createEventPayload
7262
+ * @param {*} [options] Override http request option.
7263
+ * @throws {RequiredError}
7264
+ * @memberof EventsApi
7265
+ */
7266
+ public eventControllerUpdateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig) {
7267
+ return EventsApiFp(this.configuration).eventControllerUpdateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
7268
+ }
7017
7269
  }
7018
7270
 
7019
7271
 
@@ -8229,45 +8481,6 @@ export class LocationApi extends BaseAPI {
8229
8481
  */
8230
8482
  export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
8231
8483
  return {
8232
- /**
8233
- *
8234
- * @param {NotificationActionEventPayload} notificationActionEventPayload
8235
- * @param {*} [options] Override http request option.
8236
- * @throws {RequiredError}
8237
- */
8238
- notificationControllerActionEventEmitter: async (notificationActionEventPayload: NotificationActionEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8239
- // verify required parameter 'notificationActionEventPayload' is not null or undefined
8240
- assertParamExists('notificationControllerActionEventEmitter', 'notificationActionEventPayload', notificationActionEventPayload)
8241
- const localVarPath = `/v1/notification/action-event-emitter`;
8242
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8243
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8244
- let baseOptions;
8245
- if (configuration) {
8246
- baseOptions = configuration.baseOptions;
8247
- }
8248
-
8249
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8250
- const localVarHeaderParameter = {} as any;
8251
- const localVarQueryParameter = {} as any;
8252
-
8253
- // authentication bearer required
8254
- // http bearer authentication required
8255
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
8256
-
8257
-
8258
-
8259
- localVarHeaderParameter['Content-Type'] = 'application/json';
8260
-
8261
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8262
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8263
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8264
- localVarRequestOptions.data = serializeDataIfNeeded(notificationActionEventPayload, localVarRequestOptions, configuration)
8265
-
8266
- return {
8267
- url: toPathString(localVarUrlObj),
8268
- options: localVarRequestOptions,
8269
- };
8270
- },
8271
8484
  /**
8272
8485
  *
8273
8486
  * @param {number} page
@@ -8371,18 +8584,6 @@ export const NotificationApiAxiosParamCreator = function (configuration?: Config
8371
8584
  export const NotificationApiFp = function(configuration?: Configuration) {
8372
8585
  const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
8373
8586
  return {
8374
- /**
8375
- *
8376
- * @param {NotificationActionEventPayload} notificationActionEventPayload
8377
- * @param {*} [options] Override http request option.
8378
- * @throws {RequiredError}
8379
- */
8380
- async notificationControllerActionEventEmitter(notificationActionEventPayload: NotificationActionEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationActionEventResponseDTO>> {
8381
- const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerActionEventEmitter(notificationActionEventPayload, options);
8382
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8383
- const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerActionEventEmitter']?.[localVarOperationServerIndex]?.url;
8384
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8385
- },
8386
8587
  /**
8387
8588
  *
8388
8589
  * @param {number} page
@@ -8419,15 +8620,6 @@ export const NotificationApiFp = function(configuration?: Configuration) {
8419
8620
  export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
8420
8621
  const localVarFp = NotificationApiFp(configuration)
8421
8622
  return {
8422
- /**
8423
- *
8424
- * @param {NotificationActionEventPayload} notificationActionEventPayload
8425
- * @param {*} [options] Override http request option.
8426
- * @throws {RequiredError}
8427
- */
8428
- notificationControllerActionEventEmitter(notificationActionEventPayload: NotificationActionEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<NotificationActionEventResponseDTO> {
8429
- return localVarFp.notificationControllerActionEventEmitter(notificationActionEventPayload, options).then((request) => request(axios, basePath));
8430
- },
8431
8623
  /**
8432
8624
  *
8433
8625
  * @param {number} page
@@ -8458,17 +8650,6 @@ export const NotificationApiFactory = function (configuration?: Configuration, b
8458
8650
  * @extends {BaseAPI}
8459
8651
  */
8460
8652
  export class NotificationApi extends BaseAPI {
8461
- /**
8462
- *
8463
- * @param {NotificationActionEventPayload} notificationActionEventPayload
8464
- * @param {*} [options] Override http request option.
8465
- * @throws {RequiredError}
8466
- * @memberof NotificationApi
8467
- */
8468
- public notificationControllerActionEventEmitter(notificationActionEventPayload: NotificationActionEventPayload, options?: RawAxiosRequestConfig) {
8469
- return NotificationApiFp(this.configuration).notificationControllerActionEventEmitter(notificationActionEventPayload, options).then((request) => request(this.axios, this.basePath));
8470
- }
8471
-
8472
8653
  /**
8473
8654
  *
8474
8655
  * @param {number} page
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-beta",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},