@gooday_corp/gooday-api-client 4.5.102 → 4.5.109

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
@@ -9622,10 +9622,22 @@ export interface RSVPEventFindDTO {
9622
9622
  'type'?: Array<RSVPEventFindDTOTypeEnum>;
9623
9623
  /**
9624
9624
  *
9625
- * @type {RSVPEventLocationDTO}
9625
+ * @type {number}
9626
9626
  * @memberof RSVPEventFindDTO
9627
9627
  */
9628
- 'location'?: RSVPEventLocationDTO;
9628
+ 'lat'?: number;
9629
+ /**
9630
+ *
9631
+ * @type {number}
9632
+ * @memberof RSVPEventFindDTO
9633
+ */
9634
+ 'lng'?: number;
9635
+ /**
9636
+ *
9637
+ * @type {number}
9638
+ * @memberof RSVPEventFindDTO
9639
+ */
9640
+ 'distance'?: number;
9629
9641
  }
9630
9642
 
9631
9643
  export const RSVPEventFindDTOTypeEnum = {
@@ -16860,6 +16872,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
16860
16872
  options: localVarRequestOptions,
16861
16873
  };
16862
16874
  },
16875
+ /**
16876
+ *
16877
+ * @param {*} [options] Override http request option.
16878
+ * @throws {RequiredError}
16879
+ */
16880
+ businessControllerDisconnectStripe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16881
+ const localVarPath = `/v1/business/stripe/disconnect`;
16882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16884
+ let baseOptions;
16885
+ if (configuration) {
16886
+ baseOptions = configuration.baseOptions;
16887
+ }
16888
+
16889
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
16890
+ const localVarHeaderParameter = {} as any;
16891
+ const localVarQueryParameter = {} as any;
16892
+
16893
+ // authentication bearer required
16894
+ // http bearer authentication required
16895
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16896
+
16897
+
16898
+
16899
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16900
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16901
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16902
+
16903
+ return {
16904
+ url: toPathString(localVarUrlObj),
16905
+ options: localVarRequestOptions,
16906
+ };
16907
+ },
16863
16908
  /**
16864
16909
  *
16865
16910
  * @param {number} page
@@ -18030,6 +18075,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
18030
18075
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
18031
18076
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18032
18077
  },
18078
+ /**
18079
+ *
18080
+ * @param {*} [options] Override http request option.
18081
+ * @throws {RequiredError}
18082
+ */
18083
+ async businessControllerDisconnectStripe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
18084
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerDisconnectStripe(options);
18085
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18086
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerDisconnectStripe']?.[localVarOperationServerIndex]?.url;
18087
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18088
+ },
18033
18089
  /**
18034
18090
  *
18035
18091
  * @param {number} page
@@ -18427,6 +18483,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
18427
18483
  businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
18428
18484
  return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
18429
18485
  },
18486
+ /**
18487
+ *
18488
+ * @param {*} [options] Override http request option.
18489
+ * @throws {RequiredError}
18490
+ */
18491
+ businessControllerDisconnectStripe(options?: RawAxiosRequestConfig): AxiosPromise<void> {
18492
+ return localVarFp.businessControllerDisconnectStripe(options).then((request) => request(axios, basePath));
18493
+ },
18430
18494
  /**
18431
18495
  *
18432
18496
  * @param {number} page
@@ -18735,6 +18799,16 @@ export class BusinessApi extends BaseAPI {
18735
18799
  return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
18736
18800
  }
18737
18801
 
18802
+ /**
18803
+ *
18804
+ * @param {*} [options] Override http request option.
18805
+ * @throws {RequiredError}
18806
+ * @memberof BusinessApi
18807
+ */
18808
+ public businessControllerDisconnectStripe(options?: RawAxiosRequestConfig) {
18809
+ return BusinessApiFp(this.configuration).businessControllerDisconnectStripe(options).then((request) => request(this.axios, this.basePath));
18810
+ }
18811
+
18738
18812
  /**
18739
18813
  *
18740
18814
  * @param {number} page
@@ -28444,6 +28518,44 @@ export class RSVPEventApi extends BaseAPI {
28444
28518
  */
28445
28519
  export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuration) {
28446
28520
  return {
28521
+ /**
28522
+ *
28523
+ * @param {string} id
28524
+ * @param {number} [attendees] Number of attendees to check for
28525
+ * @param {*} [options] Override http request option.
28526
+ * @throws {RequiredError}
28527
+ */
28528
+ rSVPV2ControllerCheckAvailability: async (id: string, attendees?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28529
+ // verify required parameter 'id' is not null or undefined
28530
+ assertParamExists('rSVPV2ControllerCheckAvailability', 'id', id)
28531
+ const localVarPath = `/v1/rsvp/v2/events/{id}/availability`
28532
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28533
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28534
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28535
+ let baseOptions;
28536
+ if (configuration) {
28537
+ baseOptions = configuration.baseOptions;
28538
+ }
28539
+
28540
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28541
+ const localVarHeaderParameter = {} as any;
28542
+ const localVarQueryParameter = {} as any;
28543
+
28544
+ if (attendees !== undefined) {
28545
+ localVarQueryParameter['attendees'] = attendees;
28546
+ }
28547
+
28548
+
28549
+
28550
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28551
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28552
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28553
+
28554
+ return {
28555
+ url: toPathString(localVarUrlObj),
28556
+ options: localVarRequestOptions,
28557
+ };
28558
+ },
28447
28559
  /**
28448
28560
  *
28449
28561
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -28500,6 +28612,10 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28500
28612
  const localVarHeaderParameter = {} as any;
28501
28613
  const localVarQueryParameter = {} as any;
28502
28614
 
28615
+ // authentication bearer required
28616
+ // http bearer authentication required
28617
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28618
+
28503
28619
 
28504
28620
 
28505
28621
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -28514,6 +28630,43 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28514
28630
  options: localVarRequestOptions,
28515
28631
  };
28516
28632
  },
28633
+ /**
28634
+ *
28635
+ * @param {string} id
28636
+ * @param {*} [options] Override http request option.
28637
+ * @throws {RequiredError}
28638
+ */
28639
+ rSVPV2ControllerDeleteEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28640
+ // verify required parameter 'id' is not null or undefined
28641
+ assertParamExists('rSVPV2ControllerDeleteEvent', 'id', id)
28642
+ const localVarPath = `/v1/rsvp/v2/events/{id}`
28643
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
28644
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28645
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28646
+ let baseOptions;
28647
+ if (configuration) {
28648
+ baseOptions = configuration.baseOptions;
28649
+ }
28650
+
28651
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
28652
+ const localVarHeaderParameter = {} as any;
28653
+ const localVarQueryParameter = {} as any;
28654
+
28655
+ // authentication bearer required
28656
+ // http bearer authentication required
28657
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28658
+
28659
+
28660
+
28661
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28662
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28663
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28664
+
28665
+ return {
28666
+ url: toPathString(localVarUrlObj),
28667
+ options: localVarRequestOptions,
28668
+ };
28669
+ },
28517
28670
  /**
28518
28671
  *
28519
28672
  * @param {string} id
@@ -28602,10 +28755,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28602
28755
  * @param {number} pageSize
28603
28756
  * @param {string} [search]
28604
28757
  * @param {string} [venue]
28758
+ * @param {number} [lat]
28759
+ * @param {number} [lng]
28760
+ * @param {number} [distance]
28605
28761
  * @param {*} [options] Override http request option.
28606
28762
  * @throws {RequiredError}
28607
28763
  */
28608
- rSVPV2ControllerGetEventsByBusiness: async (businessId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28764
+ rSVPV2ControllerGetEventsByBusiness: async (businessId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28609
28765
  // verify required parameter 'businessId' is not null or undefined
28610
28766
  assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'businessId', businessId)
28611
28767
  // verify required parameter 'page' is not null or undefined
@@ -28641,6 +28797,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28641
28797
  localVarQueryParameter['venue'] = venue;
28642
28798
  }
28643
28799
 
28800
+ if (lat !== undefined) {
28801
+ localVarQueryParameter['lat'] = lat;
28802
+ }
28803
+
28804
+ if (lng !== undefined) {
28805
+ localVarQueryParameter['lng'] = lng;
28806
+ }
28807
+
28808
+ if (distance !== undefined) {
28809
+ localVarQueryParameter['distance'] = distance;
28810
+ }
28811
+
28644
28812
 
28645
28813
 
28646
28814
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28659,10 +28827,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28659
28827
  * @param {number} pageSize
28660
28828
  * @param {string} [search]
28661
28829
  * @param {string} [venue]
28830
+ * @param {number} [lat]
28831
+ * @param {number} [lng]
28832
+ * @param {number} [distance]
28662
28833
  * @param {*} [options] Override http request option.
28663
28834
  * @throws {RequiredError}
28664
28835
  */
28665
- rSVPV2ControllerGetEventsByVenue: async (venueId: string, page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28836
+ rSVPV2ControllerGetEventsByVenue: async (venueId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28666
28837
  // verify required parameter 'venueId' is not null or undefined
28667
28838
  assertParamExists('rSVPV2ControllerGetEventsByVenue', 'venueId', venueId)
28668
28839
  // verify required parameter 'page' is not null or undefined
@@ -28698,6 +28869,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28698
28869
  localVarQueryParameter['venue'] = venue;
28699
28870
  }
28700
28871
 
28872
+ if (lat !== undefined) {
28873
+ localVarQueryParameter['lat'] = lat;
28874
+ }
28875
+
28876
+ if (lng !== undefined) {
28877
+ localVarQueryParameter['lng'] = lng;
28878
+ }
28879
+
28880
+ if (distance !== undefined) {
28881
+ localVarQueryParameter['distance'] = distance;
28882
+ }
28883
+
28701
28884
 
28702
28885
 
28703
28886
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28715,10 +28898,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28715
28898
  * @param {number} pageSize
28716
28899
  * @param {string} [search]
28717
28900
  * @param {string} [venue]
28901
+ * @param {number} [lat]
28902
+ * @param {number} [lng]
28903
+ * @param {number} [distance]
28718
28904
  * @param {*} [options] Override http request option.
28719
28905
  * @throws {RequiredError}
28720
28906
  */
28721
- rSVPV2ControllerGetHostEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28907
+ rSVPV2ControllerGetHostEvents: async (page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28722
28908
  // verify required parameter 'page' is not null or undefined
28723
28909
  assertParamExists('rSVPV2ControllerGetHostEvents', 'page', page)
28724
28910
  // verify required parameter 'pageSize' is not null or undefined
@@ -28755,6 +28941,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28755
28941
  localVarQueryParameter['venue'] = venue;
28756
28942
  }
28757
28943
 
28944
+ if (lat !== undefined) {
28945
+ localVarQueryParameter['lat'] = lat;
28946
+ }
28947
+
28948
+ if (lng !== undefined) {
28949
+ localVarQueryParameter['lng'] = lng;
28950
+ }
28951
+
28952
+ if (distance !== undefined) {
28953
+ localVarQueryParameter['distance'] = distance;
28954
+ }
28955
+
28758
28956
 
28759
28957
 
28760
28958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28772,10 +28970,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28772
28970
  * @param {number} pageSize
28773
28971
  * @param {string} [search]
28774
28972
  * @param {string} [venue]
28973
+ * @param {number} [lat]
28974
+ * @param {number} [lng]
28975
+ * @param {number} [distance]
28775
28976
  * @param {*} [options] Override http request option.
28776
28977
  * @throws {RequiredError}
28777
28978
  */
28778
- rSVPV2ControllerGetMyEvents: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28979
+ rSVPV2ControllerGetMyEvents: async (page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28779
28980
  // verify required parameter 'page' is not null or undefined
28780
28981
  assertParamExists('rSVPV2ControllerGetMyEvents', 'page', page)
28781
28982
  // verify required parameter 'pageSize' is not null or undefined
@@ -28812,6 +29013,86 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28812
29013
  localVarQueryParameter['venue'] = venue;
28813
29014
  }
28814
29015
 
29016
+ if (lat !== undefined) {
29017
+ localVarQueryParameter['lat'] = lat;
29018
+ }
29019
+
29020
+ if (lng !== undefined) {
29021
+ localVarQueryParameter['lng'] = lng;
29022
+ }
29023
+
29024
+ if (distance !== undefined) {
29025
+ localVarQueryParameter['distance'] = distance;
29026
+ }
29027
+
29028
+
29029
+
29030
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29031
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29032
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29033
+
29034
+ return {
29035
+ url: toPathString(localVarUrlObj),
29036
+ options: localVarRequestOptions,
29037
+ };
29038
+ },
29039
+ /**
29040
+ *
29041
+ * @param {number} page
29042
+ * @param {number} pageSize
29043
+ * @param {string} [search]
29044
+ * @param {string} [venue]
29045
+ * @param {number} [lat]
29046
+ * @param {number} [lng]
29047
+ * @param {number} [distance]
29048
+ * @param {*} [options] Override http request option.
29049
+ * @throws {RequiredError}
29050
+ */
29051
+ rSVPV2ControllerGetNearbyPublicEvents: async (page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29052
+ // verify required parameter 'page' is not null or undefined
29053
+ assertParamExists('rSVPV2ControllerGetNearbyPublicEvents', 'page', page)
29054
+ // verify required parameter 'pageSize' is not null or undefined
29055
+ assertParamExists('rSVPV2ControllerGetNearbyPublicEvents', 'pageSize', pageSize)
29056
+ const localVarPath = `/v1/rsvp/v2/events/nearby`;
29057
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29058
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29059
+ let baseOptions;
29060
+ if (configuration) {
29061
+ baseOptions = configuration.baseOptions;
29062
+ }
29063
+
29064
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29065
+ const localVarHeaderParameter = {} as any;
29066
+ const localVarQueryParameter = {} as any;
29067
+
29068
+ if (page !== undefined) {
29069
+ localVarQueryParameter['page'] = page;
29070
+ }
29071
+
29072
+ if (pageSize !== undefined) {
29073
+ localVarQueryParameter['pageSize'] = pageSize;
29074
+ }
29075
+
29076
+ if (search !== undefined) {
29077
+ localVarQueryParameter['search'] = search;
29078
+ }
29079
+
29080
+ if (venue !== undefined) {
29081
+ localVarQueryParameter['venue'] = venue;
29082
+ }
29083
+
29084
+ if (lat !== undefined) {
29085
+ localVarQueryParameter['lat'] = lat;
29086
+ }
29087
+
29088
+ if (lng !== undefined) {
29089
+ localVarQueryParameter['lng'] = lng;
29090
+ }
29091
+
29092
+ if (distance !== undefined) {
29093
+ localVarQueryParameter['distance'] = distance;
29094
+ }
29095
+
28815
29096
 
28816
29097
 
28817
29098
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29040,6 +29321,19 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
29040
29321
  export const RSVPV2ApiFp = function(configuration?: Configuration) {
29041
29322
  const localVarAxiosParamCreator = RSVPV2ApiAxiosParamCreator(configuration)
29042
29323
  return {
29324
+ /**
29325
+ *
29326
+ * @param {string} id
29327
+ * @param {number} [attendees] Number of attendees to check for
29328
+ * @param {*} [options] Override http request option.
29329
+ * @throws {RequiredError}
29330
+ */
29331
+ async rSVPV2ControllerCheckAvailability(id: string, attendees?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29332
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerCheckAvailability(id, attendees, options);
29333
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29334
+ const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerCheckAvailability']?.[localVarOperationServerIndex]?.url;
29335
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29336
+ },
29043
29337
  /**
29044
29338
  *
29045
29339
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29064,6 +29358,18 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29064
29358
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerCreateEvent']?.[localVarOperationServerIndex]?.url;
29065
29359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29066
29360
  },
29361
+ /**
29362
+ *
29363
+ * @param {string} id
29364
+ * @param {*} [options] Override http request option.
29365
+ * @throws {RequiredError}
29366
+ */
29367
+ async rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerDeleteEvent(id, options);
29369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29370
+ const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerDeleteEvent']?.[localVarOperationServerIndex]?.url;
29371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29372
+ },
29067
29373
  /**
29068
29374
  *
29069
29375
  * @param {string} id
@@ -29098,11 +29404,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29098
29404
  * @param {number} pageSize
29099
29405
  * @param {string} [search]
29100
29406
  * @param {string} [venue]
29407
+ * @param {number} [lat]
29408
+ * @param {number} [lng]
29409
+ * @param {number} [distance]
29101
29410
  * @param {*} [options] Override http request option.
29102
29411
  * @throws {RequiredError}
29103
29412
  */
29104
- async rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29105
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options);
29413
+ async rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, lat, lng, distance, options);
29106
29415
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29107
29416
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByBusiness']?.[localVarOperationServerIndex]?.url;
29108
29417
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29114,11 +29423,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29114
29423
  * @param {number} pageSize
29115
29424
  * @param {string} [search]
29116
29425
  * @param {string} [venue]
29426
+ * @param {number} [lat]
29427
+ * @param {number} [lng]
29428
+ * @param {number} [distance]
29117
29429
  * @param {*} [options] Override http request option.
29118
29430
  * @throws {RequiredError}
29119
29431
  */
29120
- async rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29121
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options);
29432
+ async rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, lat, lng, distance, options);
29122
29434
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29123
29435
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByVenue']?.[localVarOperationServerIndex]?.url;
29124
29436
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29129,11 +29441,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29129
29441
  * @param {number} pageSize
29130
29442
  * @param {string} [search]
29131
29443
  * @param {string} [venue]
29444
+ * @param {number} [lat]
29445
+ * @param {number} [lng]
29446
+ * @param {number} [distance]
29132
29447
  * @param {*} [options] Override http request option.
29133
29448
  * @throws {RequiredError}
29134
29449
  */
29135
- async rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29136
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, options);
29450
+ async rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, lat, lng, distance, options);
29137
29452
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29138
29453
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetHostEvents']?.[localVarOperationServerIndex]?.url;
29139
29454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29144,15 +29459,36 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29144
29459
  * @param {number} pageSize
29145
29460
  * @param {string} [search]
29146
29461
  * @param {string} [venue]
29462
+ * @param {number} [lat]
29463
+ * @param {number} [lng]
29464
+ * @param {number} [distance]
29147
29465
  * @param {*} [options] Override http request option.
29148
29466
  * @throws {RequiredError}
29149
29467
  */
29150
- async rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29151
- const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, options);
29468
+ async rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, lat, lng, distance, options);
29152
29470
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29153
29471
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetMyEvents']?.[localVarOperationServerIndex]?.url;
29154
29472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29155
29473
  },
29474
+ /**
29475
+ *
29476
+ * @param {number} page
29477
+ * @param {number} pageSize
29478
+ * @param {string} [search]
29479
+ * @param {string} [venue]
29480
+ * @param {number} [lat]
29481
+ * @param {number} [lng]
29482
+ * @param {number} [distance]
29483
+ * @param {*} [options] Override http request option.
29484
+ * @throws {RequiredError}
29485
+ */
29486
+ async rSVPV2ControllerGetNearbyPublicEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rSVPV2ControllerGetNearbyPublicEvents(page, pageSize, search, venue, lat, lng, distance, options);
29488
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29489
+ const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetNearbyPublicEvents']?.[localVarOperationServerIndex]?.url;
29490
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29491
+ },
29156
29492
  /**
29157
29493
  *
29158
29494
  * @param {string} id
@@ -29227,6 +29563,16 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29227
29563
  export const RSVPV2ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29228
29564
  const localVarFp = RSVPV2ApiFp(configuration)
29229
29565
  return {
29566
+ /**
29567
+ *
29568
+ * @param {string} id
29569
+ * @param {number} [attendees] Number of attendees to check for
29570
+ * @param {*} [options] Override http request option.
29571
+ * @throws {RequiredError}
29572
+ */
29573
+ rSVPV2ControllerCheckAvailability(id: string, attendees?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29574
+ return localVarFp.rSVPV2ControllerCheckAvailability(id, attendees, options).then((request) => request(axios, basePath));
29575
+ },
29230
29576
  /**
29231
29577
  *
29232
29578
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29245,6 +29591,15 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29245
29591
  rSVPV2ControllerCreateEvent(createRSVPEventV2DTO: CreateRSVPEventV2DTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29246
29592
  return localVarFp.rSVPV2ControllerCreateEvent(createRSVPEventV2DTO, options).then((request) => request(axios, basePath));
29247
29593
  },
29594
+ /**
29595
+ *
29596
+ * @param {string} id
29597
+ * @param {*} [options] Override http request option.
29598
+ * @throws {RequiredError}
29599
+ */
29600
+ rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29601
+ return localVarFp.rSVPV2ControllerDeleteEvent(id, options).then((request) => request(axios, basePath));
29602
+ },
29248
29603
  /**
29249
29604
  *
29250
29605
  * @param {string} id
@@ -29273,11 +29628,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29273
29628
  * @param {number} pageSize
29274
29629
  * @param {string} [search]
29275
29630
  * @param {string} [venue]
29631
+ * @param {number} [lat]
29632
+ * @param {number} [lng]
29633
+ * @param {number} [distance]
29276
29634
  * @param {*} [options] Override http request option.
29277
29635
  * @throws {RequiredError}
29278
29636
  */
29279
- rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29280
- return localVarFp.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
29637
+ rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29638
+ return localVarFp.rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(axios, basePath));
29281
29639
  },
29282
29640
  /**
29283
29641
  *
@@ -29286,11 +29644,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29286
29644
  * @param {number} pageSize
29287
29645
  * @param {string} [search]
29288
29646
  * @param {string} [venue]
29647
+ * @param {number} [lat]
29648
+ * @param {number} [lng]
29649
+ * @param {number} [distance]
29289
29650
  * @param {*} [options] Override http request option.
29290
29651
  * @throws {RequiredError}
29291
29652
  */
29292
- rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29293
- return localVarFp.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(axios, basePath));
29653
+ rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29654
+ return localVarFp.rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(axios, basePath));
29294
29655
  },
29295
29656
  /**
29296
29657
  *
@@ -29298,11 +29659,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29298
29659
  * @param {number} pageSize
29299
29660
  * @param {string} [search]
29300
29661
  * @param {string} [venue]
29662
+ * @param {number} [lat]
29663
+ * @param {number} [lng]
29664
+ * @param {number} [distance]
29301
29665
  * @param {*} [options] Override http request option.
29302
29666
  * @throws {RequiredError}
29303
29667
  */
29304
- rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29305
- return localVarFp.rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
29668
+ rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29669
+ return localVarFp.rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(axios, basePath));
29306
29670
  },
29307
29671
  /**
29308
29672
  *
@@ -29310,11 +29674,29 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29310
29674
  * @param {number} pageSize
29311
29675
  * @param {string} [search]
29312
29676
  * @param {string} [venue]
29677
+ * @param {number} [lat]
29678
+ * @param {number} [lng]
29679
+ * @param {number} [distance]
29313
29680
  * @param {*} [options] Override http request option.
29314
29681
  * @throws {RequiredError}
29315
29682
  */
29316
- rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29317
- return localVarFp.rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
29683
+ rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29684
+ return localVarFp.rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(axios, basePath));
29685
+ },
29686
+ /**
29687
+ *
29688
+ * @param {number} page
29689
+ * @param {number} pageSize
29690
+ * @param {string} [search]
29691
+ * @param {string} [venue]
29692
+ * @param {number} [lat]
29693
+ * @param {number} [lng]
29694
+ * @param {number} [distance]
29695
+ * @param {*} [options] Override http request option.
29696
+ * @throws {RequiredError}
29697
+ */
29698
+ rSVPV2ControllerGetNearbyPublicEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29699
+ return localVarFp.rSVPV2ControllerGetNearbyPublicEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(axios, basePath));
29318
29700
  },
29319
29701
  /**
29320
29702
  *
@@ -29375,6 +29757,18 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29375
29757
  * @extends {BaseAPI}
29376
29758
  */
29377
29759
  export class RSVPV2Api extends BaseAPI {
29760
+ /**
29761
+ *
29762
+ * @param {string} id
29763
+ * @param {number} [attendees] Number of attendees to check for
29764
+ * @param {*} [options] Override http request option.
29765
+ * @throws {RequiredError}
29766
+ * @memberof RSVPV2Api
29767
+ */
29768
+ public rSVPV2ControllerCheckAvailability(id: string, attendees?: number, options?: RawAxiosRequestConfig) {
29769
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerCheckAvailability(id, attendees, options).then((request) => request(this.axios, this.basePath));
29770
+ }
29771
+
29378
29772
  /**
29379
29773
  *
29380
29774
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29397,6 +29791,17 @@ export class RSVPV2Api extends BaseAPI {
29397
29791
  return RSVPV2ApiFp(this.configuration).rSVPV2ControllerCreateEvent(createRSVPEventV2DTO, options).then((request) => request(this.axios, this.basePath));
29398
29792
  }
29399
29793
 
29794
+ /**
29795
+ *
29796
+ * @param {string} id
29797
+ * @param {*} [options] Override http request option.
29798
+ * @throws {RequiredError}
29799
+ * @memberof RSVPV2Api
29800
+ */
29801
+ public rSVPV2ControllerDeleteEvent(id: string, options?: RawAxiosRequestConfig) {
29802
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerDeleteEvent(id, options).then((request) => request(this.axios, this.basePath));
29803
+ }
29804
+
29400
29805
  /**
29401
29806
  *
29402
29807
  * @param {string} id
@@ -29429,12 +29834,15 @@ export class RSVPV2Api extends BaseAPI {
29429
29834
  * @param {number} pageSize
29430
29835
  * @param {string} [search]
29431
29836
  * @param {string} [venue]
29837
+ * @param {number} [lat]
29838
+ * @param {number} [lng]
29839
+ * @param {number} [distance]
29432
29840
  * @param {*} [options] Override http request option.
29433
29841
  * @throws {RequiredError}
29434
29842
  * @memberof RSVPV2Api
29435
29843
  */
29436
- public rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29437
- return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
29844
+ public rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig) {
29845
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByBusiness(businessId, page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(this.axios, this.basePath));
29438
29846
  }
29439
29847
 
29440
29848
  /**
@@ -29444,12 +29852,32 @@ export class RSVPV2Api extends BaseAPI {
29444
29852
  * @param {number} pageSize
29445
29853
  * @param {string} [search]
29446
29854
  * @param {string} [venue]
29855
+ * @param {number} [lat]
29856
+ * @param {number} [lng]
29857
+ * @param {number} [distance]
29858
+ * @param {*} [options] Override http request option.
29859
+ * @throws {RequiredError}
29860
+ * @memberof RSVPV2Api
29861
+ */
29862
+ public rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig) {
29863
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(this.axios, this.basePath));
29864
+ }
29865
+
29866
+ /**
29867
+ *
29868
+ * @param {number} page
29869
+ * @param {number} pageSize
29870
+ * @param {string} [search]
29871
+ * @param {string} [venue]
29872
+ * @param {number} [lat]
29873
+ * @param {number} [lng]
29874
+ * @param {number} [distance]
29447
29875
  * @param {*} [options] Override http request option.
29448
29876
  * @throws {RequiredError}
29449
29877
  * @memberof RSVPV2Api
29450
29878
  */
29451
- public rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29452
- return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetEventsByVenue(venueId, page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
29879
+ public rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig) {
29880
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(this.axios, this.basePath));
29453
29881
  }
29454
29882
 
29455
29883
  /**
@@ -29458,12 +29886,15 @@ export class RSVPV2Api extends BaseAPI {
29458
29886
  * @param {number} pageSize
29459
29887
  * @param {string} [search]
29460
29888
  * @param {string} [venue]
29889
+ * @param {number} [lat]
29890
+ * @param {number} [lng]
29891
+ * @param {number} [distance]
29461
29892
  * @param {*} [options] Override http request option.
29462
29893
  * @throws {RequiredError}
29463
29894
  * @memberof RSVPV2Api
29464
29895
  */
29465
- public rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29466
- return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetHostEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
29896
+ public rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig) {
29897
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(this.axios, this.basePath));
29467
29898
  }
29468
29899
 
29469
29900
  /**
@@ -29472,12 +29903,15 @@ export class RSVPV2Api extends BaseAPI {
29472
29903
  * @param {number} pageSize
29473
29904
  * @param {string} [search]
29474
29905
  * @param {string} [venue]
29906
+ * @param {number} [lat]
29907
+ * @param {number} [lng]
29908
+ * @param {number} [distance]
29475
29909
  * @param {*} [options] Override http request option.
29476
29910
  * @throws {RequiredError}
29477
29911
  * @memberof RSVPV2Api
29478
29912
  */
29479
- public rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29480
- return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetMyEvents(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
29913
+ public rSVPV2ControllerGetNearbyPublicEvents(page: number, pageSize: number, search?: string, venue?: string, lat?: number, lng?: number, distance?: number, options?: RawAxiosRequestConfig) {
29914
+ return RSVPV2ApiFp(this.configuration).rSVPV2ControllerGetNearbyPublicEvents(page, pageSize, search, venue, lat, lng, distance, options).then((request) => request(this.axios, this.basePath));
29481
29915
  }
29482
29916
 
29483
29917
  /**
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8080*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**businessControllerBusinessBookingFeeUpdate**](#businesscontrollerbusinessbookingfeeupdate) | **PUT** /v1/business/booking/fee | |
8
8
  |[**businessControllerBusinessOnboarding**](#businesscontrollerbusinessonboarding) | **POST** /v1/business/onboarding | |
9
+ |[**businessControllerDisconnectStripe**](#businesscontrollerdisconnectstripe) | **POST** /v1/business/stripe/disconnect | |
9
10
  |[**businessControllerFindBusiness**](#businesscontrollerfindbusiness) | **GET** /v1/business/hosts | |
10
11
  |[**businessControllerGetMe**](#businesscontrollergetme) | **GET** /v1/business/me | |
11
12
  |[**businessControllerListBusinesses**](#businesscontrollerlistbusinesses) | **GET** /v1/business | |
@@ -141,6 +142,49 @@ const { status, data } = await apiInstance.businessControllerBusinessOnboarding(
141
142
 
142
143
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
143
144
 
145
+ # **businessControllerDisconnectStripe**
146
+ > businessControllerDisconnectStripe()
147
+
148
+
149
+ ### Example
150
+
151
+ ```typescript
152
+ import {
153
+ BusinessApi,
154
+ Configuration
155
+ } from './api';
156
+
157
+ const configuration = new Configuration();
158
+ const apiInstance = new BusinessApi(configuration);
159
+
160
+ const { status, data } = await apiInstance.businessControllerDisconnectStripe();
161
+ ```
162
+
163
+ ### Parameters
164
+ This endpoint does not have any parameters.
165
+
166
+
167
+ ### Return type
168
+
169
+ void (empty response body)
170
+
171
+ ### Authorization
172
+
173
+ [bearer](../README.md#bearer)
174
+
175
+ ### HTTP request headers
176
+
177
+ - **Content-Type**: Not defined
178
+ - **Accept**: Not defined
179
+
180
+
181
+ ### HTTP response details
182
+ | Status code | Description | Response headers |
183
+ |-------------|-------------|------------------|
184
+ |**200** | Stripe account disconnected successfully | - |
185
+
186
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
187
+
144
188
  # **businessControllerFindBusiness**
145
189
  > Array<UserEntity> businessControllerFindBusiness()
146
190
 
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **date** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T09:31:01Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-10T11:39:45Z]
11
11
  **from** | **string** | | [optional] [default to undefined]
12
12
  **to** | **string** | | [optional] [default to undefined]
13
13
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **startDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
11
11
  **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
12
  **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
13
  **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **startDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
11
11
  **note** | **string** | Notes attached with booking | [optional] [default to undefined]
12
12
  **occasion** | **string** | Occasion id | [optional] [default to undefined]
13
13
  **calendar** | **Array&lt;string&gt;** | Calendar attached with booking | [optional] [default to undefined]
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **whatsOnId** | **string** | Event ID | [optional] [default to undefined]
9
9
  **serviceId** | **string** | Service ID | [optional] [default to undefined]
10
10
  **rsvpId** | **string** | RSVP ID | [optional] [default to undefined]
11
- **startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T09:30:59Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T09:30:59Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-10T11:39:42Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-10T11:39:42Z]
13
13
  **discountId** | **string** | Discount ID | [optional] [default to undefined]
14
14
  **selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
15
15
  **quantity** | **number** | | [optional] [default to 0]
@@ -10,7 +10,9 @@ Name | Type | Description | Notes
10
10
  **search** | **string** | | [optional] [default to undefined]
11
11
  **venue** | **string** | | [optional] [default to undefined]
12
12
  **type** | **Array&lt;string&gt;** | | [optional] [default to undefined]
13
- **location** | [**RSVPEventLocationDTO**](RSVPEventLocationDTO.md) | | [optional] [default to undefined]
13
+ **lat** | **number** | | [optional] [default to undefined]
14
+ **lng** | **number** | | [optional] [default to undefined]
15
+ **distance** | **number** | | [optional] [default to undefined]
14
16
 
15
17
  ## Example
16
18
 
@@ -23,7 +25,9 @@ const instance: RSVPEventFindDTO = {
23
25
  search,
24
26
  venue,
25
27
  type,
26
- location,
28
+ lat,
29
+ lng,
30
+ distance,
27
31
  };
28
32
  ```
29
33
 
package/docs/RSVPV2Api.md CHANGED
@@ -4,20 +4,76 @@ All URIs are relative to *http://localhost:8080*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**rSVPV2ControllerCheckAvailability**](#rsvpv2controllercheckavailability) | **GET** /v1/rsvp/v2/events/{id}/availability | |
7
8
  |[**rSVPV2ControllerConfirmPayment**](#rsvpv2controllerconfirmpayment) | **POST** /v1/rsvp/v2/attendees/payment/confirm | |
8
9
  |[**rSVPV2ControllerCreateEvent**](#rsvpv2controllercreateevent) | **POST** /v1/rsvp/v2/events | |
10
+ |[**rSVPV2ControllerDeleteEvent**](#rsvpv2controllerdeleteevent) | **DELETE** /v1/rsvp/v2/events/{id} | |
9
11
  |[**rSVPV2ControllerGetAttendees**](#rsvpv2controllergetattendees) | **GET** /v1/rsvp/v2/events/{id}/attendees | |
10
12
  |[**rSVPV2ControllerGetEventById**](#rsvpv2controllergeteventbyid) | **GET** /v1/rsvp/v2/events/{id} | |
11
13
  |[**rSVPV2ControllerGetEventsByBusiness**](#rsvpv2controllergeteventsbybusiness) | **GET** /v1/rsvp/v2/events/business/{businessId} | |
12
14
  |[**rSVPV2ControllerGetEventsByVenue**](#rsvpv2controllergeteventsbyvenue) | **GET** /v1/rsvp/v2/events/venue/{venueId} | |
13
15
  |[**rSVPV2ControllerGetHostEvents**](#rsvpv2controllergethostevents) | **GET** /v1/rsvp/v2/host/events | |
14
16
  |[**rSVPV2ControllerGetMyEvents**](#rsvpv2controllergetmyevents) | **GET** /v1/rsvp/v2/my/events | |
17
+ |[**rSVPV2ControllerGetNearbyPublicEvents**](#rsvpv2controllergetnearbypublicevents) | **GET** /v1/rsvp/v2/events/nearby | |
15
18
  |[**rSVPV2ControllerInvite**](#rsvpv2controllerinvite) | **POST** /v1/rsvp/v2/events/{id}/invite | |
16
19
  |[**rSVPV2ControllerJoinEvent**](#rsvpv2controllerjoinevent) | **POST** /v1/rsvp/v2/events/{id}/join | |
17
20
  |[**rSVPV2ControllerSetupPayment**](#rsvpv2controllersetuppayment) | **POST** /v1/rsvp/v2/attendees/payment/setup | |
18
21
  |[**rSVPV2ControllerUpdateEvent**](#rsvpv2controllerupdateevent) | **PUT** /v1/rsvp/v2/events/{id} | |
19
22
  |[**rSVPV2ControllerUpdateStatus**](#rsvpv2controllerupdatestatus) | **PUT** /v1/rsvp/v2/attendees/{id}/status | |
20
23
 
24
+ # **rSVPV2ControllerCheckAvailability**
25
+ > rSVPV2ControllerCheckAvailability()
26
+
27
+
28
+ ### Example
29
+
30
+ ```typescript
31
+ import {
32
+ RSVPV2Api,
33
+ Configuration
34
+ } from './api';
35
+
36
+ const configuration = new Configuration();
37
+ const apiInstance = new RSVPV2Api(configuration);
38
+
39
+ let id: string; // (default to undefined)
40
+ let attendees: number; //Number of attendees to check for (optional) (default to 1)
41
+
42
+ const { status, data } = await apiInstance.rSVPV2ControllerCheckAvailability(
43
+ id,
44
+ attendees
45
+ );
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ |Name | Type | Description | Notes|
51
+ |------------- | ------------- | ------------- | -------------|
52
+ | **id** | [**string**] | | defaults to undefined|
53
+ | **attendees** | [**number**] | Number of attendees to check for | (optional) defaults to 1|
54
+
55
+
56
+ ### Return type
57
+
58
+ void (empty response body)
59
+
60
+ ### Authorization
61
+
62
+ No authorization required
63
+
64
+ ### HTTP request headers
65
+
66
+ - **Content-Type**: Not defined
67
+ - **Accept**: Not defined
68
+
69
+
70
+ ### HTTP response details
71
+ | Status code | Description | Response headers |
72
+ |-------------|-------------|------------------|
73
+ |**200** | Check event availability | - |
74
+
75
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
76
+
21
77
  # **rSVPV2ControllerConfirmPayment**
22
78
  > rSVPV2ControllerConfirmPayment(confirmRSVPV2PaymentDTO)
23
79
 
@@ -105,7 +161,7 @@ void (empty response body)
105
161
 
106
162
  ### Authorization
107
163
 
108
- No authorization required
164
+ [bearer](../README.md#bearer)
109
165
 
110
166
  ### HTTP request headers
111
167
 
@@ -120,6 +176,56 @@ No authorization required
120
176
 
121
177
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
122
178
 
179
+ # **rSVPV2ControllerDeleteEvent**
180
+ > rSVPV2ControllerDeleteEvent()
181
+
182
+
183
+ ### Example
184
+
185
+ ```typescript
186
+ import {
187
+ RSVPV2Api,
188
+ Configuration
189
+ } from './api';
190
+
191
+ const configuration = new Configuration();
192
+ const apiInstance = new RSVPV2Api(configuration);
193
+
194
+ let id: string; // (default to undefined)
195
+
196
+ const { status, data } = await apiInstance.rSVPV2ControllerDeleteEvent(
197
+ id
198
+ );
199
+ ```
200
+
201
+ ### Parameters
202
+
203
+ |Name | Type | Description | Notes|
204
+ |------------- | ------------- | ------------- | -------------|
205
+ | **id** | [**string**] | | defaults to undefined|
206
+
207
+
208
+ ### Return type
209
+
210
+ void (empty response body)
211
+
212
+ ### Authorization
213
+
214
+ [bearer](../README.md#bearer)
215
+
216
+ ### HTTP request headers
217
+
218
+ - **Content-Type**: Not defined
219
+ - **Accept**: Not defined
220
+
221
+
222
+ ### HTTP response details
223
+ | Status code | Description | Response headers |
224
+ |-------------|-------------|------------------|
225
+ |**200** | Delete an existing RSVP event and purge its data | - |
226
+
227
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
228
+
123
229
  # **rSVPV2ControllerGetAttendees**
124
230
  > rSVPV2ControllerGetAttendees()
125
231
 
@@ -249,13 +355,19 @@ let page: number; // (default to undefined)
249
355
  let pageSize: number; // (default to undefined)
250
356
  let search: string; // (optional) (default to undefined)
251
357
  let venue: string; // (optional) (default to undefined)
358
+ let lat: number; // (optional) (default to undefined)
359
+ let lng: number; // (optional) (default to undefined)
360
+ let distance: number; // (optional) (default to undefined)
252
361
 
253
362
  const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByBusiness(
254
363
  businessId,
255
364
  page,
256
365
  pageSize,
257
366
  search,
258
- venue
367
+ venue,
368
+ lat,
369
+ lng,
370
+ distance
259
371
  );
260
372
  ```
261
373
 
@@ -268,6 +380,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByBusiness(
268
380
  | **pageSize** | [**number**] | | defaults to undefined|
269
381
  | **search** | [**string**] | | (optional) defaults to undefined|
270
382
  | **venue** | [**string**] | | (optional) defaults to undefined|
383
+ | **lat** | [**number**] | | (optional) defaults to undefined|
384
+ | **lng** | [**number**] | | (optional) defaults to undefined|
385
+ | **distance** | [**number**] | | (optional) defaults to undefined|
271
386
 
272
387
 
273
388
  ### Return type
@@ -311,13 +426,19 @@ let page: number; // (default to undefined)
311
426
  let pageSize: number; // (default to undefined)
312
427
  let search: string; // (optional) (default to undefined)
313
428
  let venue: string; // (optional) (default to undefined)
429
+ let lat: number; // (optional) (default to undefined)
430
+ let lng: number; // (optional) (default to undefined)
431
+ let distance: number; // (optional) (default to undefined)
314
432
 
315
433
  const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByVenue(
316
434
  venueId,
317
435
  page,
318
436
  pageSize,
319
437
  search,
320
- venue
438
+ venue,
439
+ lat,
440
+ lng,
441
+ distance
321
442
  );
322
443
  ```
323
444
 
@@ -330,6 +451,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByVenue(
330
451
  | **pageSize** | [**number**] | | defaults to undefined|
331
452
  | **search** | [**string**] | | (optional) defaults to undefined|
332
453
  | **venue** | [**string**] | | (optional) defaults to undefined|
454
+ | **lat** | [**number**] | | (optional) defaults to undefined|
455
+ | **lng** | [**number**] | | (optional) defaults to undefined|
456
+ | **distance** | [**number**] | | (optional) defaults to undefined|
333
457
 
334
458
 
335
459
  ### Return type
@@ -372,12 +496,18 @@ let page: number; // (default to undefined)
372
496
  let pageSize: number; // (default to undefined)
373
497
  let search: string; // (optional) (default to undefined)
374
498
  let venue: string; // (optional) (default to undefined)
499
+ let lat: number; // (optional) (default to undefined)
500
+ let lng: number; // (optional) (default to undefined)
501
+ let distance: number; // (optional) (default to undefined)
375
502
 
376
503
  const { status, data } = await apiInstance.rSVPV2ControllerGetHostEvents(
377
504
  page,
378
505
  pageSize,
379
506
  search,
380
- venue
507
+ venue,
508
+ lat,
509
+ lng,
510
+ distance
381
511
  );
382
512
  ```
383
513
 
@@ -389,6 +519,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetHostEvents(
389
519
  | **pageSize** | [**number**] | | defaults to undefined|
390
520
  | **search** | [**string**] | | (optional) defaults to undefined|
391
521
  | **venue** | [**string**] | | (optional) defaults to undefined|
522
+ | **lat** | [**number**] | | (optional) defaults to undefined|
523
+ | **lng** | [**number**] | | (optional) defaults to undefined|
524
+ | **distance** | [**number**] | | (optional) defaults to undefined|
392
525
 
393
526
 
394
527
  ### Return type
@@ -431,12 +564,18 @@ let page: number; // (default to undefined)
431
564
  let pageSize: number; // (default to undefined)
432
565
  let search: string; // (optional) (default to undefined)
433
566
  let venue: string; // (optional) (default to undefined)
567
+ let lat: number; // (optional) (default to undefined)
568
+ let lng: number; // (optional) (default to undefined)
569
+ let distance: number; // (optional) (default to undefined)
434
570
 
435
571
  const { status, data } = await apiInstance.rSVPV2ControllerGetMyEvents(
436
572
  page,
437
573
  pageSize,
438
574
  search,
439
- venue
575
+ venue,
576
+ lat,
577
+ lng,
578
+ distance
440
579
  );
441
580
  ```
442
581
 
@@ -448,6 +587,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetMyEvents(
448
587
  | **pageSize** | [**number**] | | defaults to undefined|
449
588
  | **search** | [**string**] | | (optional) defaults to undefined|
450
589
  | **venue** | [**string**] | | (optional) defaults to undefined|
590
+ | **lat** | [**number**] | | (optional) defaults to undefined|
591
+ | **lng** | [**number**] | | (optional) defaults to undefined|
592
+ | **distance** | [**number**] | | (optional) defaults to undefined|
451
593
 
452
594
 
453
595
  ### Return type
@@ -471,6 +613,74 @@ void (empty response body)
471
613
 
472
614
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
473
615
 
616
+ # **rSVPV2ControllerGetNearbyPublicEvents**
617
+ > rSVPV2ControllerGetNearbyPublicEvents()
618
+
619
+
620
+ ### Example
621
+
622
+ ```typescript
623
+ import {
624
+ RSVPV2Api,
625
+ Configuration
626
+ } from './api';
627
+
628
+ const configuration = new Configuration();
629
+ const apiInstance = new RSVPV2Api(configuration);
630
+
631
+ let page: number; // (default to undefined)
632
+ let pageSize: number; // (default to undefined)
633
+ let search: string; // (optional) (default to undefined)
634
+ let venue: string; // (optional) (default to undefined)
635
+ let lat: number; // (optional) (default to undefined)
636
+ let lng: number; // (optional) (default to undefined)
637
+ let distance: number; // (optional) (default to undefined)
638
+
639
+ const { status, data } = await apiInstance.rSVPV2ControllerGetNearbyPublicEvents(
640
+ page,
641
+ pageSize,
642
+ search,
643
+ venue,
644
+ lat,
645
+ lng,
646
+ distance
647
+ );
648
+ ```
649
+
650
+ ### Parameters
651
+
652
+ |Name | Type | Description | Notes|
653
+ |------------- | ------------- | ------------- | -------------|
654
+ | **page** | [**number**] | | defaults to undefined|
655
+ | **pageSize** | [**number**] | | defaults to undefined|
656
+ | **search** | [**string**] | | (optional) defaults to undefined|
657
+ | **venue** | [**string**] | | (optional) defaults to undefined|
658
+ | **lat** | [**number**] | | (optional) defaults to undefined|
659
+ | **lng** | [**number**] | | (optional) defaults to undefined|
660
+ | **distance** | [**number**] | | (optional) defaults to undefined|
661
+
662
+
663
+ ### Return type
664
+
665
+ void (empty response body)
666
+
667
+ ### Authorization
668
+
669
+ No authorization required
670
+
671
+ ### HTTP request headers
672
+
673
+ - **Content-Type**: Not defined
674
+ - **Accept**: Not defined
675
+
676
+
677
+ ### HTTP response details
678
+ | Status code | Description | Response headers |
679
+ |-------------|-------------|------------------|
680
+ |**200** | Get public events near a specific location | - |
681
+
682
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
683
+
474
684
  # **rSVPV2ControllerInvite**
475
685
  > rSVPV2ControllerInvite(inviteRSVPArrayDTO)
476
686
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | The start date of the booking | [default to 2026-04-09T09:31:01Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-04-10T11:39:45Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
  **notes** | **string** | | [optional] [default to undefined]
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **startDate** | **string** | The start date of the waitlist | [default to 2026-04-09T09:31:01Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-04-09T10:31:01Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-04-10T11:39:45Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-04-10T12:39:45Z]
10
10
  **venue** | **string** | The venue of the waitlist | [default to undefined]
11
11
  **business** | **string** | The business associated with the waitlist | [default to undefined]
12
12
  **collaborators** | [**Array&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "4.5.102",
3
+ "version": "4.5.109",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},