@gooday_corp/gooday-api-client 4.4.38 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -498,6 +498,8 @@ export interface BookingEntity {
498
498
  * Occasion for the booking
499
499
  */
500
500
  'occasion': string;
501
+ 'paymentIntent'?: object;
502
+ 'discountCoupon'?: object;
501
503
  /**
502
504
  * Calendar associated with the booking
503
505
  */
@@ -529,6 +531,8 @@ export interface BookingEntity {
529
531
  */
530
532
  'cancellationFee'?: object;
531
533
  'images'?: Array<string>;
534
+ 'createdDetails': CreateBookingCollaboratorPayload;
535
+ 'rsvpId': RSVPEventEntity;
532
536
  }
533
537
 
534
538
  export const BookingEntityStatusEnum = {
@@ -547,7 +551,8 @@ export const BookingEntityMethodEnum = {
547
551
  Call: 'CALL',
548
552
  InPerson: 'IN_PERSON',
549
553
  App: 'APP',
550
- WalkIn: 'WALK_IN'
554
+ WalkIn: 'WALK_IN',
555
+ Web: 'WEB'
551
556
  } as const;
552
557
 
553
558
  export type BookingEntityMethodEnum = typeof BookingEntityMethodEnum[keyof typeof BookingEntityMethodEnum];
@@ -590,6 +595,24 @@ export interface BookingPaymentPayloadDTO {
590
595
  * Booking ID
591
596
  */
592
597
  'id': string;
598
+ /**
599
+ * Mobile number
600
+ */
601
+ 'mobile'?: string;
602
+ }
603
+ export interface BookingRSVPResponse {
604
+ 'going': UserEntity;
605
+ 'invited': UserEntity;
606
+ }
607
+ export interface BookingRSVPResponseDTO {
608
+ /**
609
+ * statusCode
610
+ */
611
+ 'statusCode': number;
612
+ /**
613
+ * Booking response
614
+ */
615
+ 'data': BookingRSVPResponse;
593
616
  }
594
617
  export interface BookingRequestResponseDTO {
595
618
  /**
@@ -650,6 +673,8 @@ export interface BookingResponse {
650
673
  * Payment method Id
651
674
  */
652
675
  'paymentMethodId': string;
676
+ 'paymentIntent'?: object;
677
+ 'discountCoupon'?: object;
653
678
  /**
654
679
  * The list of collaborators associated with the booking
655
680
  */
@@ -680,13 +705,16 @@ export interface BookingResponse {
680
705
  */
681
706
  'selectedStaff': BusinessStaffEntity;
682
707
  'images'?: Array<string>;
708
+ 'createdDetails': CreateBookingCollaboratorPayload;
709
+ 'rsvpId': RSVPEventEntity;
683
710
  }
684
711
 
685
712
  export const BookingResponseMethodEnum = {
686
713
  Call: 'CALL',
687
714
  InPerson: 'IN_PERSON',
688
715
  App: 'APP',
689
- WalkIn: 'WALK_IN'
716
+ WalkIn: 'WALK_IN',
717
+ Web: 'WEB'
690
718
  } as const;
691
719
 
692
720
  export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
@@ -1990,6 +2018,75 @@ export interface CreatePaymentLinkDTO {
1990
2018
  */
1991
2019
  'productID': string;
1992
2020
  }
2021
+ export interface CreateRSVPEventBookingPayload {
2022
+ /**
2023
+ * The title of the booking
2024
+ */
2025
+ 'title': string;
2026
+ /**
2027
+ * The start date of the booking
2028
+ */
2029
+ 'startDate': string;
2030
+ /**
2031
+ * The start date of the booking
2032
+ */
2033
+ 'endDate': string;
2034
+ /**
2035
+ * Notes attached with booking
2036
+ */
2037
+ 'note'?: string;
2038
+ /**
2039
+ * Occasion id
2040
+ */
2041
+ 'occasion'?: string;
2042
+ /**
2043
+ * Calendar attached with booking
2044
+ */
2045
+ 'calendar'?: Array<string>;
2046
+ /**
2047
+ * The list of collaborators associated with the booking
2048
+ */
2049
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
2050
+ /**
2051
+ * The list of customers associated with the booking
2052
+ */
2053
+ 'customers': Array<string>;
2054
+ /**
2055
+ * Booking method
2056
+ */
2057
+ 'method': string;
2058
+ 'tags'?: Array<string>;
2059
+ 'quantity': number;
2060
+ 'rsvpId': string;
2061
+ 'venue'?: string;
2062
+ 'business'?: string;
2063
+ 'createdDetails'?: CreateBookingCollaboratorPayload;
2064
+ 'discountId'?: string;
2065
+ /**
2066
+ * Status of the booking
2067
+ */
2068
+ 'status'?: CreateRSVPEventBookingPayloadStatusEnum;
2069
+ /**
2070
+ * Payment method Id
2071
+ */
2072
+ 'paymentMethodId'?: string;
2073
+ 'paymentMethod'?: BookingPaymentCreateResponse;
2074
+ 'images': Array<string>;
2075
+ }
2076
+
2077
+ export const CreateRSVPEventBookingPayloadStatusEnum = {
2078
+ CheckedIn: 'CHECKED_IN',
2079
+ Confirmed: 'CONFIRMED',
2080
+ Unconfirmed: 'UNCONFIRMED',
2081
+ Rescheduled: 'RESCHEDULED',
2082
+ NoShow: 'NO_SHOW',
2083
+ Rejected: 'REJECTED',
2084
+ Pending: 'PENDING',
2085
+ Cancelled: 'CANCELLED'
2086
+ } as const;
2087
+
2088
+ export type CreateRSVPEventBookingPayloadStatusEnum = typeof CreateRSVPEventBookingPayloadStatusEnum[keyof typeof CreateRSVPEventBookingPayloadStatusEnum];
2089
+
1993
2090
  export interface CreateTaskPayload {
1994
2091
  /**
1995
2092
  * ID of the associated todo item
@@ -2179,11 +2276,6 @@ export interface DeviceEntity {
2179
2276
  */
2180
2277
  'status': string;
2181
2278
  }
2182
- export interface Discount {
2183
- '_id'?: string;
2184
- 'name': string;
2185
- 'percentage': string;
2186
- }
2187
2279
  export interface EmployeesSizeEntity {
2188
2280
  /**
2189
2281
  * Unique identifier for the employee size
@@ -3355,9 +3447,13 @@ export interface PaymentDetailsPayload {
3355
3447
  */
3356
3448
  'whatsOnId'?: string;
3357
3449
  /**
3358
- * Event ID
3450
+ * Service ID
3359
3451
  */
3360
3452
  'serviceId'?: string;
3453
+ /**
3454
+ * RSVP ID
3455
+ */
3456
+ 'rsvpId'?: string;
3361
3457
  /**
3362
3458
  * Discount ID
3363
3459
  */
@@ -3780,11 +3876,12 @@ export interface RSVPEvenPayloadDTO {
3780
3876
  'externalTicketing'?: string;
3781
3877
  'otherLink'?: string;
3782
3878
  'location'?: RSVPEventLocationDTO;
3783
- 'discounts'?: Array<Discount>;
3879
+ 'discounts'?: Array<object>;
3784
3880
  /**
3785
3881
  * Meta information about the location.
3786
3882
  */
3787
3883
  'meta'?: RSVPEventMetaDataDTO;
3884
+ 'stripeProduct'?: string;
3788
3885
  }
3789
3886
 
3790
3887
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -3883,7 +3980,8 @@ export interface RSVPEventEntity {
3883
3980
  * Meta information about the location.
3884
3981
  */
3885
3982
  'meta'?: RSVPEventMetaDataDTO;
3886
- 'discounts'?: Array<Discount>;
3983
+ 'stripeProduct'?: string;
3984
+ 'discounts'?: Array<object>;
3887
3985
  }
3888
3986
 
3889
3987
  export const RSVPEventEntityRepeatEnum = {
@@ -3902,6 +4000,13 @@ export const RSVPEventEntityTypeEnum = {
3902
4000
 
3903
4001
  export type RSVPEventEntityTypeEnum = typeof RSVPEventEntityTypeEnum[keyof typeof RSVPEventEntityTypeEnum];
3904
4002
 
4003
+ export interface RSVPEventFindDTO {
4004
+ 'page': number;
4005
+ 'pageSize': number;
4006
+ 'search'?: string;
4007
+ 'venue'?: string;
4008
+ 'location'?: RSVPEventLocationDTO;
4009
+ }
3905
4010
  export interface RSVPEventLocationDTO {
3906
4011
  'type': RSVPEventLocationDTOTypeEnum;
3907
4012
  'coordinates': Array<number>;
@@ -3912,7 +4017,7 @@ export interface RSVPEventLocationDTO {
3912
4017
  /**
3913
4018
  * Meta information about the location.
3914
4019
  */
3915
- 'meta': RSVPEventMetaDTO;
4020
+ 'meta'?: RSVPEventMetaDTO;
3916
4021
  }
3917
4022
 
3918
4023
  export const RSVPEventLocationDTOTypeEnum = {
@@ -4885,7 +4990,8 @@ export const WaitlistEntityMethodEnum = {
4885
4990
  Call: 'CALL',
4886
4991
  InPerson: 'IN_PERSON',
4887
4992
  App: 'APP',
4888
- WalkIn: 'WALK_IN'
4993
+ WalkIn: 'WALK_IN',
4994
+ Web: 'WEB'
4889
4995
  } as const;
4890
4996
 
4891
4997
  export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
@@ -5252,7 +5358,7 @@ export interface WhatsOnPayloadDTO {
5252
5358
  'cancellationFees': number;
5253
5359
  'cancellationHours': string;
5254
5360
  'location'?: WhatsOnLocationDTO;
5255
- 'discounts'?: Array<Discount>;
5361
+ 'discounts'?: Array<object>;
5256
5362
  }
5257
5363
 
5258
5364
  export const WhatsOnPayloadDTORepeatEnum = {
@@ -7373,6 +7479,41 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7373
7479
  options: localVarRequestOptions,
7374
7480
  };
7375
7481
  },
7482
+ /**
7483
+ *
7484
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
7485
+ * @param {*} [options] Override http request option.
7486
+ * @throws {RequiredError}
7487
+ */
7488
+ bookingControllerCreateRSVPEventBooking: async (createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7489
+ // verify required parameter 'createRSVPEventBookingPayload' is not null or undefined
7490
+ assertParamExists('bookingControllerCreateRSVPEventBooking', 'createRSVPEventBookingPayload', createRSVPEventBookingPayload)
7491
+ const localVarPath = `/v1/booking/rsvp-booking`;
7492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7494
+ let baseOptions;
7495
+ if (configuration) {
7496
+ baseOptions = configuration.baseOptions;
7497
+ }
7498
+
7499
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7500
+ const localVarHeaderParameter = {} as any;
7501
+ const localVarQueryParameter = {} as any;
7502
+
7503
+
7504
+
7505
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7506
+
7507
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7508
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7509
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7510
+ localVarRequestOptions.data = serializeDataIfNeeded(createRSVPEventBookingPayload, localVarRequestOptions, configuration)
7511
+
7512
+ return {
7513
+ url: toPathString(localVarUrlObj),
7514
+ options: localVarRequestOptions,
7515
+ };
7516
+ },
7376
7517
  /**
7377
7518
  *
7378
7519
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -7412,6 +7553,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7412
7553
  options: localVarRequestOptions,
7413
7554
  };
7414
7555
  },
7556
+ /**
7557
+ *
7558
+ * @param {string} id
7559
+ * @param {*} [options] Override http request option.
7560
+ * @throws {RequiredError}
7561
+ */
7562
+ bookingControllerFindRSVPBookingDetails: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7563
+ // verify required parameter 'id' is not null or undefined
7564
+ assertParamExists('bookingControllerFindRSVPBookingDetails', 'id', id)
7565
+ const localVarPath = `/v1/booking/rsvp-booking-conformation/{id}`
7566
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7567
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7568
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7569
+ let baseOptions;
7570
+ if (configuration) {
7571
+ baseOptions = configuration.baseOptions;
7572
+ }
7573
+
7574
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7575
+ const localVarHeaderParameter = {} as any;
7576
+ const localVarQueryParameter = {} as any;
7577
+
7578
+
7579
+
7580
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7581
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7582
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7583
+
7584
+ return {
7585
+ url: toPathString(localVarUrlObj),
7586
+ options: localVarRequestOptions,
7587
+ };
7588
+ },
7415
7589
  /**
7416
7590
  *
7417
7591
  * @param {string} id
@@ -7804,6 +7978,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7804
7978
  options: localVarRequestOptions,
7805
7979
  };
7806
7980
  },
7981
+ /**
7982
+ *
7983
+ * @param {string} id
7984
+ * @param {*} [options] Override http request option.
7985
+ * @throws {RequiredError}
7986
+ */
7987
+ bookingControllerRsvpBookingDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7988
+ // verify required parameter 'id' is not null or undefined
7989
+ assertParamExists('bookingControllerRsvpBookingDetail', 'id', id)
7990
+ const localVarPath = `/v1/booking/rsvp-booking-users/{id}`
7991
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7992
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7993
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7994
+ let baseOptions;
7995
+ if (configuration) {
7996
+ baseOptions = configuration.baseOptions;
7997
+ }
7998
+
7999
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8000
+ const localVarHeaderParameter = {} as any;
8001
+ const localVarQueryParameter = {} as any;
8002
+
8003
+
8004
+
8005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8007
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8008
+
8009
+ return {
8010
+ url: toPathString(localVarUrlObj),
8011
+ options: localVarRequestOptions,
8012
+ };
8013
+ },
7807
8014
  /**
7808
8015
  *
7809
8016
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -7881,6 +8088,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7881
8088
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7882
8089
  localVarRequestOptions.data = serializeDataIfNeeded(createBookingPayload, localVarRequestOptions, configuration)
7883
8090
 
8091
+ return {
8092
+ url: toPathString(localVarUrlObj),
8093
+ options: localVarRequestOptions,
8094
+ };
8095
+ },
8096
+ /**
8097
+ *
8098
+ * @param {string} id
8099
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8100
+ * @param {*} [options] Override http request option.
8101
+ * @throws {RequiredError}
8102
+ */
8103
+ bookingControllerUpdateRSVPEventBooking: async (id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8104
+ // verify required parameter 'id' is not null or undefined
8105
+ assertParamExists('bookingControllerUpdateRSVPEventBooking', 'id', id)
8106
+ // verify required parameter 'createRSVPEventBookingPayload' is not null or undefined
8107
+ assertParamExists('bookingControllerUpdateRSVPEventBooking', 'createRSVPEventBookingPayload', createRSVPEventBookingPayload)
8108
+ const localVarPath = `/v1/booking/rsvp-booking-patch/{id}`
8109
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8112
+ let baseOptions;
8113
+ if (configuration) {
8114
+ baseOptions = configuration.baseOptions;
8115
+ }
8116
+
8117
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
8118
+ const localVarHeaderParameter = {} as any;
8119
+ const localVarQueryParameter = {} as any;
8120
+
8121
+
8122
+
8123
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8124
+
8125
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8126
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8127
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8128
+ localVarRequestOptions.data = serializeDataIfNeeded(createRSVPEventBookingPayload, localVarRequestOptions, configuration)
8129
+
7884
8130
  return {
7885
8131
  url: toPathString(localVarUrlObj),
7886
8132
  options: localVarRequestOptions,
@@ -7967,6 +8213,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7967
8213
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
7968
8214
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7969
8215
  },
8216
+ /**
8217
+ *
8218
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8219
+ * @param {*} [options] Override http request option.
8220
+ * @throws {RequiredError}
8221
+ */
8222
+ async bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
8223
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options);
8224
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8225
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
8226
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8227
+ },
7970
8228
  /**
7971
8229
  *
7972
8230
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -7979,6 +8237,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7979
8237
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateWalkInBooking']?.[localVarOperationServerIndex]?.url;
7980
8238
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7981
8239
  },
8240
+ /**
8241
+ *
8242
+ * @param {string} id
8243
+ * @param {*} [options] Override http request option.
8244
+ * @throws {RequiredError}
8245
+ */
8246
+ async bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerFindRSVPBookingDetails(id, options);
8248
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8249
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerFindRSVPBookingDetails']?.[localVarOperationServerIndex]?.url;
8250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8251
+ },
7982
8252
  /**
7983
8253
  *
7984
8254
  * @param {string} id
@@ -8100,6 +8370,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
8100
8370
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRevertBookingStatus']?.[localVarOperationServerIndex]?.url;
8101
8371
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8102
8372
  },
8373
+ /**
8374
+ *
8375
+ * @param {string} id
8376
+ * @param {*} [options] Override http request option.
8377
+ * @throws {RequiredError}
8378
+ */
8379
+ async bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRsvpBookingDetail(id, options);
8381
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8382
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRsvpBookingDetail']?.[localVarOperationServerIndex]?.url;
8383
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8384
+ },
8103
8385
  /**
8104
8386
  *
8105
8387
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8125,6 +8407,19 @@ export const BookingApiFp = function(configuration?: Configuration) {
8125
8407
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateBooking']?.[localVarOperationServerIndex]?.url;
8126
8408
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8127
8409
  },
8410
+ /**
8411
+ *
8412
+ * @param {string} id
8413
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8414
+ * @param {*} [options] Override http request option.
8415
+ * @throws {RequiredError}
8416
+ */
8417
+ async bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options);
8419
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8420
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
8421
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8422
+ },
8128
8423
  }
8129
8424
  };
8130
8425
 
@@ -8188,6 +8483,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8188
8483
  bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8189
8484
  return localVarFp.bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
8190
8485
  },
8486
+ /**
8487
+ *
8488
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8489
+ * @param {*} [options] Override http request option.
8490
+ * @throws {RequiredError}
8491
+ */
8492
+ bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8493
+ return localVarFp.bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
8494
+ },
8191
8495
  /**
8192
8496
  *
8193
8497
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -8197,6 +8501,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8197
8501
  bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8198
8502
  return localVarFp.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(axios, basePath));
8199
8503
  },
8504
+ /**
8505
+ *
8506
+ * @param {string} id
8507
+ * @param {*} [options] Override http request option.
8508
+ * @throws {RequiredError}
8509
+ */
8510
+ bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8511
+ return localVarFp.bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(axios, basePath));
8512
+ },
8200
8513
  /**
8201
8514
  *
8202
8515
  * @param {string} id
@@ -8288,6 +8601,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8288
8601
  bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
8289
8602
  return localVarFp.bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
8290
8603
  },
8604
+ /**
8605
+ *
8606
+ * @param {string} id
8607
+ * @param {*} [options] Override http request option.
8608
+ * @throws {RequiredError}
8609
+ */
8610
+ bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8611
+ return localVarFp.bookingControllerRsvpBookingDetail(id, options).then((request) => request(axios, basePath));
8612
+ },
8291
8613
  /**
8292
8614
  *
8293
8615
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8307,6 +8629,16 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8307
8629
  bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8308
8630
  return localVarFp.bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(axios, basePath));
8309
8631
  },
8632
+ /**
8633
+ *
8634
+ * @param {string} id
8635
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8636
+ * @param {*} [options] Override http request option.
8637
+ * @throws {RequiredError}
8638
+ */
8639
+ bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8640
+ return localVarFp.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
8641
+ },
8310
8642
  };
8311
8643
  };
8312
8644
 
@@ -8374,6 +8706,16 @@ export class BookingApi extends BaseAPI {
8374
8706
  return BookingApiFp(this.configuration).bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
8375
8707
  }
8376
8708
 
8709
+ /**
8710
+ *
8711
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8712
+ * @param {*} [options] Override http request option.
8713
+ * @throws {RequiredError}
8714
+ */
8715
+ public bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig) {
8716
+ return BookingApiFp(this.configuration).bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options).then((request) => request(this.axios, this.basePath));
8717
+ }
8718
+
8377
8719
  /**
8378
8720
  *
8379
8721
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -8384,6 +8726,16 @@ export class BookingApi extends BaseAPI {
8384
8726
  return BookingApiFp(this.configuration).bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(this.axios, this.basePath));
8385
8727
  }
8386
8728
 
8729
+ /**
8730
+ *
8731
+ * @param {string} id
8732
+ * @param {*} [options] Override http request option.
8733
+ * @throws {RequiredError}
8734
+ */
8735
+ public bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig) {
8736
+ return BookingApiFp(this.configuration).bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(this.axios, this.basePath));
8737
+ }
8738
+
8387
8739
  /**
8388
8740
  *
8389
8741
  * @param {string} id
@@ -8477,12 +8829,22 @@ export class BookingApi extends BaseAPI {
8477
8829
 
8478
8830
  /**
8479
8831
  *
8480
- * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8832
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8833
+ * @param {*} [options] Override http request option.
8834
+ * @throws {RequiredError}
8835
+ */
8836
+ public bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
8837
+ return BookingApiFp(this.configuration).bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
8838
+ }
8839
+
8840
+ /**
8841
+ *
8842
+ * @param {string} id
8481
8843
  * @param {*} [options] Override http request option.
8482
8844
  * @throws {RequiredError}
8483
8845
  */
8484
- public bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
8485
- return BookingApiFp(this.configuration).bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
8846
+ public bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig) {
8847
+ return BookingApiFp(this.configuration).bookingControllerRsvpBookingDetail(id, options).then((request) => request(this.axios, this.basePath));
8486
8848
  }
8487
8849
 
8488
8850
  /**
@@ -8505,6 +8867,17 @@ export class BookingApi extends BaseAPI {
8505
8867
  public bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
8506
8868
  return BookingApiFp(this.configuration).bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(this.axios, this.basePath));
8507
8869
  }
8870
+
8871
+ /**
8872
+ *
8873
+ * @param {string} id
8874
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8875
+ * @param {*} [options] Override http request option.
8876
+ * @throws {RequiredError}
8877
+ */
8878
+ public bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig) {
8879
+ return BookingApiFp(this.configuration).bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(this.axios, this.basePath));
8880
+ }
8508
8881
  }
8509
8882
 
8510
8883
 
@@ -16767,6 +17140,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16767
17140
 
16768
17141
 
16769
17142
 
17143
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17144
+
17145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17148
+ localVarRequestOptions.data = serializeDataIfNeeded(paymentDetailsPayload, localVarRequestOptions, configuration)
17149
+
17150
+ return {
17151
+ url: toPathString(localVarUrlObj),
17152
+ options: localVarRequestOptions,
17153
+ };
17154
+ },
17155
+ /**
17156
+ *
17157
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17158
+ * @param {*} [options] Override http request option.
17159
+ * @throws {RequiredError}
17160
+ */
17161
+ paymentControllerPaymentRSVPDetails: async (paymentDetailsPayload: PaymentDetailsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17162
+ // verify required parameter 'paymentDetailsPayload' is not null or undefined
17163
+ assertParamExists('paymentControllerPaymentRSVPDetails', 'paymentDetailsPayload', paymentDetailsPayload)
17164
+ const localVarPath = `/v1/payment/booking/rsvp/details`;
17165
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17166
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17167
+ let baseOptions;
17168
+ if (configuration) {
17169
+ baseOptions = configuration.baseOptions;
17170
+ }
17171
+
17172
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17173
+ const localVarHeaderParameter = {} as any;
17174
+ const localVarQueryParameter = {} as any;
17175
+
17176
+
17177
+
16770
17178
  localVarHeaderParameter['Content-Type'] = 'application/json';
16771
17179
 
16772
17180
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16839,6 +17247,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16839
17247
 
16840
17248
 
16841
17249
 
17250
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17251
+
17252
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17254
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17255
+ localVarRequestOptions.data = serializeDataIfNeeded(promoCode, localVarRequestOptions, configuration)
17256
+
17257
+ return {
17258
+ url: toPathString(localVarUrlObj),
17259
+ options: localVarRequestOptions,
17260
+ };
17261
+ },
17262
+ /**
17263
+ *
17264
+ * @param {PromoCode} promoCode
17265
+ * @param {*} [options] Override http request option.
17266
+ * @throws {RequiredError}
17267
+ */
17268
+ paymentControllerRetrieveRSVPCouponCode: async (promoCode: PromoCode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17269
+ // verify required parameter 'promoCode' is not null or undefined
17270
+ assertParamExists('paymentControllerRetrieveRSVPCouponCode', 'promoCode', promoCode)
17271
+ const localVarPath = `/v1/payment/rsvp-promo-code`;
17272
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17273
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17274
+ let baseOptions;
17275
+ if (configuration) {
17276
+ baseOptions = configuration.baseOptions;
17277
+ }
17278
+
17279
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17280
+ const localVarHeaderParameter = {} as any;
17281
+ const localVarQueryParameter = {} as any;
17282
+
17283
+
17284
+
16842
17285
  localVarHeaderParameter['Content-Type'] = 'application/json';
16843
17286
 
16844
17287
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16940,6 +17383,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16940
17383
 
16941
17384
 
16942
17385
 
17386
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17387
+
17388
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17389
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17390
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17391
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
17392
+
17393
+ return {
17394
+ url: toPathString(localVarUrlObj),
17395
+ options: localVarRequestOptions,
17396
+ };
17397
+ },
17398
+ /**
17399
+ *
17400
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17401
+ * @param {*} [options] Override http request option.
17402
+ * @throws {RequiredError}
17403
+ */
17404
+ paymentControllerSetupDashboardBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17405
+ // verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
17406
+ assertParamExists('paymentControllerSetupDashboardBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
17407
+ const localVarPath = `/v1/payment/booking/rsvp`;
17408
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17409
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17410
+ let baseOptions;
17411
+ if (configuration) {
17412
+ baseOptions = configuration.baseOptions;
17413
+ }
17414
+
17415
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17416
+ const localVarHeaderParameter = {} as any;
17417
+ const localVarQueryParameter = {} as any;
17418
+
17419
+
17420
+
16943
17421
  localVarHeaderParameter['Content-Type'] = 'application/json';
16944
17422
 
16945
17423
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17064,6 +17542,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17064
17542
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentDetails']?.[localVarOperationServerIndex]?.url;
17065
17543
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17066
17544
  },
17545
+ /**
17546
+ *
17547
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17548
+ * @param {*} [options] Override http request option.
17549
+ * @throws {RequiredError}
17550
+ */
17551
+ async paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentDetailsResponseDTO>> {
17552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options);
17553
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17554
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentRSVPDetails']?.[localVarOperationServerIndex]?.url;
17555
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17556
+ },
17067
17557
  /**
17068
17558
  *
17069
17559
  * @param {*} [options] Override http request option.
@@ -17087,6 +17577,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17087
17577
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveCouponCode']?.[localVarOperationServerIndex]?.url;
17088
17578
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17089
17579
  },
17580
+ /**
17581
+ *
17582
+ * @param {PromoCode} promoCode
17583
+ * @param {*} [options] Override http request option.
17584
+ * @throws {RequiredError}
17585
+ */
17586
+ async paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoCodeResponseDTO>> {
17587
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveRSVPCouponCode(promoCode, options);
17588
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17589
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveRSVPCouponCode']?.[localVarOperationServerIndex]?.url;
17590
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17591
+ },
17090
17592
  /**
17091
17593
  *
17092
17594
  * @param {*} [options] Override http request option.
@@ -17122,6 +17624,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17122
17624
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupBookingPayment']?.[localVarOperationServerIndex]?.url;
17123
17625
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17124
17626
  },
17627
+ /**
17628
+ *
17629
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17630
+ * @param {*} [options] Override http request option.
17631
+ * @throws {RequiredError}
17632
+ */
17633
+ async paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentCreateResponseDTO>> {
17634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options);
17635
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17636
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupDashboardBookingPayment']?.[localVarOperationServerIndex]?.url;
17637
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17638
+ },
17125
17639
  /**
17126
17640
  *
17127
17641
  * @param {string} stripeSignature
@@ -17193,6 +17707,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17193
17707
  paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
17194
17708
  return localVarFp.paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
17195
17709
  },
17710
+ /**
17711
+ *
17712
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17713
+ * @param {*} [options] Override http request option.
17714
+ * @throws {RequiredError}
17715
+ */
17716
+ paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
17717
+ return localVarFp.paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
17718
+ },
17196
17719
  /**
17197
17720
  *
17198
17721
  * @param {*} [options] Override http request option.
@@ -17210,6 +17733,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17210
17733
  paymentControllerRetrieveCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeResponseDTO> {
17211
17734
  return localVarFp.paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(axios, basePath));
17212
17735
  },
17736
+ /**
17737
+ *
17738
+ * @param {PromoCode} promoCode
17739
+ * @param {*} [options] Override http request option.
17740
+ * @throws {RequiredError}
17741
+ */
17742
+ paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeResponseDTO> {
17743
+ return localVarFp.paymentControllerRetrieveRSVPCouponCode(promoCode, options).then((request) => request(axios, basePath));
17744
+ },
17213
17745
  /**
17214
17746
  *
17215
17747
  * @param {*} [options] Override http request option.
@@ -17236,6 +17768,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17236
17768
  paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
17237
17769
  return localVarFp.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
17238
17770
  },
17771
+ /**
17772
+ *
17773
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17774
+ * @param {*} [options] Override http request option.
17775
+ * @throws {RequiredError}
17776
+ */
17777
+ paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
17778
+ return localVarFp.paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
17779
+ },
17239
17780
  /**
17240
17781
  *
17241
17782
  * @param {string} stripeSignature
@@ -17308,6 +17849,16 @@ export class PlansApi extends BaseAPI {
17308
17849
  return PlansApiFp(this.configuration).paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
17309
17850
  }
17310
17851
 
17852
+ /**
17853
+ *
17854
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17855
+ * @param {*} [options] Override http request option.
17856
+ * @throws {RequiredError}
17857
+ */
17858
+ public paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig) {
17859
+ return PlansApiFp(this.configuration).paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
17860
+ }
17861
+
17311
17862
  /**
17312
17863
  *
17313
17864
  * @param {*} [options] Override http request option.
@@ -17327,6 +17878,16 @@ export class PlansApi extends BaseAPI {
17327
17878
  return PlansApiFp(this.configuration).paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(this.axios, this.basePath));
17328
17879
  }
17329
17880
 
17881
+ /**
17882
+ *
17883
+ * @param {PromoCode} promoCode
17884
+ * @param {*} [options] Override http request option.
17885
+ * @throws {RequiredError}
17886
+ */
17887
+ public paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig) {
17888
+ return PlansApiFp(this.configuration).paymentControllerRetrieveRSVPCouponCode(promoCode, options).then((request) => request(this.axios, this.basePath));
17889
+ }
17890
+
17330
17891
  /**
17331
17892
  *
17332
17893
  * @param {*} [options] Override http request option.
@@ -17356,6 +17917,16 @@ export class PlansApi extends BaseAPI {
17356
17917
  return PlansApiFp(this.configuration).paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
17357
17918
  }
17358
17919
 
17920
+ /**
17921
+ *
17922
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17923
+ * @param {*} [options] Override http request option.
17924
+ * @throws {RequiredError}
17925
+ */
17926
+ public paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
17927
+ return PlansApiFp(this.configuration).paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
17928
+ }
17929
+
17359
17930
  /**
17360
17931
  *
17361
17932
  * @param {string} stripeSignature
@@ -18143,19 +18714,14 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18143
18714
  },
18144
18715
  /**
18145
18716
  *
18146
- * @param {number} page
18147
- * @param {number} pageSize
18148
- * @param {string} [search]
18149
- * @param {string} [venue]
18717
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18150
18718
  * @param {*} [options] Override http request option.
18151
18719
  * @throws {RequiredError}
18152
18720
  */
18153
- rSVPControllerRsvpEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18154
- // verify required parameter 'page' is not null or undefined
18155
- assertParamExists('rSVPControllerRsvpEvents', 'page', page)
18156
- // verify required parameter 'pageSize' is not null or undefined
18157
- assertParamExists('rSVPControllerRsvpEvents', 'pageSize', pageSize)
18158
- const localVarPath = `/v1/rsvp`;
18721
+ rSVPControllerRsvpEvents: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18722
+ // verify required parameter 'rSVPEventFindDTO' is not null or undefined
18723
+ assertParamExists('rSVPControllerRsvpEvents', 'rSVPEventFindDTO', rSVPEventFindDTO)
18724
+ const localVarPath = `/v1/rsvp/rsvp/event`;
18159
18725
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18160
18726
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18161
18727
  let baseOptions;
@@ -18163,7 +18729,7 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18163
18729
  baseOptions = configuration.baseOptions;
18164
18730
  }
18165
18731
 
18166
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18732
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18167
18733
  const localVarHeaderParameter = {} as any;
18168
18734
  const localVarQueryParameter = {} as any;
18169
18735
 
@@ -18171,27 +18737,49 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18171
18737
  // http bearer authentication required
18172
18738
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
18173
18739
 
18174
- if (page !== undefined) {
18175
- localVarQueryParameter['page'] = page;
18176
- }
18177
18740
 
18178
- if (pageSize !== undefined) {
18179
- localVarQueryParameter['pageSize'] = pageSize;
18180
- }
18741
+
18742
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18181
18743
 
18182
- if (search !== undefined) {
18183
- localVarQueryParameter['search'] = search;
18184
- }
18744
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18746
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18747
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
18185
18748
 
18186
- if (venue !== undefined) {
18187
- localVarQueryParameter['venue'] = venue;
18749
+ return {
18750
+ url: toPathString(localVarUrlObj),
18751
+ options: localVarRequestOptions,
18752
+ };
18753
+ },
18754
+ /**
18755
+ *
18756
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18757
+ * @param {*} [options] Override http request option.
18758
+ * @throws {RequiredError}
18759
+ */
18760
+ rSVPControllerRsvpEventsDashboard: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18761
+ // verify required parameter 'rSVPEventFindDTO' is not null or undefined
18762
+ assertParamExists('rSVPControllerRsvpEventsDashboard', 'rSVPEventFindDTO', rSVPEventFindDTO)
18763
+ const localVarPath = `/v1/rsvp/dashboard/events`;
18764
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18765
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18766
+ let baseOptions;
18767
+ if (configuration) {
18768
+ baseOptions = configuration.baseOptions;
18188
18769
  }
18189
18770
 
18771
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18772
+ const localVarHeaderParameter = {} as any;
18773
+ const localVarQueryParameter = {} as any;
18774
+
18190
18775
 
18191
18776
 
18777
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18778
+
18192
18779
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18193
18780
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18194
18781
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18782
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
18195
18783
 
18196
18784
  return {
18197
18785
  url: toPathString(localVarUrlObj),
@@ -18284,19 +18872,28 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
18284
18872
  },
18285
18873
  /**
18286
18874
  *
18287
- * @param {number} page
18288
- * @param {number} pageSize
18289
- * @param {string} [search]
18290
- * @param {string} [venue]
18875
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18291
18876
  * @param {*} [options] Override http request option.
18292
18877
  * @throws {RequiredError}
18293
18878
  */
18294
- async rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18295
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEvents(page, pageSize, search, venue, options);
18879
+ async rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18880
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEvents(rSVPEventFindDTO, options);
18296
18881
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18297
18882
  const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEvents']?.[localVarOperationServerIndex]?.url;
18298
18883
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18299
18884
  },
18885
+ /**
18886
+ *
18887
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18888
+ * @param {*} [options] Override http request option.
18889
+ * @throws {RequiredError}
18890
+ */
18891
+ async rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options);
18893
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18894
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsDashboard']?.[localVarOperationServerIndex]?.url;
18895
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18896
+ },
18300
18897
  /**
18301
18898
  *
18302
18899
  * @param {string} id
@@ -18348,15 +18945,21 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
18348
18945
  },
18349
18946
  /**
18350
18947
  *
18351
- * @param {number} page
18352
- * @param {number} pageSize
18353
- * @param {string} [search]
18354
- * @param {string} [venue]
18948
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18355
18949
  * @param {*} [options] Override http request option.
18356
18950
  * @throws {RequiredError}
18357
18951
  */
18358
- rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18359
- return localVarFp.rSVPControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
18952
+ rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18953
+ return localVarFp.rSVPControllerRsvpEvents(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
18954
+ },
18955
+ /**
18956
+ *
18957
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18958
+ * @param {*} [options] Override http request option.
18959
+ * @throws {RequiredError}
18960
+ */
18961
+ rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18962
+ return localVarFp.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
18360
18963
  },
18361
18964
  /**
18362
18965
  *
@@ -18407,15 +19010,22 @@ export class RSVPEventApi extends BaseAPI {
18407
19010
 
18408
19011
  /**
18409
19012
  *
18410
- * @param {number} page
18411
- * @param {number} pageSize
18412
- * @param {string} [search]
18413
- * @param {string} [venue]
19013
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
19014
+ * @param {*} [options] Override http request option.
19015
+ * @throws {RequiredError}
19016
+ */
19017
+ public rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
19018
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEvents(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
19019
+ }
19020
+
19021
+ /**
19022
+ *
19023
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18414
19024
  * @param {*} [options] Override http request option.
18415
19025
  * @throws {RequiredError}
18416
19026
  */
18417
- public rSVPControllerRsvpEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
18418
- return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
19027
+ public rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
19028
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
18419
19029
  }
18420
19030
 
18421
19031
  /**
@@ -19079,7 +19689,7 @@ export const TagsApiFp = function(configuration?: Configuration) {
19079
19689
  * @param {*} [options] Override http request option.
19080
19690
  * @throws {RequiredError}
19081
19691
  */
19082
- async tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
19692
+ async tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
19083
19693
  const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerGetTags(page, pageSize, venue, category, options);
19084
19694
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19085
19695
  const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerGetTags']?.[localVarOperationServerIndex]?.url;
@@ -19157,7 +19767,7 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
19157
19767
  * @param {*} [options] Override http request option.
19158
19768
  * @throws {RequiredError}
19159
19769
  */
19160
- tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
19770
+ tagsControllerGetTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerGetTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
19161
19771
  return localVarFp.tagsControllerGetTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
19162
19772
  },
19163
19773
  /**