reach-api-sdk 1.0.217 → 1.0.218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reach-sdk.d.ts +1812 -390
- package/dist/reach-sdk.js +1062 -200
- package/package.json +1 -1
- package/src/apiClient.ts +6 -0
- package/src/definition/swagger.yaml +3916 -760
- package/src/index.ts +6 -0
- package/src/models/ActivityType.ts +1 -0
- package/src/models/DealActivity.ts +4 -0
- package/src/models/DealActivityPost.ts +4 -0
- package/src/models/EmailSetting.ts +4 -0
- package/src/models/GenericActivity.ts +4 -0
- package/src/models/Image.ts +4 -0
- package/src/models/Offer.ts +4 -0
- package/src/models/OfferPatch.ts +4 -0
- package/src/models/OfferPost.ts +4 -0
- package/src/models/OpportunityType.ts +1 -0
- package/src/models/OrderItem.ts +6 -0
- package/src/models/OrderPatchItem.ts +4 -0
- package/src/models/OrderPostItem.ts +4 -0
- package/src/models/SellableItem.ts +194 -0
- package/src/models/SellableItemPage.ts +12 -0
- package/src/models/SellableItemPatch.ts +150 -0
- package/src/models/SellableItemPost.ts +145 -0
- package/src/services/DealActivitiesService.ts +60 -0
- package/src/services/EmailSettingsService.ts +30 -0
- package/src/services/ImagesService.ts +30 -0
- package/src/services/OffersService.ts +60 -0
- package/src/services/OrderItemsService.ts +30 -0
- package/src/services/PublicOrderItemsService.ts +12 -0
- package/src/services/PublicSellableItemsService.ts +473 -0
- package/src/services/SellableItemsService.ts +962 -0
- package/src/services/SessionsService.ts +2 -2
package/src/index.ts
CHANGED
|
@@ -327,6 +327,10 @@ export type { ScheduledSessionSchedulePost } from './models/ScheduledSessionSche
|
|
|
327
327
|
export { ScheduledSessionSearchSortBy } from './models/ScheduledSessionSearchSortBy';
|
|
328
328
|
export { ScheduleStatus } from './models/ScheduleStatus';
|
|
329
329
|
export { SearchSortOrderDirection } from './models/SearchSortOrderDirection';
|
|
330
|
+
export type { SellableItem } from './models/SellableItem';
|
|
331
|
+
export type { SellableItemPage } from './models/SellableItemPage';
|
|
332
|
+
export type { SellableItemPatch } from './models/SellableItemPatch';
|
|
333
|
+
export type { SellableItemPost } from './models/SellableItemPost';
|
|
330
334
|
export type { Session } from './models/Session';
|
|
331
335
|
export type { SessionCreate } from './models/SessionCreate';
|
|
332
336
|
export type { SessionPage } from './models/SessionPage';
|
|
@@ -598,6 +602,7 @@ export { PublicOrderTokensService } from './services/PublicOrderTokensService';
|
|
|
598
602
|
export { PublicProgrammesService } from './services/PublicProgrammesService';
|
|
599
603
|
export { PublicProvidersService } from './services/PublicProvidersService';
|
|
600
604
|
export { PublicScheduledSessionsService } from './services/PublicScheduledSessionsService';
|
|
605
|
+
export { PublicSellableItemsService } from './services/PublicSellableItemsService';
|
|
601
606
|
export { PublicSessionsService } from './services/PublicSessionsService';
|
|
602
607
|
export { PublicSlotsService } from './services/PublicSlotsService';
|
|
603
608
|
export { PublicStorefrontStaffPreviewService } from './services/PublicStorefrontStaffPreviewService';
|
|
@@ -615,6 +620,7 @@ export { RegisterReportService } from './services/RegisterReportService';
|
|
|
615
620
|
export { RescheduleLogService } from './services/RescheduleLogService';
|
|
616
621
|
export { ScheduledSessionsService } from './services/ScheduledSessionsService';
|
|
617
622
|
export { ScheduledSessionsSchedulesService } from './services/ScheduledSessionsSchedulesService';
|
|
623
|
+
export { SellableItemsService } from './services/SellableItemsService';
|
|
618
624
|
export { SessionsService } from './services/SessionsService';
|
|
619
625
|
export { SlotOffersService } from './services/SlotOffersService';
|
|
620
626
|
export { SlotsService } from './services/SlotsService';
|
|
@@ -179,4 +179,8 @@ export type GenericActivity = {
|
|
|
179
179
|
* Gets or sets the courses sessions (only applicable to courses).
|
|
180
180
|
*/
|
|
181
181
|
sessions?: Array<CourseSession> | null;
|
|
182
|
+
/**
|
|
183
|
+
* Gets or sets remaining inventory for Reach.Models.ActivityType.SellableItem (populated on list/detail when applicable).
|
|
184
|
+
*/
|
|
185
|
+
stockQuantity?: number | null;
|
|
182
186
|
};
|
package/src/models/Image.ts
CHANGED
package/src/models/Offer.ts
CHANGED
package/src/models/OfferPatch.ts
CHANGED
package/src/models/OfferPost.ts
CHANGED
package/src/models/OrderItem.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type { Order } from './Order';
|
|
|
12
12
|
import type { OrderItemDeal } from './OrderItemDeal';
|
|
13
13
|
import type { OrderItemStatus } from './OrderItemStatus';
|
|
14
14
|
import type { ScheduledSession } from './ScheduledSession';
|
|
15
|
+
import type { SellableItem } from './SellableItem';
|
|
15
16
|
import type { Slot } from './Slot';
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -58,6 +59,10 @@ export type OrderItem = {
|
|
|
58
59
|
* Gets or sets the course id.
|
|
59
60
|
*/
|
|
60
61
|
courseId?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets the sellable item id.
|
|
64
|
+
*/
|
|
65
|
+
sellableItemId?: string | null;
|
|
61
66
|
/**
|
|
62
67
|
* Gets or sets the offer id.
|
|
63
68
|
*/
|
|
@@ -111,6 +116,7 @@ export type OrderItem = {
|
|
|
111
116
|
slot?: Slot;
|
|
112
117
|
scheduledSession?: ScheduledSession;
|
|
113
118
|
course?: Course;
|
|
119
|
+
sellableItem?: SellableItem;
|
|
114
120
|
offer?: Offer;
|
|
115
121
|
/**
|
|
116
122
|
* Gets or sets the order item deals.
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { Activity } from './Activity';
|
|
7
|
+
import type { CancellationPolicy } from './CancellationPolicy';
|
|
8
|
+
import type { CheckoutPlatform } from './CheckoutPlatform';
|
|
9
|
+
import type { Deal } from './Deal';
|
|
10
|
+
import type { Gender } from './Gender';
|
|
11
|
+
import type { Image } from './Image';
|
|
12
|
+
import type { Offer } from './Offer';
|
|
13
|
+
import type { PaymentPolicy } from './PaymentPolicy';
|
|
14
|
+
import type { Venue } from './Venue';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A venue-scoped product with inventory (no scheduled session or course).
|
|
18
|
+
*/
|
|
19
|
+
export type SellableItem = {
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the entities Id.
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the tenant Id.
|
|
26
|
+
*/
|
|
27
|
+
tenantId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the created date of this entity.
|
|
30
|
+
*/
|
|
31
|
+
dateCreated: string;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets the last modified date of this entity.
|
|
34
|
+
*/
|
|
35
|
+
dateModified: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the modified by Id.
|
|
38
|
+
*/
|
|
39
|
+
modifiedById?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets a value indicating whether the record is live and available for use within the application.
|
|
42
|
+
*/
|
|
43
|
+
isLive: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets the provider id.
|
|
46
|
+
*/
|
|
47
|
+
providerId?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets the venue id.
|
|
50
|
+
*/
|
|
51
|
+
venueId?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets the activity category id.
|
|
54
|
+
*/
|
|
55
|
+
activityId?: number | null;
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the name.
|
|
58
|
+
*/
|
|
59
|
+
name?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Gets or sets the description.
|
|
62
|
+
*/
|
|
63
|
+
description?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets the image url.
|
|
66
|
+
*/
|
|
67
|
+
imageUrl?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets a value indicating whether the item is bookable on the web.
|
|
70
|
+
*/
|
|
71
|
+
online?: boolean | null;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets a value indicating whether the item is archived.
|
|
74
|
+
*/
|
|
75
|
+
archived?: boolean | null;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets a value indicating whether the item is deleted.
|
|
78
|
+
*/
|
|
79
|
+
deleted?: boolean | null;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets remaining stock (decremented when orders are booked).
|
|
82
|
+
*/
|
|
83
|
+
stockQuantity?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets a value indicating whether the item is featured on the storefront.
|
|
86
|
+
*/
|
|
87
|
+
featured?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets a value indicating whether the item is private.
|
|
90
|
+
*/
|
|
91
|
+
private?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the checkout survey id.
|
|
94
|
+
*/
|
|
95
|
+
surveyId?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the post-completion survey id.
|
|
98
|
+
*/
|
|
99
|
+
postCompletionSurveyId?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the cancellation policy id.
|
|
102
|
+
*/
|
|
103
|
+
cancellationPolicyId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets the payment policy id.
|
|
106
|
+
*/
|
|
107
|
+
paymentPolicyId?: string;
|
|
108
|
+
gender?: Gender;
|
|
109
|
+
/**
|
|
110
|
+
* Gets or sets the min age.
|
|
111
|
+
*/
|
|
112
|
+
minAge?: number | null;
|
|
113
|
+
/**
|
|
114
|
+
* Gets or sets the max age.
|
|
115
|
+
*/
|
|
116
|
+
maxAge?: number | null;
|
|
117
|
+
/**
|
|
118
|
+
* Gets or sets a value indicating whether there is no age restriction.
|
|
119
|
+
*/
|
|
120
|
+
noAgeRestriction?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Gets or sets additional support options.
|
|
123
|
+
*/
|
|
124
|
+
additionalSupport?: Array<string> | null;
|
|
125
|
+
/**
|
|
126
|
+
* Gets or sets the contact name.
|
|
127
|
+
*/
|
|
128
|
+
contactName?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Gets or sets the contact phone.
|
|
131
|
+
*/
|
|
132
|
+
contactPhone?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* Gets or sets the contact email.
|
|
135
|
+
*/
|
|
136
|
+
contactEmail?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Gets or sets the admin contact name.
|
|
139
|
+
*/
|
|
140
|
+
adminContactName?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* Gets or sets the admin contact phone.
|
|
143
|
+
*/
|
|
144
|
+
adminContactPhone?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Gets or sets the admin contact email.
|
|
147
|
+
*/
|
|
148
|
+
adminContactEmail?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* Gets or sets a value indicating whether to send reminder emails.
|
|
151
|
+
*/
|
|
152
|
+
sendReminder?: boolean | null;
|
|
153
|
+
/**
|
|
154
|
+
* Gets or sets the reminder hours before start.
|
|
155
|
+
*/
|
|
156
|
+
reminderHoursBeforeStart?: number | null;
|
|
157
|
+
checkoutPlatform?: CheckoutPlatform;
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets the booking link override when checkout is external.
|
|
160
|
+
*/
|
|
161
|
+
bookingLinkOverride?: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* Gets or sets a value indicating whether pre-registration is enabled.
|
|
164
|
+
*/
|
|
165
|
+
preRegistrationEnabled?: boolean | null;
|
|
166
|
+
/**
|
|
167
|
+
* Gets or sets when pre-registration opens.
|
|
168
|
+
*/
|
|
169
|
+
preRegistrationOpensAt?: string | null;
|
|
170
|
+
/**
|
|
171
|
+
* Gets or sets when pre-registration closes.
|
|
172
|
+
*/
|
|
173
|
+
preRegistrationClosesAt?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* Gets or sets the pre-registration storefront message.
|
|
176
|
+
*/
|
|
177
|
+
preRegistrationMessage?: string | null;
|
|
178
|
+
venue?: Venue;
|
|
179
|
+
cancellationPolicy?: CancellationPolicy;
|
|
180
|
+
paymentPolicy?: PaymentPolicy;
|
|
181
|
+
activity?: Activity;
|
|
182
|
+
/**
|
|
183
|
+
* Gets or sets offers for this item.
|
|
184
|
+
*/
|
|
185
|
+
offers?: Array<Offer> | null;
|
|
186
|
+
/**
|
|
187
|
+
* Gets or sets images.
|
|
188
|
+
*/
|
|
189
|
+
images?: Array<Image> | null;
|
|
190
|
+
/**
|
|
191
|
+
* Gets or sets deals applicable to this item.
|
|
192
|
+
*/
|
|
193
|
+
deals?: Array<Deal> | null;
|
|
194
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { Pagination } from './Pagination';
|
|
7
|
+
import type { SellableItem } from './SellableItem';
|
|
8
|
+
|
|
9
|
+
export type SellableItemPage = {
|
|
10
|
+
pagination: Pagination;
|
|
11
|
+
readonly items: Array<SellableItem>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { CheckoutPlatform } from './CheckoutPlatform';
|
|
7
|
+
import type { Gender } from './Gender';
|
|
8
|
+
import type { UpdateEmailSettings } from './UpdateEmailSettings';
|
|
9
|
+
import type { UpdateOffer } from './UpdateOffer';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Patch model for sellable item updates.
|
|
13
|
+
*/
|
|
14
|
+
export type SellableItemPatch = {
|
|
15
|
+
/**
|
|
16
|
+
* Gets or sets the tenant Id.
|
|
17
|
+
*/
|
|
18
|
+
tenantId: string;
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the Id.
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets the venue id.
|
|
25
|
+
*/
|
|
26
|
+
venueId?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets the activity category id.
|
|
29
|
+
*/
|
|
30
|
+
activityId?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
* Gets or sets the name.
|
|
33
|
+
*/
|
|
34
|
+
name?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the description.
|
|
37
|
+
*/
|
|
38
|
+
description?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Gets or sets the image url.
|
|
41
|
+
*/
|
|
42
|
+
imageUrl?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Gets or sets a value indicating whether the item is bookable on the web.
|
|
45
|
+
*/
|
|
46
|
+
online?: boolean | null;
|
|
47
|
+
/**
|
|
48
|
+
* Gets or sets remaining stock.
|
|
49
|
+
*/
|
|
50
|
+
stockQuantity?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Gets or sets a value indicating whether the item is featured.
|
|
53
|
+
*/
|
|
54
|
+
featured?: boolean | null;
|
|
55
|
+
/**
|
|
56
|
+
* Gets or sets a value indicating whether the item is private.
|
|
57
|
+
*/
|
|
58
|
+
private?: boolean | null;
|
|
59
|
+
/**
|
|
60
|
+
* Gets or sets the checkout survey id.
|
|
61
|
+
*/
|
|
62
|
+
surveyId?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets the post-completion survey id.
|
|
65
|
+
*/
|
|
66
|
+
postCompletionSurveyId?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* Gets or sets the cancellation policy id.
|
|
69
|
+
*/
|
|
70
|
+
cancellationPolicyId?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Gets or sets the payment policy id.
|
|
73
|
+
*/
|
|
74
|
+
paymentPolicyId?: string | null;
|
|
75
|
+
gender?: Gender;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the min age.
|
|
78
|
+
*/
|
|
79
|
+
minAge?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the max age.
|
|
82
|
+
*/
|
|
83
|
+
maxAge?: number | null;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets a value indicating whether there is no age restriction.
|
|
86
|
+
*/
|
|
87
|
+
noAgeRestriction?: boolean | null;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets additional support options.
|
|
90
|
+
*/
|
|
91
|
+
additionalSupport?: Array<string> | null;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets the contact name.
|
|
94
|
+
*/
|
|
95
|
+
contactName?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the contact phone.
|
|
98
|
+
*/
|
|
99
|
+
contactPhone?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the contact email.
|
|
102
|
+
*/
|
|
103
|
+
contactEmail?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets the admin contact name.
|
|
106
|
+
*/
|
|
107
|
+
adminContactName?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the admin contact phone.
|
|
110
|
+
*/
|
|
111
|
+
adminContactPhone?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Gets or sets the admin contact email.
|
|
114
|
+
*/
|
|
115
|
+
adminContactEmail?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets a value indicating whether to send reminder emails.
|
|
118
|
+
*/
|
|
119
|
+
sendReminder?: boolean | null;
|
|
120
|
+
/**
|
|
121
|
+
* Gets or sets the reminder hours before start.
|
|
122
|
+
*/
|
|
123
|
+
reminderHoursBeforeStart?: number | null;
|
|
124
|
+
checkoutPlatform?: CheckoutPlatform;
|
|
125
|
+
/**
|
|
126
|
+
* Gets or sets the booking link override.
|
|
127
|
+
*/
|
|
128
|
+
bookingLinkOverride?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Gets or sets a value indicating whether pre-registration is enabled.
|
|
131
|
+
*/
|
|
132
|
+
preRegistrationEnabled?: boolean | null;
|
|
133
|
+
/**
|
|
134
|
+
* Gets or sets when pre-registration opens.
|
|
135
|
+
*/
|
|
136
|
+
preRegistrationOpensAt?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Gets or sets when pre-registration closes.
|
|
139
|
+
*/
|
|
140
|
+
preRegistrationClosesAt?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* Gets or sets the pre-registration message.
|
|
143
|
+
*/
|
|
144
|
+
preRegistrationMessage?: string | null;
|
|
145
|
+
emailSettings?: UpdateEmailSettings;
|
|
146
|
+
/**
|
|
147
|
+
* Gets or sets ticket types / offers for this item.
|
|
148
|
+
*/
|
|
149
|
+
offers?: Array<UpdateOffer> | null;
|
|
150
|
+
};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
import type { CheckoutPlatform } from './CheckoutPlatform';
|
|
7
|
+
import type { Gender } from './Gender';
|
|
8
|
+
import type { UpdateEmailSettings } from './UpdateEmailSettings';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Post model for sellable item inserts.
|
|
12
|
+
*/
|
|
13
|
+
export type SellableItemPost = {
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the tenant Id.
|
|
16
|
+
*/
|
|
17
|
+
tenantId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the provider id.
|
|
20
|
+
*/
|
|
21
|
+
providerId?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the venue id.
|
|
24
|
+
*/
|
|
25
|
+
venueId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the activity category id.
|
|
28
|
+
*/
|
|
29
|
+
activityId?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the name.
|
|
32
|
+
*/
|
|
33
|
+
name?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the description.
|
|
36
|
+
*/
|
|
37
|
+
description?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the image url.
|
|
40
|
+
*/
|
|
41
|
+
imageUrl?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets a value indicating whether the item is bookable on the web.
|
|
44
|
+
*/
|
|
45
|
+
online?: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets remaining stock.
|
|
48
|
+
*/
|
|
49
|
+
stockQuantity?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Gets or sets a value indicating whether the item is featured.
|
|
52
|
+
*/
|
|
53
|
+
featured?: boolean | null;
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets a value indicating whether the item is private.
|
|
56
|
+
*/
|
|
57
|
+
private?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets the checkout survey id.
|
|
60
|
+
*/
|
|
61
|
+
surveyId?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets the post-completion survey id.
|
|
64
|
+
*/
|
|
65
|
+
postCompletionSurveyId?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Gets or sets the cancellation policy id.
|
|
68
|
+
*/
|
|
69
|
+
cancellationPolicyId?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* Gets or sets the payment policy id.
|
|
72
|
+
*/
|
|
73
|
+
paymentPolicyId?: string | null;
|
|
74
|
+
gender?: Gender;
|
|
75
|
+
/**
|
|
76
|
+
* Gets or sets the min age.
|
|
77
|
+
*/
|
|
78
|
+
minAge?: number | null;
|
|
79
|
+
/**
|
|
80
|
+
* Gets or sets the max age.
|
|
81
|
+
*/
|
|
82
|
+
maxAge?: number | null;
|
|
83
|
+
/**
|
|
84
|
+
* Gets or sets a value indicating whether there is no age restriction.
|
|
85
|
+
*/
|
|
86
|
+
noAgeRestriction?: boolean | null;
|
|
87
|
+
/**
|
|
88
|
+
* Gets or sets additional support options.
|
|
89
|
+
*/
|
|
90
|
+
additionalSupport?: Array<string> | null;
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets the contact name.
|
|
93
|
+
*/
|
|
94
|
+
contactName?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* Gets or sets the contact phone.
|
|
97
|
+
*/
|
|
98
|
+
contactPhone?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Gets or sets the contact email.
|
|
101
|
+
*/
|
|
102
|
+
contactEmail?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Gets or sets the admin contact name.
|
|
105
|
+
*/
|
|
106
|
+
adminContactName?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Gets or sets the admin contact phone.
|
|
109
|
+
*/
|
|
110
|
+
adminContactPhone?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* Gets or sets the admin contact email.
|
|
113
|
+
*/
|
|
114
|
+
adminContactEmail?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Gets or sets a value indicating whether to send reminder emails.
|
|
117
|
+
*/
|
|
118
|
+
sendReminder?: boolean | null;
|
|
119
|
+
/**
|
|
120
|
+
* Gets or sets the reminder hours before start.
|
|
121
|
+
*/
|
|
122
|
+
reminderHoursBeforeStart?: number | null;
|
|
123
|
+
checkoutPlatform?: CheckoutPlatform;
|
|
124
|
+
/**
|
|
125
|
+
* Gets or sets the booking link override.
|
|
126
|
+
*/
|
|
127
|
+
bookingLinkOverride?: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Gets or sets a value indicating whether pre-registration is enabled.
|
|
130
|
+
*/
|
|
131
|
+
preRegistrationEnabled?: boolean | null;
|
|
132
|
+
/**
|
|
133
|
+
* Gets or sets when pre-registration opens.
|
|
134
|
+
*/
|
|
135
|
+
preRegistrationOpensAt?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* Gets or sets when pre-registration closes.
|
|
138
|
+
*/
|
|
139
|
+
preRegistrationClosesAt?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Gets or sets the pre-registration message.
|
|
142
|
+
*/
|
|
143
|
+
preRegistrationMessage?: string | null;
|
|
144
|
+
emailSettings?: UpdateEmailSettings;
|
|
145
|
+
};
|