reach-api-sdk 1.0.190 → 1.0.192

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.
Files changed (32) hide show
  1. package/dist/reach-sdk.d.ts +756 -419
  2. package/dist/reach-sdk.js +355 -182
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +3 -0
  5. package/src/definition/swagger.yaml +1129 -651
  6. package/src/index.ts +4 -0
  7. package/src/models/Course.ts +4 -0
  8. package/src/models/EndUserIdentity.ts +30 -0
  9. package/src/models/EndUserIdentitySecureToken.ts +2 -0
  10. package/src/models/EventTiming.ts +12 -0
  11. package/src/models/Session.ts +4 -0
  12. package/src/models/TenantWebsiteSetting.ts +3 -0
  13. package/src/models/UpcomingLayout.ts +12 -0
  14. package/src/services/BookingService.ts +36 -0
  15. package/src/services/CoursesService.ts +24 -0
  16. package/src/services/DealsService.ts +24 -0
  17. package/src/services/EndUserIdentitySecureTokenService.ts +4 -4
  18. package/src/services/LeasingService.ts +24 -0
  19. package/src/services/OrderItemsService.ts +73 -0
  20. package/src/services/OrdersService.ts +24 -0
  21. package/src/services/PublicBookingService.ts +12 -0
  22. package/src/services/PublicCalendarService.ts +57 -0
  23. package/src/services/PublicCoursesService.ts +12 -0
  24. package/src/services/PublicLeasingService.ts +12 -0
  25. package/src/services/PublicNetworksService.ts +6 -0
  26. package/src/services/PublicOrderItemsService.ts +201 -168
  27. package/src/services/PublicOrdersService.ts +239 -231
  28. package/src/services/PublicScheduledSessionsService.ts +12 -0
  29. package/src/services/PublicSessionsService.ts +18 -0
  30. package/src/services/ScheduledSessionsSchedulesService.ts +24 -0
  31. package/src/services/ScheduledSessionsService.ts +24 -0
  32. package/src/services/SessionsService.ts +24 -0
@@ -217,6 +217,7 @@ export class ScheduledSessionsSchedulesService {
217
217
  lastRunDateTimeLte,
218
218
  status,
219
219
  statuses,
220
+ bookableOnly,
220
221
  pageNumber,
221
222
  take,
222
223
  skip,
@@ -249,6 +250,10 @@ export class ScheduledSessionsSchedulesService {
249
250
  * Gets or sets the queryable schedule statuses.
250
251
  */
251
252
  statuses?: Array<ScheduleStatus>;
253
+ /**
254
+ * Gets or sets a value indicating whether to only return course sessions contained in bookable courses.
255
+ */
256
+ bookableOnly?: boolean;
252
257
  /**
253
258
  * Gets or sets the page number for paged queries.
254
259
  */
@@ -303,6 +308,7 @@ export class ScheduledSessionsSchedulesService {
303
308
  LastRunDateTimeLTE: lastRunDateTimeLte,
304
309
  Status: status,
305
310
  Statuses: statuses,
311
+ BookableOnly: bookableOnly,
306
312
  PageNumber: pageNumber,
307
313
  Take: take,
308
314
  Skip: skip,
@@ -415,6 +421,7 @@ export class ScheduledSessionsSchedulesService {
415
421
  lastRunDateTimeLte,
416
422
  status,
417
423
  statuses,
424
+ bookableOnly,
418
425
  pageNumber,
419
426
  take,
420
427
  skip,
@@ -447,6 +454,10 @@ export class ScheduledSessionsSchedulesService {
447
454
  * Gets or sets the queryable schedule statuses.
448
455
  */
449
456
  statuses?: Array<ScheduleStatus>;
457
+ /**
458
+ * Gets or sets a value indicating whether to only return course sessions contained in bookable courses.
459
+ */
460
+ bookableOnly?: boolean;
450
461
  /**
451
462
  * Gets or sets the page number for paged queries.
452
463
  */
@@ -501,6 +512,7 @@ export class ScheduledSessionsSchedulesService {
501
512
  LastRunDateTimeLTE: lastRunDateTimeLte,
502
513
  Status: status,
503
514
  Statuses: statuses,
515
+ BookableOnly: bookableOnly,
504
516
  PageNumber: pageNumber,
505
517
  Take: take,
506
518
  Skip: skip,
@@ -532,6 +544,7 @@ export class ScheduledSessionsSchedulesService {
532
544
  lastRunDateTimeLte,
533
545
  status,
534
546
  statuses,
547
+ bookableOnly,
535
548
  pageNumber,
536
549
  take,
537
550
  skip,
@@ -564,6 +577,10 @@ export class ScheduledSessionsSchedulesService {
564
577
  * Gets or sets the queryable schedule statuses.
565
578
  */
566
579
  statuses?: Array<ScheduleStatus>;
580
+ /**
581
+ * Gets or sets a value indicating whether to only return course sessions contained in bookable courses.
582
+ */
583
+ bookableOnly?: boolean;
567
584
  /**
568
585
  * Gets or sets the page number for paged queries.
569
586
  */
@@ -618,6 +635,7 @@ export class ScheduledSessionsSchedulesService {
618
635
  LastRunDateTimeLTE: lastRunDateTimeLte,
619
636
  Status: status,
620
637
  Statuses: statuses,
638
+ BookableOnly: bookableOnly,
621
639
  PageNumber: pageNumber,
622
640
  Take: take,
623
641
  Skip: skip,
@@ -649,6 +667,7 @@ export class ScheduledSessionsSchedulesService {
649
667
  lastRunDateTimeLte,
650
668
  status,
651
669
  statuses,
670
+ bookableOnly,
652
671
  pageNumber,
653
672
  take,
654
673
  skip,
@@ -681,6 +700,10 @@ export class ScheduledSessionsSchedulesService {
681
700
  * Gets or sets the queryable schedule statuses.
682
701
  */
683
702
  statuses?: Array<ScheduleStatus>;
703
+ /**
704
+ * Gets or sets a value indicating whether to only return course sessions contained in bookable courses.
705
+ */
706
+ bookableOnly?: boolean;
684
707
  /**
685
708
  * Gets or sets the page number for paged queries.
686
709
  */
@@ -735,6 +758,7 @@ export class ScheduledSessionsSchedulesService {
735
758
  LastRunDateTimeLTE: lastRunDateTimeLte,
736
759
  Status: status,
737
760
  Statuses: statuses,
761
+ BookableOnly: bookableOnly,
738
762
  PageNumber: pageNumber,
739
763
  Take: take,
740
764
  Skip: skip,
@@ -387,6 +387,7 @@ export class ScheduledSessionsService {
387
387
  remainingUsesLte,
388
388
  remainingUsesGte,
389
389
  futureOnly,
390
+ bookableOnly,
390
391
  includeImages,
391
392
  includeVenue,
392
393
  includeOrders,
@@ -472,6 +473,10 @@ export class ScheduledSessionsService {
472
473
  * Gets or sets a value indicating whether to only return future scheduled session.
473
474
  */
474
475
  futureOnly?: boolean;
476
+ /**
477
+ * Gets or sets a value indicating whether to only return bookable scheduled sessions.
478
+ */
479
+ bookableOnly?: boolean;
475
480
  /**
476
481
  * Gets or sets a value indicating whether to include image detail in the results.
477
482
  */
@@ -573,6 +578,7 @@ export class ScheduledSessionsService {
573
578
  RemainingUsesLTE: remainingUsesLte,
574
579
  RemainingUsesGTE: remainingUsesGte,
575
580
  FutureOnly: futureOnly,
581
+ BookableOnly: bookableOnly,
576
582
  IncludeImages: includeImages,
577
583
  IncludeVenue: includeVenue,
578
584
  IncludeOrders: includeOrders,
@@ -705,6 +711,7 @@ export class ScheduledSessionsService {
705
711
  remainingUsesLte,
706
712
  remainingUsesGte,
707
713
  futureOnly,
714
+ bookableOnly,
708
715
  includeImages,
709
716
  includeVenue,
710
717
  includeOrders,
@@ -790,6 +797,10 @@ export class ScheduledSessionsService {
790
797
  * Gets or sets a value indicating whether to only return future scheduled session.
791
798
  */
792
799
  futureOnly?: boolean;
800
+ /**
801
+ * Gets or sets a value indicating whether to only return bookable scheduled sessions.
802
+ */
803
+ bookableOnly?: boolean;
793
804
  /**
794
805
  * Gets or sets a value indicating whether to include image detail in the results.
795
806
  */
@@ -891,6 +902,7 @@ export class ScheduledSessionsService {
891
902
  RemainingUsesLTE: remainingUsesLte,
892
903
  RemainingUsesGTE: remainingUsesGte,
893
904
  FutureOnly: futureOnly,
905
+ BookableOnly: bookableOnly,
894
906
  IncludeImages: includeImages,
895
907
  IncludeVenue: includeVenue,
896
908
  IncludeOrders: includeOrders,
@@ -942,6 +954,7 @@ export class ScheduledSessionsService {
942
954
  remainingUsesLte,
943
955
  remainingUsesGte,
944
956
  futureOnly,
957
+ bookableOnly,
945
958
  includeImages,
946
959
  includeVenue,
947
960
  includeOrders,
@@ -1027,6 +1040,10 @@ export class ScheduledSessionsService {
1027
1040
  * Gets or sets a value indicating whether to only return future scheduled session.
1028
1041
  */
1029
1042
  futureOnly?: boolean;
1043
+ /**
1044
+ * Gets or sets a value indicating whether to only return bookable scheduled sessions.
1045
+ */
1046
+ bookableOnly?: boolean;
1030
1047
  /**
1031
1048
  * Gets or sets a value indicating whether to include image detail in the results.
1032
1049
  */
@@ -1128,6 +1145,7 @@ export class ScheduledSessionsService {
1128
1145
  RemainingUsesLTE: remainingUsesLte,
1129
1146
  RemainingUsesGTE: remainingUsesGte,
1130
1147
  FutureOnly: futureOnly,
1148
+ BookableOnly: bookableOnly,
1131
1149
  IncludeImages: includeImages,
1132
1150
  IncludeVenue: includeVenue,
1133
1151
  IncludeOrders: includeOrders,
@@ -1179,6 +1197,7 @@ export class ScheduledSessionsService {
1179
1197
  remainingUsesLte,
1180
1198
  remainingUsesGte,
1181
1199
  futureOnly,
1200
+ bookableOnly,
1182
1201
  includeImages,
1183
1202
  includeVenue,
1184
1203
  includeOrders,
@@ -1264,6 +1283,10 @@ export class ScheduledSessionsService {
1264
1283
  * Gets or sets a value indicating whether to only return future scheduled session.
1265
1284
  */
1266
1285
  futureOnly?: boolean;
1286
+ /**
1287
+ * Gets or sets a value indicating whether to only return bookable scheduled sessions.
1288
+ */
1289
+ bookableOnly?: boolean;
1267
1290
  /**
1268
1291
  * Gets or sets a value indicating whether to include image detail in the results.
1269
1292
  */
@@ -1365,6 +1388,7 @@ export class ScheduledSessionsService {
1365
1388
  RemainingUsesLTE: remainingUsesLte,
1366
1389
  RemainingUsesGTE: remainingUsesGte,
1367
1390
  FutureOnly: futureOnly,
1391
+ BookableOnly: bookableOnly,
1368
1392
  IncludeImages: includeImages,
1369
1393
  IncludeVenue: includeVenue,
1370
1394
  IncludeOrders: includeOrders,
@@ -417,6 +417,7 @@ export class SessionsService {
417
417
  paymentPolicyId,
418
418
  futureOnly,
419
419
  online,
420
+ featured,
420
421
  programmeId,
421
422
  includeNextOpportunity,
422
423
  allowTemplating,
@@ -479,6 +480,10 @@ export class SessionsService {
479
480
  * Gets or sets a value indicating whether return online sessions.
480
481
  */
481
482
  online?: boolean;
483
+ /**
484
+ * Gets or sets a value indicating whether the session is featured on the storefront.
485
+ */
486
+ featured?: boolean;
482
487
  /**
483
488
  * Gets or sets the queryable Programme Id.
484
489
  */
@@ -623,6 +628,7 @@ export class SessionsService {
623
628
  PaymentPolicyId: paymentPolicyId,
624
629
  FutureOnly: futureOnly,
625
630
  Online: online,
631
+ Featured: featured,
626
632
  ProgrammeId: programmeId,
627
633
  IncludeNextOpportunity: includeNextOpportunity,
628
634
  AllowTemplating: allowTemplating,
@@ -759,6 +765,7 @@ export class SessionsService {
759
765
  paymentPolicyId,
760
766
  futureOnly,
761
767
  online,
768
+ featured,
762
769
  programmeId,
763
770
  includeNextOpportunity,
764
771
  allowTemplating,
@@ -821,6 +828,10 @@ export class SessionsService {
821
828
  * Gets or sets a value indicating whether return online sessions.
822
829
  */
823
830
  online?: boolean;
831
+ /**
832
+ * Gets or sets a value indicating whether the session is featured on the storefront.
833
+ */
834
+ featured?: boolean;
824
835
  /**
825
836
  * Gets or sets the queryable Programme Id.
826
837
  */
@@ -965,6 +976,7 @@ export class SessionsService {
965
976
  PaymentPolicyId: paymentPolicyId,
966
977
  FutureOnly: futureOnly,
967
978
  Online: online,
979
+ Featured: featured,
968
980
  ProgrammeId: programmeId,
969
981
  IncludeNextOpportunity: includeNextOpportunity,
970
982
  AllowTemplating: allowTemplating,
@@ -1020,6 +1032,7 @@ export class SessionsService {
1020
1032
  paymentPolicyId,
1021
1033
  futureOnly,
1022
1034
  online,
1035
+ featured,
1023
1036
  programmeId,
1024
1037
  includeNextOpportunity,
1025
1038
  allowTemplating,
@@ -1082,6 +1095,10 @@ export class SessionsService {
1082
1095
  * Gets or sets a value indicating whether return online sessions.
1083
1096
  */
1084
1097
  online?: boolean;
1098
+ /**
1099
+ * Gets or sets a value indicating whether the session is featured on the storefront.
1100
+ */
1101
+ featured?: boolean;
1085
1102
  /**
1086
1103
  * Gets or sets the queryable Programme Id.
1087
1104
  */
@@ -1226,6 +1243,7 @@ export class SessionsService {
1226
1243
  PaymentPolicyId: paymentPolicyId,
1227
1244
  FutureOnly: futureOnly,
1228
1245
  Online: online,
1246
+ Featured: featured,
1229
1247
  ProgrammeId: programmeId,
1230
1248
  IncludeNextOpportunity: includeNextOpportunity,
1231
1249
  AllowTemplating: allowTemplating,
@@ -1281,6 +1299,7 @@ export class SessionsService {
1281
1299
  paymentPolicyId,
1282
1300
  futureOnly,
1283
1301
  online,
1302
+ featured,
1284
1303
  programmeId,
1285
1304
  includeNextOpportunity,
1286
1305
  allowTemplating,
@@ -1343,6 +1362,10 @@ export class SessionsService {
1343
1362
  * Gets or sets a value indicating whether return online sessions.
1344
1363
  */
1345
1364
  online?: boolean;
1365
+ /**
1366
+ * Gets or sets a value indicating whether the session is featured on the storefront.
1367
+ */
1368
+ featured?: boolean;
1346
1369
  /**
1347
1370
  * Gets or sets the queryable Programme Id.
1348
1371
  */
@@ -1487,6 +1510,7 @@ export class SessionsService {
1487
1510
  PaymentPolicyId: paymentPolicyId,
1488
1511
  FutureOnly: futureOnly,
1489
1512
  Online: online,
1513
+ Featured: featured,
1490
1514
  ProgrammeId: programmeId,
1491
1515
  IncludeNextOpportunity: includeNextOpportunity,
1492
1516
  AllowTemplating: allowTemplating,