reach-api-sdk 1.0.95 → 1.0.97

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.
@@ -2275,6 +2275,10 @@ type WaitlistOpportunity = {
2275
2275
  * Gets or sets the spaces required.
2276
2276
  */
2277
2277
  spacesRequired?: number;
2278
+ /**
2279
+ * Gets or sets a value indicating whether gets or sets the converted.
2280
+ */
2281
+ converted?: boolean;
2278
2282
  slot?: Slot;
2279
2283
  scheduledSession?: ScheduledSession;
2280
2284
  course?: Course;
@@ -2472,6 +2476,10 @@ type WaitlistActivity = {
2472
2476
  * Gets or sets the email.
2473
2477
  */
2474
2478
  email?: string | null;
2479
+ /**
2480
+ * Gets or sets a value indicating whether gets or sets the converted.
2481
+ */
2482
+ converted?: boolean;
2475
2483
  session?: Session;
2476
2484
  course?: Course;
2477
2485
  };
@@ -4289,6 +4297,14 @@ type Order = {
4289
4297
  * Gets or sets the total payment due for the order.
4290
4298
  */
4291
4299
  totalPaymentTax: number;
4300
+ /**
4301
+ * Gets or sets the application fee.
4302
+ */
4303
+ applicationFee?: number | null;
4304
+ /**
4305
+ * Gets or sets the stripe fee.
4306
+ */
4307
+ stripeFee?: number | null;
4292
4308
  /**
4293
4309
  * Gets or sets the provided customer order reference.
4294
4310
  */
@@ -8930,6 +8946,18 @@ declare class EmailSettingsService {
8930
8946
  }): CancelablePromise<boolean>;
8931
8947
  }
8932
8948
 
8949
+ declare class EnglandGolfReportService {
8950
+ readonly httpRequest: BaseHttpRequest;
8951
+ constructor(httpRequest: BaseHttpRequest);
8952
+ /**
8953
+ * Exports the venues list to a csv format.
8954
+ * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
8955
+ * @returns any Success
8956
+ * @throws ApiError
8957
+ */
8958
+ sendCsvToEmail(): CancelablePromise<any>;
8959
+ }
8960
+
8933
8961
  type FacilityPage = {
8934
8962
  pagination: Pagination;
8935
8963
  readonly items: Array<Facility>;
@@ -10690,6 +10718,50 @@ declare class GenericActivityService {
10690
10718
  }): CancelablePromise<boolean>;
10691
10719
  }
10692
10720
 
10721
+ /**
10722
+ * PlaceResult.
10723
+ */
10724
+ type AddressComponent = {
10725
+ /**
10726
+ * Gets or sets long name.
10727
+ */
10728
+ long_name?: string | null;
10729
+ /**
10730
+ * Gets or sets short name.
10731
+ */
10732
+ short_name?: string | null;
10733
+ /**
10734
+ * Gets or sets types.
10735
+ */
10736
+ types?: Array<string> | null;
10737
+ };
10738
+
10739
+ /**
10740
+ * PlaceResult.
10741
+ */
10742
+ type PlaceAddress = {
10743
+ /**
10744
+ * Gets or sets the name.
10745
+ */
10746
+ name?: string | null;
10747
+ /**
10748
+ * Gets or sets the street address.
10749
+ */
10750
+ street_address?: string | null;
10751
+ /**
10752
+ * Gets or sets the address locality.
10753
+ */
10754
+ address_locality?: string | null;
10755
+ /**
10756
+ * Gets or sets the address region.
10757
+ */
10758
+ address_region?: string | null;
10759
+ /**
10760
+ * Gets or sets the address postal code.
10761
+ */
10762
+ address_postalcode?: string | null;
10763
+ };
10764
+
10693
10765
  /**
10694
10766
  * PlaceLocation.
10695
10767
  */
@@ -10753,6 +10825,11 @@ type PlaceGeometry = {
10753
10825
  */
10754
10826
  type PlaceResult = {
10755
10827
  geometry?: PlaceGeometry;
10828
+ place_address?: PlaceAddress;
10829
+ /**
10830
+ * Gets or sets the address components.
10831
+ */
10832
+ address_components?: Array<AddressComponent> | null;
10756
10833
  /**
10757
10834
  * Gets or sets formatted_address.
10758
10835
  */
@@ -11423,6 +11500,36 @@ declare class ImagesService {
11423
11500
  }): CancelablePromise<boolean>;
11424
11501
  }
11425
11502
 
11503
+ /**
11504
+ * Post model for the items contained in the order.
11505
+ */
11506
+ type OrderPatchItem = {
11507
+ /**
11508
+ * Gets or sets the slot id.
11509
+ */
11510
+ id?: string | null;
11511
+ /**
11512
+ * Gets or sets the slot id.
11513
+ */
11514
+ slotId?: string | null;
11515
+ /**
11516
+ * Gets or sets the scheduled session id.
11517
+ */
11518
+ scheduledSessionId?: string | null;
11519
+ /**
11520
+ * Gets or sets the course id.
11521
+ */
11522
+ courseId?: string | null;
11523
+ /**
11524
+ * Gets or sets the offer id.
11525
+ */
11526
+ offerId: string;
11527
+ /**
11528
+ * Gets or sets the quantity of opportunities required on the order item.
11529
+ */
11530
+ quantity?: number | null;
11531
+ };
11532
+
11426
11533
  /**
11427
11534
  * Refresh model for order refreshesnpm .
11428
11535
  */
@@ -11466,7 +11573,7 @@ type OrderRefresh = {
11466
11573
  /**
11467
11574
  * Gets or sets the order items for the order.
11468
11575
  */
11469
- orderItems: Array<OrderPostItem>;
11576
+ orderItems: Array<OrderPatchItem>;
11470
11577
  };
11471
11578
 
11472
11579
  declare class LeasingService {
@@ -38064,6 +38171,7 @@ declare class ApiClient {
38064
38171
  readonly customers: CustomersService;
38065
38172
  readonly emailReminderSchedules: EmailReminderSchedulesService;
38066
38173
  readonly emailSettings: EmailSettingsService;
38174
+ readonly englandGolfReport: EnglandGolfReportService;
38067
38175
  readonly facilities: FacilitiesService;
38068
38176
  readonly facilityIndividuals: FacilityIndividualsService;
38069
38177
  readonly filestack: FilestackService;
@@ -38267,4 +38375,4 @@ type ValidationResultModel = {
38267
38375
  readonly errors?: Array<ValidationError> | null;
38268
38376
  };
38269
38377
 
38270
- export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateVenue, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderEmailCustomerPatch, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicGenericActivityService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundStatus, RescheduleLog, RescheduleLogPage, RescheduleLogPatch, RescheduleLogPost, RescheduleLogService, ScheduleStatus, ScheduledSession, ScheduledSessionEmailAttendeesPatch, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionReschedulePatch, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPatchOption, SurveyQuestionPost, SurveyQuestionPostOption, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmit, SurveySubmitAttendee, SurveySubmitQuestions, SurveyType, SurveysService, Tax, Template, TemplateCreate, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantTier, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
38378
+ export { Activity, ActivityService, ActivityType, AddressComponent, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateVenue, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, EnglandGolfReportService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderEmailCustomerPatch, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPatchItem, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceAddress, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicGenericActivityService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundStatus, RescheduleLog, RescheduleLogPage, RescheduleLogPatch, RescheduleLogPost, RescheduleLogService, ScheduleStatus, ScheduledSession, ScheduledSessionEmailAttendeesPatch, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionReschedulePatch, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPatchOption, SurveyQuestionPost, SurveyQuestionPostOption, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmit, SurveySubmitAttendee, SurveySubmitQuestions, SurveyType, SurveysService, Tax, Template, TemplateCreate, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantTier, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
package/dist/reach-sdk.js CHANGED
@@ -4679,6 +4679,27 @@ const request = (config, options, axiosClient = axios) => {
4679
4679
  }
4680
4680
  });
4681
4681
  }
4682
+ }class EnglandGolfReportService {
4683
+ constructor(httpRequest) {
4684
+ this.httpRequest = httpRequest;
4685
+ }
4686
+ /**
4687
+ * Exports the venues list to a csv format.
4688
+ * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
4689
+ * @returns any Success
4690
+ * @throws ApiError
4691
+ */
4692
+ sendCsvToEmail() {
4693
+ return this.httpRequest.request({
4694
+ method: "POST",
4695
+ url: "/api/reports/england-golf/send-email",
4696
+ errors: {
4697
+ 400: `Bad Request`,
4698
+ 422: `Client Error`,
4699
+ 500: `Server Error`
4700
+ }
4701
+ });
4702
+ }
4682
4703
  }class FacilitiesService {
4683
4704
  constructor(httpRequest) {
4684
4705
  this.httpRequest = httpRequest;
@@ -29115,6 +29136,7 @@ const request = (config, options, axiosClient = axios) => {
29115
29136
  customers;
29116
29137
  emailReminderSchedules;
29117
29138
  emailSettings;
29139
+ englandGolfReport;
29118
29140
  facilities;
29119
29141
  facilityIndividuals;
29120
29142
  filestack;
@@ -29214,6 +29236,7 @@ const request = (config, options, axiosClient = axios) => {
29214
29236
  this.customers = new CustomersService(this.request);
29215
29237
  this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
29216
29238
  this.emailSettings = new EmailSettingsService(this.request);
29239
+ this.englandGolfReport = new EnglandGolfReportService(this.request);
29217
29240
  this.facilities = new FacilitiesService(this.request);
29218
29241
  this.facilityIndividuals = new FacilityIndividualsService(this.request);
29219
29242
  this.filestack = new FilestackService(this.request);
@@ -29599,4 +29622,4 @@ const request = (config, options, axiosClient = axios) => {
29599
29622
  TenantTier2["ENTERPRISE"] = "Enterprise";
29600
29623
  TenantTier2["PRO"] = "Pro";
29601
29624
  return TenantTier2;
29602
- })(TenantTier || {});export{ActivityService,ActivityType,AdvanceBooking,AmenityService,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,ChatService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,EmailReminderSchedulesService,EmailSettingsService,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FilestackService,Gender,GenericActivityService,GeocodeService,HereAutocompleteLookupService,HttpStatusCode,ImagesService,InviteStatus,LeasingService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityType,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,Prepayment,ProgrammesService,PublicBookingService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundStatus,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountService,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UsersService,VenueManagersService,VenuesReportService,VenuesService,WaitlistActivityService,WaitlistOpportunityService};
29625
+ })(TenantTier || {});export{ActivityService,ActivityType,AdvanceBooking,AmenityService,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,ChatService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,EmailReminderSchedulesService,EmailSettingsService,EnglandGolfReportService,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FilestackService,Gender,GenericActivityService,GeocodeService,HereAutocompleteLookupService,HttpStatusCode,ImagesService,InviteStatus,LeasingService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityType,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,Prepayment,ProgrammesService,PublicBookingService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundStatus,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountService,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UsersService,VenueManagersService,VenuesReportService,VenuesService,WaitlistActivityService,WaitlistOpportunityService};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/apiClient.ts CHANGED
@@ -19,6 +19,7 @@ import { CourseSessionSchedulesService } from './services/CourseSessionSchedules
19
19
  import { CustomersService } from './services/CustomersService';
20
20
  import { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
21
21
  import { EmailSettingsService } from './services/EmailSettingsService';
22
+ import { EnglandGolfReportService } from './services/EnglandGolfReportService';
22
23
  import { FacilitiesService } from './services/FacilitiesService';
23
24
  import { FacilityIndividualsService } from './services/FacilityIndividualsService';
24
25
  import { FilestackService } from './services/FilestackService';
@@ -109,6 +110,7 @@ export class ApiClient {
109
110
  public readonly customers: CustomersService;
110
111
  public readonly emailReminderSchedules: EmailReminderSchedulesService;
111
112
  public readonly emailSettings: EmailSettingsService;
113
+ public readonly englandGolfReport: EnglandGolfReportService;
112
114
  public readonly facilities: FacilitiesService;
113
115
  public readonly facilityIndividuals: FacilityIndividualsService;
114
116
  public readonly filestack: FilestackService;
@@ -214,6 +216,7 @@ export class ApiClient {
214
216
  this.customers = new CustomersService(this.request);
215
217
  this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
216
218
  this.emailSettings = new EmailSettingsService(this.request);
219
+ this.englandGolfReport = new EnglandGolfReportService(this.request);
217
220
  this.facilities = new FacilitiesService(this.request);
218
221
  this.facilityIndividuals = new FacilityIndividualsService(this.request);
219
222
  this.filestack = new FilestackService(this.request);
@@ -12952,6 +12952,52 @@ paths:
12952
12952
  text/json:
12953
12953
  schema:
12954
12954
  $ref: '#/components/schemas/ValidationResultModel'
12955
+ /api/reports/england-golf/send-email:
12956
+ post:
12957
+ tags:
12958
+ - EnglandGolfReport
12959
+ summary: Exports the venues list to a csv format.
12960
+ description: 'Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.'
12961
+ operationId: SendCsvToEmail
12962
+ responses:
12963
+ '200':
12964
+ description: Success
12965
+ '400':
12966
+ description: Bad Request
12967
+ content:
12968
+ text/plain:
12969
+ schema:
12970
+ $ref: '#/components/schemas/ReachError'
12971
+ application/json:
12972
+ schema:
12973
+ $ref: '#/components/schemas/ReachError'
12974
+ text/json:
12975
+ schema:
12976
+ $ref: '#/components/schemas/ReachError'
12977
+ '500':
12978
+ description: Server Error
12979
+ content:
12980
+ text/plain:
12981
+ schema:
12982
+ $ref: '#/components/schemas/ReachError'
12983
+ application/json:
12984
+ schema:
12985
+ $ref: '#/components/schemas/ReachError'
12986
+ text/json:
12987
+ schema:
12988
+ $ref: '#/components/schemas/ReachError'
12989
+ '422':
12990
+ description: Client Error
12991
+ content:
12992
+ text/plain:
12993
+ schema:
12994
+ $ref: '#/components/schemas/ValidationResultModel'
12995
+ application/json:
12996
+ schema:
12997
+ $ref: '#/components/schemas/ValidationResultModel'
12998
+ text/json:
12999
+ schema:
13000
+ $ref: '#/components/schemas/ValidationResultModel'
12955
13001
  '/api/facilities/{facilityId}/take-offline':
12956
13002
  patch:
12957
13003
  tags:
@@ -85622,6 +85668,25 @@ components:
85622
85668
  - Course
85623
85669
  type: string
85624
85670
  description: The activity type.
85671
+ AddressComponent:
85672
+ type: object
85673
+ properties:
85674
+ long_name:
85675
+ type: string
85676
+ description: Gets or sets long name.
85677
+ nullable: true
85678
+ short_name:
85679
+ type: string
85680
+ description: Gets or sets short name.
85681
+ nullable: true
85682
+ types:
85683
+ type: array
85684
+ items:
85685
+ type: string
85686
+ description: Gets or sets types.
85687
+ nullable: true
85688
+ additionalProperties: false
85689
+ description: PlaceResult.
85625
85690
  AdvanceBooking:
85626
85691
  enum:
85627
85692
  - Required
@@ -89737,6 +89802,16 @@ components:
89737
89802
  type: number
89738
89803
  description: Gets or sets the total payment due for the order.
89739
89804
  format: double
89805
+ applicationFee:
89806
+ type: number
89807
+ description: Gets or sets the application fee.
89808
+ format: double
89809
+ nullable: true
89810
+ stripeFee:
89811
+ type: number
89812
+ description: Gets or sets the stripe fee.
89813
+ format: double
89814
+ nullable: true
89740
89815
  currency:
89741
89816
  minLength: 1
89742
89817
  type: string
@@ -90058,6 +90133,42 @@ components:
90058
90133
  format: uuid
90059
90134
  additionalProperties: false
90060
90135
  description: Post model for order updates.
90136
+ OrderPatchItem:
90137
+ required:
90138
+ - offerId
90139
+ type: object
90140
+ properties:
90141
+ id:
90142
+ type: string
90143
+ description: Gets or sets the slot id.
90144
+ format: uuid
90145
+ nullable: true
90146
+ slotId:
90147
+ type: string
90148
+ description: Gets or sets the slot id.
90149
+ format: uuid
90150
+ nullable: true
90151
+ scheduledSessionId:
90152
+ type: string
90153
+ description: Gets or sets the scheduled session id.
90154
+ format: uuid
90155
+ nullable: true
90156
+ courseId:
90157
+ type: string
90158
+ description: Gets or sets the course id.
90159
+ format: uuid
90160
+ nullable: true
90161
+ offerId:
90162
+ type: string
90163
+ description: Gets or sets the offer id.
90164
+ format: uuid
90165
+ quantity:
90166
+ type: integer
90167
+ description: Gets or sets the quantity of opportunities required on the order item.
90168
+ format: int32
90169
+ nullable: true
90170
+ additionalProperties: false
90171
+ description: Post model for the items contained in the order.
90061
90172
  OrderPost:
90062
90173
  required:
90063
90174
  - email
@@ -90216,7 +90327,7 @@ components:
90216
90327
  orderItems:
90217
90328
  type: array
90218
90329
  items:
90219
- $ref: '#/components/schemas/OrderPostItem'
90330
+ $ref: '#/components/schemas/OrderPatchItem'
90220
90331
  description: Gets or sets the order items for the order.
90221
90332
  additionalProperties: false
90222
90333
  description: Refresh model for order refreshesnpm .
@@ -90841,6 +90952,31 @@ components:
90841
90952
  format: uuid
90842
90953
  additionalProperties: false
90843
90954
  description: Post model for permission inserts.
90955
+ PlaceAddress:
90956
+ type: object
90957
+ properties:
90958
+ name:
90959
+ type: string
90960
+ description: Gets or sets the name.
90961
+ nullable: true
90962
+ street_address:
90963
+ type: string
90964
+ description: Gets or sets the street address.
90965
+ nullable: true
90966
+ address_locality:
90967
+ type: string
90968
+ description: Gets or sets the address locality.
90969
+ nullable: true
90970
+ address_region:
90971
+ type: string
90972
+ description: Gets or sets the address region.
90973
+ nullable: true
90974
+ address_postalcode:
90975
+ type: string
90976
+ description: Gets or sets the address postal code.
90977
+ nullable: true
90978
+ additionalProperties: false
90979
+ description: PlaceResult.
90844
90980
  PlaceDetailsResponseModel:
90845
90981
  type: object
90846
90982
  properties:
@@ -90875,6 +91011,14 @@ components:
90875
91011
  properties:
90876
91012
  geometry:
90877
91013
  $ref: '#/components/schemas/PlaceGeometry'
91014
+ place_address:
91015
+ $ref: '#/components/schemas/PlaceAddress'
91016
+ address_components:
91017
+ type: array
91018
+ items:
91019
+ $ref: '#/components/schemas/AddressComponent'
91020
+ description: Gets or sets the address components.
91021
+ nullable: true
90878
91022
  formatted_address:
90879
91023
  type: string
90880
91024
  description: Gets or sets formatted_address.
@@ -96716,6 +96860,10 @@ components:
96716
96860
  type: string
96717
96861
  description: Gets or sets the email.
96718
96862
  nullable: true
96863
+ converted:
96864
+ type: boolean
96865
+ description: Gets or sets a value indicating whether gets or sets the converted.
96866
+ default: false
96719
96867
  session:
96720
96868
  $ref: '#/components/schemas/Session'
96721
96869
  course:
@@ -96828,6 +96976,10 @@ components:
96828
96976
  description: Gets or sets the spaces required.
96829
96977
  format: int32
96830
96978
  default: 0
96979
+ converted:
96980
+ type: boolean
96981
+ description: Gets or sets a value indicating whether gets or sets the converted.
96982
+ default: false
96831
96983
  slot:
96832
96984
  $ref: '#/components/schemas/Slot'
96833
96985
  scheduledSession:
package/src/index.ts CHANGED
@@ -12,6 +12,7 @@ export type { OpenAPIConfig } from './core/OpenAPI';
12
12
 
13
13
  export type { Activity } from './models/Activity';
14
14
  export { ActivityType } from './models/ActivityType';
15
+ export type { AddressComponent } from './models/AddressComponent';
15
16
  export { AdvanceBooking } from './models/AdvanceBooking';
16
17
  export type { Amenity } from './models/Amenity';
17
18
  export { ApplicationRole } from './models/ApplicationRole';
@@ -135,6 +136,7 @@ export type { OrderItemPost } from './models/OrderItemPost';
135
136
  export { OrderItemStatus } from './models/OrderItemStatus';
136
137
  export type { OrderPage } from './models/OrderPage';
137
138
  export type { OrderPatch } from './models/OrderPatch';
139
+ export type { OrderPatchItem } from './models/OrderPatchItem';
138
140
  export type { OrderPost } from './models/OrderPost';
139
141
  export type { OrderPostItem } from './models/OrderPostItem';
140
142
  export type { OrderRefresh } from './models/OrderRefresh';
@@ -165,6 +167,7 @@ export type { Permission } from './models/Permission';
165
167
  export type { PermissionPage } from './models/PermissionPage';
166
168
  export type { PermissionPatch } from './models/PermissionPatch';
167
169
  export type { PermissionPost } from './models/PermissionPost';
170
+ export type { PlaceAddress } from './models/PlaceAddress';
168
171
  export type { PlaceDetailsResponseModel } from './models/PlaceDetailsResponseModel';
169
172
  export type { PlaceGeometry } from './models/PlaceGeometry';
170
173
  export type { PlaceLocation } from './models/PlaceLocation';
@@ -346,6 +349,7 @@ export { CourseSessionSchedulesService } from './services/CourseSessionSchedules
346
349
  export { CustomersService } from './services/CustomersService';
347
350
  export { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
348
351
  export { EmailSettingsService } from './services/EmailSettingsService';
352
+ export { EnglandGolfReportService } from './services/EnglandGolfReportService';
349
353
  export { FacilitiesService } from './services/FacilitiesService';
350
354
  export { FacilityIndividualsService } from './services/FacilityIndividualsService';
351
355
  export { FilestackService } from './services/FilestackService';
@@ -0,0 +1,22 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * PlaceResult.
8
+ */
9
+ export type AddressComponent = {
10
+ /**
11
+ * Gets or sets long name.
12
+ */
13
+ long_name?: string | null;
14
+ /**
15
+ * Gets or sets short name.
16
+ */
17
+ short_name?: string | null;
18
+ /**
19
+ * Gets or sets types.
20
+ */
21
+ types?: Array<string> | null;
22
+ };
@@ -119,6 +119,14 @@ export type Order = {
119
119
  * Gets or sets the total payment due for the order.
120
120
  */
121
121
  totalPaymentTax: number;
122
+ /**
123
+ * Gets or sets the application fee.
124
+ */
125
+ applicationFee?: number | null;
126
+ /**
127
+ * Gets or sets the stripe fee.
128
+ */
129
+ stripeFee?: number | null;
122
130
  /**
123
131
  * Gets or sets the provided customer order reference.
124
132
  */
@@ -0,0 +1,34 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * Post model for the items contained in the order.
8
+ */
9
+ export type OrderPatchItem = {
10
+ /**
11
+ * Gets or sets the slot id.
12
+ */
13
+ id?: string | null;
14
+ /**
15
+ * Gets or sets the slot id.
16
+ */
17
+ slotId?: string | null;
18
+ /**
19
+ * Gets or sets the scheduled session id.
20
+ */
21
+ scheduledSessionId?: string | null;
22
+ /**
23
+ * Gets or sets the course id.
24
+ */
25
+ courseId?: string | null;
26
+ /**
27
+ * Gets or sets the offer id.
28
+ */
29
+ offerId: string;
30
+ /**
31
+ * Gets or sets the quantity of opportunities required on the order item.
32
+ */
33
+ quantity?: number | null;
34
+ };
@@ -3,7 +3,7 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
- import type { OrderPostItem } from './OrderPostItem';
6
+ import type { OrderPatchItem } from './OrderPatchItem';
7
7
 
8
8
  /**
9
9
  * Refresh model for order refreshesnpm .
@@ -48,5 +48,5 @@ export type OrderRefresh = {
48
48
  /**
49
49
  * Gets or sets the order items for the order.
50
50
  */
51
- orderItems: Array<OrderPostItem>;
51
+ orderItems: Array<OrderPatchItem>;
52
52
  };
@@ -0,0 +1,30 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+
6
+ /**
7
+ * PlaceResult.
8
+ */
9
+ export type PlaceAddress = {
10
+ /**
11
+ * Gets or sets the name.
12
+ */
13
+ name?: string | null;
14
+ /**
15
+ * Gets or sets the street address.
16
+ */
17
+ street_address?: string | null;
18
+ /**
19
+ * Gets or sets the address locality.
20
+ */
21
+ address_locality?: string | null;
22
+ /**
23
+ * Gets or sets the address region.
24
+ */
25
+ address_region?: string | null;
26
+ /**
27
+ * Gets or sets the address postal code.
28
+ */
29
+ address_postalcode?: string | null;
30
+ };
@@ -3,6 +3,8 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
+ import type { AddressComponent } from './AddressComponent';
7
+ import type { PlaceAddress } from './PlaceAddress';
6
8
  import type { PlaceGeometry } from './PlaceGeometry';
7
9
 
8
10
  /**
@@ -10,6 +12,11 @@ import type { PlaceGeometry } from './PlaceGeometry';
10
12
  */
11
13
  export type PlaceResult = {
12
14
  geometry?: PlaceGeometry;
15
+ place_address?: PlaceAddress;
16
+ /**
17
+ * Gets or sets the address components.
18
+ */
19
+ address_components?: Array<AddressComponent> | null;
13
20
  /**
14
21
  * Gets or sets formatted_address.
15
22
  */
@@ -54,6 +54,10 @@ export type WaitlistActivity = {
54
54
  * Gets or sets the email.
55
55
  */
56
56
  email?: string | null;
57
+ /**
58
+ * Gets or sets a value indicating whether gets or sets the converted.
59
+ */
60
+ converted?: boolean;
57
61
  session?: Session;
58
62
  course?: Course;
59
63
  };
@@ -63,6 +63,10 @@ export type WaitlistOpportunity = {
63
63
  * Gets or sets the spaces required.
64
64
  */
65
65
  spacesRequired?: number;
66
+ /**
67
+ * Gets or sets a value indicating whether gets or sets the converted.
68
+ */
69
+ converted?: boolean;
66
70
  slot?: Slot;
67
71
  scheduledSession?: ScheduledSession;
68
72
  course?: Course;
@@ -0,0 +1,28 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
7
+
8
+ export class EnglandGolfReportService {
9
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
10
+
11
+ /**
12
+ * Exports the venues list to a csv format.
13
+ * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
14
+ * @returns any Success
15
+ * @throws ApiError
16
+ */
17
+ public sendCsvToEmail(): CancelablePromise<any> {
18
+ return this.httpRequest.request({
19
+ method: 'POST',
20
+ url: '/api/reports/england-golf/send-email',
21
+ errors: {
22
+ 400: `Bad Request`,
23
+ 422: `Client Error`,
24
+ 500: `Server Error`,
25
+ },
26
+ });
27
+ }
28
+ }