@gooday_corp/gooday-api-client 4.5.106 → 4.5.110

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 = {
@@ -28506,6 +28518,44 @@ export class RSVPEventApi extends BaseAPI {
28506
28518
  */
28507
28519
  export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuration) {
28508
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
+ },
28509
28559
  /**
28510
28560
  *
28511
28561
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -28562,6 +28612,10 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28562
28612
  const localVarHeaderParameter = {} as any;
28563
28613
  const localVarQueryParameter = {} as any;
28564
28614
 
28615
+ // authentication bearer required
28616
+ // http bearer authentication required
28617
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28618
+
28565
28619
 
28566
28620
 
28567
28621
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -28701,10 +28755,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28701
28755
  * @param {number} pageSize
28702
28756
  * @param {string} [search]
28703
28757
  * @param {string} [venue]
28758
+ * @param {number} [lat]
28759
+ * @param {number} [lng]
28760
+ * @param {number} [distance]
28704
28761
  * @param {*} [options] Override http request option.
28705
28762
  * @throws {RequiredError}
28706
28763
  */
28707
- 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> => {
28708
28765
  // verify required parameter 'businessId' is not null or undefined
28709
28766
  assertParamExists('rSVPV2ControllerGetEventsByBusiness', 'businessId', businessId)
28710
28767
  // verify required parameter 'page' is not null or undefined
@@ -28740,6 +28797,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28740
28797
  localVarQueryParameter['venue'] = venue;
28741
28798
  }
28742
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
+
28743
28812
 
28744
28813
 
28745
28814
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28758,10 +28827,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28758
28827
  * @param {number} pageSize
28759
28828
  * @param {string} [search]
28760
28829
  * @param {string} [venue]
28830
+ * @param {number} [lat]
28831
+ * @param {number} [lng]
28832
+ * @param {number} [distance]
28761
28833
  * @param {*} [options] Override http request option.
28762
28834
  * @throws {RequiredError}
28763
28835
  */
28764
- 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> => {
28765
28837
  // verify required parameter 'venueId' is not null or undefined
28766
28838
  assertParamExists('rSVPV2ControllerGetEventsByVenue', 'venueId', venueId)
28767
28839
  // verify required parameter 'page' is not null or undefined
@@ -28797,6 +28869,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28797
28869
  localVarQueryParameter['venue'] = venue;
28798
28870
  }
28799
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
+
28800
28884
 
28801
28885
 
28802
28886
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28814,10 +28898,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28814
28898
  * @param {number} pageSize
28815
28899
  * @param {string} [search]
28816
28900
  * @param {string} [venue]
28901
+ * @param {number} [lat]
28902
+ * @param {number} [lng]
28903
+ * @param {number} [distance]
28817
28904
  * @param {*} [options] Override http request option.
28818
28905
  * @throws {RequiredError}
28819
28906
  */
28820
- 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> => {
28821
28908
  // verify required parameter 'page' is not null or undefined
28822
28909
  assertParamExists('rSVPV2ControllerGetHostEvents', 'page', page)
28823
28910
  // verify required parameter 'pageSize' is not null or undefined
@@ -28854,6 +28941,18 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28854
28941
  localVarQueryParameter['venue'] = venue;
28855
28942
  }
28856
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
+
28857
28956
 
28858
28957
 
28859
28958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28871,10 +28970,13 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28871
28970
  * @param {number} pageSize
28872
28971
  * @param {string} [search]
28873
28972
  * @param {string} [venue]
28973
+ * @param {number} [lat]
28974
+ * @param {number} [lng]
28975
+ * @param {number} [distance]
28874
28976
  * @param {*} [options] Override http request option.
28875
28977
  * @throws {RequiredError}
28876
28978
  */
28877
- 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> => {
28878
28980
  // verify required parameter 'page' is not null or undefined
28879
28981
  assertParamExists('rSVPV2ControllerGetMyEvents', 'page', page)
28880
28982
  // verify required parameter 'pageSize' is not null or undefined
@@ -28911,6 +29013,86 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
28911
29013
  localVarQueryParameter['venue'] = venue;
28912
29014
  }
28913
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
+
28914
29096
 
28915
29097
 
28916
29098
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29139,6 +29321,19 @@ export const RSVPV2ApiAxiosParamCreator = function (configuration?: Configuratio
29139
29321
  export const RSVPV2ApiFp = function(configuration?: Configuration) {
29140
29322
  const localVarAxiosParamCreator = RSVPV2ApiAxiosParamCreator(configuration)
29141
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
+ },
29142
29337
  /**
29143
29338
  *
29144
29339
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29209,11 +29404,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29209
29404
  * @param {number} pageSize
29210
29405
  * @param {string} [search]
29211
29406
  * @param {string} [venue]
29407
+ * @param {number} [lat]
29408
+ * @param {number} [lng]
29409
+ * @param {number} [distance]
29212
29410
  * @param {*} [options] Override http request option.
29213
29411
  * @throws {RequiredError}
29214
29412
  */
29215
- async rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29216
- 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);
29217
29415
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29218
29416
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByBusiness']?.[localVarOperationServerIndex]?.url;
29219
29417
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29225,11 +29423,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29225
29423
  * @param {number} pageSize
29226
29424
  * @param {string} [search]
29227
29425
  * @param {string} [venue]
29426
+ * @param {number} [lat]
29427
+ * @param {number} [lng]
29428
+ * @param {number} [distance]
29228
29429
  * @param {*} [options] Override http request option.
29229
29430
  * @throws {RequiredError}
29230
29431
  */
29231
- async rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29232
- 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);
29233
29434
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29234
29435
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetEventsByVenue']?.[localVarOperationServerIndex]?.url;
29235
29436
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29240,11 +29441,14 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29240
29441
  * @param {number} pageSize
29241
29442
  * @param {string} [search]
29242
29443
  * @param {string} [venue]
29444
+ * @param {number} [lat]
29445
+ * @param {number} [lng]
29446
+ * @param {number} [distance]
29243
29447
  * @param {*} [options] Override http request option.
29244
29448
  * @throws {RequiredError}
29245
29449
  */
29246
- async rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29247
- 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);
29248
29452
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29249
29453
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetHostEvents']?.[localVarOperationServerIndex]?.url;
29250
29454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29255,15 +29459,36 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29255
29459
  * @param {number} pageSize
29256
29460
  * @param {string} [search]
29257
29461
  * @param {string} [venue]
29462
+ * @param {number} [lat]
29463
+ * @param {number} [lng]
29464
+ * @param {number} [distance]
29258
29465
  * @param {*} [options] Override http request option.
29259
29466
  * @throws {RequiredError}
29260
29467
  */
29261
- async rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29262
- 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);
29263
29470
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29264
29471
  const localVarOperationServerBasePath = operationServerMap['RSVPV2Api.rSVPV2ControllerGetMyEvents']?.[localVarOperationServerIndex]?.url;
29265
29472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29266
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
+ },
29267
29492
  /**
29268
29493
  *
29269
29494
  * @param {string} id
@@ -29338,6 +29563,16 @@ export const RSVPV2ApiFp = function(configuration?: Configuration) {
29338
29563
  export const RSVPV2ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29339
29564
  const localVarFp = RSVPV2ApiFp(configuration)
29340
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
+ },
29341
29576
  /**
29342
29577
  *
29343
29578
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29393,11 +29628,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29393
29628
  * @param {number} pageSize
29394
29629
  * @param {string} [search]
29395
29630
  * @param {string} [venue]
29631
+ * @param {number} [lat]
29632
+ * @param {number} [lng]
29633
+ * @param {number} [distance]
29396
29634
  * @param {*} [options] Override http request option.
29397
29635
  * @throws {RequiredError}
29398
29636
  */
29399
- rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29400
- 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));
29401
29639
  },
29402
29640
  /**
29403
29641
  *
@@ -29406,11 +29644,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29406
29644
  * @param {number} pageSize
29407
29645
  * @param {string} [search]
29408
29646
  * @param {string} [venue]
29647
+ * @param {number} [lat]
29648
+ * @param {number} [lng]
29649
+ * @param {number} [distance]
29409
29650
  * @param {*} [options] Override http request option.
29410
29651
  * @throws {RequiredError}
29411
29652
  */
29412
- rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29413
- 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));
29414
29655
  },
29415
29656
  /**
29416
29657
  *
@@ -29418,11 +29659,14 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29418
29659
  * @param {number} pageSize
29419
29660
  * @param {string} [search]
29420
29661
  * @param {string} [venue]
29662
+ * @param {number} [lat]
29663
+ * @param {number} [lng]
29664
+ * @param {number} [distance]
29421
29665
  * @param {*} [options] Override http request option.
29422
29666
  * @throws {RequiredError}
29423
29667
  */
29424
- rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29425
- 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));
29426
29670
  },
29427
29671
  /**
29428
29672
  *
@@ -29430,11 +29674,29 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29430
29674
  * @param {number} pageSize
29431
29675
  * @param {string} [search]
29432
29676
  * @param {string} [venue]
29677
+ * @param {number} [lat]
29678
+ * @param {number} [lng]
29679
+ * @param {number} [distance]
29433
29680
  * @param {*} [options] Override http request option.
29434
29681
  * @throws {RequiredError}
29435
29682
  */
29436
- rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29437
- 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));
29438
29700
  },
29439
29701
  /**
29440
29702
  *
@@ -29495,6 +29757,18 @@ export const RSVPV2ApiFactory = function (configuration?: Configuration, basePat
29495
29757
  * @extends {BaseAPI}
29496
29758
  */
29497
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
+
29498
29772
  /**
29499
29773
  *
29500
29774
  * @param {ConfirmRSVPV2PaymentDTO} confirmRSVPV2PaymentDTO
@@ -29560,12 +29834,15 @@ export class RSVPV2Api extends BaseAPI {
29560
29834
  * @param {number} pageSize
29561
29835
  * @param {string} [search]
29562
29836
  * @param {string} [venue]
29837
+ * @param {number} [lat]
29838
+ * @param {number} [lng]
29839
+ * @param {number} [distance]
29563
29840
  * @param {*} [options] Override http request option.
29564
29841
  * @throws {RequiredError}
29565
29842
  * @memberof RSVPV2Api
29566
29843
  */
29567
- public rSVPV2ControllerGetEventsByBusiness(businessId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29568
- 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));
29569
29846
  }
29570
29847
 
29571
29848
  /**
@@ -29575,12 +29852,32 @@ export class RSVPV2Api extends BaseAPI {
29575
29852
  * @param {number} pageSize
29576
29853
  * @param {string} [search]
29577
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]
29578
29875
  * @param {*} [options] Override http request option.
29579
29876
  * @throws {RequiredError}
29580
29877
  * @memberof RSVPV2Api
29581
29878
  */
29582
- public rSVPV2ControllerGetEventsByVenue(venueId: string, page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29583
- 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));
29584
29881
  }
29585
29882
 
29586
29883
  /**
@@ -29589,12 +29886,15 @@ export class RSVPV2Api extends BaseAPI {
29589
29886
  * @param {number} pageSize
29590
29887
  * @param {string} [search]
29591
29888
  * @param {string} [venue]
29889
+ * @param {number} [lat]
29890
+ * @param {number} [lng]
29891
+ * @param {number} [distance]
29592
29892
  * @param {*} [options] Override http request option.
29593
29893
  * @throws {RequiredError}
29594
29894
  * @memberof RSVPV2Api
29595
29895
  */
29596
- public rSVPV2ControllerGetHostEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29597
- 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));
29598
29898
  }
29599
29899
 
29600
29900
  /**
@@ -29603,12 +29903,15 @@ export class RSVPV2Api extends BaseAPI {
29603
29903
  * @param {number} pageSize
29604
29904
  * @param {string} [search]
29605
29905
  * @param {string} [venue]
29906
+ * @param {number} [lat]
29907
+ * @param {number} [lng]
29908
+ * @param {number} [distance]
29606
29909
  * @param {*} [options] Override http request option.
29607
29910
  * @throws {RequiredError}
29608
29911
  * @memberof RSVPV2Api
29609
29912
  */
29610
- public rSVPV2ControllerGetMyEvents(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
29611
- 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));
29612
29915
  }
29613
29916
 
29614
29917
  /**
@@ -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-09T12:27:31Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-09T12:27:31Z]
9
+ **date** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2026-04-10T12:11:39Z]
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-09T12:27:31Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-09T12:27:31Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
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-09T12:27:31Z]
10
- **endDate** | **string** | The start date of the booking | [default to 2026-04-09T12:27:31Z]
9
+ **startDate** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
10
+ **endDate** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
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-09T12:27:28Z]
12
- **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-09T12:27:28Z]
11
+ **startDate** | **string** | The start date of the booking | [optional] [default to 2026-04-10T12:11:37Z]
12
+ **endDate** | **string** | The end date of the booking | [optional] [default to 2026-04-10T12:11:37Z]
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,6 +4,7 @@ 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 | |
9
10
  |[**rSVPV2ControllerDeleteEvent**](#rsvpv2controllerdeleteevent) | **DELETE** /v1/rsvp/v2/events/{id} | |
@@ -13,12 +14,66 @@ All URIs are relative to *http://localhost:8080*
13
14
  |[**rSVPV2ControllerGetEventsByVenue**](#rsvpv2controllergeteventsbyvenue) | **GET** /v1/rsvp/v2/events/venue/{venueId} | |
14
15
  |[**rSVPV2ControllerGetHostEvents**](#rsvpv2controllergethostevents) | **GET** /v1/rsvp/v2/host/events | |
15
16
  |[**rSVPV2ControllerGetMyEvents**](#rsvpv2controllergetmyevents) | **GET** /v1/rsvp/v2/my/events | |
17
+ |[**rSVPV2ControllerGetNearbyPublicEvents**](#rsvpv2controllergetnearbypublicevents) | **GET** /v1/rsvp/v2/events/nearby | |
16
18
  |[**rSVPV2ControllerInvite**](#rsvpv2controllerinvite) | **POST** /v1/rsvp/v2/events/{id}/invite | |
17
19
  |[**rSVPV2ControllerJoinEvent**](#rsvpv2controllerjoinevent) | **POST** /v1/rsvp/v2/events/{id}/join | |
18
20
  |[**rSVPV2ControllerSetupPayment**](#rsvpv2controllersetuppayment) | **POST** /v1/rsvp/v2/attendees/payment/setup | |
19
21
  |[**rSVPV2ControllerUpdateEvent**](#rsvpv2controllerupdateevent) | **PUT** /v1/rsvp/v2/events/{id} | |
20
22
  |[**rSVPV2ControllerUpdateStatus**](#rsvpv2controllerupdatestatus) | **PUT** /v1/rsvp/v2/attendees/{id}/status | |
21
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
+
22
77
  # **rSVPV2ControllerConfirmPayment**
23
78
  > rSVPV2ControllerConfirmPayment(confirmRSVPV2PaymentDTO)
24
79
 
@@ -106,7 +161,7 @@ void (empty response body)
106
161
 
107
162
  ### Authorization
108
163
 
109
- No authorization required
164
+ [bearer](../README.md#bearer)
110
165
 
111
166
  ### HTTP request headers
112
167
 
@@ -300,13 +355,19 @@ let page: number; // (default to undefined)
300
355
  let pageSize: number; // (default to undefined)
301
356
  let search: string; // (optional) (default to undefined)
302
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)
303
361
 
304
362
  const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByBusiness(
305
363
  businessId,
306
364
  page,
307
365
  pageSize,
308
366
  search,
309
- venue
367
+ venue,
368
+ lat,
369
+ lng,
370
+ distance
310
371
  );
311
372
  ```
312
373
 
@@ -319,6 +380,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByBusiness(
319
380
  | **pageSize** | [**number**] | | defaults to undefined|
320
381
  | **search** | [**string**] | | (optional) defaults to undefined|
321
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|
322
386
 
323
387
 
324
388
  ### Return type
@@ -362,13 +426,19 @@ let page: number; // (default to undefined)
362
426
  let pageSize: number; // (default to undefined)
363
427
  let search: string; // (optional) (default to undefined)
364
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)
365
432
 
366
433
  const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByVenue(
367
434
  venueId,
368
435
  page,
369
436
  pageSize,
370
437
  search,
371
- venue
438
+ venue,
439
+ lat,
440
+ lng,
441
+ distance
372
442
  );
373
443
  ```
374
444
 
@@ -381,6 +451,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetEventsByVenue(
381
451
  | **pageSize** | [**number**] | | defaults to undefined|
382
452
  | **search** | [**string**] | | (optional) defaults to undefined|
383
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|
384
457
 
385
458
 
386
459
  ### Return type
@@ -423,12 +496,18 @@ let page: number; // (default to undefined)
423
496
  let pageSize: number; // (default to undefined)
424
497
  let search: string; // (optional) (default to undefined)
425
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)
426
502
 
427
503
  const { status, data } = await apiInstance.rSVPV2ControllerGetHostEvents(
428
504
  page,
429
505
  pageSize,
430
506
  search,
431
- venue
507
+ venue,
508
+ lat,
509
+ lng,
510
+ distance
432
511
  );
433
512
  ```
434
513
 
@@ -440,6 +519,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetHostEvents(
440
519
  | **pageSize** | [**number**] | | defaults to undefined|
441
520
  | **search** | [**string**] | | (optional) defaults to undefined|
442
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|
443
525
 
444
526
 
445
527
  ### Return type
@@ -482,12 +564,18 @@ let page: number; // (default to undefined)
482
564
  let pageSize: number; // (default to undefined)
483
565
  let search: string; // (optional) (default to undefined)
484
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)
485
570
 
486
571
  const { status, data } = await apiInstance.rSVPV2ControllerGetMyEvents(
487
572
  page,
488
573
  pageSize,
489
574
  search,
490
- venue
575
+ venue,
576
+ lat,
577
+ lng,
578
+ distance
491
579
  );
492
580
  ```
493
581
 
@@ -499,6 +587,9 @@ const { status, data } = await apiInstance.rSVPV2ControllerGetMyEvents(
499
587
  | **pageSize** | [**number**] | | defaults to undefined|
500
588
  | **search** | [**string**] | | (optional) defaults to undefined|
501
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|
502
593
 
503
594
 
504
595
  ### Return type
@@ -522,6 +613,74 @@ void (empty response body)
522
613
 
523
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)
524
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
+
525
684
  # **rSVPV2ControllerInvite**
526
685
  > rSVPV2ControllerInvite(inviteRSVPArrayDTO)
527
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-09T12:27:31Z]
8
+ **date** | **string** | The start date of the booking | [default to 2026-04-10T12:11:39Z]
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-09T12:27:31Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2026-04-09T13:27:31Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2026-04-10T12:11:39Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2026-04-10T13:11:39Z]
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.106",
3
+ "version": "4.5.110",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},