reach-api-sdk 1.0.17 → 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 +28 -22
- package/package.json +1 -1
- package/src/definition/swagger.yaml +32 -22
- package/src/index.ts +1 -0
- package/src/models/CreateOffer.ts +1 -1
- package/src/models/ScheduledSessionPost.ts +0 -4
- package/src/models/ScheduledSessionSchedulePost.ts +0 -4
- 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
|
@@ -15876,10 +15876,6 @@ type ScheduledSessionPost = {
|
|
|
15876
15876
|
* Gets or sets the capacity.
|
|
15877
15877
|
*/
|
|
15878
15878
|
capacity?: number | null;
|
|
15879
|
-
/**
|
|
15880
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
15881
|
-
*/
|
|
15882
|
-
capacityUnlimited?: boolean | null;
|
|
15883
15879
|
};
|
|
15884
15880
|
|
|
15885
15881
|
/**
|
|
@@ -16240,6 +16236,24 @@ type SessionPage = {
|
|
|
16240
16236
|
readonly items?: Array<Session> | null;
|
|
16241
16237
|
};
|
|
16242
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
|
+
|
|
16243
16257
|
/**
|
|
16244
16258
|
* Patch model for session updates.
|
|
16245
16259
|
*/
|
|
@@ -16255,11 +16269,11 @@ type SessionPatch = {
|
|
|
16255
16269
|
/**
|
|
16256
16270
|
* Gets or sets the venue id for the activity.
|
|
16257
16271
|
*/
|
|
16258
|
-
venueId
|
|
16272
|
+
venueId: string;
|
|
16259
16273
|
/**
|
|
16260
16274
|
* Gets or sets the Activity Id.
|
|
16261
16275
|
*/
|
|
16262
|
-
activityId
|
|
16276
|
+
activityId: number;
|
|
16263
16277
|
/**
|
|
16264
16278
|
* Gets or sets the Programme Id.
|
|
16265
16279
|
*/
|
|
@@ -16275,7 +16289,7 @@ type SessionPatch = {
|
|
|
16275
16289
|
/**
|
|
16276
16290
|
* Gets or sets the session name.
|
|
16277
16291
|
*/
|
|
16278
|
-
name
|
|
16292
|
+
name: string;
|
|
16279
16293
|
/**
|
|
16280
16294
|
* Gets or sets the session description.
|
|
16281
16295
|
*/
|
|
@@ -16291,11 +16305,7 @@ type SessionPatch = {
|
|
|
16291
16305
|
/**
|
|
16292
16306
|
* Gets or sets the session capacity.
|
|
16293
16307
|
*/
|
|
16294
|
-
capacity
|
|
16295
|
-
/**
|
|
16296
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
16297
|
-
*/
|
|
16298
|
-
capacityUnlimited?: boolean | null;
|
|
16308
|
+
capacity: number;
|
|
16299
16309
|
gender?: SessionGender;
|
|
16300
16310
|
/**
|
|
16301
16311
|
* Gets or sets the min age.
|
|
@@ -16342,6 +16352,10 @@ type SessionPatch = {
|
|
|
16342
16352
|
*/
|
|
16343
16353
|
deleted?: boolean | null;
|
|
16344
16354
|
emailSettings?: UpdateEmailSettings;
|
|
16355
|
+
/**
|
|
16356
|
+
* Gets or sets the session offers.
|
|
16357
|
+
*/
|
|
16358
|
+
offers?: Array<UpdateOffer> | null;
|
|
16345
16359
|
};
|
|
16346
16360
|
|
|
16347
16361
|
/**
|
|
@@ -20184,10 +20198,6 @@ type ScheduledSessionSchedulePost = {
|
|
|
20184
20198
|
* Gets or sets the capacity.
|
|
20185
20199
|
*/
|
|
20186
20200
|
capacity: number;
|
|
20187
|
-
/**
|
|
20188
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
20189
|
-
*/
|
|
20190
|
-
capacityUnlimited: boolean;
|
|
20191
20201
|
};
|
|
20192
20202
|
|
|
20193
20203
|
declare class ScheduledSessionsSchedulesService {
|
|
@@ -20508,7 +20518,7 @@ declare class ScheduledSessionsSchedulesService {
|
|
|
20508
20518
|
}
|
|
20509
20519
|
|
|
20510
20520
|
/**
|
|
20511
|
-
*
|
|
20521
|
+
* Post model for session offers.
|
|
20512
20522
|
*/
|
|
20513
20523
|
type CreateOffer = {
|
|
20514
20524
|
/**
|
|
@@ -20623,10 +20633,6 @@ type SessionCreate = {
|
|
|
20623
20633
|
* Gets or sets the capacity.
|
|
20624
20634
|
*/
|
|
20625
20635
|
capacity?: number | null;
|
|
20626
|
-
/**
|
|
20627
|
-
* Gets or sets a value indicating whether the session has unlimited capacity.
|
|
20628
|
-
*/
|
|
20629
|
-
capacityUnlimited?: boolean | null;
|
|
20630
20636
|
gender?: SessionGender;
|
|
20631
20637
|
/**
|
|
20632
20638
|
* Gets or sets the min age.
|
|
@@ -27568,4 +27574,4 @@ type ValidationResultModel = {
|
|
|
27568
27574
|
readonly errors?: Array<ValidationError> | null;
|
|
27569
27575
|
};
|
|
27570
27576
|
|
|
27571
|
-
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
|
@@ -64547,7 +64547,7 @@ components:
|
|
|
64547
64547
|
description: Gets or sets the offer total/gross price.
|
|
64548
64548
|
format: double
|
|
64549
64549
|
additionalProperties: false
|
|
64550
|
-
description:
|
|
64550
|
+
description: Post model for session offers.
|
|
64551
64551
|
CreateVenue:
|
|
64552
64552
|
type: object
|
|
64553
64553
|
properties:
|
|
@@ -68214,10 +68214,6 @@ components:
|
|
|
68214
68214
|
description: Gets or sets the capacity.
|
|
68215
68215
|
format: int32
|
|
68216
68216
|
nullable: true
|
|
68217
|
-
capacityUnlimited:
|
|
68218
|
-
type: boolean
|
|
68219
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68220
|
-
nullable: true
|
|
68221
68217
|
additionalProperties: false
|
|
68222
68218
|
description: Post model for scheduled session inserts.
|
|
68223
68219
|
ScheduledSessionSchedule:
|
|
@@ -68339,7 +68335,6 @@ components:
|
|
|
68339
68335
|
ScheduledSessionSchedulePost:
|
|
68340
68336
|
required:
|
|
68341
68337
|
- capacity
|
|
68342
|
-
- capacityUnlimited
|
|
68343
68338
|
- durationMinutes
|
|
68344
68339
|
- rRuleString
|
|
68345
68340
|
- sessionId
|
|
@@ -68382,10 +68377,6 @@ components:
|
|
|
68382
68377
|
description: Gets or sets the capacity.
|
|
68383
68378
|
format: int32
|
|
68384
68379
|
default: 0
|
|
68385
|
-
capacityUnlimited:
|
|
68386
|
-
type: boolean
|
|
68387
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68388
|
-
default: false
|
|
68389
68380
|
additionalProperties: false
|
|
68390
68381
|
description: Post model for scheduled session schedule inserts.
|
|
68391
68382
|
ScheduledSessionSearchSortBy:
|
|
@@ -68669,10 +68660,6 @@ components:
|
|
|
68669
68660
|
description: Gets or sets the capacity.
|
|
68670
68661
|
format: int32
|
|
68671
68662
|
nullable: true
|
|
68672
|
-
capacityUnlimited:
|
|
68673
|
-
type: boolean
|
|
68674
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68675
|
-
nullable: true
|
|
68676
68663
|
gender:
|
|
68677
68664
|
$ref: '#/components/schemas/SessionGender'
|
|
68678
68665
|
minAge:
|
|
@@ -68748,8 +68735,12 @@ components:
|
|
|
68748
68735
|
additionalProperties: false
|
|
68749
68736
|
SessionPatch:
|
|
68750
68737
|
required:
|
|
68738
|
+
- activityId
|
|
68739
|
+
- capacity
|
|
68751
68740
|
- id
|
|
68741
|
+
- name
|
|
68752
68742
|
- tenantId
|
|
68743
|
+
- venueId
|
|
68753
68744
|
type: object
|
|
68754
68745
|
properties:
|
|
68755
68746
|
tenantId:
|
|
@@ -68764,12 +68755,10 @@ components:
|
|
|
68764
68755
|
type: string
|
|
68765
68756
|
description: Gets or sets the venue id for the activity.
|
|
68766
68757
|
format: uuid
|
|
68767
|
-
nullable: true
|
|
68768
68758
|
activityId:
|
|
68769
68759
|
type: integer
|
|
68770
68760
|
description: Gets or sets the Activity Id.
|
|
68771
68761
|
format: int32
|
|
68772
|
-
nullable: true
|
|
68773
68762
|
programmeId:
|
|
68774
68763
|
type: string
|
|
68775
68764
|
description: Gets or sets the Programme Id.
|
|
@@ -68786,9 +68775,9 @@ components:
|
|
|
68786
68775
|
format: uuid
|
|
68787
68776
|
nullable: true
|
|
68788
68777
|
name:
|
|
68778
|
+
minLength: 1
|
|
68789
68779
|
type: string
|
|
68790
68780
|
description: Gets or sets the session name.
|
|
68791
|
-
nullable: true
|
|
68792
68781
|
description:
|
|
68793
68782
|
type: string
|
|
68794
68783
|
description: Gets or sets the session description.
|
|
@@ -68806,11 +68795,6 @@ components:
|
|
|
68806
68795
|
type: integer
|
|
68807
68796
|
description: Gets or sets the session capacity.
|
|
68808
68797
|
format: int32
|
|
68809
|
-
nullable: true
|
|
68810
|
-
capacityUnlimited:
|
|
68811
|
-
type: boolean
|
|
68812
|
-
description: Gets or sets a value indicating whether the session has unlimited capacity.
|
|
68813
|
-
nullable: true
|
|
68814
68798
|
gender:
|
|
68815
68799
|
$ref: '#/components/schemas/SessionGender'
|
|
68816
68800
|
minAge:
|
|
@@ -68864,6 +68848,12 @@ components:
|
|
|
68864
68848
|
nullable: true
|
|
68865
68849
|
emailSettings:
|
|
68866
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
|
|
68867
68857
|
additionalProperties: false
|
|
68868
68858
|
description: Patch model for session updates.
|
|
68869
68859
|
SessionPost:
|
|
@@ -70894,6 +70884,26 @@ components:
|
|
|
70894
70884
|
nullable: true
|
|
70895
70885
|
additionalProperties: false
|
|
70896
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.
|
|
70897
70907
|
User:
|
|
70898
70908
|
type: object
|
|
70899
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';
|
|
@@ -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
|
+
};
|