reach-api-sdk 1.0.2 → 1.0.4
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/package.json +1 -1
- package/src/apiClient.ts +242 -242
- package/src/definition/swagger.yaml +58949 -58949
- package/src/index.ts +234 -234
- package/src/models/CoursePage.ts +11 -11
- package/src/models/CourseSessionPage.ts +11 -11
- package/src/models/CourseSessionSchedulePage.ts +11 -11
- package/src/models/CustomerPage.ts +11 -11
- package/src/models/EmailReminderSchedulePage.ts +11 -11
- package/src/models/EmailSettingPage.ts +11 -11
- package/src/models/FacilityIndividualPage.ts +11 -11
- package/src/models/FacilityPage.ts +11 -11
- package/src/models/GenericActivityPage.ts +11 -11
- package/src/models/ImagePage.ts +11 -11
- package/src/models/NotificationQueuePage.ts +11 -11
- package/src/models/NotificationSettingPage.ts +11 -11
- package/src/models/OfferPage.ts +11 -11
- package/src/models/OpenactiveFeedIntermediatePage.ts +11 -11
- package/src/models/OpenactiveFeedItemPage.ts +11 -11
- package/src/models/OrderItemPage.ts +11 -11
- package/src/models/OrderPage.ts +11 -11
- package/src/models/OrderTokenPage.ts +11 -11
- package/src/models/OrgCourseUtilisationPage.ts +11 -11
- package/src/models/PageMeta.ts +25 -25
- package/src/models/PaymentPage.ts +11 -11
- package/src/models/PermissionPage.ts +11 -11
- package/src/models/ProgrammePage.ts +11 -11
- package/src/models/RecentOrderActivityReportPage.ts +11 -11
- package/src/models/ScheduledSessionPage.ts +11 -11
- package/src/models/ScheduledSessionSchedulePage.ts +11 -11
- package/src/models/SessionPage.ts +11 -11
- package/src/models/SlotOfferPage.ts +11 -11
- package/src/models/SlotPage.ts +11 -11
- package/src/models/SlotScheduleOfferPage.ts +11 -11
- package/src/models/SlotSchedulePage.ts +11 -11
- package/src/models/StripeAccountPage.ts +11 -11
- package/src/models/SurveyAnswerPage.ts +11 -11
- package/src/models/SurveyPage.ts +11 -11
- package/src/models/SurveyQuestionPage.ts +11 -11
- package/src/models/SurveyReportExtended.ts +33 -33
- package/src/models/SurveyReportExtendedPage.ts +11 -11
- package/src/models/TenantPage.ts +11 -11
- package/src/models/TenantWebsiteSettingPage.ts +11 -11
- package/src/models/TotalRevenueReportPage.ts +11 -11
- package/src/models/UserPage.ts +11 -11
- package/src/models/VenuePage.ts +11 -11
- package/src/models/VenuesReportPage.ts +11 -11
- package/src/models/WaitlistActivityPage.ts +11 -11
- package/src/models/WaitlistOpportunityPage.ts +11 -11
- package/src/services/SurveyReportExtendedService.ts +618 -618
package/package.json
CHANGED
package/src/apiClient.ts
CHANGED
|
@@ -1,242 +1,242 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { OpenAPIConfig } from './core/OpenAPI';
|
|
6
|
-
import { AxiosHttpRequest } from './core/AxiosHttpRequest';
|
|
7
|
-
|
|
8
|
-
import { ActivityService } from './services/ActivityService';
|
|
9
|
-
import { AmenityService } from './services/AmenityService';
|
|
10
|
-
import { BookingService } from './services/BookingService';
|
|
11
|
-
import { CountryService } from './services/CountryService';
|
|
12
|
-
import { CoursesService } from './services/CoursesService';
|
|
13
|
-
import { CourseSessionsService } from './services/CourseSessionsService';
|
|
14
|
-
import { CourseSessionSchedulesService } from './services/CourseSessionSchedulesService';
|
|
15
|
-
import { CustomersService } from './services/CustomersService';
|
|
16
|
-
import { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
|
|
17
|
-
import { EmailSettingsService } from './services/EmailSettingsService';
|
|
18
|
-
import { FacilitiesService } from './services/FacilitiesService';
|
|
19
|
-
import { FacilityIndividualsService } from './services/FacilityIndividualsService';
|
|
20
|
-
import { GenericActivityService } from './services/GenericActivityService';
|
|
21
|
-
import { GeocodeService } from './services/GeocodeService';
|
|
22
|
-
import { ImagesService } from './services/ImagesService';
|
|
23
|
-
import { LeasingService } from './services/LeasingService';
|
|
24
|
-
import { LoqatePlacesService } from './services/LoqatePlacesService';
|
|
25
|
-
import { NotificationQueueService } from './services/NotificationQueueService';
|
|
26
|
-
import { NotificationSettingsService } from './services/NotificationSettingsService';
|
|
27
|
-
import { OffersService } from './services/OffersService';
|
|
28
|
-
import { OpenactiveFeedIntermediateService } from './services/OpenactiveFeedIntermediateService';
|
|
29
|
-
import { OpenactiveFeedItemService } from './services/OpenactiveFeedItemService';
|
|
30
|
-
import { OrderItemsService } from './services/OrderItemsService';
|
|
31
|
-
import { OrdersService } from './services/OrdersService';
|
|
32
|
-
import { OrgCourseUtilisationService } from './services/OrgCourseUtilisationService';
|
|
33
|
-
import { PaymentsService } from './services/PaymentsService';
|
|
34
|
-
import { PermissionsService } from './services/PermissionsService';
|
|
35
|
-
import { PlacesService } from './services/PlacesService';
|
|
36
|
-
import { ProgrammesService } from './services/ProgrammesService';
|
|
37
|
-
import { PublicBookingService } from './services/PublicBookingService';
|
|
38
|
-
import { PublicCoursesService } from './services/PublicCoursesService';
|
|
39
|
-
import { PublicFacilitiesService } from './services/PublicFacilitiesService';
|
|
40
|
-
import { PublicHealthCheckService } from './services/PublicHealthCheckService';
|
|
41
|
-
import { PublicLeasingService } from './services/PublicLeasingService';
|
|
42
|
-
import { PublicOrdersService } from './services/PublicOrdersService';
|
|
43
|
-
import { PublicOrderTokensService } from './services/PublicOrderTokensService';
|
|
44
|
-
import { PublicProgrammesService } from './services/PublicProgrammesService';
|
|
45
|
-
import { PublicScheduledSessionsService } from './services/PublicScheduledSessionsService';
|
|
46
|
-
import { PublicSessionsService } from './services/PublicSessionsService';
|
|
47
|
-
import { PublicSlotsService } from './services/PublicSlotsService';
|
|
48
|
-
import { PublicStripeWebhookService } from './services/PublicStripeWebhookService';
|
|
49
|
-
import { PublicSurveyQuestionsService } from './services/PublicSurveyQuestionsService';
|
|
50
|
-
import { PublicSurveysService } from './services/PublicSurveysService';
|
|
51
|
-
import { PublicTenantsService } from './services/PublicTenantsService';
|
|
52
|
-
import { PublicVenuesService } from './services/PublicVenuesService';
|
|
53
|
-
import { PublicWaitlistActivityService } from './services/PublicWaitlistActivityService';
|
|
54
|
-
import { PublicWaitlistOpportunityService } from './services/PublicWaitlistOpportunityService';
|
|
55
|
-
import { RecentOrderActivityReportService } from './services/RecentOrderActivityReportService';
|
|
56
|
-
import { ScheduledSessionsService } from './services/ScheduledSessionsService';
|
|
57
|
-
import { ScheduledSessionsSchedulesService } from './services/ScheduledSessionsSchedulesService';
|
|
58
|
-
import { SessionsService } from './services/SessionsService';
|
|
59
|
-
import { SlotOffersService } from './services/SlotOffersService';
|
|
60
|
-
import { SlotsService } from './services/SlotsService';
|
|
61
|
-
import { SlotScheduleOffersService } from './services/SlotScheduleOffersService';
|
|
62
|
-
import { SlotSchedulesService } from './services/SlotSchedulesService';
|
|
63
|
-
import { StripeAccountService } from './services/StripeAccountService';
|
|
64
|
-
import { SurfacesService } from './services/SurfacesService';
|
|
65
|
-
import { SurveyAnswersService } from './services/SurveyAnswersService';
|
|
66
|
-
import { SurveyQuestionsService } from './services/SurveyQuestionsService';
|
|
67
|
-
import { SurveyReportExtendedService } from './services/SurveyReportExtendedService';
|
|
68
|
-
import { SurveysService } from './services/SurveysService';
|
|
69
|
-
import { TenantsService } from './services/TenantsService';
|
|
70
|
-
import { TenantWebsiteSettingsService } from './services/TenantWebsiteSettingsService';
|
|
71
|
-
import { TimezoneService } from './services/TimezoneService';
|
|
72
|
-
import { TotalRevenueReportService } from './services/TotalRevenueReportService';
|
|
73
|
-
import { UsersService } from './services/UsersService';
|
|
74
|
-
import { VenuesService } from './services/VenuesService';
|
|
75
|
-
import { VenuesReportService } from './services/VenuesReportService';
|
|
76
|
-
import { WaitlistActivityService } from './services/WaitlistActivityService';
|
|
77
|
-
import { WaitlistOpportunityService } from './services/WaitlistOpportunityService';
|
|
78
|
-
|
|
79
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
80
|
-
|
|
81
|
-
export class ApiClient {
|
|
82
|
-
public readonly activity: ActivityService;
|
|
83
|
-
public readonly amenity: AmenityService;
|
|
84
|
-
public readonly booking: BookingService;
|
|
85
|
-
public readonly country: CountryService;
|
|
86
|
-
public readonly courses: CoursesService;
|
|
87
|
-
public readonly courseSessions: CourseSessionsService;
|
|
88
|
-
public readonly courseSessionSchedules: CourseSessionSchedulesService;
|
|
89
|
-
public readonly customers: CustomersService;
|
|
90
|
-
public readonly emailReminderSchedules: EmailReminderSchedulesService;
|
|
91
|
-
public readonly emailSettings: EmailSettingsService;
|
|
92
|
-
public readonly facilities: FacilitiesService;
|
|
93
|
-
public readonly facilityIndividuals: FacilityIndividualsService;
|
|
94
|
-
public readonly genericActivity: GenericActivityService;
|
|
95
|
-
public readonly geocode: GeocodeService;
|
|
96
|
-
public readonly images: ImagesService;
|
|
97
|
-
public readonly leasing: LeasingService;
|
|
98
|
-
public readonly loqatePlaces: LoqatePlacesService;
|
|
99
|
-
public readonly notificationQueue: NotificationQueueService;
|
|
100
|
-
public readonly notificationSettings: NotificationSettingsService;
|
|
101
|
-
public readonly offers: OffersService;
|
|
102
|
-
public readonly openactiveFeedIntermediate: OpenactiveFeedIntermediateService;
|
|
103
|
-
public readonly openactiveFeedItem: OpenactiveFeedItemService;
|
|
104
|
-
public readonly orderItems: OrderItemsService;
|
|
105
|
-
public readonly orders: OrdersService;
|
|
106
|
-
public readonly orgCourseUtilisation: OrgCourseUtilisationService;
|
|
107
|
-
public readonly payments: PaymentsService;
|
|
108
|
-
public readonly permissions: PermissionsService;
|
|
109
|
-
public readonly places: PlacesService;
|
|
110
|
-
public readonly programmes: ProgrammesService;
|
|
111
|
-
public readonly publicBooking: PublicBookingService;
|
|
112
|
-
public readonly publicCourses: PublicCoursesService;
|
|
113
|
-
public readonly publicFacilities: PublicFacilitiesService;
|
|
114
|
-
public readonly publicHealthCheck: PublicHealthCheckService;
|
|
115
|
-
public readonly publicLeasing: PublicLeasingService;
|
|
116
|
-
public readonly publicOrders: PublicOrdersService;
|
|
117
|
-
public readonly publicOrderTokens: PublicOrderTokensService;
|
|
118
|
-
public readonly publicProgrammes: PublicProgrammesService;
|
|
119
|
-
public readonly publicScheduledSessions: PublicScheduledSessionsService;
|
|
120
|
-
public readonly publicSessions: PublicSessionsService;
|
|
121
|
-
public readonly publicSlots: PublicSlotsService;
|
|
122
|
-
public readonly publicStripeWebhook: PublicStripeWebhookService;
|
|
123
|
-
public readonly publicSurveyQuestions: PublicSurveyQuestionsService;
|
|
124
|
-
public readonly publicSurveys: PublicSurveysService;
|
|
125
|
-
public readonly publicTenants: PublicTenantsService;
|
|
126
|
-
public readonly publicVenues: PublicVenuesService;
|
|
127
|
-
public readonly publicWaitlistActivity: PublicWaitlistActivityService;
|
|
128
|
-
public readonly publicWaitlistOpportunity: PublicWaitlistOpportunityService;
|
|
129
|
-
public readonly recentOrderActivityReport: RecentOrderActivityReportService;
|
|
130
|
-
public readonly scheduledSessions: ScheduledSessionsService;
|
|
131
|
-
public readonly scheduledSessionsSchedules: ScheduledSessionsSchedulesService;
|
|
132
|
-
public readonly sessions: SessionsService;
|
|
133
|
-
public readonly slotOffers: SlotOffersService;
|
|
134
|
-
public readonly slots: SlotsService;
|
|
135
|
-
public readonly slotScheduleOffers: SlotScheduleOffersService;
|
|
136
|
-
public readonly slotSchedules: SlotSchedulesService;
|
|
137
|
-
public readonly stripeAccount: StripeAccountService;
|
|
138
|
-
public readonly surfaces: SurfacesService;
|
|
139
|
-
public readonly surveyAnswers: SurveyAnswersService;
|
|
140
|
-
public readonly surveyQuestions: SurveyQuestionsService;
|
|
141
|
-
public readonly surveyReportExtended: SurveyReportExtendedService;
|
|
142
|
-
public readonly surveys: SurveysService;
|
|
143
|
-
public readonly tenants: TenantsService;
|
|
144
|
-
public readonly tenantWebsiteSettings: TenantWebsiteSettingsService;
|
|
145
|
-
public readonly timezone: TimezoneService;
|
|
146
|
-
public readonly totalRevenueReport: TotalRevenueReportService;
|
|
147
|
-
public readonly users: UsersService;
|
|
148
|
-
public readonly venues: VenuesService;
|
|
149
|
-
public readonly venuesReport: VenuesReportService;
|
|
150
|
-
public readonly waitlistActivity: WaitlistActivityService;
|
|
151
|
-
public readonly waitlistOpportunity: WaitlistOpportunityService;
|
|
152
|
-
|
|
153
|
-
public readonly request: BaseHttpRequest;
|
|
154
|
-
|
|
155
|
-
constructor(
|
|
156
|
-
config?: Partial<OpenAPIConfig>,
|
|
157
|
-
HttpRequest: HttpRequestConstructor = AxiosHttpRequest
|
|
158
|
-
) {
|
|
159
|
-
this.request = new HttpRequest({
|
|
160
|
-
BASE: config?.BASE ?? '',
|
|
161
|
-
VERSION: config?.VERSION ?? '1',
|
|
162
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
163
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
164
|
-
TOKEN: config?.TOKEN,
|
|
165
|
-
USERNAME: config?.USERNAME,
|
|
166
|
-
PASSWORD: config?.PASSWORD,
|
|
167
|
-
HEADERS: config?.HEADERS,
|
|
168
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
this.activity = new ActivityService(this.request);
|
|
172
|
-
this.amenity = new AmenityService(this.request);
|
|
173
|
-
this.booking = new BookingService(this.request);
|
|
174
|
-
this.country = new CountryService(this.request);
|
|
175
|
-
this.courses = new CoursesService(this.request);
|
|
176
|
-
this.courseSessions = new CourseSessionsService(this.request);
|
|
177
|
-
this.courseSessionSchedules = new CourseSessionSchedulesService(this.request);
|
|
178
|
-
this.customers = new CustomersService(this.request);
|
|
179
|
-
this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
|
|
180
|
-
this.emailSettings = new EmailSettingsService(this.request);
|
|
181
|
-
this.facilities = new FacilitiesService(this.request);
|
|
182
|
-
this.facilityIndividuals = new FacilityIndividualsService(this.request);
|
|
183
|
-
this.genericActivity = new GenericActivityService(this.request);
|
|
184
|
-
this.geocode = new GeocodeService(this.request);
|
|
185
|
-
this.images = new ImagesService(this.request);
|
|
186
|
-
this.leasing = new LeasingService(this.request);
|
|
187
|
-
this.loqatePlaces = new LoqatePlacesService(this.request);
|
|
188
|
-
this.notificationQueue = new NotificationQueueService(this.request);
|
|
189
|
-
this.notificationSettings = new NotificationSettingsService(this.request);
|
|
190
|
-
this.offers = new OffersService(this.request);
|
|
191
|
-
this.openactiveFeedIntermediate = new OpenactiveFeedIntermediateService(this.request);
|
|
192
|
-
this.openactiveFeedItem = new OpenactiveFeedItemService(this.request);
|
|
193
|
-
this.orderItems = new OrderItemsService(this.request);
|
|
194
|
-
this.orders = new OrdersService(this.request);
|
|
195
|
-
this.orgCourseUtilisation = new OrgCourseUtilisationService(this.request);
|
|
196
|
-
this.payments = new PaymentsService(this.request);
|
|
197
|
-
this.permissions = new PermissionsService(this.request);
|
|
198
|
-
this.places = new PlacesService(this.request);
|
|
199
|
-
this.programmes = new ProgrammesService(this.request);
|
|
200
|
-
this.publicBooking = new PublicBookingService(this.request);
|
|
201
|
-
this.publicCourses = new PublicCoursesService(this.request);
|
|
202
|
-
this.publicFacilities = new PublicFacilitiesService(this.request);
|
|
203
|
-
this.publicHealthCheck = new PublicHealthCheckService(this.request);
|
|
204
|
-
this.publicLeasing = new PublicLeasingService(this.request);
|
|
205
|
-
this.publicOrders = new PublicOrdersService(this.request);
|
|
206
|
-
this.publicOrderTokens = new PublicOrderTokensService(this.request);
|
|
207
|
-
this.publicProgrammes = new PublicProgrammesService(this.request);
|
|
208
|
-
this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
|
|
209
|
-
this.publicSessions = new PublicSessionsService(this.request);
|
|
210
|
-
this.publicSlots = new PublicSlotsService(this.request);
|
|
211
|
-
this.publicStripeWebhook = new PublicStripeWebhookService(this.request);
|
|
212
|
-
this.publicSurveyQuestions = new PublicSurveyQuestionsService(this.request);
|
|
213
|
-
this.publicSurveys = new PublicSurveysService(this.request);
|
|
214
|
-
this.publicTenants = new PublicTenantsService(this.request);
|
|
215
|
-
this.publicVenues = new PublicVenuesService(this.request);
|
|
216
|
-
this.publicWaitlistActivity = new PublicWaitlistActivityService(this.request);
|
|
217
|
-
this.publicWaitlistOpportunity = new PublicWaitlistOpportunityService(this.request);
|
|
218
|
-
this.recentOrderActivityReport = new RecentOrderActivityReportService(this.request);
|
|
219
|
-
this.scheduledSessions = new ScheduledSessionsService(this.request);
|
|
220
|
-
this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
|
|
221
|
-
this.sessions = new SessionsService(this.request);
|
|
222
|
-
this.slotOffers = new SlotOffersService(this.request);
|
|
223
|
-
this.slots = new SlotsService(this.request);
|
|
224
|
-
this.slotScheduleOffers = new SlotScheduleOffersService(this.request);
|
|
225
|
-
this.slotSchedules = new SlotSchedulesService(this.request);
|
|
226
|
-
this.stripeAccount = new StripeAccountService(this.request);
|
|
227
|
-
this.surfaces = new SurfacesService(this.request);
|
|
228
|
-
this.surveyAnswers = new SurveyAnswersService(this.request);
|
|
229
|
-
this.surveyQuestions = new SurveyQuestionsService(this.request);
|
|
230
|
-
this.surveyReportExtended = new SurveyReportExtendedService(this.request);
|
|
231
|
-
this.surveys = new SurveysService(this.request);
|
|
232
|
-
this.tenants = new TenantsService(this.request);
|
|
233
|
-
this.tenantWebsiteSettings = new TenantWebsiteSettingsService(this.request);
|
|
234
|
-
this.timezone = new TimezoneService(this.request);
|
|
235
|
-
this.totalRevenueReport = new TotalRevenueReportService(this.request);
|
|
236
|
-
this.users = new UsersService(this.request);
|
|
237
|
-
this.venues = new VenuesService(this.request);
|
|
238
|
-
this.venuesReport = new VenuesReportService(this.request);
|
|
239
|
-
this.waitlistActivity = new WaitlistActivityService(this.request);
|
|
240
|
-
this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
+
import type { OpenAPIConfig } from './core/OpenAPI';
|
|
6
|
+
import { AxiosHttpRequest } from './core/AxiosHttpRequest';
|
|
7
|
+
|
|
8
|
+
import { ActivityService } from './services/ActivityService';
|
|
9
|
+
import { AmenityService } from './services/AmenityService';
|
|
10
|
+
import { BookingService } from './services/BookingService';
|
|
11
|
+
import { CountryService } from './services/CountryService';
|
|
12
|
+
import { CoursesService } from './services/CoursesService';
|
|
13
|
+
import { CourseSessionsService } from './services/CourseSessionsService';
|
|
14
|
+
import { CourseSessionSchedulesService } from './services/CourseSessionSchedulesService';
|
|
15
|
+
import { CustomersService } from './services/CustomersService';
|
|
16
|
+
import { EmailReminderSchedulesService } from './services/EmailReminderSchedulesService';
|
|
17
|
+
import { EmailSettingsService } from './services/EmailSettingsService';
|
|
18
|
+
import { FacilitiesService } from './services/FacilitiesService';
|
|
19
|
+
import { FacilityIndividualsService } from './services/FacilityIndividualsService';
|
|
20
|
+
import { GenericActivityService } from './services/GenericActivityService';
|
|
21
|
+
import { GeocodeService } from './services/GeocodeService';
|
|
22
|
+
import { ImagesService } from './services/ImagesService';
|
|
23
|
+
import { LeasingService } from './services/LeasingService';
|
|
24
|
+
import { LoqatePlacesService } from './services/LoqatePlacesService';
|
|
25
|
+
import { NotificationQueueService } from './services/NotificationQueueService';
|
|
26
|
+
import { NotificationSettingsService } from './services/NotificationSettingsService';
|
|
27
|
+
import { OffersService } from './services/OffersService';
|
|
28
|
+
import { OpenactiveFeedIntermediateService } from './services/OpenactiveFeedIntermediateService';
|
|
29
|
+
import { OpenactiveFeedItemService } from './services/OpenactiveFeedItemService';
|
|
30
|
+
import { OrderItemsService } from './services/OrderItemsService';
|
|
31
|
+
import { OrdersService } from './services/OrdersService';
|
|
32
|
+
import { OrgCourseUtilisationService } from './services/OrgCourseUtilisationService';
|
|
33
|
+
import { PaymentsService } from './services/PaymentsService';
|
|
34
|
+
import { PermissionsService } from './services/PermissionsService';
|
|
35
|
+
import { PlacesService } from './services/PlacesService';
|
|
36
|
+
import { ProgrammesService } from './services/ProgrammesService';
|
|
37
|
+
import { PublicBookingService } from './services/PublicBookingService';
|
|
38
|
+
import { PublicCoursesService } from './services/PublicCoursesService';
|
|
39
|
+
import { PublicFacilitiesService } from './services/PublicFacilitiesService';
|
|
40
|
+
import { PublicHealthCheckService } from './services/PublicHealthCheckService';
|
|
41
|
+
import { PublicLeasingService } from './services/PublicLeasingService';
|
|
42
|
+
import { PublicOrdersService } from './services/PublicOrdersService';
|
|
43
|
+
import { PublicOrderTokensService } from './services/PublicOrderTokensService';
|
|
44
|
+
import { PublicProgrammesService } from './services/PublicProgrammesService';
|
|
45
|
+
import { PublicScheduledSessionsService } from './services/PublicScheduledSessionsService';
|
|
46
|
+
import { PublicSessionsService } from './services/PublicSessionsService';
|
|
47
|
+
import { PublicSlotsService } from './services/PublicSlotsService';
|
|
48
|
+
import { PublicStripeWebhookService } from './services/PublicStripeWebhookService';
|
|
49
|
+
import { PublicSurveyQuestionsService } from './services/PublicSurveyQuestionsService';
|
|
50
|
+
import { PublicSurveysService } from './services/PublicSurveysService';
|
|
51
|
+
import { PublicTenantsService } from './services/PublicTenantsService';
|
|
52
|
+
import { PublicVenuesService } from './services/PublicVenuesService';
|
|
53
|
+
import { PublicWaitlistActivityService } from './services/PublicWaitlistActivityService';
|
|
54
|
+
import { PublicWaitlistOpportunityService } from './services/PublicWaitlistOpportunityService';
|
|
55
|
+
import { RecentOrderActivityReportService } from './services/RecentOrderActivityReportService';
|
|
56
|
+
import { ScheduledSessionsService } from './services/ScheduledSessionsService';
|
|
57
|
+
import { ScheduledSessionsSchedulesService } from './services/ScheduledSessionsSchedulesService';
|
|
58
|
+
import { SessionsService } from './services/SessionsService';
|
|
59
|
+
import { SlotOffersService } from './services/SlotOffersService';
|
|
60
|
+
import { SlotsService } from './services/SlotsService';
|
|
61
|
+
import { SlotScheduleOffersService } from './services/SlotScheduleOffersService';
|
|
62
|
+
import { SlotSchedulesService } from './services/SlotSchedulesService';
|
|
63
|
+
import { StripeAccountService } from './services/StripeAccountService';
|
|
64
|
+
import { SurfacesService } from './services/SurfacesService';
|
|
65
|
+
import { SurveyAnswersService } from './services/SurveyAnswersService';
|
|
66
|
+
import { SurveyQuestionsService } from './services/SurveyQuestionsService';
|
|
67
|
+
import { SurveyReportExtendedService } from './services/SurveyReportExtendedService';
|
|
68
|
+
import { SurveysService } from './services/SurveysService';
|
|
69
|
+
import { TenantsService } from './services/TenantsService';
|
|
70
|
+
import { TenantWebsiteSettingsService } from './services/TenantWebsiteSettingsService';
|
|
71
|
+
import { TimezoneService } from './services/TimezoneService';
|
|
72
|
+
import { TotalRevenueReportService } from './services/TotalRevenueReportService';
|
|
73
|
+
import { UsersService } from './services/UsersService';
|
|
74
|
+
import { VenuesService } from './services/VenuesService';
|
|
75
|
+
import { VenuesReportService } from './services/VenuesReportService';
|
|
76
|
+
import { WaitlistActivityService } from './services/WaitlistActivityService';
|
|
77
|
+
import { WaitlistOpportunityService } from './services/WaitlistOpportunityService';
|
|
78
|
+
|
|
79
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
80
|
+
|
|
81
|
+
export class ApiClient {
|
|
82
|
+
public readonly activity: ActivityService;
|
|
83
|
+
public readonly amenity: AmenityService;
|
|
84
|
+
public readonly booking: BookingService;
|
|
85
|
+
public readonly country: CountryService;
|
|
86
|
+
public readonly courses: CoursesService;
|
|
87
|
+
public readonly courseSessions: CourseSessionsService;
|
|
88
|
+
public readonly courseSessionSchedules: CourseSessionSchedulesService;
|
|
89
|
+
public readonly customers: CustomersService;
|
|
90
|
+
public readonly emailReminderSchedules: EmailReminderSchedulesService;
|
|
91
|
+
public readonly emailSettings: EmailSettingsService;
|
|
92
|
+
public readonly facilities: FacilitiesService;
|
|
93
|
+
public readonly facilityIndividuals: FacilityIndividualsService;
|
|
94
|
+
public readonly genericActivity: GenericActivityService;
|
|
95
|
+
public readonly geocode: GeocodeService;
|
|
96
|
+
public readonly images: ImagesService;
|
|
97
|
+
public readonly leasing: LeasingService;
|
|
98
|
+
public readonly loqatePlaces: LoqatePlacesService;
|
|
99
|
+
public readonly notificationQueue: NotificationQueueService;
|
|
100
|
+
public readonly notificationSettings: NotificationSettingsService;
|
|
101
|
+
public readonly offers: OffersService;
|
|
102
|
+
public readonly openactiveFeedIntermediate: OpenactiveFeedIntermediateService;
|
|
103
|
+
public readonly openactiveFeedItem: OpenactiveFeedItemService;
|
|
104
|
+
public readonly orderItems: OrderItemsService;
|
|
105
|
+
public readonly orders: OrdersService;
|
|
106
|
+
public readonly orgCourseUtilisation: OrgCourseUtilisationService;
|
|
107
|
+
public readonly payments: PaymentsService;
|
|
108
|
+
public readonly permissions: PermissionsService;
|
|
109
|
+
public readonly places: PlacesService;
|
|
110
|
+
public readonly programmes: ProgrammesService;
|
|
111
|
+
public readonly publicBooking: PublicBookingService;
|
|
112
|
+
public readonly publicCourses: PublicCoursesService;
|
|
113
|
+
public readonly publicFacilities: PublicFacilitiesService;
|
|
114
|
+
public readonly publicHealthCheck: PublicHealthCheckService;
|
|
115
|
+
public readonly publicLeasing: PublicLeasingService;
|
|
116
|
+
public readonly publicOrders: PublicOrdersService;
|
|
117
|
+
public readonly publicOrderTokens: PublicOrderTokensService;
|
|
118
|
+
public readonly publicProgrammes: PublicProgrammesService;
|
|
119
|
+
public readonly publicScheduledSessions: PublicScheduledSessionsService;
|
|
120
|
+
public readonly publicSessions: PublicSessionsService;
|
|
121
|
+
public readonly publicSlots: PublicSlotsService;
|
|
122
|
+
public readonly publicStripeWebhook: PublicStripeWebhookService;
|
|
123
|
+
public readonly publicSurveyQuestions: PublicSurveyQuestionsService;
|
|
124
|
+
public readonly publicSurveys: PublicSurveysService;
|
|
125
|
+
public readonly publicTenants: PublicTenantsService;
|
|
126
|
+
public readonly publicVenues: PublicVenuesService;
|
|
127
|
+
public readonly publicWaitlistActivity: PublicWaitlistActivityService;
|
|
128
|
+
public readonly publicWaitlistOpportunity: PublicWaitlistOpportunityService;
|
|
129
|
+
public readonly recentOrderActivityReport: RecentOrderActivityReportService;
|
|
130
|
+
public readonly scheduledSessions: ScheduledSessionsService;
|
|
131
|
+
public readonly scheduledSessionsSchedules: ScheduledSessionsSchedulesService;
|
|
132
|
+
public readonly sessions: SessionsService;
|
|
133
|
+
public readonly slotOffers: SlotOffersService;
|
|
134
|
+
public readonly slots: SlotsService;
|
|
135
|
+
public readonly slotScheduleOffers: SlotScheduleOffersService;
|
|
136
|
+
public readonly slotSchedules: SlotSchedulesService;
|
|
137
|
+
public readonly stripeAccount: StripeAccountService;
|
|
138
|
+
public readonly surfaces: SurfacesService;
|
|
139
|
+
public readonly surveyAnswers: SurveyAnswersService;
|
|
140
|
+
public readonly surveyQuestions: SurveyQuestionsService;
|
|
141
|
+
public readonly surveyReportExtended: SurveyReportExtendedService;
|
|
142
|
+
public readonly surveys: SurveysService;
|
|
143
|
+
public readonly tenants: TenantsService;
|
|
144
|
+
public readonly tenantWebsiteSettings: TenantWebsiteSettingsService;
|
|
145
|
+
public readonly timezone: TimezoneService;
|
|
146
|
+
public readonly totalRevenueReport: TotalRevenueReportService;
|
|
147
|
+
public readonly users: UsersService;
|
|
148
|
+
public readonly venues: VenuesService;
|
|
149
|
+
public readonly venuesReport: VenuesReportService;
|
|
150
|
+
public readonly waitlistActivity: WaitlistActivityService;
|
|
151
|
+
public readonly waitlistOpportunity: WaitlistOpportunityService;
|
|
152
|
+
|
|
153
|
+
public readonly request: BaseHttpRequest;
|
|
154
|
+
|
|
155
|
+
constructor(
|
|
156
|
+
config?: Partial<OpenAPIConfig>,
|
|
157
|
+
HttpRequest: HttpRequestConstructor = AxiosHttpRequest
|
|
158
|
+
) {
|
|
159
|
+
this.request = new HttpRequest({
|
|
160
|
+
BASE: config?.BASE ?? '',
|
|
161
|
+
VERSION: config?.VERSION ?? '1',
|
|
162
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
163
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
164
|
+
TOKEN: config?.TOKEN,
|
|
165
|
+
USERNAME: config?.USERNAME,
|
|
166
|
+
PASSWORD: config?.PASSWORD,
|
|
167
|
+
HEADERS: config?.HEADERS,
|
|
168
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
this.activity = new ActivityService(this.request);
|
|
172
|
+
this.amenity = new AmenityService(this.request);
|
|
173
|
+
this.booking = new BookingService(this.request);
|
|
174
|
+
this.country = new CountryService(this.request);
|
|
175
|
+
this.courses = new CoursesService(this.request);
|
|
176
|
+
this.courseSessions = new CourseSessionsService(this.request);
|
|
177
|
+
this.courseSessionSchedules = new CourseSessionSchedulesService(this.request);
|
|
178
|
+
this.customers = new CustomersService(this.request);
|
|
179
|
+
this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
|
|
180
|
+
this.emailSettings = new EmailSettingsService(this.request);
|
|
181
|
+
this.facilities = new FacilitiesService(this.request);
|
|
182
|
+
this.facilityIndividuals = new FacilityIndividualsService(this.request);
|
|
183
|
+
this.genericActivity = new GenericActivityService(this.request);
|
|
184
|
+
this.geocode = new GeocodeService(this.request);
|
|
185
|
+
this.images = new ImagesService(this.request);
|
|
186
|
+
this.leasing = new LeasingService(this.request);
|
|
187
|
+
this.loqatePlaces = new LoqatePlacesService(this.request);
|
|
188
|
+
this.notificationQueue = new NotificationQueueService(this.request);
|
|
189
|
+
this.notificationSettings = new NotificationSettingsService(this.request);
|
|
190
|
+
this.offers = new OffersService(this.request);
|
|
191
|
+
this.openactiveFeedIntermediate = new OpenactiveFeedIntermediateService(this.request);
|
|
192
|
+
this.openactiveFeedItem = new OpenactiveFeedItemService(this.request);
|
|
193
|
+
this.orderItems = new OrderItemsService(this.request);
|
|
194
|
+
this.orders = new OrdersService(this.request);
|
|
195
|
+
this.orgCourseUtilisation = new OrgCourseUtilisationService(this.request);
|
|
196
|
+
this.payments = new PaymentsService(this.request);
|
|
197
|
+
this.permissions = new PermissionsService(this.request);
|
|
198
|
+
this.places = new PlacesService(this.request);
|
|
199
|
+
this.programmes = new ProgrammesService(this.request);
|
|
200
|
+
this.publicBooking = new PublicBookingService(this.request);
|
|
201
|
+
this.publicCourses = new PublicCoursesService(this.request);
|
|
202
|
+
this.publicFacilities = new PublicFacilitiesService(this.request);
|
|
203
|
+
this.publicHealthCheck = new PublicHealthCheckService(this.request);
|
|
204
|
+
this.publicLeasing = new PublicLeasingService(this.request);
|
|
205
|
+
this.publicOrders = new PublicOrdersService(this.request);
|
|
206
|
+
this.publicOrderTokens = new PublicOrderTokensService(this.request);
|
|
207
|
+
this.publicProgrammes = new PublicProgrammesService(this.request);
|
|
208
|
+
this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
|
|
209
|
+
this.publicSessions = new PublicSessionsService(this.request);
|
|
210
|
+
this.publicSlots = new PublicSlotsService(this.request);
|
|
211
|
+
this.publicStripeWebhook = new PublicStripeWebhookService(this.request);
|
|
212
|
+
this.publicSurveyQuestions = new PublicSurveyQuestionsService(this.request);
|
|
213
|
+
this.publicSurveys = new PublicSurveysService(this.request);
|
|
214
|
+
this.publicTenants = new PublicTenantsService(this.request);
|
|
215
|
+
this.publicVenues = new PublicVenuesService(this.request);
|
|
216
|
+
this.publicWaitlistActivity = new PublicWaitlistActivityService(this.request);
|
|
217
|
+
this.publicWaitlistOpportunity = new PublicWaitlistOpportunityService(this.request);
|
|
218
|
+
this.recentOrderActivityReport = new RecentOrderActivityReportService(this.request);
|
|
219
|
+
this.scheduledSessions = new ScheduledSessionsService(this.request);
|
|
220
|
+
this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
|
|
221
|
+
this.sessions = new SessionsService(this.request);
|
|
222
|
+
this.slotOffers = new SlotOffersService(this.request);
|
|
223
|
+
this.slots = new SlotsService(this.request);
|
|
224
|
+
this.slotScheduleOffers = new SlotScheduleOffersService(this.request);
|
|
225
|
+
this.slotSchedules = new SlotSchedulesService(this.request);
|
|
226
|
+
this.stripeAccount = new StripeAccountService(this.request);
|
|
227
|
+
this.surfaces = new SurfacesService(this.request);
|
|
228
|
+
this.surveyAnswers = new SurveyAnswersService(this.request);
|
|
229
|
+
this.surveyQuestions = new SurveyQuestionsService(this.request);
|
|
230
|
+
this.surveyReportExtended = new SurveyReportExtendedService(this.request);
|
|
231
|
+
this.surveys = new SurveysService(this.request);
|
|
232
|
+
this.tenants = new TenantsService(this.request);
|
|
233
|
+
this.tenantWebsiteSettings = new TenantWebsiteSettingsService(this.request);
|
|
234
|
+
this.timezone = new TimezoneService(this.request);
|
|
235
|
+
this.totalRevenueReport = new TotalRevenueReportService(this.request);
|
|
236
|
+
this.users = new UsersService(this.request);
|
|
237
|
+
this.venues = new VenuesService(this.request);
|
|
238
|
+
this.venuesReport = new VenuesReportService(this.request);
|
|
239
|
+
this.waitlistActivity = new WaitlistActivityService(this.request);
|
|
240
|
+
this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
|
|
241
|
+
}
|
|
242
|
+
}
|