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
|
@@ -149,9 +149,11 @@ export class GenericActivityService {
|
|
|
149
149
|
includeNextOpportunity,
|
|
150
150
|
featured,
|
|
151
151
|
_private,
|
|
152
|
+
includeActivityFacets,
|
|
152
153
|
searchGeoCenter,
|
|
153
154
|
openactiveActivityId,
|
|
154
155
|
activityId,
|
|
156
|
+
activityTypeCategoryId,
|
|
155
157
|
activityIds,
|
|
156
158
|
networkId,
|
|
157
159
|
tenantStatus,
|
|
@@ -229,6 +231,11 @@ export class GenericActivityService {
|
|
|
229
231
|
* Gets or sets a value indicating does session is private or no.
|
|
230
232
|
*/
|
|
231
233
|
_private?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
236
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
237
|
+
*/
|
|
238
|
+
includeActivityFacets?: boolean;
|
|
232
239
|
/**
|
|
233
240
|
* Gets or sets SearchGeoCenter.
|
|
234
241
|
*/
|
|
@@ -241,6 +248,10 @@ export class GenericActivityService {
|
|
|
241
248
|
* Gets or sets Activity id.
|
|
242
249
|
*/
|
|
243
250
|
activityId?: number;
|
|
251
|
+
/**
|
|
252
|
+
* Gets or sets Activity type category id.
|
|
253
|
+
*/
|
|
254
|
+
activityTypeCategoryId?: number;
|
|
244
255
|
/**
|
|
245
256
|
* Gets or sets the queryable session Activity ids.
|
|
246
257
|
*/
|
|
@@ -385,9 +396,11 @@ export class GenericActivityService {
|
|
|
385
396
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
386
397
|
Featured: featured,
|
|
387
398
|
Private: _private,
|
|
399
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
388
400
|
SearchGeoCenter: searchGeoCenter,
|
|
389
401
|
OpenactiveActivityId: openactiveActivityId,
|
|
390
402
|
ActivityId: activityId,
|
|
403
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
391
404
|
ActivityIds: activityIds,
|
|
392
405
|
NetworkId: networkId,
|
|
393
406
|
TenantStatus: tenantStatus,
|
|
@@ -473,9 +486,11 @@ export class GenericActivityService {
|
|
|
473
486
|
includeNextOpportunity,
|
|
474
487
|
featured,
|
|
475
488
|
_private,
|
|
489
|
+
includeActivityFacets,
|
|
476
490
|
searchGeoCenter,
|
|
477
491
|
openactiveActivityId,
|
|
478
492
|
activityId,
|
|
493
|
+
activityTypeCategoryId,
|
|
479
494
|
activityIds,
|
|
480
495
|
networkId,
|
|
481
496
|
tenantStatus,
|
|
@@ -553,6 +568,11 @@ export class GenericActivityService {
|
|
|
553
568
|
* Gets or sets a value indicating does session is private or no.
|
|
554
569
|
*/
|
|
555
570
|
_private?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
573
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
574
|
+
*/
|
|
575
|
+
includeActivityFacets?: boolean;
|
|
556
576
|
/**
|
|
557
577
|
* Gets or sets SearchGeoCenter.
|
|
558
578
|
*/
|
|
@@ -565,6 +585,10 @@ export class GenericActivityService {
|
|
|
565
585
|
* Gets or sets Activity id.
|
|
566
586
|
*/
|
|
567
587
|
activityId?: number;
|
|
588
|
+
/**
|
|
589
|
+
* Gets or sets Activity type category id.
|
|
590
|
+
*/
|
|
591
|
+
activityTypeCategoryId?: number;
|
|
568
592
|
/**
|
|
569
593
|
* Gets or sets the queryable session Activity ids.
|
|
570
594
|
*/
|
|
@@ -709,9 +733,11 @@ export class GenericActivityService {
|
|
|
709
733
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
710
734
|
Featured: featured,
|
|
711
735
|
Private: _private,
|
|
736
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
712
737
|
SearchGeoCenter: searchGeoCenter,
|
|
713
738
|
OpenactiveActivityId: openactiveActivityId,
|
|
714
739
|
ActivityId: activityId,
|
|
740
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
715
741
|
ActivityIds: activityIds,
|
|
716
742
|
NetworkId: networkId,
|
|
717
743
|
TenantStatus: tenantStatus,
|
|
@@ -770,9 +796,11 @@ export class GenericActivityService {
|
|
|
770
796
|
includeNextOpportunity,
|
|
771
797
|
featured,
|
|
772
798
|
_private,
|
|
799
|
+
includeActivityFacets,
|
|
773
800
|
searchGeoCenter,
|
|
774
801
|
openactiveActivityId,
|
|
775
802
|
activityId,
|
|
803
|
+
activityTypeCategoryId,
|
|
776
804
|
activityIds,
|
|
777
805
|
networkId,
|
|
778
806
|
tenantStatus,
|
|
@@ -850,6 +878,11 @@ export class GenericActivityService {
|
|
|
850
878
|
* Gets or sets a value indicating does session is private or no.
|
|
851
879
|
*/
|
|
852
880
|
_private?: boolean;
|
|
881
|
+
/**
|
|
882
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
883
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
884
|
+
*/
|
|
885
|
+
includeActivityFacets?: boolean;
|
|
853
886
|
/**
|
|
854
887
|
* Gets or sets SearchGeoCenter.
|
|
855
888
|
*/
|
|
@@ -862,6 +895,10 @@ export class GenericActivityService {
|
|
|
862
895
|
* Gets or sets Activity id.
|
|
863
896
|
*/
|
|
864
897
|
activityId?: number;
|
|
898
|
+
/**
|
|
899
|
+
* Gets or sets Activity type category id.
|
|
900
|
+
*/
|
|
901
|
+
activityTypeCategoryId?: number;
|
|
865
902
|
/**
|
|
866
903
|
* Gets or sets the queryable session Activity ids.
|
|
867
904
|
*/
|
|
@@ -1006,9 +1043,11 @@ export class GenericActivityService {
|
|
|
1006
1043
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1007
1044
|
Featured: featured,
|
|
1008
1045
|
Private: _private,
|
|
1046
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1009
1047
|
SearchGeoCenter: searchGeoCenter,
|
|
1010
1048
|
OpenactiveActivityId: openactiveActivityId,
|
|
1011
1049
|
ActivityId: activityId,
|
|
1050
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1012
1051
|
ActivityIds: activityIds,
|
|
1013
1052
|
NetworkId: networkId,
|
|
1014
1053
|
TenantStatus: tenantStatus,
|
|
@@ -1067,9 +1106,11 @@ export class GenericActivityService {
|
|
|
1067
1106
|
includeNextOpportunity,
|
|
1068
1107
|
featured,
|
|
1069
1108
|
_private,
|
|
1109
|
+
includeActivityFacets,
|
|
1070
1110
|
searchGeoCenter,
|
|
1071
1111
|
openactiveActivityId,
|
|
1072
1112
|
activityId,
|
|
1113
|
+
activityTypeCategoryId,
|
|
1073
1114
|
activityIds,
|
|
1074
1115
|
networkId,
|
|
1075
1116
|
tenantStatus,
|
|
@@ -1147,6 +1188,11 @@ export class GenericActivityService {
|
|
|
1147
1188
|
* Gets or sets a value indicating does session is private or no.
|
|
1148
1189
|
*/
|
|
1149
1190
|
_private?: boolean;
|
|
1191
|
+
/**
|
|
1192
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1193
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1194
|
+
*/
|
|
1195
|
+
includeActivityFacets?: boolean;
|
|
1150
1196
|
/**
|
|
1151
1197
|
* Gets or sets SearchGeoCenter.
|
|
1152
1198
|
*/
|
|
@@ -1159,6 +1205,10 @@ export class GenericActivityService {
|
|
|
1159
1205
|
* Gets or sets Activity id.
|
|
1160
1206
|
*/
|
|
1161
1207
|
activityId?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* Gets or sets Activity type category id.
|
|
1210
|
+
*/
|
|
1211
|
+
activityTypeCategoryId?: number;
|
|
1162
1212
|
/**
|
|
1163
1213
|
* Gets or sets the queryable session Activity ids.
|
|
1164
1214
|
*/
|
|
@@ -1303,9 +1353,11 @@ export class GenericActivityService {
|
|
|
1303
1353
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1304
1354
|
Featured: featured,
|
|
1305
1355
|
Private: _private,
|
|
1356
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1306
1357
|
SearchGeoCenter: searchGeoCenter,
|
|
1307
1358
|
OpenactiveActivityId: openactiveActivityId,
|
|
1308
1359
|
ActivityId: activityId,
|
|
1360
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1309
1361
|
ActivityIds: activityIds,
|
|
1310
1362
|
NetworkId: networkId,
|
|
1311
1363
|
TenantStatus: tenantStatus,
|
|
@@ -1364,9 +1416,11 @@ export class GenericActivityService {
|
|
|
1364
1416
|
includeNextOpportunity,
|
|
1365
1417
|
featured,
|
|
1366
1418
|
_private,
|
|
1419
|
+
includeActivityFacets,
|
|
1367
1420
|
searchGeoCenter,
|
|
1368
1421
|
openactiveActivityId,
|
|
1369
1422
|
activityId,
|
|
1423
|
+
activityTypeCategoryId,
|
|
1370
1424
|
activityIds,
|
|
1371
1425
|
networkId,
|
|
1372
1426
|
tenantStatus,
|
|
@@ -1444,6 +1498,11 @@ export class GenericActivityService {
|
|
|
1444
1498
|
* Gets or sets a value indicating does session is private or no.
|
|
1445
1499
|
*/
|
|
1446
1500
|
_private?: boolean;
|
|
1501
|
+
/**
|
|
1502
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1503
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1504
|
+
*/
|
|
1505
|
+
includeActivityFacets?: boolean;
|
|
1447
1506
|
/**
|
|
1448
1507
|
* Gets or sets SearchGeoCenter.
|
|
1449
1508
|
*/
|
|
@@ -1456,6 +1515,10 @@ export class GenericActivityService {
|
|
|
1456
1515
|
* Gets or sets Activity id.
|
|
1457
1516
|
*/
|
|
1458
1517
|
activityId?: number;
|
|
1518
|
+
/**
|
|
1519
|
+
* Gets or sets Activity type category id.
|
|
1520
|
+
*/
|
|
1521
|
+
activityTypeCategoryId?: number;
|
|
1459
1522
|
/**
|
|
1460
1523
|
* Gets or sets the queryable session Activity ids.
|
|
1461
1524
|
*/
|
|
@@ -1600,9 +1663,11 @@ export class GenericActivityService {
|
|
|
1600
1663
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1601
1664
|
Featured: featured,
|
|
1602
1665
|
Private: _private,
|
|
1666
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1603
1667
|
SearchGeoCenter: searchGeoCenter,
|
|
1604
1668
|
OpenactiveActivityId: openactiveActivityId,
|
|
1605
1669
|
ActivityId: activityId,
|
|
1670
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1606
1671
|
ActivityIds: activityIds,
|
|
1607
1672
|
NetworkId: networkId,
|
|
1608
1673
|
TenantStatus: tenantStatus,
|
|
@@ -1661,9 +1726,11 @@ export class GenericActivityService {
|
|
|
1661
1726
|
includeNextOpportunity,
|
|
1662
1727
|
featured,
|
|
1663
1728
|
_private,
|
|
1729
|
+
includeActivityFacets,
|
|
1664
1730
|
searchGeoCenter,
|
|
1665
1731
|
openactiveActivityId,
|
|
1666
1732
|
activityId,
|
|
1733
|
+
activityTypeCategoryId,
|
|
1667
1734
|
activityIds,
|
|
1668
1735
|
networkId,
|
|
1669
1736
|
tenantStatus,
|
|
@@ -1741,6 +1808,11 @@ export class GenericActivityService {
|
|
|
1741
1808
|
* Gets or sets a value indicating does session is private or no.
|
|
1742
1809
|
*/
|
|
1743
1810
|
_private?: boolean;
|
|
1811
|
+
/**
|
|
1812
|
+
* Gets or sets a value indicating whether to include activity facets (with counts) in the search response.
|
|
1813
|
+
* Only applies when SearchGeoCenter or Lat/Lng are provided. Use for single-call fetches of activities and facets.
|
|
1814
|
+
*/
|
|
1815
|
+
includeActivityFacets?: boolean;
|
|
1744
1816
|
/**
|
|
1745
1817
|
* Gets or sets SearchGeoCenter.
|
|
1746
1818
|
*/
|
|
@@ -1753,6 +1825,10 @@ export class GenericActivityService {
|
|
|
1753
1825
|
* Gets or sets Activity id.
|
|
1754
1826
|
*/
|
|
1755
1827
|
activityId?: number;
|
|
1828
|
+
/**
|
|
1829
|
+
* Gets or sets Activity type category id.
|
|
1830
|
+
*/
|
|
1831
|
+
activityTypeCategoryId?: number;
|
|
1756
1832
|
/**
|
|
1757
1833
|
* Gets or sets the queryable session Activity ids.
|
|
1758
1834
|
*/
|
|
@@ -1897,9 +1973,11 @@ export class GenericActivityService {
|
|
|
1897
1973
|
IncludeNextOpportunity: includeNextOpportunity,
|
|
1898
1974
|
Featured: featured,
|
|
1899
1975
|
Private: _private,
|
|
1976
|
+
IncludeActivityFacets: includeActivityFacets,
|
|
1900
1977
|
SearchGeoCenter: searchGeoCenter,
|
|
1901
1978
|
OpenactiveActivityId: openactiveActivityId,
|
|
1902
1979
|
ActivityId: activityId,
|
|
1980
|
+
ActivityTypeCategoryId: activityTypeCategoryId,
|
|
1903
1981
|
ActivityIds: activityIds,
|
|
1904
1982
|
NetworkId: networkId,
|
|
1905
1983
|
TenantStatus: tenantStatus,
|
|
@@ -90,6 +90,7 @@ export class PublicCoursesService {
|
|
|
90
90
|
ids,
|
|
91
91
|
venueId,
|
|
92
92
|
programmeId,
|
|
93
|
+
providerId,
|
|
93
94
|
surveyId,
|
|
94
95
|
cancellationPolicyId,
|
|
95
96
|
paymentPolicyId,
|
|
@@ -147,6 +148,10 @@ export class PublicCoursesService {
|
|
|
147
148
|
* Gets or sets the queryable Programme Id.
|
|
148
149
|
*/
|
|
149
150
|
programmeId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Gets or sets the queryable Provider Id.
|
|
153
|
+
*/
|
|
154
|
+
providerId?: string;
|
|
150
155
|
/**
|
|
151
156
|
* Gets or sets the queryable Survey Id.
|
|
152
157
|
*/
|
|
@@ -315,6 +320,7 @@ export class PublicCoursesService {
|
|
|
315
320
|
Ids: ids,
|
|
316
321
|
VenueId: venueId,
|
|
317
322
|
ProgrammeId: programmeId,
|
|
323
|
+
ProviderId: providerId,
|
|
318
324
|
SurveyId: surveyId,
|
|
319
325
|
CancellationPolicyId: cancellationPolicyId,
|
|
320
326
|
PaymentPolicyId: paymentPolicyId,
|
|
@@ -545,6 +551,7 @@ export class PublicCoursesService {
|
|
|
545
551
|
ids,
|
|
546
552
|
venueId,
|
|
547
553
|
programmeId,
|
|
554
|
+
providerId,
|
|
548
555
|
surveyId,
|
|
549
556
|
cancellationPolicyId,
|
|
550
557
|
paymentPolicyId,
|
|
@@ -605,6 +612,10 @@ export class PublicCoursesService {
|
|
|
605
612
|
* Gets or sets the queryable Programme Id.
|
|
606
613
|
*/
|
|
607
614
|
programmeId?: string;
|
|
615
|
+
/**
|
|
616
|
+
* Gets or sets the queryable Provider Id.
|
|
617
|
+
*/
|
|
618
|
+
providerId?: string;
|
|
608
619
|
/**
|
|
609
620
|
* Gets or sets the queryable Survey Id.
|
|
610
621
|
*/
|
|
@@ -773,6 +784,7 @@ export class PublicCoursesService {
|
|
|
773
784
|
Ids: ids,
|
|
774
785
|
VenueId: venueId,
|
|
775
786
|
ProgrammeId: programmeId,
|
|
787
|
+
ProviderId: providerId,
|
|
776
788
|
SurveyId: surveyId,
|
|
777
789
|
CancellationPolicyId: cancellationPolicyId,
|
|
778
790
|
PaymentPolicyId: paymentPolicyId,
|