reach-api-sdk 1.0.86 → 1.0.88

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.
@@ -5360,6 +5360,24 @@ declare class CountryService {
5360
5360
  }): CancelablePromise<Array<Country>>;
5361
5361
  }
5362
5362
 
5363
+ /**
5364
+ * email settings.
5365
+ */
5366
+ type CreateEmailSettings = {
5367
+ /**
5368
+ * Gets or sets the order confirmation text.
5369
+ */
5370
+ orderConfimationText?: string | null;
5371
+ /**
5372
+ * Gets or sets the order post completion text.
5373
+ */
5374
+ postCompletionSubject?: string | null;
5375
+ /**
5376
+ * Gets or sets the order post completion text.
5377
+ */
5378
+ postCompletionText?: string | null;
5379
+ };
5380
+
5363
5381
  /**
5364
5382
  * Post model for session offers.
5365
5383
  */
@@ -5518,6 +5536,7 @@ type CourseCreate = {
5518
5536
  * Gets or sets the course offers.
5519
5537
  */
5520
5538
  offers?: Array<CreateOffer> | null;
5539
+ emailSettings?: CreateEmailSettings;
5521
5540
  };
5522
5541
 
5523
5542
  type CoursePage = {
@@ -17355,7 +17374,7 @@ type ProgrammePatch = {
17355
17374
  /**
17356
17375
  * Gets or sets the programme image url.
17357
17376
  */
17358
- imageUrl: string;
17377
+ imageUrl?: string | null;
17359
17378
  };
17360
17379
 
17361
17380
  /**
@@ -26324,6 +26343,7 @@ type SessionCreate = {
26324
26343
  * Gets or sets the session offers.
26325
26344
  */
26326
26345
  offers?: Array<CreateOffer> | null;
26346
+ emailSettings?: CreateEmailSettings;
26327
26347
  };
26328
26348
 
26329
26349
  declare class SessionsService {
@@ -31456,6 +31476,10 @@ type TemplateDetail = {
31456
31476
  * Gets or sets the templates max age.
31457
31477
  */
31458
31478
  maxAge?: number | null;
31479
+ /**
31480
+ * Gets or sets a value indicating whether there is an age restriction.
31481
+ */
31482
+ noAgeRestriction?: boolean;
31459
31483
  /**
31460
31484
  * Gets or sets the templates additional support options.
31461
31485
  */
@@ -37010,4 +37034,4 @@ type ValidationResultModel = {
37010
37034
  readonly errors?: Array<ValidationError> | null;
37011
37035
  };
37012
37036
 
37013
- export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, 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, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderEmailCustomerPatch, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, 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, PublicCustomersService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundStatus, RescheduleLog, RescheduleLogPage, RescheduleLogPatch, RescheduleLogPost, RescheduleLogService, ScheduleStatus, ScheduledSession, ScheduledSessionEmailAttendeesPatch, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionReschedulePatch, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, 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, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPatchOption, SurveyQuestionPost, SurveyQuestionPostOption, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmit, SurveySubmitAttendee, SurveySubmitQuestions, SurveyType, SurveysService, Tax, Template, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantTier, 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, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
37037
+ export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ChatService, ChoiceMessage, CompletionChoice, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CourseCreate, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, 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, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderEmailCustomerPatch, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, 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, PublicCustomersService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicNetworksService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyCompletionLogsService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, QuestionIndex, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, RefundStatus, RescheduleLog, RescheduleLogPage, RescheduleLogPatch, RescheduleLogPost, RescheduleLogService, ScheduleStatus, ScheduledSession, ScheduledSessionEmailAttendeesPatch, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionReschedulePatch, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, 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, SurveyCompletionLog, SurveyCompletionLogPage, SurveyCompletionLogPatch, SurveyCompletionLogPost, SurveyCompletionLogService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPatchOption, SurveyQuestionPost, SurveyQuestionPostOption, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmit, SurveySubmitAttendee, SurveySubmitQuestions, SurveyType, SurveysService, Tax, Template, TemplateDetail, TemplateDetailPage, TemplateDetailPatch, TemplateDetailPost, TemplateDetailsService, TemplateDuplicatePost, TemplateFromPost, TemplateOffer, TemplateOfferPage, TemplateOfferPatch, TemplateOfferPost, TemplateOffersService, TemplatePage, TemplatePatch, TemplatePost, TemplateUseResponse, TemplatesService, Tenant, TenantPage, TenantPatch, TenantPost, TenantTier, 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, VenueManager, VenueManagerPage, VenueManagerPatch, VenueManagerPost, VenueManagersService, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -84716,6 +84716,8 @@ components:
84716
84716
  $ref: '#/components/schemas/CreateOffer'
84717
84717
  description: Gets or sets the course offers.
84718
84718
  nullable: true
84719
+ emailSettings:
84720
+ $ref: '#/components/schemas/CreateEmailSettings'
84719
84721
  additionalProperties: false
84720
84722
  description: Post model for course inserts.
84721
84723
  CoursePage:
@@ -85228,6 +85230,23 @@ components:
85228
85230
  - Cancelled
85229
85231
  type: string
85230
85232
  description: The Slot active status.
85233
+ CreateEmailSettings:
85234
+ type: object
85235
+ properties:
85236
+ orderConfimationText:
85237
+ type: string
85238
+ description: Gets or sets the order confirmation text.
85239
+ nullable: true
85240
+ postCompletionSubject:
85241
+ type: string
85242
+ description: Gets or sets the order post completion text.
85243
+ nullable: true
85244
+ postCompletionText:
85245
+ type: string
85246
+ description: Gets or sets the order post completion text.
85247
+ nullable: true
85248
+ additionalProperties: false
85249
+ description: email settings.
85231
85250
  CreateOffer:
85232
85251
  required:
85233
85252
  - priceTotal
@@ -89237,7 +89256,6 @@ components:
89237
89256
  required:
89238
89257
  - description
89239
89258
  - id
89240
- - imageUrl
89241
89259
  - name
89242
89260
  - tenantId
89243
89261
  type: object
@@ -89262,6 +89280,7 @@ components:
89262
89280
  type: string
89263
89281
  description: Gets or sets the programme image url.
89264
89282
  format: uri
89283
+ nullable: true
89265
89284
  additionalProperties: false
89266
89285
  description: Post model for programme updates.
89267
89286
  ProgrammePost:
@@ -90484,6 +90503,8 @@ components:
90484
90503
  $ref: '#/components/schemas/CreateOffer'
90485
90504
  description: Gets or sets the session offers.
90486
90505
  nullable: true
90506
+ emailSettings:
90507
+ $ref: '#/components/schemas/CreateEmailSettings'
90487
90508
  additionalProperties: false
90488
90509
  description: Post model for session inserts.
90489
90510
  SessionPage:
@@ -92494,6 +92515,10 @@ components:
92494
92515
  description: Gets or sets the templates max age.
92495
92516
  format: int32
92496
92517
  nullable: true
92518
+ noAgeRestriction:
92519
+ type: boolean
92520
+ description: Gets or sets a value indicating whether there is an age restriction.
92521
+ default: false
92497
92522
  additionalSupport:
92498
92523
  type: array
92499
92524
  items:
package/src/index.ts CHANGED
@@ -42,6 +42,7 @@ export type { CourseSessionSchedulePage } from './models/CourseSessionSchedulePa
42
42
  export type { CourseSessionSchedulePatch } from './models/CourseSessionSchedulePatch';
43
43
  export type { CourseSessionSchedulePost } from './models/CourseSessionSchedulePost';
44
44
  export { CourseStatus } from './models/CourseStatus';
45
+ export type { CreateEmailSettings } from './models/CreateEmailSettings';
45
46
  export type { CreateOffer } from './models/CreateOffer';
46
47
  export type { CreateQuestion } from './models/CreateQuestion';
47
48
  export type { CreateQuestionOption } from './models/CreateQuestionOption';
@@ -3,6 +3,7 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
+ import type { CreateEmailSettings } from './CreateEmailSettings';
6
7
  import type { CreateOffer } from './CreateOffer';
7
8
  import type { CreateVenue } from './CreateVenue';
8
9
  import type { Gender } from './Gender';
@@ -101,4 +102,5 @@ export type CourseCreate = {
101
102
  * Gets or sets the course offers.
102
103
  */
103
104
  offers?: Array<CreateOffer> | null;
105
+ emailSettings?: CreateEmailSettings;
104
106
  };
@@ -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
+ * email settings.
8
+ */
9
+ export type CreateEmailSettings = {
10
+ /**
11
+ * Gets or sets the order confirmation text.
12
+ */
13
+ orderConfimationText?: string | null;
14
+ /**
15
+ * Gets or sets the order post completion text.
16
+ */
17
+ postCompletionSubject?: string | null;
18
+ /**
19
+ * Gets or sets the order post completion text.
20
+ */
21
+ postCompletionText?: string | null;
22
+ };
@@ -26,5 +26,5 @@ export type ProgrammePatch = {
26
26
  /**
27
27
  * Gets or sets the programme image url.
28
28
  */
29
- imageUrl: string;
29
+ imageUrl?: string | null;
30
30
  };
@@ -3,6 +3,7 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
+ import type { CreateEmailSettings } from './CreateEmailSettings';
6
7
  import type { CreateOffer } from './CreateOffer';
7
8
  import type { CreateVenue } from './CreateVenue';
8
9
  import type { Gender } from './Gender';
@@ -105,4 +106,5 @@ export type SessionCreate = {
105
106
  * Gets or sets the session offers.
106
107
  */
107
108
  offers?: Array<CreateOffer> | null;
109
+ emailSettings?: CreateEmailSettings;
108
110
  };
@@ -95,6 +95,10 @@ export type TemplateDetail = {
95
95
  * Gets or sets the templates max age.
96
96
  */
97
97
  maxAge?: number | null;
98
+ /**
99
+ * Gets or sets a value indicating whether there is an age restriction.
100
+ */
101
+ noAgeRestriction?: boolean;
98
102
  /**
99
103
  * Gets or sets the templates additional support options.
100
104
  */