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
|
@@ -9,6 +9,7 @@ import type { GenericActivityPage } from '../models/GenericActivityPage';
|
|
|
9
9
|
import type { PeriodsOfWeek } from '../models/PeriodsOfWeek';
|
|
10
10
|
import type { SearchSortOrderDirection } from '../models/SearchSortOrderDirection';
|
|
11
11
|
import type { TemplateFromPost } from '../models/TemplateFromPost';
|
|
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';
|
|
@@ -152,6 +153,7 @@ export class GenericActivityService {
|
|
|
152
153
|
activityId,
|
|
153
154
|
activityIds,
|
|
154
155
|
networkId,
|
|
156
|
+
tenantStatus,
|
|
155
157
|
lat,
|
|
156
158
|
lng,
|
|
157
159
|
distance,
|
|
@@ -241,6 +243,10 @@ export class GenericActivityService {
|
|
|
241
243
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
242
244
|
*/
|
|
243
245
|
networkId?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
248
|
+
*/
|
|
249
|
+
tenantStatus?: TenantStatus;
|
|
244
250
|
/**
|
|
245
251
|
* Gets or sets Lat.
|
|
246
252
|
*/
|
|
@@ -373,6 +379,7 @@ export class GenericActivityService {
|
|
|
373
379
|
ActivityId: activityId,
|
|
374
380
|
ActivityIds: activityIds,
|
|
375
381
|
NetworkId: networkId,
|
|
382
|
+
TenantStatus: tenantStatus,
|
|
376
383
|
Lat: lat,
|
|
377
384
|
Lng: lng,
|
|
378
385
|
Distance: distance,
|
|
@@ -458,6 +465,7 @@ export class GenericActivityService {
|
|
|
458
465
|
activityId,
|
|
459
466
|
activityIds,
|
|
460
467
|
networkId,
|
|
468
|
+
tenantStatus,
|
|
461
469
|
lat,
|
|
462
470
|
lng,
|
|
463
471
|
distance,
|
|
@@ -547,6 +555,10 @@ export class GenericActivityService {
|
|
|
547
555
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
548
556
|
*/
|
|
549
557
|
networkId?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
560
|
+
*/
|
|
561
|
+
tenantStatus?: TenantStatus;
|
|
550
562
|
/**
|
|
551
563
|
* Gets or sets Lat.
|
|
552
564
|
*/
|
|
@@ -679,6 +691,292 @@ export class GenericActivityService {
|
|
|
679
691
|
ActivityId: activityId,
|
|
680
692
|
ActivityIds: activityIds,
|
|
681
693
|
NetworkId: networkId,
|
|
694
|
+
TenantStatus: tenantStatus,
|
|
695
|
+
Lat: lat,
|
|
696
|
+
Lng: lng,
|
|
697
|
+
Distance: distance,
|
|
698
|
+
MinAgeLTE: minAgeLte,
|
|
699
|
+
MinAgeGTE: minAgeGte,
|
|
700
|
+
MaxAgeLTE: maxAgeLte,
|
|
701
|
+
MaxAgeGTE: maxAgeGte,
|
|
702
|
+
PriceTotalGTE: priceTotalGte,
|
|
703
|
+
PriceTotalLTE: priceTotalLte,
|
|
704
|
+
TimeOfDay: timeOfDay,
|
|
705
|
+
DateFrom: dateFrom,
|
|
706
|
+
DateTo: dateTo,
|
|
707
|
+
Gender: gender,
|
|
708
|
+
PeriodsOfWeek: periodsOfWeek,
|
|
709
|
+
AdditionalSupport: additionalSupport,
|
|
710
|
+
Amenity: amenity,
|
|
711
|
+
ProgrammeIds: programmeIds,
|
|
712
|
+
PageNumber: pageNumber,
|
|
713
|
+
Take: take,
|
|
714
|
+
Skip: skip,
|
|
715
|
+
LimitListRequests: limitListRequests,
|
|
716
|
+
TenantId: tenantId,
|
|
717
|
+
ModifiedById: modifiedById,
|
|
718
|
+
ModifiedByIds: modifiedByIds,
|
|
719
|
+
DateCreatedGTE: dateCreatedGte,
|
|
720
|
+
DateCreatedLTE: dateCreatedLte,
|
|
721
|
+
IsLive: isLive,
|
|
722
|
+
SortOrderDirection: sortOrderDirection,
|
|
723
|
+
},
|
|
724
|
+
errors: {
|
|
725
|
+
400: `Bad Request`,
|
|
726
|
+
422: `Unprocessable Content`,
|
|
727
|
+
500: `Internal Server Error`,
|
|
728
|
+
},
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Returns the number of results in the database given the provided search params.
|
|
734
|
+
* @returns number OK
|
|
735
|
+
* @throws ApiError
|
|
736
|
+
*/
|
|
737
|
+
public count({
|
|
738
|
+
wildcard,
|
|
739
|
+
venueId,
|
|
740
|
+
providerId,
|
|
741
|
+
programmeId,
|
|
742
|
+
online,
|
|
743
|
+
archived,
|
|
744
|
+
deleted,
|
|
745
|
+
activityType,
|
|
746
|
+
includeNextOpportunity,
|
|
747
|
+
featured,
|
|
748
|
+
searchGeoCenter,
|
|
749
|
+
openactiveActivityId,
|
|
750
|
+
activityId,
|
|
751
|
+
activityIds,
|
|
752
|
+
networkId,
|
|
753
|
+
tenantStatus,
|
|
754
|
+
lat,
|
|
755
|
+
lng,
|
|
756
|
+
distance,
|
|
757
|
+
minAgeLte,
|
|
758
|
+
minAgeGte,
|
|
759
|
+
maxAgeLte,
|
|
760
|
+
maxAgeGte,
|
|
761
|
+
priceTotalGte,
|
|
762
|
+
priceTotalLte,
|
|
763
|
+
timeOfDay,
|
|
764
|
+
dateFrom,
|
|
765
|
+
dateTo,
|
|
766
|
+
gender,
|
|
767
|
+
periodsOfWeek,
|
|
768
|
+
additionalSupport,
|
|
769
|
+
amenity,
|
|
770
|
+
programmeIds,
|
|
771
|
+
pageNumber,
|
|
772
|
+
take,
|
|
773
|
+
skip,
|
|
774
|
+
limitListRequests,
|
|
775
|
+
tenantId,
|
|
776
|
+
modifiedById,
|
|
777
|
+
modifiedByIds,
|
|
778
|
+
dateCreatedGte,
|
|
779
|
+
dateCreatedLte,
|
|
780
|
+
isLive,
|
|
781
|
+
sortOrderDirection,
|
|
782
|
+
}: {
|
|
783
|
+
/**
|
|
784
|
+
* Gets or sets the wildcard for use in a query search.
|
|
785
|
+
*/
|
|
786
|
+
wildcard?: string;
|
|
787
|
+
/**
|
|
788
|
+
* Gets or sets the queryable Venue Id.
|
|
789
|
+
*/
|
|
790
|
+
venueId?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Gets or sets the queryable Provider Id.
|
|
793
|
+
*/
|
|
794
|
+
providerId?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Gets or sets the queryable Programme Id.
|
|
797
|
+
*/
|
|
798
|
+
programmeId?: string;
|
|
799
|
+
/**
|
|
800
|
+
* Gets or sets a value indicating whether return online activities.
|
|
801
|
+
*/
|
|
802
|
+
online?: boolean;
|
|
803
|
+
/**
|
|
804
|
+
* Gets or sets a value indicating whether to include archived activities.
|
|
805
|
+
*/
|
|
806
|
+
archived?: boolean;
|
|
807
|
+
/**
|
|
808
|
+
* Gets or sets a value indicating whether to include deleted activities.
|
|
809
|
+
*/
|
|
810
|
+
deleted?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Gets or sets the activity type.
|
|
813
|
+
*/
|
|
814
|
+
activityType?: ActivityType;
|
|
815
|
+
/**
|
|
816
|
+
* Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
817
|
+
*/
|
|
818
|
+
includeNextOpportunity?: boolean;
|
|
819
|
+
/**
|
|
820
|
+
* Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
821
|
+
*/
|
|
822
|
+
featured?: boolean;
|
|
823
|
+
/**
|
|
824
|
+
* Gets or sets SearchGeoCenter.
|
|
825
|
+
*/
|
|
826
|
+
searchGeoCenter?: string;
|
|
827
|
+
/**
|
|
828
|
+
* Gets or sets OpenactiveActivityId.
|
|
829
|
+
*/
|
|
830
|
+
openactiveActivityId?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Gets or sets Activity id.
|
|
833
|
+
*/
|
|
834
|
+
activityId?: number;
|
|
835
|
+
/**
|
|
836
|
+
* Gets or sets the queryable session Activity ids.
|
|
837
|
+
*/
|
|
838
|
+
activityIds?: Array<number>;
|
|
839
|
+
/**
|
|
840
|
+
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
841
|
+
*/
|
|
842
|
+
networkId?: string;
|
|
843
|
+
/**
|
|
844
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
845
|
+
*/
|
|
846
|
+
tenantStatus?: TenantStatus;
|
|
847
|
+
/**
|
|
848
|
+
* Gets or sets Lat.
|
|
849
|
+
*/
|
|
850
|
+
lat?: number;
|
|
851
|
+
/**
|
|
852
|
+
* Gets or sets Lng.
|
|
853
|
+
*/
|
|
854
|
+
lng?: number;
|
|
855
|
+
/**
|
|
856
|
+
* Gets or sets Distance.
|
|
857
|
+
*/
|
|
858
|
+
distance?: number;
|
|
859
|
+
/**
|
|
860
|
+
* Gets or sets MinAgeLTE.
|
|
861
|
+
*/
|
|
862
|
+
minAgeLte?: number;
|
|
863
|
+
/**
|
|
864
|
+
* Gets or sets MinAgeGTE.
|
|
865
|
+
*/
|
|
866
|
+
minAgeGte?: number;
|
|
867
|
+
/**
|
|
868
|
+
* Gets or sets MaxAgeLTE.
|
|
869
|
+
*/
|
|
870
|
+
maxAgeLte?: number;
|
|
871
|
+
/**
|
|
872
|
+
* Gets or sets MaxAgeGTE.
|
|
873
|
+
*/
|
|
874
|
+
maxAgeGte?: number;
|
|
875
|
+
/**
|
|
876
|
+
* Gets or sets PriceTotalGTE.
|
|
877
|
+
*/
|
|
878
|
+
priceTotalGte?: number;
|
|
879
|
+
/**
|
|
880
|
+
* Gets or sets PriceTotalLTE.
|
|
881
|
+
*/
|
|
882
|
+
priceTotalLte?: number;
|
|
883
|
+
/**
|
|
884
|
+
* Gets or sets TimeOfDay.
|
|
885
|
+
*/
|
|
886
|
+
timeOfDay?: string;
|
|
887
|
+
/**
|
|
888
|
+
* Gets or sets DateFrom.
|
|
889
|
+
*/
|
|
890
|
+
dateFrom?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Gets or sets DateTo.
|
|
893
|
+
*/
|
|
894
|
+
dateTo?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Gets or sets Gender.
|
|
897
|
+
*/
|
|
898
|
+
gender?: Gender;
|
|
899
|
+
/**
|
|
900
|
+
* Gets or sets PeriodsOfWeek.
|
|
901
|
+
*/
|
|
902
|
+
periodsOfWeek?: PeriodsOfWeek;
|
|
903
|
+
/**
|
|
904
|
+
* Gets or sets AdditionalSupport.
|
|
905
|
+
*/
|
|
906
|
+
additionalSupport?: Array<string>;
|
|
907
|
+
/**
|
|
908
|
+
* Gets or sets AmenityId.
|
|
909
|
+
*/
|
|
910
|
+
amenity?: Array<number>;
|
|
911
|
+
/**
|
|
912
|
+
* Gets or sets the Programme ids.
|
|
913
|
+
*/
|
|
914
|
+
programmeIds?: Array<string>;
|
|
915
|
+
/**
|
|
916
|
+
* Gets or sets the page number for paged queries.
|
|
917
|
+
*/
|
|
918
|
+
pageNumber?: number;
|
|
919
|
+
/**
|
|
920
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
921
|
+
*/
|
|
922
|
+
take?: number;
|
|
923
|
+
/**
|
|
924
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
925
|
+
*/
|
|
926
|
+
skip?: number;
|
|
927
|
+
/**
|
|
928
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
929
|
+
*/
|
|
930
|
+
limitListRequests?: boolean;
|
|
931
|
+
/**
|
|
932
|
+
* Gets or sets the Tenant Id.
|
|
933
|
+
*/
|
|
934
|
+
tenantId?: string;
|
|
935
|
+
/**
|
|
936
|
+
* Gets or sets the Modifed By Id.
|
|
937
|
+
*/
|
|
938
|
+
modifiedById?: string;
|
|
939
|
+
/**
|
|
940
|
+
* Gets or sets the Modifed By Ids.
|
|
941
|
+
*/
|
|
942
|
+
modifiedByIds?: Array<string>;
|
|
943
|
+
/**
|
|
944
|
+
* Gets or sets the Date Created greater than equal to.
|
|
945
|
+
*/
|
|
946
|
+
dateCreatedGte?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Gets or sets the Date Created less than equal to.
|
|
949
|
+
*/
|
|
950
|
+
dateCreatedLte?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Gets or sets the queryable only is live status.
|
|
953
|
+
*/
|
|
954
|
+
isLive?: boolean;
|
|
955
|
+
/**
|
|
956
|
+
* Gets or sets the sort order direction.
|
|
957
|
+
*/
|
|
958
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
959
|
+
}): CancelablePromise<number> {
|
|
960
|
+
return this.httpRequest.request({
|
|
961
|
+
method: 'GET',
|
|
962
|
+
url: '/api/all-activities/count',
|
|
963
|
+
query: {
|
|
964
|
+
Wildcard: wildcard,
|
|
965
|
+
VenueId: venueId,
|
|
966
|
+
ProviderId: providerId,
|
|
967
|
+
ProgrammeId: programmeId,
|
|
968
|
+
Online: online,
|
|
969
|
+
Archived: archived,
|
|
970
|
+
Deleted: deleted,
|
|
971
|
+
ActivityType: activityType,
|
|
972
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
973
|
+
Featured: featured,
|
|
974
|
+
SearchGeoCenter: searchGeoCenter,
|
|
975
|
+
OpenactiveActivityId: openactiveActivityId,
|
|
976
|
+
ActivityId: activityId,
|
|
977
|
+
ActivityIds: activityIds,
|
|
978
|
+
NetworkId: networkId,
|
|
979
|
+
TenantStatus: tenantStatus,
|
|
682
980
|
Lat: lat,
|
|
683
981
|
Lng: lng,
|
|
684
982
|
Distance: distance,
|
|
@@ -737,6 +1035,7 @@ export class GenericActivityService {
|
|
|
737
1035
|
activityId,
|
|
738
1036
|
activityIds,
|
|
739
1037
|
networkId,
|
|
1038
|
+
tenantStatus,
|
|
740
1039
|
lat,
|
|
741
1040
|
lng,
|
|
742
1041
|
distance,
|
|
@@ -826,6 +1125,10 @@ export class GenericActivityService {
|
|
|
826
1125
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
827
1126
|
*/
|
|
828
1127
|
networkId?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1130
|
+
*/
|
|
1131
|
+
tenantStatus?: TenantStatus;
|
|
829
1132
|
/**
|
|
830
1133
|
* Gets or sets Lat.
|
|
831
1134
|
*/
|
|
@@ -958,6 +1261,7 @@ export class GenericActivityService {
|
|
|
958
1261
|
ActivityId: activityId,
|
|
959
1262
|
ActivityIds: activityIds,
|
|
960
1263
|
NetworkId: networkId,
|
|
1264
|
+
TenantStatus: tenantStatus,
|
|
961
1265
|
Lat: lat,
|
|
962
1266
|
Lng: lng,
|
|
963
1267
|
Distance: distance,
|
|
@@ -1016,6 +1320,7 @@ export class GenericActivityService {
|
|
|
1016
1320
|
activityId,
|
|
1017
1321
|
activityIds,
|
|
1018
1322
|
networkId,
|
|
1323
|
+
tenantStatus,
|
|
1019
1324
|
lat,
|
|
1020
1325
|
lng,
|
|
1021
1326
|
distance,
|
|
@@ -1105,6 +1410,10 @@ export class GenericActivityService {
|
|
|
1105
1410
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
1106
1411
|
*/
|
|
1107
1412
|
networkId?: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1415
|
+
*/
|
|
1416
|
+
tenantStatus?: TenantStatus;
|
|
1108
1417
|
/**
|
|
1109
1418
|
* Gets or sets Lat.
|
|
1110
1419
|
*/
|
|
@@ -1237,6 +1546,7 @@ export class GenericActivityService {
|
|
|
1237
1546
|
ActivityId: activityId,
|
|
1238
1547
|
ActivityIds: activityIds,
|
|
1239
1548
|
NetworkId: networkId,
|
|
1549
|
+
TenantStatus: tenantStatus,
|
|
1240
1550
|
Lat: lat,
|
|
1241
1551
|
Lng: lng,
|
|
1242
1552
|
Distance: distance,
|
|
@@ -1295,6 +1605,7 @@ export class GenericActivityService {
|
|
|
1295
1605
|
activityId,
|
|
1296
1606
|
activityIds,
|
|
1297
1607
|
networkId,
|
|
1608
|
+
tenantStatus,
|
|
1298
1609
|
lat,
|
|
1299
1610
|
lng,
|
|
1300
1611
|
distance,
|
|
@@ -1384,6 +1695,10 @@ export class GenericActivityService {
|
|
|
1384
1695
|
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
1385
1696
|
*/
|
|
1386
1697
|
networkId?: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1700
|
+
*/
|
|
1701
|
+
tenantStatus?: TenantStatus;
|
|
1387
1702
|
/**
|
|
1388
1703
|
* Gets or sets Lat.
|
|
1389
1704
|
*/
|
|
@@ -1516,6 +1831,7 @@ export class GenericActivityService {
|
|
|
1516
1831
|
ActivityId: activityId,
|
|
1517
1832
|
ActivityIds: activityIds,
|
|
1518
1833
|
NetworkId: networkId,
|
|
1834
|
+
TenantStatus: tenantStatus,
|
|
1519
1835
|
Lat: lat,
|
|
1520
1836
|
Lng: lng,
|
|
1521
1837
|
Distance: distance,
|
|
@@ -423,6 +423,105 @@ export class ImageUploadHistoryService {
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
+
/**
|
|
427
|
+
* Returns the number of results in the database given the provided search params.
|
|
428
|
+
* @returns number OK
|
|
429
|
+
* @throws ApiError
|
|
430
|
+
*/
|
|
431
|
+
public count({
|
|
432
|
+
userId,
|
|
433
|
+
imageUrl,
|
|
434
|
+
pageNumber,
|
|
435
|
+
take,
|
|
436
|
+
skip,
|
|
437
|
+
limitListRequests,
|
|
438
|
+
tenantId,
|
|
439
|
+
modifiedById,
|
|
440
|
+
modifiedByIds,
|
|
441
|
+
dateCreatedGte,
|
|
442
|
+
dateCreatedLte,
|
|
443
|
+
isLive,
|
|
444
|
+
sortOrderDirection,
|
|
445
|
+
}: {
|
|
446
|
+
/**
|
|
447
|
+
* Gets or sets the queryable user id.
|
|
448
|
+
*/
|
|
449
|
+
userId?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Gets or sets the queryable image url.
|
|
452
|
+
*/
|
|
453
|
+
imageUrl?: string;
|
|
454
|
+
/**
|
|
455
|
+
* Gets or sets the page number for paged queries.
|
|
456
|
+
*/
|
|
457
|
+
pageNumber?: number;
|
|
458
|
+
/**
|
|
459
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
460
|
+
*/
|
|
461
|
+
take?: number;
|
|
462
|
+
/**
|
|
463
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
464
|
+
*/
|
|
465
|
+
skip?: number;
|
|
466
|
+
/**
|
|
467
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
468
|
+
*/
|
|
469
|
+
limitListRequests?: boolean;
|
|
470
|
+
/**
|
|
471
|
+
* Gets or sets the Tenant Id.
|
|
472
|
+
*/
|
|
473
|
+
tenantId?: string;
|
|
474
|
+
/**
|
|
475
|
+
* Gets or sets the Modifed By Id.
|
|
476
|
+
*/
|
|
477
|
+
modifiedById?: string;
|
|
478
|
+
/**
|
|
479
|
+
* Gets or sets the Modifed By Ids.
|
|
480
|
+
*/
|
|
481
|
+
modifiedByIds?: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Gets or sets the Date Created greater than equal to.
|
|
484
|
+
*/
|
|
485
|
+
dateCreatedGte?: string;
|
|
486
|
+
/**
|
|
487
|
+
* Gets or sets the Date Created less than equal to.
|
|
488
|
+
*/
|
|
489
|
+
dateCreatedLte?: string;
|
|
490
|
+
/**
|
|
491
|
+
* Gets or sets the queryable only is live status.
|
|
492
|
+
*/
|
|
493
|
+
isLive?: boolean;
|
|
494
|
+
/**
|
|
495
|
+
* Gets or sets the sort order direction.
|
|
496
|
+
*/
|
|
497
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
498
|
+
}): CancelablePromise<number> {
|
|
499
|
+
return this.httpRequest.request({
|
|
500
|
+
method: 'GET',
|
|
501
|
+
url: '/api/image-upload-history/count',
|
|
502
|
+
query: {
|
|
503
|
+
UserId: userId,
|
|
504
|
+
ImageUrl: imageUrl,
|
|
505
|
+
PageNumber: pageNumber,
|
|
506
|
+
Take: take,
|
|
507
|
+
Skip: skip,
|
|
508
|
+
LimitListRequests: limitListRequests,
|
|
509
|
+
TenantId: tenantId,
|
|
510
|
+
ModifiedById: modifiedById,
|
|
511
|
+
ModifiedByIds: modifiedByIds,
|
|
512
|
+
DateCreatedGTE: dateCreatedGte,
|
|
513
|
+
DateCreatedLTE: dateCreatedLte,
|
|
514
|
+
IsLive: isLive,
|
|
515
|
+
SortOrderDirection: sortOrderDirection,
|
|
516
|
+
},
|
|
517
|
+
errors: {
|
|
518
|
+
400: `Bad Request`,
|
|
519
|
+
422: `Unprocessable Content`,
|
|
520
|
+
500: `Internal Server Error`,
|
|
521
|
+
},
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
|
|
426
525
|
/**
|
|
427
526
|
* Gets a list of resources unpaged and without references.
|
|
428
527
|
* @returns ImageUploadHistory OK
|
|
@@ -545,6 +545,153 @@ export class ImagesService {
|
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
+
/**
|
|
549
|
+
* Returns the number of results in the database given the provided search params.
|
|
550
|
+
* @returns number OK
|
|
551
|
+
* @throws ApiError
|
|
552
|
+
*/
|
|
553
|
+
public count({
|
|
554
|
+
venueId,
|
|
555
|
+
venueIds,
|
|
556
|
+
facilityId,
|
|
557
|
+
facilityIds,
|
|
558
|
+
sessionId,
|
|
559
|
+
sessionIds,
|
|
560
|
+
courseId,
|
|
561
|
+
courseIds,
|
|
562
|
+
programmeId,
|
|
563
|
+
programmeIds,
|
|
564
|
+
pageNumber,
|
|
565
|
+
take,
|
|
566
|
+
skip,
|
|
567
|
+
limitListRequests,
|
|
568
|
+
tenantId,
|
|
569
|
+
modifiedById,
|
|
570
|
+
modifiedByIds,
|
|
571
|
+
dateCreatedGte,
|
|
572
|
+
dateCreatedLte,
|
|
573
|
+
isLive,
|
|
574
|
+
sortOrderDirection,
|
|
575
|
+
}: {
|
|
576
|
+
/**
|
|
577
|
+
* Gets or sets the queryable venue id.
|
|
578
|
+
*/
|
|
579
|
+
venueId?: string;
|
|
580
|
+
/**
|
|
581
|
+
* Gets or sets the queryable venue ids.
|
|
582
|
+
*/
|
|
583
|
+
venueIds?: Array<string>;
|
|
584
|
+
/**
|
|
585
|
+
* Gets or sets the queryable facility id.
|
|
586
|
+
*/
|
|
587
|
+
facilityId?: string;
|
|
588
|
+
/**
|
|
589
|
+
* Gets or sets the queryable facility ids.
|
|
590
|
+
*/
|
|
591
|
+
facilityIds?: Array<string>;
|
|
592
|
+
/**
|
|
593
|
+
* Gets or sets the queryable session id.
|
|
594
|
+
*/
|
|
595
|
+
sessionId?: string;
|
|
596
|
+
/**
|
|
597
|
+
* Gets or sets the queryable session ids.
|
|
598
|
+
*/
|
|
599
|
+
sessionIds?: Array<string>;
|
|
600
|
+
/**
|
|
601
|
+
* Gets or sets the queryable course id.
|
|
602
|
+
*/
|
|
603
|
+
courseId?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Gets or sets the queryable course ids.
|
|
606
|
+
*/
|
|
607
|
+
courseIds?: Array<string>;
|
|
608
|
+
/**
|
|
609
|
+
* Gets or sets the queryable programme id.
|
|
610
|
+
*/
|
|
611
|
+
programmeId?: string;
|
|
612
|
+
/**
|
|
613
|
+
* Gets or sets the queryable programme ids.
|
|
614
|
+
*/
|
|
615
|
+
programmeIds?: Array<string>;
|
|
616
|
+
/**
|
|
617
|
+
* Gets or sets the page number for paged queries.
|
|
618
|
+
*/
|
|
619
|
+
pageNumber?: number;
|
|
620
|
+
/**
|
|
621
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
622
|
+
*/
|
|
623
|
+
take?: number;
|
|
624
|
+
/**
|
|
625
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
626
|
+
*/
|
|
627
|
+
skip?: number;
|
|
628
|
+
/**
|
|
629
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
630
|
+
*/
|
|
631
|
+
limitListRequests?: boolean;
|
|
632
|
+
/**
|
|
633
|
+
* Gets or sets the Tenant Id.
|
|
634
|
+
*/
|
|
635
|
+
tenantId?: string;
|
|
636
|
+
/**
|
|
637
|
+
* Gets or sets the Modifed By Id.
|
|
638
|
+
*/
|
|
639
|
+
modifiedById?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Gets or sets the Modifed By Ids.
|
|
642
|
+
*/
|
|
643
|
+
modifiedByIds?: Array<string>;
|
|
644
|
+
/**
|
|
645
|
+
* Gets or sets the Date Created greater than equal to.
|
|
646
|
+
*/
|
|
647
|
+
dateCreatedGte?: string;
|
|
648
|
+
/**
|
|
649
|
+
* Gets or sets the Date Created less than equal to.
|
|
650
|
+
*/
|
|
651
|
+
dateCreatedLte?: string;
|
|
652
|
+
/**
|
|
653
|
+
* Gets or sets the queryable only is live status.
|
|
654
|
+
*/
|
|
655
|
+
isLive?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Gets or sets the sort order direction.
|
|
658
|
+
*/
|
|
659
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
660
|
+
}): CancelablePromise<number> {
|
|
661
|
+
return this.httpRequest.request({
|
|
662
|
+
method: 'GET',
|
|
663
|
+
url: '/api/images/count',
|
|
664
|
+
query: {
|
|
665
|
+
VenueId: venueId,
|
|
666
|
+
VenueIds: venueIds,
|
|
667
|
+
FacilityId: facilityId,
|
|
668
|
+
FacilityIds: facilityIds,
|
|
669
|
+
SessionId: sessionId,
|
|
670
|
+
SessionIds: sessionIds,
|
|
671
|
+
CourseId: courseId,
|
|
672
|
+
CourseIds: courseIds,
|
|
673
|
+
ProgrammeId: programmeId,
|
|
674
|
+
ProgrammeIds: programmeIds,
|
|
675
|
+
PageNumber: pageNumber,
|
|
676
|
+
Take: take,
|
|
677
|
+
Skip: skip,
|
|
678
|
+
LimitListRequests: limitListRequests,
|
|
679
|
+
TenantId: tenantId,
|
|
680
|
+
ModifiedById: modifiedById,
|
|
681
|
+
ModifiedByIds: modifiedByIds,
|
|
682
|
+
DateCreatedGTE: dateCreatedGte,
|
|
683
|
+
DateCreatedLTE: dateCreatedLte,
|
|
684
|
+
IsLive: isLive,
|
|
685
|
+
SortOrderDirection: sortOrderDirection,
|
|
686
|
+
},
|
|
687
|
+
errors: {
|
|
688
|
+
400: `Bad Request`,
|
|
689
|
+
422: `Unprocessable Content`,
|
|
690
|
+
500: `Internal Server Error`,
|
|
691
|
+
},
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
|
|
548
695
|
/**
|
|
549
696
|
* Gets a list of resources unpaged and without references.
|
|
550
697
|
* @returns Image OK
|