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.
Files changed (88) hide show
  1. package/dist/reach-sdk.d.ts +6816 -883
  2. package/dist/reach-sdk.js +4297 -225
  3. package/package.json +1 -1
  4. package/src/definition/swagger.yaml +16324 -4076
  5. package/src/index.ts +1 -0
  6. package/src/models/Course.ts +4 -0
  7. package/src/models/CreateDeal.ts +8 -0
  8. package/src/models/Deal.ts +8 -0
  9. package/src/models/Tenant.ts +2 -0
  10. package/src/models/TenantStatus.ts +12 -0
  11. package/src/services/ActivityPerformanceService.ts +129 -0
  12. package/src/services/AttendeesService.ts +111 -0
  13. package/src/services/BadEnglandReportService.ts +87 -0
  14. package/src/services/BookingService.ts +201 -0
  15. package/src/services/CancellationPoliciesService.ts +111 -0
  16. package/src/services/CourseSessionSchedulesService.ts +117 -0
  17. package/src/services/CourseSessionsService.ts +237 -0
  18. package/src/services/CoursesService.ts +273 -0
  19. package/src/services/CustomersService.ts +129 -0
  20. package/src/services/DealActivitiesService.ts +123 -0
  21. package/src/services/DealsService.ts +123 -0
  22. package/src/services/DiscountCodeUsesService.ts +105 -0
  23. package/src/services/EmailReminderSchedulesService.ts +117 -0
  24. package/src/services/EmailSettingsService.ts +117 -0
  25. package/src/services/FacilitiesService.ts +135 -0
  26. package/src/services/FacilityIndividualsService.ts +93 -0
  27. package/src/services/GenericActivityService.ts +346 -0
  28. package/src/services/ImageUploadHistoryService.ts +99 -0
  29. package/src/services/ImagesService.ts +147 -0
  30. package/src/services/LeasingService.ts +195 -0
  31. package/src/services/LocationsReportService.ts +105 -0
  32. package/src/services/NotificationQueueService.ts +99 -0
  33. package/src/services/NotificationSettingsService.ts +177 -0
  34. package/src/services/OffersService.ts +165 -0
  35. package/src/services/OpenactiveFeedIntermediateService.ts +93 -0
  36. package/src/services/OpenactiveFeedItemService.ts +99 -0
  37. package/src/services/OpportunityRegisterService.ts +147 -0
  38. package/src/services/OrderItemReportService.ts +123 -0
  39. package/src/services/OrderItemsService.ts +153 -24
  40. package/src/services/OrdersService.ts +195 -0
  41. package/src/services/OrgCourseUtilisationService.ts +147 -0
  42. package/src/services/PaymentPoliciesService.ts +111 -0
  43. package/src/services/PaymentsService.ts +93 -0
  44. package/src/services/PermissionsService.ts +87 -0
  45. package/src/services/PlatformPayoutsService.ts +99 -0
  46. package/src/services/ProgrammesService.ts +117 -0
  47. package/src/services/ProvidersService.ts +189 -0
  48. package/src/services/PublicCalendarService.ts +1 -1
  49. package/src/services/PublicGenericActivityService.ts +49 -0
  50. package/src/services/PublicOrderItemsService.ts +0 -12
  51. package/src/services/PublicScheduledSessionsService.ts +12 -0
  52. package/src/services/PublicSessionsService.ts +6 -0
  53. package/src/services/PublicVenuesService.ts +37 -0
  54. package/src/services/RecentOrderActivityReportService.ts +87 -0
  55. package/src/services/RegisterReportService.ts +117 -0
  56. package/src/services/RescheduleLogService.ts +99 -0
  57. package/src/services/ScheduledSessionsSchedulesService.ts +123 -0
  58. package/src/services/ScheduledSessionsService.ts +273 -0
  59. package/src/services/SessionsService.ts +273 -0
  60. package/src/services/SlotOffersService.ts +99 -0
  61. package/src/services/SlotScheduleOffersService.ts +99 -0
  62. package/src/services/SlotSchedulesService.ts +129 -0
  63. package/src/services/SlotsService.ts +207 -0
  64. package/src/services/StripeAccountService.ts +99 -0
  65. package/src/services/SurveyAnswersService.ts +129 -0
  66. package/src/services/SurveyCompletionLogService.ts +123 -0
  67. package/src/services/SurveyQuestionsService.ts +93 -0
  68. package/src/services/SurveyReportExtendedService.ts +105 -0
  69. package/src/services/SurveysService.ts +123 -0
  70. package/src/services/TemplateDetailsService.ts +93 -0
  71. package/src/services/TemplateFieldPermissionsService.ts +93 -0
  72. package/src/services/TemplateOffersService.ts +93 -0
  73. package/src/services/TemplatesService.ts +93 -0
  74. package/src/services/TenantWebsiteSettingsService.ts +87 -0
  75. package/src/services/TenantsService.ts +93 -0
  76. package/src/services/TotalRevenueReportService.ts +111 -0
  77. package/src/services/UserPermissionsService.ts +93 -0
  78. package/src/services/UserProgrammesService.ts +111 -0
  79. package/src/services/UserProvidersService.ts +111 -0
  80. package/src/services/UsersService.ts +123 -0
  81. package/src/services/VenueManagersService.ts +111 -0
  82. package/src/services/VenuePerformanceService.ts +129 -0
  83. package/src/services/VenuesReportService.ts +93 -0
  84. package/src/services/VenuesService.ts +262 -0
  85. package/src/services/WaitlistActivityReportService.ts +123 -0
  86. package/src/services/WaitlistActivityService.ts +123 -0
  87. package/src/services/WaitlistOpportunityReportService.ts +117 -0
  88. package/src/services/WaitlistOpportunityService.ts +117 -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,
@@ -168,6 +170,7 @@ export class GenericActivityService {
168
170
  periodsOfWeek,
169
171
  additionalSupport,
170
172
  amenity,
173
+ programmeIds,
171
174
  pageNumber,
172
175
  take,
173
176
  skip,
@@ -240,6 +243,10 @@ export class GenericActivityService {
240
243
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
241
244
  */
242
245
  networkId?: string;
246
+ /**
247
+ * Gets or sets a value indicating whether the results should return a specific tenant status.
248
+ */
249
+ tenantStatus?: TenantStatus;
243
250
  /**
244
251
  * Gets or sets Lat.
245
252
  */
@@ -304,6 +311,10 @@ export class GenericActivityService {
304
311
  * Gets or sets AmenityId.
305
312
  */
306
313
  amenity?: Array<number>;
314
+ /**
315
+ * Gets or sets the Programme ids.
316
+ */
317
+ programmeIds?: Array<string>;
307
318
  /**
308
319
  * Gets or sets the page number for paged queries.
309
320
  */
@@ -368,6 +379,7 @@ export class GenericActivityService {
368
379
  ActivityId: activityId,
369
380
  ActivityIds: activityIds,
370
381
  NetworkId: networkId,
382
+ TenantStatus: tenantStatus,
371
383
  Lat: lat,
372
384
  Lng: lng,
373
385
  Distance: distance,
@@ -384,6 +396,7 @@ export class GenericActivityService {
384
396
  PeriodsOfWeek: periodsOfWeek,
385
397
  AdditionalSupport: additionalSupport,
386
398
  Amenity: amenity,
399
+ ProgrammeIds: programmeIds,
387
400
  PageNumber: pageNumber,
388
401
  Take: take,
389
402
  Skip: skip,
@@ -452,6 +465,7 @@ export class GenericActivityService {
452
465
  activityId,
453
466
  activityIds,
454
467
  networkId,
468
+ tenantStatus,
455
469
  lat,
456
470
  lng,
457
471
  distance,
@@ -468,6 +482,7 @@ export class GenericActivityService {
468
482
  periodsOfWeek,
469
483
  additionalSupport,
470
484
  amenity,
485
+ programmeIds,
471
486
  pageNumber,
472
487
  take,
473
488
  skip,
@@ -540,6 +555,10 @@ export class GenericActivityService {
540
555
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
541
556
  */
542
557
  networkId?: string;
558
+ /**
559
+ * Gets or sets a value indicating whether the results should return a specific tenant status.
560
+ */
561
+ tenantStatus?: TenantStatus;
543
562
  /**
544
563
  * Gets or sets Lat.
545
564
  */
@@ -604,6 +623,10 @@ export class GenericActivityService {
604
623
  * Gets or sets AmenityId.
605
624
  */
606
625
  amenity?: Array<number>;
626
+ /**
627
+ * Gets or sets the Programme ids.
628
+ */
629
+ programmeIds?: Array<string>;
607
630
  /**
608
631
  * Gets or sets the page number for paged queries.
609
632
  */
@@ -668,6 +691,292 @@ export class GenericActivityService {
668
691
  ActivityId: activityId,
669
692
  ActivityIds: activityIds,
670
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,
671
980
  Lat: lat,
672
981
  Lng: lng,
673
982
  Distance: distance,
@@ -684,6 +993,7 @@ export class GenericActivityService {
684
993
  PeriodsOfWeek: periodsOfWeek,
685
994
  AdditionalSupport: additionalSupport,
686
995
  Amenity: amenity,
996
+ ProgrammeIds: programmeIds,
687
997
  PageNumber: pageNumber,
688
998
  Take: take,
689
999
  Skip: skip,
@@ -725,6 +1035,7 @@ export class GenericActivityService {
725
1035
  activityId,
726
1036
  activityIds,
727
1037
  networkId,
1038
+ tenantStatus,
728
1039
  lat,
729
1040
  lng,
730
1041
  distance,
@@ -741,6 +1052,7 @@ export class GenericActivityService {
741
1052
  periodsOfWeek,
742
1053
  additionalSupport,
743
1054
  amenity,
1055
+ programmeIds,
744
1056
  pageNumber,
745
1057
  take,
746
1058
  skip,
@@ -813,6 +1125,10 @@ export class GenericActivityService {
813
1125
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
814
1126
  */
815
1127
  networkId?: string;
1128
+ /**
1129
+ * Gets or sets a value indicating whether the results should return a specific tenant status.
1130
+ */
1131
+ tenantStatus?: TenantStatus;
816
1132
  /**
817
1133
  * Gets or sets Lat.
818
1134
  */
@@ -877,6 +1193,10 @@ export class GenericActivityService {
877
1193
  * Gets or sets AmenityId.
878
1194
  */
879
1195
  amenity?: Array<number>;
1196
+ /**
1197
+ * Gets or sets the Programme ids.
1198
+ */
1199
+ programmeIds?: Array<string>;
880
1200
  /**
881
1201
  * Gets or sets the page number for paged queries.
882
1202
  */
@@ -941,6 +1261,7 @@ export class GenericActivityService {
941
1261
  ActivityId: activityId,
942
1262
  ActivityIds: activityIds,
943
1263
  NetworkId: networkId,
1264
+ TenantStatus: tenantStatus,
944
1265
  Lat: lat,
945
1266
  Lng: lng,
946
1267
  Distance: distance,
@@ -957,6 +1278,7 @@ export class GenericActivityService {
957
1278
  PeriodsOfWeek: periodsOfWeek,
958
1279
  AdditionalSupport: additionalSupport,
959
1280
  Amenity: amenity,
1281
+ ProgrammeIds: programmeIds,
960
1282
  PageNumber: pageNumber,
961
1283
  Take: take,
962
1284
  Skip: skip,
@@ -998,6 +1320,7 @@ export class GenericActivityService {
998
1320
  activityId,
999
1321
  activityIds,
1000
1322
  networkId,
1323
+ tenantStatus,
1001
1324
  lat,
1002
1325
  lng,
1003
1326
  distance,
@@ -1014,6 +1337,7 @@ export class GenericActivityService {
1014
1337
  periodsOfWeek,
1015
1338
  additionalSupport,
1016
1339
  amenity,
1340
+ programmeIds,
1017
1341
  pageNumber,
1018
1342
  take,
1019
1343
  skip,
@@ -1086,6 +1410,10 @@ export class GenericActivityService {
1086
1410
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
1087
1411
  */
1088
1412
  networkId?: string;
1413
+ /**
1414
+ * Gets or sets a value indicating whether the results should return a specific tenant status.
1415
+ */
1416
+ tenantStatus?: TenantStatus;
1089
1417
  /**
1090
1418
  * Gets or sets Lat.
1091
1419
  */
@@ -1150,6 +1478,10 @@ export class GenericActivityService {
1150
1478
  * Gets or sets AmenityId.
1151
1479
  */
1152
1480
  amenity?: Array<number>;
1481
+ /**
1482
+ * Gets or sets the Programme ids.
1483
+ */
1484
+ programmeIds?: Array<string>;
1153
1485
  /**
1154
1486
  * Gets or sets the page number for paged queries.
1155
1487
  */
@@ -1214,6 +1546,7 @@ export class GenericActivityService {
1214
1546
  ActivityId: activityId,
1215
1547
  ActivityIds: activityIds,
1216
1548
  NetworkId: networkId,
1549
+ TenantStatus: tenantStatus,
1217
1550
  Lat: lat,
1218
1551
  Lng: lng,
1219
1552
  Distance: distance,
@@ -1230,6 +1563,7 @@ export class GenericActivityService {
1230
1563
  PeriodsOfWeek: periodsOfWeek,
1231
1564
  AdditionalSupport: additionalSupport,
1232
1565
  Amenity: amenity,
1566
+ ProgrammeIds: programmeIds,
1233
1567
  PageNumber: pageNumber,
1234
1568
  Take: take,
1235
1569
  Skip: skip,
@@ -1271,6 +1605,7 @@ export class GenericActivityService {
1271
1605
  activityId,
1272
1606
  activityIds,
1273
1607
  networkId,
1608
+ tenantStatus,
1274
1609
  lat,
1275
1610
  lng,
1276
1611
  distance,
@@ -1287,6 +1622,7 @@ export class GenericActivityService {
1287
1622
  periodsOfWeek,
1288
1623
  additionalSupport,
1289
1624
  amenity,
1625
+ programmeIds,
1290
1626
  pageNumber,
1291
1627
  take,
1292
1628
  skip,
@@ -1359,6 +1695,10 @@ export class GenericActivityService {
1359
1695
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
1360
1696
  */
1361
1697
  networkId?: string;
1698
+ /**
1699
+ * Gets or sets a value indicating whether the results should return a specific tenant status.
1700
+ */
1701
+ tenantStatus?: TenantStatus;
1362
1702
  /**
1363
1703
  * Gets or sets Lat.
1364
1704
  */
@@ -1423,6 +1763,10 @@ export class GenericActivityService {
1423
1763
  * Gets or sets AmenityId.
1424
1764
  */
1425
1765
  amenity?: Array<number>;
1766
+ /**
1767
+ * Gets or sets the Programme ids.
1768
+ */
1769
+ programmeIds?: Array<string>;
1426
1770
  /**
1427
1771
  * Gets or sets the page number for paged queries.
1428
1772
  */
@@ -1487,6 +1831,7 @@ export class GenericActivityService {
1487
1831
  ActivityId: activityId,
1488
1832
  ActivityIds: activityIds,
1489
1833
  NetworkId: networkId,
1834
+ TenantStatus: tenantStatus,
1490
1835
  Lat: lat,
1491
1836
  Lng: lng,
1492
1837
  Distance: distance,
@@ -1503,6 +1848,7 @@ export class GenericActivityService {
1503
1848
  PeriodsOfWeek: periodsOfWeek,
1504
1849
  AdditionalSupport: additionalSupport,
1505
1850
  Amenity: amenity,
1851
+ ProgrammeIds: programmeIds,
1506
1852
  PageNumber: pageNumber,
1507
1853
  Take: take,
1508
1854
  Skip: skip,
@@ -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