reach-api-sdk 1.0.216 → 1.0.217
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 +127 -7
- package/dist/reach-sdk.js +14 -0
- package/package.json +1 -1
- package/src/definition/swagger.yaml +140 -0
- package/src/models/Course.ts +20 -0
- package/src/models/CoursePatch.ts +16 -0
- package/src/models/GenericActivity.ts +20 -0
- package/src/models/Session.ts +20 -0
- package/src/models/SessionPatch.ts +16 -0
- package/src/services/CoursesService.ts +30 -0
- package/src/services/PublicCoursesService.ts +12 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -3161,6 +3161,26 @@ type Session = {
|
|
|
3161
3161
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
3162
3162
|
*/
|
|
3163
3163
|
featured?: boolean;
|
|
3164
|
+
/**
|
|
3165
|
+
* Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
3166
|
+
*/
|
|
3167
|
+
preRegistrationEnabled?: boolean | null;
|
|
3168
|
+
/**
|
|
3169
|
+
* Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).
|
|
3170
|
+
*/
|
|
3171
|
+
preRegistrationOpensAt?: string | null;
|
|
3172
|
+
/**
|
|
3173
|
+
* Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.
|
|
3174
|
+
*/
|
|
3175
|
+
preRegistrationClosesAt?: string | null;
|
|
3176
|
+
/**
|
|
3177
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
3178
|
+
*/
|
|
3179
|
+
preRegistrationMessage?: string | null;
|
|
3180
|
+
/**
|
|
3181
|
+
* Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
3182
|
+
*/
|
|
3183
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
3164
3184
|
/**
|
|
3165
3185
|
* Gets the computed image url.
|
|
3166
3186
|
*/
|
|
@@ -4408,6 +4428,26 @@ type Course = {
|
|
|
4408
4428
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
4409
4429
|
*/
|
|
4410
4430
|
featured?: boolean;
|
|
4431
|
+
/**
|
|
4432
|
+
* Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
4433
|
+
*/
|
|
4434
|
+
preRegistrationEnabled?: boolean | null;
|
|
4435
|
+
/**
|
|
4436
|
+
* Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).
|
|
4437
|
+
*/
|
|
4438
|
+
preRegistrationOpensAt?: string | null;
|
|
4439
|
+
/**
|
|
4440
|
+
* Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.
|
|
4441
|
+
*/
|
|
4442
|
+
preRegistrationClosesAt?: string | null;
|
|
4443
|
+
/**
|
|
4444
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
4445
|
+
*/
|
|
4446
|
+
preRegistrationMessage?: string | null;
|
|
4447
|
+
/**
|
|
4448
|
+
* Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
4449
|
+
*/
|
|
4450
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
4411
4451
|
/**
|
|
4412
4452
|
* Gets the computed image url.
|
|
4413
4453
|
*/
|
|
@@ -8890,6 +8930,22 @@ type CoursePatch = {
|
|
|
8890
8930
|
* Gets or sets a value indicating whether the course is deleted and should be ignored under normal operation.
|
|
8891
8931
|
*/
|
|
8892
8932
|
deleted?: boolean | null;
|
|
8933
|
+
/**
|
|
8934
|
+
* Gets or sets a value indicating whether pre-registration / waitlist is enabled for this course.
|
|
8935
|
+
*/
|
|
8936
|
+
preRegistrationEnabled?: boolean | null;
|
|
8937
|
+
/**
|
|
8938
|
+
* Gets or sets when pre-registration opens; null means no start boundary.
|
|
8939
|
+
*/
|
|
8940
|
+
preRegistrationOpensAt?: string | null;
|
|
8941
|
+
/**
|
|
8942
|
+
* Gets or sets when pre-registration closes; null means no end boundary.
|
|
8943
|
+
*/
|
|
8944
|
+
preRegistrationClosesAt?: string | null;
|
|
8945
|
+
/**
|
|
8946
|
+
* Gets or sets optional storefront message for pre-registration.
|
|
8947
|
+
*/
|
|
8948
|
+
preRegistrationMessage?: string | null;
|
|
8893
8949
|
emailSettings?: UpdateEmailSettings;
|
|
8894
8950
|
/**
|
|
8895
8951
|
* Gets or sets the course offers.
|
|
@@ -9285,7 +9341,7 @@ declare class CoursesService {
|
|
|
9285
9341
|
* @returns CoursePage OK
|
|
9286
9342
|
* @throws ApiError
|
|
9287
9343
|
*/
|
|
9288
|
-
getPage({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9344
|
+
getPage({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9289
9345
|
/**
|
|
9290
9346
|
* Gets or sets the queryable Course Id.
|
|
9291
9347
|
*/
|
|
@@ -9414,6 +9470,10 @@ declare class CoursesService {
|
|
|
9414
9470
|
* Gets or sets AdditionalSupport.
|
|
9415
9471
|
*/
|
|
9416
9472
|
additionalSupport?: Array<string>;
|
|
9473
|
+
/**
|
|
9474
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
9475
|
+
*/
|
|
9476
|
+
timeOfDay?: string;
|
|
9417
9477
|
/**
|
|
9418
9478
|
* Gets or sets Activity id.
|
|
9419
9479
|
*/
|
|
@@ -9509,7 +9569,7 @@ declare class CoursesService {
|
|
|
9509
9569
|
* @returns boolean OK
|
|
9510
9570
|
* @throws ApiError
|
|
9511
9571
|
*/
|
|
9512
|
-
exists({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9572
|
+
exists({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9513
9573
|
/**
|
|
9514
9574
|
* Gets or sets the queryable Course Id.
|
|
9515
9575
|
*/
|
|
@@ -9638,6 +9698,10 @@ declare class CoursesService {
|
|
|
9638
9698
|
* Gets or sets AdditionalSupport.
|
|
9639
9699
|
*/
|
|
9640
9700
|
additionalSupport?: Array<string>;
|
|
9701
|
+
/**
|
|
9702
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
9703
|
+
*/
|
|
9704
|
+
timeOfDay?: string;
|
|
9641
9705
|
/**
|
|
9642
9706
|
* Gets or sets Activity id.
|
|
9643
9707
|
*/
|
|
@@ -9700,7 +9764,7 @@ declare class CoursesService {
|
|
|
9700
9764
|
* @returns number OK
|
|
9701
9765
|
* @throws ApiError
|
|
9702
9766
|
*/
|
|
9703
|
-
count({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9767
|
+
count({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9704
9768
|
/**
|
|
9705
9769
|
* Gets or sets the queryable Course Id.
|
|
9706
9770
|
*/
|
|
@@ -9829,6 +9893,10 @@ declare class CoursesService {
|
|
|
9829
9893
|
* Gets or sets AdditionalSupport.
|
|
9830
9894
|
*/
|
|
9831
9895
|
additionalSupport?: Array<string>;
|
|
9896
|
+
/**
|
|
9897
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
9898
|
+
*/
|
|
9899
|
+
timeOfDay?: string;
|
|
9832
9900
|
/**
|
|
9833
9901
|
* Gets or sets Activity id.
|
|
9834
9902
|
*/
|
|
@@ -9891,7 +9959,7 @@ declare class CoursesService {
|
|
|
9891
9959
|
* @returns Course OK
|
|
9892
9960
|
* @throws ApiError
|
|
9893
9961
|
*/
|
|
9894
|
-
getListWithoutReferences({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9962
|
+
getListWithoutReferences({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
9895
9963
|
/**
|
|
9896
9964
|
* Gets or sets the queryable Course Id.
|
|
9897
9965
|
*/
|
|
@@ -10020,6 +10088,10 @@ declare class CoursesService {
|
|
|
10020
10088
|
* Gets or sets AdditionalSupport.
|
|
10021
10089
|
*/
|
|
10022
10090
|
additionalSupport?: Array<string>;
|
|
10091
|
+
/**
|
|
10092
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
10093
|
+
*/
|
|
10094
|
+
timeOfDay?: string;
|
|
10023
10095
|
/**
|
|
10024
10096
|
* Gets or sets Activity id.
|
|
10025
10097
|
*/
|
|
@@ -10082,7 +10154,7 @@ declare class CoursesService {
|
|
|
10082
10154
|
* @returns Course OK
|
|
10083
10155
|
* @throws ApiError
|
|
10084
10156
|
*/
|
|
10085
|
-
getListIdName({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
10157
|
+
getListIdName({ id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
10086
10158
|
/**
|
|
10087
10159
|
* Gets or sets the queryable Course Id.
|
|
10088
10160
|
*/
|
|
@@ -10211,6 +10283,10 @@ declare class CoursesService {
|
|
|
10211
10283
|
* Gets or sets AdditionalSupport.
|
|
10212
10284
|
*/
|
|
10213
10285
|
additionalSupport?: Array<string>;
|
|
10286
|
+
/**
|
|
10287
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
10288
|
+
*/
|
|
10289
|
+
timeOfDay?: string;
|
|
10214
10290
|
/**
|
|
10215
10291
|
* Gets or sets Activity id.
|
|
10216
10292
|
*/
|
|
@@ -17733,6 +17809,26 @@ type GenericActivity = {
|
|
|
17733
17809
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
17734
17810
|
*/
|
|
17735
17811
|
featured?: boolean;
|
|
17812
|
+
/**
|
|
17813
|
+
* Gets or sets a value indicating whether customers may join pre-registration / waitlist for this activity when there is nothing bookable yet.
|
|
17814
|
+
*/
|
|
17815
|
+
preRegistrationEnabled?: boolean | null;
|
|
17816
|
+
/**
|
|
17817
|
+
* Gets or sets when pre-registration opens. Null means no start date constraint.
|
|
17818
|
+
*/
|
|
17819
|
+
preRegistrationOpensAt?: string | null;
|
|
17820
|
+
/**
|
|
17821
|
+
* Gets or sets when pre-registration closes. Null means no end date constraint.
|
|
17822
|
+
*/
|
|
17823
|
+
preRegistrationClosesAt?: string | null;
|
|
17824
|
+
/**
|
|
17825
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
17826
|
+
*/
|
|
17827
|
+
preRegistrationMessage?: string | null;
|
|
17828
|
+
/**
|
|
17829
|
+
* Gets a value indicating whether pre-registration is turned on and the current time is inside the optional window.
|
|
17830
|
+
*/
|
|
17831
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
17736
17832
|
/**
|
|
17737
17833
|
* Gets or sets the start date.
|
|
17738
17834
|
*/
|
|
@@ -35163,7 +35259,7 @@ declare class PublicCoursesService {
|
|
|
35163
35259
|
* @returns CoursePage OK
|
|
35164
35260
|
* @throws ApiError
|
|
35165
35261
|
*/
|
|
35166
|
-
getPage({ xTenantSubdomain, id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
35262
|
+
getPage({ xTenantSubdomain, id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
35167
35263
|
xTenantSubdomain?: string;
|
|
35168
35264
|
/**
|
|
35169
35265
|
* Gets or sets the queryable Course Id.
|
|
@@ -35293,6 +35389,10 @@ declare class PublicCoursesService {
|
|
|
35293
35389
|
* Gets or sets AdditionalSupport.
|
|
35294
35390
|
*/
|
|
35295
35391
|
additionalSupport?: Array<string>;
|
|
35392
|
+
/**
|
|
35393
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
35394
|
+
*/
|
|
35395
|
+
timeOfDay?: string;
|
|
35296
35396
|
/**
|
|
35297
35397
|
* Gets or sets Activity id.
|
|
35298
35398
|
*/
|
|
@@ -35430,7 +35530,7 @@ declare class PublicCoursesService {
|
|
|
35430
35530
|
* @returns boolean OK
|
|
35431
35531
|
* @throws ApiError
|
|
35432
35532
|
*/
|
|
35433
|
-
exists({ xTenantSubdomain, id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
35533
|
+
exists({ xTenantSubdomain, id, ids, venueId, programmeId, providerId, surveyId, cancellationPolicyId, paymentPolicyId, allowTemplating, archived, deleted, openActiveUpdate, dashboardRequest, bookingStatus, startDateTimeLte, startDateTimeGte, endDateTimeLte, endDateTimeGte, remainingUsesLte, remainingUsesGte, futureOnly, online, featured, _private, hasAvailability, orderFirstNameContains, orderLastNameContains, sortBy, postCompletionEmailSent, searchGeoCenter, distance, additionalSupport, timeOfDay, activityId, templateFieldPermissionsId, templateFieldPermissionsIds, pageNumber, take, skip, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
35434
35534
|
/**
|
|
35435
35535
|
* The tenants subdomain.
|
|
35436
35536
|
*/
|
|
@@ -35563,6 +35663,10 @@ declare class PublicCoursesService {
|
|
|
35563
35663
|
* Gets or sets AdditionalSupport.
|
|
35564
35664
|
*/
|
|
35565
35665
|
additionalSupport?: Array<string>;
|
|
35666
|
+
/**
|
|
35667
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
35668
|
+
*/
|
|
35669
|
+
timeOfDay?: string;
|
|
35566
35670
|
/**
|
|
35567
35671
|
* Gets or sets Activity id.
|
|
35568
35672
|
*/
|
|
@@ -40731,6 +40835,22 @@ type SessionPatch = {
|
|
|
40731
40835
|
* Gets or sets a value indicating whether the session is deleted and should be ignored under normal operation.
|
|
40732
40836
|
*/
|
|
40733
40837
|
deleted?: boolean | null;
|
|
40838
|
+
/**
|
|
40839
|
+
* Gets or sets a value indicating whether pre-registration / waitlist is enabled for this session template.
|
|
40840
|
+
*/
|
|
40841
|
+
preRegistrationEnabled?: boolean | null;
|
|
40842
|
+
/**
|
|
40843
|
+
* Gets or sets when pre-registration opens; null means no start boundary.
|
|
40844
|
+
*/
|
|
40845
|
+
preRegistrationOpensAt?: string | null;
|
|
40846
|
+
/**
|
|
40847
|
+
* Gets or sets when pre-registration closes; null means no end boundary.
|
|
40848
|
+
*/
|
|
40849
|
+
preRegistrationClosesAt?: string | null;
|
|
40850
|
+
/**
|
|
40851
|
+
* Gets or sets optional storefront message for pre-registration.
|
|
40852
|
+
*/
|
|
40853
|
+
preRegistrationMessage?: string | null;
|
|
40734
40854
|
emailSettings?: UpdateEmailSettings;
|
|
40735
40855
|
/**
|
|
40736
40856
|
* Gets or sets the session offers.
|
package/dist/reach-sdk.js
CHANGED
|
@@ -3748,6 +3748,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3748
3748
|
searchGeoCenter,
|
|
3749
3749
|
distance,
|
|
3750
3750
|
additionalSupport,
|
|
3751
|
+
timeOfDay,
|
|
3751
3752
|
activityId,
|
|
3752
3753
|
templateFieldPermissionsId,
|
|
3753
3754
|
templateFieldPermissionsIds,
|
|
@@ -3799,6 +3800,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3799
3800
|
SearchGeoCenter: searchGeoCenter,
|
|
3800
3801
|
Distance: distance,
|
|
3801
3802
|
AdditionalSupport: additionalSupport,
|
|
3803
|
+
TimeOfDay: timeOfDay,
|
|
3802
3804
|
ActivityId: activityId,
|
|
3803
3805
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
3804
3806
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -3922,6 +3924,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3922
3924
|
searchGeoCenter,
|
|
3923
3925
|
distance,
|
|
3924
3926
|
additionalSupport,
|
|
3927
|
+
timeOfDay,
|
|
3925
3928
|
activityId,
|
|
3926
3929
|
templateFieldPermissionsId,
|
|
3927
3930
|
templateFieldPermissionsIds,
|
|
@@ -3973,6 +3976,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3973
3976
|
SearchGeoCenter: searchGeoCenter,
|
|
3974
3977
|
Distance: distance,
|
|
3975
3978
|
AdditionalSupport: additionalSupport,
|
|
3979
|
+
TimeOfDay: timeOfDay,
|
|
3976
3980
|
ActivityId: activityId,
|
|
3977
3981
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
3978
3982
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -4033,6 +4037,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4033
4037
|
searchGeoCenter,
|
|
4034
4038
|
distance,
|
|
4035
4039
|
additionalSupport,
|
|
4040
|
+
timeOfDay,
|
|
4036
4041
|
activityId,
|
|
4037
4042
|
templateFieldPermissionsId,
|
|
4038
4043
|
templateFieldPermissionsIds,
|
|
@@ -4084,6 +4089,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4084
4089
|
SearchGeoCenter: searchGeoCenter,
|
|
4085
4090
|
Distance: distance,
|
|
4086
4091
|
AdditionalSupport: additionalSupport,
|
|
4092
|
+
TimeOfDay: timeOfDay,
|
|
4087
4093
|
ActivityId: activityId,
|
|
4088
4094
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
4089
4095
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -4144,6 +4150,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4144
4150
|
searchGeoCenter,
|
|
4145
4151
|
distance,
|
|
4146
4152
|
additionalSupport,
|
|
4153
|
+
timeOfDay,
|
|
4147
4154
|
activityId,
|
|
4148
4155
|
templateFieldPermissionsId,
|
|
4149
4156
|
templateFieldPermissionsIds,
|
|
@@ -4195,6 +4202,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4195
4202
|
SearchGeoCenter: searchGeoCenter,
|
|
4196
4203
|
Distance: distance,
|
|
4197
4204
|
AdditionalSupport: additionalSupport,
|
|
4205
|
+
TimeOfDay: timeOfDay,
|
|
4198
4206
|
ActivityId: activityId,
|
|
4199
4207
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
4200
4208
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -4255,6 +4263,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4255
4263
|
searchGeoCenter,
|
|
4256
4264
|
distance,
|
|
4257
4265
|
additionalSupport,
|
|
4266
|
+
timeOfDay,
|
|
4258
4267
|
activityId,
|
|
4259
4268
|
templateFieldPermissionsId,
|
|
4260
4269
|
templateFieldPermissionsIds,
|
|
@@ -4306,6 +4315,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4306
4315
|
SearchGeoCenter: searchGeoCenter,
|
|
4307
4316
|
Distance: distance,
|
|
4308
4317
|
AdditionalSupport: additionalSupport,
|
|
4318
|
+
TimeOfDay: timeOfDay,
|
|
4309
4319
|
ActivityId: activityId,
|
|
4310
4320
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
4311
4321
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -23375,6 +23385,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23375
23385
|
searchGeoCenter,
|
|
23376
23386
|
distance,
|
|
23377
23387
|
additionalSupport,
|
|
23388
|
+
timeOfDay,
|
|
23378
23389
|
activityId,
|
|
23379
23390
|
templateFieldPermissionsId,
|
|
23380
23391
|
templateFieldPermissionsIds,
|
|
@@ -23429,6 +23440,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23429
23440
|
SearchGeoCenter: searchGeoCenter,
|
|
23430
23441
|
Distance: distance,
|
|
23431
23442
|
AdditionalSupport: additionalSupport,
|
|
23443
|
+
TimeOfDay: timeOfDay,
|
|
23432
23444
|
ActivityId: activityId,
|
|
23433
23445
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
23434
23446
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -23611,6 +23623,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23611
23623
|
searchGeoCenter,
|
|
23612
23624
|
distance,
|
|
23613
23625
|
additionalSupport,
|
|
23626
|
+
timeOfDay,
|
|
23614
23627
|
activityId,
|
|
23615
23628
|
templateFieldPermissionsId,
|
|
23616
23629
|
templateFieldPermissionsIds,
|
|
@@ -23665,6 +23678,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23665
23678
|
SearchGeoCenter: searchGeoCenter,
|
|
23666
23679
|
Distance: distance,
|
|
23667
23680
|
AdditionalSupport: additionalSupport,
|
|
23681
|
+
TimeOfDay: timeOfDay,
|
|
23668
23682
|
ActivityId: activityId,
|
|
23669
23683
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
23670
23684
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
package/package.json
CHANGED
|
@@ -10222,6 +10222,11 @@ paths:
|
|
|
10222
10222
|
type: array
|
|
10223
10223
|
items:
|
|
10224
10224
|
type: string
|
|
10225
|
+
- name: TimeOfDay
|
|
10226
|
+
in: query
|
|
10227
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
10228
|
+
schema:
|
|
10229
|
+
type: string
|
|
10225
10230
|
- name: ActivityId
|
|
10226
10231
|
in: query
|
|
10227
10232
|
description: Gets or sets Activity id.
|
|
@@ -10720,6 +10725,11 @@ paths:
|
|
|
10720
10725
|
type: array
|
|
10721
10726
|
items:
|
|
10722
10727
|
type: string
|
|
10728
|
+
- name: TimeOfDay
|
|
10729
|
+
in: query
|
|
10730
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
10731
|
+
schema:
|
|
10732
|
+
type: string
|
|
10723
10733
|
- name: ActivityId
|
|
10724
10734
|
in: query
|
|
10725
10735
|
description: Gets or sets Activity id.
|
|
@@ -11040,6 +11050,11 @@ paths:
|
|
|
11040
11050
|
type: array
|
|
11041
11051
|
items:
|
|
11042
11052
|
type: string
|
|
11053
|
+
- name: TimeOfDay
|
|
11054
|
+
in: query
|
|
11055
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
11056
|
+
schema:
|
|
11057
|
+
type: string
|
|
11043
11058
|
- name: ActivityId
|
|
11044
11059
|
in: query
|
|
11045
11060
|
description: Gets or sets Activity id.
|
|
@@ -11363,6 +11378,11 @@ paths:
|
|
|
11363
11378
|
type: array
|
|
11364
11379
|
items:
|
|
11365
11380
|
type: string
|
|
11381
|
+
- name: TimeOfDay
|
|
11382
|
+
in: query
|
|
11383
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
11384
|
+
schema:
|
|
11385
|
+
type: string
|
|
11366
11386
|
- name: ActivityId
|
|
11367
11387
|
in: query
|
|
11368
11388
|
description: Gets or sets Activity id.
|
|
@@ -11689,6 +11709,11 @@ paths:
|
|
|
11689
11709
|
type: array
|
|
11690
11710
|
items:
|
|
11691
11711
|
type: string
|
|
11712
|
+
- name: TimeOfDay
|
|
11713
|
+
in: query
|
|
11714
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
11715
|
+
schema:
|
|
11716
|
+
type: string
|
|
11692
11717
|
- name: ActivityId
|
|
11693
11718
|
in: query
|
|
11694
11719
|
description: Gets or sets Activity id.
|
|
@@ -69090,6 +69115,11 @@ paths:
|
|
|
69090
69115
|
type: array
|
|
69091
69116
|
items:
|
|
69092
69117
|
type: string
|
|
69118
|
+
- name: TimeOfDay
|
|
69119
|
+
in: query
|
|
69120
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
69121
|
+
schema:
|
|
69122
|
+
type: string
|
|
69093
69123
|
- name: ActivityId
|
|
69094
69124
|
in: query
|
|
69095
69125
|
description: Gets or sets Activity id.
|
|
@@ -69781,6 +69811,11 @@ paths:
|
|
|
69781
69811
|
type: array
|
|
69782
69812
|
items:
|
|
69783
69813
|
type: string
|
|
69814
|
+
- name: TimeOfDay
|
|
69815
|
+
in: query
|
|
69816
|
+
description: 'Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.'
|
|
69817
|
+
schema:
|
|
69818
|
+
type: string
|
|
69784
69819
|
- name: ActivityId
|
|
69785
69820
|
in: query
|
|
69786
69821
|
description: Gets or sets Activity id.
|
|
@@ -150122,6 +150157,29 @@ components:
|
|
|
150122
150157
|
type: boolean
|
|
150123
150158
|
description: Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
150124
150159
|
default: false
|
|
150160
|
+
preRegistrationEnabled:
|
|
150161
|
+
type: boolean
|
|
150162
|
+
description: Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
150163
|
+
nullable: true
|
|
150164
|
+
preRegistrationOpensAt:
|
|
150165
|
+
type: string
|
|
150166
|
+
description: 'Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).'
|
|
150167
|
+
format: date-time
|
|
150168
|
+
nullable: true
|
|
150169
|
+
preRegistrationClosesAt:
|
|
150170
|
+
type: string
|
|
150171
|
+
description: 'Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.'
|
|
150172
|
+
format: date-time
|
|
150173
|
+
nullable: true
|
|
150174
|
+
preRegistrationMessage:
|
|
150175
|
+
type: string
|
|
150176
|
+
description: Gets or sets optional storefront copy for the pre-registration form.
|
|
150177
|
+
nullable: true
|
|
150178
|
+
isPreRegistrationAcceptingSignUps:
|
|
150179
|
+
type: boolean
|
|
150180
|
+
description: Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
150181
|
+
default: false
|
|
150182
|
+
readOnly: true
|
|
150125
150183
|
computedImage:
|
|
150126
150184
|
type: string
|
|
150127
150185
|
description: Gets the computed image url.
|
|
@@ -150735,6 +150793,24 @@ components:
|
|
|
150735
150793
|
type: boolean
|
|
150736
150794
|
description: Gets or sets a value indicating whether the course is deleted and should be ignored under normal operation.
|
|
150737
150795
|
nullable: true
|
|
150796
|
+
preRegistrationEnabled:
|
|
150797
|
+
type: boolean
|
|
150798
|
+
description: Gets or sets a value indicating whether pre-registration / waitlist is enabled for this course.
|
|
150799
|
+
nullable: true
|
|
150800
|
+
preRegistrationOpensAt:
|
|
150801
|
+
type: string
|
|
150802
|
+
description: Gets or sets when pre-registration opens; null means no start boundary.
|
|
150803
|
+
format: date-time
|
|
150804
|
+
nullable: true
|
|
150805
|
+
preRegistrationClosesAt:
|
|
150806
|
+
type: string
|
|
150807
|
+
description: Gets or sets when pre-registration closes; null means no end boundary.
|
|
150808
|
+
format: date-time
|
|
150809
|
+
nullable: true
|
|
150810
|
+
preRegistrationMessage:
|
|
150811
|
+
type: string
|
|
150812
|
+
description: Gets or sets optional storefront message for pre-registration.
|
|
150813
|
+
nullable: true
|
|
150738
150814
|
emailSettings:
|
|
150739
150815
|
$ref: '#/components/schemas/UpdateEmailSettings'
|
|
150740
150816
|
offers:
|
|
@@ -154103,6 +154179,29 @@ components:
|
|
|
154103
154179
|
type: boolean
|
|
154104
154180
|
description: Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
154105
154181
|
default: false
|
|
154182
|
+
preRegistrationEnabled:
|
|
154183
|
+
type: boolean
|
|
154184
|
+
description: Gets or sets a value indicating whether customers may join pre-registration / waitlist for this activity when there is nothing bookable yet.
|
|
154185
|
+
nullable: true
|
|
154186
|
+
preRegistrationOpensAt:
|
|
154187
|
+
type: string
|
|
154188
|
+
description: Gets or sets when pre-registration opens. Null means no start date constraint.
|
|
154189
|
+
format: date-time
|
|
154190
|
+
nullable: true
|
|
154191
|
+
preRegistrationClosesAt:
|
|
154192
|
+
type: string
|
|
154193
|
+
description: Gets or sets when pre-registration closes. Null means no end date constraint.
|
|
154194
|
+
format: date-time
|
|
154195
|
+
nullable: true
|
|
154196
|
+
preRegistrationMessage:
|
|
154197
|
+
type: string
|
|
154198
|
+
description: Gets or sets optional storefront copy for the pre-registration form.
|
|
154199
|
+
nullable: true
|
|
154200
|
+
isPreRegistrationAcceptingSignUps:
|
|
154201
|
+
type: boolean
|
|
154202
|
+
description: Gets a value indicating whether pre-registration is turned on and the current time is inside the optional window.
|
|
154203
|
+
default: false
|
|
154204
|
+
readOnly: true
|
|
154106
154205
|
startDateTime:
|
|
154107
154206
|
type: string
|
|
154108
154207
|
description: Gets or sets the start date.
|
|
@@ -160423,6 +160522,29 @@ components:
|
|
|
160423
160522
|
type: boolean
|
|
160424
160523
|
description: Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
160425
160524
|
default: false
|
|
160525
|
+
preRegistrationEnabled:
|
|
160526
|
+
type: boolean
|
|
160527
|
+
description: Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
160528
|
+
nullable: true
|
|
160529
|
+
preRegistrationOpensAt:
|
|
160530
|
+
type: string
|
|
160531
|
+
description: 'Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).'
|
|
160532
|
+
format: date-time
|
|
160533
|
+
nullable: true
|
|
160534
|
+
preRegistrationClosesAt:
|
|
160535
|
+
type: string
|
|
160536
|
+
description: 'Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.'
|
|
160537
|
+
format: date-time
|
|
160538
|
+
nullable: true
|
|
160539
|
+
preRegistrationMessage:
|
|
160540
|
+
type: string
|
|
160541
|
+
description: Gets or sets optional storefront copy for the pre-registration form.
|
|
160542
|
+
nullable: true
|
|
160543
|
+
isPreRegistrationAcceptingSignUps:
|
|
160544
|
+
type: boolean
|
|
160545
|
+
description: Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
160546
|
+
default: false
|
|
160547
|
+
readOnly: true
|
|
160426
160548
|
computedImage:
|
|
160427
160549
|
type: string
|
|
160428
160550
|
description: Gets the computed image url.
|
|
@@ -160906,6 +161028,24 @@ components:
|
|
|
160906
161028
|
type: boolean
|
|
160907
161029
|
description: Gets or sets a value indicating whether the session is deleted and should be ignored under normal operation.
|
|
160908
161030
|
nullable: true
|
|
161031
|
+
preRegistrationEnabled:
|
|
161032
|
+
type: boolean
|
|
161033
|
+
description: Gets or sets a value indicating whether pre-registration / waitlist is enabled for this session template.
|
|
161034
|
+
nullable: true
|
|
161035
|
+
preRegistrationOpensAt:
|
|
161036
|
+
type: string
|
|
161037
|
+
description: Gets or sets when pre-registration opens; null means no start boundary.
|
|
161038
|
+
format: date-time
|
|
161039
|
+
nullable: true
|
|
161040
|
+
preRegistrationClosesAt:
|
|
161041
|
+
type: string
|
|
161042
|
+
description: Gets or sets when pre-registration closes; null means no end boundary.
|
|
161043
|
+
format: date-time
|
|
161044
|
+
nullable: true
|
|
161045
|
+
preRegistrationMessage:
|
|
161046
|
+
type: string
|
|
161047
|
+
description: Gets or sets optional storefront message for pre-registration.
|
|
161048
|
+
nullable: true
|
|
160909
161049
|
emailSettings:
|
|
160910
161050
|
$ref: '#/components/schemas/UpdateEmailSettings'
|
|
160911
161051
|
offers:
|
package/src/models/Course.ts
CHANGED
|
@@ -189,6 +189,26 @@ export type Course = {
|
|
|
189
189
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
190
190
|
*/
|
|
191
191
|
featured?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
194
|
+
*/
|
|
195
|
+
preRegistrationEnabled?: boolean | null;
|
|
196
|
+
/**
|
|
197
|
+
* Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).
|
|
198
|
+
*/
|
|
199
|
+
preRegistrationOpensAt?: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.
|
|
202
|
+
*/
|
|
203
|
+
preRegistrationClosesAt?: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
206
|
+
*/
|
|
207
|
+
preRegistrationMessage?: string | null;
|
|
208
|
+
/**
|
|
209
|
+
* Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
210
|
+
*/
|
|
211
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
192
212
|
/**
|
|
193
213
|
* Gets the computed image url.
|
|
194
214
|
*/
|
|
@@ -153,6 +153,22 @@ export type CoursePatch = {
|
|
|
153
153
|
* Gets or sets a value indicating whether the course is deleted and should be ignored under normal operation.
|
|
154
154
|
*/
|
|
155
155
|
deleted?: boolean | null;
|
|
156
|
+
/**
|
|
157
|
+
* Gets or sets a value indicating whether pre-registration / waitlist is enabled for this course.
|
|
158
|
+
*/
|
|
159
|
+
preRegistrationEnabled?: boolean | null;
|
|
160
|
+
/**
|
|
161
|
+
* Gets or sets when pre-registration opens; null means no start boundary.
|
|
162
|
+
*/
|
|
163
|
+
preRegistrationOpensAt?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* Gets or sets when pre-registration closes; null means no end boundary.
|
|
166
|
+
*/
|
|
167
|
+
preRegistrationClosesAt?: string | null;
|
|
168
|
+
/**
|
|
169
|
+
* Gets or sets optional storefront message for pre-registration.
|
|
170
|
+
*/
|
|
171
|
+
preRegistrationMessage?: string | null;
|
|
156
172
|
emailSettings?: UpdateEmailSettings;
|
|
157
173
|
/**
|
|
158
174
|
* Gets or sets the course offers.
|
|
@@ -126,6 +126,26 @@ export type GenericActivity = {
|
|
|
126
126
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
127
127
|
*/
|
|
128
128
|
featured?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Gets or sets a value indicating whether customers may join pre-registration / waitlist for this activity when there is nothing bookable yet.
|
|
131
|
+
*/
|
|
132
|
+
preRegistrationEnabled?: boolean | null;
|
|
133
|
+
/**
|
|
134
|
+
* Gets or sets when pre-registration opens. Null means no start date constraint.
|
|
135
|
+
*/
|
|
136
|
+
preRegistrationOpensAt?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Gets or sets when pre-registration closes. Null means no end date constraint.
|
|
139
|
+
*/
|
|
140
|
+
preRegistrationClosesAt?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
143
|
+
*/
|
|
144
|
+
preRegistrationMessage?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Gets a value indicating whether pre-registration is turned on and the current time is inside the optional window.
|
|
147
|
+
*/
|
|
148
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
129
149
|
/**
|
|
130
150
|
* Gets or sets the start date.
|
|
131
151
|
*/
|
package/src/models/Session.ts
CHANGED
|
@@ -182,6 +182,26 @@ export type Session = {
|
|
|
182
182
|
* Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
183
183
|
*/
|
|
184
184
|
featured?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Gets or sets a value indicating whether customers may join the activity pre-registration / waitlist when there is nothing bookable yet.
|
|
187
|
+
*/
|
|
188
|
+
preRegistrationEnabled?: boolean | null;
|
|
189
|
+
/**
|
|
190
|
+
* Gets or sets when pre-registration sign-up opens. When null, there is no start boundary (sign-up is allowed from whenever the activity is eligible, until Reach.Models.ActivityBase.PreRegistrationClosesAt if set).
|
|
191
|
+
*/
|
|
192
|
+
preRegistrationOpensAt?: string | null;
|
|
193
|
+
/**
|
|
194
|
+
* Gets or sets when pre-registration sign-up closes. When null, there is no end boundary while Reach.Models.ActivityBase.PreRegistrationEnabled is true.
|
|
195
|
+
*/
|
|
196
|
+
preRegistrationClosesAt?: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* Gets or sets optional storefront copy for the pre-registration form.
|
|
199
|
+
*/
|
|
200
|
+
preRegistrationMessage?: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* Gets a value indicating whether pre-registration is configured and the current instant falls inside the optional window.
|
|
203
|
+
*/
|
|
204
|
+
readonly isPreRegistrationAcceptingSignUps?: boolean;
|
|
185
205
|
/**
|
|
186
206
|
* Gets the computed image url.
|
|
187
207
|
*/
|
|
@@ -151,6 +151,22 @@ export type SessionPatch = {
|
|
|
151
151
|
* Gets or sets a value indicating whether the session is deleted and should be ignored under normal operation.
|
|
152
152
|
*/
|
|
153
153
|
deleted?: boolean | null;
|
|
154
|
+
/**
|
|
155
|
+
* Gets or sets a value indicating whether pre-registration / waitlist is enabled for this session template.
|
|
156
|
+
*/
|
|
157
|
+
preRegistrationEnabled?: boolean | null;
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets when pre-registration opens; null means no start boundary.
|
|
160
|
+
*/
|
|
161
|
+
preRegistrationOpensAt?: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* Gets or sets when pre-registration closes; null means no end boundary.
|
|
164
|
+
*/
|
|
165
|
+
preRegistrationClosesAt?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Gets or sets optional storefront message for pre-registration.
|
|
168
|
+
*/
|
|
169
|
+
preRegistrationMessage?: string | null;
|
|
154
170
|
emailSettings?: UpdateEmailSettings;
|
|
155
171
|
/**
|
|
156
172
|
* Gets or sets the session offers.
|
|
@@ -667,6 +667,7 @@ export class CoursesService {
|
|
|
667
667
|
searchGeoCenter,
|
|
668
668
|
distance,
|
|
669
669
|
additionalSupport,
|
|
670
|
+
timeOfDay,
|
|
670
671
|
activityId,
|
|
671
672
|
templateFieldPermissionsId,
|
|
672
673
|
templateFieldPermissionsIds,
|
|
@@ -810,6 +811,10 @@ export class CoursesService {
|
|
|
810
811
|
* Gets or sets AdditionalSupport.
|
|
811
812
|
*/
|
|
812
813
|
additionalSupport?: Array<string>;
|
|
814
|
+
/**
|
|
815
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
816
|
+
*/
|
|
817
|
+
timeOfDay?: string;
|
|
813
818
|
/**
|
|
814
819
|
* Gets or sets Activity id.
|
|
815
820
|
*/
|
|
@@ -903,6 +908,7 @@ export class CoursesService {
|
|
|
903
908
|
SearchGeoCenter: searchGeoCenter,
|
|
904
909
|
Distance: distance,
|
|
905
910
|
AdditionalSupport: additionalSupport,
|
|
911
|
+
TimeOfDay: timeOfDay,
|
|
906
912
|
ActivityId: activityId,
|
|
907
913
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
908
914
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -1045,6 +1051,7 @@ export class CoursesService {
|
|
|
1045
1051
|
searchGeoCenter,
|
|
1046
1052
|
distance,
|
|
1047
1053
|
additionalSupport,
|
|
1054
|
+
timeOfDay,
|
|
1048
1055
|
activityId,
|
|
1049
1056
|
templateFieldPermissionsId,
|
|
1050
1057
|
templateFieldPermissionsIds,
|
|
@@ -1188,6 +1195,10 @@ export class CoursesService {
|
|
|
1188
1195
|
* Gets or sets AdditionalSupport.
|
|
1189
1196
|
*/
|
|
1190
1197
|
additionalSupport?: Array<string>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
1200
|
+
*/
|
|
1201
|
+
timeOfDay?: string;
|
|
1191
1202
|
/**
|
|
1192
1203
|
* Gets or sets Activity id.
|
|
1193
1204
|
*/
|
|
@@ -1281,6 +1292,7 @@ export class CoursesService {
|
|
|
1281
1292
|
SearchGeoCenter: searchGeoCenter,
|
|
1282
1293
|
Distance: distance,
|
|
1283
1294
|
AdditionalSupport: additionalSupport,
|
|
1295
|
+
TimeOfDay: timeOfDay,
|
|
1284
1296
|
ActivityId: activityId,
|
|
1285
1297
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
1286
1298
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -1342,6 +1354,7 @@ export class CoursesService {
|
|
|
1342
1354
|
searchGeoCenter,
|
|
1343
1355
|
distance,
|
|
1344
1356
|
additionalSupport,
|
|
1357
|
+
timeOfDay,
|
|
1345
1358
|
activityId,
|
|
1346
1359
|
templateFieldPermissionsId,
|
|
1347
1360
|
templateFieldPermissionsIds,
|
|
@@ -1485,6 +1498,10 @@ export class CoursesService {
|
|
|
1485
1498
|
* Gets or sets AdditionalSupport.
|
|
1486
1499
|
*/
|
|
1487
1500
|
additionalSupport?: Array<string>;
|
|
1501
|
+
/**
|
|
1502
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
1503
|
+
*/
|
|
1504
|
+
timeOfDay?: string;
|
|
1488
1505
|
/**
|
|
1489
1506
|
* Gets or sets Activity id.
|
|
1490
1507
|
*/
|
|
@@ -1578,6 +1595,7 @@ export class CoursesService {
|
|
|
1578
1595
|
SearchGeoCenter: searchGeoCenter,
|
|
1579
1596
|
Distance: distance,
|
|
1580
1597
|
AdditionalSupport: additionalSupport,
|
|
1598
|
+
TimeOfDay: timeOfDay,
|
|
1581
1599
|
ActivityId: activityId,
|
|
1582
1600
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
1583
1601
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -1639,6 +1657,7 @@ export class CoursesService {
|
|
|
1639
1657
|
searchGeoCenter,
|
|
1640
1658
|
distance,
|
|
1641
1659
|
additionalSupport,
|
|
1660
|
+
timeOfDay,
|
|
1642
1661
|
activityId,
|
|
1643
1662
|
templateFieldPermissionsId,
|
|
1644
1663
|
templateFieldPermissionsIds,
|
|
@@ -1782,6 +1801,10 @@ export class CoursesService {
|
|
|
1782
1801
|
* Gets or sets AdditionalSupport.
|
|
1783
1802
|
*/
|
|
1784
1803
|
additionalSupport?: Array<string>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
1806
|
+
*/
|
|
1807
|
+
timeOfDay?: string;
|
|
1785
1808
|
/**
|
|
1786
1809
|
* Gets or sets Activity id.
|
|
1787
1810
|
*/
|
|
@@ -1875,6 +1898,7 @@ export class CoursesService {
|
|
|
1875
1898
|
SearchGeoCenter: searchGeoCenter,
|
|
1876
1899
|
Distance: distance,
|
|
1877
1900
|
AdditionalSupport: additionalSupport,
|
|
1901
|
+
TimeOfDay: timeOfDay,
|
|
1878
1902
|
ActivityId: activityId,
|
|
1879
1903
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
1880
1904
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -1936,6 +1960,7 @@ export class CoursesService {
|
|
|
1936
1960
|
searchGeoCenter,
|
|
1937
1961
|
distance,
|
|
1938
1962
|
additionalSupport,
|
|
1963
|
+
timeOfDay,
|
|
1939
1964
|
activityId,
|
|
1940
1965
|
templateFieldPermissionsId,
|
|
1941
1966
|
templateFieldPermissionsIds,
|
|
@@ -2079,6 +2104,10 @@ export class CoursesService {
|
|
|
2079
2104
|
* Gets or sets AdditionalSupport.
|
|
2080
2105
|
*/
|
|
2081
2106
|
additionalSupport?: Array<string>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
2109
|
+
*/
|
|
2110
|
+
timeOfDay?: string;
|
|
2082
2111
|
/**
|
|
2083
2112
|
* Gets or sets Activity id.
|
|
2084
2113
|
*/
|
|
@@ -2172,6 +2201,7 @@ export class CoursesService {
|
|
|
2172
2201
|
SearchGeoCenter: searchGeoCenter,
|
|
2173
2202
|
Distance: distance,
|
|
2174
2203
|
AdditionalSupport: additionalSupport,
|
|
2204
|
+
TimeOfDay: timeOfDay,
|
|
2175
2205
|
ActivityId: activityId,
|
|
2176
2206
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
2177
2207
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -118,6 +118,7 @@ export class PublicCoursesService {
|
|
|
118
118
|
searchGeoCenter,
|
|
119
119
|
distance,
|
|
120
120
|
additionalSupport,
|
|
121
|
+
timeOfDay,
|
|
121
122
|
activityId,
|
|
122
123
|
templateFieldPermissionsId,
|
|
123
124
|
templateFieldPermissionsIds,
|
|
@@ -262,6 +263,10 @@ export class PublicCoursesService {
|
|
|
262
263
|
* Gets or sets AdditionalSupport.
|
|
263
264
|
*/
|
|
264
265
|
additionalSupport?: Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
268
|
+
*/
|
|
269
|
+
timeOfDay?: string;
|
|
265
270
|
/**
|
|
266
271
|
* Gets or sets Activity id.
|
|
267
272
|
*/
|
|
@@ -358,6 +363,7 @@ export class PublicCoursesService {
|
|
|
358
363
|
SearchGeoCenter: searchGeoCenter,
|
|
359
364
|
Distance: distance,
|
|
360
365
|
AdditionalSupport: additionalSupport,
|
|
366
|
+
TimeOfDay: timeOfDay,
|
|
361
367
|
ActivityId: activityId,
|
|
362
368
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
363
369
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|
|
@@ -591,6 +597,7 @@ export class PublicCoursesService {
|
|
|
591
597
|
searchGeoCenter,
|
|
592
598
|
distance,
|
|
593
599
|
additionalSupport,
|
|
600
|
+
timeOfDay,
|
|
594
601
|
activityId,
|
|
595
602
|
templateFieldPermissionsId,
|
|
596
603
|
templateFieldPermissionsIds,
|
|
@@ -738,6 +745,10 @@ export class PublicCoursesService {
|
|
|
738
745
|
* Gets or sets AdditionalSupport.
|
|
739
746
|
*/
|
|
740
747
|
additionalSupport?: Array<string>;
|
|
748
|
+
/**
|
|
749
|
+
* Gets or sets time-of-day bucket (morning, afternoon, evening) for course session start times.
|
|
750
|
+
*/
|
|
751
|
+
timeOfDay?: string;
|
|
741
752
|
/**
|
|
742
753
|
* Gets or sets Activity id.
|
|
743
754
|
*/
|
|
@@ -834,6 +845,7 @@ export class PublicCoursesService {
|
|
|
834
845
|
SearchGeoCenter: searchGeoCenter,
|
|
835
846
|
Distance: distance,
|
|
836
847
|
AdditionalSupport: additionalSupport,
|
|
848
|
+
TimeOfDay: timeOfDay,
|
|
837
849
|
ActivityId: activityId,
|
|
838
850
|
TemplateFieldPermissionsId: templateFieldPermissionsId,
|
|
839
851
|
TemplateFieldPermissionsIds: templateFieldPermissionsIds,
|