reach-api-sdk 1.0.194 → 1.0.196
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 +7203 -1320
- package/dist/reach-sdk.js +4096 -26
- package/package.json +1 -1
- package/src/definition/swagger.yaml +16630 -4446
- 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 +136 -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/PublicWaitlistOpportunityService.ts +12 -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 +170 -0
- package/src/services/WaitlistOpportunityService.ts +147 -0
|
@@ -815,6 +815,195 @@ export class ProvidersService {
|
|
|
815
815
|
});
|
|
816
816
|
}
|
|
817
817
|
|
|
818
|
+
/**
|
|
819
|
+
* Returns the number of results in the database given the provided search params.
|
|
820
|
+
* @returns number OK
|
|
821
|
+
* @throws ApiError
|
|
822
|
+
*/
|
|
823
|
+
public count({
|
|
824
|
+
ids,
|
|
825
|
+
wildcard,
|
|
826
|
+
name,
|
|
827
|
+
streetAddress,
|
|
828
|
+
addressPostalcode,
|
|
829
|
+
nameLike,
|
|
830
|
+
slug,
|
|
831
|
+
stripeAccountId,
|
|
832
|
+
searchGeoCenter,
|
|
833
|
+
publishedOnWeb,
|
|
834
|
+
archived,
|
|
835
|
+
networkId,
|
|
836
|
+
programmeId,
|
|
837
|
+
includeOpportunityImages,
|
|
838
|
+
includeOpportunityOffers,
|
|
839
|
+
includeNextOpportunity,
|
|
840
|
+
distance,
|
|
841
|
+
pageNumber,
|
|
842
|
+
take,
|
|
843
|
+
skip,
|
|
844
|
+
limitListRequests,
|
|
845
|
+
tenantId,
|
|
846
|
+
modifiedById,
|
|
847
|
+
modifiedByIds,
|
|
848
|
+
dateCreatedGte,
|
|
849
|
+
dateCreatedLte,
|
|
850
|
+
isLive,
|
|
851
|
+
sortOrderDirection,
|
|
852
|
+
}: {
|
|
853
|
+
/**
|
|
854
|
+
* Gets or sets the queryable provider ids.
|
|
855
|
+
*/
|
|
856
|
+
ids?: Array<string>;
|
|
857
|
+
/**
|
|
858
|
+
* Gets or sets the queryable provider name wildcard.
|
|
859
|
+
*/
|
|
860
|
+
wildcard?: string;
|
|
861
|
+
/**
|
|
862
|
+
* Gets or sets the queryable provider name.
|
|
863
|
+
*/
|
|
864
|
+
name?: string;
|
|
865
|
+
/**
|
|
866
|
+
* Gets or sets the queryable provider street address.
|
|
867
|
+
*/
|
|
868
|
+
streetAddress?: string;
|
|
869
|
+
/**
|
|
870
|
+
* Gets or sets the queryable provider address postal code.
|
|
871
|
+
*/
|
|
872
|
+
addressPostalcode?: string;
|
|
873
|
+
/**
|
|
874
|
+
* Gets or sets the queryable provider name wildcard.
|
|
875
|
+
*/
|
|
876
|
+
nameLike?: string;
|
|
877
|
+
/**
|
|
878
|
+
* Gets or sets the queryable provider url slug.
|
|
879
|
+
*/
|
|
880
|
+
slug?: string;
|
|
881
|
+
/**
|
|
882
|
+
* Gets or sets the queryable stripe account Id.
|
|
883
|
+
*/
|
|
884
|
+
stripeAccountId?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Gets or sets the queryable search geo center.
|
|
887
|
+
*/
|
|
888
|
+
searchGeoCenter?: string;
|
|
889
|
+
/**
|
|
890
|
+
* Gets or sets a value indicating whether to show published venues.
|
|
891
|
+
*/
|
|
892
|
+
publishedOnWeb?: boolean;
|
|
893
|
+
/**
|
|
894
|
+
* Gets or sets a value indicating whether to include archived venues.
|
|
895
|
+
*/
|
|
896
|
+
archived?: boolean;
|
|
897
|
+
/**
|
|
898
|
+
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
899
|
+
*/
|
|
900
|
+
networkId?: string;
|
|
901
|
+
/**
|
|
902
|
+
* Gets or sets the queryable programme Id.
|
|
903
|
+
*/
|
|
904
|
+
programmeId?: string;
|
|
905
|
+
/**
|
|
906
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity images.
|
|
907
|
+
*/
|
|
908
|
+
includeOpportunityImages?: boolean;
|
|
909
|
+
/**
|
|
910
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity offers.
|
|
911
|
+
*/
|
|
912
|
+
includeOpportunityOffers?: boolean;
|
|
913
|
+
/**
|
|
914
|
+
* Gets or sets a value indicating whether to inlcude the venues opportunity next availability.
|
|
915
|
+
*/
|
|
916
|
+
includeNextOpportunity?: boolean;
|
|
917
|
+
/**
|
|
918
|
+
* Gets or sets Distance.
|
|
919
|
+
*/
|
|
920
|
+
distance?: number;
|
|
921
|
+
/**
|
|
922
|
+
* Gets or sets the page number for paged queries.
|
|
923
|
+
*/
|
|
924
|
+
pageNumber?: number;
|
|
925
|
+
/**
|
|
926
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
927
|
+
*/
|
|
928
|
+
take?: number;
|
|
929
|
+
/**
|
|
930
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
931
|
+
*/
|
|
932
|
+
skip?: number;
|
|
933
|
+
/**
|
|
934
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
935
|
+
*/
|
|
936
|
+
limitListRequests?: boolean;
|
|
937
|
+
/**
|
|
938
|
+
* Gets or sets the Tenant Id.
|
|
939
|
+
*/
|
|
940
|
+
tenantId?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Gets or sets the Modifed By Id.
|
|
943
|
+
*/
|
|
944
|
+
modifiedById?: string;
|
|
945
|
+
/**
|
|
946
|
+
* Gets or sets the Modifed By Ids.
|
|
947
|
+
*/
|
|
948
|
+
modifiedByIds?: Array<string>;
|
|
949
|
+
/**
|
|
950
|
+
* Gets or sets the Date Created greater than equal to.
|
|
951
|
+
*/
|
|
952
|
+
dateCreatedGte?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Gets or sets the Date Created less than equal to.
|
|
955
|
+
*/
|
|
956
|
+
dateCreatedLte?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Gets or sets the queryable only is live status.
|
|
959
|
+
*/
|
|
960
|
+
isLive?: boolean;
|
|
961
|
+
/**
|
|
962
|
+
* Gets or sets the sort order direction.
|
|
963
|
+
*/
|
|
964
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
965
|
+
}): CancelablePromise<number> {
|
|
966
|
+
return this.httpRequest.request({
|
|
967
|
+
method: 'GET',
|
|
968
|
+
url: '/api/providers/count',
|
|
969
|
+
query: {
|
|
970
|
+
Ids: ids,
|
|
971
|
+
Wildcard: wildcard,
|
|
972
|
+
Name: name,
|
|
973
|
+
StreetAddress: streetAddress,
|
|
974
|
+
AddressPostalcode: addressPostalcode,
|
|
975
|
+
NameLike: nameLike,
|
|
976
|
+
Slug: slug,
|
|
977
|
+
StripeAccountId: stripeAccountId,
|
|
978
|
+
SearchGeoCenter: searchGeoCenter,
|
|
979
|
+
PublishedOnWeb: publishedOnWeb,
|
|
980
|
+
Archived: archived,
|
|
981
|
+
NetworkId: networkId,
|
|
982
|
+
ProgrammeId: programmeId,
|
|
983
|
+
IncludeOpportunityImages: includeOpportunityImages,
|
|
984
|
+
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
985
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
986
|
+
Distance: distance,
|
|
987
|
+
PageNumber: pageNumber,
|
|
988
|
+
Take: take,
|
|
989
|
+
Skip: skip,
|
|
990
|
+
LimitListRequests: limitListRequests,
|
|
991
|
+
TenantId: tenantId,
|
|
992
|
+
ModifiedById: modifiedById,
|
|
993
|
+
ModifiedByIds: modifiedByIds,
|
|
994
|
+
DateCreatedGTE: dateCreatedGte,
|
|
995
|
+
DateCreatedLTE: dateCreatedLte,
|
|
996
|
+
IsLive: isLive,
|
|
997
|
+
SortOrderDirection: sortOrderDirection,
|
|
998
|
+
},
|
|
999
|
+
errors: {
|
|
1000
|
+
400: `Bad Request`,
|
|
1001
|
+
422: `Unprocessable Content`,
|
|
1002
|
+
500: `Internal Server Error`,
|
|
1003
|
+
},
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
|
|
818
1007
|
/**
|
|
819
1008
|
* Gets a list of resources unpaged and without references.
|
|
820
1009
|
* @returns Provider OK
|
|
@@ -9,6 +9,7 @@ import type { GenericActivity } from '../models/GenericActivity';
|
|
|
9
9
|
import type { GenericActivityPage } from '../models/GenericActivityPage';
|
|
10
10
|
import type { PeriodsOfWeek } from '../models/PeriodsOfWeek';
|
|
11
11
|
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
12
|
+
import type { TenantStatus } from '../models/TenantStatus';
|
|
12
13
|
|
|
13
14
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
15
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
@@ -65,6 +66,7 @@ export class PublicGenericActivityService {
|
|
|
65
66
|
activityId,
|
|
66
67
|
activityIds,
|
|
67
68
|
networkId,
|
|
69
|
+
tenantStatus,
|
|
68
70
|
lat,
|
|
69
71
|
lng,
|
|
70
72
|
distance,
|
|
@@ -155,6 +157,10 @@ export class PublicGenericActivityService {
|
|
|
155
157
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
156
158
|
*/
|
|
157
159
|
networkId?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
162
|
+
*/
|
|
163
|
+
tenantStatus?: TenantStatus;
|
|
158
164
|
/**
|
|
159
165
|
* Gets or sets Lat.
|
|
160
166
|
*/
|
|
@@ -290,6 +296,7 @@ export class PublicGenericActivityService {
|
|
|
290
296
|
ActivityId: activityId,
|
|
291
297
|
ActivityIds: activityIds,
|
|
292
298
|
NetworkId: networkId,
|
|
299
|
+
TenantStatus: tenantStatus,
|
|
293
300
|
Lat: lat,
|
|
294
301
|
Lng: lng,
|
|
295
302
|
Distance: distance,
|
|
@@ -348,6 +355,7 @@ export class PublicGenericActivityService {
|
|
|
348
355
|
activityId,
|
|
349
356
|
activityIds,
|
|
350
357
|
networkId,
|
|
358
|
+
tenantStatus,
|
|
351
359
|
lat,
|
|
352
360
|
lng,
|
|
353
361
|
distance,
|
|
@@ -437,6 +445,10 @@ export class PublicGenericActivityService {
|
|
|
437
445
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
438
446
|
*/
|
|
439
447
|
networkId?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
450
|
+
*/
|
|
451
|
+
tenantStatus?: TenantStatus;
|
|
440
452
|
/**
|
|
441
453
|
* Gets or sets Lat.
|
|
442
454
|
*/
|
|
@@ -569,6 +581,7 @@ export class PublicGenericActivityService {
|
|
|
569
581
|
ActivityId: activityId,
|
|
570
582
|
ActivityIds: activityIds,
|
|
571
583
|
NetworkId: networkId,
|
|
584
|
+
TenantStatus: tenantStatus,
|
|
572
585
|
Lat: lat,
|
|
573
586
|
Lng: lng,
|
|
574
587
|
Distance: distance,
|
|
@@ -628,6 +641,7 @@ export class PublicGenericActivityService {
|
|
|
628
641
|
activityId,
|
|
629
642
|
activityIds,
|
|
630
643
|
networkId,
|
|
644
|
+
tenantStatus,
|
|
631
645
|
lat,
|
|
632
646
|
lng,
|
|
633
647
|
distance,
|
|
@@ -721,6 +735,10 @@ export class PublicGenericActivityService {
|
|
|
721
735
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
722
736
|
*/
|
|
723
737
|
networkId?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
740
|
+
*/
|
|
741
|
+
tenantStatus?: TenantStatus;
|
|
724
742
|
/**
|
|
725
743
|
* Gets or sets Lat.
|
|
726
744
|
*/
|
|
@@ -856,6 +874,7 @@ export class PublicGenericActivityService {
|
|
|
856
874
|
ActivityId: activityId,
|
|
857
875
|
ActivityIds: activityIds,
|
|
858
876
|
NetworkId: networkId,
|
|
877
|
+
TenantStatus: tenantStatus,
|
|
859
878
|
Lat: lat,
|
|
860
879
|
Lng: lng,
|
|
861
880
|
Distance: distance,
|
|
@@ -960,6 +979,7 @@ export class PublicGenericActivityService {
|
|
|
960
979
|
activityId,
|
|
961
980
|
activityIds,
|
|
962
981
|
networkId,
|
|
982
|
+
tenantStatus,
|
|
963
983
|
lat,
|
|
964
984
|
lng,
|
|
965
985
|
distance,
|
|
@@ -1053,6 +1073,10 @@ export class PublicGenericActivityService {
|
|
|
1053
1073
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
1054
1074
|
*/
|
|
1055
1075
|
networkId?: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1078
|
+
*/
|
|
1079
|
+
tenantStatus?: TenantStatus;
|
|
1056
1080
|
/**
|
|
1057
1081
|
* Gets or sets Lat.
|
|
1058
1082
|
*/
|
|
@@ -1188,6 +1212,7 @@ export class PublicGenericActivityService {
|
|
|
1188
1212
|
ActivityId: activityId,
|
|
1189
1213
|
ActivityIds: activityIds,
|
|
1190
1214
|
NetworkId: networkId,
|
|
1215
|
+
TenantStatus: tenantStatus,
|
|
1191
1216
|
Lat: lat,
|
|
1192
1217
|
Lng: lng,
|
|
1193
1218
|
Distance: distance,
|
|
@@ -30,7 +30,6 @@ export class PublicOrderItemsService {
|
|
|
30
30
|
status,
|
|
31
31
|
statuses,
|
|
32
32
|
parentOrderItemId,
|
|
33
|
-
orderByOpportunityStartdate,
|
|
34
33
|
eventTiming,
|
|
35
34
|
endUserIdentityId,
|
|
36
35
|
dashboardRequest,
|
|
@@ -79,10 +78,6 @@ export class PublicOrderItemsService {
|
|
|
79
78
|
* Gets or sets the queryable parent order item id id.
|
|
80
79
|
*/
|
|
81
80
|
parentOrderItemId?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Gets or sets the queryable order by opportunity start date value.
|
|
84
|
-
*/
|
|
85
|
-
orderByOpportunityStartdate?: boolean;
|
|
86
81
|
/**
|
|
87
82
|
* Gets or sets the queryable event timing.
|
|
88
83
|
*/
|
|
@@ -155,7 +150,6 @@ export class PublicOrderItemsService {
|
|
|
155
150
|
Status: status,
|
|
156
151
|
Statuses: statuses,
|
|
157
152
|
ParentOrderItemId: parentOrderItemId,
|
|
158
|
-
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
159
153
|
EventTiming: eventTiming,
|
|
160
154
|
EndUserIdentityId: endUserIdentityId,
|
|
161
155
|
DashboardRequest: dashboardRequest,
|
|
@@ -441,7 +435,6 @@ export class PublicOrderItemsService {
|
|
|
441
435
|
status,
|
|
442
436
|
statuses,
|
|
443
437
|
parentOrderItemId,
|
|
444
|
-
orderByOpportunityStartdate,
|
|
445
438
|
eventTiming,
|
|
446
439
|
endUserIdentityId,
|
|
447
440
|
dashboardRequest,
|
|
@@ -493,10 +486,6 @@ export class PublicOrderItemsService {
|
|
|
493
486
|
* Gets or sets the queryable parent order item id id.
|
|
494
487
|
*/
|
|
495
488
|
parentOrderItemId?: string;
|
|
496
|
-
/**
|
|
497
|
-
* Gets or sets the queryable order by opportunity start date value.
|
|
498
|
-
*/
|
|
499
|
-
orderByOpportunityStartdate?: boolean;
|
|
500
489
|
/**
|
|
501
490
|
* Gets or sets the queryable event timing.
|
|
502
491
|
*/
|
|
@@ -569,7 +558,6 @@ export class PublicOrderItemsService {
|
|
|
569
558
|
Status: status,
|
|
570
559
|
Statuses: statuses,
|
|
571
560
|
ParentOrderItemId: parentOrderItemId,
|
|
572
|
-
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
573
561
|
EventTiming: eventTiming,
|
|
574
562
|
EndUserIdentityId: endUserIdentityId,
|
|
575
563
|
DashboardRequest: dashboardRequest,
|
|
@@ -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 { VenuePage } from '../models/VenuePage';
|
|
8
9
|
import type { VenuePatch } from '../models/VenuePatch';
|
|
@@ -96,6 +97,7 @@ export class PublicVenuesService {
|
|
|
96
97
|
publishedOnWeb,
|
|
97
98
|
archived,
|
|
98
99
|
networkId,
|
|
100
|
+
tenantStatus,
|
|
99
101
|
programmeId,
|
|
100
102
|
includeOpportunityImages,
|
|
101
103
|
includeOpportunityOffers,
|
|
@@ -168,6 +170,10 @@ export class PublicVenuesService {
|
|
|
168
170
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
169
171
|
*/
|
|
170
172
|
networkId?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
175
|
+
*/
|
|
176
|
+
tenantStatus?: TenantStatus;
|
|
171
177
|
/**
|
|
172
178
|
* Gets or sets the queryable programme Id.
|
|
173
179
|
*/
|
|
@@ -261,6 +267,7 @@ export class PublicVenuesService {
|
|
|
261
267
|
PublishedOnWeb: publishedOnWeb,
|
|
262
268
|
Archived: archived,
|
|
263
269
|
NetworkId: networkId,
|
|
270
|
+
TenantStatus: tenantStatus,
|
|
264
271
|
ProgrammeId: programmeId,
|
|
265
272
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
266
273
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -341,6 +348,7 @@ export class PublicVenuesService {
|
|
|
341
348
|
publishedOnWeb,
|
|
342
349
|
archived,
|
|
343
350
|
networkId,
|
|
351
|
+
tenantStatus,
|
|
344
352
|
programmeId,
|
|
345
353
|
includeOpportunityImages,
|
|
346
354
|
includeOpportunityOffers,
|
|
@@ -412,6 +420,10 @@ export class PublicVenuesService {
|
|
|
412
420
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
413
421
|
*/
|
|
414
422
|
networkId?: string;
|
|
423
|
+
/**
|
|
424
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
425
|
+
*/
|
|
426
|
+
tenantStatus?: TenantStatus;
|
|
415
427
|
/**
|
|
416
428
|
* Gets or sets the queryable programme Id.
|
|
417
429
|
*/
|
|
@@ -502,6 +514,7 @@ export class PublicVenuesService {
|
|
|
502
514
|
PublishedOnWeb: publishedOnWeb,
|
|
503
515
|
Archived: archived,
|
|
504
516
|
NetworkId: networkId,
|
|
517
|
+
TenantStatus: tenantStatus,
|
|
505
518
|
ProgrammeId: programmeId,
|
|
506
519
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
507
520
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -651,6 +664,7 @@ export class PublicVenuesService {
|
|
|
651
664
|
publishedOnWeb,
|
|
652
665
|
archived,
|
|
653
666
|
networkId,
|
|
667
|
+
tenantStatus,
|
|
654
668
|
programmeId,
|
|
655
669
|
includeOpportunityImages,
|
|
656
670
|
includeOpportunityOffers,
|
|
@@ -726,6 +740,10 @@ export class PublicVenuesService {
|
|
|
726
740
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
727
741
|
*/
|
|
728
742
|
networkId?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
745
|
+
*/
|
|
746
|
+
tenantStatus?: TenantStatus;
|
|
729
747
|
/**
|
|
730
748
|
* Gets or sets the queryable programme Id.
|
|
731
749
|
*/
|
|
@@ -819,6 +837,7 @@ export class PublicVenuesService {
|
|
|
819
837
|
PublishedOnWeb: publishedOnWeb,
|
|
820
838
|
Archived: archived,
|
|
821
839
|
NetworkId: networkId,
|
|
840
|
+
TenantStatus: tenantStatus,
|
|
822
841
|
ProgrammeId: programmeId,
|
|
823
842
|
IncludeOpportunityImages: includeOpportunityImages,
|
|
824
843
|
IncludeOpportunityOffers: includeOpportunityOffers,
|
|
@@ -162,6 +162,7 @@ export class PublicWaitlistOpportunityService {
|
|
|
162
162
|
scheduledSessionId,
|
|
163
163
|
courseId,
|
|
164
164
|
email,
|
|
165
|
+
futureOnly,
|
|
165
166
|
pageNumber,
|
|
166
167
|
take,
|
|
167
168
|
skip,
|
|
@@ -198,6 +199,10 @@ export class PublicWaitlistOpportunityService {
|
|
|
198
199
|
* Gets or sets the queryable Email.
|
|
199
200
|
*/
|
|
200
201
|
email?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Gets or sets a value indicating whether to filter for future opportunities only.
|
|
204
|
+
*/
|
|
205
|
+
futureOnly?: boolean;
|
|
201
206
|
/**
|
|
202
207
|
* Gets or sets the page number for paged queries.
|
|
203
208
|
*/
|
|
@@ -255,6 +260,7 @@ export class PublicWaitlistOpportunityService {
|
|
|
255
260
|
ScheduledSessionId: scheduledSessionId,
|
|
256
261
|
CourseId: courseId,
|
|
257
262
|
Email: email,
|
|
263
|
+
FutureOnly: futureOnly,
|
|
258
264
|
PageNumber: pageNumber,
|
|
259
265
|
Take: take,
|
|
260
266
|
Skip: skip,
|
|
@@ -357,6 +363,7 @@ export class PublicWaitlistOpportunityService {
|
|
|
357
363
|
scheduledSessionId,
|
|
358
364
|
courseId,
|
|
359
365
|
email,
|
|
366
|
+
futureOnly,
|
|
360
367
|
pageNumber,
|
|
361
368
|
take,
|
|
362
369
|
skip,
|
|
@@ -393,6 +400,10 @@ export class PublicWaitlistOpportunityService {
|
|
|
393
400
|
* Gets or sets the queryable Email.
|
|
394
401
|
*/
|
|
395
402
|
email?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Gets or sets a value indicating whether to filter for future opportunities only.
|
|
405
|
+
*/
|
|
406
|
+
futureOnly?: boolean;
|
|
396
407
|
/**
|
|
397
408
|
* Gets or sets the page number for paged queries.
|
|
398
409
|
*/
|
|
@@ -450,6 +461,7 @@ export class PublicWaitlistOpportunityService {
|
|
|
450
461
|
ScheduledSessionId: scheduledSessionId,
|
|
451
462
|
CourseId: courseId,
|
|
452
463
|
Email: email,
|
|
464
|
+
FutureOnly: futureOnly,
|
|
453
465
|
PageNumber: pageNumber,
|
|
454
466
|
Take: take,
|
|
455
467
|
Skip: skip,
|
|
@@ -496,6 +496,93 @@ export class RecentOrderActivityReportService {
|
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
+
/**
|
|
500
|
+
* Returns the number of results in the database given the provided search params.
|
|
501
|
+
* @returns number OK
|
|
502
|
+
* @throws ApiError
|
|
503
|
+
*/
|
|
504
|
+
public count({
|
|
505
|
+
pageNumber,
|
|
506
|
+
take,
|
|
507
|
+
skip,
|
|
508
|
+
limitListRequests,
|
|
509
|
+
tenantId,
|
|
510
|
+
modifiedById,
|
|
511
|
+
modifiedByIds,
|
|
512
|
+
dateCreatedGte,
|
|
513
|
+
dateCreatedLte,
|
|
514
|
+
isLive,
|
|
515
|
+
sortOrderDirection,
|
|
516
|
+
}: {
|
|
517
|
+
/**
|
|
518
|
+
* Gets or sets the page number for paged queries.
|
|
519
|
+
*/
|
|
520
|
+
pageNumber?: number;
|
|
521
|
+
/**
|
|
522
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
523
|
+
*/
|
|
524
|
+
take?: number;
|
|
525
|
+
/**
|
|
526
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
527
|
+
*/
|
|
528
|
+
skip?: number;
|
|
529
|
+
/**
|
|
530
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
531
|
+
*/
|
|
532
|
+
limitListRequests?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Gets or sets the Tenant Id.
|
|
535
|
+
*/
|
|
536
|
+
tenantId?: string;
|
|
537
|
+
/**
|
|
538
|
+
* Gets or sets the Modifed By Id.
|
|
539
|
+
*/
|
|
540
|
+
modifiedById?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Gets or sets the Modifed By Ids.
|
|
543
|
+
*/
|
|
544
|
+
modifiedByIds?: Array<string>;
|
|
545
|
+
/**
|
|
546
|
+
* Gets or sets the Date Created greater than equal to.
|
|
547
|
+
*/
|
|
548
|
+
dateCreatedGte?: string;
|
|
549
|
+
/**
|
|
550
|
+
* Gets or sets the Date Created less than equal to.
|
|
551
|
+
*/
|
|
552
|
+
dateCreatedLte?: string;
|
|
553
|
+
/**
|
|
554
|
+
* Gets or sets the queryable only is live status.
|
|
555
|
+
*/
|
|
556
|
+
isLive?: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Gets or sets the sort order direction.
|
|
559
|
+
*/
|
|
560
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
561
|
+
}): CancelablePromise<number> {
|
|
562
|
+
return this.httpRequest.request({
|
|
563
|
+
method: 'GET',
|
|
564
|
+
url: '/api/reports/recent-order-activity/count',
|
|
565
|
+
query: {
|
|
566
|
+
PageNumber: pageNumber,
|
|
567
|
+
Take: take,
|
|
568
|
+
Skip: skip,
|
|
569
|
+
LimitListRequests: limitListRequests,
|
|
570
|
+
TenantId: tenantId,
|
|
571
|
+
ModifiedById: modifiedById,
|
|
572
|
+
ModifiedByIds: modifiedByIds,
|
|
573
|
+
DateCreatedGTE: dateCreatedGte,
|
|
574
|
+
DateCreatedLTE: dateCreatedLte,
|
|
575
|
+
IsLive: isLive,
|
|
576
|
+
SortOrderDirection: sortOrderDirection,
|
|
577
|
+
},
|
|
578
|
+
errors: {
|
|
579
|
+
400: `Bad Request`,
|
|
580
|
+
422: `Unprocessable Content`,
|
|
581
|
+
500: `Internal Server Error`,
|
|
582
|
+
},
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
|
|
499
586
|
/**
|
|
500
587
|
* Gets a list of resources unpaged and without references.
|
|
501
588
|
* @returns RecentOrderActivityReport OK
|