reach-api-sdk 1.0.192 → 1.0.194

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.
@@ -390,6 +390,7 @@ export class ScheduledSessionsService {
390
390
  bookableOnly,
391
391
  includeImages,
392
392
  includeVenue,
393
+ includeOffers,
393
394
  includeOrders,
394
395
  hasAvailability,
395
396
  excludeArchived,
@@ -485,6 +486,10 @@ export class ScheduledSessionsService {
485
486
  * Gets or sets a value indicating whether to include venue detail in the results.
486
487
  */
487
488
  includeVenue?: boolean;
489
+ /**
490
+ * Gets or sets a value indicating whether to include offer detail in the results.
491
+ */
492
+ includeOffers?: boolean;
488
493
  /**
489
494
  * Gets or sets a value indicating whether to include order detail in the results.
490
495
  */
@@ -581,6 +586,7 @@ export class ScheduledSessionsService {
581
586
  BookableOnly: bookableOnly,
582
587
  IncludeImages: includeImages,
583
588
  IncludeVenue: includeVenue,
589
+ IncludeOffers: includeOffers,
584
590
  IncludeOrders: includeOrders,
585
591
  HasAvailability: hasAvailability,
586
592
  ExcludeArchived: excludeArchived,
@@ -714,6 +720,7 @@ export class ScheduledSessionsService {
714
720
  bookableOnly,
715
721
  includeImages,
716
722
  includeVenue,
723
+ includeOffers,
717
724
  includeOrders,
718
725
  hasAvailability,
719
726
  excludeArchived,
@@ -809,6 +816,10 @@ export class ScheduledSessionsService {
809
816
  * Gets or sets a value indicating whether to include venue detail in the results.
810
817
  */
811
818
  includeVenue?: boolean;
819
+ /**
820
+ * Gets or sets a value indicating whether to include offer detail in the results.
821
+ */
822
+ includeOffers?: boolean;
812
823
  /**
813
824
  * Gets or sets a value indicating whether to include order detail in the results.
814
825
  */
@@ -905,6 +916,7 @@ export class ScheduledSessionsService {
905
916
  BookableOnly: bookableOnly,
906
917
  IncludeImages: includeImages,
907
918
  IncludeVenue: includeVenue,
919
+ IncludeOffers: includeOffers,
908
920
  IncludeOrders: includeOrders,
909
921
  HasAvailability: hasAvailability,
910
922
  ExcludeArchived: excludeArchived,
@@ -957,6 +969,7 @@ export class ScheduledSessionsService {
957
969
  bookableOnly,
958
970
  includeImages,
959
971
  includeVenue,
972
+ includeOffers,
960
973
  includeOrders,
961
974
  hasAvailability,
962
975
  excludeArchived,
@@ -1052,6 +1065,10 @@ export class ScheduledSessionsService {
1052
1065
  * Gets or sets a value indicating whether to include venue detail in the results.
1053
1066
  */
1054
1067
  includeVenue?: boolean;
1068
+ /**
1069
+ * Gets or sets a value indicating whether to include offer detail in the results.
1070
+ */
1071
+ includeOffers?: boolean;
1055
1072
  /**
1056
1073
  * Gets or sets a value indicating whether to include order detail in the results.
1057
1074
  */
@@ -1148,6 +1165,7 @@ export class ScheduledSessionsService {
1148
1165
  BookableOnly: bookableOnly,
1149
1166
  IncludeImages: includeImages,
1150
1167
  IncludeVenue: includeVenue,
1168
+ IncludeOffers: includeOffers,
1151
1169
  IncludeOrders: includeOrders,
1152
1170
  HasAvailability: hasAvailability,
1153
1171
  ExcludeArchived: excludeArchived,
@@ -1200,6 +1218,7 @@ export class ScheduledSessionsService {
1200
1218
  bookableOnly,
1201
1219
  includeImages,
1202
1220
  includeVenue,
1221
+ includeOffers,
1203
1222
  includeOrders,
1204
1223
  hasAvailability,
1205
1224
  excludeArchived,
@@ -1295,6 +1314,10 @@ export class ScheduledSessionsService {
1295
1314
  * Gets or sets a value indicating whether to include venue detail in the results.
1296
1315
  */
1297
1316
  includeVenue?: boolean;
1317
+ /**
1318
+ * Gets or sets a value indicating whether to include offer detail in the results.
1319
+ */
1320
+ includeOffers?: boolean;
1298
1321
  /**
1299
1322
  * Gets or sets a value indicating whether to include order detail in the results.
1300
1323
  */
@@ -1391,6 +1414,7 @@ export class ScheduledSessionsService {
1391
1414
  BookableOnly: bookableOnly,
1392
1415
  IncludeImages: includeImages,
1393
1416
  IncludeVenue: includeVenue,
1417
+ IncludeOffers: includeOffers,
1394
1418
  IncludeOrders: includeOrders,
1395
1419
  HasAvailability: hasAvailability,
1396
1420
  ExcludeArchived: excludeArchived,
@@ -209,7 +209,7 @@ export class SessionsService {
209
209
  }
210
210
 
211
211
  /**
212
- * Asign deal to session />.
212
+ * Assign deal to session.
213
213
  * @returns Session OK
214
214
  * @throws ApiError
215
215
  */
@@ -218,7 +218,7 @@ export class SessionsService {
218
218
  dealId,
219
219
  }: {
220
220
  /**
221
- * The course Id.
221
+ * The session Id.
222
222
  */
223
223
  sessionId: string;
224
224
  /**
@@ -242,7 +242,7 @@ export class SessionsService {
242
242
  }
243
243
 
244
244
  /**
245
- * Unasign deal from session />.
245
+ * Unassign deal from session.
246
246
  * @returns Session OK
247
247
  * @throws ApiError
248
248
  */
@@ -251,7 +251,7 @@ export class SessionsService {
251
251
  dealId,
252
252
  }: {
253
253
  /**
254
- * The course Id.
254
+ * The session Id.
255
255
  */
256
256
  sessionId: string;
257
257
  /**
@@ -274,6 +274,60 @@ export class SessionsService {
274
274
  });
275
275
  }
276
276
 
277
+ /**
278
+ * Set the session as featured (displays more prominently on the storefront).
279
+ * @returns Session OK
280
+ * @throws ApiError
281
+ */
282
+ public setFeatured({
283
+ id,
284
+ }: {
285
+ /**
286
+ * The session Id.
287
+ */
288
+ id: string;
289
+ }): CancelablePromise<Session> {
290
+ return this.httpRequest.request({
291
+ method: 'PATCH',
292
+ url: '/api/sessions/{id}/set-featured',
293
+ path: {
294
+ id: id,
295
+ },
296
+ errors: {
297
+ 400: `Bad Request`,
298
+ 422: `Unprocessable Content`,
299
+ 500: `Internal Server Error`,
300
+ },
301
+ });
302
+ }
303
+
304
+ /**
305
+ * Remove the session as featured (displays as standard on the storefront).
306
+ * @returns Session OK
307
+ * @throws ApiError
308
+ */
309
+ public removeFeatured({
310
+ id,
311
+ }: {
312
+ /**
313
+ * The session Id.
314
+ */
315
+ id: string;
316
+ }): CancelablePromise<Session> {
317
+ return this.httpRequest.request({
318
+ method: 'PATCH',
319
+ url: '/api/sessions/{id}/remove-featured',
320
+ path: {
321
+ id: id,
322
+ },
323
+ errors: {
324
+ 400: `Bad Request`,
325
+ 422: `Unprocessable Content`,
326
+ 500: `Internal Server Error`,
327
+ },
328
+ });
329
+ }
330
+
277
331
  /**
278
332
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
279
333
  * @returns Session OK
@@ -424,6 +478,7 @@ export class SessionsService {
424
478
  archived,
425
479
  deleted,
426
480
  openActiveUpdate,
481
+ dashboardRequest,
427
482
  networkId,
428
483
  distance,
429
484
  minAgeLte,
@@ -508,6 +563,10 @@ export class SessionsService {
508
563
  * Gets or sets a value indicating this an openactive reaquest.
509
564
  */
510
565
  openActiveUpdate?: boolean;
566
+ /**
567
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
568
+ */
569
+ dashboardRequest?: boolean;
511
570
  /**
512
571
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
513
572
  */
@@ -635,6 +694,7 @@ export class SessionsService {
635
694
  Archived: archived,
636
695
  Deleted: deleted,
637
696
  OpenActiveUpdate: openActiveUpdate,
697
+ DashboardRequest: dashboardRequest,
638
698
  NetworkId: networkId,
639
699
  Distance: distance,
640
700
  MinAgeLTE: minAgeLte,
@@ -772,6 +832,7 @@ export class SessionsService {
772
832
  archived,
773
833
  deleted,
774
834
  openActiveUpdate,
835
+ dashboardRequest,
775
836
  networkId,
776
837
  distance,
777
838
  minAgeLte,
@@ -856,6 +917,10 @@ export class SessionsService {
856
917
  * Gets or sets a value indicating this an openactive reaquest.
857
918
  */
858
919
  openActiveUpdate?: boolean;
920
+ /**
921
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
922
+ */
923
+ dashboardRequest?: boolean;
859
924
  /**
860
925
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
861
926
  */
@@ -983,6 +1048,7 @@ export class SessionsService {
983
1048
  Archived: archived,
984
1049
  Deleted: deleted,
985
1050
  OpenActiveUpdate: openActiveUpdate,
1051
+ DashboardRequest: dashboardRequest,
986
1052
  NetworkId: networkId,
987
1053
  Distance: distance,
988
1054
  MinAgeLTE: minAgeLte,
@@ -1039,6 +1105,7 @@ export class SessionsService {
1039
1105
  archived,
1040
1106
  deleted,
1041
1107
  openActiveUpdate,
1108
+ dashboardRequest,
1042
1109
  networkId,
1043
1110
  distance,
1044
1111
  minAgeLte,
@@ -1123,6 +1190,10 @@ export class SessionsService {
1123
1190
  * Gets or sets a value indicating this an openactive reaquest.
1124
1191
  */
1125
1192
  openActiveUpdate?: boolean;
1193
+ /**
1194
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
1195
+ */
1196
+ dashboardRequest?: boolean;
1126
1197
  /**
1127
1198
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
1128
1199
  */
@@ -1250,6 +1321,7 @@ export class SessionsService {
1250
1321
  Archived: archived,
1251
1322
  Deleted: deleted,
1252
1323
  OpenActiveUpdate: openActiveUpdate,
1324
+ DashboardRequest: dashboardRequest,
1253
1325
  NetworkId: networkId,
1254
1326
  Distance: distance,
1255
1327
  MinAgeLTE: minAgeLte,
@@ -1306,6 +1378,7 @@ export class SessionsService {
1306
1378
  archived,
1307
1379
  deleted,
1308
1380
  openActiveUpdate,
1381
+ dashboardRequest,
1309
1382
  networkId,
1310
1383
  distance,
1311
1384
  minAgeLte,
@@ -1390,6 +1463,10 @@ export class SessionsService {
1390
1463
  * Gets or sets a value indicating this an openactive reaquest.
1391
1464
  */
1392
1465
  openActiveUpdate?: boolean;
1466
+ /**
1467
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
1468
+ */
1469
+ dashboardRequest?: boolean;
1393
1470
  /**
1394
1471
  * Gets or sets a value indicating whether to include only sessions by given NetworkId.
1395
1472
  */
@@ -1517,6 +1594,7 @@ export class SessionsService {
1517
1594
  Archived: archived,
1518
1595
  Deleted: deleted,
1519
1596
  OpenActiveUpdate: openActiveUpdate,
1597
+ DashboardRequest: dashboardRequest,
1520
1598
  NetworkId: networkId,
1521
1599
  Distance: distance,
1522
1600
  MinAgeLTE: minAgeLte,
@@ -380,6 +380,8 @@ export class VenuesService {
380
380
  includeOpportunityOffers,
381
381
  includeNextOpportunity,
382
382
  distance,
383
+ dashboardRequest,
384
+ programmeIds,
383
385
  pageNumber,
384
386
  take,
385
387
  skip,
@@ -464,6 +466,14 @@ export class VenuesService {
464
466
  * Gets or sets Distance.
465
467
  */
466
468
  distance?: number;
469
+ /**
470
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
471
+ */
472
+ dashboardRequest?: boolean;
473
+ /**
474
+ * Gets or sets the programme ids.
475
+ */
476
+ programmeIds?: Array<string>;
467
477
  /**
468
478
  * Gets or sets the page number for paged queries.
469
479
  */
@@ -531,6 +541,8 @@ export class VenuesService {
531
541
  IncludeOpportunityOffers: includeOpportunityOffers,
532
542
  IncludeNextOpportunity: includeNextOpportunity,
533
543
  Distance: distance,
544
+ DashboardRequest: dashboardRequest,
545
+ ProgrammeIds: programmeIds,
534
546
  PageNumber: pageNumber,
535
547
  Take: take,
536
548
  Skip: skip,
@@ -656,6 +668,8 @@ export class VenuesService {
656
668
  includeOpportunityOffers,
657
669
  includeNextOpportunity,
658
670
  distance,
671
+ dashboardRequest,
672
+ programmeIds,
659
673
  pageNumber,
660
674
  take,
661
675
  skip,
@@ -740,6 +754,14 @@ export class VenuesService {
740
754
  * Gets or sets Distance.
741
755
  */
742
756
  distance?: number;
757
+ /**
758
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
759
+ */
760
+ dashboardRequest?: boolean;
761
+ /**
762
+ * Gets or sets the programme ids.
763
+ */
764
+ programmeIds?: Array<string>;
743
765
  /**
744
766
  * Gets or sets the page number for paged queries.
745
767
  */
@@ -807,6 +829,8 @@ export class VenuesService {
807
829
  IncludeOpportunityOffers: includeOpportunityOffers,
808
830
  IncludeNextOpportunity: includeNextOpportunity,
809
831
  Distance: distance,
832
+ DashboardRequest: dashboardRequest,
833
+ ProgrammeIds: programmeIds,
810
834
  PageNumber: pageNumber,
811
835
  Take: take,
812
836
  Skip: skip,
@@ -851,6 +875,8 @@ export class VenuesService {
851
875
  includeOpportunityOffers,
852
876
  includeNextOpportunity,
853
877
  distance,
878
+ dashboardRequest,
879
+ programmeIds,
854
880
  pageNumber,
855
881
  take,
856
882
  skip,
@@ -935,6 +961,14 @@ export class VenuesService {
935
961
  * Gets or sets Distance.
936
962
  */
937
963
  distance?: number;
964
+ /**
965
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
966
+ */
967
+ dashboardRequest?: boolean;
968
+ /**
969
+ * Gets or sets the programme ids.
970
+ */
971
+ programmeIds?: Array<string>;
938
972
  /**
939
973
  * Gets or sets the page number for paged queries.
940
974
  */
@@ -1002,6 +1036,8 @@ export class VenuesService {
1002
1036
  IncludeOpportunityOffers: includeOpportunityOffers,
1003
1037
  IncludeNextOpportunity: includeNextOpportunity,
1004
1038
  Distance: distance,
1039
+ DashboardRequest: dashboardRequest,
1040
+ ProgrammeIds: programmeIds,
1005
1041
  PageNumber: pageNumber,
1006
1042
  Take: take,
1007
1043
  Skip: skip,
@@ -1046,6 +1082,8 @@ export class VenuesService {
1046
1082
  includeOpportunityOffers,
1047
1083
  includeNextOpportunity,
1048
1084
  distance,
1085
+ dashboardRequest,
1086
+ programmeIds,
1049
1087
  pageNumber,
1050
1088
  take,
1051
1089
  skip,
@@ -1130,6 +1168,14 @@ export class VenuesService {
1130
1168
  * Gets or sets Distance.
1131
1169
  */
1132
1170
  distance?: number;
1171
+ /**
1172
+ * Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
1173
+ */
1174
+ dashboardRequest?: boolean;
1175
+ /**
1176
+ * Gets or sets the programme ids.
1177
+ */
1178
+ programmeIds?: Array<string>;
1133
1179
  /**
1134
1180
  * Gets or sets the page number for paged queries.
1135
1181
  */
@@ -1197,6 +1243,8 @@ export class VenuesService {
1197
1243
  IncludeOpportunityOffers: includeOpportunityOffers,
1198
1244
  IncludeNextOpportunity: includeNextOpportunity,
1199
1245
  Distance: distance,
1246
+ DashboardRequest: dashboardRequest,
1247
+ ProgrammeIds: programmeIds,
1200
1248
  PageNumber: pageNumber,
1201
1249
  Take: take,
1202
1250
  Skip: skip,