@gooday_corp/gooday-api-client 4.4.26 → 4.4.29

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 CHANGED
@@ -3725,6 +3725,202 @@ export interface PromoCodeResponseDTO {
3725
3725
  */
3726
3726
  'message': string;
3727
3727
  }
3728
+ export interface RSVPEvenPayloadDTO {
3729
+ /**
3730
+ * Start date of event
3731
+ */
3732
+ 'startDate': string;
3733
+ /**
3734
+ * End date of event
3735
+ */
3736
+ 'endDate': string;
3737
+ /**
3738
+ * Recurrence End date of event
3739
+ */
3740
+ 'recurrenceEndDate': string;
3741
+ /**
3742
+ * Start hour of an event
3743
+ */
3744
+ 'from': string;
3745
+ /**
3746
+ * End hour of an event
3747
+ */
3748
+ 'to': string;
3749
+ 'repeat': RSVPEvenPayloadDTORepeatEnum;
3750
+ 'byDay'?: string;
3751
+ 'byMonthDay'?: string;
3752
+ 'byMonth'?: string;
3753
+ 'repeatBy'?: string;
3754
+ /**
3755
+ * Event name
3756
+ */
3757
+ 'title': string;
3758
+ 'price': number;
3759
+ 'description': string;
3760
+ 'capacity': number;
3761
+ /**
3762
+ * user
3763
+ */
3764
+ 'userId': string;
3765
+ /**
3766
+ * Business
3767
+ */
3768
+ 'business': string;
3769
+ /**
3770
+ * Business venue
3771
+ */
3772
+ 'venue': string;
3773
+ 'tags': Array<string>;
3774
+ 'hideLocation': boolean;
3775
+ 'hostBy': string;
3776
+ 'hosImage': string;
3777
+ 'photo': string;
3778
+ 'timezone': string;
3779
+ 'category': RSVPEvenPayloadDTOCategoryEnum;
3780
+ 'externalTicketing'?: string;
3781
+ 'otherLink'?: string;
3782
+ 'location'?: RSVPEventLocationDTO;
3783
+ 'discounts'?: Array<Discount>;
3784
+ }
3785
+
3786
+ export const RSVPEvenPayloadDTORepeatEnum = {
3787
+ None: 'NONE',
3788
+ Daily: 'DAILY',
3789
+ Weekly: 'WEEKLY',
3790
+ Monthly: 'MONTHLY',
3791
+ Year: 'YEAR'
3792
+ } as const;
3793
+
3794
+ export type RSVPEvenPayloadDTORepeatEnum = typeof RSVPEvenPayloadDTORepeatEnum[keyof typeof RSVPEvenPayloadDTORepeatEnum];
3795
+ export const RSVPEvenPayloadDTOCategoryEnum = {
3796
+ Public: 'PUBLIC',
3797
+ Private: 'PRIVATE'
3798
+ } as const;
3799
+
3800
+ export type RSVPEvenPayloadDTOCategoryEnum = typeof RSVPEvenPayloadDTOCategoryEnum[keyof typeof RSVPEvenPayloadDTOCategoryEnum];
3801
+
3802
+ export interface RSVPEventDTO {
3803
+ /**
3804
+ * statusCode
3805
+ */
3806
+ 'statusCode': number;
3807
+ 'data': RSVPEventEntity;
3808
+ }
3809
+ export interface RSVPEventEntity {
3810
+ /**
3811
+ * Is recurring event
3812
+ */
3813
+ 'isRecurring': boolean;
3814
+ /**
3815
+ * Duration in minutes
3816
+ */
3817
+ 'duration': number;
3818
+ /**
3819
+ * Repeat interval for event
3820
+ */
3821
+ 'repeat': RSVPEventEntityRepeatEnum;
3822
+ /**
3823
+ * Start date of an event
3824
+ */
3825
+ 'startDate': string;
3826
+ /**
3827
+ * End date of an event
3828
+ */
3829
+ 'endDate': string;
3830
+ /**
3831
+ * Recurrence end date of an event
3832
+ */
3833
+ 'recurrenceEndDate': string;
3834
+ /**
3835
+ * Recurrence pattern
3836
+ */
3837
+ 'pattern'?: string;
3838
+ 'byDay'?: string;
3839
+ 'byMonthDay'?: string;
3840
+ 'byMonth'?: string;
3841
+ 'repeatBy'?: string;
3842
+ /**
3843
+ * Unique identifier for the booking
3844
+ */
3845
+ '_id': string;
3846
+ /**
3847
+ * Event name
3848
+ */
3849
+ 'title': string;
3850
+ 'price': number;
3851
+ 'description': string;
3852
+ 'capacity': number;
3853
+ /**
3854
+ * user
3855
+ */
3856
+ 'userId': UserEntity;
3857
+ /**
3858
+ * Business
3859
+ */
3860
+ 'business': BusinessEntity;
3861
+ /**
3862
+ * Business venue
3863
+ */
3864
+ 'venue': BusinessVenueDetailsEntity;
3865
+ 'tags': Array<string>;
3866
+ 'hideLocation': boolean;
3867
+ 'hostBy': string;
3868
+ 'hostImage': string;
3869
+ 'photo': string;
3870
+ 'timezone': string;
3871
+ 'type': RSVPEventEntityTypeEnum;
3872
+ 'externalTicketing'?: string;
3873
+ 'otherLink'?: string;
3874
+ 'location'?: RSVPEventLocationDTO;
3875
+ 'discounts'?: Array<Discount>;
3876
+ }
3877
+
3878
+ export const RSVPEventEntityRepeatEnum = {
3879
+ None: 'NONE',
3880
+ Daily: 'DAILY',
3881
+ Weekly: 'WEEKLY',
3882
+ Monthly: 'MONTHLY',
3883
+ Year: 'YEAR'
3884
+ } as const;
3885
+
3886
+ export type RSVPEventEntityRepeatEnum = typeof RSVPEventEntityRepeatEnum[keyof typeof RSVPEventEntityRepeatEnum];
3887
+ export const RSVPEventEntityTypeEnum = {
3888
+ Public: 'PUBLIC',
3889
+ Private: 'PRIVATE'
3890
+ } as const;
3891
+
3892
+ export type RSVPEventEntityTypeEnum = typeof RSVPEventEntityTypeEnum[keyof typeof RSVPEventEntityTypeEnum];
3893
+
3894
+ export interface RSVPEventLocationDTO {
3895
+ 'type': RSVPEventLocationDTOTypeEnum;
3896
+ 'coordinates': Array<number>;
3897
+ /**
3898
+ * Optional distance from a reference point.
3899
+ */
3900
+ 'distance'?: string;
3901
+ /**
3902
+ * Meta information about the location.
3903
+ */
3904
+ 'meta': RSVPEventMetaDTO;
3905
+ }
3906
+
3907
+ export const RSVPEventLocationDTOTypeEnum = {
3908
+ Point: 'Point'
3909
+ } as const;
3910
+
3911
+ export type RSVPEventLocationDTOTypeEnum = typeof RSVPEventLocationDTOTypeEnum[keyof typeof RSVPEventLocationDTOTypeEnum];
3912
+
3913
+ export interface RSVPEventMetaDTO {
3914
+ 'formattedAddress'?: string;
3915
+ 'shortFormattedAddress': string;
3916
+ }
3917
+ export interface RSVPEventResponseDTO {
3918
+ /**
3919
+ * statusCode
3920
+ */
3921
+ 'statusCode': number;
3922
+ 'data': Array<RSVPEventEntity>;
3923
+ }
3728
3924
  export interface RegularBookingAvailabilityPayloadDTO {
3729
3925
  /**
3730
3926
  * Start date for the events
@@ -7548,6 +7744,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7548
7744
  options: localVarRequestOptions,
7549
7745
  };
7550
7746
  },
7747
+ /**
7748
+ *
7749
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
7750
+ * @param {*} [options] Override http request option.
7751
+ * @throws {RequiredError}
7752
+ */
7753
+ bookingControllerRevertBookingStatus: async (acceptBookingInvitePayload: AcceptBookingInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7754
+ // verify required parameter 'acceptBookingInvitePayload' is not null or undefined
7755
+ assertParamExists('bookingControllerRevertBookingStatus', 'acceptBookingInvitePayload', acceptBookingInvitePayload)
7756
+ const localVarPath = `/v1/booking/revert-booking-status`;
7757
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7758
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7759
+ let baseOptions;
7760
+ if (configuration) {
7761
+ baseOptions = configuration.baseOptions;
7762
+ }
7763
+
7764
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7765
+ const localVarHeaderParameter = {} as any;
7766
+ const localVarQueryParameter = {} as any;
7767
+
7768
+ // authentication bearer required
7769
+ // http bearer authentication required
7770
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7771
+
7772
+
7773
+
7774
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7775
+
7776
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7777
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7778
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7779
+ localVarRequestOptions.data = serializeDataIfNeeded(acceptBookingInvitePayload, localVarRequestOptions, configuration)
7780
+
7781
+ return {
7782
+ url: toPathString(localVarUrlObj),
7783
+ options: localVarRequestOptions,
7784
+ };
7785
+ },
7551
7786
  /**
7552
7787
  *
7553
7788
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -7832,6 +8067,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7832
8067
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
7833
8068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7834
8069
  },
8070
+ /**
8071
+ *
8072
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8073
+ * @param {*} [options] Override http request option.
8074
+ * @throws {RequiredError}
8075
+ */
8076
+ async bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRequestResponseDTO>> {
8077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options);
8078
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8079
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRevertBookingStatus']?.[localVarOperationServerIndex]?.url;
8080
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8081
+ },
7835
8082
  /**
7836
8083
  *
7837
8084
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8011,6 +8258,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8011
8258
  bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8012
8259
  return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
8013
8260
  },
8261
+ /**
8262
+ *
8263
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8264
+ * @param {*} [options] Override http request option.
8265
+ * @throws {RequiredError}
8266
+ */
8267
+ bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
8268
+ return localVarFp.bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
8269
+ },
8014
8270
  /**
8015
8271
  *
8016
8272
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8198,6 +8454,16 @@ export class BookingApi extends BaseAPI {
8198
8454
  return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
8199
8455
  }
8200
8456
 
8457
+ /**
8458
+ *
8459
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8460
+ * @param {*} [options] Override http request option.
8461
+ * @throws {RequiredError}
8462
+ */
8463
+ public bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
8464
+ return BookingApiFp(this.configuration).bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
8465
+ }
8466
+
8201
8467
  /**
8202
8468
  *
8203
8469
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -13026,6 +13292,45 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
13026
13292
  options: localVarRequestOptions,
13027
13293
  };
13028
13294
  },
13295
+ /**
13296
+ *
13297
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
13298
+ * @param {*} [options] Override http request option.
13299
+ * @throws {RequiredError}
13300
+ */
13301
+ eventControllerRevertEventStatus: async (acceptEventInvitePayload: AcceptEventInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13302
+ // verify required parameter 'acceptEventInvitePayload' is not null or undefined
13303
+ assertParamExists('eventControllerRevertEventStatus', 'acceptEventInvitePayload', acceptEventInvitePayload)
13304
+ const localVarPath = `/v1/event/revert-event-status`;
13305
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13306
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13307
+ let baseOptions;
13308
+ if (configuration) {
13309
+ baseOptions = configuration.baseOptions;
13310
+ }
13311
+
13312
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
13313
+ const localVarHeaderParameter = {} as any;
13314
+ const localVarQueryParameter = {} as any;
13315
+
13316
+ // authentication bearer required
13317
+ // http bearer authentication required
13318
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
13319
+
13320
+
13321
+
13322
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13323
+
13324
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13325
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13326
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13327
+ localVarRequestOptions.data = serializeDataIfNeeded(acceptEventInvitePayload, localVarRequestOptions, configuration)
13328
+
13329
+ return {
13330
+ url: toPathString(localVarUrlObj),
13331
+ options: localVarRequestOptions,
13332
+ };
13333
+ },
13029
13334
  /**
13030
13335
  *
13031
13336
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -13148,19 +13453,31 @@ export const EventsApiFp = function(configuration?: Configuration) {
13148
13453
  },
13149
13454
  /**
13150
13455
  *
13151
- * @param {CreateEventPayloadDTO} createEventPayloadDTO
13456
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
13152
13457
  * @param {*} [options] Override http request option.
13153
13458
  * @throws {RequiredError}
13154
13459
  */
13155
- async eventControllerUpdateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
13156
- const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayloadDTO, options);
13460
+ async eventControllerRevertEventStatus(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
13461
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerRevertEventStatus(acceptEventInvitePayload, options);
13157
13462
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13158
- const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
13463
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerRevertEventStatus']?.[localVarOperationServerIndex]?.url;
13159
13464
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13160
13465
  },
13161
- }
13162
- };
13163
-
13466
+ /**
13467
+ *
13468
+ * @param {CreateEventPayloadDTO} createEventPayloadDTO
13469
+ * @param {*} [options] Override http request option.
13470
+ * @throws {RequiredError}
13471
+ */
13472
+ async eventControllerUpdateEvents(createEventPayloadDTO: CreateEventPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
13473
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerUpdateEvents(createEventPayloadDTO, options);
13474
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13475
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerUpdateEvents']?.[localVarOperationServerIndex]?.url;
13476
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13477
+ },
13478
+ }
13479
+ };
13480
+
13164
13481
  /**
13165
13482
  * EventsApi - factory interface
13166
13483
  */
@@ -13221,6 +13538,15 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
13221
13538
  eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
13222
13539
  return localVarFp.eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(axios, basePath));
13223
13540
  },
13541
+ /**
13542
+ *
13543
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
13544
+ * @param {*} [options] Override http request option.
13545
+ * @throws {RequiredError}
13546
+ */
13547
+ eventControllerRevertEventStatus(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
13548
+ return localVarFp.eventControllerRevertEventStatus(acceptEventInvitePayload, options).then((request) => request(axios, basePath));
13549
+ },
13224
13550
  /**
13225
13551
  *
13226
13552
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -13297,6 +13623,16 @@ export class EventsApi extends BaseAPI {
13297
13623
  return EventsApiFp(this.configuration).eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
13298
13624
  }
13299
13625
 
13626
+ /**
13627
+ *
13628
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
13629
+ * @param {*} [options] Override http request option.
13630
+ * @throws {RequiredError}
13631
+ */
13632
+ public eventControllerRevertEventStatus(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig) {
13633
+ return EventsApiFp(this.configuration).eventControllerRevertEventStatus(acceptEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
13634
+ }
13635
+
13300
13636
  /**
13301
13637
  *
13302
13638
  * @param {CreateEventPayloadDTO} createEventPayloadDTO
@@ -17672,6 +18008,335 @@ export class PrepaidServiceApi extends BaseAPI {
17672
18008
 
17673
18009
 
17674
18010
 
18011
+ /**
18012
+ * RSVPEventApi - axios parameter creator
18013
+ */
18014
+ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configuration) {
18015
+ return {
18016
+ /**
18017
+ *
18018
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18019
+ * @param {*} [options] Override http request option.
18020
+ * @throws {RequiredError}
18021
+ */
18022
+ searchControllerAddRSVPEvent: async (rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18023
+ // verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
18024
+ assertParamExists('searchControllerAddRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
18025
+ const localVarPath = `/v1/rsvp`;
18026
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18028
+ let baseOptions;
18029
+ if (configuration) {
18030
+ baseOptions = configuration.baseOptions;
18031
+ }
18032
+
18033
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18034
+ const localVarHeaderParameter = {} as any;
18035
+ const localVarQueryParameter = {} as any;
18036
+
18037
+
18038
+
18039
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18040
+
18041
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18042
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18043
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18044
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEvenPayloadDTO, localVarRequestOptions, configuration)
18045
+
18046
+ return {
18047
+ url: toPathString(localVarUrlObj),
18048
+ options: localVarRequestOptions,
18049
+ };
18050
+ },
18051
+ /**
18052
+ *
18053
+ * @param {string} id
18054
+ * @param {*} [options] Override http request option.
18055
+ * @throws {RequiredError}
18056
+ */
18057
+ searchControllerRsvpEventById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18058
+ // verify required parameter 'id' is not null or undefined
18059
+ assertParamExists('searchControllerRsvpEventById', 'id', id)
18060
+ const localVarPath = `/v1/rsvp/{id}`
18061
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18063
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18064
+ let baseOptions;
18065
+ if (configuration) {
18066
+ baseOptions = configuration.baseOptions;
18067
+ }
18068
+
18069
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18070
+ const localVarHeaderParameter = {} as any;
18071
+ const localVarQueryParameter = {} as any;
18072
+
18073
+
18074
+
18075
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18076
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18077
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18078
+
18079
+ return {
18080
+ url: toPathString(localVarUrlObj),
18081
+ options: localVarRequestOptions,
18082
+ };
18083
+ },
18084
+ /**
18085
+ *
18086
+ * @param {number} page
18087
+ * @param {number} pageSize
18088
+ * @param {string} [search]
18089
+ * @param {string} [venue]
18090
+ * @param {*} [options] Override http request option.
18091
+ * @throws {RequiredError}
18092
+ */
18093
+ searchControllerRsvpEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18094
+ // verify required parameter 'page' is not null or undefined
18095
+ assertParamExists('searchControllerRsvpEvents', 'page', page)
18096
+ // verify required parameter 'pageSize' is not null or undefined
18097
+ assertParamExists('searchControllerRsvpEvents', 'pageSize', pageSize)
18098
+ const localVarPath = `/v1/rsvp`;
18099
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18100
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18101
+ let baseOptions;
18102
+ if (configuration) {
18103
+ baseOptions = configuration.baseOptions;
18104
+ }
18105
+
18106
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18107
+ const localVarHeaderParameter = {} as any;
18108
+ const localVarQueryParameter = {} as any;
18109
+
18110
+ if (page !== undefined) {
18111
+ localVarQueryParameter['page'] = page;
18112
+ }
18113
+
18114
+ if (pageSize !== undefined) {
18115
+ localVarQueryParameter['pageSize'] = pageSize;
18116
+ }
18117
+
18118
+ if (search !== undefined) {
18119
+ localVarQueryParameter['search'] = search;
18120
+ }
18121
+
18122
+ if (venue !== undefined) {
18123
+ localVarQueryParameter['venue'] = venue;
18124
+ }
18125
+
18126
+
18127
+
18128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18131
+
18132
+ return {
18133
+ url: toPathString(localVarUrlObj),
18134
+ options: localVarRequestOptions,
18135
+ };
18136
+ },
18137
+ /**
18138
+ *
18139
+ * @param {string} id
18140
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18141
+ * @param {*} [options] Override http request option.
18142
+ * @throws {RequiredError}
18143
+ */
18144
+ searchControllerUpdateRSVPEvent: async (id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18145
+ // verify required parameter 'id' is not null or undefined
18146
+ assertParamExists('searchControllerUpdateRSVPEvent', 'id', id)
18147
+ // verify required parameter 'rSVPEvenPayloadDTO' is not null or undefined
18148
+ assertParamExists('searchControllerUpdateRSVPEvent', 'rSVPEvenPayloadDTO', rSVPEvenPayloadDTO)
18149
+ const localVarPath = `/v1/rsvp/{id}`
18150
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18153
+ let baseOptions;
18154
+ if (configuration) {
18155
+ baseOptions = configuration.baseOptions;
18156
+ }
18157
+
18158
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
18159
+ const localVarHeaderParameter = {} as any;
18160
+ const localVarQueryParameter = {} as any;
18161
+
18162
+
18163
+
18164
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18165
+
18166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18168
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18169
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEvenPayloadDTO, localVarRequestOptions, configuration)
18170
+
18171
+ return {
18172
+ url: toPathString(localVarUrlObj),
18173
+ options: localVarRequestOptions,
18174
+ };
18175
+ },
18176
+ }
18177
+ };
18178
+
18179
+ /**
18180
+ * RSVPEventApi - functional programming interface
18181
+ */
18182
+ export const RSVPEventApiFp = function(configuration?: Configuration) {
18183
+ const localVarAxiosParamCreator = RSVPEventApiAxiosParamCreator(configuration)
18184
+ return {
18185
+ /**
18186
+ *
18187
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18188
+ * @param {*} [options] Override http request option.
18189
+ * @throws {RequiredError}
18190
+ */
18191
+ async searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18192
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options);
18193
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18194
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerAddRSVPEvent']?.[localVarOperationServerIndex]?.url;
18195
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18196
+ },
18197
+ /**
18198
+ *
18199
+ * @param {string} id
18200
+ * @param {*} [options] Override http request option.
18201
+ * @throws {RequiredError}
18202
+ */
18203
+ async searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRsvpEventById(id, options);
18205
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18206
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerRsvpEventById']?.[localVarOperationServerIndex]?.url;
18207
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18208
+ },
18209
+ /**
18210
+ *
18211
+ * @param {number} page
18212
+ * @param {number} pageSize
18213
+ * @param {string} [search]
18214
+ * @param {string} [venue]
18215
+ * @param {*} [options] Override http request option.
18216
+ * @throws {RequiredError}
18217
+ */
18218
+ async searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18219
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerRsvpEvents(page, pageSize, search, venue, options);
18220
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18221
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerRsvpEvents']?.[localVarOperationServerIndex]?.url;
18222
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18223
+ },
18224
+ /**
18225
+ *
18226
+ * @param {string} id
18227
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18228
+ * @param {*} [options] Override http request option.
18229
+ * @throws {RequiredError}
18230
+ */
18231
+ async searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventDTO>> {
18232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options);
18233
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18234
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.searchControllerUpdateRSVPEvent']?.[localVarOperationServerIndex]?.url;
18235
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18236
+ },
18237
+ }
18238
+ };
18239
+
18240
+ /**
18241
+ * RSVPEventApi - factory interface
18242
+ */
18243
+ export const RSVPEventApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
18244
+ const localVarFp = RSVPEventApiFp(configuration)
18245
+ return {
18246
+ /**
18247
+ *
18248
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18249
+ * @param {*} [options] Override http request option.
18250
+ * @throws {RequiredError}
18251
+ */
18252
+ searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18253
+ return localVarFp.searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
18254
+ },
18255
+ /**
18256
+ *
18257
+ * @param {string} id
18258
+ * @param {*} [options] Override http request option.
18259
+ * @throws {RequiredError}
18260
+ */
18261
+ searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18262
+ return localVarFp.searchControllerRsvpEventById(id, options).then((request) => request(axios, basePath));
18263
+ },
18264
+ /**
18265
+ *
18266
+ * @param {number} page
18267
+ * @param {number} pageSize
18268
+ * @param {string} [search]
18269
+ * @param {string} [venue]
18270
+ * @param {*} [options] Override http request option.
18271
+ * @throws {RequiredError}
18272
+ */
18273
+ searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18274
+ return localVarFp.searchControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
18275
+ },
18276
+ /**
18277
+ *
18278
+ * @param {string} id
18279
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18280
+ * @param {*} [options] Override http request option.
18281
+ * @throws {RequiredError}
18282
+ */
18283
+ searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventDTO> {
18284
+ return localVarFp.searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(axios, basePath));
18285
+ },
18286
+ };
18287
+ };
18288
+
18289
+ /**
18290
+ * RSVPEventApi - object-oriented interface
18291
+ */
18292
+ export class RSVPEventApi extends BaseAPI {
18293
+ /**
18294
+ *
18295
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18296
+ * @param {*} [options] Override http request option.
18297
+ * @throws {RequiredError}
18298
+ */
18299
+ public searchControllerAddRSVPEvent(rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
18300
+ return RSVPEventApiFp(this.configuration).searchControllerAddRSVPEvent(rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
18301
+ }
18302
+
18303
+ /**
18304
+ *
18305
+ * @param {string} id
18306
+ * @param {*} [options] Override http request option.
18307
+ * @throws {RequiredError}
18308
+ */
18309
+ public searchControllerRsvpEventById(id: string, options?: RawAxiosRequestConfig) {
18310
+ return RSVPEventApiFp(this.configuration).searchControllerRsvpEventById(id, options).then((request) => request(this.axios, this.basePath));
18311
+ }
18312
+
18313
+ /**
18314
+ *
18315
+ * @param {number} page
18316
+ * @param {number} pageSize
18317
+ * @param {string} [search]
18318
+ * @param {string} [venue]
18319
+ * @param {*} [options] Override http request option.
18320
+ * @throws {RequiredError}
18321
+ */
18322
+ public searchControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
18323
+ return RSVPEventApiFp(this.configuration).searchControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
18324
+ }
18325
+
18326
+ /**
18327
+ *
18328
+ * @param {string} id
18329
+ * @param {RSVPEvenPayloadDTO} rSVPEvenPayloadDTO
18330
+ * @param {*} [options] Override http request option.
18331
+ * @throws {RequiredError}
18332
+ */
18333
+ public searchControllerUpdateRSVPEvent(id: string, rSVPEvenPayloadDTO: RSVPEvenPayloadDTO, options?: RawAxiosRequestConfig) {
18334
+ return RSVPEventApiFp(this.configuration).searchControllerUpdateRSVPEvent(id, rSVPEvenPayloadDTO, options).then((request) => request(this.axios, this.basePath));
18335
+ }
18336
+ }
18337
+
18338
+
18339
+
17675
18340
  /**
17676
18341
  * SearchHistoryApi - axios parameter creator
17677
18342
  */