reach-api-sdk 1.0.169 → 1.0.170
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/dist/reach-sdk.d.ts +92 -1
- package/dist/reach-sdk.js +69 -1
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +215 -0
- package/src/index.ts +2 -0
- package/src/models/Provider.ts +6 -0
- package/src/models/ProviderType.ts +18 -0
- package/src/models/TenantSetting.ts +4 -0
- package/src/services/ProviderTypesService.ts +127 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -24887,6 +24887,20 @@ declare class ProgrammesService {
|
|
|
24887
24887
|
}): CancelablePromise<Array<Programme>>;
|
|
24888
24888
|
}
|
|
24889
24889
|
|
|
24890
|
+
/**
|
|
24891
|
+
* Represents a provider type category within the Reach application.
|
|
24892
|
+
*/
|
|
24893
|
+
type ProviderType = {
|
|
24894
|
+
/**
|
|
24895
|
+
* Gets or sets the activities Id.
|
|
24896
|
+
*/
|
|
24897
|
+
id?: number;
|
|
24898
|
+
/**
|
|
24899
|
+
* Gets or sets the activities Name.
|
|
24900
|
+
*/
|
|
24901
|
+
name?: string | null;
|
|
24902
|
+
};
|
|
24903
|
+
|
|
24890
24904
|
/**
|
|
24891
24905
|
* Represents a Provider within the Reach application.
|
|
24892
24906
|
*/
|
|
@@ -24915,6 +24929,10 @@ type Provider = {
|
|
|
24915
24929
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
24916
24930
|
*/
|
|
24917
24931
|
isLive: boolean;
|
|
24932
|
+
/**
|
|
24933
|
+
* Gets or sets the providers type id.
|
|
24934
|
+
*/
|
|
24935
|
+
providerTypeId?: number | null;
|
|
24918
24936
|
/**
|
|
24919
24937
|
* Gets or sets the stripe account for the provider.
|
|
24920
24938
|
*/
|
|
@@ -25019,6 +25037,7 @@ type Provider = {
|
|
|
25019
25037
|
* Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
|
|
25020
25038
|
*/
|
|
25021
25039
|
archived?: boolean | null;
|
|
25040
|
+
providerType?: ProviderType;
|
|
25022
25041
|
/**
|
|
25023
25042
|
* Gets or sets the storefront url.
|
|
25024
25043
|
*/
|
|
@@ -25926,6 +25945,73 @@ declare class ProvidersService {
|
|
|
25926
25945
|
}): CancelablePromise<Array<Provider>>;
|
|
25927
25946
|
}
|
|
25928
25947
|
|
|
25948
|
+
declare class ProviderTypesService {
|
|
25949
|
+
readonly httpRequest: BaseHttpRequest;
|
|
25950
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
25951
|
+
/**
|
|
25952
|
+
* Gets a Reach.Models.ProviderType by its Id.
|
|
25953
|
+
* @returns ProviderType Success
|
|
25954
|
+
* @throws ApiError
|
|
25955
|
+
*/
|
|
25956
|
+
getObject({ id, }: {
|
|
25957
|
+
/**
|
|
25958
|
+
* The Reach.Models.ProviderType id.
|
|
25959
|
+
*/
|
|
25960
|
+
id: number;
|
|
25961
|
+
}): CancelablePromise<ProviderType>;
|
|
25962
|
+
/**
|
|
25963
|
+
* Gets a list of Reach.Models.ProviderType.
|
|
25964
|
+
* @returns ProviderType Success
|
|
25965
|
+
* @throws ApiError
|
|
25966
|
+
*/
|
|
25967
|
+
getList({ pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
25968
|
+
/**
|
|
25969
|
+
* Gets or sets the page number for paged queries.
|
|
25970
|
+
*/
|
|
25971
|
+
pageNumber?: number;
|
|
25972
|
+
/**
|
|
25973
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
25974
|
+
*/
|
|
25975
|
+
take?: number;
|
|
25976
|
+
/**
|
|
25977
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
25978
|
+
*/
|
|
25979
|
+
skip?: number;
|
|
25980
|
+
/**
|
|
25981
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
25982
|
+
*/
|
|
25983
|
+
limitListRequests?: boolean;
|
|
25984
|
+
/**
|
|
25985
|
+
* Gets or sets the Tenant Id.
|
|
25986
|
+
*/
|
|
25987
|
+
tenantId?: string;
|
|
25988
|
+
/**
|
|
25989
|
+
* Gets or sets the Modifed By Id.
|
|
25990
|
+
*/
|
|
25991
|
+
modifiedById?: string;
|
|
25992
|
+
/**
|
|
25993
|
+
* Gets or sets the Modifed By Ids.
|
|
25994
|
+
*/
|
|
25995
|
+
modifiedByIds?: Array<string>;
|
|
25996
|
+
/**
|
|
25997
|
+
* Gets or sets the Date Created greater than equal to.
|
|
25998
|
+
*/
|
|
25999
|
+
dateCreatedGte?: string;
|
|
26000
|
+
/**
|
|
26001
|
+
* Gets or sets the Date Created less than equal to.
|
|
26002
|
+
*/
|
|
26003
|
+
dateCreatedLte?: string;
|
|
26004
|
+
/**
|
|
26005
|
+
* Gets or sets the queryable only is live status.
|
|
26006
|
+
*/
|
|
26007
|
+
isLive?: boolean;
|
|
26008
|
+
/**
|
|
26009
|
+
* Gets or sets the sort order direction.
|
|
26010
|
+
*/
|
|
26011
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
26012
|
+
}): CancelablePromise<Array<ProviderType>>;
|
|
26013
|
+
}
|
|
26014
|
+
|
|
25929
26015
|
declare class PublicBookingService {
|
|
25930
26016
|
readonly httpRequest: BaseHttpRequest;
|
|
25931
26017
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -46056,6 +46142,10 @@ type TenantSetting = {
|
|
|
46056
46142
|
* Gets or sets a value indicating whether payment policies are enabled for the tenant (only applicable to enterprise tenants).
|
|
46057
46143
|
*/
|
|
46058
46144
|
enablePaymentPolicies?: boolean;
|
|
46145
|
+
/**
|
|
46146
|
+
* Gets or sets a value indicating whether providers are enabled for the tenant (only applicable to enterprise tenants).
|
|
46147
|
+
*/
|
|
46148
|
+
enableProviders?: boolean;
|
|
46059
46149
|
/**
|
|
46060
46150
|
* Gets the next order number in the sequence.
|
|
46061
46151
|
*/
|
|
@@ -53733,6 +53823,7 @@ declare class ApiClient {
|
|
|
53733
53823
|
readonly platformPayouts: PlatformPayoutsService;
|
|
53734
53824
|
readonly programmes: ProgrammesService;
|
|
53735
53825
|
readonly providers: ProvidersService;
|
|
53826
|
+
readonly providerTypes: ProviderTypesService;
|
|
53736
53827
|
readonly publicBooking: PublicBookingService;
|
|
53737
53828
|
readonly publicCourses: PublicCoursesService;
|
|
53738
53829
|
readonly publicCustomers: PublicCustomersService;
|
|
@@ -53928,4 +54019,4 @@ type ValidationResultModel = {
|
|
|
53928
54019
|
readonly errors?: Array<ValidationError> | null;
|
|
53929
54020
|
};
|
|
53930
54021
|
|
|
53931
|
-
export { Activity, ActivityPerformance, ActivityPerformancePage, ActivityPerformancePatch, ActivityPerformancePost, ActivityPerformanceService, ActivityService, ActivityType, AddressComponent, AdvanceBooking, Amenity, AmenityService, AmenityType, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, AvailabilityIndicator, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, CancellationPoliciesService, CancellationPolicy, CancellationPolicyPage, CancellationPolicyPatch, CancellationPolicyPost, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CourseEmailAttendeesPatch, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionReschedulePatch, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateDeal, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateTemplateFieldPermission, CreateVenue, CustomDateRange, CustomDateRangeOption, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, Deal, DealActivitiesService, DealActivity, DealActivityPage, DealActivityPatch, DealActivityPost, DealCreate, DealDiscountType, DealPage, DealPatch, DealPost, DealTarget, DealType, DealsService, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, EnglandGolfReportService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FieldPermission, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HelpersService, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImageLibraryCategory, ImageLibraryCategoryService, ImageLibraryImage, ImageLibraryImageService, ImagePage, ImagePatch, ImagePost, ImageUploadHistory, ImageUploadHistoryPage, ImageUploadHistoryPatch, ImageUploadHistoryPost, ImageUploadHistoryService, ImagesService, InviteStatus, LeasingService, LocationReport, LocationReportPage, LocationReportPatch, LocationReportPost, LocationReportSummary, LocationsReportService, 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, OpportunityRegisterStatus, OpportunityType, Order, OrderDeal, OrderEmailCustomerPatch, OrderItem, OrderItemDeal, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemReport, OrderItemReportPage, OrderItemReportPatch, OrderItemReportPost, OrderItemReportService, 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, PaymentPoliciesService, PaymentPolicy, PaymentPolicyPage, PaymentPolicyPatch, PaymentPolicyPost, PaymentPolicySplitType, PaymentPost, PaymentsService, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceAddress, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlatformPayout, PlatformPayoutPage, PlatformPayoutPatch, PlatformPayoutPost, PlatformPayoutsService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, Provider, ProviderCreate, ProviderPage, ProviderPatch, ProviderPost, ProvidersService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicFilestackWebhookService, PublicGenericActivityService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOpportunityRegisterService, PublicOrderItemsService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicProvidersService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundSource, RefundStatus, RegisterReport, RegisterReportPage, RegisterReportPatch, RegisterReportPost, RegisterReportService, RegisterReportSummary, 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, StripeAccountLinkedEntityType, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StripeSetupRequirement, StripeStatus, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyDuplicatePost, 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, TemplateDeal, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFieldPermission, TemplateFieldPermissionPage, TemplateFieldPermissionPatch, TemplateFieldPermissionPost, TemplateFieldPermissionsService, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantSetting, TenantTier, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UnsplashSearchResponse, UnsplashService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPermission, UserPermissionPage, UserPermissionPatch, UserPermissionPost, UserPermissionsService, UserPost, UserProgramme, UserProgrammePage, UserProgrammePatch, UserProgrammePost, UserProgrammesService, UserProvider, UserProviderPage, UserProviderPatch, UserProviderPost, UserProvidersService, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePerformance, VenuePerformancePage, VenuePerformancePatch, VenuePerformancePost, VenuePerformanceService, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityReport, WaitlistActivityReportPage, WaitlistActivityReportPatch, WaitlistActivityReportPost, WaitlistActivityReportService, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityReport, WaitlistOpportunityReportPage, WaitlistOpportunityReportPatch, WaitlistOpportunityReportPost, WaitlistOpportunityReportService, WaitlistOpportunityService };
|
|
54022
|
+
export { Activity, ActivityPerformance, ActivityPerformancePage, ActivityPerformancePatch, ActivityPerformancePost, ActivityPerformanceService, ActivityService, ActivityType, AddressComponent, AdvanceBooking, Amenity, AmenityService, AmenityType, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, AvailabilityIndicator, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, CancellationPoliciesService, CancellationPolicy, CancellationPolicyPage, CancellationPolicyPatch, CancellationPolicyPost, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CourseEmailAttendeesPatch, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionReschedulePatch, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateDeal, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateTemplateFieldPermission, CreateVenue, CustomDateRange, CustomDateRangeOption, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, Deal, DealActivitiesService, DealActivity, DealActivityPage, DealActivityPatch, DealActivityPost, DealCreate, DealDiscountType, DealPage, DealPatch, DealPost, DealTarget, DealType, DealsService, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, EnglandGolfReportService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FieldPermission, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HelpersService, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImageLibraryCategory, ImageLibraryCategoryService, ImageLibraryImage, ImageLibraryImageService, ImagePage, ImagePatch, ImagePost, ImageUploadHistory, ImageUploadHistoryPage, ImageUploadHistoryPatch, ImageUploadHistoryPost, ImageUploadHistoryService, ImagesService, InviteStatus, LeasingService, LocationReport, LocationReportPage, LocationReportPatch, LocationReportPost, LocationReportSummary, LocationsReportService, 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, OpportunityRegisterStatus, OpportunityType, Order, OrderDeal, OrderEmailCustomerPatch, OrderItem, OrderItemDeal, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemReport, OrderItemReportPage, OrderItemReportPatch, OrderItemReportPost, OrderItemReportService, 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, PaymentPoliciesService, PaymentPolicy, PaymentPolicyPage, PaymentPolicyPatch, PaymentPolicyPost, PaymentPolicySplitType, PaymentPost, PaymentsService, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceAddress, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlatformPayout, PlatformPayoutPage, PlatformPayoutPatch, PlatformPayoutPost, PlatformPayoutsService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, Provider, ProviderCreate, ProviderPage, ProviderPatch, ProviderPost, ProviderType, ProviderTypesService, ProvidersService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicFilestackWebhookService, PublicGenericActivityService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOpportunityRegisterService, PublicOrderItemsService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicProvidersService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundSource, RefundStatus, RegisterReport, RegisterReportPage, RegisterReportPatch, RegisterReportPost, RegisterReportService, RegisterReportSummary, 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, StripeAccountLinkedEntityType, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StripeSetupRequirement, StripeStatus, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyDuplicatePost, 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, TemplateDeal, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFieldPermission, TemplateFieldPermissionPage, TemplateFieldPermissionPatch, TemplateFieldPermissionPost, TemplateFieldPermissionsService, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantSetting, TenantTier, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UnsplashSearchResponse, UnsplashService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPermission, UserPermissionPage, UserPermissionPatch, UserPermissionPost, UserPermissionsService, UserPost, UserProgramme, UserProgrammePage, UserProgrammePatch, UserProgrammePost, UserProgrammesService, UserProvider, UserProviderPage, UserProviderPatch, UserProviderPost, UserProvidersService, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePerformance, VenuePerformancePage, VenuePerformancePatch, VenuePerformancePost, VenuePerformanceService, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityReport, WaitlistActivityReportPage, WaitlistActivityReportPatch, WaitlistActivityReportPost, WaitlistActivityReportService, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityReport, WaitlistOpportunityReportPage, WaitlistOpportunityReportPatch, WaitlistOpportunityReportPost, WaitlistOpportunityReportService, WaitlistOpportunityService };
|
package/dist/reach-sdk.js
CHANGED
|
@@ -17169,6 +17169,72 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
17169
17169
|
}
|
|
17170
17170
|
});
|
|
17171
17171
|
}
|
|
17172
|
+
}class ProviderTypesService {
|
|
17173
|
+
constructor(httpRequest) {
|
|
17174
|
+
this.httpRequest = httpRequest;
|
|
17175
|
+
}
|
|
17176
|
+
/**
|
|
17177
|
+
* Gets a Reach.Models.ProviderType by its Id.
|
|
17178
|
+
* @returns ProviderType Success
|
|
17179
|
+
* @throws ApiError
|
|
17180
|
+
*/
|
|
17181
|
+
getObject({
|
|
17182
|
+
id
|
|
17183
|
+
}) {
|
|
17184
|
+
return this.httpRequest.request({
|
|
17185
|
+
method: "GET",
|
|
17186
|
+
url: "/api/provider-types/{id}",
|
|
17187
|
+
path: {
|
|
17188
|
+
id
|
|
17189
|
+
},
|
|
17190
|
+
errors: {
|
|
17191
|
+
400: `Bad Request`,
|
|
17192
|
+
422: `Client Error`,
|
|
17193
|
+
500: `Server Error`
|
|
17194
|
+
}
|
|
17195
|
+
});
|
|
17196
|
+
}
|
|
17197
|
+
/**
|
|
17198
|
+
* Gets a list of Reach.Models.ProviderType.
|
|
17199
|
+
* @returns ProviderType Success
|
|
17200
|
+
* @throws ApiError
|
|
17201
|
+
*/
|
|
17202
|
+
getList({
|
|
17203
|
+
pageNumber,
|
|
17204
|
+
take,
|
|
17205
|
+
skip,
|
|
17206
|
+
limitListRequests,
|
|
17207
|
+
tenantId,
|
|
17208
|
+
modifiedById,
|
|
17209
|
+
modifiedByIds,
|
|
17210
|
+
dateCreatedGte,
|
|
17211
|
+
dateCreatedLte,
|
|
17212
|
+
isLive,
|
|
17213
|
+
sortOrderDirection
|
|
17214
|
+
}) {
|
|
17215
|
+
return this.httpRequest.request({
|
|
17216
|
+
method: "GET",
|
|
17217
|
+
url: "/api/provider-types",
|
|
17218
|
+
query: {
|
|
17219
|
+
PageNumber: pageNumber,
|
|
17220
|
+
Take: take,
|
|
17221
|
+
Skip: skip,
|
|
17222
|
+
LimitListRequests: limitListRequests,
|
|
17223
|
+
TenantId: tenantId,
|
|
17224
|
+
ModifiedById: modifiedById,
|
|
17225
|
+
ModifiedByIds: modifiedByIds,
|
|
17226
|
+
DateCreatedGTE: dateCreatedGte,
|
|
17227
|
+
DateCreatedLTE: dateCreatedLte,
|
|
17228
|
+
IsLive: isLive,
|
|
17229
|
+
SortOrderDirection: sortOrderDirection
|
|
17230
|
+
},
|
|
17231
|
+
errors: {
|
|
17232
|
+
400: `Bad Request`,
|
|
17233
|
+
422: `Client Error`,
|
|
17234
|
+
500: `Server Error`
|
|
17235
|
+
}
|
|
17236
|
+
});
|
|
17237
|
+
}
|
|
17172
17238
|
}class PublicBookingService {
|
|
17173
17239
|
constructor(httpRequest) {
|
|
17174
17240
|
this.httpRequest = httpRequest;
|
|
@@ -40075,6 +40141,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
40075
40141
|
platformPayouts;
|
|
40076
40142
|
programmes;
|
|
40077
40143
|
providers;
|
|
40144
|
+
providerTypes;
|
|
40078
40145
|
publicBooking;
|
|
40079
40146
|
publicCourses;
|
|
40080
40147
|
publicCustomers;
|
|
@@ -40201,6 +40268,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
40201
40268
|
this.platformPayouts = new PlatformPayoutsService(this.request);
|
|
40202
40269
|
this.programmes = new ProgrammesService(this.request);
|
|
40203
40270
|
this.providers = new ProvidersService(this.request);
|
|
40271
|
+
this.providerTypes = new ProviderTypesService(this.request);
|
|
40204
40272
|
this.publicBooking = new PublicBookingService(this.request);
|
|
40205
40273
|
this.publicCourses = new PublicCoursesService(this.request);
|
|
40206
40274
|
this.publicCustomers = new PublicCustomersService(this.request);
|
|
@@ -40648,4 +40716,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
40648
40716
|
TenantTier2["ENTERPRISE"] = "Enterprise";
|
|
40649
40717
|
TenantTier2["PRO"] = "Pro";
|
|
40650
40718
|
return TenantTier2;
|
|
40651
|
-
})(TenantTier || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,EmailReminderSchedulesService,EmailSettingsService,EnglandGolfReportService,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProvidersService,PublicBookingService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|
|
40719
|
+
})(TenantTier || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,EmailReminderSchedulesService,EmailSettingsService,EnglandGolfReportService,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|
package/package.json
CHANGED
package/src/apiClient.ts
CHANGED
|
@@ -55,6 +55,7 @@ import { PlacesService } from './services/PlacesService';
|
|
|
55
55
|
import { PlatformPayoutsService } from './services/PlatformPayoutsService';
|
|
56
56
|
import { ProgrammesService } from './services/ProgrammesService';
|
|
57
57
|
import { ProvidersService } from './services/ProvidersService';
|
|
58
|
+
import { ProviderTypesService } from './services/ProviderTypesService';
|
|
58
59
|
import { PublicBookingService } from './services/PublicBookingService';
|
|
59
60
|
import { PublicCoursesService } from './services/PublicCoursesService';
|
|
60
61
|
import { PublicCustomersService } from './services/PublicCustomersService';
|
|
@@ -172,6 +173,7 @@ export class ApiClient {
|
|
|
172
173
|
public readonly platformPayouts: PlatformPayoutsService;
|
|
173
174
|
public readonly programmes: ProgrammesService;
|
|
174
175
|
public readonly providers: ProvidersService;
|
|
176
|
+
public readonly providerTypes: ProviderTypesService;
|
|
175
177
|
public readonly publicBooking: PublicBookingService;
|
|
176
178
|
public readonly publicCourses: PublicCoursesService;
|
|
177
179
|
public readonly publicCustomers: PublicCustomersService;
|
|
@@ -304,6 +306,7 @@ export class ApiClient {
|
|
|
304
306
|
this.platformPayouts = new PlatformPayoutsService(this.request);
|
|
305
307
|
this.programmes = new ProgrammesService(this.request);
|
|
306
308
|
this.providers = new ProvidersService(this.request);
|
|
309
|
+
this.providerTypes = new ProviderTypesService(this.request);
|
|
307
310
|
this.publicBooking = new PublicBookingService(this.request);
|
|
308
311
|
this.publicCourses = new PublicCoursesService(this.request);
|
|
309
312
|
this.publicCustomers = new PublicCustomersService(this.request);
|
|
@@ -50626,6 +50626,196 @@ paths:
|
|
|
50626
50626
|
text/json:
|
|
50627
50627
|
schema:
|
|
50628
50628
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
50629
|
+
'/api/provider-types/{id}':
|
|
50630
|
+
get:
|
|
50631
|
+
tags:
|
|
50632
|
+
- ProviderTypes
|
|
50633
|
+
summary: Gets a Reach.Models.ProviderType by its Id.
|
|
50634
|
+
operationId: GetObject
|
|
50635
|
+
parameters:
|
|
50636
|
+
- name: id
|
|
50637
|
+
in: path
|
|
50638
|
+
description: The Reach.Models.ProviderType id.
|
|
50639
|
+
required: true
|
|
50640
|
+
schema:
|
|
50641
|
+
type: integer
|
|
50642
|
+
format: int32
|
|
50643
|
+
responses:
|
|
50644
|
+
'200':
|
|
50645
|
+
description: Success
|
|
50646
|
+
content:
|
|
50647
|
+
text/plain:
|
|
50648
|
+
schema:
|
|
50649
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50650
|
+
application/json:
|
|
50651
|
+
schema:
|
|
50652
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50653
|
+
text/json:
|
|
50654
|
+
schema:
|
|
50655
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50656
|
+
'400':
|
|
50657
|
+
description: Bad Request
|
|
50658
|
+
content:
|
|
50659
|
+
text/plain:
|
|
50660
|
+
schema:
|
|
50661
|
+
$ref: '#/components/schemas/ReachError'
|
|
50662
|
+
application/json:
|
|
50663
|
+
schema:
|
|
50664
|
+
$ref: '#/components/schemas/ReachError'
|
|
50665
|
+
text/json:
|
|
50666
|
+
schema:
|
|
50667
|
+
$ref: '#/components/schemas/ReachError'
|
|
50668
|
+
'500':
|
|
50669
|
+
description: Server Error
|
|
50670
|
+
content:
|
|
50671
|
+
text/plain:
|
|
50672
|
+
schema:
|
|
50673
|
+
$ref: '#/components/schemas/ReachError'
|
|
50674
|
+
application/json:
|
|
50675
|
+
schema:
|
|
50676
|
+
$ref: '#/components/schemas/ReachError'
|
|
50677
|
+
text/json:
|
|
50678
|
+
schema:
|
|
50679
|
+
$ref: '#/components/schemas/ReachError'
|
|
50680
|
+
'422':
|
|
50681
|
+
description: Client Error
|
|
50682
|
+
content:
|
|
50683
|
+
text/plain:
|
|
50684
|
+
schema:
|
|
50685
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50686
|
+
application/json:
|
|
50687
|
+
schema:
|
|
50688
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50689
|
+
text/json:
|
|
50690
|
+
schema:
|
|
50691
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50692
|
+
/api/provider-types:
|
|
50693
|
+
get:
|
|
50694
|
+
tags:
|
|
50695
|
+
- ProviderTypes
|
|
50696
|
+
summary: Gets a list of Reach.Models.ProviderType.
|
|
50697
|
+
operationId: GetList
|
|
50698
|
+
parameters:
|
|
50699
|
+
- name: PageNumber
|
|
50700
|
+
in: query
|
|
50701
|
+
description: Gets or sets the page number for paged queries.
|
|
50702
|
+
schema:
|
|
50703
|
+
type: integer
|
|
50704
|
+
format: int32
|
|
50705
|
+
- name: Take
|
|
50706
|
+
in: query
|
|
50707
|
+
description: 'Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.'
|
|
50708
|
+
schema:
|
|
50709
|
+
type: integer
|
|
50710
|
+
format: int32
|
|
50711
|
+
- name: Skip
|
|
50712
|
+
in: query
|
|
50713
|
+
description: 'Gets or sets how much items to skip from begining of db table, when this is set page is always 1.'
|
|
50714
|
+
schema:
|
|
50715
|
+
type: integer
|
|
50716
|
+
format: int32
|
|
50717
|
+
- name: LimitListRequests
|
|
50718
|
+
in: query
|
|
50719
|
+
description: Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
50720
|
+
schema:
|
|
50721
|
+
type: boolean
|
|
50722
|
+
- name: TenantId
|
|
50723
|
+
in: query
|
|
50724
|
+
description: Gets or sets the Tenant Id.
|
|
50725
|
+
schema:
|
|
50726
|
+
type: string
|
|
50727
|
+
format: uuid
|
|
50728
|
+
- name: ModifiedById
|
|
50729
|
+
in: query
|
|
50730
|
+
description: Gets or sets the Modifed By Id.
|
|
50731
|
+
schema:
|
|
50732
|
+
type: string
|
|
50733
|
+
format: uuid
|
|
50734
|
+
- name: ModifiedByIds
|
|
50735
|
+
in: query
|
|
50736
|
+
description: Gets or sets the Modifed By Ids.
|
|
50737
|
+
schema:
|
|
50738
|
+
type: array
|
|
50739
|
+
items:
|
|
50740
|
+
type: string
|
|
50741
|
+
format: uuid
|
|
50742
|
+
- name: DateCreatedGTE
|
|
50743
|
+
in: query
|
|
50744
|
+
description: Gets or sets the Date Created greater than equal to.
|
|
50745
|
+
schema:
|
|
50746
|
+
type: string
|
|
50747
|
+
format: date-time
|
|
50748
|
+
- name: DateCreatedLTE
|
|
50749
|
+
in: query
|
|
50750
|
+
description: Gets or sets the Date Created less than equal to.
|
|
50751
|
+
schema:
|
|
50752
|
+
type: string
|
|
50753
|
+
format: date-time
|
|
50754
|
+
- name: IsLive
|
|
50755
|
+
in: query
|
|
50756
|
+
description: Gets or sets the queryable only is live status.
|
|
50757
|
+
schema:
|
|
50758
|
+
type: boolean
|
|
50759
|
+
- name: SortOrderDirection
|
|
50760
|
+
in: query
|
|
50761
|
+
description: Gets or sets the sort order direction.
|
|
50762
|
+
schema:
|
|
50763
|
+
$ref: '#/components/schemas/SearchSortOrderDirection'
|
|
50764
|
+
responses:
|
|
50765
|
+
'200':
|
|
50766
|
+
description: Success
|
|
50767
|
+
content:
|
|
50768
|
+
text/plain:
|
|
50769
|
+
schema:
|
|
50770
|
+
type: array
|
|
50771
|
+
items:
|
|
50772
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50773
|
+
application/json:
|
|
50774
|
+
schema:
|
|
50775
|
+
type: array
|
|
50776
|
+
items:
|
|
50777
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50778
|
+
text/json:
|
|
50779
|
+
schema:
|
|
50780
|
+
type: array
|
|
50781
|
+
items:
|
|
50782
|
+
$ref: '#/components/schemas/ProviderType'
|
|
50783
|
+
'400':
|
|
50784
|
+
description: Bad Request
|
|
50785
|
+
content:
|
|
50786
|
+
text/plain:
|
|
50787
|
+
schema:
|
|
50788
|
+
$ref: '#/components/schemas/ReachError'
|
|
50789
|
+
application/json:
|
|
50790
|
+
schema:
|
|
50791
|
+
$ref: '#/components/schemas/ReachError'
|
|
50792
|
+
text/json:
|
|
50793
|
+
schema:
|
|
50794
|
+
$ref: '#/components/schemas/ReachError'
|
|
50795
|
+
'500':
|
|
50796
|
+
description: Server Error
|
|
50797
|
+
content:
|
|
50798
|
+
text/plain:
|
|
50799
|
+
schema:
|
|
50800
|
+
$ref: '#/components/schemas/ReachError'
|
|
50801
|
+
application/json:
|
|
50802
|
+
schema:
|
|
50803
|
+
$ref: '#/components/schemas/ReachError'
|
|
50804
|
+
text/json:
|
|
50805
|
+
schema:
|
|
50806
|
+
$ref: '#/components/schemas/ReachError'
|
|
50807
|
+
'422':
|
|
50808
|
+
description: Client Error
|
|
50809
|
+
content:
|
|
50810
|
+
text/plain:
|
|
50811
|
+
schema:
|
|
50812
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50813
|
+
application/json:
|
|
50814
|
+
schema:
|
|
50815
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50816
|
+
text/json:
|
|
50817
|
+
schema:
|
|
50818
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
50629
50819
|
'/api/public/bookings/{orderId}/create-payment-intent':
|
|
50630
50820
|
get:
|
|
50631
50821
|
tags:
|
|
@@ -125832,6 +126022,11 @@ components:
|
|
|
125832
126022
|
type: boolean
|
|
125833
126023
|
description: Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
125834
126024
|
default: false
|
|
126025
|
+
providerTypeId:
|
|
126026
|
+
type: integer
|
|
126027
|
+
description: Gets or sets the providers type id.
|
|
126028
|
+
format: int32
|
|
126029
|
+
nullable: true
|
|
125835
126030
|
stripeAccountId:
|
|
125836
126031
|
type: string
|
|
125837
126032
|
description: Gets or sets the stripe account for the provider.
|
|
@@ -125948,6 +126143,8 @@ components:
|
|
|
125948
126143
|
type: boolean
|
|
125949
126144
|
description: Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
|
|
125950
126145
|
nullable: true
|
|
126146
|
+
providerType:
|
|
126147
|
+
$ref: '#/components/schemas/ProviderType'
|
|
125951
126148
|
storefrontUrl:
|
|
125952
126149
|
type: string
|
|
125953
126150
|
description: Gets or sets the storefront url.
|
|
@@ -126275,6 +126472,20 @@ components:
|
|
|
126275
126472
|
nullable: true
|
|
126276
126473
|
additionalProperties: false
|
|
126277
126474
|
description: Post model for provider inserts.
|
|
126475
|
+
ProviderType:
|
|
126476
|
+
type: object
|
|
126477
|
+
properties:
|
|
126478
|
+
id:
|
|
126479
|
+
type: integer
|
|
126480
|
+
description: Gets or sets the activities Id.
|
|
126481
|
+
format: int32
|
|
126482
|
+
default: 0
|
|
126483
|
+
name:
|
|
126484
|
+
type: string
|
|
126485
|
+
description: Gets or sets the activities Name.
|
|
126486
|
+
nullable: true
|
|
126487
|
+
additionalProperties: false
|
|
126488
|
+
description: Represents a provider type category within the Reach application.
|
|
126278
126489
|
QuestionIndex:
|
|
126279
126490
|
type: object
|
|
126280
126491
|
properties:
|
|
@@ -131096,6 +131307,10 @@ components:
|
|
|
131096
131307
|
type: boolean
|
|
131097
131308
|
description: Gets or sets a value indicating whether payment policies are enabled for the tenant (only applicable to enterprise tenants).
|
|
131098
131309
|
default: false
|
|
131310
|
+
enableProviders:
|
|
131311
|
+
type: boolean
|
|
131312
|
+
description: Gets or sets a value indicating whether providers are enabled for the tenant (only applicable to enterprise tenants).
|
|
131313
|
+
default: false
|
|
131099
131314
|
orderNumber:
|
|
131100
131315
|
type: string
|
|
131101
131316
|
description: Gets the next order number in the sequence.
|
package/src/index.ts
CHANGED
|
@@ -238,6 +238,7 @@ export type { ProviderCreate } from './models/ProviderCreate';
|
|
|
238
238
|
export type { ProviderPage } from './models/ProviderPage';
|
|
239
239
|
export type { ProviderPatch } from './models/ProviderPatch';
|
|
240
240
|
export type { ProviderPost } from './models/ProviderPost';
|
|
241
|
+
export type { ProviderType } from './models/ProviderType';
|
|
241
242
|
export type { QuestionIndex } from './models/QuestionIndex';
|
|
242
243
|
export { ReachEntity } from './models/ReachEntity';
|
|
243
244
|
export type { ReachError } from './models/ReachError';
|
|
@@ -485,6 +486,7 @@ export { PlacesService } from './services/PlacesService';
|
|
|
485
486
|
export { PlatformPayoutsService } from './services/PlatformPayoutsService';
|
|
486
487
|
export { ProgrammesService } from './services/ProgrammesService';
|
|
487
488
|
export { ProvidersService } from './services/ProvidersService';
|
|
489
|
+
export { ProviderTypesService } from './services/ProviderTypesService';
|
|
488
490
|
export { PublicBookingService } from './services/PublicBookingService';
|
|
489
491
|
export { PublicCoursesService } from './services/PublicCoursesService';
|
|
490
492
|
export { PublicCustomersService } from './services/PublicCustomersService';
|
package/src/models/Provider.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
6
|
import type { Country } from './Country';
|
|
7
|
+
import type { ProviderType } from './ProviderType';
|
|
7
8
|
import type { StripeAccount } from './StripeAccount';
|
|
8
9
|
import type { Tenant } from './Tenant';
|
|
9
10
|
import type { User } from './User';
|
|
@@ -36,6 +37,10 @@ export type Provider = {
|
|
|
36
37
|
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
37
38
|
*/
|
|
38
39
|
isLive: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the providers type id.
|
|
42
|
+
*/
|
|
43
|
+
providerTypeId?: number | null;
|
|
39
44
|
/**
|
|
40
45
|
* Gets or sets the stripe account for the provider.
|
|
41
46
|
*/
|
|
@@ -140,6 +145,7 @@ export type Provider = {
|
|
|
140
145
|
* Gets or sets a value indicating whether the venue is archived and should be ignored under normal operation.
|
|
141
146
|
*/
|
|
142
147
|
archived?: boolean | null;
|
|
148
|
+
providerType?: ProviderType;
|
|
143
149
|
/**
|
|
144
150
|
* Gets or sets the storefront url.
|
|
145
151
|
*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents a provider type category within the Reach application.
|
|
8
|
+
*/
|
|
9
|
+
export type ProviderType = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the activities Id.
|
|
12
|
+
*/
|
|
13
|
+
id?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the activities Name.
|
|
16
|
+
*/
|
|
17
|
+
name?: string | null;
|
|
18
|
+
};
|
|
@@ -47,6 +47,10 @@ export type TenantSetting = {
|
|
|
47
47
|
* Gets or sets a value indicating whether payment policies are enabled for the tenant (only applicable to enterprise tenants).
|
|
48
48
|
*/
|
|
49
49
|
enablePaymentPolicies?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets a value indicating whether providers are enabled for the tenant (only applicable to enterprise tenants).
|
|
52
|
+
*/
|
|
53
|
+
enableProviders?: boolean;
|
|
50
54
|
/**
|
|
51
55
|
* Gets the next order number in the sequence.
|
|
52
56
|
*/
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ProviderType } from '../models/ProviderType';
|
|
6
|
+
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
7
|
+
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
10
|
+
|
|
11
|
+
export class ProviderTypesService {
|
|
12
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets a Reach.Models.ProviderType by its Id.
|
|
16
|
+
* @returns ProviderType Success
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
public getObject({
|
|
20
|
+
id,
|
|
21
|
+
}: {
|
|
22
|
+
/**
|
|
23
|
+
* The Reach.Models.ProviderType id.
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
}): CancelablePromise<ProviderType> {
|
|
27
|
+
return this.httpRequest.request({
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/provider-types/{id}',
|
|
30
|
+
path: {
|
|
31
|
+
id: id,
|
|
32
|
+
},
|
|
33
|
+
errors: {
|
|
34
|
+
400: `Bad Request`,
|
|
35
|
+
422: `Client Error`,
|
|
36
|
+
500: `Server Error`,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets a list of Reach.Models.ProviderType.
|
|
43
|
+
* @returns ProviderType Success
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
public getList({
|
|
47
|
+
pageNumber,
|
|
48
|
+
take,
|
|
49
|
+
skip,
|
|
50
|
+
limitListRequests,
|
|
51
|
+
tenantId,
|
|
52
|
+
modifiedById,
|
|
53
|
+
modifiedByIds,
|
|
54
|
+
dateCreatedGte,
|
|
55
|
+
dateCreatedLte,
|
|
56
|
+
isLive,
|
|
57
|
+
sortOrderDirection,
|
|
58
|
+
}: {
|
|
59
|
+
/**
|
|
60
|
+
* Gets or sets the page number for paged queries.
|
|
61
|
+
*/
|
|
62
|
+
pageNumber?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
65
|
+
*/
|
|
66
|
+
take?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
69
|
+
*/
|
|
70
|
+
skip?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
73
|
+
*/
|
|
74
|
+
limitListRequests?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Gets or sets the Tenant Id.
|
|
77
|
+
*/
|
|
78
|
+
tenantId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Gets or sets the Modifed By Id.
|
|
81
|
+
*/
|
|
82
|
+
modifiedById?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Gets or sets the Modifed By Ids.
|
|
85
|
+
*/
|
|
86
|
+
modifiedByIds?: Array<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Gets or sets the Date Created greater than equal to.
|
|
89
|
+
*/
|
|
90
|
+
dateCreatedGte?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets the Date Created less than equal to.
|
|
93
|
+
*/
|
|
94
|
+
dateCreatedLte?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Gets or sets the queryable only is live status.
|
|
97
|
+
*/
|
|
98
|
+
isLive?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Gets or sets the sort order direction.
|
|
101
|
+
*/
|
|
102
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
103
|
+
}): CancelablePromise<Array<ProviderType>> {
|
|
104
|
+
return this.httpRequest.request({
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: '/api/provider-types',
|
|
107
|
+
query: {
|
|
108
|
+
PageNumber: pageNumber,
|
|
109
|
+
Take: take,
|
|
110
|
+
Skip: skip,
|
|
111
|
+
LimitListRequests: limitListRequests,
|
|
112
|
+
TenantId: tenantId,
|
|
113
|
+
ModifiedById: modifiedById,
|
|
114
|
+
ModifiedByIds: modifiedByIds,
|
|
115
|
+
DateCreatedGTE: dateCreatedGte,
|
|
116
|
+
DateCreatedLTE: dateCreatedLte,
|
|
117
|
+
IsLive: isLive,
|
|
118
|
+
SortOrderDirection: sortOrderDirection,
|
|
119
|
+
},
|
|
120
|
+
errors: {
|
|
121
|
+
400: `Bad Request`,
|
|
122
|
+
422: `Client Error`,
|
|
123
|
+
500: `Server Error`,
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}
|