reach-api-sdk 1.0.193 → 1.0.195
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 +6816 -883
- package/dist/reach-sdk.js +4297 -225
- package/package.json +1 -1
- package/src/definition/swagger.yaml +16324 -4076
- package/src/index.ts +1 -0
- package/src/models/Course.ts +4 -0
- package/src/models/CreateDeal.ts +8 -0
- package/src/models/Deal.ts +8 -0
- package/src/models/Tenant.ts +2 -0
- package/src/models/TenantStatus.ts +12 -0
- package/src/services/ActivityPerformanceService.ts +129 -0
- package/src/services/AttendeesService.ts +111 -0
- package/src/services/BadEnglandReportService.ts +87 -0
- package/src/services/BookingService.ts +201 -0
- package/src/services/CancellationPoliciesService.ts +111 -0
- package/src/services/CourseSessionSchedulesService.ts +117 -0
- package/src/services/CourseSessionsService.ts +237 -0
- package/src/services/CoursesService.ts +273 -0
- package/src/services/CustomersService.ts +129 -0
- package/src/services/DealActivitiesService.ts +123 -0
- package/src/services/DealsService.ts +123 -0
- package/src/services/DiscountCodeUsesService.ts +105 -0
- package/src/services/EmailReminderSchedulesService.ts +117 -0
- package/src/services/EmailSettingsService.ts +117 -0
- package/src/services/FacilitiesService.ts +135 -0
- package/src/services/FacilityIndividualsService.ts +93 -0
- package/src/services/GenericActivityService.ts +346 -0
- package/src/services/ImageUploadHistoryService.ts +99 -0
- package/src/services/ImagesService.ts +147 -0
- package/src/services/LeasingService.ts +195 -0
- package/src/services/LocationsReportService.ts +105 -0
- package/src/services/NotificationQueueService.ts +99 -0
- package/src/services/NotificationSettingsService.ts +177 -0
- package/src/services/OffersService.ts +165 -0
- package/src/services/OpenactiveFeedIntermediateService.ts +93 -0
- package/src/services/OpenactiveFeedItemService.ts +99 -0
- package/src/services/OpportunityRegisterService.ts +147 -0
- package/src/services/OrderItemReportService.ts +123 -0
- package/src/services/OrderItemsService.ts +153 -24
- package/src/services/OrdersService.ts +195 -0
- package/src/services/OrgCourseUtilisationService.ts +147 -0
- package/src/services/PaymentPoliciesService.ts +111 -0
- package/src/services/PaymentsService.ts +93 -0
- package/src/services/PermissionsService.ts +87 -0
- package/src/services/PlatformPayoutsService.ts +99 -0
- package/src/services/ProgrammesService.ts +117 -0
- package/src/services/ProvidersService.ts +189 -0
- package/src/services/PublicCalendarService.ts +1 -1
- package/src/services/PublicGenericActivityService.ts +49 -0
- package/src/services/PublicOrderItemsService.ts +0 -12
- package/src/services/PublicScheduledSessionsService.ts +12 -0
- package/src/services/PublicSessionsService.ts +6 -0
- package/src/services/PublicVenuesService.ts +37 -0
- package/src/services/RecentOrderActivityReportService.ts +87 -0
- package/src/services/RegisterReportService.ts +117 -0
- package/src/services/RescheduleLogService.ts +99 -0
- package/src/services/ScheduledSessionsSchedulesService.ts +123 -0
- package/src/services/ScheduledSessionsService.ts +273 -0
- package/src/services/SessionsService.ts +273 -0
- package/src/services/SlotOffersService.ts +99 -0
- package/src/services/SlotScheduleOffersService.ts +99 -0
- package/src/services/SlotSchedulesService.ts +129 -0
- package/src/services/SlotsService.ts +207 -0
- package/src/services/StripeAccountService.ts +99 -0
- package/src/services/SurveyAnswersService.ts +129 -0
- package/src/services/SurveyCompletionLogService.ts +123 -0
- package/src/services/SurveyQuestionsService.ts +93 -0
- package/src/services/SurveyReportExtendedService.ts +105 -0
- package/src/services/SurveysService.ts +123 -0
- package/src/services/TemplateDetailsService.ts +93 -0
- package/src/services/TemplateFieldPermissionsService.ts +93 -0
- package/src/services/TemplateOffersService.ts +93 -0
- package/src/services/TemplatesService.ts +93 -0
- package/src/services/TenantWebsiteSettingsService.ts +87 -0
- package/src/services/TenantsService.ts +93 -0
- package/src/services/TotalRevenueReportService.ts +111 -0
- package/src/services/UserPermissionsService.ts +93 -0
- package/src/services/UserProgrammesService.ts +111 -0
- package/src/services/UserProvidersService.ts +111 -0
- package/src/services/UsersService.ts +123 -0
- package/src/services/VenueManagersService.ts +111 -0
- package/src/services/VenuePerformanceService.ts +129 -0
- package/src/services/VenuesReportService.ts +93 -0
- package/src/services/VenuesService.ts +262 -0
- package/src/services/WaitlistActivityReportService.ts +123 -0
- package/src/services/WaitlistActivityService.ts +123 -0
- package/src/services/WaitlistOpportunityReportService.ts +117 -0
- package/src/services/WaitlistOpportunityService.ts +117 -0
|
@@ -491,6 +491,117 @@ export class CancellationPoliciesService {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
+
/**
|
|
495
|
+
* Returns the number of results in the database given the provided search params.
|
|
496
|
+
* @returns number OK
|
|
497
|
+
* @throws ApiError
|
|
498
|
+
*/
|
|
499
|
+
public count({
|
|
500
|
+
ids,
|
|
501
|
+
name,
|
|
502
|
+
isDefault,
|
|
503
|
+
isSystem,
|
|
504
|
+
pageNumber,
|
|
505
|
+
take,
|
|
506
|
+
skip,
|
|
507
|
+
limitListRequests,
|
|
508
|
+
tenantId,
|
|
509
|
+
modifiedById,
|
|
510
|
+
modifiedByIds,
|
|
511
|
+
dateCreatedGte,
|
|
512
|
+
dateCreatedLte,
|
|
513
|
+
isLive,
|
|
514
|
+
sortOrderDirection,
|
|
515
|
+
}: {
|
|
516
|
+
/**
|
|
517
|
+
* Gets or sets the queryable cancellation policy ids.
|
|
518
|
+
*/
|
|
519
|
+
ids?: Array<string>;
|
|
520
|
+
/**
|
|
521
|
+
* Gets or sets the queryable name.
|
|
522
|
+
*/
|
|
523
|
+
name?: string;
|
|
524
|
+
/**
|
|
525
|
+
* Gets or sets the queryable IsDefault value.
|
|
526
|
+
*/
|
|
527
|
+
isDefault?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Gets or sets the queryable IsSystem value.
|
|
530
|
+
*/
|
|
531
|
+
isSystem?: boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Gets or sets the page number for paged queries.
|
|
534
|
+
*/
|
|
535
|
+
pageNumber?: number;
|
|
536
|
+
/**
|
|
537
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
538
|
+
*/
|
|
539
|
+
take?: number;
|
|
540
|
+
/**
|
|
541
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
542
|
+
*/
|
|
543
|
+
skip?: number;
|
|
544
|
+
/**
|
|
545
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
546
|
+
*/
|
|
547
|
+
limitListRequests?: boolean;
|
|
548
|
+
/**
|
|
549
|
+
* Gets or sets the Tenant Id.
|
|
550
|
+
*/
|
|
551
|
+
tenantId?: string;
|
|
552
|
+
/**
|
|
553
|
+
* Gets or sets the Modifed By Id.
|
|
554
|
+
*/
|
|
555
|
+
modifiedById?: string;
|
|
556
|
+
/**
|
|
557
|
+
* Gets or sets the Modifed By Ids.
|
|
558
|
+
*/
|
|
559
|
+
modifiedByIds?: Array<string>;
|
|
560
|
+
/**
|
|
561
|
+
* Gets or sets the Date Created greater than equal to.
|
|
562
|
+
*/
|
|
563
|
+
dateCreatedGte?: string;
|
|
564
|
+
/**
|
|
565
|
+
* Gets or sets the Date Created less than equal to.
|
|
566
|
+
*/
|
|
567
|
+
dateCreatedLte?: string;
|
|
568
|
+
/**
|
|
569
|
+
* Gets or sets the queryable only is live status.
|
|
570
|
+
*/
|
|
571
|
+
isLive?: boolean;
|
|
572
|
+
/**
|
|
573
|
+
* Gets or sets the sort order direction.
|
|
574
|
+
*/
|
|
575
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
576
|
+
}): CancelablePromise<number> {
|
|
577
|
+
return this.httpRequest.request({
|
|
578
|
+
method: 'GET',
|
|
579
|
+
url: '/api/cancellation-policies/count',
|
|
580
|
+
query: {
|
|
581
|
+
Ids: ids,
|
|
582
|
+
Name: name,
|
|
583
|
+
IsDefault: isDefault,
|
|
584
|
+
IsSystem: isSystem,
|
|
585
|
+
PageNumber: pageNumber,
|
|
586
|
+
Take: take,
|
|
587
|
+
Skip: skip,
|
|
588
|
+
LimitListRequests: limitListRequests,
|
|
589
|
+
TenantId: tenantId,
|
|
590
|
+
ModifiedById: modifiedById,
|
|
591
|
+
ModifiedByIds: modifiedByIds,
|
|
592
|
+
DateCreatedGTE: dateCreatedGte,
|
|
593
|
+
DateCreatedLTE: dateCreatedLte,
|
|
594
|
+
IsLive: isLive,
|
|
595
|
+
SortOrderDirection: sortOrderDirection,
|
|
596
|
+
},
|
|
597
|
+
errors: {
|
|
598
|
+
400: `Bad Request`,
|
|
599
|
+
422: `Unprocessable Content`,
|
|
600
|
+
500: `Internal Server Error`,
|
|
601
|
+
},
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
|
|
494
605
|
/**
|
|
495
606
|
* Gets a list of resources unpaged and without references.
|
|
496
607
|
* @returns CancellationPolicy OK
|
|
@@ -504,6 +504,123 @@ export class CourseSessionSchedulesService {
|
|
|
504
504
|
});
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
+
/**
|
|
508
|
+
* Returns the number of results in the database given the provided search params.
|
|
509
|
+
* @returns number OK
|
|
510
|
+
* @throws ApiError
|
|
511
|
+
*/
|
|
512
|
+
public count({
|
|
513
|
+
courseId,
|
|
514
|
+
courseIds,
|
|
515
|
+
lastRunDateTimeLte,
|
|
516
|
+
status,
|
|
517
|
+
statuses,
|
|
518
|
+
pageNumber,
|
|
519
|
+
take,
|
|
520
|
+
skip,
|
|
521
|
+
limitListRequests,
|
|
522
|
+
tenantId,
|
|
523
|
+
modifiedById,
|
|
524
|
+
modifiedByIds,
|
|
525
|
+
dateCreatedGte,
|
|
526
|
+
dateCreatedLte,
|
|
527
|
+
isLive,
|
|
528
|
+
sortOrderDirection,
|
|
529
|
+
}: {
|
|
530
|
+
/**
|
|
531
|
+
* Gets or sets the queryable course id.
|
|
532
|
+
*/
|
|
533
|
+
courseId?: string;
|
|
534
|
+
/**
|
|
535
|
+
* Gets or sets the queryable slot course Ids.
|
|
536
|
+
*/
|
|
537
|
+
courseIds?: Array<string>;
|
|
538
|
+
/**
|
|
539
|
+
* Gets or sets the queryable slot schedule last run date.
|
|
540
|
+
*/
|
|
541
|
+
lastRunDateTimeLte?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Gets or sets the queryable schedule status.
|
|
544
|
+
*/
|
|
545
|
+
status?: ScheduleStatus;
|
|
546
|
+
/**
|
|
547
|
+
* Gets or sets the queryable schedule statuses.
|
|
548
|
+
*/
|
|
549
|
+
statuses?: Array<ScheduleStatus>;
|
|
550
|
+
/**
|
|
551
|
+
* Gets or sets the page number for paged queries.
|
|
552
|
+
*/
|
|
553
|
+
pageNumber?: number;
|
|
554
|
+
/**
|
|
555
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
556
|
+
*/
|
|
557
|
+
take?: number;
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
560
|
+
*/
|
|
561
|
+
skip?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
564
|
+
*/
|
|
565
|
+
limitListRequests?: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Gets or sets the Tenant Id.
|
|
568
|
+
*/
|
|
569
|
+
tenantId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* Gets or sets the Modifed By Id.
|
|
572
|
+
*/
|
|
573
|
+
modifiedById?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Gets or sets the Modifed By Ids.
|
|
576
|
+
*/
|
|
577
|
+
modifiedByIds?: Array<string>;
|
|
578
|
+
/**
|
|
579
|
+
* Gets or sets the Date Created greater than equal to.
|
|
580
|
+
*/
|
|
581
|
+
dateCreatedGte?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Gets or sets the Date Created less than equal to.
|
|
584
|
+
*/
|
|
585
|
+
dateCreatedLte?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Gets or sets the queryable only is live status.
|
|
588
|
+
*/
|
|
589
|
+
isLive?: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* Gets or sets the sort order direction.
|
|
592
|
+
*/
|
|
593
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
594
|
+
}): CancelablePromise<number> {
|
|
595
|
+
return this.httpRequest.request({
|
|
596
|
+
method: 'GET',
|
|
597
|
+
url: '/api/course-session-schedules/count',
|
|
598
|
+
query: {
|
|
599
|
+
CourseId: courseId,
|
|
600
|
+
CourseIds: courseIds,
|
|
601
|
+
LastRunDateTimeLTE: lastRunDateTimeLte,
|
|
602
|
+
Status: status,
|
|
603
|
+
Statuses: statuses,
|
|
604
|
+
PageNumber: pageNumber,
|
|
605
|
+
Take: take,
|
|
606
|
+
Skip: skip,
|
|
607
|
+
LimitListRequests: limitListRequests,
|
|
608
|
+
TenantId: tenantId,
|
|
609
|
+
ModifiedById: modifiedById,
|
|
610
|
+
ModifiedByIds: modifiedByIds,
|
|
611
|
+
DateCreatedGTE: dateCreatedGte,
|
|
612
|
+
DateCreatedLTE: dateCreatedLte,
|
|
613
|
+
IsLive: isLive,
|
|
614
|
+
SortOrderDirection: sortOrderDirection,
|
|
615
|
+
},
|
|
616
|
+
errors: {
|
|
617
|
+
400: `Bad Request`,
|
|
618
|
+
422: `Unprocessable Content`,
|
|
619
|
+
500: `Internal Server Error`,
|
|
620
|
+
},
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
|
|
507
624
|
/**
|
|
508
625
|
* Gets a list of resources unpaged and without references.
|
|
509
626
|
* @returns CourseSessionSchedule OK
|
|
@@ -243,7 +243,9 @@ export class CourseSessionsService {
|
|
|
243
243
|
endDateTimeLte,
|
|
244
244
|
endDateTimeGte,
|
|
245
245
|
futureOnly,
|
|
246
|
+
bookableOnly,
|
|
246
247
|
includeVenue,
|
|
248
|
+
includeOffers,
|
|
247
249
|
excludeArchived,
|
|
248
250
|
pageNumber,
|
|
249
251
|
take,
|
|
@@ -309,10 +311,18 @@ export class CourseSessionsService {
|
|
|
309
311
|
* Gets or sets a value indicating whether to only return future course sessions.
|
|
310
312
|
*/
|
|
311
313
|
futureOnly?: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* Gets or sets a value indicating whether to only return bookable scheduled sessions.
|
|
316
|
+
*/
|
|
317
|
+
bookableOnly?: boolean;
|
|
312
318
|
/**
|
|
313
319
|
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
314
320
|
*/
|
|
315
321
|
includeVenue?: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Gets or sets a value indicating whether to include offer detail in the results.
|
|
324
|
+
*/
|
|
325
|
+
includeOffers?: boolean;
|
|
316
326
|
/**
|
|
317
327
|
* Gets or sets a value indicating whether to exclude course sessions whose courses have been archived.
|
|
318
328
|
*/
|
|
@@ -379,7 +389,9 @@ export class CourseSessionsService {
|
|
|
379
389
|
EndDateTimeLTE: endDateTimeLte,
|
|
380
390
|
EndDateTimeGTE: endDateTimeGte,
|
|
381
391
|
FutureOnly: futureOnly,
|
|
392
|
+
BookableOnly: bookableOnly,
|
|
382
393
|
IncludeVenue: includeVenue,
|
|
394
|
+
IncludeOffers: includeOffers,
|
|
383
395
|
ExcludeArchived: excludeArchived,
|
|
384
396
|
PageNumber: pageNumber,
|
|
385
397
|
Take: take,
|
|
@@ -501,7 +513,9 @@ export class CourseSessionsService {
|
|
|
501
513
|
endDateTimeLte,
|
|
502
514
|
endDateTimeGte,
|
|
503
515
|
futureOnly,
|
|
516
|
+
bookableOnly,
|
|
504
517
|
includeVenue,
|
|
518
|
+
includeOffers,
|
|
505
519
|
excludeArchived,
|
|
506
520
|
pageNumber,
|
|
507
521
|
take,
|
|
@@ -567,10 +581,18 @@ export class CourseSessionsService {
|
|
|
567
581
|
* Gets or sets a value indicating whether to only return future course sessions.
|
|
568
582
|
*/
|
|
569
583
|
futureOnly?: boolean;
|
|
584
|
+
/**
|
|
585
|
+
* Gets or sets a value indicating whether to only return bookable scheduled sessions.
|
|
586
|
+
*/
|
|
587
|
+
bookableOnly?: boolean;
|
|
570
588
|
/**
|
|
571
589
|
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
572
590
|
*/
|
|
573
591
|
includeVenue?: boolean;
|
|
592
|
+
/**
|
|
593
|
+
* Gets or sets a value indicating whether to include offer detail in the results.
|
|
594
|
+
*/
|
|
595
|
+
includeOffers?: boolean;
|
|
574
596
|
/**
|
|
575
597
|
* Gets or sets a value indicating whether to exclude course sessions whose courses have been archived.
|
|
576
598
|
*/
|
|
@@ -637,7 +659,198 @@ export class CourseSessionsService {
|
|
|
637
659
|
EndDateTimeLTE: endDateTimeLte,
|
|
638
660
|
EndDateTimeGTE: endDateTimeGte,
|
|
639
661
|
FutureOnly: futureOnly,
|
|
662
|
+
BookableOnly: bookableOnly,
|
|
640
663
|
IncludeVenue: includeVenue,
|
|
664
|
+
IncludeOffers: includeOffers,
|
|
665
|
+
ExcludeArchived: excludeArchived,
|
|
666
|
+
PageNumber: pageNumber,
|
|
667
|
+
Take: take,
|
|
668
|
+
Skip: skip,
|
|
669
|
+
LimitListRequests: limitListRequests,
|
|
670
|
+
TenantId: tenantId,
|
|
671
|
+
ModifiedById: modifiedById,
|
|
672
|
+
ModifiedByIds: modifiedByIds,
|
|
673
|
+
DateCreatedGTE: dateCreatedGte,
|
|
674
|
+
DateCreatedLTE: dateCreatedLte,
|
|
675
|
+
IsLive: isLive,
|
|
676
|
+
SortOrderDirection: sortOrderDirection,
|
|
677
|
+
},
|
|
678
|
+
errors: {
|
|
679
|
+
400: `Bad Request`,
|
|
680
|
+
422: `Unprocessable Content`,
|
|
681
|
+
500: `Internal Server Error`,
|
|
682
|
+
},
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Returns the number of results in the database given the provided search params.
|
|
688
|
+
* @returns number OK
|
|
689
|
+
* @throws ApiError
|
|
690
|
+
*/
|
|
691
|
+
public count({
|
|
692
|
+
ids,
|
|
693
|
+
venueId,
|
|
694
|
+
programmeId,
|
|
695
|
+
courseId,
|
|
696
|
+
courseIds,
|
|
697
|
+
scheduleId,
|
|
698
|
+
status,
|
|
699
|
+
statuses,
|
|
700
|
+
startDateTimeLte,
|
|
701
|
+
startDateTimeGte,
|
|
702
|
+
endDateTimeLte,
|
|
703
|
+
endDateTimeGte,
|
|
704
|
+
futureOnly,
|
|
705
|
+
bookableOnly,
|
|
706
|
+
includeVenue,
|
|
707
|
+
includeOffers,
|
|
708
|
+
excludeArchived,
|
|
709
|
+
pageNumber,
|
|
710
|
+
take,
|
|
711
|
+
skip,
|
|
712
|
+
limitListRequests,
|
|
713
|
+
tenantId,
|
|
714
|
+
modifiedById,
|
|
715
|
+
modifiedByIds,
|
|
716
|
+
dateCreatedGte,
|
|
717
|
+
dateCreatedLte,
|
|
718
|
+
isLive,
|
|
719
|
+
sortOrderDirection,
|
|
720
|
+
}: {
|
|
721
|
+
/**
|
|
722
|
+
* Gets or sets the queryable course session ids.
|
|
723
|
+
*/
|
|
724
|
+
ids?: Array<string>;
|
|
725
|
+
/**
|
|
726
|
+
* Gets or sets the queryable course session venue Id.
|
|
727
|
+
*/
|
|
728
|
+
venueId?: string;
|
|
729
|
+
/**
|
|
730
|
+
* Gets or sets the queryable course sessions programme Id.
|
|
731
|
+
*/
|
|
732
|
+
programmeId?: string;
|
|
733
|
+
/**
|
|
734
|
+
* Gets or sets the queryable course session Id.
|
|
735
|
+
*/
|
|
736
|
+
courseId?: string;
|
|
737
|
+
/**
|
|
738
|
+
* Gets or sets the queryable course session Ids.
|
|
739
|
+
*/
|
|
740
|
+
courseIds?: Array<string>;
|
|
741
|
+
/**
|
|
742
|
+
* Gets or sets the queryable course session schedule Id.
|
|
743
|
+
*/
|
|
744
|
+
scheduleId?: string;
|
|
745
|
+
/**
|
|
746
|
+
* Gets or sets the queryable course session active status.
|
|
747
|
+
*/
|
|
748
|
+
status?: SlotStatus;
|
|
749
|
+
/**
|
|
750
|
+
* Gets or sets the queryable course session active status.
|
|
751
|
+
*/
|
|
752
|
+
statuses?: Array<SlotStatus>;
|
|
753
|
+
/**
|
|
754
|
+
* Gets or sets the queryable course session start date time is less than or equal to.
|
|
755
|
+
*/
|
|
756
|
+
startDateTimeLte?: string;
|
|
757
|
+
/**
|
|
758
|
+
* Gets or sets the queryable course session start date time is greater than or equal to.
|
|
759
|
+
*/
|
|
760
|
+
startDateTimeGte?: string;
|
|
761
|
+
/**
|
|
762
|
+
* Gets or sets the queryable course session end date time is less than or equal to.
|
|
763
|
+
*/
|
|
764
|
+
endDateTimeLte?: string;
|
|
765
|
+
/**
|
|
766
|
+
* Gets or sets the queryable course session end date time is greater than or equal to.
|
|
767
|
+
*/
|
|
768
|
+
endDateTimeGte?: string;
|
|
769
|
+
/**
|
|
770
|
+
* Gets or sets a value indicating whether to only return future course sessions.
|
|
771
|
+
*/
|
|
772
|
+
futureOnly?: boolean;
|
|
773
|
+
/**
|
|
774
|
+
* Gets or sets a value indicating whether to only return bookable scheduled sessions.
|
|
775
|
+
*/
|
|
776
|
+
bookableOnly?: boolean;
|
|
777
|
+
/**
|
|
778
|
+
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
779
|
+
*/
|
|
780
|
+
includeVenue?: boolean;
|
|
781
|
+
/**
|
|
782
|
+
* Gets or sets a value indicating whether to include offer detail in the results.
|
|
783
|
+
*/
|
|
784
|
+
includeOffers?: boolean;
|
|
785
|
+
/**
|
|
786
|
+
* Gets or sets a value indicating whether to exclude course sessions whose courses have been archived.
|
|
787
|
+
*/
|
|
788
|
+
excludeArchived?: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* Gets or sets the page number for paged queries.
|
|
791
|
+
*/
|
|
792
|
+
pageNumber?: number;
|
|
793
|
+
/**
|
|
794
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
795
|
+
*/
|
|
796
|
+
take?: number;
|
|
797
|
+
/**
|
|
798
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
799
|
+
*/
|
|
800
|
+
skip?: number;
|
|
801
|
+
/**
|
|
802
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
803
|
+
*/
|
|
804
|
+
limitListRequests?: boolean;
|
|
805
|
+
/**
|
|
806
|
+
* Gets or sets the Tenant Id.
|
|
807
|
+
*/
|
|
808
|
+
tenantId?: string;
|
|
809
|
+
/**
|
|
810
|
+
* Gets or sets the Modifed By Id.
|
|
811
|
+
*/
|
|
812
|
+
modifiedById?: string;
|
|
813
|
+
/**
|
|
814
|
+
* Gets or sets the Modifed By Ids.
|
|
815
|
+
*/
|
|
816
|
+
modifiedByIds?: Array<string>;
|
|
817
|
+
/**
|
|
818
|
+
* Gets or sets the Date Created greater than equal to.
|
|
819
|
+
*/
|
|
820
|
+
dateCreatedGte?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Gets or sets the Date Created less than equal to.
|
|
823
|
+
*/
|
|
824
|
+
dateCreatedLte?: string;
|
|
825
|
+
/**
|
|
826
|
+
* Gets or sets the queryable only is live status.
|
|
827
|
+
*/
|
|
828
|
+
isLive?: boolean;
|
|
829
|
+
/**
|
|
830
|
+
* Gets or sets the sort order direction.
|
|
831
|
+
*/
|
|
832
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
833
|
+
}): CancelablePromise<number> {
|
|
834
|
+
return this.httpRequest.request({
|
|
835
|
+
method: 'GET',
|
|
836
|
+
url: '/api/course-sessions/count',
|
|
837
|
+
query: {
|
|
838
|
+
Ids: ids,
|
|
839
|
+
VenueId: venueId,
|
|
840
|
+
ProgrammeId: programmeId,
|
|
841
|
+
CourseId: courseId,
|
|
842
|
+
CourseIds: courseIds,
|
|
843
|
+
ScheduleId: scheduleId,
|
|
844
|
+
Status: status,
|
|
845
|
+
Statuses: statuses,
|
|
846
|
+
StartDateTimeLTE: startDateTimeLte,
|
|
847
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
848
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
849
|
+
EndDateTimeGTE: endDateTimeGte,
|
|
850
|
+
FutureOnly: futureOnly,
|
|
851
|
+
BookableOnly: bookableOnly,
|
|
852
|
+
IncludeVenue: includeVenue,
|
|
853
|
+
IncludeOffers: includeOffers,
|
|
641
854
|
ExcludeArchived: excludeArchived,
|
|
642
855
|
PageNumber: pageNumber,
|
|
643
856
|
Take: take,
|
|
@@ -678,7 +891,9 @@ export class CourseSessionsService {
|
|
|
678
891
|
endDateTimeLte,
|
|
679
892
|
endDateTimeGte,
|
|
680
893
|
futureOnly,
|
|
894
|
+
bookableOnly,
|
|
681
895
|
includeVenue,
|
|
896
|
+
includeOffers,
|
|
682
897
|
excludeArchived,
|
|
683
898
|
pageNumber,
|
|
684
899
|
take,
|
|
@@ -744,10 +959,18 @@ export class CourseSessionsService {
|
|
|
744
959
|
* Gets or sets a value indicating whether to only return future course sessions.
|
|
745
960
|
*/
|
|
746
961
|
futureOnly?: boolean;
|
|
962
|
+
/**
|
|
963
|
+
* Gets or sets a value indicating whether to only return bookable scheduled sessions.
|
|
964
|
+
*/
|
|
965
|
+
bookableOnly?: boolean;
|
|
747
966
|
/**
|
|
748
967
|
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
749
968
|
*/
|
|
750
969
|
includeVenue?: boolean;
|
|
970
|
+
/**
|
|
971
|
+
* Gets or sets a value indicating whether to include offer detail in the results.
|
|
972
|
+
*/
|
|
973
|
+
includeOffers?: boolean;
|
|
751
974
|
/**
|
|
752
975
|
* Gets or sets a value indicating whether to exclude course sessions whose courses have been archived.
|
|
753
976
|
*/
|
|
@@ -814,7 +1037,9 @@ export class CourseSessionsService {
|
|
|
814
1037
|
EndDateTimeLTE: endDateTimeLte,
|
|
815
1038
|
EndDateTimeGTE: endDateTimeGte,
|
|
816
1039
|
FutureOnly: futureOnly,
|
|
1040
|
+
BookableOnly: bookableOnly,
|
|
817
1041
|
IncludeVenue: includeVenue,
|
|
1042
|
+
IncludeOffers: includeOffers,
|
|
818
1043
|
ExcludeArchived: excludeArchived,
|
|
819
1044
|
PageNumber: pageNumber,
|
|
820
1045
|
Take: take,
|
|
@@ -855,7 +1080,9 @@ export class CourseSessionsService {
|
|
|
855
1080
|
endDateTimeLte,
|
|
856
1081
|
endDateTimeGte,
|
|
857
1082
|
futureOnly,
|
|
1083
|
+
bookableOnly,
|
|
858
1084
|
includeVenue,
|
|
1085
|
+
includeOffers,
|
|
859
1086
|
excludeArchived,
|
|
860
1087
|
pageNumber,
|
|
861
1088
|
take,
|
|
@@ -921,10 +1148,18 @@ export class CourseSessionsService {
|
|
|
921
1148
|
* Gets or sets a value indicating whether to only return future course sessions.
|
|
922
1149
|
*/
|
|
923
1150
|
futureOnly?: boolean;
|
|
1151
|
+
/**
|
|
1152
|
+
* Gets or sets a value indicating whether to only return bookable scheduled sessions.
|
|
1153
|
+
*/
|
|
1154
|
+
bookableOnly?: boolean;
|
|
924
1155
|
/**
|
|
925
1156
|
* Gets or sets a value indicating whether to include venue detail in the results.
|
|
926
1157
|
*/
|
|
927
1158
|
includeVenue?: boolean;
|
|
1159
|
+
/**
|
|
1160
|
+
* Gets or sets a value indicating whether to include offer detail in the results.
|
|
1161
|
+
*/
|
|
1162
|
+
includeOffers?: boolean;
|
|
928
1163
|
/**
|
|
929
1164
|
* Gets or sets a value indicating whether to exclude course sessions whose courses have been archived.
|
|
930
1165
|
*/
|
|
@@ -991,7 +1226,9 @@ export class CourseSessionsService {
|
|
|
991
1226
|
EndDateTimeLTE: endDateTimeLte,
|
|
992
1227
|
EndDateTimeGTE: endDateTimeGte,
|
|
993
1228
|
FutureOnly: futureOnly,
|
|
1229
|
+
BookableOnly: bookableOnly,
|
|
994
1230
|
IncludeVenue: includeVenue,
|
|
1231
|
+
IncludeOffers: includeOffers,
|
|
995
1232
|
ExcludeArchived: excludeArchived,
|
|
996
1233
|
PageNumber: pageNumber,
|
|
997
1234
|
Take: take,
|