@gooday_corp/gooday-api-client 4.4.39 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts 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,21 @@ 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;
3457
+ /**
3458
+ * The start date of the booking
3459
+ */
3460
+ 'startDate'?: string;
3461
+ /**
3462
+ * The end date of the booking
3463
+ */
3464
+ 'endDate'?: string;
3361
3465
  /**
3362
3466
  * Discount ID
3363
3467
  */
@@ -3780,11 +3884,12 @@ export interface RSVPEvenPayloadDTO {
3780
3884
  'externalTicketing'?: string;
3781
3885
  'otherLink'?: string;
3782
3886
  'location'?: RSVPEventLocationDTO;
3783
- 'discounts'?: Array<Discount>;
3887
+ 'discounts'?: Array<object>;
3784
3888
  /**
3785
3889
  * Meta information about the location.
3786
3890
  */
3787
3891
  'meta'?: RSVPEventMetaDataDTO;
3892
+ 'stripeProduct'?: string;
3788
3893
  }
3789
3894
 
3790
3895
  export const RSVPEvenPayloadDTORepeatEnum = {
@@ -3883,7 +3988,8 @@ export interface RSVPEventEntity {
3883
3988
  * Meta information about the location.
3884
3989
  */
3885
3990
  'meta'?: RSVPEventMetaDataDTO;
3886
- 'discounts'?: Array<Discount>;
3991
+ 'stripeProduct'?: string;
3992
+ 'discounts'?: Array<object>;
3887
3993
  }
3888
3994
 
3889
3995
  export const RSVPEventEntityRepeatEnum = {
@@ -3902,6 +4008,13 @@ export const RSVPEventEntityTypeEnum = {
3902
4008
 
3903
4009
  export type RSVPEventEntityTypeEnum = typeof RSVPEventEntityTypeEnum[keyof typeof RSVPEventEntityTypeEnum];
3904
4010
 
4011
+ export interface RSVPEventFindDTO {
4012
+ 'page': number;
4013
+ 'pageSize': number;
4014
+ 'search'?: string;
4015
+ 'venue'?: string;
4016
+ 'location'?: RSVPEventLocationDTO;
4017
+ }
3905
4018
  export interface RSVPEventLocationDTO {
3906
4019
  'type': RSVPEventLocationDTOTypeEnum;
3907
4020
  'coordinates': Array<number>;
@@ -3912,7 +4025,7 @@ export interface RSVPEventLocationDTO {
3912
4025
  /**
3913
4026
  * Meta information about the location.
3914
4027
  */
3915
- 'meta': RSVPEventMetaDTO;
4028
+ 'meta'?: RSVPEventMetaDTO;
3916
4029
  }
3917
4030
 
3918
4031
  export const RSVPEventLocationDTOTypeEnum = {
@@ -4885,7 +4998,8 @@ export const WaitlistEntityMethodEnum = {
4885
4998
  Call: 'CALL',
4886
4999
  InPerson: 'IN_PERSON',
4887
5000
  App: 'APP',
4888
- WalkIn: 'WALK_IN'
5001
+ WalkIn: 'WALK_IN',
5002
+ Web: 'WEB'
4889
5003
  } as const;
4890
5004
 
4891
5005
  export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
@@ -5252,7 +5366,7 @@ export interface WhatsOnPayloadDTO {
5252
5366
  'cancellationFees': number;
5253
5367
  'cancellationHours': string;
5254
5368
  'location'?: WhatsOnLocationDTO;
5255
- 'discounts'?: Array<Discount>;
5369
+ 'discounts'?: Array<object>;
5256
5370
  }
5257
5371
 
5258
5372
  export const WhatsOnPayloadDTORepeatEnum = {
@@ -7373,6 +7487,41 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7373
7487
  options: localVarRequestOptions,
7374
7488
  };
7375
7489
  },
7490
+ /**
7491
+ *
7492
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
7493
+ * @param {*} [options] Override http request option.
7494
+ * @throws {RequiredError}
7495
+ */
7496
+ bookingControllerCreateRSVPEventBooking: async (createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7497
+ // verify required parameter 'createRSVPEventBookingPayload' is not null or undefined
7498
+ assertParamExists('bookingControllerCreateRSVPEventBooking', 'createRSVPEventBookingPayload', createRSVPEventBookingPayload)
7499
+ const localVarPath = `/v1/booking/rsvp-booking`;
7500
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7501
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7502
+ let baseOptions;
7503
+ if (configuration) {
7504
+ baseOptions = configuration.baseOptions;
7505
+ }
7506
+
7507
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
7508
+ const localVarHeaderParameter = {} as any;
7509
+ const localVarQueryParameter = {} as any;
7510
+
7511
+
7512
+
7513
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7514
+
7515
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7516
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7517
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7518
+ localVarRequestOptions.data = serializeDataIfNeeded(createRSVPEventBookingPayload, localVarRequestOptions, configuration)
7519
+
7520
+ return {
7521
+ url: toPathString(localVarUrlObj),
7522
+ options: localVarRequestOptions,
7523
+ };
7524
+ },
7376
7525
  /**
7377
7526
  *
7378
7527
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -7412,6 +7561,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7412
7561
  options: localVarRequestOptions,
7413
7562
  };
7414
7563
  },
7564
+ /**
7565
+ *
7566
+ * @param {string} id
7567
+ * @param {*} [options] Override http request option.
7568
+ * @throws {RequiredError}
7569
+ */
7570
+ bookingControllerFindRSVPBookingDetails: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7571
+ // verify required parameter 'id' is not null or undefined
7572
+ assertParamExists('bookingControllerFindRSVPBookingDetails', 'id', id)
7573
+ const localVarPath = `/v1/booking/rsvp-booking-conformation/{id}`
7574
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7575
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7576
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7577
+ let baseOptions;
7578
+ if (configuration) {
7579
+ baseOptions = configuration.baseOptions;
7580
+ }
7581
+
7582
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7583
+ const localVarHeaderParameter = {} as any;
7584
+ const localVarQueryParameter = {} as any;
7585
+
7586
+
7587
+
7588
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7589
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7590
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7591
+
7592
+ return {
7593
+ url: toPathString(localVarUrlObj),
7594
+ options: localVarRequestOptions,
7595
+ };
7596
+ },
7415
7597
  /**
7416
7598
  *
7417
7599
  * @param {string} id
@@ -7804,6 +7986,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7804
7986
  options: localVarRequestOptions,
7805
7987
  };
7806
7988
  },
7989
+ /**
7990
+ *
7991
+ * @param {string} id
7992
+ * @param {*} [options] Override http request option.
7993
+ * @throws {RequiredError}
7994
+ */
7995
+ bookingControllerRsvpBookingDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7996
+ // verify required parameter 'id' is not null or undefined
7997
+ assertParamExists('bookingControllerRsvpBookingDetail', 'id', id)
7998
+ const localVarPath = `/v1/booking/rsvp-booking-users/{id}`
7999
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8000
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8001
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8002
+ let baseOptions;
8003
+ if (configuration) {
8004
+ baseOptions = configuration.baseOptions;
8005
+ }
8006
+
8007
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
8008
+ const localVarHeaderParameter = {} as any;
8009
+ const localVarQueryParameter = {} as any;
8010
+
8011
+
8012
+
8013
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8014
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8015
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8016
+
8017
+ return {
8018
+ url: toPathString(localVarUrlObj),
8019
+ options: localVarRequestOptions,
8020
+ };
8021
+ },
7807
8022
  /**
7808
8023
  *
7809
8024
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -7881,6 +8096,45 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
7881
8096
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7882
8097
  localVarRequestOptions.data = serializeDataIfNeeded(createBookingPayload, localVarRequestOptions, configuration)
7883
8098
 
8099
+ return {
8100
+ url: toPathString(localVarUrlObj),
8101
+ options: localVarRequestOptions,
8102
+ };
8103
+ },
8104
+ /**
8105
+ *
8106
+ * @param {string} id
8107
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8108
+ * @param {*} [options] Override http request option.
8109
+ * @throws {RequiredError}
8110
+ */
8111
+ bookingControllerUpdateRSVPEventBooking: async (id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8112
+ // verify required parameter 'id' is not null or undefined
8113
+ assertParamExists('bookingControllerUpdateRSVPEventBooking', 'id', id)
8114
+ // verify required parameter 'createRSVPEventBookingPayload' is not null or undefined
8115
+ assertParamExists('bookingControllerUpdateRSVPEventBooking', 'createRSVPEventBookingPayload', createRSVPEventBookingPayload)
8116
+ const localVarPath = `/v1/booking/rsvp-booking-patch/{id}`
8117
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8118
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8119
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8120
+ let baseOptions;
8121
+ if (configuration) {
8122
+ baseOptions = configuration.baseOptions;
8123
+ }
8124
+
8125
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
8126
+ const localVarHeaderParameter = {} as any;
8127
+ const localVarQueryParameter = {} as any;
8128
+
8129
+
8130
+
8131
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8132
+
8133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8135
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8136
+ localVarRequestOptions.data = serializeDataIfNeeded(createRSVPEventBookingPayload, localVarRequestOptions, configuration)
8137
+
7884
8138
  return {
7885
8139
  url: toPathString(localVarUrlObj),
7886
8140
  options: localVarRequestOptions,
@@ -7967,6 +8221,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7967
8221
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
7968
8222
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7969
8223
  },
8224
+ /**
8225
+ *
8226
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8227
+ * @param {*} [options] Override http request option.
8228
+ * @throws {RequiredError}
8229
+ */
8230
+ async bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
8231
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options);
8232
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8233
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
8234
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8235
+ },
7970
8236
  /**
7971
8237
  *
7972
8238
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -7979,6 +8245,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
7979
8245
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateWalkInBooking']?.[localVarOperationServerIndex]?.url;
7980
8246
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7981
8247
  },
8248
+ /**
8249
+ *
8250
+ * @param {string} id
8251
+ * @param {*} [options] Override http request option.
8252
+ * @throws {RequiredError}
8253
+ */
8254
+ async bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerFindRSVPBookingDetails(id, options);
8256
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8257
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerFindRSVPBookingDetails']?.[localVarOperationServerIndex]?.url;
8258
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8259
+ },
7982
8260
  /**
7983
8261
  *
7984
8262
  * @param {string} id
@@ -8100,6 +8378,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
8100
8378
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRevertBookingStatus']?.[localVarOperationServerIndex]?.url;
8101
8379
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8102
8380
  },
8381
+ /**
8382
+ *
8383
+ * @param {string} id
8384
+ * @param {*} [options] Override http request option.
8385
+ * @throws {RequiredError}
8386
+ */
8387
+ async bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRsvpBookingDetail(id, options);
8389
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8390
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRsvpBookingDetail']?.[localVarOperationServerIndex]?.url;
8391
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8392
+ },
8103
8393
  /**
8104
8394
  *
8105
8395
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8125,6 +8415,19 @@ export const BookingApiFp = function(configuration?: Configuration) {
8125
8415
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateBooking']?.[localVarOperationServerIndex]?.url;
8126
8416
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8127
8417
  },
8418
+ /**
8419
+ *
8420
+ * @param {string} id
8421
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8422
+ * @param {*} [options] Override http request option.
8423
+ * @throws {RequiredError}
8424
+ */
8425
+ async bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRSVPResponseDTO>> {
8426
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options);
8427
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8428
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerUpdateRSVPEventBooking']?.[localVarOperationServerIndex]?.url;
8429
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8430
+ },
8128
8431
  }
8129
8432
  };
8130
8433
 
@@ -8188,6 +8491,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8188
8491
  bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8189
8492
  return localVarFp.bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
8190
8493
  },
8494
+ /**
8495
+ *
8496
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8497
+ * @param {*} [options] Override http request option.
8498
+ * @throws {RequiredError}
8499
+ */
8500
+ bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8501
+ return localVarFp.bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
8502
+ },
8191
8503
  /**
8192
8504
  *
8193
8505
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -8197,6 +8509,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8197
8509
  bookingControllerCreateWalkInBooking(createWalkInBookingPayload: CreateWalkInBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8198
8510
  return localVarFp.bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(axios, basePath));
8199
8511
  },
8512
+ /**
8513
+ *
8514
+ * @param {string} id
8515
+ * @param {*} [options] Override http request option.
8516
+ * @throws {RequiredError}
8517
+ */
8518
+ bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8519
+ return localVarFp.bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(axios, basePath));
8520
+ },
8200
8521
  /**
8201
8522
  *
8202
8523
  * @param {string} id
@@ -8288,6 +8609,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8288
8609
  bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
8289
8610
  return localVarFp.bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
8290
8611
  },
8612
+ /**
8613
+ *
8614
+ * @param {string} id
8615
+ * @param {*} [options] Override http request option.
8616
+ * @throws {RequiredError}
8617
+ */
8618
+ bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8619
+ return localVarFp.bookingControllerRsvpBookingDetail(id, options).then((request) => request(axios, basePath));
8620
+ },
8291
8621
  /**
8292
8622
  *
8293
8623
  * @param {TrendingFilterDTO} trendingFilterDTO
@@ -8307,6 +8637,16 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
8307
8637
  bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
8308
8638
  return localVarFp.bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(axios, basePath));
8309
8639
  },
8640
+ /**
8641
+ *
8642
+ * @param {string} id
8643
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8644
+ * @param {*} [options] Override http request option.
8645
+ * @throws {RequiredError}
8646
+ */
8647
+ bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRSVPResponseDTO> {
8648
+ return localVarFp.bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(axios, basePath));
8649
+ },
8310
8650
  };
8311
8651
  };
8312
8652
 
@@ -8374,6 +8714,16 @@ export class BookingApi extends BaseAPI {
8374
8714
  return BookingApiFp(this.configuration).bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
8375
8715
  }
8376
8716
 
8717
+ /**
8718
+ *
8719
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8720
+ * @param {*} [options] Override http request option.
8721
+ * @throws {RequiredError}
8722
+ */
8723
+ public bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig) {
8724
+ return BookingApiFp(this.configuration).bookingControllerCreateRSVPEventBooking(createRSVPEventBookingPayload, options).then((request) => request(this.axios, this.basePath));
8725
+ }
8726
+
8377
8727
  /**
8378
8728
  *
8379
8729
  * @param {CreateWalkInBookingPayload} createWalkInBookingPayload
@@ -8384,6 +8734,16 @@ export class BookingApi extends BaseAPI {
8384
8734
  return BookingApiFp(this.configuration).bookingControllerCreateWalkInBooking(createWalkInBookingPayload, options).then((request) => request(this.axios, this.basePath));
8385
8735
  }
8386
8736
 
8737
+ /**
8738
+ *
8739
+ * @param {string} id
8740
+ * @param {*} [options] Override http request option.
8741
+ * @throws {RequiredError}
8742
+ */
8743
+ public bookingControllerFindRSVPBookingDetails(id: string, options?: RawAxiosRequestConfig) {
8744
+ return BookingApiFp(this.configuration).bookingControllerFindRSVPBookingDetails(id, options).then((request) => request(this.axios, this.basePath));
8745
+ }
8746
+
8387
8747
  /**
8388
8748
  *
8389
8749
  * @param {string} id
@@ -8477,12 +8837,22 @@ export class BookingApi extends BaseAPI {
8477
8837
 
8478
8838
  /**
8479
8839
  *
8480
- * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8840
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
8841
+ * @param {*} [options] Override http request option.
8842
+ * @throws {RequiredError}
8843
+ */
8844
+ public bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
8845
+ return BookingApiFp(this.configuration).bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
8846
+ }
8847
+
8848
+ /**
8849
+ *
8850
+ * @param {string} id
8481
8851
  * @param {*} [options] Override http request option.
8482
8852
  * @throws {RequiredError}
8483
8853
  */
8484
- public bookingControllerRevertBookingStatus(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
8485
- return BookingApiFp(this.configuration).bookingControllerRevertBookingStatus(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
8854
+ public bookingControllerRsvpBookingDetail(id: string, options?: RawAxiosRequestConfig) {
8855
+ return BookingApiFp(this.configuration).bookingControllerRsvpBookingDetail(id, options).then((request) => request(this.axios, this.basePath));
8486
8856
  }
8487
8857
 
8488
8858
  /**
@@ -8505,6 +8875,17 @@ export class BookingApi extends BaseAPI {
8505
8875
  public bookingControllerUpdateBooking(id: string, createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
8506
8876
  return BookingApiFp(this.configuration).bookingControllerUpdateBooking(id, createBookingPayload, options).then((request) => request(this.axios, this.basePath));
8507
8877
  }
8878
+
8879
+ /**
8880
+ *
8881
+ * @param {string} id
8882
+ * @param {CreateRSVPEventBookingPayload} createRSVPEventBookingPayload
8883
+ * @param {*} [options] Override http request option.
8884
+ * @throws {RequiredError}
8885
+ */
8886
+ public bookingControllerUpdateRSVPEventBooking(id: string, createRSVPEventBookingPayload: CreateRSVPEventBookingPayload, options?: RawAxiosRequestConfig) {
8887
+ return BookingApiFp(this.configuration).bookingControllerUpdateRSVPEventBooking(id, createRSVPEventBookingPayload, options).then((request) => request(this.axios, this.basePath));
8888
+ }
8508
8889
  }
8509
8890
 
8510
8891
 
@@ -16767,6 +17148,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16767
17148
 
16768
17149
 
16769
17150
 
17151
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17152
+
17153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17155
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17156
+ localVarRequestOptions.data = serializeDataIfNeeded(paymentDetailsPayload, localVarRequestOptions, configuration)
17157
+
17158
+ return {
17159
+ url: toPathString(localVarUrlObj),
17160
+ options: localVarRequestOptions,
17161
+ };
17162
+ },
17163
+ /**
17164
+ *
17165
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17166
+ * @param {*} [options] Override http request option.
17167
+ * @throws {RequiredError}
17168
+ */
17169
+ paymentControllerPaymentRSVPDetails: async (paymentDetailsPayload: PaymentDetailsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17170
+ // verify required parameter 'paymentDetailsPayload' is not null or undefined
17171
+ assertParamExists('paymentControllerPaymentRSVPDetails', 'paymentDetailsPayload', paymentDetailsPayload)
17172
+ const localVarPath = `/v1/payment/booking/rsvp/details`;
17173
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17174
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17175
+ let baseOptions;
17176
+ if (configuration) {
17177
+ baseOptions = configuration.baseOptions;
17178
+ }
17179
+
17180
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17181
+ const localVarHeaderParameter = {} as any;
17182
+ const localVarQueryParameter = {} as any;
17183
+
17184
+
17185
+
16770
17186
  localVarHeaderParameter['Content-Type'] = 'application/json';
16771
17187
 
16772
17188
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16839,6 +17255,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16839
17255
 
16840
17256
 
16841
17257
 
17258
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17259
+
17260
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17261
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17262
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17263
+ localVarRequestOptions.data = serializeDataIfNeeded(promoCode, localVarRequestOptions, configuration)
17264
+
17265
+ return {
17266
+ url: toPathString(localVarUrlObj),
17267
+ options: localVarRequestOptions,
17268
+ };
17269
+ },
17270
+ /**
17271
+ *
17272
+ * @param {PromoCode} promoCode
17273
+ * @param {*} [options] Override http request option.
17274
+ * @throws {RequiredError}
17275
+ */
17276
+ paymentControllerRetrieveRSVPCouponCode: async (promoCode: PromoCode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17277
+ // verify required parameter 'promoCode' is not null or undefined
17278
+ assertParamExists('paymentControllerRetrieveRSVPCouponCode', 'promoCode', promoCode)
17279
+ const localVarPath = `/v1/payment/rsvp-promo-code`;
17280
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17281
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17282
+ let baseOptions;
17283
+ if (configuration) {
17284
+ baseOptions = configuration.baseOptions;
17285
+ }
17286
+
17287
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17288
+ const localVarHeaderParameter = {} as any;
17289
+ const localVarQueryParameter = {} as any;
17290
+
17291
+
17292
+
16842
17293
  localVarHeaderParameter['Content-Type'] = 'application/json';
16843
17294
 
16844
17295
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -16940,6 +17391,41 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
16940
17391
 
16941
17392
 
16942
17393
 
17394
+ localVarHeaderParameter['Content-Type'] = 'application/json';
17395
+
17396
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
17397
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17398
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17399
+ localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
17400
+
17401
+ return {
17402
+ url: toPathString(localVarUrlObj),
17403
+ options: localVarRequestOptions,
17404
+ };
17405
+ },
17406
+ /**
17407
+ *
17408
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17409
+ * @param {*} [options] Override http request option.
17410
+ * @throws {RequiredError}
17411
+ */
17412
+ paymentControllerSetupDashboardBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17413
+ // verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
17414
+ assertParamExists('paymentControllerSetupDashboardBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
17415
+ const localVarPath = `/v1/payment/booking/rsvp`;
17416
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17417
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17418
+ let baseOptions;
17419
+ if (configuration) {
17420
+ baseOptions = configuration.baseOptions;
17421
+ }
17422
+
17423
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17424
+ const localVarHeaderParameter = {} as any;
17425
+ const localVarQueryParameter = {} as any;
17426
+
17427
+
17428
+
16943
17429
  localVarHeaderParameter['Content-Type'] = 'application/json';
16944
17430
 
16945
17431
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -17064,6 +17550,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17064
17550
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentDetails']?.[localVarOperationServerIndex]?.url;
17065
17551
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17066
17552
  },
17553
+ /**
17554
+ *
17555
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17556
+ * @param {*} [options] Override http request option.
17557
+ * @throws {RequiredError}
17558
+ */
17559
+ async paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentDetailsResponseDTO>> {
17560
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options);
17561
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17562
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentRSVPDetails']?.[localVarOperationServerIndex]?.url;
17563
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17564
+ },
17067
17565
  /**
17068
17566
  *
17069
17567
  * @param {*} [options] Override http request option.
@@ -17087,6 +17585,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17087
17585
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveCouponCode']?.[localVarOperationServerIndex]?.url;
17088
17586
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17089
17587
  },
17588
+ /**
17589
+ *
17590
+ * @param {PromoCode} promoCode
17591
+ * @param {*} [options] Override http request option.
17592
+ * @throws {RequiredError}
17593
+ */
17594
+ async paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoCodeResponseDTO>> {
17595
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveRSVPCouponCode(promoCode, options);
17596
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17597
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveRSVPCouponCode']?.[localVarOperationServerIndex]?.url;
17598
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17599
+ },
17090
17600
  /**
17091
17601
  *
17092
17602
  * @param {*} [options] Override http request option.
@@ -17122,6 +17632,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
17122
17632
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupBookingPayment']?.[localVarOperationServerIndex]?.url;
17123
17633
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17124
17634
  },
17635
+ /**
17636
+ *
17637
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17638
+ * @param {*} [options] Override http request option.
17639
+ * @throws {RequiredError}
17640
+ */
17641
+ async paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingPaymentCreateResponseDTO>> {
17642
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options);
17643
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17644
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerSetupDashboardBookingPayment']?.[localVarOperationServerIndex]?.url;
17645
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17646
+ },
17125
17647
  /**
17126
17648
  *
17127
17649
  * @param {string} stripeSignature
@@ -17193,6 +17715,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17193
17715
  paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
17194
17716
  return localVarFp.paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
17195
17717
  },
17718
+ /**
17719
+ *
17720
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17721
+ * @param {*} [options] Override http request option.
17722
+ * @throws {RequiredError}
17723
+ */
17724
+ paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
17725
+ return localVarFp.paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
17726
+ },
17196
17727
  /**
17197
17728
  *
17198
17729
  * @param {*} [options] Override http request option.
@@ -17210,6 +17741,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17210
17741
  paymentControllerRetrieveCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeResponseDTO> {
17211
17742
  return localVarFp.paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(axios, basePath));
17212
17743
  },
17744
+ /**
17745
+ *
17746
+ * @param {PromoCode} promoCode
17747
+ * @param {*} [options] Override http request option.
17748
+ * @throws {RequiredError}
17749
+ */
17750
+ paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeResponseDTO> {
17751
+ return localVarFp.paymentControllerRetrieveRSVPCouponCode(promoCode, options).then((request) => request(axios, basePath));
17752
+ },
17213
17753
  /**
17214
17754
  *
17215
17755
  * @param {*} [options] Override http request option.
@@ -17236,6 +17776,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17236
17776
  paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
17237
17777
  return localVarFp.paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
17238
17778
  },
17779
+ /**
17780
+ *
17781
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17782
+ * @param {*} [options] Override http request option.
17783
+ * @throws {RequiredError}
17784
+ */
17785
+ paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BookingPaymentCreateResponseDTO> {
17786
+ return localVarFp.paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(axios, basePath));
17787
+ },
17239
17788
  /**
17240
17789
  *
17241
17790
  * @param {string} stripeSignature
@@ -17308,6 +17857,16 @@ export class PlansApi extends BaseAPI {
17308
17857
  return PlansApiFp(this.configuration).paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
17309
17858
  }
17310
17859
 
17860
+ /**
17861
+ *
17862
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
17863
+ * @param {*} [options] Override http request option.
17864
+ * @throws {RequiredError}
17865
+ */
17866
+ public paymentControllerPaymentRSVPDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig) {
17867
+ return PlansApiFp(this.configuration).paymentControllerPaymentRSVPDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
17868
+ }
17869
+
17311
17870
  /**
17312
17871
  *
17313
17872
  * @param {*} [options] Override http request option.
@@ -17327,6 +17886,16 @@ export class PlansApi extends BaseAPI {
17327
17886
  return PlansApiFp(this.configuration).paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(this.axios, this.basePath));
17328
17887
  }
17329
17888
 
17889
+ /**
17890
+ *
17891
+ * @param {PromoCode} promoCode
17892
+ * @param {*} [options] Override http request option.
17893
+ * @throws {RequiredError}
17894
+ */
17895
+ public paymentControllerRetrieveRSVPCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig) {
17896
+ return PlansApiFp(this.configuration).paymentControllerRetrieveRSVPCouponCode(promoCode, options).then((request) => request(this.axios, this.basePath));
17897
+ }
17898
+
17330
17899
  /**
17331
17900
  *
17332
17901
  * @param {*} [options] Override http request option.
@@ -17356,6 +17925,16 @@ export class PlansApi extends BaseAPI {
17356
17925
  return PlansApiFp(this.configuration).paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
17357
17926
  }
17358
17927
 
17928
+ /**
17929
+ *
17930
+ * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
17931
+ * @param {*} [options] Override http request option.
17932
+ * @throws {RequiredError}
17933
+ */
17934
+ public paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options?: RawAxiosRequestConfig) {
17935
+ return PlansApiFp(this.configuration).paymentControllerSetupDashboardBookingPayment(bookingPaymentPayloadDTO, options).then((request) => request(this.axios, this.basePath));
17936
+ }
17937
+
17359
17938
  /**
17360
17939
  *
17361
17940
  * @param {string} stripeSignature
@@ -18143,19 +18722,14 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18143
18722
  },
18144
18723
  /**
18145
18724
  *
18146
- * @param {number} page
18147
- * @param {number} pageSize
18148
- * @param {string} [search]
18149
- * @param {string} [venue]
18725
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18150
18726
  * @param {*} [options] Override http request option.
18151
18727
  * @throws {RequiredError}
18152
18728
  */
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`;
18729
+ rSVPControllerRsvpEvents: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18730
+ // verify required parameter 'rSVPEventFindDTO' is not null or undefined
18731
+ assertParamExists('rSVPControllerRsvpEvents', 'rSVPEventFindDTO', rSVPEventFindDTO)
18732
+ const localVarPath = `/v1/rsvp/rsvp/event`;
18159
18733
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18160
18734
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18161
18735
  let baseOptions;
@@ -18163,7 +18737,7 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18163
18737
  baseOptions = configuration.baseOptions;
18164
18738
  }
18165
18739
 
18166
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18740
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18167
18741
  const localVarHeaderParameter = {} as any;
18168
18742
  const localVarQueryParameter = {} as any;
18169
18743
 
@@ -18171,27 +18745,49 @@ export const RSVPEventApiAxiosParamCreator = function (configuration?: Configura
18171
18745
  // http bearer authentication required
18172
18746
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
18173
18747
 
18174
- if (page !== undefined) {
18175
- localVarQueryParameter['page'] = page;
18176
- }
18177
18748
 
18178
- if (pageSize !== undefined) {
18179
- localVarQueryParameter['pageSize'] = pageSize;
18180
- }
18749
+
18750
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18181
18751
 
18182
- if (search !== undefined) {
18183
- localVarQueryParameter['search'] = search;
18184
- }
18752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18754
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18755
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
18185
18756
 
18186
- if (venue !== undefined) {
18187
- localVarQueryParameter['venue'] = venue;
18757
+ return {
18758
+ url: toPathString(localVarUrlObj),
18759
+ options: localVarRequestOptions,
18760
+ };
18761
+ },
18762
+ /**
18763
+ *
18764
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18765
+ * @param {*} [options] Override http request option.
18766
+ * @throws {RequiredError}
18767
+ */
18768
+ rSVPControllerRsvpEventsDashboard: async (rSVPEventFindDTO: RSVPEventFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18769
+ // verify required parameter 'rSVPEventFindDTO' is not null or undefined
18770
+ assertParamExists('rSVPControllerRsvpEventsDashboard', 'rSVPEventFindDTO', rSVPEventFindDTO)
18771
+ const localVarPath = `/v1/rsvp/dashboard/events`;
18772
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18773
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18774
+ let baseOptions;
18775
+ if (configuration) {
18776
+ baseOptions = configuration.baseOptions;
18188
18777
  }
18189
18778
 
18779
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18780
+ const localVarHeaderParameter = {} as any;
18781
+ const localVarQueryParameter = {} as any;
18782
+
18190
18783
 
18191
18784
 
18785
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18786
+
18192
18787
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18193
18788
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18194
18789
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18790
+ localVarRequestOptions.data = serializeDataIfNeeded(rSVPEventFindDTO, localVarRequestOptions, configuration)
18195
18791
 
18196
18792
  return {
18197
18793
  url: toPathString(localVarUrlObj),
@@ -18284,19 +18880,28 @@ export const RSVPEventApiFp = function(configuration?: Configuration) {
18284
18880
  },
18285
18881
  /**
18286
18882
  *
18287
- * @param {number} page
18288
- * @param {number} pageSize
18289
- * @param {string} [search]
18290
- * @param {string} [venue]
18883
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18291
18884
  * @param {*} [options] Override http request option.
18292
18885
  * @throws {RequiredError}
18293
18886
  */
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);
18887
+ async rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18888
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEvents(rSVPEventFindDTO, options);
18296
18889
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18297
18890
  const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEvents']?.[localVarOperationServerIndex]?.url;
18298
18891
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18299
18892
  },
18893
+ /**
18894
+ *
18895
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18896
+ * @param {*} [options] Override http request option.
18897
+ * @throws {RequiredError}
18898
+ */
18899
+ async rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RSVPEventResponseDTO>> {
18900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options);
18901
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18902
+ const localVarOperationServerBasePath = operationServerMap['RSVPEventApi.rSVPControllerRsvpEventsDashboard']?.[localVarOperationServerIndex]?.url;
18903
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18904
+ },
18300
18905
  /**
18301
18906
  *
18302
18907
  * @param {string} id
@@ -18348,15 +18953,21 @@ export const RSVPEventApiFactory = function (configuration?: Configuration, base
18348
18953
  },
18349
18954
  /**
18350
18955
  *
18351
- * @param {number} page
18352
- * @param {number} pageSize
18353
- * @param {string} [search]
18354
- * @param {string} [venue]
18956
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18355
18957
  * @param {*} [options] Override http request option.
18356
18958
  * @throws {RequiredError}
18357
18959
  */
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));
18960
+ rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18961
+ return localVarFp.rSVPControllerRsvpEvents(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
18962
+ },
18963
+ /**
18964
+ *
18965
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18966
+ * @param {*} [options] Override http request option.
18967
+ * @throws {RequiredError}
18968
+ */
18969
+ rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<RSVPEventResponseDTO> {
18970
+ return localVarFp.rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(axios, basePath));
18360
18971
  },
18361
18972
  /**
18362
18973
  *
@@ -18407,15 +19018,22 @@ export class RSVPEventApi extends BaseAPI {
18407
19018
 
18408
19019
  /**
18409
19020
  *
18410
- * @param {number} page
18411
- * @param {number} pageSize
18412
- * @param {string} [search]
18413
- * @param {string} [venue]
19021
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
19022
+ * @param {*} [options] Override http request option.
19023
+ * @throws {RequiredError}
19024
+ */
19025
+ public rSVPControllerRsvpEvents(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
19026
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEvents(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
19027
+ }
19028
+
19029
+ /**
19030
+ *
19031
+ * @param {RSVPEventFindDTO} rSVPEventFindDTO
18414
19032
  * @param {*} [options] Override http request option.
18415
19033
  * @throws {RequiredError}
18416
19034
  */
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));
19035
+ public rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO: RSVPEventFindDTO, options?: RawAxiosRequestConfig) {
19036
+ return RSVPEventApiFp(this.configuration).rSVPControllerRsvpEventsDashboard(rSVPEventFindDTO, options).then((request) => request(this.axios, this.basePath));
18419
19037
  }
18420
19038
 
18421
19039
  /**