reach-api-sdk 1.0.121 → 1.0.123

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.
@@ -2026,6 +2026,125 @@ declare enum CustomerCancellationOption {
2026
2026
  UNDETERMINED = "Undetermined"
2027
2027
  }
2028
2028
 
2029
+ /**
2030
+ * Controls the DealType.
2031
+ */
2032
+ declare enum DealDiscountType {
2033
+ PERCENT = "Percent",
2034
+ FIXED = "Fixed"
2035
+ }
2036
+
2037
+ /**
2038
+ * Controls the DealTarget.
2039
+ */
2040
+ declare enum DealTarget {
2041
+ ALL_ACTIVITIES = "AllActivities",
2042
+ SPECIFIC_ACTIVITIES = "SpecificActivities"
2043
+ }
2044
+
2045
+ /**
2046
+ * Controls the DealType.
2047
+ */
2048
+ declare enum DealType {
2049
+ MULTI_ITEM = "MultiItem",
2050
+ MULTI_PARTICIPANT = "MultiParticipant",
2051
+ EARLY_BIRD_DISCOUNT = "EarlyBirdDiscount"
2052
+ }
2053
+
2054
+ /**
2055
+ * Represents a deal within the Reach application.
2056
+ */
2057
+ type Deal = {
2058
+ /**
2059
+ * Gets or sets the entities Id.
2060
+ */
2061
+ id?: string;
2062
+ /**
2063
+ * Gets or sets the tenant Id.
2064
+ */
2065
+ tenantId: string;
2066
+ /**
2067
+ * Gets or sets the created date of this entity.
2068
+ */
2069
+ dateCreated: string;
2070
+ /**
2071
+ * Gets or sets the last modified date of this entity.
2072
+ */
2073
+ dateModified: string;
2074
+ /**
2075
+ * Gets or sets the modified by Id.
2076
+ */
2077
+ modifiedById?: string | null;
2078
+ /**
2079
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
2080
+ */
2081
+ isLive: boolean;
2082
+ /**
2083
+ * Gets or sets the survey name.
2084
+ */
2085
+ name?: string | null;
2086
+ type?: DealType;
2087
+ /**
2088
+ * Gets or sets the required items.
2089
+ */
2090
+ requiredItems?: number;
2091
+ discountType?: DealDiscountType;
2092
+ /**
2093
+ * Gets or sets the value of the discount applied to the deal.
2094
+ * This can represent a percentage or a fixed amount, depending on the Reach.Models.Deal.DiscountType.
2095
+ */
2096
+ discountValue?: number;
2097
+ target?: DealTarget;
2098
+ /**
2099
+ * Gets the venues shortened formatted address.
2100
+ */
2101
+ readonly typeLabel?: string | null;
2102
+ };
2103
+
2104
+ /**
2105
+ * Represents an order deal Reach.Models.OrderDeal within the Reach application.
2106
+ */
2107
+ type OrderDeal = {
2108
+ /**
2109
+ * Gets or sets the entities Id.
2110
+ */
2111
+ id?: string;
2112
+ /**
2113
+ * Gets or sets the tenant Id.
2114
+ */
2115
+ tenantId: string;
2116
+ /**
2117
+ * Gets or sets the created date of this entity.
2118
+ */
2119
+ dateCreated: string;
2120
+ /**
2121
+ * Gets or sets the last modified date of this entity.
2122
+ */
2123
+ dateModified: string;
2124
+ /**
2125
+ * Gets or sets the modified by Id.
2126
+ */
2127
+ modifiedById?: string | null;
2128
+ /**
2129
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
2130
+ */
2131
+ isLive: boolean;
2132
+ /**
2133
+ * Gets or sets the order id.
2134
+ */
2135
+ orderId?: string | null;
2136
+ /**
2137
+ * Gets or sets the slot id.
2138
+ */
2139
+ dealId?: string | null;
2140
+ /**
2141
+ * Gets or sets the deal value.
2142
+ */
2143
+ dealValue?: number;
2144
+ order?: Order;
2145
+ deal?: Deal;
2146
+ };
2147
+
2029
2148
  /**
2030
2149
  * The Opportunity booking status, indicating whether the opportunity has an active booking or has been attended.
2031
2150
  */
@@ -2334,81 +2453,6 @@ declare enum Prepayment {
2334
2453
  UNAVAILABLE = "Unavailable"
2335
2454
  }
2336
2455
 
2337
- /**
2338
- * Controls the DealType.
2339
- */
2340
- declare enum DealDiscountType {
2341
- PERCENT = "Percent",
2342
- FIXED = "Fixed"
2343
- }
2344
-
2345
- /**
2346
- * Controls the DealTarget.
2347
- */
2348
- declare enum DealTarget {
2349
- ALL_ACTIVITIES = "AllActivities",
2350
- SPECIFIC_ACTIVITIES = "SpecificActivities"
2351
- }
2352
-
2353
- /**
2354
- * Controls the DealType.
2355
- */
2356
- declare enum DealType {
2357
- MULTI_ITEM = "MultiItem",
2358
- MULTI_PARTICIPANT = "MultiParticipant",
2359
- EARLY_BIRD_DISCOUNT = "EarlyBirdDiscount"
2360
- }
2361
-
2362
- /**
2363
- * Represents a deal within the Reach application.
2364
- */
2365
- type Deal = {
2366
- /**
2367
- * Gets or sets the entities Id.
2368
- */
2369
- id?: string;
2370
- /**
2371
- * Gets or sets the tenant Id.
2372
- */
2373
- tenantId: string;
2374
- /**
2375
- * Gets or sets the created date of this entity.
2376
- */
2377
- dateCreated: string;
2378
- /**
2379
- * Gets or sets the last modified date of this entity.
2380
- */
2381
- dateModified: string;
2382
- /**
2383
- * Gets or sets the modified by Id.
2384
- */
2385
- modifiedById?: string | null;
2386
- /**
2387
- * Gets or sets a value indicating whether the record is live and available for use within the application.
2388
- */
2389
- isLive: boolean;
2390
- /**
2391
- * Gets or sets the survey name.
2392
- */
2393
- name?: string | null;
2394
- type?: DealType;
2395
- /**
2396
- * Gets or sets the required items.
2397
- */
2398
- requiredItems?: number;
2399
- discountType?: DealDiscountType;
2400
- /**
2401
- * Gets or sets the value of the discount applied to the deal.
2402
- * This can represent a percentage or a fixed amount, depending on the Reach.Models.Deal.DiscountType.
2403
- */
2404
- discountValue?: number;
2405
- target?: DealTarget;
2406
- /**
2407
- * Gets the venues shortened formatted address.
2408
- */
2409
- readonly typeLabel?: string | null;
2410
- };
2411
-
2412
2456
  /**
2413
2457
  * Gender options.
2414
2458
  */
@@ -3283,6 +3327,10 @@ type Session = {
3283
3327
  * Gets or sets the venues referenced images.
3284
3328
  */
3285
3329
  images?: Array<Image> | null;
3330
+ /**
3331
+ * Gets or sets the deals.
3332
+ */
3333
+ deals?: Array<Deal> | null;
3286
3334
  activityType?: ActivityType;
3287
3335
  sessionType?: SessionType;
3288
3336
  /**
@@ -3362,10 +3410,6 @@ type Session = {
3362
3410
  * Gets or sets the customers on the waitlist.
3363
3411
  */
3364
3412
  registrationWaitlist?: Array<WaitlistActivity> | null;
3365
- /**
3366
- * Gets or sets the session deals.
3367
- */
3368
- deals?: Array<Deal> | null;
3369
3413
  };
3370
3414
 
3371
3415
  /**
@@ -4489,6 +4533,10 @@ type Course = {
4489
4533
  * Gets or sets the venues referenced images.
4490
4534
  */
4491
4535
  images?: Array<Image> | null;
4536
+ /**
4537
+ * Gets or sets the deals.
4538
+ */
4539
+ deals?: Array<Deal> | null;
4492
4540
  activityType?: ActivityType;
4493
4541
  /**
4494
4542
  * Gets or sets the course duration, added to satisfy interface but is not applicable to courses.
@@ -4626,10 +4674,6 @@ type Course = {
4626
4674
  * Gets or sets the courses available offers.
4627
4675
  */
4628
4676
  availableOffers?: Array<Offer> | null;
4629
- /**
4630
- * Gets or sets the courses deals.
4631
- */
4632
- deals?: Array<Deal> | null;
4633
4677
  /**
4634
4678
  * Gets or sets the order items.
4635
4679
  */
@@ -4697,6 +4741,50 @@ declare enum OpportunityType {
4697
4741
  COURSE = "Course"
4698
4742
  }
4699
4743
 
4744
+ /**
4745
+ * Represents an order deal Reach.Models.OrderItemDeal within the Reach application.
4746
+ */
4747
+ type OrderItemDeal = {
4748
+ /**
4749
+ * Gets or sets the entities Id.
4750
+ */
4751
+ id?: string;
4752
+ /**
4753
+ * Gets or sets the tenant Id.
4754
+ */
4755
+ tenantId: string;
4756
+ /**
4757
+ * Gets or sets the created date of this entity.
4758
+ */
4759
+ dateCreated: string;
4760
+ /**
4761
+ * Gets or sets the last modified date of this entity.
4762
+ */
4763
+ dateModified: string;
4764
+ /**
4765
+ * Gets or sets the modified by Id.
4766
+ */
4767
+ modifiedById?: string | null;
4768
+ /**
4769
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
4770
+ */
4771
+ isLive: boolean;
4772
+ /**
4773
+ * Gets or sets the order item id.
4774
+ */
4775
+ orderItemId?: string | null;
4776
+ /**
4777
+ * Gets or sets the slot id.
4778
+ */
4779
+ dealId?: string | null;
4780
+ /**
4781
+ * Gets or sets the deal value.
4782
+ */
4783
+ dealValue?: number;
4784
+ orderItem?: OrderItem;
4785
+ deal?: Deal;
4786
+ };
4787
+
4700
4788
  /**
4701
4789
  * The OrderItem status.
4702
4790
  */
@@ -4796,6 +4884,10 @@ type OrderItem = {
4796
4884
  scheduledSession?: ScheduledSession;
4797
4885
  course?: Course;
4798
4886
  offer?: Offer;
4887
+ /**
4888
+ * Gets or sets the order item deals.
4889
+ */
4890
+ orderItemDeals?: Array<OrderItemDeal> | null;
4799
4891
  opportunityType?: OpportunityType;
4800
4892
  opportunity?: IOpportunity;
4801
4893
  cancellable?: CustomerCancellationOption;
@@ -4996,6 +5088,10 @@ type Order = {
4996
5088
  * Gets a value indicating whether the order is a lease and that it is currently valid.
4997
5089
  */
4998
5090
  readonly isLeaseAndIsValid?: boolean;
5091
+ /**
5092
+ * Gets or sets the sub total for the order.
5093
+ */
5094
+ subTotal: number;
4999
5095
  /**
5000
5096
  * Gets or sets the total payment due for the order.
5001
5097
  */
@@ -5008,6 +5104,10 @@ type Order = {
5008
5104
  * Gets or sets the total payment due for the order.
5009
5105
  */
5010
5106
  totalPaymentTax: number;
5107
+ /**
5108
+ * Gets or sets the total deal value for the order.
5109
+ */
5110
+ totalDealValue: number;
5011
5111
  /**
5012
5112
  * Gets or sets the application fee.
5013
5113
  */
@@ -5116,6 +5216,10 @@ type Order = {
5116
5216
  * Gets or sets the orders payments.
5117
5217
  */
5118
5218
  payments?: Array<Payment> | null;
5219
+ /**
5220
+ * Gets or sets the order deals.
5221
+ */
5222
+ orderDeals?: Array<OrderDeal> | null;
5119
5223
  cancellable?: CustomerCancellationOption;
5120
5224
  };
5121
5225
 
@@ -6102,6 +6206,56 @@ declare class CountryService {
6102
6206
  }): CancelablePromise<Array<Country>>;
6103
6207
  }
6104
6208
 
6209
+ /**
6210
+ * Post model for session offers.
6211
+ */
6212
+ type CreateDeal = {
6213
+ /**
6214
+ * Gets or sets the entities Id.
6215
+ */
6216
+ id?: string;
6217
+ /**
6218
+ * Gets or sets the tenant Id.
6219
+ */
6220
+ tenantId: string;
6221
+ /**
6222
+ * Gets or sets the created date of this entity.
6223
+ */
6224
+ dateCreated: string;
6225
+ /**
6226
+ * Gets or sets the last modified date of this entity.
6227
+ */
6228
+ dateModified: string;
6229
+ /**
6230
+ * Gets or sets the modified by Id.
6231
+ */
6232
+ modifiedById?: string | null;
6233
+ /**
6234
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
6235
+ */
6236
+ isLive: boolean;
6237
+ /**
6238
+ * Gets or sets the survey name.
6239
+ */
6240
+ name?: string | null;
6241
+ type?: DealType;
6242
+ /**
6243
+ * Gets or sets the required items.
6244
+ */
6245
+ requiredItems?: number;
6246
+ discountType?: DealDiscountType;
6247
+ /**
6248
+ * Gets or sets the value of the discount applied to the deal.
6249
+ * This can represent a percentage or a fixed amount, depending on the Reach.Models.Deal.DiscountType.
6250
+ */
6251
+ discountValue?: number;
6252
+ target?: DealTarget;
6253
+ /**
6254
+ * Gets the venues shortened formatted address.
6255
+ */
6256
+ readonly typeLabel?: string | null;
6257
+ };
6258
+
6105
6259
  /**
6106
6260
  * email settings.
6107
6261
  */
@@ -6287,6 +6441,10 @@ type CourseCreate = {
6287
6441
  */
6288
6442
  offers?: Array<CreateOffer> | null;
6289
6443
  emailSettings?: CreateEmailSettings;
6444
+ /**
6445
+ * Gets or sets the session deals.
6446
+ */
6447
+ deals?: Array<CreateDeal> | null;
6290
6448
  };
6291
6449
 
6292
6450
  /**
@@ -9054,6 +9212,7 @@ type DealActivity = {
9054
9212
  * Gets or sets the session id.
9055
9213
  */
9056
9214
  sessionId?: string | null;
9215
+ deal?: Deal;
9057
9216
  };
9058
9217
 
9059
9218
  type DealActivityPage = {
@@ -11815,6 +11974,10 @@ type GenericActivity = {
11815
11974
  * Gets or sets the offers.
11816
11975
  */
11817
11976
  offers?: Array<Offer> | null;
11977
+ /**
11978
+ * Gets or sets the offers.
11979
+ */
11980
+ deals?: Array<Deal> | null;
11818
11981
  /**
11819
11982
  * Gets or sets the waitlist.
11820
11983
  */
@@ -19063,6 +19226,18 @@ declare class OrdersService {
19063
19226
  */
19064
19227
  id: string;
19065
19228
  }): CancelablePromise<Order>;
19229
+ /**
19230
+ * Gets an Order and includes checks to ensure it is bookable.
19231
+ * Typically used when entering checkout.
19232
+ * @returns Order Success
19233
+ * @throws ApiError
19234
+ */
19235
+ updateBasket({ requestBody, }: {
19236
+ /**
19237
+ * The order.
19238
+ */
19239
+ requestBody?: Order;
19240
+ }): CancelablePromise<Order>;
19066
19241
  /**
19067
19242
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
19068
19243
  * @returns Order Success
@@ -23836,6 +24011,21 @@ declare class PublicOrdersService {
23836
24011
  */
23837
24012
  requestBody?: Array<string>;
23838
24013
  }): CancelablePromise<any>;
24014
+ /**
24015
+ * Update basket for order.
24016
+ * @returns Order Success
24017
+ * @throws ApiError
24018
+ */
24019
+ updateBasket({ xTenantSubdomain, requestBody, }: {
24020
+ /**
24021
+ * The tenants subdomain.
24022
+ */
24023
+ xTenantSubdomain?: string;
24024
+ /**
24025
+ * The Order id.
24026
+ */
24027
+ requestBody?: Order;
24028
+ }): CancelablePromise<Order>;
23839
24029
  /**
23840
24030
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
23841
24031
  * @returns Order Success
@@ -31191,6 +31381,10 @@ type SessionCreate = {
31191
31381
  */
31192
31382
  offers?: Array<CreateOffer> | null;
31193
31383
  emailSettings?: CreateEmailSettings;
31384
+ /**
31385
+ * Gets or sets the session deals.
31386
+ */
31387
+ deals?: Array<CreateDeal> | null;
31194
31388
  };
31195
31389
 
31196
31390
  declare class SessionsService {
@@ -36598,6 +36792,44 @@ declare class SurveysService {
36598
36792
  }): CancelablePromise<Array<Survey>>;
36599
36793
  }
36600
36794
 
36795
+ /**
36796
+ * Represents a Template Offers within the Reach application.
36797
+ */
36798
+ type TemplateDeal = {
36799
+ /**
36800
+ * Gets or sets the entities Id.
36801
+ */
36802
+ id?: string;
36803
+ /**
36804
+ * Gets or sets the tenant Id.
36805
+ */
36806
+ tenantId: string;
36807
+ /**
36808
+ * Gets or sets the created date of this entity.
36809
+ */
36810
+ dateCreated: string;
36811
+ /**
36812
+ * Gets or sets the last modified date of this entity.
36813
+ */
36814
+ dateModified: string;
36815
+ /**
36816
+ * Gets or sets the modified by Id.
36817
+ */
36818
+ modifiedById?: string | null;
36819
+ /**
36820
+ * Gets or sets a value indicating whether the record is live and available for use within the application.
36821
+ */
36822
+ isLive: boolean;
36823
+ /**
36824
+ * Gets or sets the template detail id.
36825
+ */
36826
+ templateDetailId?: string;
36827
+ /**
36828
+ * Gets or sets the template deal id.
36829
+ */
36830
+ dealId?: string;
36831
+ };
36832
+
36601
36833
  /**
36602
36834
  * Represents a Template Offers within the Reach application.
36603
36835
  */
@@ -36790,6 +37022,14 @@ type TemplateDetail = {
36790
37022
  * Gets or sets the templates referenced offers.
36791
37023
  */
36792
37024
  offers?: Array<TemplateOffer> | null;
37025
+ /**
37026
+ * Gets or sets the templates referenced template deals.
37027
+ */
37028
+ templateDeals?: Array<TemplateDeal> | null;
37029
+ /**
37030
+ * Gets or sets the templates referenced deals.
37031
+ */
37032
+ deals?: Array<Deal> | null;
36793
37033
  };
36794
37034
 
36795
37035
  type TemplateDetailPage = {
@@ -36911,6 +37151,10 @@ type TemplateDetailPatch = {
36911
37151
  * Gets or sets the templates referenced offers.
36912
37152
  */
36913
37153
  offers?: Array<TemplateOffer> | null;
37154
+ /**
37155
+ * Gets or sets the templates referenced deals.
37156
+ */
37157
+ deals?: Array<TemplateDeal> | null;
36914
37158
  };
36915
37159
 
36916
37160
  /**
@@ -37708,6 +37952,10 @@ type CreateTemplateDetail = {
37708
37952
  * Gets or sets the templates referenced offers.
37709
37953
  */
37710
37954
  offers?: Array<CreateOffer> | null;
37955
+ /**
37956
+ * Gets or sets the templates referenced deals.
37957
+ */
37958
+ deals?: Array<CreateDeal> | null;
37711
37959
  };
37712
37960
 
37713
37961
  /**
@@ -44300,4 +44548,4 @@ type ValidationResultModel = {
44300
44548
  readonly errors?: Array<ValidationError> | null;
44301
44549
  };
44302
44550
 
44303
- export { Activity, ActivityPerformance, ActivityPerformancePage, ActivityPerformancePatch, ActivityPerformancePost, ActivityPerformanceService, ActivityService, ActivityType, AddressComponent, 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, CourseEmailAttendeesPatch, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionReschedulePatch, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateVenue, CustomDateRange, CustomDateRangeOption, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, Deal, DealActivitiesService, DealActivity, DealActivityPage, DealActivityPatch, DealActivityPost, DealCreate, DealDiscountType, DealPage, DealPatch, DealPost, DealTarget, DealType, DealsService, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, EnglandGolfReportService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HelpersService, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImageLibraryCategory, ImageLibraryCategoryService, ImageLibraryImage, ImageLibraryImageService, ImagePage, ImagePatch, ImagePost, ImageUploadHistory, ImageUploadHistoryPage, ImageUploadHistoryPatch, ImageUploadHistoryPost, ImageUploadHistoryService, 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, OpportunityRegisterStatus, OpportunityType, Order, OrderEmailCustomerPatch, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemReport, OrderItemReportPage, OrderItemReportPatch, OrderItemReportPost, OrderItemReportService, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPatchItem, 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, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceAddress, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicFilestackWebhookService, PublicGenericActivityService, 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, SurveyDuplicatePost, 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, TemplateCreate, 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, UnsplashSearchResponse, UnsplashService, 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, VenuePerformance, VenuePerformancePage, VenuePerformancePatch, VenuePerformancePost, VenuePerformanceService, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityReport, WaitlistActivityReportPage, WaitlistActivityReportPatch, WaitlistActivityReportPost, WaitlistActivityReportService, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityReport, WaitlistOpportunityReportPage, WaitlistOpportunityReportPatch, WaitlistOpportunityReportPost, WaitlistOpportunityReportService, WaitlistOpportunityService };
44551
+ export { Activity, ActivityPerformance, ActivityPerformancePage, ActivityPerformancePatch, ActivityPerformancePost, ActivityPerformanceService, ActivityService, ActivityType, AddressComponent, 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, CourseEmailAttendeesPatch, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionReschedulePatch, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CourseStatus, CoursesService, CreateDeal, CreateEmailSettings, CreateOffer, CreateQuestion, CreateQuestionOption, CreateTemplateDetail, CreateVenue, CustomDateRange, CustomDateRangeOption, Customer, CustomerCancellationOption, CustomerEmailPatch, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, Deal, DealActivitiesService, DealActivity, DealActivityPage, DealActivityPatch, DealActivityPost, DealCreate, DealDiscountType, DealPage, DealPatch, DealPost, DealTarget, DealType, DealsService, DescriptionCompletionResponse, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, EnglandGolfReportService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, Gender, GenericActivity, GenericActivityPage, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HelpersService, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImageLibraryCategory, ImageLibraryCategoryService, ImageLibraryImage, ImageLibraryImageService, ImagePage, ImagePatch, ImagePost, ImageUploadHistory, ImageUploadHistoryPage, ImageUploadHistoryPatch, ImageUploadHistoryPost, ImageUploadHistoryService, 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, OpportunityRegisterStatus, OpportunityType, Order, OrderDeal, OrderEmailCustomerPatch, OrderItem, OrderItemDeal, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemReport, OrderItemReportPage, OrderItemReportPatch, OrderItemReportPost, OrderItemReportService, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPatchItem, 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, PeriodsOfWeek, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceAddress, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicCustomersService, PublicFacilitiesService, PublicFilestackWebhookService, PublicGenericActivityService, 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, SurveyDuplicatePost, 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, TemplateCreate, TemplateDeal, 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, UnsplashSearchResponse, UnsplashService, 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, VenuePerformance, VenuePerformancePage, VenuePerformancePatch, VenuePerformancePost, VenuePerformanceService, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityReport, WaitlistActivityReportPage, WaitlistActivityReportPatch, WaitlistActivityReportPost, WaitlistActivityReportService, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityReport, WaitlistOpportunityReportPage, WaitlistOpportunityReportPatch, WaitlistOpportunityReportPost, WaitlistOpportunityReportService, WaitlistOpportunityService };
package/dist/reach-sdk.js CHANGED
@@ -12420,6 +12420,27 @@ const request = (config, options, axiosClient = axios) => {
12420
12420
  }
12421
12421
  });
12422
12422
  }
12423
+ /**
12424
+ * Gets an Order and includes checks to ensure it is bookable.
12425
+ * Typically used when entering checkout.
12426
+ * @returns Order Success
12427
+ * @throws ApiError
12428
+ */
12429
+ updateBasket({
12430
+ requestBody
12431
+ }) {
12432
+ return this.httpRequest.request({
12433
+ method: "POST",
12434
+ url: "/api/orders/update-basket",
12435
+ body: requestBody,
12436
+ mediaType: "application/json",
12437
+ errors: {
12438
+ 400: `Bad Request`,
12439
+ 422: `Client Error`,
12440
+ 500: `Server Error`
12441
+ }
12442
+ });
12443
+ }
12423
12444
  /**
12424
12445
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
12425
12446
  * @returns Order Success
@@ -16566,6 +16587,30 @@ const request = (config, options, axiosClient = axios) => {
16566
16587
  }
16567
16588
  });
16568
16589
  }
16590
+ /**
16591
+ * Update basket for order.
16592
+ * @returns Order Success
16593
+ * @throws ApiError
16594
+ */
16595
+ updateBasket({
16596
+ xTenantSubdomain,
16597
+ requestBody
16598
+ }) {
16599
+ return this.httpRequest.request({
16600
+ method: "POST",
16601
+ url: "/api/public/orders/update-basket",
16602
+ headers: {
16603
+ x_tenant_subdomain: xTenantSubdomain
16604
+ },
16605
+ body: requestBody,
16606
+ mediaType: "application/json",
16607
+ errors: {
16608
+ 400: `Bad Request`,
16609
+ 422: `Client Error`,
16610
+ 500: `Server Error`
16611
+ }
16612
+ });
16613
+ }
16569
16614
  /**
16570
16615
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
16571
16616
  * @returns Order Success
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.121",
3
+ "version": "1.0.123",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",