reach-api-sdk 1.0.0
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/.eslintrc copy.json +13 -0
- package/.eslintrc.json +23 -0
- package/.prettierrc.json +7 -0
- package/README.md +2 -0
- package/dist/reach-sdk.d.ts +24450 -0
- package/dist/reach-sdk.js +20631 -0
- package/package.json +46 -0
- package/rollup.config.mjs +30 -0
- package/src/ApiClient.ts +239 -0
- package/src/core/ApiError.ts +24 -0
- package/src/core/ApiRequestOptions.ts +16 -0
- package/src/core/ApiResult.ts +10 -0
- package/src/core/AxiosHttpRequest.ts +24 -0
- package/src/core/BaseHttpRequest.ts +12 -0
- package/src/core/CancelablePromise.ts +129 -0
- package/src/core/OpenAPI.ts +31 -0
- package/src/core/request.ts +328 -0
- package/src/definition/swagger.yaml +58566 -0
- package/src/index.ts +230 -0
- package/src/models/Activity.ts +51 -0
- package/src/models/ActivityType.ts +12 -0
- package/src/models/AdvanceBooking.ts +12 -0
- package/src/models/Amenity.ts +21 -0
- package/src/models/AppUserRole.ts +13 -0
- package/src/models/ApplicationRole.ts +14 -0
- package/src/models/AutoCompleteResponseModel.ts +15 -0
- package/src/models/BookingStatus.ts +11 -0
- package/src/models/ContactOnConfirmation.ts +11 -0
- package/src/models/Country.ts +43 -0
- package/src/models/Course.ts +252 -0
- package/src/models/CourseBookingCutoff.ts +11 -0
- package/src/models/CoursePage.ts +13 -0
- package/src/models/CourseSearchSortBy.ts +11 -0
- package/src/models/CourseSession.ts +88 -0
- package/src/models/CourseSessionPage.ts +13 -0
- package/src/models/CourseSessionSchedule.ts +85 -0
- package/src/models/CourseSessionSchedulePage.ts +13 -0
- package/src/models/Customer.ts +88 -0
- package/src/models/CustomerCancellationOption.ts +12 -0
- package/src/models/CustomerPage.ts +13 -0
- package/src/models/CustomerType.ts +11 -0
- package/src/models/DayOfWeek.ts +13 -0
- package/src/models/EmailReminderSchedule.ts +49 -0
- package/src/models/EmailReminderSchedulePage.ts +13 -0
- package/src/models/EmailSetting.ts +61 -0
- package/src/models/EmailSettingPage.ts +13 -0
- package/src/models/Facility.ts +105 -0
- package/src/models/FacilityIndividual.ts +67 -0
- package/src/models/FacilityIndividualPage.ts +13 -0
- package/src/models/FacilityIndividualsType.ts +19 -0
- package/src/models/FacilityPage.ts +13 -0
- package/src/models/GenericActivity.ts +112 -0
- package/src/models/GenericActivityPage.ts +13 -0
- package/src/models/GeocodeResponseModel.ts +18 -0
- package/src/models/GooglePrediction.ts +32 -0
- package/src/models/HttpStatusCode.ts +67 -0
- package/src/models/IOpportunity.ts +55 -0
- package/src/models/Image.ts +78 -0
- package/src/models/ImagePage.ts +13 -0
- package/src/models/InviteStatus.ts +11 -0
- package/src/models/LoqateGeocode.ts +21 -0
- package/src/models/LoqatePlaceResult.ts +48 -0
- package/src/models/LoqatePrediction.ts +21 -0
- package/src/models/Northeast.ts +17 -0
- package/src/models/NotificationQueue.ts +50 -0
- package/src/models/NotificationQueuePage.ts +13 -0
- package/src/models/NotificationSetting.ts +89 -0
- package/src/models/NotificationSettingPage.ts +13 -0
- package/src/models/NotificationType.ts +22 -0
- package/src/models/Offer.ts +100 -0
- package/src/models/OfferPage.ts +13 -0
- package/src/models/OpenactiveFeedIntermediate.ts +50 -0
- package/src/models/OpenactiveFeedIntermediatePage.ts +13 -0
- package/src/models/OpenactiveFeedItem.ts +56 -0
- package/src/models/OpenactiveFeedItemPage.ts +13 -0
- package/src/models/OpportunityType.ts +12 -0
- package/src/models/Order.ts +212 -0
- package/src/models/OrderItem.ts +98 -0
- package/src/models/OrderItemPage.ts +13 -0
- package/src/models/OrderItemStatus.ts +16 -0
- package/src/models/OrderPage.ts +13 -0
- package/src/models/OrderSource.ts +11 -0
- package/src/models/OrderStage.ts +12 -0
- package/src/models/OrderToken.ts +41 -0
- package/src/models/OrderTokenPage.ts +13 -0
- package/src/models/OrgCourseUtilisation.ts +81 -0
- package/src/models/OrgCourseUtilisationPage.ts +13 -0
- package/src/models/OrganisationApplicationFeeHandling.ts +11 -0
- package/src/models/OrganisationAvailableChannel.ts +11 -0
- package/src/models/OrganisationRefundPolicy.ts +12 -0
- package/src/models/OrganisationTaxMode.ts +11 -0
- package/src/models/OrganisationType.ts +11 -0
- package/src/models/Payment.ts +65 -0
- package/src/models/PaymentMethod.ts +13 -0
- package/src/models/PaymentPage.ts +13 -0
- package/src/models/Permission.ts +77 -0
- package/src/models/PermissionPage.ts +13 -0
- package/src/models/PlaceDetailsResponseModel.ts +12 -0
- package/src/models/PlaceGeometry.ts +14 -0
- package/src/models/PlaceLocation.ts +17 -0
- package/src/models/PlaceResult.ts +20 -0
- package/src/models/PlaceViewport.ts +14 -0
- package/src/models/PlusCode.ts +17 -0
- package/src/models/Prepayment.ts +12 -0
- package/src/models/Programme.ts +71 -0
- package/src/models/ProgrammePage.ts +13 -0
- package/src/models/ReachEntity.ts +18 -0
- package/src/models/ReachError.ts +17 -0
- package/src/models/ReachOperation.ts +11 -0
- package/src/models/RecentOrderActivityReport.ts +81 -0
- package/src/models/RecentOrderActivityReportPage.ts +13 -0
- package/src/models/ScheduleStatus.ts +13 -0
- package/src/models/ScheduledSession.ts +139 -0
- package/src/models/ScheduledSessionPage.ts +13 -0
- package/src/models/ScheduledSessionSchedule.ts +85 -0
- package/src/models/ScheduledSessionSchedulePage.ts +13 -0
- package/src/models/ScheduledSessionSearchSortBy.ts +10 -0
- package/src/models/SearchSortOrderDirection.ts +11 -0
- package/src/models/Session.ts +191 -0
- package/src/models/SessionGender.ts +12 -0
- package/src/models/SessionPage.ts +13 -0
- package/src/models/SessionType.ts +12 -0
- package/src/models/Slot.ts +142 -0
- package/src/models/SlotAvailabilityStatus.ts +17 -0
- package/src/models/SlotOffer.ts +41 -0
- package/src/models/SlotOfferPage.ts +13 -0
- package/src/models/SlotPage.ts +13 -0
- package/src/models/SlotSchedule.ts +107 -0
- package/src/models/SlotScheduleOffer.ts +42 -0
- package/src/models/SlotScheduleOfferPage.ts +13 -0
- package/src/models/SlotSchedulePage.ts +13 -0
- package/src/models/SlotStatus.ts +18 -0
- package/src/models/Southwest.ts +17 -0
- package/src/models/StripeAccount.ts +69 -0
- package/src/models/StripeAccountPage.ts +13 -0
- package/src/models/StructuredFormatting.ts +17 -0
- package/src/models/Surface.ts +24 -0
- package/src/models/Survey.ts +51 -0
- package/src/models/SurveyAnswer.ts +58 -0
- package/src/models/SurveyAnswerPage.ts +13 -0
- package/src/models/SurveyPage.ts +13 -0
- package/src/models/SurveyQuestion.ts +69 -0
- package/src/models/SurveyQuestionOption.ts +45 -0
- package/src/models/SurveyQuestionPage.ts +13 -0
- package/src/models/SurveyQuestionType.ts +13 -0
- package/src/models/SurveyQuestionsTarget.ts +11 -0
- package/src/models/SurveySubmissionModel.ts +33 -0
- package/src/models/SurveyType.ts +11 -0
- package/src/models/Tax.ts +37 -0
- package/src/models/Tenant.ts +242 -0
- package/src/models/TenantPage.ts +13 -0
- package/src/models/TenantWebsiteSetting.ts +89 -0
- package/src/models/TenantWebsiteSettingPage.ts +13 -0
- package/src/models/Timezone.ts +21 -0
- package/src/models/TotalRevenueReport.ts +68 -0
- package/src/models/TotalRevenueReportPage.ts +13 -0
- package/src/models/User.ts +65 -0
- package/src/models/UserPage.ts +13 -0
- package/src/models/UserRole.ts +28 -0
- package/src/models/Venue.ts +187 -0
- package/src/models/VenueOpeningHours.ts +52 -0
- package/src/models/VenuePage.ts +13 -0
- package/src/models/VenuesReport.ts +81 -0
- package/src/models/VenuesReportPage.ts +13 -0
- package/src/models/WaitlistActivity.ts +58 -0
- package/src/models/WaitlistActivityPage.ts +13 -0
- package/src/models/WaitlistOpportunity.ts +68 -0
- package/src/models/WaitlistOpportunityPage.ts +13 -0
- package/src/services/ActivityService.ts +118 -0
- package/src/services/AmenityService.ts +118 -0
- package/src/services/BookingService.ts +1037 -0
- package/src/services/CountryService.ts +118 -0
- package/src/services/CourseSessionSchedulesService.ts +589 -0
- package/src/services/CourseSessionsService.ts +715 -0
- package/src/services/CoursesService.ts +930 -0
- package/src/services/CustomersService.ts +726 -0
- package/src/services/EmailReminderSchedulesService.ts +526 -0
- package/src/services/EmailSettingsService.ts +528 -0
- package/src/services/FacilitiesService.ts +634 -0
- package/src/services/FacilityIndividualsService.ts +526 -0
- package/src/services/GenericActivityService.ts +564 -0
- package/src/services/GeocodeService.ts +43 -0
- package/src/services/ImagesService.ts +661 -0
- package/src/services/LeasingService.ts +739 -0
- package/src/services/LoqatePlacesService.ts +76 -0
- package/src/services/NotificationQueueService.ts +508 -0
- package/src/services/NotificationSettingsService.ts +708 -0
- package/src/services/OffersService.ts +636 -0
- package/src/services/OpenactiveFeedIntermediateService.ts +490 -0
- package/src/services/OpenactiveFeedItemService.ts +493 -0
- package/src/services/OrderItemsService.ts +474 -0
- package/src/services/OrdersService.ts +862 -0
- package/src/services/OrgCourseUtilisationService.ts +762 -0
- package/src/services/PaymentsService.ts +474 -0
- package/src/services/PermissionsService.ts +456 -0
- package/src/services/PlacesService.ts +70 -0
- package/src/services/ProgrammesService.ts +528 -0
- package/src/services/PublicBookingService.ts +528 -0
- package/src/services/PublicCoursesService.ts +632 -0
- package/src/services/PublicFacilitiesService.ts +462 -0
- package/src/services/PublicHealthCheckService.ts +25 -0
- package/src/services/PublicLeasingService.ts +602 -0
- package/src/services/PublicOrderTokensService.ts +468 -0
- package/src/services/PublicOrdersService.ts +527 -0
- package/src/services/PublicProgrammesService.ts +426 -0
- package/src/services/PublicScheduledSessionsService.ts +621 -0
- package/src/services/PublicSessionsService.ts +697 -0
- package/src/services/PublicSlotsService.ts +810 -0
- package/src/services/PublicStripeWebhookService.ts +35 -0
- package/src/services/PublicSurveyQuestionsService.ts +424 -0
- package/src/services/PublicSurveysService.ts +378 -0
- package/src/services/PublicTenantsService.ts +427 -0
- package/src/services/PublicVenuesService.ts +522 -0
- package/src/services/PublicWaitlistActivityService.ts +442 -0
- package/src/services/PublicWaitlistOpportunityService.ts +430 -0
- package/src/services/RecentOrderActivityReportService.ts +546 -0
- package/src/services/ScheduledSessionsSchedulesService.ts +605 -0
- package/src/services/ScheduledSessionsService.ts +903 -0
- package/src/services/SessionsService.ts +670 -0
- package/src/services/SlotOffersService.ts +492 -0
- package/src/services/SlotScheduleOffersService.ts +492 -0
- package/src/services/SlotSchedulesService.ts +641 -0
- package/src/services/SlotsService.ts +842 -0
- package/src/services/StripeAccountService.ts +552 -0
- package/src/services/SurfacesService.ts +124 -0
- package/src/services/SurveyAnswersService.ts +726 -0
- package/src/services/SurveyQuestionsService.ts +474 -0
- package/src/services/SurveysService.ts +456 -0
- package/src/services/TenantWebsiteSettingsService.ts +456 -0
- package/src/services/TenantsService.ts +801 -0
- package/src/services/TimezoneService.ts +124 -0
- package/src/services/TotalRevenueReportService.ts +528 -0
- package/src/services/UsersService.ts +543 -0
- package/src/services/VenuesReportService.ts +666 -0
- package/src/services/VenuesService.ts +724 -0
- package/src/services/WaitlistActivityService.ts +546 -0
- package/src/services/WaitlistOpportunityService.ts +528 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { Amenity } from './Amenity';
|
|
6
|
+
import type { Country } from './Country';
|
|
7
|
+
import type { Course } from './Course';
|
|
8
|
+
import type { Facility } from './Facility';
|
|
9
|
+
import type { Image } from './Image';
|
|
10
|
+
import type { Session } from './Session';
|
|
11
|
+
import type { StripeAccount } from './StripeAccount';
|
|
12
|
+
import type { Tenant } from './Tenant';
|
|
13
|
+
import type { User } from './User';
|
|
14
|
+
import type { VenueOpeningHours } from './VenueOpeningHours';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Represents a Venue within the Reach application.
|
|
18
|
+
*/
|
|
19
|
+
export type Venue = {
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the entities Id.
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the tenant Id.
|
|
26
|
+
*/
|
|
27
|
+
tenantId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the created date of this entity.
|
|
30
|
+
*/
|
|
31
|
+
dateCreated?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets the last modified date of this entity.
|
|
34
|
+
*/
|
|
35
|
+
dateModified?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the modified by Id.
|
|
38
|
+
*/
|
|
39
|
+
modifiedById?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
42
|
+
*/
|
|
43
|
+
isLive?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Gets a value indicating whether the venue has sessions.
|
|
46
|
+
*/
|
|
47
|
+
readonly hasFacilities?: boolean | null;
|
|
48
|
+
/**
|
|
49
|
+
* Gets a value indicating whether the venue has online facilities.
|
|
50
|
+
*/
|
|
51
|
+
readonly hasOnlineFacilities?: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Gets a value indicating whether the venue has sessions.
|
|
54
|
+
*/
|
|
55
|
+
readonly hasSessions?: boolean | null;
|
|
56
|
+
/**
|
|
57
|
+
* Gets a value indicating whether the venue has online sessions.
|
|
58
|
+
*/
|
|
59
|
+
readonly hasOnlineSessions?: boolean | null;
|
|
60
|
+
/**
|
|
61
|
+
* Gets a value indicating whether the venue has courses.
|
|
62
|
+
*/
|
|
63
|
+
readonly hasCourses?: boolean | null;
|
|
64
|
+
/**
|
|
65
|
+
* Gets a value indicating whether the venue has online courses.
|
|
66
|
+
*/
|
|
67
|
+
readonly hasOnlineCourses?: boolean | null;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the user that the venue is assigned to.
|
|
70
|
+
*/
|
|
71
|
+
assignedTo?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets the stripe account for the venue.
|
|
74
|
+
*/
|
|
75
|
+
stripeAccountId?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the venues name.
|
|
78
|
+
*/
|
|
79
|
+
name: string;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the venues url slug.
|
|
82
|
+
*/
|
|
83
|
+
slug?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets the venues description.
|
|
86
|
+
*/
|
|
87
|
+
description: string;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets the venues street address.
|
|
90
|
+
*/
|
|
91
|
+
streetAddress?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the venues locality.
|
|
94
|
+
*/
|
|
95
|
+
addressLocality?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the venues region.
|
|
98
|
+
*/
|
|
99
|
+
addressRegion?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the venues postcode.
|
|
102
|
+
*/
|
|
103
|
+
addressPostalcode?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets the venues Country id.
|
|
106
|
+
*/
|
|
107
|
+
countryId?: number | null;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the venues lat.
|
|
110
|
+
*/
|
|
111
|
+
lat?: number | null;
|
|
112
|
+
/**
|
|
113
|
+
* Gets or sets the venues lng.
|
|
114
|
+
*/
|
|
115
|
+
lng?: number | null;
|
|
116
|
+
/**
|
|
117
|
+
* Gets a value indicating whether the model has valid geo co-ordinates.
|
|
118
|
+
*/
|
|
119
|
+
readonly hasValidGeoCoordinates?: boolean | null;
|
|
120
|
+
/**
|
|
121
|
+
* Gets or sets a value indicating whether opening hours are applicable to the location.
|
|
122
|
+
*/
|
|
123
|
+
hasOpeningHours?: boolean | null;
|
|
124
|
+
/**
|
|
125
|
+
* Gets the venues formatted address.
|
|
126
|
+
*/
|
|
127
|
+
readonly formattedAddress?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Gets the venues shortened formatted address.
|
|
130
|
+
*/
|
|
131
|
+
readonly formattedAddressShortened?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Gets a value indicating whether the model has valid geo co-ordinates.
|
|
134
|
+
*/
|
|
135
|
+
readonly distanceFromSearchGeoCenter?: number | null;
|
|
136
|
+
/**
|
|
137
|
+
* Gets or sets the contact phone.
|
|
138
|
+
*/
|
|
139
|
+
contactPhone?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Gets or sets the contact email.
|
|
142
|
+
*/
|
|
143
|
+
contactEmail?: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* Gets or sets the contact website.
|
|
146
|
+
*/
|
|
147
|
+
contactWebsite?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Gets or sets a value indicating whether the venue can take bookings.
|
|
150
|
+
*/
|
|
151
|
+
online?: boolean | null;
|
|
152
|
+
/**
|
|
153
|
+
* Gets or sets a value indicating whether the venue is published on the booking website.
|
|
154
|
+
*/
|
|
155
|
+
publishedOnWeb?: boolean | null;
|
|
156
|
+
tenant?: Tenant;
|
|
157
|
+
stripeAccount?: StripeAccount;
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets the amenities.
|
|
160
|
+
*/
|
|
161
|
+
amenities?: Array<Amenity> | null;
|
|
162
|
+
/**
|
|
163
|
+
* Gets or sets the venue managers.
|
|
164
|
+
*/
|
|
165
|
+
managers?: Array<User> | null;
|
|
166
|
+
/**
|
|
167
|
+
* Gets or sets the amenities.
|
|
168
|
+
*/
|
|
169
|
+
openingHours?: Array<VenueOpeningHours> | null;
|
|
170
|
+
country?: Country;
|
|
171
|
+
/**
|
|
172
|
+
* Gets or sets the venues referenced facilities.
|
|
173
|
+
*/
|
|
174
|
+
facilities?: Array<Facility> | null;
|
|
175
|
+
/**
|
|
176
|
+
* Gets or sets the venues referenced sessions.
|
|
177
|
+
*/
|
|
178
|
+
sessions?: Array<Session> | null;
|
|
179
|
+
/**
|
|
180
|
+
* Gets or sets the venues referenced courses.
|
|
181
|
+
*/
|
|
182
|
+
courses?: Array<Course> | null;
|
|
183
|
+
/**
|
|
184
|
+
* Gets or sets the venues referenced images.
|
|
185
|
+
*/
|
|
186
|
+
images?: Array<Image> | null;
|
|
187
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { DayOfWeek } from './DayOfWeek';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Represents a Venues opening hours within the Reach application.
|
|
9
|
+
*/
|
|
10
|
+
export type VenueOpeningHours = {
|
|
11
|
+
/**
|
|
12
|
+
* Gets or sets the entities Id.
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Gets or sets the tenant Id.
|
|
17
|
+
*/
|
|
18
|
+
tenantId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the created date of this entity.
|
|
21
|
+
*/
|
|
22
|
+
dateCreated?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets the last modified date of this entity.
|
|
25
|
+
*/
|
|
26
|
+
dateModified?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets the modified by Id.
|
|
29
|
+
*/
|
|
30
|
+
modifiedById?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
33
|
+
*/
|
|
34
|
+
isLive?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the opening hours venue id.
|
|
37
|
+
*/
|
|
38
|
+
venueId?: string | null;
|
|
39
|
+
dayOfWeek?: DayOfWeek;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the venues open time.
|
|
42
|
+
*/
|
|
43
|
+
openTime?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the venues close time.
|
|
46
|
+
*/
|
|
47
|
+
closeTime?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets a value indicating whether the venue is closed.
|
|
50
|
+
*/
|
|
51
|
+
closed?: boolean | null;
|
|
52
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { Venue } from './Venue';
|
|
6
|
+
|
|
7
|
+
export type VenuePage = {
|
|
8
|
+
readonly pageNumber?: number;
|
|
9
|
+
readonly totalPages?: number;
|
|
10
|
+
readonly itemsPerPage?: number;
|
|
11
|
+
readonly totalItems?: number;
|
|
12
|
+
readonly items?: Array<Venue> | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Represents the venue report model.
|
|
7
|
+
*/
|
|
8
|
+
export type VenuesReport = {
|
|
9
|
+
/**
|
|
10
|
+
* Gets or sets the entities Id.
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Gets or sets the tenant Id.
|
|
15
|
+
*/
|
|
16
|
+
tenantId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the created date of this entity.
|
|
19
|
+
*/
|
|
20
|
+
dateCreated?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the last modified date of this entity.
|
|
23
|
+
*/
|
|
24
|
+
dateModified?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the modified by Id.
|
|
27
|
+
*/
|
|
28
|
+
modifiedById?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
31
|
+
*/
|
|
32
|
+
isLive?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the tenant name.
|
|
35
|
+
*/
|
|
36
|
+
tenantName?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the venue name.
|
|
39
|
+
*/
|
|
40
|
+
venueName?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the published on web value.
|
|
43
|
+
*/
|
|
44
|
+
publishedOnWeb?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the stripe connected value.
|
|
47
|
+
*/
|
|
48
|
+
stripeConnected?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the venue amenities value.
|
|
51
|
+
*/
|
|
52
|
+
venueAmenities?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the venue managers value.
|
|
55
|
+
*/
|
|
56
|
+
venueManagers?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the street address value.
|
|
59
|
+
*/
|
|
60
|
+
streetAddress?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the address locality value.
|
|
63
|
+
*/
|
|
64
|
+
addressLocality?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Gets or sets the address region value.
|
|
67
|
+
*/
|
|
68
|
+
addressRegion?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Gets or sets the address postal code value.
|
|
71
|
+
*/
|
|
72
|
+
addressPostalcode?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Gets or sets the contact phone value.
|
|
75
|
+
*/
|
|
76
|
+
contactPhone?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Gets or sets the contact email value.
|
|
79
|
+
*/
|
|
80
|
+
contactEmail?: string | null;
|
|
81
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { VenuesReport } from './VenuesReport';
|
|
6
|
+
|
|
7
|
+
export type VenuesReportPage = {
|
|
8
|
+
readonly pageNumber?: number;
|
|
9
|
+
readonly totalPages?: number;
|
|
10
|
+
readonly itemsPerPage?: number;
|
|
11
|
+
readonly totalItems?: number;
|
|
12
|
+
readonly items?: Array<VenuesReport> | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { Course } from './Course';
|
|
6
|
+
import type { Session } from './Session';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents a waitlist activity within the Reach application.
|
|
10
|
+
*/
|
|
11
|
+
export type WaitlistActivity = {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the entities Id.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or sets the tenant Id.
|
|
18
|
+
*/
|
|
19
|
+
tenantId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the created date of this entity.
|
|
22
|
+
*/
|
|
23
|
+
dateCreated?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the last modified date of this entity.
|
|
26
|
+
*/
|
|
27
|
+
dateModified?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the modified by Id.
|
|
30
|
+
*/
|
|
31
|
+
modifiedById?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
34
|
+
*/
|
|
35
|
+
isLive?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the session id.
|
|
38
|
+
*/
|
|
39
|
+
sessionId?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the course id.
|
|
42
|
+
*/
|
|
43
|
+
courseId?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the first name.
|
|
46
|
+
*/
|
|
47
|
+
firstName?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets the last name.
|
|
50
|
+
*/
|
|
51
|
+
lastName?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets the email.
|
|
54
|
+
*/
|
|
55
|
+
email?: string | null;
|
|
56
|
+
session?: Session;
|
|
57
|
+
course?: Course;
|
|
58
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { WaitlistActivity } from './WaitlistActivity';
|
|
6
|
+
|
|
7
|
+
export type WaitlistActivityPage = {
|
|
8
|
+
readonly pageNumber?: number;
|
|
9
|
+
readonly totalPages?: number;
|
|
10
|
+
readonly itemsPerPage?: number;
|
|
11
|
+
readonly totalItems?: number;
|
|
12
|
+
readonly items?: Array<WaitlistActivity> | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { Course } from './Course';
|
|
6
|
+
import type { ScheduledSession } from './ScheduledSession';
|
|
7
|
+
import type { Slot } from './Slot';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Represents a waitlist opportunity within the Reach application.
|
|
11
|
+
*/
|
|
12
|
+
export type WaitlistOpportunity = {
|
|
13
|
+
/**
|
|
14
|
+
* Gets or sets the entities Id.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the tenant Id.
|
|
19
|
+
*/
|
|
20
|
+
tenantId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the created date of this entity.
|
|
23
|
+
*/
|
|
24
|
+
dateCreated?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the last modified date of this entity.
|
|
27
|
+
*/
|
|
28
|
+
dateModified?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the modified by Id.
|
|
31
|
+
*/
|
|
32
|
+
modifiedById?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
35
|
+
*/
|
|
36
|
+
isLive?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the slot id.
|
|
39
|
+
*/
|
|
40
|
+
slotId?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the scheduled session id.
|
|
43
|
+
*/
|
|
44
|
+
scheduledSessionId?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the course id.
|
|
47
|
+
*/
|
|
48
|
+
courseId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the first name.
|
|
51
|
+
*/
|
|
52
|
+
firstName?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the last name.
|
|
55
|
+
*/
|
|
56
|
+
lastName?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the email.
|
|
59
|
+
*/
|
|
60
|
+
email?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the spaces required.
|
|
63
|
+
*/
|
|
64
|
+
spacesRequired?: number;
|
|
65
|
+
slot?: Slot;
|
|
66
|
+
scheduledSession?: ScheduledSession;
|
|
67
|
+
course?: Course;
|
|
68
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { WaitlistOpportunity } from './WaitlistOpportunity';
|
|
6
|
+
|
|
7
|
+
export type WaitlistOpportunityPage = {
|
|
8
|
+
readonly pageNumber?: number;
|
|
9
|
+
readonly totalPages?: number;
|
|
10
|
+
readonly itemsPerPage?: number;
|
|
11
|
+
readonly totalItems?: number;
|
|
12
|
+
readonly items?: Array<WaitlistOpportunity> | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type { Activity } from '../models/Activity';
|
|
5
|
+
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
6
|
+
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
9
|
+
|
|
10
|
+
export class ActivityService {
|
|
11
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Gets a Reach.Models.Activity by its Id.
|
|
15
|
+
* @returns Activity Success
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
public getObject({
|
|
19
|
+
id,
|
|
20
|
+
}: {
|
|
21
|
+
/**
|
|
22
|
+
* The Reach.Models.Activity id.
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
}): CancelablePromise<Activity> {
|
|
26
|
+
return this.httpRequest.request({
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: '/api/activities/{id}',
|
|
29
|
+
path: {
|
|
30
|
+
id: id,
|
|
31
|
+
},
|
|
32
|
+
errors: {
|
|
33
|
+
400: `Bad Request`,
|
|
34
|
+
500: `Server Error`,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Gets a list of Reach.Models.Activity.
|
|
41
|
+
* @returns Activity Success
|
|
42
|
+
* @throws ApiError
|
|
43
|
+
*/
|
|
44
|
+
public getList({
|
|
45
|
+
pageNumber,
|
|
46
|
+
take,
|
|
47
|
+
limitListRequests,
|
|
48
|
+
tenantId,
|
|
49
|
+
modifiedById,
|
|
50
|
+
modifiedByIds,
|
|
51
|
+
dateCreatedGte,
|
|
52
|
+
dateCreatedLte,
|
|
53
|
+
isLive,
|
|
54
|
+
sortOrderDirection,
|
|
55
|
+
}: {
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the page number for paged queries.
|
|
58
|
+
*/
|
|
59
|
+
pageNumber?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
62
|
+
*/
|
|
63
|
+
take?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
66
|
+
*/
|
|
67
|
+
limitListRequests?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets the Tenant Id.
|
|
70
|
+
*/
|
|
71
|
+
tenantId?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets the Modifed By Id.
|
|
74
|
+
*/
|
|
75
|
+
modifiedById?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the Modifed By Ids.
|
|
78
|
+
*/
|
|
79
|
+
modifiedByIds?: Array<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the Date Created greater than equal to.
|
|
82
|
+
*/
|
|
83
|
+
dateCreatedGte?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets the Date Created less than equal to.
|
|
86
|
+
*/
|
|
87
|
+
dateCreatedLte?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets the queryable only is live status.
|
|
90
|
+
*/
|
|
91
|
+
isLive?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the sort order direction.
|
|
94
|
+
*/
|
|
95
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
96
|
+
}): CancelablePromise<Array<Activity>> {
|
|
97
|
+
return this.httpRequest.request({
|
|
98
|
+
method: 'GET',
|
|
99
|
+
url: '/api/activities',
|
|
100
|
+
query: {
|
|
101
|
+
PageNumber: pageNumber,
|
|
102
|
+
Take: take,
|
|
103
|
+
LimitListRequests: limitListRequests,
|
|
104
|
+
TenantId: tenantId,
|
|
105
|
+
ModifiedById: modifiedById,
|
|
106
|
+
ModifiedByIds: modifiedByIds,
|
|
107
|
+
DateCreatedGTE: dateCreatedGte,
|
|
108
|
+
DateCreatedLTE: dateCreatedLte,
|
|
109
|
+
IsLive: isLive,
|
|
110
|
+
SortOrderDirection: sortOrderDirection,
|
|
111
|
+
},
|
|
112
|
+
errors: {
|
|
113
|
+
400: `Bad Request`,
|
|
114
|
+
500: `Server Error`,
|
|
115
|
+
},
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}
|