reach-api-sdk 1.0.211 → 1.0.213
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 +562 -41
- package/dist/reach-sdk.js +246 -9
- package/package.json +1 -1
- package/src/apiClient.ts +3 -0
- package/src/definition/swagger.yaml +810 -17
- package/src/index.ts +6 -0
- package/src/models/Activity.ts +4 -0
- package/src/models/ActivityFacet.ts +26 -0
- package/src/models/ActivitySearchResponse.ts +23 -0
- package/src/models/ActivityTypeCategory.ts +18 -0
- package/src/models/Provider.ts +7 -0
- package/src/models/ProviderActivityLocation.ts +18 -0
- package/src/models/ProviderPatch.ts +2 -0
- package/src/models/TenantSetting.ts +4 -0
- package/src/models/TenantWebsiteSetting.ts +13 -0
- package/src/models/TenantWebsiteSettingPatch.ts +16 -0
- package/src/models/WebsiteHomepage.ts +12 -0
- package/src/services/ActivityTypeCategoryService.ts +133 -0
- package/src/services/CoursesService.ts +30 -0
- package/src/services/GenericActivityService.ts +78 -0
- package/src/services/PublicCoursesService.ts +12 -0
- package/src/services/PublicGenericActivityService.ts +350 -18
- package/src/services/PublicNetworksService.ts +6 -0
- package/src/services/PublicSessionsService.ts +12 -0
- package/src/services/SessionsService.ts +30 -0
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
5
|
+
import type { ActivityFacet } from '../models/ActivityFacet';
|
|
6
|
+
import type { ActivitySearchResponse } from '../models/ActivitySearchResponse';
|
|
6
7
|
import type { ActivityType } from '../models/ActivityType';
|
|
7
8
|
import type { Gender } from '../models/Gender';
|
|
8
9
|
import type { GenericActivity } from '../models/GenericActivity';
|
|
@@ -62,9 +63,11 @@ export class PublicGenericActivityService {
|
|
|
62
63
|
includeNextOpportunity,
|
|
63
64
|
featured,
|
|
64
65
|
_private,
|
|
66
|
+
includeActivityFacets,
|
|
65
67
|
searchGeoCenter,
|
|
66
68
|
openactiveActivityId,
|
|
67
69
|
activityId,
|
|
70
|
+
activityTypeCategoryId,
|
|
68
71
|
activityIds,
|
|
69
72
|
networkId,
|
|
70
73
|
tenantStatus,
|
|
@@ -143,6 +146,11 @@ export class PublicGenericActivityService {
|
|
|
143
146
|
* Gets or sets a value indicating does session is private or no.
|
|
144
147
|
*/
|
|
145
148
|
_private?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
151
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
152
|
+
*/
|
|
153
|
+
includeActivityFacets?: boolean;
|
|
146
154
|
/**
|
|
147
155
|
* Gets or sets SearchGeoCenter.
|
|
148
156
|
*/
|
|
@@ -155,6 +163,10 @@ export class PublicGenericActivityService {
|
|
|
155
163
|
* Gets or sets Activity id.
|
|
156
164
|
*/
|
|
157
165
|
activityId?: number;
|
|
166
|
+
/**
|
|
167
|
+
* Gets or sets Activity type category id.
|
|
168
|
+
*/
|
|
169
|
+
activityTypeCategoryId?: number;
|
|
158
170
|
/**
|
|
159
171
|
* Gets or sets the queryable session Activity ids.
|
|
160
172
|
*/
|
|
@@ -302,9 +314,11 @@ export class PublicGenericActivityService {
|
|
|
302
314
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
303
315
|
Featured: featured,
|
|
304
316
|
Private: _private,
|
|
317
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
305
318
|
SearchGeoCenter: searchGeoCenter,
|
|
306
319
|
OpenactiveActivityId: openactiveActivityId,
|
|
307
320
|
ActivityId: activityId,
|
|
321
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
308
322
|
ActivityIds: activityIds,
|
|
309
323
|
NetworkId: networkId,
|
|
310
324
|
TenantStatus: tenantStatus,
|
|
@@ -348,7 +362,7 @@ export class PublicGenericActivityService {
|
|
|
348
362
|
|
|
349
363
|
/**
|
|
350
364
|
* Get activities for a network.
|
|
351
|
-
* @returns
|
|
365
|
+
* @returns ActivitySearchResponse OK
|
|
352
366
|
* @throws ApiError
|
|
353
367
|
*/
|
|
354
368
|
public getPage1({
|
|
@@ -363,9 +377,11 @@ export class PublicGenericActivityService {
|
|
|
363
377
|
includeNextOpportunity,
|
|
364
378
|
featured,
|
|
365
379
|
_private,
|
|
380
|
+
includeActivityFacets,
|
|
366
381
|
searchGeoCenter,
|
|
367
382
|
openactiveActivityId,
|
|
368
383
|
activityId,
|
|
384
|
+
activityTypeCategoryId,
|
|
369
385
|
activityIds,
|
|
370
386
|
networkId,
|
|
371
387
|
tenantStatus,
|
|
@@ -443,6 +459,11 @@ export class PublicGenericActivityService {
|
|
|
443
459
|
* Gets or sets a value indicating does session is private or no.
|
|
444
460
|
*/
|
|
445
461
|
_private?: boolean;
|
|
462
|
+
/**
|
|
463
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
464
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
465
|
+
*/
|
|
466
|
+
includeActivityFacets?: boolean;
|
|
446
467
|
/**
|
|
447
468
|
* Gets or sets SearchGeoCenter.
|
|
448
469
|
*/
|
|
@@ -455,6 +476,10 @@ export class PublicGenericActivityService {
|
|
|
455
476
|
* Gets or sets Activity id.
|
|
456
477
|
*/
|
|
457
478
|
activityId?: number;
|
|
479
|
+
/**
|
|
480
|
+
* Gets or sets Activity type category id.
|
|
481
|
+
*/
|
|
482
|
+
activityTypeCategoryId?: number;
|
|
458
483
|
/**
|
|
459
484
|
* Gets or sets the queryable session Activity ids.
|
|
460
485
|
*/
|
|
@@ -583,7 +608,7 @@ export class PublicGenericActivityService {
|
|
|
583
608
|
* Gets or sets the sort order direction.
|
|
584
609
|
*/
|
|
585
610
|
sortOrderDirection?: SearchSortOrderDirection;
|
|
586
|
-
}): CancelablePromise<
|
|
611
|
+
}): CancelablePromise<ActivitySearchResponse> {
|
|
587
612
|
return this.httpRequest.request({
|
|
588
613
|
method: 'GET',
|
|
589
614
|
url: '/api/public/all-activities/network',
|
|
@@ -599,9 +624,11 @@ export class PublicGenericActivityService {
|
|
|
599
624
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
600
625
|
Featured: featured,
|
|
601
626
|
Private: _private,
|
|
627
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
602
628
|
SearchGeoCenter: searchGeoCenter,
|
|
603
629
|
OpenactiveActivityId: openactiveActivityId,
|
|
604
630
|
ActivityId: activityId,
|
|
631
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
605
632
|
ActivityIds: activityIds,
|
|
606
633
|
NetworkId: networkId,
|
|
607
634
|
TenantStatus: tenantStatus,
|
|
@@ -661,9 +688,11 @@ export class PublicGenericActivityService {
|
|
|
661
688
|
includeNextOpportunity,
|
|
662
689
|
featured,
|
|
663
690
|
_private,
|
|
691
|
+
includeActivityFacets,
|
|
664
692
|
searchGeoCenter,
|
|
665
693
|
openactiveActivityId,
|
|
666
694
|
activityId,
|
|
695
|
+
activityTypeCategoryId,
|
|
667
696
|
activityIds,
|
|
668
697
|
networkId,
|
|
669
698
|
tenantStatus,
|
|
@@ -745,6 +774,11 @@ export class PublicGenericActivityService {
|
|
|
745
774
|
* Gets or sets a value indicating does session is private or no.
|
|
746
775
|
*/
|
|
747
776
|
_private?: boolean;
|
|
777
|
+
/**
|
|
778
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
779
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
780
|
+
*/
|
|
781
|
+
includeActivityFacets?: boolean;
|
|
748
782
|
/**
|
|
749
783
|
* Gets or sets SearchGeoCenter.
|
|
750
784
|
*/
|
|
@@ -757,6 +791,10 @@ export class PublicGenericActivityService {
|
|
|
757
791
|
* Gets or sets Activity id.
|
|
758
792
|
*/
|
|
759
793
|
activityId?: number;
|
|
794
|
+
/**
|
|
795
|
+
* Gets or sets Activity type category id.
|
|
796
|
+
*/
|
|
797
|
+
activityTypeCategoryId?: number;
|
|
760
798
|
/**
|
|
761
799
|
* Gets or sets the queryable session Activity ids.
|
|
762
800
|
*/
|
|
@@ -904,9 +942,11 @@ export class PublicGenericActivityService {
|
|
|
904
942
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
905
943
|
Featured: featured,
|
|
906
944
|
Private: _private,
|
|
945
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
907
946
|
SearchGeoCenter: searchGeoCenter,
|
|
908
947
|
OpenactiveActivityId: openactiveActivityId,
|
|
909
948
|
ActivityId: activityId,
|
|
949
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
910
950
|
ActivityIds: activityIds,
|
|
911
951
|
NetworkId: networkId,
|
|
912
952
|
TenantStatus: tenantStatus,
|
|
@@ -949,41 +989,307 @@ export class PublicGenericActivityService {
|
|
|
949
989
|
}
|
|
950
990
|
|
|
951
991
|
/**
|
|
952
|
-
* Retrieves
|
|
953
|
-
*
|
|
992
|
+
* Retrieves activity facets with counts for the given location/distance. Call this first after user selects location,
|
|
993
|
+
* then use the activity ids to filter the main search (network or network/optimized).
|
|
994
|
+
* @returns ActivityFacet OK
|
|
954
995
|
* @throws ApiError
|
|
955
996
|
*/
|
|
956
997
|
public getActivityFacets({
|
|
998
|
+
wildcard,
|
|
999
|
+
venueId,
|
|
1000
|
+
providerId,
|
|
1001
|
+
programmeId,
|
|
1002
|
+
online,
|
|
1003
|
+
archived,
|
|
1004
|
+
deleted,
|
|
1005
|
+
activityType,
|
|
1006
|
+
includeNextOpportunity,
|
|
1007
|
+
featured,
|
|
1008
|
+
_private,
|
|
1009
|
+
includeActivityFacets,
|
|
1010
|
+
searchGeoCenter,
|
|
1011
|
+
openactiveActivityId,
|
|
1012
|
+
activityId,
|
|
1013
|
+
activityTypeCategoryId,
|
|
1014
|
+
activityIds,
|
|
1015
|
+
networkId,
|
|
1016
|
+
tenantStatus,
|
|
957
1017
|
lat,
|
|
958
1018
|
lng,
|
|
959
|
-
|
|
960
|
-
|
|
1019
|
+
distance,
|
|
1020
|
+
minAgeLte,
|
|
1021
|
+
minAgeGte,
|
|
1022
|
+
maxAgeLte,
|
|
1023
|
+
maxAgeGte,
|
|
1024
|
+
priceTotalGte,
|
|
1025
|
+
priceTotalLte,
|
|
1026
|
+
timeOfDay,
|
|
1027
|
+
startDateTimeGte,
|
|
1028
|
+
endDateTimeLte,
|
|
1029
|
+
gender,
|
|
1030
|
+
periodsOfWeek,
|
|
1031
|
+
additionalSupport,
|
|
1032
|
+
amenity,
|
|
1033
|
+
venueTypeIds,
|
|
1034
|
+
programmeIds,
|
|
1035
|
+
pageNumber,
|
|
1036
|
+
take,
|
|
1037
|
+
skip,
|
|
1038
|
+
limitListRequests,
|
|
1039
|
+
tenantId,
|
|
1040
|
+
modifiedById,
|
|
1041
|
+
modifiedByIds,
|
|
1042
|
+
dateCreatedGte,
|
|
1043
|
+
dateCreatedLte,
|
|
1044
|
+
isLive,
|
|
1045
|
+
sortOrderDirection,
|
|
961
1046
|
}: {
|
|
962
1047
|
/**
|
|
963
|
-
* Gets or sets
|
|
1048
|
+
* Gets or sets the wildcard for use in a query search.
|
|
1049
|
+
*/
|
|
1050
|
+
wildcard?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Gets or sets the queryable Venue Id.
|
|
1053
|
+
*/
|
|
1054
|
+
venueId?: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Gets or sets the queryable Provider Id.
|
|
1057
|
+
*/
|
|
1058
|
+
providerId?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Gets or sets the queryable Programme Id.
|
|
1061
|
+
*/
|
|
1062
|
+
programmeId?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* Gets or sets a value indicating whether return online activities.
|
|
1065
|
+
*/
|
|
1066
|
+
online?: boolean;
|
|
1067
|
+
/**
|
|
1068
|
+
* Gets or sets a value indicating whether to include archived activities.
|
|
1069
|
+
*/
|
|
1070
|
+
archived?: boolean;
|
|
1071
|
+
/**
|
|
1072
|
+
* Gets or sets a value indicating whether to include deleted activities.
|
|
1073
|
+
*/
|
|
1074
|
+
deleted?: boolean;
|
|
1075
|
+
/**
|
|
1076
|
+
* Gets or sets the activity type.
|
|
1077
|
+
*/
|
|
1078
|
+
activityType?: ActivityType;
|
|
1079
|
+
/**
|
|
1080
|
+
* Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
1081
|
+
*/
|
|
1082
|
+
includeNextOpportunity?: boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
1085
|
+
*/
|
|
1086
|
+
featured?: boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* Gets or sets a value indicating does session is private or no.
|
|
1089
|
+
*/
|
|
1090
|
+
_private?: boolean;
|
|
1091
|
+
/**
|
|
1092
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1093
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1094
|
+
*/
|
|
1095
|
+
includeActivityFacets?: boolean;
|
|
1096
|
+
/**
|
|
1097
|
+
* Gets or sets SearchGeoCenter.
|
|
1098
|
+
*/
|
|
1099
|
+
searchGeoCenter?: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Gets or sets OpenactiveActivityId.
|
|
1102
|
+
*/
|
|
1103
|
+
openactiveActivityId?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Gets or sets Activity id.
|
|
1106
|
+
*/
|
|
1107
|
+
activityId?: number;
|
|
1108
|
+
/**
|
|
1109
|
+
* Gets or sets Activity type category id.
|
|
1110
|
+
*/
|
|
1111
|
+
activityTypeCategoryId?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* Gets or sets the queryable session Activity ids.
|
|
1114
|
+
*/
|
|
1115
|
+
activityIds?: Array<number>;
|
|
1116
|
+
/**
|
|
1117
|
+
* Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
1118
|
+
*/
|
|
1119
|
+
networkId?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Gets or sets a value indicating whether the results should return a specific tenant status.
|
|
1122
|
+
*/
|
|
1123
|
+
tenantStatus?: TenantStatus;
|
|
1124
|
+
/**
|
|
1125
|
+
* Gets or sets Lat.
|
|
964
1126
|
*/
|
|
965
1127
|
lat?: number;
|
|
966
1128
|
/**
|
|
967
|
-
* Gets or sets
|
|
1129
|
+
* Gets or sets Lng.
|
|
968
1130
|
*/
|
|
969
1131
|
lng?: number;
|
|
970
1132
|
/**
|
|
971
|
-
* Gets or sets
|
|
1133
|
+
* Gets or sets Distance.
|
|
972
1134
|
*/
|
|
973
|
-
|
|
1135
|
+
distance?: number;
|
|
974
1136
|
/**
|
|
975
|
-
* Gets or sets
|
|
1137
|
+
* Gets or sets MinAgeLTE.
|
|
976
1138
|
*/
|
|
977
|
-
|
|
978
|
-
|
|
1139
|
+
minAgeLte?: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* Gets or sets MinAgeGTE.
|
|
1142
|
+
*/
|
|
1143
|
+
minAgeGte?: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* Gets or sets MaxAgeLTE.
|
|
1146
|
+
*/
|
|
1147
|
+
maxAgeLte?: number;
|
|
1148
|
+
/**
|
|
1149
|
+
* Gets or sets MaxAgeGTE.
|
|
1150
|
+
*/
|
|
1151
|
+
maxAgeGte?: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* Gets or sets PriceTotalGTE.
|
|
1154
|
+
*/
|
|
1155
|
+
priceTotalGte?: number;
|
|
1156
|
+
/**
|
|
1157
|
+
* Gets or sets PriceTotalLTE.
|
|
1158
|
+
*/
|
|
1159
|
+
priceTotalLte?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* Gets or sets TimeOfDay.
|
|
1162
|
+
*/
|
|
1163
|
+
timeOfDay?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Gets or sets StartDateTimeGTE.
|
|
1166
|
+
*/
|
|
1167
|
+
startDateTimeGte?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Gets or sets EndDateTimeLTE.
|
|
1170
|
+
*/
|
|
1171
|
+
endDateTimeLte?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* Gets or sets Gender.
|
|
1174
|
+
*/
|
|
1175
|
+
gender?: Gender;
|
|
1176
|
+
/**
|
|
1177
|
+
* Gets or sets PeriodsOfWeek.
|
|
1178
|
+
*/
|
|
1179
|
+
periodsOfWeek?: PeriodsOfWeek;
|
|
1180
|
+
/**
|
|
1181
|
+
* Gets or sets AdditionalSupport.
|
|
1182
|
+
*/
|
|
1183
|
+
additionalSupport?: Array<string>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Gets or sets AmenityId.
|
|
1186
|
+
*/
|
|
1187
|
+
amenity?: Array<number>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Gets or sets a list of venue type ids.
|
|
1190
|
+
*/
|
|
1191
|
+
venueTypeIds?: Array<string>;
|
|
1192
|
+
/**
|
|
1193
|
+
* Gets or sets the Programme ids.
|
|
1194
|
+
*/
|
|
1195
|
+
programmeIds?: Array<string>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Gets or sets the page number for paged queries.
|
|
1198
|
+
*/
|
|
1199
|
+
pageNumber?: number;
|
|
1200
|
+
/**
|
|
1201
|
+
* Gets or sets the result count limit, always applicable Paged queries, only applicable to List queries if LimitListRequests is set to true.
|
|
1202
|
+
*/
|
|
1203
|
+
take?: number;
|
|
1204
|
+
/**
|
|
1205
|
+
* Gets or sets how much items to skip from begining of db table, when this is set page is always 1.
|
|
1206
|
+
*/
|
|
1207
|
+
skip?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* Gets or sets a value indicating whether to apply a limit to the number of results returned in a GetList request.
|
|
1210
|
+
*/
|
|
1211
|
+
limitListRequests?: boolean;
|
|
1212
|
+
/**
|
|
1213
|
+
* Gets or sets the Tenant Id.
|
|
1214
|
+
*/
|
|
1215
|
+
tenantId?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* Gets or sets the Modifed By Id.
|
|
1218
|
+
*/
|
|
1219
|
+
modifiedById?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Gets or sets the Modifed By Ids.
|
|
1222
|
+
*/
|
|
1223
|
+
modifiedByIds?: Array<string>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Gets or sets the Date Created greater than equal to.
|
|
1226
|
+
*/
|
|
1227
|
+
dateCreatedGte?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Gets or sets the Date Created less than equal to.
|
|
1230
|
+
*/
|
|
1231
|
+
dateCreatedLte?: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Gets or sets the queryable only is live status.
|
|
1234
|
+
*/
|
|
1235
|
+
isLive?: boolean;
|
|
1236
|
+
/**
|
|
1237
|
+
* Gets or sets the sort order direction.
|
|
1238
|
+
*/
|
|
1239
|
+
sortOrderDirection?: SearchSortOrderDirection;
|
|
1240
|
+
}): CancelablePromise<Array<ActivityFacet>> {
|
|
979
1241
|
return this.httpRequest.request({
|
|
980
1242
|
method: 'GET',
|
|
981
1243
|
url: '/api/public/all-activities/activity-facets',
|
|
982
1244
|
query: {
|
|
1245
|
+
Wildcard: wildcard,
|
|
1246
|
+
VenueId: venueId,
|
|
1247
|
+
ProviderId: providerId,
|
|
1248
|
+
ProgrammeId: programmeId,
|
|
1249
|
+
Online: online,
|
|
1250
|
+
Archived: archived,
|
|
1251
|
+
Deleted: deleted,
|
|
1252
|
+
ActivityType: activityType,
|
|
1253
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
1254
|
+
Featured: featured,
|
|
1255
|
+
Private: _private,
|
|
1256
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1257
|
+
SearchGeoCenter: searchGeoCenter,
|
|
1258
|
+
OpenactiveActivityId: openactiveActivityId,
|
|
1259
|
+
ActivityId: activityId,
|
|
1260
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1261
|
+
ActivityIds: activityIds,
|
|
1262
|
+
NetworkId: networkId,
|
|
1263
|
+
TenantStatus: tenantStatus,
|
|
983
1264
|
Lat: lat,
|
|
984
1265
|
Lng: lng,
|
|
985
|
-
|
|
986
|
-
|
|
1266
|
+
Distance: distance,
|
|
1267
|
+
MinAgeLTE: minAgeLte,
|
|
1268
|
+
MinAgeGTE: minAgeGte,
|
|
1269
|
+
MaxAgeLTE: maxAgeLte,
|
|
1270
|
+
MaxAgeGTE: maxAgeGte,
|
|
1271
|
+
PriceTotalGTE: priceTotalGte,
|
|
1272
|
+
PriceTotalLTE: priceTotalLte,
|
|
1273
|
+
TimeOfDay: timeOfDay,
|
|
1274
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
1275
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
1276
|
+
Gender: gender,
|
|
1277
|
+
PeriodsOfWeek: periodsOfWeek,
|
|
1278
|
+
AdditionalSupport: additionalSupport,
|
|
1279
|
+
Amenity: amenity,
|
|
1280
|
+
VenueTypeIds: venueTypeIds,
|
|
1281
|
+
ProgrammeIds: programmeIds,
|
|
1282
|
+
PageNumber: pageNumber,
|
|
1283
|
+
Take: take,
|
|
1284
|
+
Skip: skip,
|
|
1285
|
+
LimitListRequests: limitListRequests,
|
|
1286
|
+
TenantId: tenantId,
|
|
1287
|
+
ModifiedById: modifiedById,
|
|
1288
|
+
ModifiedByIds: modifiedByIds,
|
|
1289
|
+
DateCreatedGTE: dateCreatedGte,
|
|
1290
|
+
DateCreatedLTE: dateCreatedLte,
|
|
1291
|
+
IsLive: isLive,
|
|
1292
|
+
SortOrderDirection: sortOrderDirection,
|
|
987
1293
|
},
|
|
988
1294
|
errors: {
|
|
989
1295
|
400: `Bad Request`,
|
|
@@ -997,7 +1303,7 @@ export class PublicGenericActivityService {
|
|
|
997
1303
|
* Retrieves a paged list of activities using optimized raw SQL queries.
|
|
998
1304
|
* This endpoint loads all related data (images, offers, sessions) in a single query using JSON aggregation,
|
|
999
1305
|
* eliminating the overhead of OnPagedItemsLoaded method. Returns only minimal required fields.
|
|
1000
|
-
* @returns
|
|
1306
|
+
* @returns ActivitySearchResponse OK
|
|
1001
1307
|
* @throws ApiError
|
|
1002
1308
|
*/
|
|
1003
1309
|
public getPageOptimized({
|
|
@@ -1012,9 +1318,11 @@ export class PublicGenericActivityService {
|
|
|
1012
1318
|
includeNextOpportunity,
|
|
1013
1319
|
featured,
|
|
1014
1320
|
_private,
|
|
1321
|
+
includeActivityFacets,
|
|
1015
1322
|
searchGeoCenter,
|
|
1016
1323
|
openactiveActivityId,
|
|
1017
1324
|
activityId,
|
|
1325
|
+
activityTypeCategoryId,
|
|
1018
1326
|
activityIds,
|
|
1019
1327
|
networkId,
|
|
1020
1328
|
tenantStatus,
|
|
@@ -1092,6 +1400,11 @@ export class PublicGenericActivityService {
|
|
|
1092
1400
|
* Gets or sets a value indicating does session is private or no.
|
|
1093
1401
|
*/
|
|
1094
1402
|
_private?: boolean;
|
|
1403
|
+
/**
|
|
1404
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1405
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1406
|
+
*/
|
|
1407
|
+
includeActivityFacets?: boolean;
|
|
1095
1408
|
/**
|
|
1096
1409
|
* Gets or sets SearchGeoCenter.
|
|
1097
1410
|
*/
|
|
@@ -1104,6 +1417,10 @@ export class PublicGenericActivityService {
|
|
|
1104
1417
|
* Gets or sets Activity id.
|
|
1105
1418
|
*/
|
|
1106
1419
|
activityId?: number;
|
|
1420
|
+
/**
|
|
1421
|
+
* Gets or sets Activity type category id.
|
|
1422
|
+
*/
|
|
1423
|
+
activityTypeCategoryId?: number;
|
|
1107
1424
|
/**
|
|
1108
1425
|
* Gets or sets the queryable session Activity ids.
|
|
1109
1426
|
*/
|
|
@@ -1232,7 +1549,7 @@ export class PublicGenericActivityService {
|
|
|
1232
1549
|
* Gets or sets the sort order direction.
|
|
1233
1550
|
*/
|
|
1234
1551
|
sortOrderDirection?: SearchSortOrderDirection;
|
|
1235
|
-
}): CancelablePromise<
|
|
1552
|
+
}): CancelablePromise<ActivitySearchResponse> {
|
|
1236
1553
|
return this.httpRequest.request({
|
|
1237
1554
|
method: 'GET',
|
|
1238
1555
|
url: '/api/public/all-activities/network/optimized',
|
|
@@ -1248,9 +1565,11 @@ export class PublicGenericActivityService {
|
|
|
1248
1565
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1249
1566
|
Featured: featured,
|
|
1250
1567
|
Private: _private,
|
|
1568
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1251
1569
|
SearchGeoCenter: searchGeoCenter,
|
|
1252
1570
|
OpenactiveActivityId: openactiveActivityId,
|
|
1253
1571
|
ActivityId: activityId,
|
|
1572
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1254
1573
|
ActivityIds: activityIds,
|
|
1255
1574
|
NetworkId: networkId,
|
|
1256
1575
|
TenantStatus: tenantStatus,
|
|
@@ -1310,9 +1629,11 @@ export class PublicGenericActivityService {
|
|
|
1310
1629
|
includeNextOpportunity,
|
|
1311
1630
|
featured,
|
|
1312
1631
|
_private,
|
|
1632
|
+
includeActivityFacets,
|
|
1313
1633
|
searchGeoCenter,
|
|
1314
1634
|
openactiveActivityId,
|
|
1315
1635
|
activityId,
|
|
1636
|
+
activityTypeCategoryId,
|
|
1316
1637
|
activityIds,
|
|
1317
1638
|
networkId,
|
|
1318
1639
|
tenantStatus,
|
|
@@ -1394,6 +1715,11 @@ export class PublicGenericActivityService {
|
|
|
1394
1715
|
* Gets or sets a value indicating does session is private or no.
|
|
1395
1716
|
*/
|
|
1396
1717
|
_private?: boolean;
|
|
1718
|
+
/**
|
|
1719
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1720
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1721
|
+
*/
|
|
1722
|
+
includeActivityFacets?: boolean;
|
|
1397
1723
|
/**
|
|
1398
1724
|
* Gets or sets SearchGeoCenter.
|
|
1399
1725
|
*/
|
|
@@ -1406,6 +1732,10 @@ export class PublicGenericActivityService {
|
|
|
1406
1732
|
* Gets or sets Activity id.
|
|
1407
1733
|
*/
|
|
1408
1734
|
activityId?: number;
|
|
1735
|
+
/**
|
|
1736
|
+
* Gets or sets Activity type category id.
|
|
1737
|
+
*/
|
|
1738
|
+
activityTypeCategoryId?: number;
|
|
1409
1739
|
/**
|
|
1410
1740
|
* Gets or sets the queryable session Activity ids.
|
|
1411
1741
|
*/
|
|
@@ -1553,9 +1883,11 @@ export class PublicGenericActivityService {
|
|
|
1553
1883
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1554
1884
|
Featured: featured,
|
|
1555
1885
|
Private: _private,
|
|
1886
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1556
1887
|
SearchGeoCenter: searchGeoCenter,
|
|
1557
1888
|
OpenactiveActivityId: openactiveActivityId,
|
|
1558
1889
|
ActivityId: activityId,
|
|
1890
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1559
1891
|
ActivityIds: activityIds,
|
|
1560
1892
|
NetworkId: networkId,
|
|
1561
1893
|
TenantStatus: tenantStatus,
|
|
@@ -30,6 +30,7 @@ export class PublicNetworksService {
|
|
|
30
30
|
featured,
|
|
31
31
|
_private,
|
|
32
32
|
programmeId,
|
|
33
|
+
providerId,
|
|
33
34
|
includeNextOpportunity,
|
|
34
35
|
allowTemplating,
|
|
35
36
|
archived,
|
|
@@ -104,6 +105,10 @@ export class PublicNetworksService {
|
|
|
104
105
|
* Gets or sets the queryable Programme Id.
|
|
105
106
|
*/
|
|
106
107
|
programmeId?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the queryable Provider Id.
|
|
110
|
+
*/
|
|
111
|
+
providerId?: string;
|
|
107
112
|
/**
|
|
108
113
|
* Gets or sets a value indicating whether to inlcude the sessions next availability.
|
|
109
114
|
*/
|
|
@@ -251,6 +256,7 @@ export class PublicNetworksService {
|
|
|
251
256
|
Featured: featured,
|
|
252
257
|
Private: _private,
|
|
253
258
|
ProgrammeId: programmeId,
|
|
259
|
+
ProviderId: providerId,
|
|
254
260
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
255
261
|
AllowTemplating: allowTemplating,
|
|
256
262
|
Archived: archived,
|
|
@@ -100,6 +100,7 @@ export class PublicSessionsService {
|
|
|
100
100
|
featured,
|
|
101
101
|
_private,
|
|
102
102
|
programmeId,
|
|
103
|
+
providerId,
|
|
103
104
|
includeNextOpportunity,
|
|
104
105
|
allowTemplating,
|
|
105
106
|
archived,
|
|
@@ -175,6 +176,10 @@ export class PublicSessionsService {
|
|
|
175
176
|
* Gets or sets the queryable Programme Id.
|
|
176
177
|
*/
|
|
177
178
|
programmeId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* Gets or sets the queryable Provider Id.
|
|
181
|
+
*/
|
|
182
|
+
providerId?: string;
|
|
178
183
|
/**
|
|
179
184
|
* Gets or sets a value indicating whether to inlcude the sessions next availability.
|
|
180
185
|
*/
|
|
@@ -325,6 +330,7 @@ export class PublicSessionsService {
|
|
|
325
330
|
Featured: featured,
|
|
326
331
|
Private: _private,
|
|
327
332
|
ProgrammeId: programmeId,
|
|
333
|
+
ProviderId: providerId,
|
|
328
334
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
329
335
|
AllowTemplating: allowTemplating,
|
|
330
336
|
Archived: archived,
|
|
@@ -865,6 +871,7 @@ export class PublicSessionsService {
|
|
|
865
871
|
featured,
|
|
866
872
|
_private,
|
|
867
873
|
programmeId,
|
|
874
|
+
providerId,
|
|
868
875
|
includeNextOpportunity,
|
|
869
876
|
allowTemplating,
|
|
870
877
|
archived,
|
|
@@ -943,6 +950,10 @@ export class PublicSessionsService {
|
|
|
943
950
|
* Gets or sets the queryable Programme Id.
|
|
944
951
|
*/
|
|
945
952
|
programmeId?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Gets or sets the queryable Provider Id.
|
|
955
|
+
*/
|
|
956
|
+
providerId?: string;
|
|
946
957
|
/**
|
|
947
958
|
* Gets or sets a value indicating whether to inlcude the sessions next availability.
|
|
948
959
|
*/
|
|
@@ -1093,6 +1104,7 @@ export class PublicSessionsService {
|
|
|
1093
1104
|
Featured: featured,
|
|
1094
1105
|
Private: _private,
|
|
1095
1106
|
ProgrammeId: programmeId,
|
|
1107
|
+
ProviderId: providerId,
|
|
1096
1108
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1097
1109
|
AllowTemplating: allowTemplating,
|
|
1098
1110
|
Archived: archived,
|