reach-api-sdk 1.0.16 → 1.0.18
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 +148 -28
- package/package.json +1 -1
- package/src/definition/swagger.yaml +160 -24
- package/src/index.ts +1 -0
- package/src/models/CourseSessionPatch.ts +8 -0
- package/src/models/CourseSessionPost.ts +12 -0
- package/src/models/CreateOffer.ts +2 -2
- package/src/models/CustomerPatch.ts +47 -0
- package/src/models/CustomerPost.ts +51 -0
- package/src/models/ScheduledSessionPost.ts +0 -4
- package/src/models/ScheduledSessionSchedulePost.ts +5 -9
- package/src/models/SessionCreate.ts +0 -4
- package/src/models/SessionPatch.ts +9 -8
- package/src/models/UpdateOffer.ts +22 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -5042,6 +5042,14 @@ type CourseSessionPatch = {
|
|
|
5042
5042
|
* Gets or sets the Id.
|
|
5043
5043
|
*/
|
|
5044
5044
|
id: string;
|
|
5045
|
+
/**
|
|
5046
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
5047
|
+
*/
|
|
5048
|
+
startDateTime?: string | null;
|
|
5049
|
+
/**
|
|
5050
|
+
* Gets or sets the course session duration.
|
|
5051
|
+
*/
|
|
5052
|
+
durationMinutes?: number;
|
|
5045
5053
|
};
|
|
5046
5054
|
|
|
5047
5055
|
/**
|
|
@@ -5052,6 +5060,18 @@ type CourseSessionPost = {
|
|
|
5052
5060
|
* Gets or sets the tenant Id.
|
|
5053
5061
|
*/
|
|
5054
5062
|
tenantId: string;
|
|
5063
|
+
/**
|
|
5064
|
+
* Gets or sets the session id.
|
|
5065
|
+
*/
|
|
5066
|
+
courseId?: string | null;
|
|
5067
|
+
/**
|
|
5068
|
+
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
5069
|
+
*/
|
|
5070
|
+
startDateTime?: string | null;
|
|
5071
|
+
/**
|
|
5072
|
+
* Gets or sets the course session duration.
|
|
5073
|
+
*/
|
|
5074
|
+
durationMinutes?: number;
|
|
5055
5075
|
};
|
|
5056
5076
|
|
|
5057
5077
|
declare class CourseSessionsService {
|
|
@@ -5806,6 +5826,51 @@ type CustomerPatch = {
|
|
|
5806
5826
|
* Gets or sets the Id.
|
|
5807
5827
|
*/
|
|
5808
5828
|
id: string;
|
|
5829
|
+
type?: CustomerType;
|
|
5830
|
+
/**
|
|
5831
|
+
* Gets or sets the first name.
|
|
5832
|
+
*/
|
|
5833
|
+
firstName?: string | null;
|
|
5834
|
+
/**
|
|
5835
|
+
* Gets or sets the last name.
|
|
5836
|
+
*/
|
|
5837
|
+
lastName?: string | null;
|
|
5838
|
+
/**
|
|
5839
|
+
* Gets or sets the organisation name.
|
|
5840
|
+
*/
|
|
5841
|
+
name?: string | null;
|
|
5842
|
+
/**
|
|
5843
|
+
* Gets or sets the email.
|
|
5844
|
+
*/
|
|
5845
|
+
email?: string | null;
|
|
5846
|
+
/**
|
|
5847
|
+
* Gets or sets the phone number.
|
|
5848
|
+
*/
|
|
5849
|
+
phone?: string | null;
|
|
5850
|
+
/**
|
|
5851
|
+
* Gets or sets the customer street address.
|
|
5852
|
+
*/
|
|
5853
|
+
streetAddress?: string | null;
|
|
5854
|
+
/**
|
|
5855
|
+
* Gets or sets the customer locality.
|
|
5856
|
+
*/
|
|
5857
|
+
addressLocality?: string | null;
|
|
5858
|
+
/**
|
|
5859
|
+
* Gets or sets the customer region.
|
|
5860
|
+
*/
|
|
5861
|
+
addressRegion?: string | null;
|
|
5862
|
+
/**
|
|
5863
|
+
* Gets or sets the customer postcode.
|
|
5864
|
+
*/
|
|
5865
|
+
addressPostalcode?: string | null;
|
|
5866
|
+
/**
|
|
5867
|
+
* Gets or sets the customer country.
|
|
5868
|
+
*/
|
|
5869
|
+
addressCountry?: string | null;
|
|
5870
|
+
/**
|
|
5871
|
+
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
5872
|
+
*/
|
|
5873
|
+
marketingOptIn?: boolean;
|
|
5809
5874
|
};
|
|
5810
5875
|
|
|
5811
5876
|
/**
|
|
@@ -5816,6 +5881,55 @@ type CustomerPost = {
|
|
|
5816
5881
|
* Gets or sets the tenant Id.
|
|
5817
5882
|
*/
|
|
5818
5883
|
tenantId: string;
|
|
5884
|
+
/**
|
|
5885
|
+
* Gets or sets the venue id.
|
|
5886
|
+
*/
|
|
5887
|
+
venueId?: string | null;
|
|
5888
|
+
type?: CustomerType;
|
|
5889
|
+
/**
|
|
5890
|
+
* Gets or sets the first name.
|
|
5891
|
+
*/
|
|
5892
|
+
firstName?: string | null;
|
|
5893
|
+
/**
|
|
5894
|
+
* Gets or sets the last name.
|
|
5895
|
+
*/
|
|
5896
|
+
lastName?: string | null;
|
|
5897
|
+
/**
|
|
5898
|
+
* Gets or sets the organisation name.
|
|
5899
|
+
*/
|
|
5900
|
+
name?: string | null;
|
|
5901
|
+
/**
|
|
5902
|
+
* Gets or sets the email.
|
|
5903
|
+
*/
|
|
5904
|
+
email?: string | null;
|
|
5905
|
+
/**
|
|
5906
|
+
* Gets or sets the phone number.
|
|
5907
|
+
*/
|
|
5908
|
+
phone?: string | null;
|
|
5909
|
+
/**
|
|
5910
|
+
* Gets or sets the customer street address.
|
|
5911
|
+
*/
|
|
5912
|
+
streetAddress?: string | null;
|
|
5913
|
+
/**
|
|
5914
|
+
* Gets or sets the customer locality.
|
|
5915
|
+
*/
|
|
5916
|
+
addressLocality?: string | null;
|
|
5917
|
+
/**
|
|
5918
|
+
* Gets or sets the customer region.
|
|
5919
|
+
*/
|
|
5920
|
+
addressRegion?: string | null;
|
|
5921
|
+
/**
|
|
5922
|
+
* Gets or sets the customer postcode.
|
|
5923
|
+
*/
|
|
5924
|
+
addressPostalcode?: string | null;
|
|
5925
|
+
/**
|
|
5926
|
+
* Gets or sets the customer country.
|
|
5927
|
+
*/
|
|
5928
|
+
addressCountry?: string | null;
|
|
5929
|
+
/**
|
|
5930
|
+
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
5931
|
+
*/
|
|
5932
|
+
marketingOptIn?: boolean;
|
|
5819
5933
|
};
|
|
5820
5934
|
|
|
5821
5935
|
declare class CustomersService {
|
|
@@ -15762,10 +15876,6 @@ type ScheduledSessionPost = {
|
|
|
15762
15876
|
* Gets or sets the capacity.
|
|
15763
15877
|
*/
|
|
15764
15878
|
capacity?: number | null;
|
|
15765
|
-
/**
|
|
15766
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
15767
|
-
*/
|
|
15768
|
-
capacityUnlimited?: boolean | null;
|
|
15769
15879
|
};
|
|
15770
15880
|
|
|
15771
15881
|
/**
|
|
@@ -16126,6 +16236,24 @@ type SessionPage = {
|
|
|
16126
16236
|
readonly items?: Array<Session> | null;
|
|
16127
16237
|
};
|
|
16128
16238
|
|
|
16239
|
+
/**
|
|
16240
|
+
* Patch model for session offers.
|
|
16241
|
+
*/
|
|
16242
|
+
type UpdateOffer = {
|
|
16243
|
+
/**
|
|
16244
|
+
* Gets or sets the offer id.
|
|
16245
|
+
*/
|
|
16246
|
+
id?: string | null;
|
|
16247
|
+
/**
|
|
16248
|
+
* Gets or sets the offer name.
|
|
16249
|
+
*/
|
|
16250
|
+
name?: string | null;
|
|
16251
|
+
/**
|
|
16252
|
+
* Gets or sets the offer total/gross price.
|
|
16253
|
+
*/
|
|
16254
|
+
priceTotal: number;
|
|
16255
|
+
};
|
|
16256
|
+
|
|
16129
16257
|
/**
|
|
16130
16258
|
* Patch model for session updates.
|
|
16131
16259
|
*/
|
|
@@ -16141,11 +16269,11 @@ type SessionPatch = {
|
|
|
16141
16269
|
/**
|
|
16142
16270
|
* Gets or sets the venue id for the activity.
|
|
16143
16271
|
*/
|
|
16144
|
-
venueId
|
|
16272
|
+
venueId: string;
|
|
16145
16273
|
/**
|
|
16146
16274
|
* Gets or sets the Activity Id.
|
|
16147
16275
|
*/
|
|
16148
|
-
activityId
|
|
16276
|
+
activityId: number;
|
|
16149
16277
|
/**
|
|
16150
16278
|
* Gets or sets the Programme Id.
|
|
16151
16279
|
*/
|
|
@@ -16161,7 +16289,7 @@ type SessionPatch = {
|
|
|
16161
16289
|
/**
|
|
16162
16290
|
* Gets or sets the session name.
|
|
16163
16291
|
*/
|
|
16164
|
-
name
|
|
16292
|
+
name: string;
|
|
16165
16293
|
/**
|
|
16166
16294
|
* Gets or sets the session description.
|
|
16167
16295
|
*/
|
|
@@ -16177,11 +16305,7 @@ type SessionPatch = {
|
|
|
16177
16305
|
/**
|
|
16178
16306
|
* Gets or sets the session capacity.
|
|
16179
16307
|
*/
|
|
16180
|
-
capacity
|
|
16181
|
-
/**
|
|
16182
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
16183
|
-
*/
|
|
16184
|
-
capacityUnlimited?: boolean | null;
|
|
16308
|
+
capacity: number;
|
|
16185
16309
|
gender?: SessionGender;
|
|
16186
16310
|
/**
|
|
16187
16311
|
* Gets or sets the min age.
|
|
@@ -16228,6 +16352,10 @@ type SessionPatch = {
|
|
|
16228
16352
|
*/
|
|
16229
16353
|
deleted?: boolean | null;
|
|
16230
16354
|
emailSettings?: UpdateEmailSettings;
|
|
16355
|
+
/**
|
|
16356
|
+
* Gets or sets the session offers.
|
|
16357
|
+
*/
|
|
16358
|
+
offers?: Array<UpdateOffer> | null;
|
|
16231
16359
|
};
|
|
16232
16360
|
|
|
16233
16361
|
/**
|
|
@@ -20045,19 +20173,19 @@ type ScheduledSessionSchedulePost = {
|
|
|
20045
20173
|
/**
|
|
20046
20174
|
* Gets or sets the session id.
|
|
20047
20175
|
*/
|
|
20048
|
-
sessionId
|
|
20176
|
+
sessionId: string;
|
|
20049
20177
|
/**
|
|
20050
20178
|
* Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
20051
20179
|
*/
|
|
20052
|
-
startDateTime
|
|
20180
|
+
startDateTime: string;
|
|
20053
20181
|
/**
|
|
20054
20182
|
* Gets or sets the scheduled session duration.
|
|
20055
20183
|
*/
|
|
20056
|
-
durationMinutes
|
|
20184
|
+
durationMinutes: number;
|
|
20057
20185
|
/**
|
|
20058
20186
|
* Gets or sets the schedules evaluated rule string.
|
|
20059
20187
|
*/
|
|
20060
|
-
rRuleString
|
|
20188
|
+
rRuleString: string;
|
|
20061
20189
|
/**
|
|
20062
20190
|
* Gets or sets the schedules end date.
|
|
20063
20191
|
*/
|
|
@@ -20069,11 +20197,7 @@ type ScheduledSessionSchedulePost = {
|
|
|
20069
20197
|
/**
|
|
20070
20198
|
* Gets or sets the capacity.
|
|
20071
20199
|
*/
|
|
20072
|
-
capacity
|
|
20073
|
-
/**
|
|
20074
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
20075
|
-
*/
|
|
20076
|
-
capacityUnlimited?: boolean;
|
|
20200
|
+
capacity: number;
|
|
20077
20201
|
};
|
|
20078
20202
|
|
|
20079
20203
|
declare class ScheduledSessionsSchedulesService {
|
|
@@ -20394,7 +20518,7 @@ declare class ScheduledSessionsSchedulesService {
|
|
|
20394
20518
|
}
|
|
20395
20519
|
|
|
20396
20520
|
/**
|
|
20397
|
-
*
|
|
20521
|
+
* Post model for session offers.
|
|
20398
20522
|
*/
|
|
20399
20523
|
type CreateOffer = {
|
|
20400
20524
|
/**
|
|
@@ -20404,7 +20528,7 @@ type CreateOffer = {
|
|
|
20404
20528
|
/**
|
|
20405
20529
|
* Gets or sets the offer total/gross price.
|
|
20406
20530
|
*/
|
|
20407
|
-
priceTotal?: number
|
|
20531
|
+
priceTotal?: number;
|
|
20408
20532
|
};
|
|
20409
20533
|
|
|
20410
20534
|
/**
|
|
@@ -20509,10 +20633,6 @@ type SessionCreate = {
|
|
|
20509
20633
|
* Gets or sets the capacity.
|
|
20510
20634
|
*/
|
|
20511
20635
|
capacity?: number | null;
|
|
20512
|
-
/**
|
|
20513
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
20514
|
-
*/
|
|
20515
|
-
capacityUnlimited?: boolean | null;
|
|
20516
20636
|
gender?: SessionGender;
|
|
20517
20637
|
/**
|
|
20518
20638
|
* Gets or sets the min age.
|
|
@@ -27454,4 +27574,4 @@ type ValidationResultModel = {
|
|
|
27454
27574
|
readonly errors?: Array<ValidationError> | null;
|
|
27455
27575
|
};
|
|
27456
27576
|
|
|
27457
|
-
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, VenueCreate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
|
27577
|
+
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, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
package/package.json
CHANGED
|
@@ -64370,6 +64370,16 @@ components:
|
|
|
64370
64370
|
type: string
|
|
64371
64371
|
description: Gets or sets the Id.
|
|
64372
64372
|
format: uuid
|
|
64373
|
+
startDateTime:
|
|
64374
|
+
type: string
|
|
64375
|
+
description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
64376
|
+
format: date-time
|
|
64377
|
+
nullable: true
|
|
64378
|
+
durationMinutes:
|
|
64379
|
+
type: integer
|
|
64380
|
+
description: Gets or sets the course session duration.
|
|
64381
|
+
format: int32
|
|
64382
|
+
default: 0
|
|
64373
64383
|
additionalProperties: false
|
|
64374
64384
|
description: Post model for course updates.
|
|
64375
64385
|
CourseSessionPost:
|
|
@@ -64381,6 +64391,21 @@ components:
|
|
|
64381
64391
|
type: string
|
|
64382
64392
|
description: Gets or sets the tenant Id.
|
|
64383
64393
|
format: uuid
|
|
64394
|
+
courseId:
|
|
64395
|
+
type: string
|
|
64396
|
+
description: Gets or sets the session id.
|
|
64397
|
+
format: uuid
|
|
64398
|
+
nullable: true
|
|
64399
|
+
startDateTime:
|
|
64400
|
+
type: string
|
|
64401
|
+
description: Gets or sets the scheduled session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
64402
|
+
format: date-time
|
|
64403
|
+
nullable: true
|
|
64404
|
+
durationMinutes:
|
|
64405
|
+
type: integer
|
|
64406
|
+
description: Gets or sets the course session duration.
|
|
64407
|
+
format: int32
|
|
64408
|
+
default: 0
|
|
64384
64409
|
additionalProperties: false
|
|
64385
64410
|
description: Post model for course inserts.
|
|
64386
64411
|
CourseSessionSchedule:
|
|
@@ -64521,9 +64546,8 @@ components:
|
|
|
64521
64546
|
type: number
|
|
64522
64547
|
description: Gets or sets the offer total/gross price.
|
|
64523
64548
|
format: double
|
|
64524
|
-
nullable: true
|
|
64525
64549
|
additionalProperties: false
|
|
64526
|
-
description:
|
|
64550
|
+
description: Post model for session offers.
|
|
64527
64551
|
CreateVenue:
|
|
64528
64552
|
type: object
|
|
64529
64553
|
properties:
|
|
@@ -64624,7 +64648,6 @@ components:
|
|
|
64624
64648
|
email:
|
|
64625
64649
|
type: string
|
|
64626
64650
|
description: Gets or sets the email.
|
|
64627
|
-
format: email
|
|
64628
64651
|
nullable: true
|
|
64629
64652
|
phone:
|
|
64630
64653
|
type: string
|
|
@@ -64694,6 +64717,52 @@ components:
|
|
|
64694
64717
|
type: string
|
|
64695
64718
|
description: Gets or sets the Id.
|
|
64696
64719
|
format: uuid
|
|
64720
|
+
type:
|
|
64721
|
+
$ref: '#/components/schemas/CustomerType'
|
|
64722
|
+
firstName:
|
|
64723
|
+
type: string
|
|
64724
|
+
description: Gets or sets the first name.
|
|
64725
|
+
nullable: true
|
|
64726
|
+
lastName:
|
|
64727
|
+
type: string
|
|
64728
|
+
description: Gets or sets the last name.
|
|
64729
|
+
nullable: true
|
|
64730
|
+
name:
|
|
64731
|
+
type: string
|
|
64732
|
+
description: Gets or sets the organisation name.
|
|
64733
|
+
nullable: true
|
|
64734
|
+
email:
|
|
64735
|
+
type: string
|
|
64736
|
+
description: Gets or sets the email.
|
|
64737
|
+
nullable: true
|
|
64738
|
+
phone:
|
|
64739
|
+
type: string
|
|
64740
|
+
description: Gets or sets the phone number.
|
|
64741
|
+
nullable: true
|
|
64742
|
+
streetAddress:
|
|
64743
|
+
type: string
|
|
64744
|
+
description: Gets or sets the customer street address.
|
|
64745
|
+
nullable: true
|
|
64746
|
+
addressLocality:
|
|
64747
|
+
type: string
|
|
64748
|
+
description: Gets or sets the customer locality.
|
|
64749
|
+
nullable: true
|
|
64750
|
+
addressRegion:
|
|
64751
|
+
type: string
|
|
64752
|
+
description: Gets or sets the customer region.
|
|
64753
|
+
nullable: true
|
|
64754
|
+
addressPostalcode:
|
|
64755
|
+
type: string
|
|
64756
|
+
description: Gets or sets the customer postcode.
|
|
64757
|
+
nullable: true
|
|
64758
|
+
addressCountry:
|
|
64759
|
+
type: string
|
|
64760
|
+
description: Gets or sets the customer country.
|
|
64761
|
+
nullable: true
|
|
64762
|
+
marketingOptIn:
|
|
64763
|
+
type: boolean
|
|
64764
|
+
description: Gets or sets a value indicating whether the customer is opted into marketing.
|
|
64765
|
+
default: false
|
|
64697
64766
|
additionalProperties: false
|
|
64698
64767
|
description: Post model for customer updates.
|
|
64699
64768
|
CustomerPost:
|
|
@@ -64705,6 +64774,57 @@ components:
|
|
|
64705
64774
|
type: string
|
|
64706
64775
|
description: Gets or sets the tenant Id.
|
|
64707
64776
|
format: uuid
|
|
64777
|
+
venueId:
|
|
64778
|
+
type: string
|
|
64779
|
+
description: Gets or sets the venue id.
|
|
64780
|
+
format: uuid
|
|
64781
|
+
nullable: true
|
|
64782
|
+
type:
|
|
64783
|
+
$ref: '#/components/schemas/CustomerType'
|
|
64784
|
+
firstName:
|
|
64785
|
+
type: string
|
|
64786
|
+
description: Gets or sets the first name.
|
|
64787
|
+
nullable: true
|
|
64788
|
+
lastName:
|
|
64789
|
+
type: string
|
|
64790
|
+
description: Gets or sets the last name.
|
|
64791
|
+
nullable: true
|
|
64792
|
+
name:
|
|
64793
|
+
type: string
|
|
64794
|
+
description: Gets or sets the organisation name.
|
|
64795
|
+
nullable: true
|
|
64796
|
+
email:
|
|
64797
|
+
type: string
|
|
64798
|
+
description: Gets or sets the email.
|
|
64799
|
+
nullable: true
|
|
64800
|
+
phone:
|
|
64801
|
+
type: string
|
|
64802
|
+
description: Gets or sets the phone number.
|
|
64803
|
+
nullable: true
|
|
64804
|
+
streetAddress:
|
|
64805
|
+
type: string
|
|
64806
|
+
description: Gets or sets the customer street address.
|
|
64807
|
+
nullable: true
|
|
64808
|
+
addressLocality:
|
|
64809
|
+
type: string
|
|
64810
|
+
description: Gets or sets the customer locality.
|
|
64811
|
+
nullable: true
|
|
64812
|
+
addressRegion:
|
|
64813
|
+
type: string
|
|
64814
|
+
description: Gets or sets the customer region.
|
|
64815
|
+
nullable: true
|
|
64816
|
+
addressPostalcode:
|
|
64817
|
+
type: string
|
|
64818
|
+
description: Gets or sets the customer postcode.
|
|
64819
|
+
nullable: true
|
|
64820
|
+
addressCountry:
|
|
64821
|
+
type: string
|
|
64822
|
+
description: Gets or sets the customer country.
|
|
64823
|
+
nullable: true
|
|
64824
|
+
marketingOptIn:
|
|
64825
|
+
type: boolean
|
|
64826
|
+
description: Gets or sets a value indicating whether the customer is opted into marketing.
|
|
64827
|
+
default: false
|
|
64708
64828
|
additionalProperties: false
|
|
64709
64829
|
description: Post model for customer inserts.
|
|
64710
64830
|
CustomerType:
|
|
@@ -68094,10 +68214,6 @@ components:
|
|
|
68094
68214
|
description: Gets or sets the capacity.
|
|
68095
68215
|
format: int32
|
|
68096
68216
|
nullable: true
|
|
68097
|
-
capacityUnlimited:
|
|
68098
|
-
type: boolean
|
|
68099
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68100
|
-
nullable: true
|
|
68101
68217
|
additionalProperties: false
|
|
68102
68218
|
description: Post model for scheduled session inserts.
|
|
68103
68219
|
ScheduledSessionSchedule:
|
|
@@ -68218,6 +68334,11 @@ components:
|
|
|
68218
68334
|
description: Post model for scheduled session schedule updates.
|
|
68219
68335
|
ScheduledSessionSchedulePost:
|
|
68220
68336
|
required:
|
|
68337
|
+
- capacity
|
|
68338
|
+
- durationMinutes
|
|
68339
|
+
- rRuleString
|
|
68340
|
+
- sessionId
|
|
68341
|
+
- startDateTime
|
|
68221
68342
|
- tenantId
|
|
68222
68343
|
type: object
|
|
68223
68344
|
properties:
|
|
@@ -68239,9 +68360,9 @@ components:
|
|
|
68239
68360
|
format: int32
|
|
68240
68361
|
default: 0
|
|
68241
68362
|
rRuleString:
|
|
68363
|
+
minLength: 1
|
|
68242
68364
|
type: string
|
|
68243
68365
|
description: Gets or sets the schedules evaluated rule string.
|
|
68244
|
-
nullable: true
|
|
68245
68366
|
recurUntil:
|
|
68246
68367
|
type: string
|
|
68247
68368
|
description: Gets or sets the schedules end date.
|
|
@@ -68256,10 +68377,6 @@ components:
|
|
|
68256
68377
|
description: Gets or sets the capacity.
|
|
68257
68378
|
format: int32
|
|
68258
68379
|
default: 0
|
|
68259
|
-
capacityUnlimited:
|
|
68260
|
-
type: boolean
|
|
68261
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68262
|
-
default: false
|
|
68263
68380
|
additionalProperties: false
|
|
68264
68381
|
description: Post model for scheduled session schedule inserts.
|
|
68265
68382
|
ScheduledSessionSearchSortBy:
|
|
@@ -68543,10 +68660,6 @@ components:
|
|
|
68543
68660
|
description: Gets or sets the capacity.
|
|
68544
68661
|
format: int32
|
|
68545
68662
|
nullable: true
|
|
68546
|
-
capacityUnlimited:
|
|
68547
|
-
type: boolean
|
|
68548
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68549
|
-
nullable: true
|
|
68550
68663
|
gender:
|
|
68551
68664
|
$ref: '#/components/schemas/SessionGender'
|
|
68552
68665
|
minAge:
|
|
@@ -68622,8 +68735,12 @@ components:
|
|
|
68622
68735
|
additionalProperties: false
|
|
68623
68736
|
SessionPatch:
|
|
68624
68737
|
required:
|
|
68738
|
+
- activityId
|
|
68739
|
+
- capacity
|
|
68625
68740
|
- id
|
|
68741
|
+
- name
|
|
68626
68742
|
- tenantId
|
|
68743
|
+
- venueId
|
|
68627
68744
|
type: object
|
|
68628
68745
|
properties:
|
|
68629
68746
|
tenantId:
|
|
@@ -68638,12 +68755,10 @@ components:
|
|
|
68638
68755
|
type: string
|
|
68639
68756
|
description: Gets or sets the venue id for the activity.
|
|
68640
68757
|
format: uuid
|
|
68641
|
-
nullable: true
|
|
68642
68758
|
activityId:
|
|
68643
68759
|
type: integer
|
|
68644
68760
|
description: Gets or sets the Activity Id.
|
|
68645
68761
|
format: int32
|
|
68646
|
-
nullable: true
|
|
68647
68762
|
programmeId:
|
|
68648
68763
|
type: string
|
|
68649
68764
|
description: Gets or sets the Programme Id.
|
|
@@ -68660,9 +68775,9 @@ components:
|
|
|
68660
68775
|
format: uuid
|
|
68661
68776
|
nullable: true
|
|
68662
68777
|
name:
|
|
68778
|
+
minLength: 1
|
|
68663
68779
|
type: string
|
|
68664
68780
|
description: Gets or sets the session name.
|
|
68665
|
-
nullable: true
|
|
68666
68781
|
description:
|
|
68667
68782
|
type: string
|
|
68668
68783
|
description: Gets or sets the session description.
|
|
@@ -68680,11 +68795,6 @@ components:
|
|
|
68680
68795
|
type: integer
|
|
68681
68796
|
description: Gets or sets the session capacity.
|
|
68682
68797
|
format: int32
|
|
68683
|
-
nullable: true
|
|
68684
|
-
capacityUnlimited:
|
|
68685
|
-
type: boolean
|
|
68686
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68687
|
-
nullable: true
|
|
68688
68798
|
gender:
|
|
68689
68799
|
$ref: '#/components/schemas/SessionGender'
|
|
68690
68800
|
minAge:
|
|
@@ -68738,6 +68848,12 @@ components:
|
|
|
68738
68848
|
nullable: true
|
|
68739
68849
|
emailSettings:
|
|
68740
68850
|
$ref: '#/components/schemas/UpdateEmailSettings'
|
|
68851
|
+
offers:
|
|
68852
|
+
type: array
|
|
68853
|
+
items:
|
|
68854
|
+
$ref: '#/components/schemas/UpdateOffer'
|
|
68855
|
+
description: Gets or sets the session offers.
|
|
68856
|
+
nullable: true
|
|
68741
68857
|
additionalProperties: false
|
|
68742
68858
|
description: Patch model for session updates.
|
|
68743
68859
|
SessionPost:
|
|
@@ -70768,6 +70884,26 @@ components:
|
|
|
70768
70884
|
nullable: true
|
|
70769
70885
|
additionalProperties: false
|
|
70770
70886
|
description: email settings.
|
|
70887
|
+
UpdateOffer:
|
|
70888
|
+
required:
|
|
70889
|
+
- priceTotal
|
|
70890
|
+
type: object
|
|
70891
|
+
properties:
|
|
70892
|
+
id:
|
|
70893
|
+
type: string
|
|
70894
|
+
description: Gets or sets the offer id.
|
|
70895
|
+
format: uuid
|
|
70896
|
+
nullable: true
|
|
70897
|
+
name:
|
|
70898
|
+
type: string
|
|
70899
|
+
description: Gets or sets the offer name.
|
|
70900
|
+
nullable: true
|
|
70901
|
+
priceTotal:
|
|
70902
|
+
type: number
|
|
70903
|
+
description: Gets or sets the offer total/gross price.
|
|
70904
|
+
format: double
|
|
70905
|
+
additionalProperties: false
|
|
70906
|
+
description: Patch model for session offers.
|
|
70771
70907
|
User:
|
|
70772
70908
|
type: object
|
|
70773
70909
|
properties:
|
package/src/index.ts
CHANGED
|
@@ -237,6 +237,7 @@ export type { TotalRevenueReportPage } from './models/TotalRevenueReportPage';
|
|
|
237
237
|
export type { TotalRevenueReportPatch } from './models/TotalRevenueReportPatch';
|
|
238
238
|
export type { TotalRevenueReportPost } from './models/TotalRevenueReportPost';
|
|
239
239
|
export type { UpdateEmailSettings } from './models/UpdateEmailSettings';
|
|
240
|
+
export type { UpdateOffer } from './models/UpdateOffer';
|
|
240
241
|
export type { User } from './models/User';
|
|
241
242
|
export type { UserPage } from './models/UserPage';
|
|
242
243
|
export type { UserPatch } from './models/UserPatch';
|
|
@@ -15,4 +15,12 @@ export type CourseSessionPatch = {
|
|
|
15
15
|
* Gets or sets the Id.
|
|
16
16
|
*/
|
|
17
17
|
id: string;
|
|
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 course session duration.
|
|
24
|
+
*/
|
|
25
|
+
durationMinutes?: number;
|
|
18
26
|
};
|
|
@@ -11,4 +11,16 @@ export type CourseSessionPost = {
|
|
|
11
11
|
* Gets or sets the tenant Id.
|
|
12
12
|
*/
|
|
13
13
|
tenantId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the session id.
|
|
16
|
+
*/
|
|
17
|
+
courseId?: 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 course session duration.
|
|
24
|
+
*/
|
|
25
|
+
durationMinutes?: number;
|
|
14
26
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Post model for session offers.
|
|
8
8
|
*/
|
|
9
9
|
export type CreateOffer = {
|
|
10
10
|
/**
|
|
@@ -14,5 +14,5 @@ export type CreateOffer = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Gets or sets the offer total/gross price.
|
|
16
16
|
*/
|
|
17
|
-
priceTotal?: number
|
|
17
|
+
priceTotal?: number;
|
|
18
18
|
};
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
+
import type { CustomerType } from './CustomerType';
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Post model for customer updates.
|
|
8
10
|
*/
|
|
@@ -15,4 +17,49 @@ export type CustomerPatch = {
|
|
|
15
17
|
* Gets or sets the Id.
|
|
16
18
|
*/
|
|
17
19
|
id: string;
|
|
20
|
+
type?: CustomerType;
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the first name.
|
|
23
|
+
*/
|
|
24
|
+
firstName?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the last name.
|
|
27
|
+
*/
|
|
28
|
+
lastName?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the organisation name.
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the email.
|
|
35
|
+
*/
|
|
36
|
+
email?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the phone number.
|
|
39
|
+
*/
|
|
40
|
+
phone?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the customer street address.
|
|
43
|
+
*/
|
|
44
|
+
streetAddress?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the customer locality.
|
|
47
|
+
*/
|
|
48
|
+
addressLocality?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the customer region.
|
|
51
|
+
*/
|
|
52
|
+
addressRegion?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the customer postcode.
|
|
55
|
+
*/
|
|
56
|
+
addressPostalcode?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the customer country.
|
|
59
|
+
*/
|
|
60
|
+
addressCountry?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
63
|
+
*/
|
|
64
|
+
marketingOptIn?: boolean;
|
|
18
65
|
};
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
|
|
6
|
+
import type { CustomerType } from './CustomerType';
|
|
7
|
+
|
|
6
8
|
/**
|
|
7
9
|
* Post model for customer inserts.
|
|
8
10
|
*/
|
|
@@ -11,4 +13,53 @@ export type CustomerPost = {
|
|
|
11
13
|
* Gets or sets the tenant Id.
|
|
12
14
|
*/
|
|
13
15
|
tenantId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets or sets the venue id.
|
|
18
|
+
*/
|
|
19
|
+
venueId?: string | null;
|
|
20
|
+
type?: CustomerType;
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the first name.
|
|
23
|
+
*/
|
|
24
|
+
firstName?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the last name.
|
|
27
|
+
*/
|
|
28
|
+
lastName?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the organisation name.
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the email.
|
|
35
|
+
*/
|
|
36
|
+
email?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Gets or sets the phone number.
|
|
39
|
+
*/
|
|
40
|
+
phone?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the customer street address.
|
|
43
|
+
*/
|
|
44
|
+
streetAddress?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Gets or sets the customer locality.
|
|
47
|
+
*/
|
|
48
|
+
addressLocality?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the customer region.
|
|
51
|
+
*/
|
|
52
|
+
addressRegion?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the customer postcode.
|
|
55
|
+
*/
|
|
56
|
+
addressPostalcode?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets or sets the customer country.
|
|
59
|
+
*/
|
|
60
|
+
addressCountry?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets a value indicating whether the customer is opted into marketing.
|
|
63
|
+
*/
|
|
64
|
+
marketingOptIn?: boolean;
|
|
14
65
|
};
|
|
@@ -14,19 +14,19 @@ export type ScheduledSessionSchedulePost = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Gets or sets the session id.
|
|
16
16
|
*/
|
|
17
|
-
sessionId
|
|
17
|
+
sessionId: string;
|
|
18
18
|
/**
|
|
19
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
20
|
*/
|
|
21
|
-
startDateTime
|
|
21
|
+
startDateTime: string;
|
|
22
22
|
/**
|
|
23
23
|
* Gets or sets the scheduled session duration.
|
|
24
24
|
*/
|
|
25
|
-
durationMinutes
|
|
25
|
+
durationMinutes: number;
|
|
26
26
|
/**
|
|
27
27
|
* Gets or sets the schedules evaluated rule string.
|
|
28
28
|
*/
|
|
29
|
-
rRuleString
|
|
29
|
+
rRuleString: string;
|
|
30
30
|
/**
|
|
31
31
|
* Gets or sets the schedules end date.
|
|
32
32
|
*/
|
|
@@ -38,9 +38,5 @@ export type ScheduledSessionSchedulePost = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Gets or sets the capacity.
|
|
40
40
|
*/
|
|
41
|
-
capacity
|
|
42
|
-
/**
|
|
43
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
44
|
-
*/
|
|
45
|
-
capacityUnlimited?: boolean;
|
|
41
|
+
capacity: number;
|
|
46
42
|
};
|
|
@@ -59,10 +59,6 @@ export type SessionCreate = {
|
|
|
59
59
|
* Gets or sets the capacity.
|
|
60
60
|
*/
|
|
61
61
|
capacity?: number | null;
|
|
62
|
-
/**
|
|
63
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
64
|
-
*/
|
|
65
|
-
capacityUnlimited?: boolean | null;
|
|
66
62
|
gender?: SessionGender;
|
|
67
63
|
/**
|
|
68
64
|
* Gets or sets the min age.
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { SessionGender } from './SessionGender';
|
|
7
7
|
import type { UpdateEmailSettings } from './UpdateEmailSettings';
|
|
8
|
+
import type { UpdateOffer } from './UpdateOffer';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Patch model for session updates.
|
|
@@ -21,11 +22,11 @@ export type SessionPatch = {
|
|
|
21
22
|
/**
|
|
22
23
|
* Gets or sets the venue id for the activity.
|
|
23
24
|
*/
|
|
24
|
-
venueId
|
|
25
|
+
venueId: string;
|
|
25
26
|
/**
|
|
26
27
|
* Gets or sets the Activity Id.
|
|
27
28
|
*/
|
|
28
|
-
activityId
|
|
29
|
+
activityId: number;
|
|
29
30
|
/**
|
|
30
31
|
* Gets or sets the Programme Id.
|
|
31
32
|
*/
|
|
@@ -41,7 +42,7 @@ export type SessionPatch = {
|
|
|
41
42
|
/**
|
|
42
43
|
* Gets or sets the session name.
|
|
43
44
|
*/
|
|
44
|
-
name
|
|
45
|
+
name: string;
|
|
45
46
|
/**
|
|
46
47
|
* Gets or sets the session description.
|
|
47
48
|
*/
|
|
@@ -57,11 +58,7 @@ export type SessionPatch = {
|
|
|
57
58
|
/**
|
|
58
59
|
* Gets or sets the session capacity.
|
|
59
60
|
*/
|
|
60
|
-
capacity
|
|
61
|
-
/**
|
|
62
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
63
|
-
*/
|
|
64
|
-
capacityUnlimited?: boolean | null;
|
|
61
|
+
capacity: number;
|
|
65
62
|
gender?: SessionGender;
|
|
66
63
|
/**
|
|
67
64
|
* Gets or sets the min age.
|
|
@@ -108,4 +105,8 @@ export type SessionPatch = {
|
|
|
108
105
|
*/
|
|
109
106
|
deleted?: boolean | null;
|
|
110
107
|
emailSettings?: UpdateEmailSettings;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the session offers.
|
|
110
|
+
*/
|
|
111
|
+
offers?: Array<UpdateOffer> | null;
|
|
111
112
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Patch model for session offers.
|
|
8
|
+
*/
|
|
9
|
+
export type UpdateOffer = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the offer id.
|
|
12
|
+
*/
|
|
13
|
+
id?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the offer name.
|
|
16
|
+
*/
|
|
17
|
+
name?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the offer total/gross price.
|
|
20
|
+
*/
|
|
21
|
+
priceTotal: number;
|
|
22
|
+
};
|