reach-api-sdk 1.0.39 → 1.0.40
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/.prettierignore +1 -0
- package/dist/reach-sdk.d.ts +293 -73
- package/dist/reach-sdk.js +94 -3
- package/package.json +1 -1
- package/src/definition/swagger.yaml +435 -4
- package/src/index.ts +3 -0
- package/src/models/Course.ts +2 -0
- package/src/models/CourseCreate.ts +100 -0
- package/src/models/CourseSessionPost.ts +5 -1
- package/src/models/CourseSessionSchedulePost.ts +28 -0
- package/src/models/CourseStatus.ts +12 -0
- package/src/models/Order.ts +4 -2
- package/src/models/RefundStatus.ts +12 -0
- package/src/models/SlotAvailabilityStatus.ts +1 -0
- package/src/models/SlotStatus.ts +1 -0
- package/src/services/CoursesService.ts +44 -0
- package/src/services/OrderItemsService.ts +73 -0
- package/src/services/ScheduledSessionsService.ts +27 -0
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
**/*.yaml
|
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -1803,7 +1803,8 @@ declare enum SlotAvailabilityStatus {
|
|
|
1803
1803
|
ATTENDED = "Attended",
|
|
1804
1804
|
NO_SPACES = "NoSpaces",
|
|
1805
1805
|
OFFLINE = "Offline",
|
|
1806
|
-
BLOCKED = "Blocked"
|
|
1806
|
+
BLOCKED = "Blocked",
|
|
1807
|
+
CANCELLED = "Cancelled"
|
|
1807
1808
|
}
|
|
1808
1809
|
|
|
1809
1810
|
/**
|
|
@@ -1818,7 +1819,8 @@ declare enum SlotStatus {
|
|
|
1818
1819
|
OFFLINE = "Offline",
|
|
1819
1820
|
ON_DEMAND = "OnDemand",
|
|
1820
1821
|
GHOSTED = "Ghosted",
|
|
1821
|
-
BLOCKED = "Blocked"
|
|
1822
|
+
BLOCKED = "Blocked",
|
|
1823
|
+
CANCELLED = "Cancelled"
|
|
1822
1824
|
}
|
|
1823
1825
|
|
|
1824
1826
|
/**
|
|
@@ -3433,6 +3435,14 @@ type CourseSession = {
|
|
|
3433
3435
|
courseSessionSchedule?: CourseSessionSchedule;
|
|
3434
3436
|
};
|
|
3435
3437
|
|
|
3438
|
+
/**
|
|
3439
|
+
* The Slot active status.
|
|
3440
|
+
*/
|
|
3441
|
+
declare enum CourseStatus {
|
|
3442
|
+
ACTIVE = "Active",
|
|
3443
|
+
CANCELLED = "Cancelled"
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3436
3446
|
/**
|
|
3437
3447
|
* Represents a Reach.Models.Course within a Reach.Models.Course.Venue, for example, a course of golf lessons between two dates.
|
|
3438
3448
|
*/
|
|
@@ -3601,6 +3611,7 @@ type Course = {
|
|
|
3601
3611
|
* Gets or sets a value indicating whether the post activity completion email has been sent.
|
|
3602
3612
|
*/
|
|
3603
3613
|
postCompletionEmailSent?: boolean;
|
|
3614
|
+
status?: CourseStatus;
|
|
3604
3615
|
/**
|
|
3605
3616
|
* Gets or sets a value indicating whether the course is archived and should be ignored under normal operation.
|
|
3606
3617
|
*/
|
|
@@ -3927,6 +3938,14 @@ declare enum PaymentMethod {
|
|
|
3927
3938
|
GOOGLE_PAY = "GooglePay"
|
|
3928
3939
|
}
|
|
3929
3940
|
|
|
3941
|
+
/**
|
|
3942
|
+
* The status of the refund.
|
|
3943
|
+
*/
|
|
3944
|
+
declare enum RefundStatus {
|
|
3945
|
+
PARTIAL = "Partial",
|
|
3946
|
+
FULL = "Full"
|
|
3947
|
+
}
|
|
3948
|
+
|
|
3930
3949
|
/**
|
|
3931
3950
|
* Represents an organisation within the Reach application.
|
|
3932
3951
|
*/
|
|
@@ -3997,9 +4016,10 @@ type Order = {
|
|
|
3997
4016
|
*/
|
|
3998
4017
|
refunded?: boolean | null;
|
|
3999
4018
|
/**
|
|
4000
|
-
* Gets the refunded amount.
|
|
4019
|
+
* Gets or sets the refunded amount.
|
|
4001
4020
|
*/
|
|
4002
|
-
|
|
4021
|
+
refundedAmount?: number | null;
|
|
4022
|
+
refundStatus?: RefundStatus;
|
|
4003
4023
|
/**
|
|
4004
4024
|
* Gets or sets the last refunded date.
|
|
4005
4025
|
*/
|
|
@@ -4939,6 +4959,162 @@ declare class CountryService {
|
|
|
4939
4959
|
}): CancelablePromise<Array<Country>>;
|
|
4940
4960
|
}
|
|
4941
4961
|
|
|
4962
|
+
/**
|
|
4963
|
+
* Post model for session offers.
|
|
4964
|
+
*/
|
|
4965
|
+
type CreateOffer = {
|
|
4966
|
+
/**
|
|
4967
|
+
* Gets or sets the offer name.
|
|
4968
|
+
*/
|
|
4969
|
+
name?: string | null;
|
|
4970
|
+
/**
|
|
4971
|
+
* Gets or sets the offer total/gross price.
|
|
4972
|
+
*/
|
|
4973
|
+
priceTotal: number;
|
|
4974
|
+
};
|
|
4975
|
+
|
|
4976
|
+
/**
|
|
4977
|
+
* Post model for venue.
|
|
4978
|
+
*/
|
|
4979
|
+
type CreateVenue = {
|
|
4980
|
+
/**
|
|
4981
|
+
* Gets or sets the venues name.
|
|
4982
|
+
*/
|
|
4983
|
+
name?: string | null;
|
|
4984
|
+
/**
|
|
4985
|
+
* Gets or sets the venues street address.
|
|
4986
|
+
*/
|
|
4987
|
+
streetAddress: string;
|
|
4988
|
+
/**
|
|
4989
|
+
* Gets or sets the venues locality.
|
|
4990
|
+
*/
|
|
4991
|
+
addressLocality?: string | null;
|
|
4992
|
+
/**
|
|
4993
|
+
* Gets or sets the venues region.
|
|
4994
|
+
*/
|
|
4995
|
+
addressRegion?: string | null;
|
|
4996
|
+
/**
|
|
4997
|
+
* Gets or sets the venues postcode.
|
|
4998
|
+
*/
|
|
4999
|
+
addressPostalcode: string;
|
|
5000
|
+
/**
|
|
5001
|
+
* Gets or sets the venues Country id.
|
|
5002
|
+
*/
|
|
5003
|
+
countryId: number;
|
|
5004
|
+
/**
|
|
5005
|
+
* Gets or sets the venues lat.
|
|
5006
|
+
*/
|
|
5007
|
+
lat: number;
|
|
5008
|
+
/**
|
|
5009
|
+
* Gets or sets the venues lng.
|
|
5010
|
+
*/
|
|
5011
|
+
lng: number;
|
|
5012
|
+
/**
|
|
5013
|
+
* Gets or sets the contact phone.
|
|
5014
|
+
*/
|
|
5015
|
+
contactPhone?: string | null;
|
|
5016
|
+
/**
|
|
5017
|
+
* Gets or sets the contact email.
|
|
5018
|
+
*/
|
|
5019
|
+
contactEmail?: string | null;
|
|
5020
|
+
/**
|
|
5021
|
+
* Gets or sets the contact website.
|
|
5022
|
+
*/
|
|
5023
|
+
contactWebsite?: string | null;
|
|
5024
|
+
};
|
|
5025
|
+
|
|
5026
|
+
/**
|
|
5027
|
+
* Post model for course inserts.
|
|
5028
|
+
*/
|
|
5029
|
+
type CourseCreate = {
|
|
5030
|
+
/**
|
|
5031
|
+
* Gets or sets the tenant Id.
|
|
5032
|
+
*/
|
|
5033
|
+
tenantId: string;
|
|
5034
|
+
/**
|
|
5035
|
+
* Gets or sets the course id.
|
|
5036
|
+
*/
|
|
5037
|
+
id: string;
|
|
5038
|
+
/**
|
|
5039
|
+
* Gets or sets the course venue id.
|
|
5040
|
+
*/
|
|
5041
|
+
venueId?: string | null;
|
|
5042
|
+
/**
|
|
5043
|
+
* Gets or sets the course activity id.
|
|
5044
|
+
*/
|
|
5045
|
+
activityId: number;
|
|
5046
|
+
/**
|
|
5047
|
+
* Gets or sets the course programme id.
|
|
5048
|
+
*/
|
|
5049
|
+
programmeId?: string | null;
|
|
5050
|
+
/**
|
|
5051
|
+
* Gets or sets the course survey id.
|
|
5052
|
+
*/
|
|
5053
|
+
surveyId?: string | null;
|
|
5054
|
+
/**
|
|
5055
|
+
* Gets or sets the course post completion survey id.
|
|
5056
|
+
*/
|
|
5057
|
+
postCompletionSurveyId?: string | null;
|
|
5058
|
+
/**
|
|
5059
|
+
* Gets or sets the course name.
|
|
5060
|
+
*/
|
|
5061
|
+
name: string;
|
|
5062
|
+
/**
|
|
5063
|
+
* Gets or sets the course description.
|
|
5064
|
+
*/
|
|
5065
|
+
description?: string | null;
|
|
5066
|
+
/**
|
|
5067
|
+
* Gets or sets the course image url.
|
|
5068
|
+
*/
|
|
5069
|
+
imageUrl?: string | null;
|
|
5070
|
+
/**
|
|
5071
|
+
* Gets or sets the meeting instructions.
|
|
5072
|
+
*/
|
|
5073
|
+
meetingInstructions?: string | null;
|
|
5074
|
+
/**
|
|
5075
|
+
* Gets or sets the capacity.
|
|
5076
|
+
*/
|
|
5077
|
+
capacity?: number | null;
|
|
5078
|
+
gender?: Gender;
|
|
5079
|
+
/**
|
|
5080
|
+
* Gets or sets the min age.
|
|
5081
|
+
*/
|
|
5082
|
+
minAge?: number | null;
|
|
5083
|
+
/**
|
|
5084
|
+
* Gets or sets the max age.
|
|
5085
|
+
*/
|
|
5086
|
+
maxAge?: number | null;
|
|
5087
|
+
/**
|
|
5088
|
+
* Gets or sets additional support options.
|
|
5089
|
+
*/
|
|
5090
|
+
additionalSupport?: Array<string> | null;
|
|
5091
|
+
/**
|
|
5092
|
+
* Gets or sets the contact name.
|
|
5093
|
+
*/
|
|
5094
|
+
contactName?: string | null;
|
|
5095
|
+
/**
|
|
5096
|
+
* Gets or sets the contact phone.
|
|
5097
|
+
*/
|
|
5098
|
+
contactPhone?: string | null;
|
|
5099
|
+
/**
|
|
5100
|
+
* Gets or sets the contact email.
|
|
5101
|
+
*/
|
|
5102
|
+
contactEmail: string;
|
|
5103
|
+
venue?: CreateVenue;
|
|
5104
|
+
/**
|
|
5105
|
+
* Gets or sets the the schedule ids to be made active.
|
|
5106
|
+
*/
|
|
5107
|
+
scheduleIds?: Array<string> | null;
|
|
5108
|
+
/**
|
|
5109
|
+
* Gets or sets the schedule ids to be made active.
|
|
5110
|
+
*/
|
|
5111
|
+
scheduledCourseSessionIds?: Array<string> | null;
|
|
5112
|
+
/**
|
|
5113
|
+
* Gets or sets the course offers.
|
|
5114
|
+
*/
|
|
5115
|
+
offers?: Array<CreateOffer> | null;
|
|
5116
|
+
};
|
|
5117
|
+
|
|
4942
5118
|
type CoursePage = {
|
|
4943
5119
|
pagination?: Pagination;
|
|
4944
5120
|
readonly items?: Array<Course> | null;
|
|
@@ -5128,6 +5304,23 @@ declare class CoursesService {
|
|
|
5128
5304
|
*/
|
|
5129
5305
|
courseId: string;
|
|
5130
5306
|
}): CancelablePromise<Course>;
|
|
5307
|
+
/**
|
|
5308
|
+
* Creates a course.
|
|
5309
|
+
* @returns Course Success
|
|
5310
|
+
* @throws ApiError
|
|
5311
|
+
*/
|
|
5312
|
+
create({ requestBody, }: {
|
|
5313
|
+
/**
|
|
5314
|
+
* The course to be created.
|
|
5315
|
+
*/
|
|
5316
|
+
requestBody?: CourseCreate;
|
|
5317
|
+
}): CancelablePromise<Course>;
|
|
5318
|
+
/**
|
|
5319
|
+
* Generates an id for use in a Course create client side process.
|
|
5320
|
+
* @returns string Success
|
|
5321
|
+
* @throws ApiError
|
|
5322
|
+
*/
|
|
5323
|
+
generateId(): CancelablePromise<string>;
|
|
5131
5324
|
/**
|
|
5132
5325
|
* Sends the post course completion email />.
|
|
5133
5326
|
* @returns any Success
|
|
@@ -5676,7 +5869,7 @@ type CourseSessionPost = {
|
|
|
5676
5869
|
*/
|
|
5677
5870
|
tenantId: string;
|
|
5678
5871
|
/**
|
|
5679
|
-
* Gets or sets the
|
|
5872
|
+
* Gets or sets the course id.
|
|
5680
5873
|
*/
|
|
5681
5874
|
courseId?: string | null;
|
|
5682
5875
|
/**
|
|
@@ -5687,6 +5880,10 @@ type CourseSessionPost = {
|
|
|
5687
5880
|
* Gets or sets the course session duration.
|
|
5688
5881
|
*/
|
|
5689
5882
|
durationMinutes?: number;
|
|
5883
|
+
/**
|
|
5884
|
+
* Gets or sets the capacity.
|
|
5885
|
+
*/
|
|
5886
|
+
capacity?: number | null;
|
|
5690
5887
|
};
|
|
5691
5888
|
|
|
5692
5889
|
declare class CourseSessionsService {
|
|
@@ -6111,6 +6308,34 @@ type CourseSessionSchedulePost = {
|
|
|
6111
6308
|
* Gets or sets the tenant Id.
|
|
6112
6309
|
*/
|
|
6113
6310
|
tenantId: string;
|
|
6311
|
+
/**
|
|
6312
|
+
* Gets or sets the course id.
|
|
6313
|
+
*/
|
|
6314
|
+
courseId?: string;
|
|
6315
|
+
/**
|
|
6316
|
+
* Gets or sets the course session start date time in UTC as is the applications required convention. (this datetime must always be UTC).
|
|
6317
|
+
*/
|
|
6318
|
+
startDateTime: string;
|
|
6319
|
+
/**
|
|
6320
|
+
* Gets or sets the course session duration.
|
|
6321
|
+
*/
|
|
6322
|
+
durationMinutes: number;
|
|
6323
|
+
/**
|
|
6324
|
+
* Gets or sets the schedules evaluated rule string.
|
|
6325
|
+
*/
|
|
6326
|
+
rRuleString: string;
|
|
6327
|
+
/**
|
|
6328
|
+
* Gets or sets the schedules end date.
|
|
6329
|
+
*/
|
|
6330
|
+
recurUntil?: string | null;
|
|
6331
|
+
/**
|
|
6332
|
+
* Gets or sets a value indicating whether the schedule should recur indefinately.
|
|
6333
|
+
*/
|
|
6334
|
+
recurIndefinately?: boolean | null;
|
|
6335
|
+
/**
|
|
6336
|
+
* Gets or sets the capacity.
|
|
6337
|
+
*/
|
|
6338
|
+
capacity: number;
|
|
6114
6339
|
};
|
|
6115
6340
|
|
|
6116
6341
|
declare class CourseSessionSchedulesService {
|
|
@@ -12582,7 +12807,7 @@ declare class OrderItemsService {
|
|
|
12582
12807
|
* @returns boolean Success
|
|
12583
12808
|
* @throws ApiError
|
|
12584
12809
|
*/
|
|
12585
|
-
exists({ ids, orderId, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12810
|
+
exists({ ids, orderId, scheduledSessionId, slotId, courseId, status, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12586
12811
|
/**
|
|
12587
12812
|
* Gets or sets the queryable order item ids.
|
|
12588
12813
|
*/
|
|
@@ -12591,6 +12816,22 @@ declare class OrderItemsService {
|
|
|
12591
12816
|
* Gets or sets the queryable order id.
|
|
12592
12817
|
*/
|
|
12593
12818
|
orderId?: string;
|
|
12819
|
+
/**
|
|
12820
|
+
* Gets or sets the queryable scheduled session id.
|
|
12821
|
+
*/
|
|
12822
|
+
scheduledSessionId?: string;
|
|
12823
|
+
/**
|
|
12824
|
+
* Gets or sets the queryable slot id.
|
|
12825
|
+
*/
|
|
12826
|
+
slotId?: string;
|
|
12827
|
+
/**
|
|
12828
|
+
* Gets or sets the queryable course id.
|
|
12829
|
+
*/
|
|
12830
|
+
courseId?: string;
|
|
12831
|
+
/**
|
|
12832
|
+
* Gets or sets the queryable order item status id.
|
|
12833
|
+
*/
|
|
12834
|
+
status?: OrderItemStatus;
|
|
12594
12835
|
/**
|
|
12595
12836
|
* Gets or sets the page number for paged queries.
|
|
12596
12837
|
*/
|
|
@@ -12637,7 +12878,7 @@ declare class OrderItemsService {
|
|
|
12637
12878
|
* @returns OrderItemPage Success
|
|
12638
12879
|
* @throws ApiError
|
|
12639
12880
|
*/
|
|
12640
|
-
getPage({ ids, orderId, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12881
|
+
getPage({ ids, orderId, scheduledSessionId, slotId, courseId, status, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12641
12882
|
/**
|
|
12642
12883
|
* Gets or sets the queryable order item ids.
|
|
12643
12884
|
*/
|
|
@@ -12646,6 +12887,22 @@ declare class OrderItemsService {
|
|
|
12646
12887
|
* Gets or sets the queryable order id.
|
|
12647
12888
|
*/
|
|
12648
12889
|
orderId?: string;
|
|
12890
|
+
/**
|
|
12891
|
+
* Gets or sets the queryable scheduled session id.
|
|
12892
|
+
*/
|
|
12893
|
+
scheduledSessionId?: string;
|
|
12894
|
+
/**
|
|
12895
|
+
* Gets or sets the queryable slot id.
|
|
12896
|
+
*/
|
|
12897
|
+
slotId?: string;
|
|
12898
|
+
/**
|
|
12899
|
+
* Gets or sets the queryable course id.
|
|
12900
|
+
*/
|
|
12901
|
+
courseId?: string;
|
|
12902
|
+
/**
|
|
12903
|
+
* Gets or sets the queryable order item status id.
|
|
12904
|
+
*/
|
|
12905
|
+
status?: OrderItemStatus;
|
|
12649
12906
|
/**
|
|
12650
12907
|
* Gets or sets the page number for paged queries.
|
|
12651
12908
|
*/
|
|
@@ -12703,7 +12960,7 @@ declare class OrderItemsService {
|
|
|
12703
12960
|
* @returns OrderItem Success
|
|
12704
12961
|
* @throws ApiError
|
|
12705
12962
|
*/
|
|
12706
|
-
getListIdName({ ids, orderId, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12963
|
+
getListIdName({ ids, orderId, scheduledSessionId, slotId, courseId, status, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
12707
12964
|
/**
|
|
12708
12965
|
* Gets or sets the queryable order item ids.
|
|
12709
12966
|
*/
|
|
@@ -12712,6 +12969,22 @@ declare class OrderItemsService {
|
|
|
12712
12969
|
* Gets or sets the queryable order id.
|
|
12713
12970
|
*/
|
|
12714
12971
|
orderId?: string;
|
|
12972
|
+
/**
|
|
12973
|
+
* Gets or sets the queryable scheduled session id.
|
|
12974
|
+
*/
|
|
12975
|
+
scheduledSessionId?: string;
|
|
12976
|
+
/**
|
|
12977
|
+
* Gets or sets the queryable slot id.
|
|
12978
|
+
*/
|
|
12979
|
+
slotId?: string;
|
|
12980
|
+
/**
|
|
12981
|
+
* Gets or sets the queryable course id.
|
|
12982
|
+
*/
|
|
12983
|
+
courseId?: string;
|
|
12984
|
+
/**
|
|
12985
|
+
* Gets or sets the queryable order item status id.
|
|
12986
|
+
*/
|
|
12987
|
+
status?: OrderItemStatus;
|
|
12715
12988
|
/**
|
|
12716
12989
|
* Gets or sets the page number for paged queries.
|
|
12717
12990
|
*/
|
|
@@ -20965,6 +21238,17 @@ declare class ScheduledSessionsService {
|
|
|
20965
21238
|
*/
|
|
20966
21239
|
scheduledSessionId: string;
|
|
20967
21240
|
}): CancelablePromise<any>;
|
|
21241
|
+
/**
|
|
21242
|
+
* Cancels the scheduled session />.
|
|
21243
|
+
* @returns ScheduledSession Success
|
|
21244
|
+
* @throws ApiError
|
|
21245
|
+
*/
|
|
21246
|
+
cancel({ scheduledSessionId, }: {
|
|
21247
|
+
/**
|
|
21248
|
+
* The scheduled session Id.
|
|
21249
|
+
*/
|
|
21250
|
+
scheduledSessionId: string;
|
|
21251
|
+
}): CancelablePromise<ScheduledSession>;
|
|
20968
21252
|
/**
|
|
20969
21253
|
* Cleans table of leased and conflicted scheduled sessions.
|
|
20970
21254
|
* @returns number Success
|
|
@@ -21834,70 +22118,6 @@ declare class ScheduledSessionsSchedulesService {
|
|
|
21834
22118
|
}): CancelablePromise<boolean>;
|
|
21835
22119
|
}
|
|
21836
22120
|
|
|
21837
|
-
/**
|
|
21838
|
-
* Post model for session offers.
|
|
21839
|
-
*/
|
|
21840
|
-
type CreateOffer = {
|
|
21841
|
-
/**
|
|
21842
|
-
* Gets or sets the offer name.
|
|
21843
|
-
*/
|
|
21844
|
-
name?: string | null;
|
|
21845
|
-
/**
|
|
21846
|
-
* Gets or sets the offer total/gross price.
|
|
21847
|
-
*/
|
|
21848
|
-
priceTotal: number;
|
|
21849
|
-
};
|
|
21850
|
-
|
|
21851
|
-
/**
|
|
21852
|
-
* Post model for venue.
|
|
21853
|
-
*/
|
|
21854
|
-
type CreateVenue = {
|
|
21855
|
-
/**
|
|
21856
|
-
* Gets or sets the venues name.
|
|
21857
|
-
*/
|
|
21858
|
-
name?: string | null;
|
|
21859
|
-
/**
|
|
21860
|
-
* Gets or sets the venues street address.
|
|
21861
|
-
*/
|
|
21862
|
-
streetAddress: string;
|
|
21863
|
-
/**
|
|
21864
|
-
* Gets or sets the venues locality.
|
|
21865
|
-
*/
|
|
21866
|
-
addressLocality?: string | null;
|
|
21867
|
-
/**
|
|
21868
|
-
* Gets or sets the venues region.
|
|
21869
|
-
*/
|
|
21870
|
-
addressRegion?: string | null;
|
|
21871
|
-
/**
|
|
21872
|
-
* Gets or sets the venues postcode.
|
|
21873
|
-
*/
|
|
21874
|
-
addressPostalcode: string;
|
|
21875
|
-
/**
|
|
21876
|
-
* Gets or sets the venues Country id.
|
|
21877
|
-
*/
|
|
21878
|
-
countryId: number;
|
|
21879
|
-
/**
|
|
21880
|
-
* Gets or sets the venues lat.
|
|
21881
|
-
*/
|
|
21882
|
-
lat: number;
|
|
21883
|
-
/**
|
|
21884
|
-
* Gets or sets the venues lng.
|
|
21885
|
-
*/
|
|
21886
|
-
lng: number;
|
|
21887
|
-
/**
|
|
21888
|
-
* Gets or sets the contact phone.
|
|
21889
|
-
*/
|
|
21890
|
-
contactPhone?: string | null;
|
|
21891
|
-
/**
|
|
21892
|
-
* Gets or sets the contact email.
|
|
21893
|
-
*/
|
|
21894
|
-
contactEmail?: string | null;
|
|
21895
|
-
/**
|
|
21896
|
-
* Gets or sets the contact website.
|
|
21897
|
-
*/
|
|
21898
|
-
contactWebsite?: string | null;
|
|
21899
|
-
};
|
|
21900
|
-
|
|
21901
22121
|
/**
|
|
21902
22122
|
* Post model for session inserts.
|
|
21903
22123
|
*/
|
|
@@ -29109,4 +29329,4 @@ type ValidationResultModel = {
|
|
|
29109
29329
|
readonly errors?: Array<ValidationError> | null;
|
|
29110
29330
|
};
|
|
29111
29331
|
|
|
29112
|
-
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, 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, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, 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, 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, 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, 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, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmissionResponse, SurveySubmit, 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, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
|
29332
|
+
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, 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, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DatabaseState, DayOfWeek, 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, 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, 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, RefundStatus, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, 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, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmissionResponse, SurveySubmit, 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, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|