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
package/dist/reach-sdk.js
CHANGED
|
@@ -929,6 +929,74 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
929
929
|
}
|
|
930
930
|
});
|
|
931
931
|
}
|
|
932
|
+
}class ActivityTypeCategoryService {
|
|
933
|
+
constructor(httpRequest) {
|
|
934
|
+
this.httpRequest = httpRequest;
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
* Gets a Reach.Models.ActivityTypeCategory by its Id.
|
|
938
|
+
* @returns ActivityTypeCategory OK
|
|
939
|
+
* @throws ApiError
|
|
940
|
+
*/
|
|
941
|
+
getObject({
|
|
942
|
+
id
|
|
943
|
+
}) {
|
|
944
|
+
return this.httpRequest.request({
|
|
945
|
+
method: "GET",
|
|
946
|
+
url: "/api/activity-type-categories/{id}",
|
|
947
|
+
path: {
|
|
948
|
+
id
|
|
949
|
+
},
|
|
950
|
+
errors: {
|
|
951
|
+
400: `Bad Request`,
|
|
952
|
+
422: `Unprocessable Content`,
|
|
953
|
+
500: `Internal Server Error`
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* Gets a list of Reach.Models.Activity.
|
|
959
|
+
* @returns ActivityTypeCategory OK
|
|
960
|
+
* @throws ApiError
|
|
961
|
+
*/
|
|
962
|
+
getList({
|
|
963
|
+
name,
|
|
964
|
+
pageNumber,
|
|
965
|
+
take,
|
|
966
|
+
skip,
|
|
967
|
+
limitListRequests,
|
|
968
|
+
tenantId,
|
|
969
|
+
modifiedById,
|
|
970
|
+
modifiedByIds,
|
|
971
|
+
dateCreatedGte,
|
|
972
|
+
dateCreatedLte,
|
|
973
|
+
isLive,
|
|
974
|
+
sortOrderDirection
|
|
975
|
+
}) {
|
|
976
|
+
return this.httpRequest.request({
|
|
977
|
+
method: "GET",
|
|
978
|
+
url: "/api/activity-type-categories",
|
|
979
|
+
query: {
|
|
980
|
+
Name: name,
|
|
981
|
+
PageNumber: pageNumber,
|
|
982
|
+
Take: take,
|
|
983
|
+
Skip: skip,
|
|
984
|
+
LimitListRequests: limitListRequests,
|
|
985
|
+
TenantId: tenantId,
|
|
986
|
+
ModifiedById: modifiedById,
|
|
987
|
+
ModifiedByIds: modifiedByIds,
|
|
988
|
+
DateCreatedGTE: dateCreatedGte,
|
|
989
|
+
DateCreatedLTE: dateCreatedLte,
|
|
990
|
+
IsLive: isLive,
|
|
991
|
+
SortOrderDirection: sortOrderDirection
|
|
992
|
+
},
|
|
993
|
+
errors: {
|
|
994
|
+
400: `Bad Request`,
|
|
995
|
+
422: `Unprocessable Content`,
|
|
996
|
+
500: `Internal Server Error`
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
}
|
|
932
1000
|
}class AmenityService {
|
|
933
1001
|
constructor(httpRequest) {
|
|
934
1002
|
this.httpRequest = httpRequest;
|
|
@@ -3652,6 +3720,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3652
3720
|
ids,
|
|
3653
3721
|
venueId,
|
|
3654
3722
|
programmeId,
|
|
3723
|
+
providerId,
|
|
3655
3724
|
surveyId,
|
|
3656
3725
|
cancellationPolicyId,
|
|
3657
3726
|
paymentPolicyId,
|
|
@@ -3700,6 +3769,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3700
3769
|
Ids: ids,
|
|
3701
3770
|
VenueId: venueId,
|
|
3702
3771
|
ProgrammeId: programmeId,
|
|
3772
|
+
ProviderId: providerId,
|
|
3703
3773
|
SurveyId: surveyId,
|
|
3704
3774
|
CancellationPolicyId: cancellationPolicyId,
|
|
3705
3775
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -3820,6 +3890,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3820
3890
|
ids,
|
|
3821
3891
|
venueId,
|
|
3822
3892
|
programmeId,
|
|
3893
|
+
providerId,
|
|
3823
3894
|
surveyId,
|
|
3824
3895
|
cancellationPolicyId,
|
|
3825
3896
|
paymentPolicyId,
|
|
@@ -3868,6 +3939,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3868
3939
|
Ids: ids,
|
|
3869
3940
|
VenueId: venueId,
|
|
3870
3941
|
ProgrammeId: programmeId,
|
|
3942
|
+
ProviderId: providerId,
|
|
3871
3943
|
SurveyId: surveyId,
|
|
3872
3944
|
CancellationPolicyId: cancellationPolicyId,
|
|
3873
3945
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -3925,6 +3997,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3925
3997
|
ids,
|
|
3926
3998
|
venueId,
|
|
3927
3999
|
programmeId,
|
|
4000
|
+
providerId,
|
|
3928
4001
|
surveyId,
|
|
3929
4002
|
cancellationPolicyId,
|
|
3930
4003
|
paymentPolicyId,
|
|
@@ -3973,6 +4046,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
3973
4046
|
Ids: ids,
|
|
3974
4047
|
VenueId: venueId,
|
|
3975
4048
|
ProgrammeId: programmeId,
|
|
4049
|
+
ProviderId: providerId,
|
|
3976
4050
|
SurveyId: surveyId,
|
|
3977
4051
|
CancellationPolicyId: cancellationPolicyId,
|
|
3978
4052
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -4030,6 +4104,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4030
4104
|
ids,
|
|
4031
4105
|
venueId,
|
|
4032
4106
|
programmeId,
|
|
4107
|
+
providerId,
|
|
4033
4108
|
surveyId,
|
|
4034
4109
|
cancellationPolicyId,
|
|
4035
4110
|
paymentPolicyId,
|
|
@@ -4078,6 +4153,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4078
4153
|
Ids: ids,
|
|
4079
4154
|
VenueId: venueId,
|
|
4080
4155
|
ProgrammeId: programmeId,
|
|
4156
|
+
ProviderId: providerId,
|
|
4081
4157
|
SurveyId: surveyId,
|
|
4082
4158
|
CancellationPolicyId: cancellationPolicyId,
|
|
4083
4159
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -4135,6 +4211,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4135
4211
|
ids,
|
|
4136
4212
|
venueId,
|
|
4137
4213
|
programmeId,
|
|
4214
|
+
providerId,
|
|
4138
4215
|
surveyId,
|
|
4139
4216
|
cancellationPolicyId,
|
|
4140
4217
|
paymentPolicyId,
|
|
@@ -4183,6 +4260,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4183
4260
|
Ids: ids,
|
|
4184
4261
|
VenueId: venueId,
|
|
4185
4262
|
ProgrammeId: programmeId,
|
|
4263
|
+
ProviderId: providerId,
|
|
4186
4264
|
SurveyId: surveyId,
|
|
4187
4265
|
CancellationPolicyId: cancellationPolicyId,
|
|
4188
4266
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -9818,9 +9896,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9818
9896
|
includeNextOpportunity,
|
|
9819
9897
|
featured,
|
|
9820
9898
|
_private,
|
|
9899
|
+
includeActivityFacets,
|
|
9821
9900
|
searchGeoCenter,
|
|
9822
9901
|
openactiveActivityId,
|
|
9823
9902
|
activityId,
|
|
9903
|
+
activityTypeCategoryId,
|
|
9824
9904
|
activityIds,
|
|
9825
9905
|
networkId,
|
|
9826
9906
|
tenantStatus,
|
|
@@ -9869,9 +9949,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9869
9949
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
9870
9950
|
Featured: featured,
|
|
9871
9951
|
Private: _private,
|
|
9952
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
9872
9953
|
SearchGeoCenter: searchGeoCenter,
|
|
9873
9954
|
OpenactiveActivityId: openactiveActivityId,
|
|
9874
9955
|
ActivityId: activityId,
|
|
9956
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
9875
9957
|
ActivityIds: activityIds,
|
|
9876
9958
|
NetworkId: networkId,
|
|
9877
9959
|
TenantStatus: tenantStatus,
|
|
@@ -9950,9 +10032,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
9950
10032
|
includeNextOpportunity,
|
|
9951
10033
|
featured,
|
|
9952
10034
|
_private,
|
|
10035
|
+
includeActivityFacets,
|
|
9953
10036
|
searchGeoCenter,
|
|
9954
10037
|
openactiveActivityId,
|
|
9955
10038
|
activityId,
|
|
10039
|
+
activityTypeCategoryId,
|
|
9956
10040
|
activityIds,
|
|
9957
10041
|
networkId,
|
|
9958
10042
|
tenantStatus,
|
|
@@ -10001,9 +10085,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10001
10085
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
10002
10086
|
Featured: featured,
|
|
10003
10087
|
Private: _private,
|
|
10088
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
10004
10089
|
SearchGeoCenter: searchGeoCenter,
|
|
10005
10090
|
OpenactiveActivityId: openactiveActivityId,
|
|
10006
10091
|
ActivityId: activityId,
|
|
10092
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
10007
10093
|
ActivityIds: activityIds,
|
|
10008
10094
|
NetworkId: networkId,
|
|
10009
10095
|
TenantStatus: tenantStatus,
|
|
@@ -10061,9 +10147,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10061
10147
|
includeNextOpportunity,
|
|
10062
10148
|
featured,
|
|
10063
10149
|
_private,
|
|
10150
|
+
includeActivityFacets,
|
|
10064
10151
|
searchGeoCenter,
|
|
10065
10152
|
openactiveActivityId,
|
|
10066
10153
|
activityId,
|
|
10154
|
+
activityTypeCategoryId,
|
|
10067
10155
|
activityIds,
|
|
10068
10156
|
networkId,
|
|
10069
10157
|
tenantStatus,
|
|
@@ -10112,9 +10200,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10112
10200
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
10113
10201
|
Featured: featured,
|
|
10114
10202
|
Private: _private,
|
|
10203
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
10115
10204
|
SearchGeoCenter: searchGeoCenter,
|
|
10116
10205
|
OpenactiveActivityId: openactiveActivityId,
|
|
10117
10206
|
ActivityId: activityId,
|
|
10207
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
10118
10208
|
ActivityIds: activityIds,
|
|
10119
10209
|
NetworkId: networkId,
|
|
10120
10210
|
TenantStatus: tenantStatus,
|
|
@@ -10172,9 +10262,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10172
10262
|
includeNextOpportunity,
|
|
10173
10263
|
featured,
|
|
10174
10264
|
_private,
|
|
10265
|
+
includeActivityFacets,
|
|
10175
10266
|
searchGeoCenter,
|
|
10176
10267
|
openactiveActivityId,
|
|
10177
10268
|
activityId,
|
|
10269
|
+
activityTypeCategoryId,
|
|
10178
10270
|
activityIds,
|
|
10179
10271
|
networkId,
|
|
10180
10272
|
tenantStatus,
|
|
@@ -10223,9 +10315,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10223
10315
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
10224
10316
|
Featured: featured,
|
|
10225
10317
|
Private: _private,
|
|
10318
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
10226
10319
|
SearchGeoCenter: searchGeoCenter,
|
|
10227
10320
|
OpenactiveActivityId: openactiveActivityId,
|
|
10228
10321
|
ActivityId: activityId,
|
|
10322
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
10229
10323
|
ActivityIds: activityIds,
|
|
10230
10324
|
NetworkId: networkId,
|
|
10231
10325
|
TenantStatus: tenantStatus,
|
|
@@ -10283,9 +10377,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10283
10377
|
includeNextOpportunity,
|
|
10284
10378
|
featured,
|
|
10285
10379
|
_private,
|
|
10380
|
+
includeActivityFacets,
|
|
10286
10381
|
searchGeoCenter,
|
|
10287
10382
|
openactiveActivityId,
|
|
10288
10383
|
activityId,
|
|
10384
|
+
activityTypeCategoryId,
|
|
10289
10385
|
activityIds,
|
|
10290
10386
|
networkId,
|
|
10291
10387
|
tenantStatus,
|
|
@@ -10334,9 +10430,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10334
10430
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
10335
10431
|
Featured: featured,
|
|
10336
10432
|
Private: _private,
|
|
10433
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
10337
10434
|
SearchGeoCenter: searchGeoCenter,
|
|
10338
10435
|
OpenactiveActivityId: openactiveActivityId,
|
|
10339
10436
|
ActivityId: activityId,
|
|
10437
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
10340
10438
|
ActivityIds: activityIds,
|
|
10341
10439
|
NetworkId: networkId,
|
|
10342
10440
|
TenantStatus: tenantStatus,
|
|
@@ -10394,9 +10492,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10394
10492
|
includeNextOpportunity,
|
|
10395
10493
|
featured,
|
|
10396
10494
|
_private,
|
|
10495
|
+
includeActivityFacets,
|
|
10397
10496
|
searchGeoCenter,
|
|
10398
10497
|
openactiveActivityId,
|
|
10399
10498
|
activityId,
|
|
10499
|
+
activityTypeCategoryId,
|
|
10400
10500
|
activityIds,
|
|
10401
10501
|
networkId,
|
|
10402
10502
|
tenantStatus,
|
|
@@ -10445,9 +10545,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
10445
10545
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
10446
10546
|
Featured: featured,
|
|
10447
10547
|
Private: _private,
|
|
10548
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
10448
10549
|
SearchGeoCenter: searchGeoCenter,
|
|
10449
10550
|
OpenactiveActivityId: openactiveActivityId,
|
|
10450
10551
|
ActivityId: activityId,
|
|
10552
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
10451
10553
|
ActivityIds: activityIds,
|
|
10452
10554
|
NetworkId: networkId,
|
|
10453
10555
|
TenantStatus: tenantStatus,
|
|
@@ -22847,6 +22949,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
22847
22949
|
ids,
|
|
22848
22950
|
venueId,
|
|
22849
22951
|
programmeId,
|
|
22952
|
+
providerId,
|
|
22850
22953
|
surveyId,
|
|
22851
22954
|
cancellationPolicyId,
|
|
22852
22955
|
paymentPolicyId,
|
|
@@ -22898,6 +23001,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
22898
23001
|
Ids: ids,
|
|
22899
23002
|
VenueId: venueId,
|
|
22900
23003
|
ProgrammeId: programmeId,
|
|
23004
|
+
ProviderId: providerId,
|
|
22901
23005
|
SurveyId: surveyId,
|
|
22902
23006
|
CancellationPolicyId: cancellationPolicyId,
|
|
22903
23007
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -23077,6 +23181,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23077
23181
|
ids,
|
|
23078
23182
|
venueId,
|
|
23079
23183
|
programmeId,
|
|
23184
|
+
providerId,
|
|
23080
23185
|
surveyId,
|
|
23081
23186
|
cancellationPolicyId,
|
|
23082
23187
|
paymentPolicyId,
|
|
@@ -23128,6 +23233,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23128
23233
|
Ids: ids,
|
|
23129
23234
|
VenueId: venueId,
|
|
23130
23235
|
ProgrammeId: programmeId,
|
|
23236
|
+
ProviderId: providerId,
|
|
23131
23237
|
SurveyId: surveyId,
|
|
23132
23238
|
CancellationPolicyId: cancellationPolicyId,
|
|
23133
23239
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -23812,9 +23918,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23812
23918
|
includeNextOpportunity,
|
|
23813
23919
|
featured,
|
|
23814
23920
|
_private,
|
|
23921
|
+
includeActivityFacets,
|
|
23815
23922
|
searchGeoCenter,
|
|
23816
23923
|
openactiveActivityId,
|
|
23817
23924
|
activityId,
|
|
23925
|
+
activityTypeCategoryId,
|
|
23818
23926
|
activityIds,
|
|
23819
23927
|
networkId,
|
|
23820
23928
|
tenantStatus,
|
|
@@ -23866,9 +23974,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23866
23974
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
23867
23975
|
Featured: featured,
|
|
23868
23976
|
Private: _private,
|
|
23977
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
23869
23978
|
SearchGeoCenter: searchGeoCenter,
|
|
23870
23979
|
OpenactiveActivityId: openactiveActivityId,
|
|
23871
23980
|
ActivityId: activityId,
|
|
23981
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
23872
23982
|
ActivityIds: activityIds,
|
|
23873
23983
|
NetworkId: networkId,
|
|
23874
23984
|
TenantStatus: tenantStatus,
|
|
@@ -23911,7 +24021,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23911
24021
|
}
|
|
23912
24022
|
/**
|
|
23913
24023
|
* Get activities for a network.
|
|
23914
|
-
* @returns
|
|
24024
|
+
* @returns ActivitySearchResponse OK
|
|
23915
24025
|
* @throws ApiError
|
|
23916
24026
|
*/
|
|
23917
24027
|
getPage1({
|
|
@@ -23926,9 +24036,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23926
24036
|
includeNextOpportunity,
|
|
23927
24037
|
featured,
|
|
23928
24038
|
_private,
|
|
24039
|
+
includeActivityFacets,
|
|
23929
24040
|
searchGeoCenter,
|
|
23930
24041
|
openactiveActivityId,
|
|
23931
24042
|
activityId,
|
|
24043
|
+
activityTypeCategoryId,
|
|
23932
24044
|
activityIds,
|
|
23933
24045
|
networkId,
|
|
23934
24046
|
tenantStatus,
|
|
@@ -23977,9 +24089,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
23977
24089
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
23978
24090
|
Featured: featured,
|
|
23979
24091
|
Private: _private,
|
|
24092
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
23980
24093
|
SearchGeoCenter: searchGeoCenter,
|
|
23981
24094
|
OpenactiveActivityId: openactiveActivityId,
|
|
23982
24095
|
ActivityId: activityId,
|
|
24096
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
23983
24097
|
ActivityIds: activityIds,
|
|
23984
24098
|
NetworkId: networkId,
|
|
23985
24099
|
TenantStatus: tenantStatus,
|
|
@@ -24038,9 +24152,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24038
24152
|
includeNextOpportunity,
|
|
24039
24153
|
featured,
|
|
24040
24154
|
_private,
|
|
24155
|
+
includeActivityFacets,
|
|
24041
24156
|
searchGeoCenter,
|
|
24042
24157
|
openactiveActivityId,
|
|
24043
24158
|
activityId,
|
|
24159
|
+
activityTypeCategoryId,
|
|
24044
24160
|
activityIds,
|
|
24045
24161
|
networkId,
|
|
24046
24162
|
tenantStatus,
|
|
@@ -24092,9 +24208,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24092
24208
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
24093
24209
|
Featured: featured,
|
|
24094
24210
|
Private: _private,
|
|
24211
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
24095
24212
|
SearchGeoCenter: searchGeoCenter,
|
|
24096
24213
|
OpenactiveActivityId: openactiveActivityId,
|
|
24097
24214
|
ActivityId: activityId,
|
|
24215
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
24098
24216
|
ActivityIds: activityIds,
|
|
24099
24217
|
NetworkId: networkId,
|
|
24100
24218
|
TenantStatus: tenantStatus,
|
|
@@ -24136,24 +24254,113 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24136
24254
|
});
|
|
24137
24255
|
}
|
|
24138
24256
|
/**
|
|
24139
|
-
* Retrieves
|
|
24140
|
-
*
|
|
24257
|
+
* Retrieves activity facets with counts for the given location/distance. Call this first after user selects location,
|
|
24258
|
+
* then use the activity ids to filter the main search (network or network/optimized).
|
|
24259
|
+
* @returns ActivityFacet OK
|
|
24141
24260
|
* @throws ApiError
|
|
24142
24261
|
*/
|
|
24143
24262
|
getActivityFacets({
|
|
24263
|
+
wildcard,
|
|
24264
|
+
venueId,
|
|
24265
|
+
providerId,
|
|
24266
|
+
programmeId,
|
|
24267
|
+
online,
|
|
24268
|
+
archived,
|
|
24269
|
+
deleted,
|
|
24270
|
+
activityType,
|
|
24271
|
+
includeNextOpportunity,
|
|
24272
|
+
featured,
|
|
24273
|
+
_private,
|
|
24274
|
+
includeActivityFacets,
|
|
24275
|
+
searchGeoCenter,
|
|
24276
|
+
openactiveActivityId,
|
|
24277
|
+
activityId,
|
|
24278
|
+
activityTypeCategoryId,
|
|
24279
|
+
activityIds,
|
|
24280
|
+
networkId,
|
|
24281
|
+
tenantStatus,
|
|
24144
24282
|
lat,
|
|
24145
24283
|
lng,
|
|
24146
|
-
|
|
24147
|
-
|
|
24284
|
+
distance,
|
|
24285
|
+
minAgeLte,
|
|
24286
|
+
minAgeGte,
|
|
24287
|
+
maxAgeLte,
|
|
24288
|
+
maxAgeGte,
|
|
24289
|
+
priceTotalGte,
|
|
24290
|
+
priceTotalLte,
|
|
24291
|
+
timeOfDay,
|
|
24292
|
+
startDateTimeGte,
|
|
24293
|
+
endDateTimeLte,
|
|
24294
|
+
gender,
|
|
24295
|
+
periodsOfWeek,
|
|
24296
|
+
additionalSupport,
|
|
24297
|
+
amenity,
|
|
24298
|
+
venueTypeIds,
|
|
24299
|
+
programmeIds,
|
|
24300
|
+
pageNumber,
|
|
24301
|
+
take,
|
|
24302
|
+
skip,
|
|
24303
|
+
limitListRequests,
|
|
24304
|
+
tenantId,
|
|
24305
|
+
modifiedById,
|
|
24306
|
+
modifiedByIds,
|
|
24307
|
+
dateCreatedGte,
|
|
24308
|
+
dateCreatedLte,
|
|
24309
|
+
isLive,
|
|
24310
|
+
sortOrderDirection
|
|
24148
24311
|
}) {
|
|
24149
24312
|
return this.httpRequest.request({
|
|
24150
24313
|
method: "GET",
|
|
24151
24314
|
url: "/api/public/all-activities/activity-facets",
|
|
24152
24315
|
query: {
|
|
24316
|
+
Wildcard: wildcard,
|
|
24317
|
+
VenueId: venueId,
|
|
24318
|
+
ProviderId: providerId,
|
|
24319
|
+
ProgrammeId: programmeId,
|
|
24320
|
+
Online: online,
|
|
24321
|
+
Archived: archived,
|
|
24322
|
+
Deleted: deleted,
|
|
24323
|
+
ActivityType: activityType,
|
|
24324
|
+
IncludeNextOpportunity: includeNextOpportunity,
|
|
24325
|
+
Featured: featured,
|
|
24326
|
+
Private: _private,
|
|
24327
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
24328
|
+
SearchGeoCenter: searchGeoCenter,
|
|
24329
|
+
OpenactiveActivityId: openactiveActivityId,
|
|
24330
|
+
ActivityId: activityId,
|
|
24331
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
24332
|
+
ActivityIds: activityIds,
|
|
24333
|
+
NetworkId: networkId,
|
|
24334
|
+
TenantStatus: tenantStatus,
|
|
24153
24335
|
Lat: lat,
|
|
24154
24336
|
Lng: lng,
|
|
24155
|
-
|
|
24156
|
-
|
|
24337
|
+
Distance: distance,
|
|
24338
|
+
MinAgeLTE: minAgeLte,
|
|
24339
|
+
MinAgeGTE: minAgeGte,
|
|
24340
|
+
MaxAgeLTE: maxAgeLte,
|
|
24341
|
+
MaxAgeGTE: maxAgeGte,
|
|
24342
|
+
PriceTotalGTE: priceTotalGte,
|
|
24343
|
+
PriceTotalLTE: priceTotalLte,
|
|
24344
|
+
TimeOfDay: timeOfDay,
|
|
24345
|
+
StartDateTimeGTE: startDateTimeGte,
|
|
24346
|
+
EndDateTimeLTE: endDateTimeLte,
|
|
24347
|
+
Gender: gender,
|
|
24348
|
+
PeriodsOfWeek: periodsOfWeek,
|
|
24349
|
+
AdditionalSupport: additionalSupport,
|
|
24350
|
+
Amenity: amenity,
|
|
24351
|
+
VenueTypeIds: venueTypeIds,
|
|
24352
|
+
ProgrammeIds: programmeIds,
|
|
24353
|
+
PageNumber: pageNumber,
|
|
24354
|
+
Take: take,
|
|
24355
|
+
Skip: skip,
|
|
24356
|
+
LimitListRequests: limitListRequests,
|
|
24357
|
+
TenantId: tenantId,
|
|
24358
|
+
ModifiedById: modifiedById,
|
|
24359
|
+
ModifiedByIds: modifiedByIds,
|
|
24360
|
+
DateCreatedGTE: dateCreatedGte,
|
|
24361
|
+
DateCreatedLTE: dateCreatedLte,
|
|
24362
|
+
IsLive: isLive,
|
|
24363
|
+
SortOrderDirection: sortOrderDirection
|
|
24157
24364
|
},
|
|
24158
24365
|
errors: {
|
|
24159
24366
|
400: `Bad Request`,
|
|
@@ -24166,7 +24373,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24166
24373
|
* Retrieves a paged list of activities using optimized raw SQL queries.
|
|
24167
24374
|
* This endpoint loads all related data (images, offers, sessions) in a single query using JSON aggregation,
|
|
24168
24375
|
* eliminating the overhead of OnPagedItemsLoaded method. Returns only minimal required fields.
|
|
24169
|
-
* @returns
|
|
24376
|
+
* @returns ActivitySearchResponse OK
|
|
24170
24377
|
* @throws ApiError
|
|
24171
24378
|
*/
|
|
24172
24379
|
getPageOptimized({
|
|
@@ -24181,9 +24388,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24181
24388
|
includeNextOpportunity,
|
|
24182
24389
|
featured,
|
|
24183
24390
|
_private,
|
|
24391
|
+
includeActivityFacets,
|
|
24184
24392
|
searchGeoCenter,
|
|
24185
24393
|
openactiveActivityId,
|
|
24186
24394
|
activityId,
|
|
24395
|
+
activityTypeCategoryId,
|
|
24187
24396
|
activityIds,
|
|
24188
24397
|
networkId,
|
|
24189
24398
|
tenantStatus,
|
|
@@ -24232,9 +24441,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24232
24441
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
24233
24442
|
Featured: featured,
|
|
24234
24443
|
Private: _private,
|
|
24444
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
24235
24445
|
SearchGeoCenter: searchGeoCenter,
|
|
24236
24446
|
OpenactiveActivityId: openactiveActivityId,
|
|
24237
24447
|
ActivityId: activityId,
|
|
24448
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
24238
24449
|
ActivityIds: activityIds,
|
|
24239
24450
|
NetworkId: networkId,
|
|
24240
24451
|
TenantStatus: tenantStatus,
|
|
@@ -24293,9 +24504,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24293
24504
|
includeNextOpportunity,
|
|
24294
24505
|
featured,
|
|
24295
24506
|
_private,
|
|
24507
|
+
includeActivityFacets,
|
|
24296
24508
|
searchGeoCenter,
|
|
24297
24509
|
openactiveActivityId,
|
|
24298
24510
|
activityId,
|
|
24511
|
+
activityTypeCategoryId,
|
|
24299
24512
|
activityIds,
|
|
24300
24513
|
networkId,
|
|
24301
24514
|
tenantStatus,
|
|
@@ -24347,9 +24560,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24347
24560
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
24348
24561
|
Featured: featured,
|
|
24349
24562
|
Private: _private,
|
|
24563
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
24350
24564
|
SearchGeoCenter: searchGeoCenter,
|
|
24351
24565
|
OpenactiveActivityId: openactiveActivityId,
|
|
24352
24566
|
ActivityId: activityId,
|
|
24567
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
24353
24568
|
ActivityIds: activityIds,
|
|
24354
24569
|
NetworkId: networkId,
|
|
24355
24570
|
TenantStatus: tenantStatus,
|
|
@@ -24825,6 +25040,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24825
25040
|
featured,
|
|
24826
25041
|
_private,
|
|
24827
25042
|
programmeId,
|
|
25043
|
+
providerId,
|
|
24828
25044
|
includeNextOpportunity,
|
|
24829
25045
|
allowTemplating,
|
|
24830
25046
|
archived,
|
|
@@ -24873,6 +25089,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
24873
25089
|
Featured: featured,
|
|
24874
25090
|
Private: _private,
|
|
24875
25091
|
ProgrammeId: programmeId,
|
|
25092
|
+
ProviderId: providerId,
|
|
24876
25093
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
24877
25094
|
AllowTemplating: allowTemplating,
|
|
24878
25095
|
Archived: archived,
|
|
@@ -27330,6 +27547,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27330
27547
|
featured,
|
|
27331
27548
|
_private,
|
|
27332
27549
|
programmeId,
|
|
27550
|
+
providerId,
|
|
27333
27551
|
includeNextOpportunity,
|
|
27334
27552
|
allowTemplating,
|
|
27335
27553
|
archived,
|
|
@@ -27381,6 +27599,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27381
27599
|
Featured: featured,
|
|
27382
27600
|
Private: _private,
|
|
27383
27601
|
ProgrammeId: programmeId,
|
|
27602
|
+
ProviderId: providerId,
|
|
27384
27603
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
27385
27604
|
AllowTemplating: allowTemplating,
|
|
27386
27605
|
Archived: archived,
|
|
@@ -27690,6 +27909,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27690
27909
|
featured,
|
|
27691
27910
|
_private,
|
|
27692
27911
|
programmeId,
|
|
27912
|
+
providerId,
|
|
27693
27913
|
includeNextOpportunity,
|
|
27694
27914
|
allowTemplating,
|
|
27695
27915
|
archived,
|
|
@@ -27741,6 +27961,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27741
27961
|
Featured: featured,
|
|
27742
27962
|
Private: _private,
|
|
27743
27963
|
ProgrammeId: programmeId,
|
|
27964
|
+
ProviderId: providerId,
|
|
27744
27965
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
27745
27966
|
AllowTemplating: allowTemplating,
|
|
27746
27967
|
Archived: archived,
|
|
@@ -33714,6 +33935,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33714
33935
|
featured,
|
|
33715
33936
|
_private,
|
|
33716
33937
|
programmeId,
|
|
33938
|
+
providerId,
|
|
33717
33939
|
includeNextOpportunity,
|
|
33718
33940
|
allowTemplating,
|
|
33719
33941
|
archived,
|
|
@@ -33762,6 +33984,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33762
33984
|
Featured: featured,
|
|
33763
33985
|
Private: _private,
|
|
33764
33986
|
ProgrammeId: programmeId,
|
|
33987
|
+
ProviderId: providerId,
|
|
33765
33988
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
33766
33989
|
AllowTemplating: allowTemplating,
|
|
33767
33990
|
Archived: archived,
|
|
@@ -33882,6 +34105,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33882
34105
|
featured,
|
|
33883
34106
|
_private,
|
|
33884
34107
|
programmeId,
|
|
34108
|
+
providerId,
|
|
33885
34109
|
includeNextOpportunity,
|
|
33886
34110
|
allowTemplating,
|
|
33887
34111
|
archived,
|
|
@@ -33930,6 +34154,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33930
34154
|
Featured: featured,
|
|
33931
34155
|
Private: _private,
|
|
33932
34156
|
ProgrammeId: programmeId,
|
|
34157
|
+
ProviderId: providerId,
|
|
33933
34158
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
33934
34159
|
AllowTemplating: allowTemplating,
|
|
33935
34160
|
Archived: archived,
|
|
@@ -33987,6 +34212,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
33987
34212
|
featured,
|
|
33988
34213
|
_private,
|
|
33989
34214
|
programmeId,
|
|
34215
|
+
providerId,
|
|
33990
34216
|
includeNextOpportunity,
|
|
33991
34217
|
allowTemplating,
|
|
33992
34218
|
archived,
|
|
@@ -34035,6 +34261,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34035
34261
|
Featured: featured,
|
|
34036
34262
|
Private: _private,
|
|
34037
34263
|
ProgrammeId: programmeId,
|
|
34264
|
+
ProviderId: providerId,
|
|
34038
34265
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
34039
34266
|
AllowTemplating: allowTemplating,
|
|
34040
34267
|
Archived: archived,
|
|
@@ -34092,6 +34319,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34092
34319
|
featured,
|
|
34093
34320
|
_private,
|
|
34094
34321
|
programmeId,
|
|
34322
|
+
providerId,
|
|
34095
34323
|
includeNextOpportunity,
|
|
34096
34324
|
allowTemplating,
|
|
34097
34325
|
archived,
|
|
@@ -34140,6 +34368,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34140
34368
|
Featured: featured,
|
|
34141
34369
|
Private: _private,
|
|
34142
34370
|
ProgrammeId: programmeId,
|
|
34371
|
+
ProviderId: providerId,
|
|
34143
34372
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
34144
34373
|
AllowTemplating: allowTemplating,
|
|
34145
34374
|
Archived: archived,
|
|
@@ -34197,6 +34426,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34197
34426
|
featured,
|
|
34198
34427
|
_private,
|
|
34199
34428
|
programmeId,
|
|
34429
|
+
providerId,
|
|
34200
34430
|
includeNextOpportunity,
|
|
34201
34431
|
allowTemplating,
|
|
34202
34432
|
archived,
|
|
@@ -34245,6 +34475,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
34245
34475
|
Featured: featured,
|
|
34246
34476
|
Private: _private,
|
|
34247
34477
|
ProgrammeId: programmeId,
|
|
34478
|
+
ProviderId: providerId,
|
|
34248
34479
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
34249
34480
|
AllowTemplating: allowTemplating,
|
|
34250
34481
|
Archived: archived,
|
|
@@ -49611,6 +49842,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
49611
49842
|
}class ApiClient {
|
|
49612
49843
|
activity;
|
|
49613
49844
|
activityPerformance;
|
|
49845
|
+
activityTypeCategory;
|
|
49614
49846
|
amenity;
|
|
49615
49847
|
attendees;
|
|
49616
49848
|
badEnglandReport;
|
|
@@ -49751,6 +49983,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
49751
49983
|
});
|
|
49752
49984
|
this.activity = new ActivityService(this.request);
|
|
49753
49985
|
this.activityPerformance = new ActivityPerformanceService(this.request);
|
|
49986
|
+
this.activityTypeCategory = new ActivityTypeCategoryService(this.request);
|
|
49754
49987
|
this.amenity = new AmenityService(this.request);
|
|
49755
49988
|
this.attendees = new AttendeesService(this.request);
|
|
49756
49989
|
this.badEnglandReport = new BadEnglandReportService(this.request);
|
|
@@ -50334,4 +50567,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
50334
50567
|
WalletTransactionType2["REFUND"] = "Refund";
|
|
50335
50568
|
WalletTransactionType2["ADJUSTMENT"] = "Adjustment";
|
|
50336
50569
|
return WalletTransactionType2;
|
|
50337
|
-
})(WalletTransactionType || {});
|
|
50570
|
+
})(WalletTransactionType || {});var WebsiteHomepage = /* @__PURE__ */ ((WebsiteHomepage2) => {
|
|
50571
|
+
WebsiteHomepage2["DEFAULT"] = "Default";
|
|
50572
|
+
WebsiteHomepage2["MAP"] = "Map";
|
|
50573
|
+
return WebsiteHomepage2;
|
|
50574
|
+
})(WebsiteHomepage || {});export{ActivityPerformanceService,ActivityService,ActivityType,ActivityTypeCategoryService,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,DotdigitalCanonicalField,DotdigitalService,DotdigitalSourceType,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,IntegrationDotDigitalSettingsService,IntegrationDotdigitalFieldMapService,IntegrationDotdigitalLogService,IntegrationDotdigitalLogStatus,IntegrationQueueService,IntegrationType,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCalendarService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantStatus,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UpcomingLayout,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenueTypeService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService,WebsiteHomepage};
|