reach-api-sdk 1.0.13 → 1.0.14
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 +306 -1
- package/dist/reach-sdk.js +36 -0
- package/package.json +1 -1
- package/src/definition/swagger.yaml +453 -0
- package/src/index.ts +3 -0
- package/src/models/CreateOffer.ts +18 -0
- package/src/models/CreateVenue.ts +42 -0
- package/src/models/ScheduledSessionPost.ts +12 -0
- package/src/models/ScheduledSessionSchedulePost.ts +24 -0
- package/src/models/SessionCreate.ts +104 -0
- package/src/models/TenantPatch.ts +52 -0
- package/src/models/TenantPost.ts +20 -0
- package/src/models/TenantWebsiteSettingPatch.ts +32 -0
- package/src/services/SessionsService.ts +44 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -15594,6 +15594,18 @@ type ScheduledSessionPost = {
|
|
|
15594
15594
|
* Gets or sets the tenant Id.
|
|
15595
15595
|
*/
|
|
15596
15596
|
tenantId: string;
|
|
15597
|
+
/**
|
|
15598
|
+
* Gets or sets the session id.
|
|
15599
|
+
*/
|
|
15600
|
+
sessionId?: string | null;
|
|
15601
|
+
/**
|
|
15602
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
15603
|
+
*/
|
|
15604
|
+
startDateTime?: string | null;
|
|
15605
|
+
/**
|
|
15606
|
+
* Gets or sets the scheduled session duration.
|
|
15607
|
+
*/
|
|
15608
|
+
durationMinutes?: number;
|
|
15597
15609
|
};
|
|
15598
15610
|
|
|
15599
15611
|
/**
|
|
@@ -17720,6 +17732,58 @@ type TenantPatch = {
|
|
|
17720
17732
|
* Gets or sets the Id.
|
|
17721
17733
|
*/
|
|
17722
17734
|
id: string;
|
|
17735
|
+
/**
|
|
17736
|
+
* Gets or sets the name of the organisation.
|
|
17737
|
+
*/
|
|
17738
|
+
name?: string | null;
|
|
17739
|
+
/**
|
|
17740
|
+
* Gets or sets the organisations contact email address.
|
|
17741
|
+
*/
|
|
17742
|
+
contactEmail?: string | null;
|
|
17743
|
+
/**
|
|
17744
|
+
* Gets or sets the organisation logo url.
|
|
17745
|
+
*/
|
|
17746
|
+
logoUrl?: string | null;
|
|
17747
|
+
/**
|
|
17748
|
+
* Gets or sets the organisations country id.
|
|
17749
|
+
*/
|
|
17750
|
+
countryId?: number | null;
|
|
17751
|
+
/**
|
|
17752
|
+
* Gets or sets the tenants time zone.
|
|
17753
|
+
*/
|
|
17754
|
+
timeZoneTz?: string | null;
|
|
17755
|
+
/**
|
|
17756
|
+
* Gets or sets the organisations social media Urls.
|
|
17757
|
+
*/
|
|
17758
|
+
facebookUrl?: string | null;
|
|
17759
|
+
/**
|
|
17760
|
+
* Gets or sets the organisations social media Urls.
|
|
17761
|
+
*/
|
|
17762
|
+
twitterUrl?: string | null;
|
|
17763
|
+
/**
|
|
17764
|
+
* Gets or sets the organisations social media Urls.
|
|
17765
|
+
*/
|
|
17766
|
+
instagramUrl?: string | null;
|
|
17767
|
+
/**
|
|
17768
|
+
* Gets or sets a value indicating whether the tenant is using a custom cancellation policy.
|
|
17769
|
+
*/
|
|
17770
|
+
useCustomCancellationPolicy?: boolean | null;
|
|
17771
|
+
/**
|
|
17772
|
+
* Gets or sets the custom policy url.
|
|
17773
|
+
*/
|
|
17774
|
+
customPolicyUrl?: string | null;
|
|
17775
|
+
/**
|
|
17776
|
+
* Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
17777
|
+
*/
|
|
17778
|
+
allowStripeSubAccounts?: boolean | null;
|
|
17779
|
+
/**
|
|
17780
|
+
* Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
17781
|
+
*/
|
|
17782
|
+
allowPaymentFallBack?: boolean | null;
|
|
17783
|
+
/**
|
|
17784
|
+
* Gets or sets a value indicating whether the openactive feed is enabled for the tenant.
|
|
17785
|
+
*/
|
|
17786
|
+
openActiveFeedEnabled?: boolean | null;
|
|
17723
17787
|
};
|
|
17724
17788
|
|
|
17725
17789
|
/**
|
|
@@ -17730,6 +17794,26 @@ type TenantPost = {
|
|
|
17730
17794
|
* Gets or sets the tenant Id.
|
|
17731
17795
|
*/
|
|
17732
17796
|
tenantId: string;
|
|
17797
|
+
/**
|
|
17798
|
+
* Gets or sets the Id.
|
|
17799
|
+
*/
|
|
17800
|
+
id?: string;
|
|
17801
|
+
/**
|
|
17802
|
+
* Gets or sets the name of the organisation.
|
|
17803
|
+
*/
|
|
17804
|
+
name?: string | null;
|
|
17805
|
+
/**
|
|
17806
|
+
* Gets or sets the organisations contact email address.
|
|
17807
|
+
*/
|
|
17808
|
+
contactEmail?: string | null;
|
|
17809
|
+
/**
|
|
17810
|
+
* Gets or sets the organisations country id.
|
|
17811
|
+
*/
|
|
17812
|
+
countryId?: number | null;
|
|
17813
|
+
/**
|
|
17814
|
+
* Gets or sets the tenants time zone.
|
|
17815
|
+
*/
|
|
17816
|
+
timeZoneTz?: string | null;
|
|
17733
17817
|
};
|
|
17734
17818
|
|
|
17735
17819
|
declare class PublicTenantsService {
|
|
@@ -19715,6 +19799,30 @@ type ScheduledSessionSchedulePost = {
|
|
|
19715
19799
|
* Gets or sets the tenant Id.
|
|
19716
19800
|
*/
|
|
19717
19801
|
tenantId: string;
|
|
19802
|
+
/**
|
|
19803
|
+
* Gets or sets the session id.
|
|
19804
|
+
*/
|
|
19805
|
+
sessionId?: string | null;
|
|
19806
|
+
/**
|
|
19807
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
19808
|
+
*/
|
|
19809
|
+
startDateTime?: string | null;
|
|
19810
|
+
/**
|
|
19811
|
+
* Gets or sets the scheduled session duration.
|
|
19812
|
+
*/
|
|
19813
|
+
durationMinutes?: number;
|
|
19814
|
+
/**
|
|
19815
|
+
* Gets or sets the schedules evaluated rule string.
|
|
19816
|
+
*/
|
|
19817
|
+
rRuleString?: string | null;
|
|
19818
|
+
/**
|
|
19819
|
+
* Gets or sets the schedules end date.
|
|
19820
|
+
*/
|
|
19821
|
+
recurUntil?: string | null;
|
|
19822
|
+
/**
|
|
19823
|
+
* Gets or sets a value indicating whether the schedule should recur indefinately.
|
|
19824
|
+
*/
|
|
19825
|
+
recurIndefinately?: boolean | null;
|
|
19718
19826
|
};
|
|
19719
19827
|
|
|
19720
19828
|
declare class ScheduledSessionsSchedulesService {
|
|
@@ -20034,6 +20142,154 @@ declare class ScheduledSessionsSchedulesService {
|
|
|
20034
20142
|
}): CancelablePromise<boolean>;
|
|
20035
20143
|
}
|
|
20036
20144
|
|
|
20145
|
+
/**
|
|
20146
|
+
* email settings.
|
|
20147
|
+
*/
|
|
20148
|
+
type CreateOffer = {
|
|
20149
|
+
/**
|
|
20150
|
+
* Gets or sets the offer name.
|
|
20151
|
+
*/
|
|
20152
|
+
name?: string | null;
|
|
20153
|
+
/**
|
|
20154
|
+
* Gets or sets the offer total/gross price.
|
|
20155
|
+
*/
|
|
20156
|
+
priceTotal?: number | null;
|
|
20157
|
+
};
|
|
20158
|
+
|
|
20159
|
+
/**
|
|
20160
|
+
* Post model for venue.
|
|
20161
|
+
*/
|
|
20162
|
+
type CreateVenue = {
|
|
20163
|
+
/**
|
|
20164
|
+
* Gets or sets the venues name.
|
|
20165
|
+
*/
|
|
20166
|
+
name?: string | null;
|
|
20167
|
+
/**
|
|
20168
|
+
* Gets or sets the venues street address.
|
|
20169
|
+
*/
|
|
20170
|
+
streetAddress?: string | null;
|
|
20171
|
+
/**
|
|
20172
|
+
* Gets or sets the venues locality.
|
|
20173
|
+
*/
|
|
20174
|
+
addressLocality?: string | null;
|
|
20175
|
+
/**
|
|
20176
|
+
* Gets or sets the venues region.
|
|
20177
|
+
*/
|
|
20178
|
+
addressRegion?: string | null;
|
|
20179
|
+
/**
|
|
20180
|
+
* Gets or sets the venues postcode.
|
|
20181
|
+
*/
|
|
20182
|
+
addressPostalcode?: string | null;
|
|
20183
|
+
/**
|
|
20184
|
+
* Gets or sets the venues Country id.
|
|
20185
|
+
*/
|
|
20186
|
+
countryId?: number;
|
|
20187
|
+
/**
|
|
20188
|
+
* Gets or sets the venues lat.
|
|
20189
|
+
*/
|
|
20190
|
+
lat?: number;
|
|
20191
|
+
/**
|
|
20192
|
+
* Gets or sets the venues lng.
|
|
20193
|
+
*/
|
|
20194
|
+
lng?: number;
|
|
20195
|
+
};
|
|
20196
|
+
|
|
20197
|
+
/**
|
|
20198
|
+
* Post model for session inserts.
|
|
20199
|
+
*/
|
|
20200
|
+
type SessionCreate = {
|
|
20201
|
+
/**
|
|
20202
|
+
* Gets or sets the tenant Id.
|
|
20203
|
+
*/
|
|
20204
|
+
tenantId: string;
|
|
20205
|
+
/**
|
|
20206
|
+
* Gets or sets the session id.
|
|
20207
|
+
*/
|
|
20208
|
+
id?: string | null;
|
|
20209
|
+
/**
|
|
20210
|
+
* Gets or sets the session venue id.
|
|
20211
|
+
*/
|
|
20212
|
+
venueId?: string | null;
|
|
20213
|
+
/**
|
|
20214
|
+
* Gets or sets the session activity id.
|
|
20215
|
+
*/
|
|
20216
|
+
activityId?: number | null;
|
|
20217
|
+
/**
|
|
20218
|
+
* Gets or sets the session programme id.
|
|
20219
|
+
*/
|
|
20220
|
+
programmeId?: string | null;
|
|
20221
|
+
/**
|
|
20222
|
+
* Gets or sets the session survey id.
|
|
20223
|
+
*/
|
|
20224
|
+
surveyId?: string | null;
|
|
20225
|
+
/**
|
|
20226
|
+
* Gets or sets the course post completion survey id.
|
|
20227
|
+
*/
|
|
20228
|
+
postCompletionSurveyId?: string | null;
|
|
20229
|
+
/**
|
|
20230
|
+
* Gets or sets the session name.
|
|
20231
|
+
*/
|
|
20232
|
+
name?: string | null;
|
|
20233
|
+
/**
|
|
20234
|
+
* Gets or sets the session description.
|
|
20235
|
+
*/
|
|
20236
|
+
description?: string | null;
|
|
20237
|
+
/**
|
|
20238
|
+
* Gets or sets the session image url.
|
|
20239
|
+
*/
|
|
20240
|
+
imageUrl?: string | null;
|
|
20241
|
+
/**
|
|
20242
|
+
* Gets or sets the meeting instructions.
|
|
20243
|
+
*/
|
|
20244
|
+
meetingInstructions?: string | null;
|
|
20245
|
+
/**
|
|
20246
|
+
* Gets or sets the capacity.
|
|
20247
|
+
*/
|
|
20248
|
+
capacity?: number | null;
|
|
20249
|
+
/**
|
|
20250
|
+
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
20251
|
+
*/
|
|
20252
|
+
capacityUnlimited?: boolean | null;
|
|
20253
|
+
gender?: SessionGender;
|
|
20254
|
+
/**
|
|
20255
|
+
* Gets or sets the min age.
|
|
20256
|
+
*/
|
|
20257
|
+
minAge?: number | null;
|
|
20258
|
+
/**
|
|
20259
|
+
* Gets or sets the max age.
|
|
20260
|
+
*/
|
|
20261
|
+
maxAge?: number | null;
|
|
20262
|
+
/**
|
|
20263
|
+
* Gets or sets additional support options.
|
|
20264
|
+
*/
|
|
20265
|
+
additionalSupport?: Array<string> | null;
|
|
20266
|
+
/**
|
|
20267
|
+
* Gets or sets the contact name.
|
|
20268
|
+
*/
|
|
20269
|
+
contactName?: string | null;
|
|
20270
|
+
/**
|
|
20271
|
+
* Gets or sets the contact phone.
|
|
20272
|
+
*/
|
|
20273
|
+
contactPhone?: string | null;
|
|
20274
|
+
/**
|
|
20275
|
+
* Gets or sets the contact email.
|
|
20276
|
+
*/
|
|
20277
|
+
contactEmail?: string | null;
|
|
20278
|
+
venue?: CreateVenue;
|
|
20279
|
+
/**
|
|
20280
|
+
* Gets or sets the the schedule ids to be made active.
|
|
20281
|
+
*/
|
|
20282
|
+
scheduleIds?: Array<string> | null;
|
|
20283
|
+
/**
|
|
20284
|
+
* Gets or sets the schedule ids to be made active.
|
|
20285
|
+
*/
|
|
20286
|
+
scheduledSessionIds?: Array<string> | null;
|
|
20287
|
+
/**
|
|
20288
|
+
* Gets or sets the session offers.
|
|
20289
|
+
*/
|
|
20290
|
+
offers?: Array<CreateOffer> | null;
|
|
20291
|
+
};
|
|
20292
|
+
|
|
20037
20293
|
declare class SessionsService {
|
|
20038
20294
|
readonly httpRequest: BaseHttpRequest;
|
|
20039
20295
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -20059,6 +20315,23 @@ declare class SessionsService {
|
|
|
20059
20315
|
*/
|
|
20060
20316
|
sessionId: string;
|
|
20061
20317
|
}): CancelablePromise<Session>;
|
|
20318
|
+
/**
|
|
20319
|
+
* Brings the session online />.
|
|
20320
|
+
* @returns Session Success
|
|
20321
|
+
* @throws ApiError
|
|
20322
|
+
*/
|
|
20323
|
+
create({ requestBody, }: {
|
|
20324
|
+
/**
|
|
20325
|
+
* The session to be created.
|
|
20326
|
+
*/
|
|
20327
|
+
requestBody?: SessionCreate;
|
|
20328
|
+
}): CancelablePromise<Session>;
|
|
20329
|
+
/**
|
|
20330
|
+
* Generates an id for use in a Session create client side process />.
|
|
20331
|
+
* @returns string Success
|
|
20332
|
+
* @throws ApiError
|
|
20333
|
+
*/
|
|
20334
|
+
generateId(): CancelablePromise<string>;
|
|
20062
20335
|
/**
|
|
20063
20336
|
* Gets the resource by its Id.
|
|
20064
20337
|
* @returns Session Success
|
|
@@ -24045,6 +24318,38 @@ type TenantWebsiteSettingPatch = {
|
|
|
24045
24318
|
* Gets or sets the Id.
|
|
24046
24319
|
*/
|
|
24047
24320
|
id: string;
|
|
24321
|
+
/**
|
|
24322
|
+
* Gets or sets the website logo url.
|
|
24323
|
+
*/
|
|
24324
|
+
logoUrl?: string | null;
|
|
24325
|
+
/**
|
|
24326
|
+
* Gets or sets the website home url.
|
|
24327
|
+
*/
|
|
24328
|
+
homeUrl?: string | null;
|
|
24329
|
+
/**
|
|
24330
|
+
* Gets or sets the website primary hex.
|
|
24331
|
+
*/
|
|
24332
|
+
primaryHex?: string | null;
|
|
24333
|
+
/**
|
|
24334
|
+
* Gets or sets the banner title.
|
|
24335
|
+
*/
|
|
24336
|
+
bannerTitle?: string | null;
|
|
24337
|
+
/**
|
|
24338
|
+
* Gets or sets the website custom terms.
|
|
24339
|
+
*/
|
|
24340
|
+
customTerms?: string | null;
|
|
24341
|
+
/**
|
|
24342
|
+
* Gets or sets the website page notice.
|
|
24343
|
+
*/
|
|
24344
|
+
pageNotice?: string | null;
|
|
24345
|
+
/**
|
|
24346
|
+
* Gets or sets the website analytics property id.
|
|
24347
|
+
*/
|
|
24348
|
+
analyticsPropertyId?: string | null;
|
|
24349
|
+
/**
|
|
24350
|
+
* Gets or sets the website facebook pixel id.
|
|
24351
|
+
*/
|
|
24352
|
+
facebookPixelId?: string | null;
|
|
24048
24353
|
};
|
|
24049
24354
|
|
|
24050
24355
|
/**
|
|
@@ -26711,4 +27016,4 @@ type ValidationResultModel = {
|
|
|
26711
27016
|
readonly errors?: Array<ValidationError> | null;
|
|
26712
27017
|
};
|
|
26713
27018
|
|
|
26714
|
-
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveySubmissionModel, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
|
27019
|
+
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, CreateOffer, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveySubmissionModel, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
package/dist/reach-sdk.js
CHANGED
|
@@ -15338,6 +15338,42 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
15338
15338
|
}
|
|
15339
15339
|
});
|
|
15340
15340
|
}
|
|
15341
|
+
/**
|
|
15342
|
+
* Brings the session online />.
|
|
15343
|
+
* @returns Session Success
|
|
15344
|
+
* @throws ApiError
|
|
15345
|
+
*/
|
|
15346
|
+
create({
|
|
15347
|
+
requestBody
|
|
15348
|
+
}) {
|
|
15349
|
+
return this.httpRequest.request({
|
|
15350
|
+
method: "POST",
|
|
15351
|
+
url: "/api/sessions/create",
|
|
15352
|
+
body: requestBody,
|
|
15353
|
+
mediaType: "application/json",
|
|
15354
|
+
errors: {
|
|
15355
|
+
400: `Bad Request`,
|
|
15356
|
+
422: `Client Error`,
|
|
15357
|
+
500: `Server Error`
|
|
15358
|
+
}
|
|
15359
|
+
});
|
|
15360
|
+
}
|
|
15361
|
+
/**
|
|
15362
|
+
* Generates an id for use in a Session create client side process />.
|
|
15363
|
+
* @returns string Success
|
|
15364
|
+
* @throws ApiError
|
|
15365
|
+
*/
|
|
15366
|
+
generateId() {
|
|
15367
|
+
return this.httpRequest.request({
|
|
15368
|
+
method: "GET",
|
|
15369
|
+
url: "/api/sessions/create/generate-id",
|
|
15370
|
+
errors: {
|
|
15371
|
+
400: `Bad Request`,
|
|
15372
|
+
422: `Client Error`,
|
|
15373
|
+
500: `Server Error`
|
|
15374
|
+
}
|
|
15375
|
+
});
|
|
15376
|
+
}
|
|
15341
15377
|
/**
|
|
15342
15378
|
* Gets the resource by its Id.
|
|
15343
15379
|
* @returns Session Success
|
package/package.json
CHANGED
|
@@ -44021,6 +44021,131 @@ paths:
|
|
|
44021
44021
|
text/json:
|
|
44022
44022
|
schema:
|
|
44023
44023
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
44024
|
+
/api/sessions/create:
|
|
44025
|
+
post:
|
|
44026
|
+
tags:
|
|
44027
|
+
- Sessions
|
|
44028
|
+
summary: Brings the session online />.
|
|
44029
|
+
operationId: Create
|
|
44030
|
+
requestBody:
|
|
44031
|
+
description: The session to be created.
|
|
44032
|
+
content:
|
|
44033
|
+
application/json:
|
|
44034
|
+
schema:
|
|
44035
|
+
$ref: '#/components/schemas/SessionCreate'
|
|
44036
|
+
text/json:
|
|
44037
|
+
schema:
|
|
44038
|
+
$ref: '#/components/schemas/SessionCreate'
|
|
44039
|
+
application/*+json:
|
|
44040
|
+
schema:
|
|
44041
|
+
$ref: '#/components/schemas/SessionCreate'
|
|
44042
|
+
responses:
|
|
44043
|
+
'200':
|
|
44044
|
+
description: Success
|
|
44045
|
+
content:
|
|
44046
|
+
text/plain:
|
|
44047
|
+
schema:
|
|
44048
|
+
$ref: '#/components/schemas/Session'
|
|
44049
|
+
application/json:
|
|
44050
|
+
schema:
|
|
44051
|
+
$ref: '#/components/schemas/Session'
|
|
44052
|
+
text/json:
|
|
44053
|
+
schema:
|
|
44054
|
+
$ref: '#/components/schemas/Session'
|
|
44055
|
+
'400':
|
|
44056
|
+
description: Bad Request
|
|
44057
|
+
content:
|
|
44058
|
+
text/plain:
|
|
44059
|
+
schema:
|
|
44060
|
+
$ref: '#/components/schemas/ReachError'
|
|
44061
|
+
application/json:
|
|
44062
|
+
schema:
|
|
44063
|
+
$ref: '#/components/schemas/ReachError'
|
|
44064
|
+
text/json:
|
|
44065
|
+
schema:
|
|
44066
|
+
$ref: '#/components/schemas/ReachError'
|
|
44067
|
+
'500':
|
|
44068
|
+
description: Server Error
|
|
44069
|
+
content:
|
|
44070
|
+
text/plain:
|
|
44071
|
+
schema:
|
|
44072
|
+
$ref: '#/components/schemas/ReachError'
|
|
44073
|
+
application/json:
|
|
44074
|
+
schema:
|
|
44075
|
+
$ref: '#/components/schemas/ReachError'
|
|
44076
|
+
text/json:
|
|
44077
|
+
schema:
|
|
44078
|
+
$ref: '#/components/schemas/ReachError'
|
|
44079
|
+
'422':
|
|
44080
|
+
description: Client Error
|
|
44081
|
+
content:
|
|
44082
|
+
text/plain:
|
|
44083
|
+
schema:
|
|
44084
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44085
|
+
application/json:
|
|
44086
|
+
schema:
|
|
44087
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44088
|
+
text/json:
|
|
44089
|
+
schema:
|
|
44090
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44091
|
+
/api/sessions/create/generate-id:
|
|
44092
|
+
get:
|
|
44093
|
+
tags:
|
|
44094
|
+
- Sessions
|
|
44095
|
+
summary: Generates an id for use in a Session create client side process />.
|
|
44096
|
+
operationId: GenerateId
|
|
44097
|
+
responses:
|
|
44098
|
+
'200':
|
|
44099
|
+
description: Success
|
|
44100
|
+
content:
|
|
44101
|
+
text/plain:
|
|
44102
|
+
schema:
|
|
44103
|
+
type: string
|
|
44104
|
+
format: uuid
|
|
44105
|
+
application/json:
|
|
44106
|
+
schema:
|
|
44107
|
+
type: string
|
|
44108
|
+
format: uuid
|
|
44109
|
+
text/json:
|
|
44110
|
+
schema:
|
|
44111
|
+
type: string
|
|
44112
|
+
format: uuid
|
|
44113
|
+
'400':
|
|
44114
|
+
description: Bad Request
|
|
44115
|
+
content:
|
|
44116
|
+
text/plain:
|
|
44117
|
+
schema:
|
|
44118
|
+
$ref: '#/components/schemas/ReachError'
|
|
44119
|
+
application/json:
|
|
44120
|
+
schema:
|
|
44121
|
+
$ref: '#/components/schemas/ReachError'
|
|
44122
|
+
text/json:
|
|
44123
|
+
schema:
|
|
44124
|
+
$ref: '#/components/schemas/ReachError'
|
|
44125
|
+
'500':
|
|
44126
|
+
description: Server Error
|
|
44127
|
+
content:
|
|
44128
|
+
text/plain:
|
|
44129
|
+
schema:
|
|
44130
|
+
$ref: '#/components/schemas/ReachError'
|
|
44131
|
+
application/json:
|
|
44132
|
+
schema:
|
|
44133
|
+
$ref: '#/components/schemas/ReachError'
|
|
44134
|
+
text/json:
|
|
44135
|
+
schema:
|
|
44136
|
+
$ref: '#/components/schemas/ReachError'
|
|
44137
|
+
'422':
|
|
44138
|
+
description: Client Error
|
|
44139
|
+
content:
|
|
44140
|
+
text/plain:
|
|
44141
|
+
schema:
|
|
44142
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44143
|
+
application/json:
|
|
44144
|
+
schema:
|
|
44145
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44146
|
+
text/json:
|
|
44147
|
+
schema:
|
|
44148
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
44024
44149
|
'/api/sessions/{id}':
|
|
44025
44150
|
get:
|
|
44026
44151
|
tags:
|
|
@@ -64214,6 +64339,58 @@ components:
|
|
|
64214
64339
|
format: uuid
|
|
64215
64340
|
additionalProperties: false
|
|
64216
64341
|
description: Post model for course session schedule inserts.
|
|
64342
|
+
CreateOffer:
|
|
64343
|
+
type: object
|
|
64344
|
+
properties:
|
|
64345
|
+
name:
|
|
64346
|
+
type: string
|
|
64347
|
+
description: Gets or sets the offer name.
|
|
64348
|
+
nullable: true
|
|
64349
|
+
priceTotal:
|
|
64350
|
+
type: number
|
|
64351
|
+
description: Gets or sets the offer total/gross price.
|
|
64352
|
+
format: double
|
|
64353
|
+
nullable: true
|
|
64354
|
+
additionalProperties: false
|
|
64355
|
+
description: email settings.
|
|
64356
|
+
CreateVenue:
|
|
64357
|
+
type: object
|
|
64358
|
+
properties:
|
|
64359
|
+
name:
|
|
64360
|
+
type: string
|
|
64361
|
+
description: Gets or sets the venues name.
|
|
64362
|
+
nullable: true
|
|
64363
|
+
streetAddress:
|
|
64364
|
+
type: string
|
|
64365
|
+
description: Gets or sets the venues street address.
|
|
64366
|
+
nullable: true
|
|
64367
|
+
addressLocality:
|
|
64368
|
+
type: string
|
|
64369
|
+
description: Gets or sets the venues locality.
|
|
64370
|
+
nullable: true
|
|
64371
|
+
addressRegion:
|
|
64372
|
+
type: string
|
|
64373
|
+
description: Gets or sets the venues region.
|
|
64374
|
+
nullable: true
|
|
64375
|
+
addressPostalcode:
|
|
64376
|
+
type: string
|
|
64377
|
+
description: Gets or sets the venues postcode.
|
|
64378
|
+
nullable: true
|
|
64379
|
+
countryId:
|
|
64380
|
+
type: integer
|
|
64381
|
+
description: Gets or sets the venues Country id.
|
|
64382
|
+
format: int32
|
|
64383
|
+
default: 0
|
|
64384
|
+
lat:
|
|
64385
|
+
type: number
|
|
64386
|
+
description: Gets or sets the venues lat.
|
|
64387
|
+
format: float
|
|
64388
|
+
lng:
|
|
64389
|
+
type: number
|
|
64390
|
+
description: Gets or sets the venues lng.
|
|
64391
|
+
format: float
|
|
64392
|
+
additionalProperties: false
|
|
64393
|
+
description: Post model for venue.
|
|
64217
64394
|
Customer:
|
|
64218
64395
|
type: object
|
|
64219
64396
|
properties:
|
|
@@ -67559,6 +67736,21 @@ components:
|
|
|
67559
67736
|
type: string
|
|
67560
67737
|
description: Gets or sets the tenant Id.
|
|
67561
67738
|
format: uuid
|
|
67739
|
+
sessionId:
|
|
67740
|
+
type: string
|
|
67741
|
+
description: Gets or sets the session id.
|
|
67742
|
+
format: uuid
|
|
67743
|
+
nullable: true
|
|
67744
|
+
startDateTime:
|
|
67745
|
+
type: string
|
|
67746
|
+
description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
67747
|
+
format: date-time
|
|
67748
|
+
nullable: true
|
|
67749
|
+
durationMinutes:
|
|
67750
|
+
type: integer
|
|
67751
|
+
description: Gets or sets the scheduled session duration.
|
|
67752
|
+
format: int32
|
|
67753
|
+
default: 0
|
|
67562
67754
|
additionalProperties: false
|
|
67563
67755
|
description: Post model for scheduled session inserts.
|
|
67564
67756
|
ScheduledSessionSchedule:
|
|
@@ -67688,6 +67880,34 @@ components:
|
|
|
67688
67880
|
type: string
|
|
67689
67881
|
description: Gets or sets the tenant Id.
|
|
67690
67882
|
format: uuid
|
|
67883
|
+
sessionId:
|
|
67884
|
+
type: string
|
|
67885
|
+
description: Gets or sets the session id.
|
|
67886
|
+
format: uuid
|
|
67887
|
+
nullable: true
|
|
67888
|
+
startDateTime:
|
|
67889
|
+
type: string
|
|
67890
|
+
description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
67891
|
+
format: date-time
|
|
67892
|
+
nullable: true
|
|
67893
|
+
durationMinutes:
|
|
67894
|
+
type: integer
|
|
67895
|
+
description: Gets or sets the scheduled session duration.
|
|
67896
|
+
format: int32
|
|
67897
|
+
default: 0
|
|
67898
|
+
rRuleString:
|
|
67899
|
+
type: string
|
|
67900
|
+
description: Gets or sets the schedules evaluated rule string.
|
|
67901
|
+
nullable: true
|
|
67902
|
+
recurUntil:
|
|
67903
|
+
type: string
|
|
67904
|
+
description: Gets or sets the schedules end date.
|
|
67905
|
+
format: date-time
|
|
67906
|
+
nullable: true
|
|
67907
|
+
recurIndefinately:
|
|
67908
|
+
type: boolean
|
|
67909
|
+
description: Gets or sets a value indicating whether the schedule should recur indefinately.
|
|
67910
|
+
nullable: true
|
|
67691
67911
|
additionalProperties: false
|
|
67692
67912
|
description: Post model for scheduled session schedule inserts.
|
|
67693
67913
|
ScheduledSessionSearchSortBy:
|
|
@@ -67910,6 +68130,125 @@ components:
|
|
|
67910
68130
|
nullable: true
|
|
67911
68131
|
additionalProperties: false
|
|
67912
68132
|
description: 'Represents a Reach.Models.Session within a Reach.Models.Session.Venue, for example, tennis courts within a leisure centre.'
|
|
68133
|
+
SessionCreate:
|
|
68134
|
+
required:
|
|
68135
|
+
- tenantId
|
|
68136
|
+
type: object
|
|
68137
|
+
properties:
|
|
68138
|
+
tenantId:
|
|
68139
|
+
type: string
|
|
68140
|
+
description: Gets or sets the tenant Id.
|
|
68141
|
+
format: uuid
|
|
68142
|
+
id:
|
|
68143
|
+
type: string
|
|
68144
|
+
description: Gets or sets the session id.
|
|
68145
|
+
format: uuid
|
|
68146
|
+
nullable: true
|
|
68147
|
+
venueId:
|
|
68148
|
+
type: string
|
|
68149
|
+
description: Gets or sets the session venue id.
|
|
68150
|
+
format: uuid
|
|
68151
|
+
nullable: true
|
|
68152
|
+
activityId:
|
|
68153
|
+
type: integer
|
|
68154
|
+
description: Gets or sets the session activity id.
|
|
68155
|
+
format: int32
|
|
68156
|
+
nullable: true
|
|
68157
|
+
programmeId:
|
|
68158
|
+
type: string
|
|
68159
|
+
description: Gets or sets the session programme id.
|
|
68160
|
+
format: uuid
|
|
68161
|
+
nullable: true
|
|
68162
|
+
surveyId:
|
|
68163
|
+
type: string
|
|
68164
|
+
description: Gets or sets the session survey id.
|
|
68165
|
+
format: uuid
|
|
68166
|
+
nullable: true
|
|
68167
|
+
postCompletionSurveyId:
|
|
68168
|
+
type: string
|
|
68169
|
+
description: Gets or sets the course post completion survey id.
|
|
68170
|
+
format: uuid
|
|
68171
|
+
nullable: true
|
|
68172
|
+
name:
|
|
68173
|
+
type: string
|
|
68174
|
+
description: Gets or sets the session name.
|
|
68175
|
+
nullable: true
|
|
68176
|
+
description:
|
|
68177
|
+
type: string
|
|
68178
|
+
description: Gets or sets the session description.
|
|
68179
|
+
nullable: true
|
|
68180
|
+
imageUrl:
|
|
68181
|
+
type: string
|
|
68182
|
+
description: Gets or sets the session image url.
|
|
68183
|
+
format: uri
|
|
68184
|
+
nullable: true
|
|
68185
|
+
meetingInstructions:
|
|
68186
|
+
type: string
|
|
68187
|
+
description: Gets or sets the meeting instructions.
|
|
68188
|
+
nullable: true
|
|
68189
|
+
capacity:
|
|
68190
|
+
type: integer
|
|
68191
|
+
description: Gets or sets the capacity.
|
|
68192
|
+
format: int32
|
|
68193
|
+
nullable: true
|
|
68194
|
+
capacityUnlimited:
|
|
68195
|
+
type: boolean
|
|
68196
|
+
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68197
|
+
nullable: true
|
|
68198
|
+
gender:
|
|
68199
|
+
$ref: '#/components/schemas/SessionGender'
|
|
68200
|
+
minAge:
|
|
68201
|
+
type: integer
|
|
68202
|
+
description: Gets or sets the min age.
|
|
68203
|
+
format: int32
|
|
68204
|
+
nullable: true
|
|
68205
|
+
maxAge:
|
|
68206
|
+
type: integer
|
|
68207
|
+
description: Gets or sets the max age.
|
|
68208
|
+
format: int32
|
|
68209
|
+
nullable: true
|
|
68210
|
+
additionalSupport:
|
|
68211
|
+
type: array
|
|
68212
|
+
items:
|
|
68213
|
+
type: string
|
|
68214
|
+
description: Gets or sets additional support options.
|
|
68215
|
+
nullable: true
|
|
68216
|
+
contactName:
|
|
68217
|
+
type: string
|
|
68218
|
+
description: Gets or sets the contact name.
|
|
68219
|
+
nullable: true
|
|
68220
|
+
contactPhone:
|
|
68221
|
+
type: string
|
|
68222
|
+
description: Gets or sets the contact phone.
|
|
68223
|
+
nullable: true
|
|
68224
|
+
contactEmail:
|
|
68225
|
+
type: string
|
|
68226
|
+
description: Gets or sets the contact email.
|
|
68227
|
+
nullable: true
|
|
68228
|
+
venue:
|
|
68229
|
+
$ref: '#/components/schemas/CreateVenue'
|
|
68230
|
+
scheduleIds:
|
|
68231
|
+
type: array
|
|
68232
|
+
items:
|
|
68233
|
+
type: string
|
|
68234
|
+
format: uuid
|
|
68235
|
+
description: Gets or sets the the schedule ids to be made active.
|
|
68236
|
+
nullable: true
|
|
68237
|
+
scheduledSessionIds:
|
|
68238
|
+
type: array
|
|
68239
|
+
items:
|
|
68240
|
+
type: string
|
|
68241
|
+
format: uuid
|
|
68242
|
+
description: Gets or sets the schedule ids to be made active.
|
|
68243
|
+
nullable: true
|
|
68244
|
+
offers:
|
|
68245
|
+
type: array
|
|
68246
|
+
items:
|
|
68247
|
+
$ref: '#/components/schemas/CreateOffer'
|
|
68248
|
+
description: Gets or sets the session offers.
|
|
68249
|
+
nullable: true
|
|
68250
|
+
additionalProperties: false
|
|
68251
|
+
description: Post model for session inserts.
|
|
67913
68252
|
SessionGender:
|
|
67914
68253
|
enum:
|
|
67915
68254
|
- Male
|
|
@@ -69609,6 +69948,64 @@ components:
|
|
|
69609
69948
|
type: string
|
|
69610
69949
|
description: Gets or sets the Id.
|
|
69611
69950
|
format: uuid
|
|
69951
|
+
name:
|
|
69952
|
+
type: string
|
|
69953
|
+
description: Gets or sets the name of the organisation.
|
|
69954
|
+
nullable: true
|
|
69955
|
+
contactEmail:
|
|
69956
|
+
type: string
|
|
69957
|
+
description: Gets or sets the organisations contact email address.
|
|
69958
|
+
nullable: true
|
|
69959
|
+
logoUrl:
|
|
69960
|
+
type: string
|
|
69961
|
+
description: Gets or sets the organisation logo url.
|
|
69962
|
+
format: uri
|
|
69963
|
+
nullable: true
|
|
69964
|
+
countryId:
|
|
69965
|
+
type: integer
|
|
69966
|
+
description: Gets or sets the organisations country id.
|
|
69967
|
+
format: int32
|
|
69968
|
+
nullable: true
|
|
69969
|
+
timeZoneTz:
|
|
69970
|
+
type: string
|
|
69971
|
+
description: Gets or sets the tenants time zone.
|
|
69972
|
+
nullable: true
|
|
69973
|
+
facebookUrl:
|
|
69974
|
+
type: string
|
|
69975
|
+
description: Gets or sets the organisations social media Urls.
|
|
69976
|
+
format: uri
|
|
69977
|
+
nullable: true
|
|
69978
|
+
twitterUrl:
|
|
69979
|
+
type: string
|
|
69980
|
+
description: Gets or sets the organisations social media Urls.
|
|
69981
|
+
format: uri
|
|
69982
|
+
nullable: true
|
|
69983
|
+
instagramUrl:
|
|
69984
|
+
type: string
|
|
69985
|
+
description: Gets or sets the organisations social media Urls.
|
|
69986
|
+
format: uri
|
|
69987
|
+
nullable: true
|
|
69988
|
+
useCustomCancellationPolicy:
|
|
69989
|
+
type: boolean
|
|
69990
|
+
description: Gets or sets a value indicating whether the tenant is using a custom cancellation policy.
|
|
69991
|
+
nullable: true
|
|
69992
|
+
customPolicyUrl:
|
|
69993
|
+
type: string
|
|
69994
|
+
description: Gets or sets the custom policy url.
|
|
69995
|
+
format: uri
|
|
69996
|
+
nullable: true
|
|
69997
|
+
allowStripeSubAccounts:
|
|
69998
|
+
type: boolean
|
|
69999
|
+
description: Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
70000
|
+
nullable: true
|
|
70001
|
+
allowPaymentFallBack:
|
|
70002
|
+
type: boolean
|
|
70003
|
+
description: Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
70004
|
+
nullable: true
|
|
70005
|
+
openActiveFeedEnabled:
|
|
70006
|
+
type: boolean
|
|
70007
|
+
description: Gets or sets a value indicating whether the openactive feed is enabled for the tenant.
|
|
70008
|
+
nullable: true
|
|
69612
70009
|
additionalProperties: false
|
|
69613
70010
|
description: Post model for tenant updates.
|
|
69614
70011
|
TenantPost:
|
|
@@ -69620,6 +70017,27 @@ components:
|
|
|
69620
70017
|
type: string
|
|
69621
70018
|
description: Gets or sets the tenant Id.
|
|
69622
70019
|
format: uuid
|
|
70020
|
+
id:
|
|
70021
|
+
type: string
|
|
70022
|
+
description: Gets or sets the Id.
|
|
70023
|
+
format: uuid
|
|
70024
|
+
name:
|
|
70025
|
+
type: string
|
|
70026
|
+
description: Gets or sets the name of the organisation.
|
|
70027
|
+
nullable: true
|
|
70028
|
+
contactEmail:
|
|
70029
|
+
type: string
|
|
70030
|
+
description: Gets or sets the organisations contact email address.
|
|
70031
|
+
nullable: true
|
|
70032
|
+
countryId:
|
|
70033
|
+
type: integer
|
|
70034
|
+
description: Gets or sets the organisations country id.
|
|
70035
|
+
format: int32
|
|
70036
|
+
nullable: true
|
|
70037
|
+
timeZoneTz:
|
|
70038
|
+
type: string
|
|
70039
|
+
description: Gets or sets the tenants time zone.
|
|
70040
|
+
nullable: true
|
|
69623
70041
|
additionalProperties: false
|
|
69624
70042
|
description: Post model for tenant inserts.
|
|
69625
70043
|
TenantWebsiteSetting:
|
|
@@ -69738,6 +70156,41 @@ components:
|
|
|
69738
70156
|
type: string
|
|
69739
70157
|
description: Gets or sets the Id.
|
|
69740
70158
|
format: uuid
|
|
70159
|
+
logoUrl:
|
|
70160
|
+
type: string
|
|
70161
|
+
description: Gets or sets the website logo url.
|
|
70162
|
+
format: uri
|
|
70163
|
+
nullable: true
|
|
70164
|
+
homeUrl:
|
|
70165
|
+
type: string
|
|
70166
|
+
description: Gets or sets the website home url.
|
|
70167
|
+
format: uri
|
|
70168
|
+
nullable: true
|
|
70169
|
+
primaryHex:
|
|
70170
|
+
type: string
|
|
70171
|
+
description: Gets or sets the website primary hex.
|
|
70172
|
+
nullable: true
|
|
70173
|
+
bannerTitle:
|
|
70174
|
+
type: string
|
|
70175
|
+
description: Gets or sets the banner title.
|
|
70176
|
+
nullable: true
|
|
70177
|
+
customTerms:
|
|
70178
|
+
type: string
|
|
70179
|
+
description: Gets or sets the website custom terms.
|
|
70180
|
+
format: uri
|
|
70181
|
+
nullable: true
|
|
70182
|
+
pageNotice:
|
|
70183
|
+
type: string
|
|
70184
|
+
description: Gets or sets the website page notice.
|
|
70185
|
+
nullable: true
|
|
70186
|
+
analyticsPropertyId:
|
|
70187
|
+
type: string
|
|
70188
|
+
description: Gets or sets the website analytics property id.
|
|
70189
|
+
nullable: true
|
|
70190
|
+
facebookPixelId:
|
|
70191
|
+
type: string
|
|
70192
|
+
description: Gets or sets the website facebook pixel id.
|
|
70193
|
+
nullable: true
|
|
69741
70194
|
additionalProperties: false
|
|
69742
70195
|
description: Post model for tenant website setting updates.
|
|
69743
70196
|
TenantWebsiteSettingPost:
|
package/src/index.ts
CHANGED
|
@@ -34,6 +34,8 @@ export type { CourseSessionSchedule } from './models/CourseSessionSchedule';
|
|
|
34
34
|
export type { CourseSessionSchedulePage } from './models/CourseSessionSchedulePage';
|
|
35
35
|
export type { CourseSessionSchedulePatch } from './models/CourseSessionSchedulePatch';
|
|
36
36
|
export type { CourseSessionSchedulePost } from './models/CourseSessionSchedulePost';
|
|
37
|
+
export type { CreateOffer } from './models/CreateOffer';
|
|
38
|
+
export type { CreateVenue } from './models/CreateVenue';
|
|
37
39
|
export type { Customer } from './models/Customer';
|
|
38
40
|
export { CustomerCancellationOption } from './models/CustomerCancellationOption';
|
|
39
41
|
export type { CustomerPage } from './models/CustomerPage';
|
|
@@ -168,6 +170,7 @@ export { ScheduledSessionSearchSortBy } from './models/ScheduledSessionSearchSor
|
|
|
168
170
|
export { ScheduleStatus } from './models/ScheduleStatus';
|
|
169
171
|
export { SearchSortOrderDirection } from './models/SearchSortOrderDirection';
|
|
170
172
|
export type { Session } from './models/Session';
|
|
173
|
+
export type { SessionCreate } from './models/SessionCreate';
|
|
171
174
|
export { SessionGender } from './models/SessionGender';
|
|
172
175
|
export type { SessionPage } from './models/SessionPage';
|
|
173
176
|
export type { SessionPatch } from './models/SessionPatch';
|
|
@@ -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
|
+
* email settings.
|
|
8
|
+
*/
|
|
9
|
+
export type CreateOffer = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the offer name.
|
|
12
|
+
*/
|
|
13
|
+
name?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the offer total/gross price.
|
|
16
|
+
*/
|
|
17
|
+
priceTotal?: number | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Post model for venue.
|
|
8
|
+
*/
|
|
9
|
+
export type CreateVenue = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the venues name.
|
|
12
|
+
*/
|
|
13
|
+
name?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the venues street address.
|
|
16
|
+
*/
|
|
17
|
+
streetAddress?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the venues locality.
|
|
20
|
+
*/
|
|
21
|
+
addressLocality?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the venues region.
|
|
24
|
+
*/
|
|
25
|
+
addressRegion?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the venues postcode.
|
|
28
|
+
*/
|
|
29
|
+
addressPostalcode?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the venues Country id.
|
|
32
|
+
*/
|
|
33
|
+
countryId?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the venues lat.
|
|
36
|
+
*/
|
|
37
|
+
lat?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the venues lng.
|
|
40
|
+
*/
|
|
41
|
+
lng?: number;
|
|
42
|
+
};
|
|
@@ -11,4 +11,16 @@ export type ScheduledSessionPost = {
|
|
|
11
11
|
* Gets or sets the tenant Id.
|
|
12
12
|
*/
|
|
13
13
|
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the session id.
|
|
16
|
+
*/
|
|
17
|
+
sessionId?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
20
|
+
*/
|
|
21
|
+
startDateTime?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the scheduled session duration.
|
|
24
|
+
*/
|
|
25
|
+
durationMinutes?: number;
|
|
14
26
|
};
|
|
@@ -11,4 +11,28 @@ export type ScheduledSessionSchedulePost = {
|
|
|
11
11
|
* Gets or sets the tenant Id.
|
|
12
12
|
*/
|
|
13
13
|
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the session id.
|
|
16
|
+
*/
|
|
17
|
+
sessionId?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
20
|
+
*/
|
|
21
|
+
startDateTime?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the scheduled session duration.
|
|
24
|
+
*/
|
|
25
|
+
durationMinutes?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the schedules evaluated rule string.
|
|
28
|
+
*/
|
|
29
|
+
rRuleString?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the schedules end date.
|
|
32
|
+
*/
|
|
33
|
+
recurUntil?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets a value indicating whether the schedule should recur indefinately.
|
|
36
|
+
*/
|
|
37
|
+
recurIndefinately?: boolean | null;
|
|
14
38
|
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { CreateOffer } from './CreateOffer';
|
|
7
|
+
import type { CreateVenue } from './CreateVenue';
|
|
8
|
+
import type { SessionGender } from './SessionGender';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Post model for session inserts.
|
|
12
|
+
*/
|
|
13
|
+
export type SessionCreate = {
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the tenant Id.
|
|
16
|
+
*/
|
|
17
|
+
tenantId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the session id.
|
|
20
|
+
*/
|
|
21
|
+
id?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the session venue id.
|
|
24
|
+
*/
|
|
25
|
+
venueId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the session activity id.
|
|
28
|
+
*/
|
|
29
|
+
activityId?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the session programme id.
|
|
32
|
+
*/
|
|
33
|
+
programmeId?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the session survey id.
|
|
36
|
+
*/
|
|
37
|
+
surveyId?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the course post completion survey id.
|
|
40
|
+
*/
|
|
41
|
+
postCompletionSurveyId?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the session name.
|
|
44
|
+
*/
|
|
45
|
+
name?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the session description.
|
|
48
|
+
*/
|
|
49
|
+
description?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets the session image url.
|
|
52
|
+
*/
|
|
53
|
+
imageUrl?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the meeting instructions.
|
|
56
|
+
*/
|
|
57
|
+
meetingInstructions?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets the capacity.
|
|
60
|
+
*/
|
|
61
|
+
capacity?: number | null;
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
64
|
+
*/
|
|
65
|
+
capacityUnlimited?: boolean | null;
|
|
66
|
+
gender?: SessionGender;
|
|
67
|
+
/**
|
|
68
|
+
* Gets or sets the min age.
|
|
69
|
+
*/
|
|
70
|
+
minAge?: number | null;
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets the max age.
|
|
73
|
+
*/
|
|
74
|
+
maxAge?: number | null;
|
|
75
|
+
/**
|
|
76
|
+
* Gets or sets additional support options.
|
|
77
|
+
*/
|
|
78
|
+
additionalSupport?: Array<string> | null;
|
|
79
|
+
/**
|
|
80
|
+
* Gets or sets the contact name.
|
|
81
|
+
*/
|
|
82
|
+
contactName?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* Gets or sets the contact phone.
|
|
85
|
+
*/
|
|
86
|
+
contactPhone?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Gets or sets the contact email.
|
|
89
|
+
*/
|
|
90
|
+
contactEmail?: string | null;
|
|
91
|
+
venue?: CreateVenue;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the the schedule ids to be made active.
|
|
94
|
+
*/
|
|
95
|
+
scheduleIds?: Array<string> | null;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the schedule ids to be made active.
|
|
98
|
+
*/
|
|
99
|
+
scheduledSessionIds?: Array<string> | null;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the session offers.
|
|
102
|
+
*/
|
|
103
|
+
offers?: Array<CreateOffer> | null;
|
|
104
|
+
};
|
|
@@ -15,4 +15,56 @@ export type TenantPatch = {
|
|
|
15
15
|
* Gets or sets the Id.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the name of the organisation.
|
|
20
|
+
*/
|
|
21
|
+
name?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the organisations contact email address.
|
|
24
|
+
*/
|
|
25
|
+
contactEmail?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the organisation logo url.
|
|
28
|
+
*/
|
|
29
|
+
logoUrl?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the organisations country id.
|
|
32
|
+
*/
|
|
33
|
+
countryId?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the tenants time zone.
|
|
36
|
+
*/
|
|
37
|
+
timeZoneTz?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the organisations social media Urls.
|
|
40
|
+
*/
|
|
41
|
+
facebookUrl?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the organisations social media Urls.
|
|
44
|
+
*/
|
|
45
|
+
twitterUrl?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the organisations social media Urls.
|
|
48
|
+
*/
|
|
49
|
+
instagramUrl?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets a value indicating whether the tenant is using a custom cancellation policy.
|
|
52
|
+
*/
|
|
53
|
+
useCustomCancellationPolicy?: boolean | null;
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the custom policy url.
|
|
56
|
+
*/
|
|
57
|
+
customPolicyUrl?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
60
|
+
*/
|
|
61
|
+
allowStripeSubAccounts?: boolean | null;
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets a value indicating whether charges are enabled and the tenants customers can pay online.
|
|
64
|
+
*/
|
|
65
|
+
allowPaymentFallBack?: boolean | null;
|
|
66
|
+
/**
|
|
67
|
+
* Gets or sets a value indicating whether the openactive feed is enabled for the tenant.
|
|
68
|
+
*/
|
|
69
|
+
openActiveFeedEnabled?: boolean | null;
|
|
18
70
|
};
|
package/src/models/TenantPost.ts
CHANGED
|
@@ -11,4 +11,24 @@ export type TenantPost = {
|
|
|
11
11
|
* Gets or sets the tenant Id.
|
|
12
12
|
*/
|
|
13
13
|
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the Id.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the name of the organisation.
|
|
20
|
+
*/
|
|
21
|
+
name?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the organisations contact email address.
|
|
24
|
+
*/
|
|
25
|
+
contactEmail?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the organisations country id.
|
|
28
|
+
*/
|
|
29
|
+
countryId?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the tenants time zone.
|
|
32
|
+
*/
|
|
33
|
+
timeZoneTz?: string | null;
|
|
14
34
|
};
|
|
@@ -15,4 +15,36 @@ export type TenantWebsiteSettingPatch = {
|
|
|
15
15
|
* Gets or sets the Id.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the website logo url.
|
|
20
|
+
*/
|
|
21
|
+
logoUrl?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the website home url.
|
|
24
|
+
*/
|
|
25
|
+
homeUrl?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the website primary hex.
|
|
28
|
+
*/
|
|
29
|
+
primaryHex?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the banner title.
|
|
32
|
+
*/
|
|
33
|
+
bannerTitle?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the website custom terms.
|
|
36
|
+
*/
|
|
37
|
+
customTerms?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the website page notice.
|
|
40
|
+
*/
|
|
41
|
+
pageNotice?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the website analytics property id.
|
|
44
|
+
*/
|
|
45
|
+
analyticsPropertyId?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the website facebook pixel id.
|
|
48
|
+
*/
|
|
49
|
+
facebookPixelId?: string | null;
|
|
18
50
|
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
6
6
|
import type { Session } from '../models/Session';
|
|
7
|
+
import type { SessionCreate } from '../models/SessionCreate';
|
|
7
8
|
import type { SessionPage } from '../models/SessionPage';
|
|
8
9
|
import type { SessionPatch } from '../models/SessionPatch';
|
|
9
10
|
import type { SessionPost } from '../models/SessionPost';
|
|
@@ -68,6 +69,49 @@ export class SessionsService {
|
|
|
68
69
|
});
|
|
69
70
|
}
|
|
70
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Brings the session online />.
|
|
74
|
+
* @returns Session Success
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
public create({
|
|
78
|
+
requestBody,
|
|
79
|
+
}: {
|
|
80
|
+
/**
|
|
81
|
+
* The session to be created.
|
|
82
|
+
*/
|
|
83
|
+
requestBody?: SessionCreate;
|
|
84
|
+
}): CancelablePromise<Session> {
|
|
85
|
+
return this.httpRequest.request({
|
|
86
|
+
method: 'POST',
|
|
87
|
+
url: '/api/sessions/create',
|
|
88
|
+
body: requestBody,
|
|
89
|
+
mediaType: 'application/json',
|
|
90
|
+
errors: {
|
|
91
|
+
400: `Bad Request`,
|
|
92
|
+
422: `Client Error`,
|
|
93
|
+
500: `Server Error`,
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Generates an id for use in a Session create client side process />.
|
|
100
|
+
* @returns string Success
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
public generateId(): CancelablePromise<string> {
|
|
104
|
+
return this.httpRequest.request({
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: '/api/sessions/create/generate-id',
|
|
107
|
+
errors: {
|
|
108
|
+
400: `Bad Request`,
|
|
109
|
+
422: `Client Error`,
|
|
110
|
+
500: `Server Error`,
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
71
115
|
/**
|
|
72
116
|
* Gets the resource by its Id.
|
|
73
117
|
* @returns Session Success
|