reach-api-sdk 1.0.194 → 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 +6676 -871
- package/dist/reach-sdk.js +4290 -272
- package/package.json +1 -1
- package/src/definition/swagger.yaml +16349 -4310
- package/src/index.ts +1 -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 +213 -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 +316 -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/PublicGenericActivityService.ts +25 -0
- package/src/services/PublicOrderItemsService.ts +0 -12
- package/src/services/PublicVenuesService.ts +19 -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 +249 -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 +238 -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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
6
|
+
import type { TenantStatus } from '../models/TenantStatus';
|
|
6
7
|
import type { Venue } from '../models/Venue';
|
|
7
8
|
import type { VenueCreate } from '../models/VenueCreate';
|
|
8
9
|
import type { VenuePage } from '../models/VenuePage';
|
|
@@ -375,6 +376,7 @@ export class VenuesService {
|
|
|
375
376
|
publishedOnWeb,
|
|
376
377
|
archived,
|
|
377
378
|
networkId,
|
|
379
|
+
tenantStatus,
|
|
378
380
|
programmeId,
|
|
379
381
|
includeOpportunityImages,
|
|
380
382
|
includeOpportunityOffers,
|
|
@@ -446,6 +448,10 @@ export class VenuesService {
|
|
|
446
448
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
447
449
|
*/
|
|
448
450
|
networkId?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
453
|
+
*/
|
|
454
|
+
tenantStatus?: TenantStatus;
|
|
449
455
|
/**
|
|
450
456
|
* Gets or sets the queryable programme Id.
|
|
451
457
|
*/
|
|
@@ -536,6 +542,7 @@ export class VenuesService {
|
|
|
536
542
|
PublishedOnWeb: publishedOnWeb,
|
|
537
543
|
Archived: archived,
|
|
538
544
|
NetworkId: networkId,
|
|
545
|
+
TenantStatus: tenantStatus,
|
|
539
546
|
ProgrammeId: programmeId,
|
|
540
547
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
541
548
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -663,6 +670,7 @@ export class VenuesService {
|
|
|
663
670
|
publishedOnWeb,
|
|
664
671
|
archived,
|
|
665
672
|
networkId,
|
|
673
|
+
tenantStatus,
|
|
666
674
|
programmeId,
|
|
667
675
|
includeOpportunityImages,
|
|
668
676
|
includeOpportunityOffers,
|
|
@@ -734,6 +742,10 @@ export class VenuesService {
|
|
|
734
742
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
735
743
|
*/
|
|
736
744
|
networkId?: string;
|
|
745
|
+
/**
|
|
746
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
747
|
+
*/
|
|
748
|
+
tenantStatus?: TenantStatus;
|
|
737
749
|
/**
|
|
738
750
|
* Gets or sets the queryable programme Id.
|
|
739
751
|
*/
|
|
@@ -824,6 +836,220 @@ export class VenuesService {
|
|
|
824
836
|
PublishedOnWeb: publishedOnWeb,
|
|
825
837
|
Archived: archived,
|
|
826
838
|
NetworkId: networkId,
|
|
839
|
+
TenantStatus: tenantStatus,
|
|
840
|
+
ProgrammeId: programmeId,
|
|
841
|
+
IncludeOpportunityImages: includeOpportunityImages,
|
|
842
|
+
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
843
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
844
|
+
Distance: distance,
|
|
845
|
+
DashboardRequest: dashboardRequest,
|
|
846
|
+
ProgrammeIds: programmeIds,
|
|
847
|
+
PageNumber: pageNumber,
|
|
848
|
+
Take: take,
|
|
849
|
+
Skip: skip,
|
|
850
|
+
LimitListRequests: limitListRequests,
|
|
851
|
+
TenantId: tenantId,
|
|
852
|
+
ModifiedById: modifiedById,
|
|
853
|
+
ModifiedByIds: modifiedByIds,
|
|
854
|
+
DateCreatedGTE: dateCreatedGte,
|
|
855
|
+
DateCreatedLTE: dateCreatedLte,
|
|
856
|
+
IsLive: isLive,
|
|
857
|
+
SortOrderDirection: sortOrderDirection,
|
|
858
|
+
},
|
|
859
|
+
errors: {
|
|
860
|
+
400: `Bad Request`,
|
|
861
|
+
422: `Unprocessable Content`,
|
|
862
|
+
500: `Internal Server Error`,
|
|
863
|
+
},
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Returns the number of results in the database given the provided search params.
|
|
869
|
+
* @returns number OK
|
|
870
|
+
* @throws ApiError
|
|
871
|
+
*/
|
|
872
|
+
public count({
|
|
873
|
+
ids,
|
|
874
|
+
wildcard,
|
|
875
|
+
name,
|
|
876
|
+
streetAddress,
|
|
877
|
+
addressPostalcode,
|
|
878
|
+
nameLike,
|
|
879
|
+
slug,
|
|
880
|
+
assignedTo,
|
|
881
|
+
stripeAccountId,
|
|
882
|
+
searchGeoCenter,
|
|
883
|
+
publishedOnWeb,
|
|
884
|
+
archived,
|
|
885
|
+
networkId,
|
|
886
|
+
tenantStatus,
|
|
887
|
+
programmeId,
|
|
888
|
+
includeOpportunityImages,
|
|
889
|
+
includeOpportunityOffers,
|
|
890
|
+
includeNextOpportunity,
|
|
891
|
+
distance,
|
|
892
|
+
dashboardRequest,
|
|
893
|
+
programmeIds,
|
|
894
|
+
pageNumber,
|
|
895
|
+
take,
|
|
896
|
+
skip,
|
|
897
|
+
limitListRequests,
|
|
898
|
+
tenantId,
|
|
899
|
+
modifiedById,
|
|
900
|
+
modifiedByIds,
|
|
901
|
+
dateCreatedGte,
|
|
902
|
+
dateCreatedLte,
|
|
903
|
+
isLive,
|
|
904
|
+
sortOrderDirection,
|
|
905
|
+
}: {
|
|
906
|
+
/**
|
|
907
|
+
* Gets or sets the queryable venue ids.
|
|
908
|
+
*/
|
|
909
|
+
ids?: Array<string>;
|
|
910
|
+
/**
|
|
911
|
+
* Gets or sets the queryable venue name wildcard.
|
|
912
|
+
*/
|
|
913
|
+
wildcard?: string;
|
|
914
|
+
/**
|
|
915
|
+
* Gets or sets the queryable venue name.
|
|
916
|
+
*/
|
|
917
|
+
name?: string;
|
|
918
|
+
/**
|
|
919
|
+
* Gets or sets the queryable venue street address.
|
|
920
|
+
*/
|
|
921
|
+
streetAddress?: string;
|
|
922
|
+
/**
|
|
923
|
+
* Gets or sets the queryable venue address postal code.
|
|
924
|
+
*/
|
|
925
|
+
addressPostalcode?: string;
|
|
926
|
+
/**
|
|
927
|
+
* Gets or sets the queryable venue name wildcard.
|
|
928
|
+
*/
|
|
929
|
+
nameLike?: string;
|
|
930
|
+
/**
|
|
931
|
+
* Gets or sets the queryable venue url slug.
|
|
932
|
+
*/
|
|
933
|
+
slug?: string;
|
|
934
|
+
/**
|
|
935
|
+
* Gets or sets the queryable assign to Id.
|
|
936
|
+
*/
|
|
937
|
+
assignedTo?: string;
|
|
938
|
+
/**
|
|
939
|
+
* Gets or sets the queryable stripe account Id.
|
|
940
|
+
*/
|
|
941
|
+
stripeAccountId?: string;
|
|
942
|
+
/**
|
|
943
|
+
* Gets or sets the queryable search geo center.
|
|
944
|
+
*/
|
|
945
|
+
searchGeoCenter?: string;
|
|
946
|
+
/**
|
|
947
|
+
* Gets or sets a value indicating whether to show published venues.
|
|
948
|
+
*/
|
|
949
|
+
publishedOnWeb?: boolean;
|
|
950
|
+
/**
|
|
951
|
+
* Gets or sets a value indicating whether to include archived venues.
|
|
952
|
+
*/
|
|
953
|
+
archived?: boolean;
|
|
954
|
+
/**
|
|
955
|
+
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
956
|
+
*/
|
|
957
|
+
networkId?: string;
|
|
958
|
+
/**
|
|
959
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
960
|
+
*/
|
|
961
|
+
tenantStatus?: TenantStatus;
|
|
962
|
+
/**
|
|
963
|
+
* Gets or sets the queryable programme Id.
|
|
964
|
+
*/
|
|
965
|
+
programmeId?: string;
|
|
966
|
+
/**
|
|
967
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity images.
|
|
968
|
+
*/
|
|
969
|
+
includeOpportunityImages?: boolean;
|
|
970
|
+
/**
|
|
971
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity offers.
|
|
972
|
+
*/
|
|
973
|
+
includeOpportunityOffers?: boolean;
|
|
974
|
+
/**
|
|
975
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity next availability.
|
|
976
|
+
*/
|
|
977
|
+
includeNextOpportunity?: boolean;
|
|
978
|
+
/**
|
|
979
|
+
* Gets or sets Distance.
|
|
980
|
+
*/
|
|
981
|
+
distance?: number;
|
|
982
|
+
/**
|
|
983
|
+
* Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
984
|
+
*/
|
|
985
|
+
dashboardRequest?: boolean;
|
|
986
|
+
/**
|
|
987
|
+
* Gets or sets the programme ids.
|
|
988
|
+
*/
|
|
989
|
+
programmeIds?: Array<string>;
|
|
990
|
+
/**
|
|
991
|
+
* Gets or sets the page number for paged queries.
|
|
992
|
+
*/
|
|
993
|
+
pageNumber?: number;
|
|
994
|
+
/**
|
|
995
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
996
|
+
*/
|
|
997
|
+
take?: number;
|
|
998
|
+
/**
|
|
999
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
1000
|
+
*/
|
|
1001
|
+
skip?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
1004
|
+
*/
|
|
1005
|
+
limitListRequests?: boolean;
|
|
1006
|
+
/**
|
|
1007
|
+
* Gets or sets the Tenant Id.
|
|
1008
|
+
*/
|
|
1009
|
+
tenantId?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Gets or sets the Modifed By Id.
|
|
1012
|
+
*/
|
|
1013
|
+
modifiedById?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Gets or sets the Modifed By Ids.
|
|
1016
|
+
*/
|
|
1017
|
+
modifiedByIds?: Array<string>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Gets or sets the Date Created greater than equal to.
|
|
1020
|
+
*/
|
|
1021
|
+
dateCreatedGte?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Gets or sets the Date Created less than equal to.
|
|
1024
|
+
*/
|
|
1025
|
+
dateCreatedLte?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Gets or sets the queryable only is live status.
|
|
1028
|
+
*/
|
|
1029
|
+
isLive?: boolean;
|
|
1030
|
+
/**
|
|
1031
|
+
* Gets or sets the sort order direction.
|
|
1032
|
+
*/
|
|
1033
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
1034
|
+
}): CancelablePromise<number> {
|
|
1035
|
+
return this.httpRequest.request({
|
|
1036
|
+
method: 'GET',
|
|
1037
|
+
url: '/api/venues/count',
|
|
1038
|
+
query: {
|
|
1039
|
+
Ids: ids,
|
|
1040
|
+
Wildcard: wildcard,
|
|
1041
|
+
Name: name,
|
|
1042
|
+
StreetAddress: streetAddress,
|
|
1043
|
+
AddressPostalcode: addressPostalcode,
|
|
1044
|
+
NameLike: nameLike,
|
|
1045
|
+
Slug: slug,
|
|
1046
|
+
AssignedTo: assignedTo,
|
|
1047
|
+
StripeAccountId: stripeAccountId,
|
|
1048
|
+
SearchGeoCenter: searchGeoCenter,
|
|
1049
|
+
PublishedOnWeb: publishedOnWeb,
|
|
1050
|
+
Archived: archived,
|
|
1051
|
+
NetworkId: networkId,
|
|
1052
|
+
TenantStatus: tenantStatus,
|
|
827
1053
|
ProgrammeId: programmeId,
|
|
828
1054
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
829
1055
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -870,6 +1096,7 @@ export class VenuesService {
|
|
|
870
1096
|
publishedOnWeb,
|
|
871
1097
|
archived,
|
|
872
1098
|
networkId,
|
|
1099
|
+
tenantStatus,
|
|
873
1100
|
programmeId,
|
|
874
1101
|
includeOpportunityImages,
|
|
875
1102
|
includeOpportunityOffers,
|
|
@@ -941,6 +1168,10 @@ export class VenuesService {
|
|
|
941
1168
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
942
1169
|
*/
|
|
943
1170
|
networkId?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1173
|
+
*/
|
|
1174
|
+
tenantStatus?: TenantStatus;
|
|
944
1175
|
/**
|
|
945
1176
|
* Gets or sets the queryable programme Id.
|
|
946
1177
|
*/
|
|
@@ -1031,6 +1262,7 @@ export class VenuesService {
|
|
|
1031
1262
|
PublishedOnWeb: publishedOnWeb,
|
|
1032
1263
|
Archived: archived,
|
|
1033
1264
|
NetworkId: networkId,
|
|
1265
|
+
TenantStatus: tenantStatus,
|
|
1034
1266
|
ProgrammeId: programmeId,
|
|
1035
1267
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
1036
1268
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -1077,6 +1309,7 @@ export class VenuesService {
|
|
|
1077
1309
|
publishedOnWeb,
|
|
1078
1310
|
archived,
|
|
1079
1311
|
networkId,
|
|
1312
|
+
tenantStatus,
|
|
1080
1313
|
programmeId,
|
|
1081
1314
|
includeOpportunityImages,
|
|
1082
1315
|
includeOpportunityOffers,
|
|
@@ -1148,6 +1381,10 @@ export class VenuesService {
|
|
|
1148
1381
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
1149
1382
|
*/
|
|
1150
1383
|
networkId?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1386
|
+
*/
|
|
1387
|
+
tenantStatus?: TenantStatus;
|
|
1151
1388
|
/**
|
|
1152
1389
|
* Gets or sets the queryable programme Id.
|
|
1153
1390
|
*/
|
|
@@ -1238,6 +1475,7 @@ export class VenuesService {
|
|
|
1238
1475
|
PublishedOnWeb: publishedOnWeb,
|
|
1239
1476
|
Archived: archived,
|
|
1240
1477
|
NetworkId: networkId,
|
|
1478
|
+
TenantStatus: tenantStatus,
|
|
1241
1479
|
ProgrammeId: programmeId,
|
|
1242
1480
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
1243
1481
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -604,6 +604,129 @@ export class WaitlistActivityReportService {
|
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
+
/**
|
|
608
|
+
* Returns the number of results in the database given the provided search params.
|
|
609
|
+
* @returns number OK
|
|
610
|
+
* @throws ApiError
|
|
611
|
+
*/
|
|
612
|
+
public count({
|
|
613
|
+
userId,
|
|
614
|
+
sessionId,
|
|
615
|
+
sessionIds,
|
|
616
|
+
courseId,
|
|
617
|
+
courseIds,
|
|
618
|
+
email,
|
|
619
|
+
pageNumber,
|
|
620
|
+
take,
|
|
621
|
+
skip,
|
|
622
|
+
limitListRequests,
|
|
623
|
+
tenantId,
|
|
624
|
+
modifiedById,
|
|
625
|
+
modifiedByIds,
|
|
626
|
+
dateCreatedGte,
|
|
627
|
+
dateCreatedLte,
|
|
628
|
+
isLive,
|
|
629
|
+
sortOrderDirection,
|
|
630
|
+
}: {
|
|
631
|
+
/**
|
|
632
|
+
* Gets or sets the queryable User Id.
|
|
633
|
+
*/
|
|
634
|
+
userId?: string;
|
|
635
|
+
/**
|
|
636
|
+
* Gets or sets the queryable Session Id.
|
|
637
|
+
*/
|
|
638
|
+
sessionId?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Gets or sets the queryable session ids.
|
|
641
|
+
*/
|
|
642
|
+
sessionIds?: Array<string>;
|
|
643
|
+
/**
|
|
644
|
+
* Gets or sets the queryable Course Id.
|
|
645
|
+
*/
|
|
646
|
+
courseId?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Gets or sets the queryable session ids.
|
|
649
|
+
*/
|
|
650
|
+
courseIds?: Array<string>;
|
|
651
|
+
/**
|
|
652
|
+
* Gets or sets the queryable Email.
|
|
653
|
+
*/
|
|
654
|
+
email?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Gets or sets the page number for paged queries.
|
|
657
|
+
*/
|
|
658
|
+
pageNumber?: number;
|
|
659
|
+
/**
|
|
660
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
661
|
+
*/
|
|
662
|
+
take?: number;
|
|
663
|
+
/**
|
|
664
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
665
|
+
*/
|
|
666
|
+
skip?: number;
|
|
667
|
+
/**
|
|
668
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
669
|
+
*/
|
|
670
|
+
limitListRequests?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* Gets or sets the Tenant Id.
|
|
673
|
+
*/
|
|
674
|
+
tenantId?: string;
|
|
675
|
+
/**
|
|
676
|
+
* Gets or sets the Modifed By Id.
|
|
677
|
+
*/
|
|
678
|
+
modifiedById?: string;
|
|
679
|
+
/**
|
|
680
|
+
* Gets or sets the Modifed By Ids.
|
|
681
|
+
*/
|
|
682
|
+
modifiedByIds?: Array<string>;
|
|
683
|
+
/**
|
|
684
|
+
* Gets or sets the Date Created greater than equal to.
|
|
685
|
+
*/
|
|
686
|
+
dateCreatedGte?: string;
|
|
687
|
+
/**
|
|
688
|
+
* Gets or sets the Date Created less than equal to.
|
|
689
|
+
*/
|
|
690
|
+
dateCreatedLte?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Gets or sets the queryable only is live status.
|
|
693
|
+
*/
|
|
694
|
+
isLive?: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* Gets or sets the sort order direction.
|
|
697
|
+
*/
|
|
698
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
699
|
+
}): CancelablePromise<number> {
|
|
700
|
+
return this.httpRequest.request({
|
|
701
|
+
method: 'GET',
|
|
702
|
+
url: '/api/waitlist-activity-report/count',
|
|
703
|
+
query: {
|
|
704
|
+
UserId: userId,
|
|
705
|
+
SessionId: sessionId,
|
|
706
|
+
SessionIds: sessionIds,
|
|
707
|
+
CourseId: courseId,
|
|
708
|
+
CourseIds: courseIds,
|
|
709
|
+
Email: email,
|
|
710
|
+
PageNumber: pageNumber,
|
|
711
|
+
Take: take,
|
|
712
|
+
Skip: skip,
|
|
713
|
+
LimitListRequests: limitListRequests,
|
|
714
|
+
TenantId: tenantId,
|
|
715
|
+
ModifiedById: modifiedById,
|
|
716
|
+
ModifiedByIds: modifiedByIds,
|
|
717
|
+
DateCreatedGTE: dateCreatedGte,
|
|
718
|
+
DateCreatedLTE: dateCreatedLte,
|
|
719
|
+
IsLive: isLive,
|
|
720
|
+
SortOrderDirection: sortOrderDirection,
|
|
721
|
+
},
|
|
722
|
+
errors: {
|
|
723
|
+
400: `Bad Request`,
|
|
724
|
+
422: `Unprocessable Content`,
|
|
725
|
+
500: `Internal Server Error`,
|
|
726
|
+
},
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
|
|
607
730
|
/**
|
|
608
731
|
* Gets a list of resources unpaged and without references.
|
|
609
732
|
* @returns WaitlistActivityReport OK
|
|
@@ -471,6 +471,129 @@ export class WaitlistActivityService {
|
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Returns the number of results in the database given the provided search params.
|
|
476
|
+
* @returns number OK
|
|
477
|
+
* @throws ApiError
|
|
478
|
+
*/
|
|
479
|
+
public count({
|
|
480
|
+
userId,
|
|
481
|
+
sessionId,
|
|
482
|
+
sessionIds,
|
|
483
|
+
courseId,
|
|
484
|
+
courseIds,
|
|
485
|
+
email,
|
|
486
|
+
pageNumber,
|
|
487
|
+
take,
|
|
488
|
+
skip,
|
|
489
|
+
limitListRequests,
|
|
490
|
+
tenantId,
|
|
491
|
+
modifiedById,
|
|
492
|
+
modifiedByIds,
|
|
493
|
+
dateCreatedGte,
|
|
494
|
+
dateCreatedLte,
|
|
495
|
+
isLive,
|
|
496
|
+
sortOrderDirection,
|
|
497
|
+
}: {
|
|
498
|
+
/**
|
|
499
|
+
* Gets or sets the queryable User Id.
|
|
500
|
+
*/
|
|
501
|
+
userId?: string;
|
|
502
|
+
/**
|
|
503
|
+
* Gets or sets the queryable Session Id.
|
|
504
|
+
*/
|
|
505
|
+
sessionId?: string;
|
|
506
|
+
/**
|
|
507
|
+
* Gets or sets the queryable session ids.
|
|
508
|
+
*/
|
|
509
|
+
sessionIds?: Array<string>;
|
|
510
|
+
/**
|
|
511
|
+
* Gets or sets the queryable Course Id.
|
|
512
|
+
*/
|
|
513
|
+
courseId?: string;
|
|
514
|
+
/**
|
|
515
|
+
* Gets or sets the queryable session ids.
|
|
516
|
+
*/
|
|
517
|
+
courseIds?: Array<string>;
|
|
518
|
+
/**
|
|
519
|
+
* Gets or sets the queryable Email.
|
|
520
|
+
*/
|
|
521
|
+
email?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Gets or sets the page number for paged queries.
|
|
524
|
+
*/
|
|
525
|
+
pageNumber?: number;
|
|
526
|
+
/**
|
|
527
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
528
|
+
*/
|
|
529
|
+
take?: number;
|
|
530
|
+
/**
|
|
531
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
532
|
+
*/
|
|
533
|
+
skip?: number;
|
|
534
|
+
/**
|
|
535
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
536
|
+
*/
|
|
537
|
+
limitListRequests?: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Gets or sets the Tenant Id.
|
|
540
|
+
*/
|
|
541
|
+
tenantId?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Gets or sets the Modifed By Id.
|
|
544
|
+
*/
|
|
545
|
+
modifiedById?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Gets or sets the Modifed By Ids.
|
|
548
|
+
*/
|
|
549
|
+
modifiedByIds?: Array<string>;
|
|
550
|
+
/**
|
|
551
|
+
* Gets or sets the Date Created greater than equal to.
|
|
552
|
+
*/
|
|
553
|
+
dateCreatedGte?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Gets or sets the Date Created less than equal to.
|
|
556
|
+
*/
|
|
557
|
+
dateCreatedLte?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets the queryable only is live status.
|
|
560
|
+
*/
|
|
561
|
+
isLive?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Gets or sets the sort order direction.
|
|
564
|
+
*/
|
|
565
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
566
|
+
}): CancelablePromise<number> {
|
|
567
|
+
return this.httpRequest.request({
|
|
568
|
+
method: 'GET',
|
|
569
|
+
url: '/api/waitlist-activity/count',
|
|
570
|
+
query: {
|
|
571
|
+
UserId: userId,
|
|
572
|
+
SessionId: sessionId,
|
|
573
|
+
SessionIds: sessionIds,
|
|
574
|
+
CourseId: courseId,
|
|
575
|
+
CourseIds: courseIds,
|
|
576
|
+
Email: email,
|
|
577
|
+
PageNumber: pageNumber,
|
|
578
|
+
Take: take,
|
|
579
|
+
Skip: skip,
|
|
580
|
+
LimitListRequests: limitListRequests,
|
|
581
|
+
TenantId: tenantId,
|
|
582
|
+
ModifiedById: modifiedById,
|
|
583
|
+
ModifiedByIds: modifiedByIds,
|
|
584
|
+
DateCreatedGTE: dateCreatedGte,
|
|
585
|
+
DateCreatedLTE: dateCreatedLte,
|
|
586
|
+
IsLive: isLive,
|
|
587
|
+
SortOrderDirection: sortOrderDirection,
|
|
588
|
+
},
|
|
589
|
+
errors: {
|
|
590
|
+
400: `Bad Request`,
|
|
591
|
+
422: `Unprocessable Content`,
|
|
592
|
+
500: `Internal Server Error`,
|
|
593
|
+
},
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
|
|
474
597
|
/**
|
|
475
598
|
* Gets a list of resources unpaged and without references.
|
|
476
599
|
* @returns WaitlistActivity OK
|
|
@@ -586,6 +586,123 @@ export class WaitlistOpportunityReportService {
|
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Returns the number of results in the database given the provided search params.
|
|
591
|
+
* @returns number OK
|
|
592
|
+
* @throws ApiError
|
|
593
|
+
*/
|
|
594
|
+
public count({
|
|
595
|
+
userId,
|
|
596
|
+
slotId,
|
|
597
|
+
scheduledSessionId,
|
|
598
|
+
courseId,
|
|
599
|
+
email,
|
|
600
|
+
pageNumber,
|
|
601
|
+
take,
|
|
602
|
+
skip,
|
|
603
|
+
limitListRequests,
|
|
604
|
+
tenantId,
|
|
605
|
+
modifiedById,
|
|
606
|
+
modifiedByIds,
|
|
607
|
+
dateCreatedGte,
|
|
608
|
+
dateCreatedLte,
|
|
609
|
+
isLive,
|
|
610
|
+
sortOrderDirection,
|
|
611
|
+
}: {
|
|
612
|
+
/**
|
|
613
|
+
* Gets or sets the queryable User Id.
|
|
614
|
+
*/
|
|
615
|
+
userId?: string;
|
|
616
|
+
/**
|
|
617
|
+
* Gets or sets the queryable Slot Id.
|
|
618
|
+
*/
|
|
619
|
+
slotId?: string;
|
|
620
|
+
/**
|
|
621
|
+
* Gets or sets the queryable Scheduled Session Id.
|
|
622
|
+
*/
|
|
623
|
+
scheduledSessionId?: string;
|
|
624
|
+
/**
|
|
625
|
+
* Gets or sets the queryable Course Id.
|
|
626
|
+
*/
|
|
627
|
+
courseId?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Gets or sets the queryable Email.
|
|
630
|
+
*/
|
|
631
|
+
email?: string;
|
|
632
|
+
/**
|
|
633
|
+
* Gets or sets the page number for paged queries.
|
|
634
|
+
*/
|
|
635
|
+
pageNumber?: number;
|
|
636
|
+
/**
|
|
637
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
638
|
+
*/
|
|
639
|
+
take?: number;
|
|
640
|
+
/**
|
|
641
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
642
|
+
*/
|
|
643
|
+
skip?: number;
|
|
644
|
+
/**
|
|
645
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
646
|
+
*/
|
|
647
|
+
limitListRequests?: boolean;
|
|
648
|
+
/**
|
|
649
|
+
* Gets or sets the Tenant Id.
|
|
650
|
+
*/
|
|
651
|
+
tenantId?: string;
|
|
652
|
+
/**
|
|
653
|
+
* Gets or sets the Modifed By Id.
|
|
654
|
+
*/
|
|
655
|
+
modifiedById?: string;
|
|
656
|
+
/**
|
|
657
|
+
* Gets or sets the Modifed By Ids.
|
|
658
|
+
*/
|
|
659
|
+
modifiedByIds?: Array<string>;
|
|
660
|
+
/**
|
|
661
|
+
* Gets or sets the Date Created greater than equal to.
|
|
662
|
+
*/
|
|
663
|
+
dateCreatedGte?: string;
|
|
664
|
+
/**
|
|
665
|
+
* Gets or sets the Date Created less than equal to.
|
|
666
|
+
*/
|
|
667
|
+
dateCreatedLte?: string;
|
|
668
|
+
/**
|
|
669
|
+
* Gets or sets the queryable only is live status.
|
|
670
|
+
*/
|
|
671
|
+
isLive?: boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Gets or sets the sort order direction.
|
|
674
|
+
*/
|
|
675
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
676
|
+
}): CancelablePromise<number> {
|
|
677
|
+
return this.httpRequest.request({
|
|
678
|
+
method: 'GET',
|
|
679
|
+
url: '/api/waitlist-opportunity-report/count',
|
|
680
|
+
query: {
|
|
681
|
+
UserId: userId,
|
|
682
|
+
SlotId: slotId,
|
|
683
|
+
ScheduledSessionId: scheduledSessionId,
|
|
684
|
+
CourseId: courseId,
|
|
685
|
+
Email: email,
|
|
686
|
+
PageNumber: pageNumber,
|
|
687
|
+
Take: take,
|
|
688
|
+
Skip: skip,
|
|
689
|
+
LimitListRequests: limitListRequests,
|
|
690
|
+
TenantId: tenantId,
|
|
691
|
+
ModifiedById: modifiedById,
|
|
692
|
+
ModifiedByIds: modifiedByIds,
|
|
693
|
+
DateCreatedGTE: dateCreatedGte,
|
|
694
|
+
DateCreatedLTE: dateCreatedLte,
|
|
695
|
+
IsLive: isLive,
|
|
696
|
+
SortOrderDirection: sortOrderDirection,
|
|
697
|
+
},
|
|
698
|
+
errors: {
|
|
699
|
+
400: `Bad Request`,
|
|
700
|
+
422: `Unprocessable Content`,
|
|
701
|
+
500: `Internal Server Error`,
|
|
702
|
+
},
|
|
703
|
+
});
|
|
704
|
+
}
|
|
705
|
+
|
|
589
706
|
/**
|
|
590
707
|
* Gets a list of resources unpaged and without references.
|
|
591
708
|
* @returns WaitlistOpportunityReport OK
|