reach-api-sdk 1.0.192 → 1.0.193

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.js CHANGED
@@ -3123,7 +3123,7 @@ const request = (config, options, axiosClient = axios) => {
3123
3123
  });
3124
3124
  }
3125
3125
  /**
3126
- * Asign deal to course />.
3126
+ * Assign deal to course />.
3127
3127
  * @returns Course OK
3128
3128
  * @throws ApiError
3129
3129
  */
@@ -3146,7 +3146,7 @@ const request = (config, options, axiosClient = axios) => {
3146
3146
  });
3147
3147
  }
3148
3148
  /**
3149
- * Unasign deal from course />.
3149
+ * Unassign deal from course />.
3150
3150
  * @returns Course OK
3151
3151
  * @throws ApiError
3152
3152
  */
@@ -3168,6 +3168,48 @@ const request = (config, options, axiosClient = axios) => {
3168
3168
  }
3169
3169
  });
3170
3170
  }
3171
+ /**
3172
+ * Set the course as featured (displays more prominently on the storefront).
3173
+ * @returns Course OK
3174
+ * @throws ApiError
3175
+ */
3176
+ setFeatured({
3177
+ id
3178
+ }) {
3179
+ return this.httpRequest.request({
3180
+ method: "PATCH",
3181
+ url: "/api/courses/{id}/set-featured",
3182
+ path: {
3183
+ id
3184
+ },
3185
+ errors: {
3186
+ 400: `Bad Request`,
3187
+ 422: `Unprocessable Content`,
3188
+ 500: `Internal Server Error`
3189
+ }
3190
+ });
3191
+ }
3192
+ /**
3193
+ * Remove the course as featured (displays as standard on the storefront).
3194
+ * @returns Course OK
3195
+ * @throws ApiError
3196
+ */
3197
+ removeFeatured({
3198
+ id
3199
+ }) {
3200
+ return this.httpRequest.request({
3201
+ method: "PATCH",
3202
+ url: "/api/courses/{id}/remove-featured",
3203
+ path: {
3204
+ id
3205
+ },
3206
+ errors: {
3207
+ 400: `Bad Request`,
3208
+ 422: `Unprocessable Content`,
3209
+ 500: `Internal Server Error`
3210
+ }
3211
+ });
3212
+ }
3171
3213
  /**
3172
3214
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
3173
3215
  * @returns Course OK
@@ -3285,6 +3327,7 @@ const request = (config, options, axiosClient = axios) => {
3285
3327
  archived,
3286
3328
  deleted,
3287
3329
  openActiveUpdate,
3330
+ dashboardRequest,
3288
3331
  bookingStatus,
3289
3332
  startDateTimeLte,
3290
3333
  startDateTimeGte,
@@ -3331,6 +3374,7 @@ const request = (config, options, axiosClient = axios) => {
3331
3374
  Archived: archived,
3332
3375
  Deleted: deleted,
3333
3376
  OpenActiveUpdate: openActiveUpdate,
3377
+ DashboardRequest: dashboardRequest,
3334
3378
  BookingStatus: bookingStatus,
3335
3379
  StartDateTimeLTE: startDateTimeLte,
3336
3380
  StartDateTimeGTE: startDateTimeGte,
@@ -3449,6 +3493,7 @@ const request = (config, options, axiosClient = axios) => {
3449
3493
  archived,
3450
3494
  deleted,
3451
3495
  openActiveUpdate,
3496
+ dashboardRequest,
3452
3497
  bookingStatus,
3453
3498
  startDateTimeLte,
3454
3499
  startDateTimeGte,
@@ -3495,6 +3540,7 @@ const request = (config, options, axiosClient = axios) => {
3495
3540
  Archived: archived,
3496
3541
  Deleted: deleted,
3497
3542
  OpenActiveUpdate: openActiveUpdate,
3543
+ DashboardRequest: dashboardRequest,
3498
3544
  BookingStatus: bookingStatus,
3499
3545
  StartDateTimeLTE: startDateTimeLte,
3500
3546
  StartDateTimeGTE: startDateTimeGte,
@@ -3550,6 +3596,7 @@ const request = (config, options, axiosClient = axios) => {
3550
3596
  archived,
3551
3597
  deleted,
3552
3598
  openActiveUpdate,
3599
+ dashboardRequest,
3553
3600
  bookingStatus,
3554
3601
  startDateTimeLte,
3555
3602
  startDateTimeGte,
@@ -3596,6 +3643,7 @@ const request = (config, options, axiosClient = axios) => {
3596
3643
  Archived: archived,
3597
3644
  Deleted: deleted,
3598
3645
  OpenActiveUpdate: openActiveUpdate,
3646
+ DashboardRequest: dashboardRequest,
3599
3647
  BookingStatus: bookingStatus,
3600
3648
  StartDateTimeLTE: startDateTimeLte,
3601
3649
  StartDateTimeGTE: startDateTimeGte,
@@ -3651,6 +3699,7 @@ const request = (config, options, axiosClient = axios) => {
3651
3699
  archived,
3652
3700
  deleted,
3653
3701
  openActiveUpdate,
3702
+ dashboardRequest,
3654
3703
  bookingStatus,
3655
3704
  startDateTimeLte,
3656
3705
  startDateTimeGte,
@@ -3697,6 +3746,7 @@ const request = (config, options, axiosClient = axios) => {
3697
3746
  Archived: archived,
3698
3747
  Deleted: deleted,
3699
3748
  OpenActiveUpdate: openActiveUpdate,
3749
+ DashboardRequest: dashboardRequest,
3700
3750
  BookingStatus: bookingStatus,
3701
3751
  StartDateTimeLTE: startDateTimeLte,
3702
3752
  StartDateTimeGTE: startDateTimeGte,
@@ -8234,6 +8284,7 @@ const request = (config, options, axiosClient = axios) => {
8234
8284
  deleted,
8235
8285
  activityType,
8236
8286
  includeNextOpportunity,
8287
+ featured,
8237
8288
  searchGeoCenter,
8238
8289
  openactiveActivityId,
8239
8290
  activityId,
@@ -8280,6 +8331,7 @@ const request = (config, options, axiosClient = axios) => {
8280
8331
  Deleted: deleted,
8281
8332
  ActivityType: activityType,
8282
8333
  IncludeNextOpportunity: includeNextOpportunity,
8334
+ Featured: featured,
8283
8335
  SearchGeoCenter: searchGeoCenter,
8284
8336
  OpenactiveActivityId: openactiveActivityId,
8285
8337
  ActivityId: activityId,
@@ -8356,6 +8408,7 @@ const request = (config, options, axiosClient = axios) => {
8356
8408
  deleted,
8357
8409
  activityType,
8358
8410
  includeNextOpportunity,
8411
+ featured,
8359
8412
  searchGeoCenter,
8360
8413
  openactiveActivityId,
8361
8414
  activityId,
@@ -8402,6 +8455,7 @@ const request = (config, options, axiosClient = axios) => {
8402
8455
  Deleted: deleted,
8403
8456
  ActivityType: activityType,
8404
8457
  IncludeNextOpportunity: includeNextOpportunity,
8458
+ Featured: featured,
8405
8459
  SearchGeoCenter: searchGeoCenter,
8406
8460
  OpenactiveActivityId: openactiveActivityId,
8407
8461
  ActivityId: activityId,
@@ -8457,6 +8511,7 @@ const request = (config, options, axiosClient = axios) => {
8457
8511
  deleted,
8458
8512
  activityType,
8459
8513
  includeNextOpportunity,
8514
+ featured,
8460
8515
  searchGeoCenter,
8461
8516
  openactiveActivityId,
8462
8517
  activityId,
@@ -8503,6 +8558,7 @@ const request = (config, options, axiosClient = axios) => {
8503
8558
  Deleted: deleted,
8504
8559
  ActivityType: activityType,
8505
8560
  IncludeNextOpportunity: includeNextOpportunity,
8561
+ Featured: featured,
8506
8562
  SearchGeoCenter: searchGeoCenter,
8507
8563
  OpenactiveActivityId: openactiveActivityId,
8508
8564
  ActivityId: activityId,
@@ -8558,6 +8614,7 @@ const request = (config, options, axiosClient = axios) => {
8558
8614
  deleted,
8559
8615
  activityType,
8560
8616
  includeNextOpportunity,
8617
+ featured,
8561
8618
  searchGeoCenter,
8562
8619
  openactiveActivityId,
8563
8620
  activityId,
@@ -8604,6 +8661,7 @@ const request = (config, options, axiosClient = axios) => {
8604
8661
  Deleted: deleted,
8605
8662
  ActivityType: activityType,
8606
8663
  IncludeNextOpportunity: includeNextOpportunity,
8664
+ Featured: featured,
8607
8665
  SearchGeoCenter: searchGeoCenter,
8608
8666
  OpenactiveActivityId: openactiveActivityId,
8609
8667
  ActivityId: activityId,
@@ -8659,6 +8717,7 @@ const request = (config, options, axiosClient = axios) => {
8659
8717
  deleted,
8660
8718
  activityType,
8661
8719
  includeNextOpportunity,
8720
+ featured,
8662
8721
  searchGeoCenter,
8663
8722
  openactiveActivityId,
8664
8723
  activityId,
@@ -8705,6 +8764,7 @@ const request = (config, options, axiosClient = axios) => {
8705
8764
  Deleted: deleted,
8706
8765
  ActivityType: activityType,
8707
8766
  IncludeNextOpportunity: includeNextOpportunity,
8767
+ Featured: featured,
8708
8768
  SearchGeoCenter: searchGeoCenter,
8709
8769
  OpenactiveActivityId: openactiveActivityId,
8710
8770
  ActivityId: activityId,
@@ -13814,6 +13874,7 @@ const request = (config, options, axiosClient = axios) => {
13814
13874
  orderByOpportunityStartdate,
13815
13875
  eventTiming,
13816
13876
  endUserIdentityId,
13877
+ dashboardRequest,
13817
13878
  pageNumber,
13818
13879
  take,
13819
13880
  skip,
@@ -13841,6 +13902,7 @@ const request = (config, options, axiosClient = axios) => {
13841
13902
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
13842
13903
  EventTiming: eventTiming,
13843
13904
  EndUserIdentityId: endUserIdentityId,
13905
+ DashboardRequest: dashboardRequest,
13844
13906
  PageNumber: pageNumber,
13845
13907
  Take: take,
13846
13908
  Skip: skip,
@@ -13940,6 +14002,7 @@ const request = (config, options, axiosClient = axios) => {
13940
14002
  orderByOpportunityStartdate,
13941
14003
  eventTiming,
13942
14004
  endUserIdentityId,
14005
+ dashboardRequest,
13943
14006
  pageNumber,
13944
14007
  take,
13945
14008
  skip,
@@ -13967,6 +14030,7 @@ const request = (config, options, axiosClient = axios) => {
13967
14030
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
13968
14031
  EventTiming: eventTiming,
13969
14032
  EndUserIdentityId: endUserIdentityId,
14033
+ DashboardRequest: dashboardRequest,
13970
14034
  PageNumber: pageNumber,
13971
14035
  Take: take,
13972
14036
  Skip: skip,
@@ -14003,6 +14067,7 @@ const request = (config, options, axiosClient = axios) => {
14003
14067
  orderByOpportunityStartdate,
14004
14068
  eventTiming,
14005
14069
  endUserIdentityId,
14070
+ dashboardRequest,
14006
14071
  pageNumber,
14007
14072
  take,
14008
14073
  skip,
@@ -14030,6 +14095,7 @@ const request = (config, options, axiosClient = axios) => {
14030
14095
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
14031
14096
  EventTiming: eventTiming,
14032
14097
  EndUserIdentityId: endUserIdentityId,
14098
+ DashboardRequest: dashboardRequest,
14033
14099
  PageNumber: pageNumber,
14034
14100
  Take: take,
14035
14101
  Skip: skip,
@@ -14066,6 +14132,7 @@ const request = (config, options, axiosClient = axios) => {
14066
14132
  orderByOpportunityStartdate,
14067
14133
  eventTiming,
14068
14134
  endUserIdentityId,
14135
+ dashboardRequest,
14069
14136
  pageNumber,
14070
14137
  take,
14071
14138
  skip,
@@ -14093,6 +14160,7 @@ const request = (config, options, axiosClient = axios) => {
14093
14160
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
14094
14161
  EventTiming: eventTiming,
14095
14162
  EndUserIdentityId: endUserIdentityId,
14163
+ DashboardRequest: dashboardRequest,
14096
14164
  PageNumber: pageNumber,
14097
14165
  Take: take,
14098
14166
  Skip: skip,
@@ -18324,6 +18392,7 @@ const request = (config, options, axiosClient = axios) => {
18324
18392
  archived,
18325
18393
  deleted,
18326
18394
  openActiveUpdate,
18395
+ dashboardRequest,
18327
18396
  bookingStatus,
18328
18397
  startDateTimeLte,
18329
18398
  startDateTimeGte,
@@ -18373,6 +18442,7 @@ const request = (config, options, axiosClient = axios) => {
18373
18442
  Archived: archived,
18374
18443
  Deleted: deleted,
18375
18444
  OpenActiveUpdate: openActiveUpdate,
18445
+ DashboardRequest: dashboardRequest,
18376
18446
  BookingStatus: bookingStatus,
18377
18447
  StartDateTimeLTE: startDateTimeLte,
18378
18448
  StartDateTimeGTE: startDateTimeGte,
@@ -18525,6 +18595,7 @@ const request = (config, options, axiosClient = axios) => {
18525
18595
  archived,
18526
18596
  deleted,
18527
18597
  openActiveUpdate,
18598
+ dashboardRequest,
18528
18599
  bookingStatus,
18529
18600
  startDateTimeLte,
18530
18601
  startDateTimeGte,
@@ -18574,6 +18645,7 @@ const request = (config, options, axiosClient = axios) => {
18574
18645
  Archived: archived,
18575
18646
  Deleted: deleted,
18576
18647
  OpenActiveUpdate: openActiveUpdate,
18648
+ DashboardRequest: dashboardRequest,
18577
18649
  BookingStatus: bookingStatus,
18578
18650
  StartDateTimeLTE: startDateTimeLte,
18579
18651
  StartDateTimeGTE: startDateTimeGte,
@@ -19243,6 +19315,7 @@ const request = (config, options, axiosClient = axios) => {
19243
19315
  deleted,
19244
19316
  activityType,
19245
19317
  includeNextOpportunity,
19318
+ featured,
19246
19319
  searchGeoCenter,
19247
19320
  openactiveActivityId,
19248
19321
  activityId,
@@ -19292,6 +19365,7 @@ const request = (config, options, axiosClient = axios) => {
19292
19365
  Deleted: deleted,
19293
19366
  ActivityType: activityType,
19294
19367
  IncludeNextOpportunity: includeNextOpportunity,
19368
+ Featured: featured,
19295
19369
  SearchGeoCenter: searchGeoCenter,
19296
19370
  OpenactiveActivityId: openactiveActivityId,
19297
19371
  ActivityId: activityId,
@@ -19347,6 +19421,7 @@ const request = (config, options, axiosClient = axios) => {
19347
19421
  deleted,
19348
19422
  activityType,
19349
19423
  includeNextOpportunity,
19424
+ featured,
19350
19425
  searchGeoCenter,
19351
19426
  openactiveActivityId,
19352
19427
  activityId,
@@ -19393,6 +19468,7 @@ const request = (config, options, axiosClient = axios) => {
19393
19468
  Deleted: deleted,
19394
19469
  ActivityType: activityType,
19395
19470
  IncludeNextOpportunity: includeNextOpportunity,
19471
+ Featured: featured,
19396
19472
  SearchGeoCenter: searchGeoCenter,
19397
19473
  OpenactiveActivityId: openactiveActivityId,
19398
19474
  ActivityId: activityId,
@@ -19449,6 +19525,7 @@ const request = (config, options, axiosClient = axios) => {
19449
19525
  deleted,
19450
19526
  activityType,
19451
19527
  includeNextOpportunity,
19528
+ featured,
19452
19529
  searchGeoCenter,
19453
19530
  openactiveActivityId,
19454
19531
  activityId,
@@ -19498,6 +19575,7 @@ const request = (config, options, axiosClient = axios) => {
19498
19575
  Deleted: deleted,
19499
19576
  ActivityType: activityType,
19500
19577
  IncludeNextOpportunity: includeNextOpportunity,
19578
+ Featured: featured,
19501
19579
  SearchGeoCenter: searchGeoCenter,
19502
19580
  OpenactiveActivityId: openactiveActivityId,
19503
19581
  ActivityId: activityId,
@@ -19581,6 +19659,7 @@ const request = (config, options, axiosClient = axios) => {
19581
19659
  deleted,
19582
19660
  activityType,
19583
19661
  includeNextOpportunity,
19662
+ featured,
19584
19663
  searchGeoCenter,
19585
19664
  openactiveActivityId,
19586
19665
  activityId,
@@ -19630,6 +19709,7 @@ const request = (config, options, axiosClient = axios) => {
19630
19709
  Deleted: deleted,
19631
19710
  ActivityType: activityType,
19632
19711
  IncludeNextOpportunity: includeNextOpportunity,
19712
+ Featured: featured,
19633
19713
  SearchGeoCenter: searchGeoCenter,
19634
19714
  OpenactiveActivityId: openactiveActivityId,
19635
19715
  ActivityId: activityId,
@@ -20109,6 +20189,7 @@ const request = (config, options, axiosClient = axios) => {
20109
20189
  archived,
20110
20190
  deleted,
20111
20191
  openActiveUpdate,
20192
+ dashboardRequest,
20112
20193
  networkId,
20113
20194
  distance,
20114
20195
  minAgeLte,
@@ -20155,6 +20236,7 @@ const request = (config, options, axiosClient = axios) => {
20155
20236
  Archived: archived,
20156
20237
  Deleted: deleted,
20157
20238
  OpenActiveUpdate: openActiveUpdate,
20239
+ DashboardRequest: dashboardRequest,
20158
20240
  NetworkId: networkId,
20159
20241
  Distance: distance,
20160
20242
  MinAgeLTE: minAgeLte,
@@ -20539,6 +20621,7 @@ const request = (config, options, axiosClient = axios) => {
20539
20621
  orderByOpportunityStartdate,
20540
20622
  eventTiming,
20541
20623
  endUserIdentityId,
20624
+ dashboardRequest,
20542
20625
  pageNumber,
20543
20626
  take,
20544
20627
  skip,
@@ -20569,6 +20652,7 @@ const request = (config, options, axiosClient = axios) => {
20569
20652
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
20570
20653
  EventTiming: eventTiming,
20571
20654
  EndUserIdentityId: endUserIdentityId,
20655
+ DashboardRequest: dashboardRequest,
20572
20656
  PageNumber: pageNumber,
20573
20657
  Take: take,
20574
20658
  Skip: skip,
@@ -20779,6 +20863,7 @@ const request = (config, options, axiosClient = axios) => {
20779
20863
  orderByOpportunityStartdate,
20780
20864
  eventTiming,
20781
20865
  endUserIdentityId,
20866
+ dashboardRequest,
20782
20867
  pageNumber,
20783
20868
  take,
20784
20869
  skip,
@@ -20809,6 +20894,7 @@ const request = (config, options, axiosClient = axios) => {
20809
20894
  OrderByOpportunityStartdate: orderByOpportunityStartdate,
20810
20895
  EventTiming: eventTiming,
20811
20896
  EndUserIdentityId: endUserIdentityId,
20897
+ DashboardRequest: dashboardRequest,
20812
20898
  PageNumber: pageNumber,
20813
20899
  Take: take,
20814
20900
  Skip: skip,
@@ -22594,6 +22680,7 @@ const request = (config, options, axiosClient = axios) => {
22594
22680
  archived,
22595
22681
  deleted,
22596
22682
  openActiveUpdate,
22683
+ dashboardRequest,
22597
22684
  networkId,
22598
22685
  distance,
22599
22686
  minAgeLte,
@@ -22643,6 +22730,7 @@ const request = (config, options, axiosClient = axios) => {
22643
22730
  Archived: archived,
22644
22731
  Deleted: deleted,
22645
22732
  OpenActiveUpdate: openActiveUpdate,
22733
+ DashboardRequest: dashboardRequest,
22646
22734
  NetworkId: networkId,
22647
22735
  Distance: distance,
22648
22736
  MinAgeLTE: minAgeLte,
@@ -22919,6 +23007,7 @@ const request = (config, options, axiosClient = axios) => {
22919
23007
  archived,
22920
23008
  deleted,
22921
23009
  openActiveUpdate,
23010
+ dashboardRequest,
22922
23011
  networkId,
22923
23012
  distance,
22924
23013
  minAgeLte,
@@ -22968,6 +23057,7 @@ const request = (config, options, axiosClient = axios) => {
22968
23057
  Archived: archived,
22969
23058
  Deleted: deleted,
22970
23059
  OpenActiveUpdate: openActiveUpdate,
23060
+ DashboardRequest: dashboardRequest,
22971
23061
  NetworkId: networkId,
22972
23062
  Distance: distance,
22973
23063
  MinAgeLTE: minAgeLte,
@@ -24629,6 +24719,7 @@ const request = (config, options, axiosClient = axios) => {
24629
24719
  includeOpportunityOffers,
24630
24720
  includeNextOpportunity,
24631
24721
  distance,
24722
+ dashboardRequest,
24632
24723
  pageNumber,
24633
24724
  take,
24634
24725
  skip,
@@ -24666,6 +24757,7 @@ const request = (config, options, axiosClient = axios) => {
24666
24757
  IncludeOpportunityOffers: includeOpportunityOffers,
24667
24758
  IncludeNextOpportunity: includeNextOpportunity,
24668
24759
  Distance: distance,
24760
+ DashboardRequest: dashboardRequest,
24669
24761
  PageNumber: pageNumber,
24670
24762
  Take: take,
24671
24763
  Skip: skip,
@@ -24733,6 +24825,7 @@ const request = (config, options, axiosClient = axios) => {
24733
24825
  includeOpportunityOffers,
24734
24826
  includeNextOpportunity,
24735
24827
  distance,
24828
+ dashboardRequest,
24736
24829
  pageNumber,
24737
24830
  take,
24738
24831
  skip,
@@ -24767,6 +24860,7 @@ const request = (config, options, axiosClient = axios) => {
24767
24860
  IncludeOpportunityOffers: includeOpportunityOffers,
24768
24861
  IncludeNextOpportunity: includeNextOpportunity,
24769
24862
  Distance: distance,
24863
+ DashboardRequest: dashboardRequest,
24770
24864
  PageNumber: pageNumber,
24771
24865
  Take: take,
24772
24866
  Skip: skip,
@@ -24883,6 +24977,7 @@ const request = (config, options, axiosClient = axios) => {
24883
24977
  includeOpportunityOffers,
24884
24978
  includeNextOpportunity,
24885
24979
  distance,
24980
+ dashboardRequest,
24886
24981
  pageNumber,
24887
24982
  take,
24888
24983
  skip,
@@ -24920,6 +25015,7 @@ const request = (config, options, axiosClient = axios) => {
24920
25015
  IncludeOpportunityOffers: includeOpportunityOffers,
24921
25016
  IncludeNextOpportunity: includeNextOpportunity,
24922
25017
  Distance: distance,
25018
+ DashboardRequest: dashboardRequest,
24923
25019
  PageNumber: pageNumber,
24924
25020
  Take: take,
24925
25021
  Skip: skip,
@@ -27950,7 +28046,7 @@ const request = (config, options, axiosClient = axios) => {
27950
28046
  });
27951
28047
  }
27952
28048
  /**
27953
- * Asign deal to session />.
28049
+ * Assign deal to session.
27954
28050
  * @returns Session OK
27955
28051
  * @throws ApiError
27956
28052
  */
@@ -27973,7 +28069,7 @@ const request = (config, options, axiosClient = axios) => {
27973
28069
  });
27974
28070
  }
27975
28071
  /**
27976
- * Unasign deal from session />.
28072
+ * Unassign deal from session.
27977
28073
  * @returns Session OK
27978
28074
  * @throws ApiError
27979
28075
  */
@@ -27995,6 +28091,48 @@ const request = (config, options, axiosClient = axios) => {
27995
28091
  }
27996
28092
  });
27997
28093
  }
28094
+ /**
28095
+ * Set the session as featured (displays more prominently on the storefront).
28096
+ * @returns Session OK
28097
+ * @throws ApiError
28098
+ */
28099
+ setFeatured({
28100
+ id
28101
+ }) {
28102
+ return this.httpRequest.request({
28103
+ method: "PATCH",
28104
+ url: "/api/sessions/{id}/set-featured",
28105
+ path: {
28106
+ id
28107
+ },
28108
+ errors: {
28109
+ 400: `Bad Request`,
28110
+ 422: `Unprocessable Content`,
28111
+ 500: `Internal Server Error`
28112
+ }
28113
+ });
28114
+ }
28115
+ /**
28116
+ * Remove the session as featured (displays as standard on the storefront).
28117
+ * @returns Session OK
28118
+ * @throws ApiError
28119
+ */
28120
+ removeFeatured({
28121
+ id
28122
+ }) {
28123
+ return this.httpRequest.request({
28124
+ method: "PATCH",
28125
+ url: "/api/sessions/{id}/remove-featured",
28126
+ path: {
28127
+ id
28128
+ },
28129
+ errors: {
28130
+ 400: `Bad Request`,
28131
+ 422: `Unprocessable Content`,
28132
+ 500: `Internal Server Error`
28133
+ }
28134
+ });
28135
+ }
27998
28136
  /**
27999
28137
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
28000
28138
  * @returns Session OK
@@ -28115,6 +28253,7 @@ const request = (config, options, axiosClient = axios) => {
28115
28253
  archived,
28116
28254
  deleted,
28117
28255
  openActiveUpdate,
28256
+ dashboardRequest,
28118
28257
  networkId,
28119
28258
  distance,
28120
28259
  minAgeLte,
@@ -28161,6 +28300,7 @@ const request = (config, options, axiosClient = axios) => {
28161
28300
  Archived: archived,
28162
28301
  Deleted: deleted,
28163
28302
  OpenActiveUpdate: openActiveUpdate,
28303
+ DashboardRequest: dashboardRequest,
28164
28304
  NetworkId: networkId,
28165
28305
  Distance: distance,
28166
28306
  MinAgeLTE: minAgeLte,
@@ -28279,6 +28419,7 @@ const request = (config, options, axiosClient = axios) => {
28279
28419
  archived,
28280
28420
  deleted,
28281
28421
  openActiveUpdate,
28422
+ dashboardRequest,
28282
28423
  networkId,
28283
28424
  distance,
28284
28425
  minAgeLte,
@@ -28325,6 +28466,7 @@ const request = (config, options, axiosClient = axios) => {
28325
28466
  Archived: archived,
28326
28467
  Deleted: deleted,
28327
28468
  OpenActiveUpdate: openActiveUpdate,
28469
+ DashboardRequest: dashboardRequest,
28328
28470
  NetworkId: networkId,
28329
28471
  Distance: distance,
28330
28472
  MinAgeLTE: minAgeLte,
@@ -28380,6 +28522,7 @@ const request = (config, options, axiosClient = axios) => {
28380
28522
  archived,
28381
28523
  deleted,
28382
28524
  openActiveUpdate,
28525
+ dashboardRequest,
28383
28526
  networkId,
28384
28527
  distance,
28385
28528
  minAgeLte,
@@ -28426,6 +28569,7 @@ const request = (config, options, axiosClient = axios) => {
28426
28569
  Archived: archived,
28427
28570
  Deleted: deleted,
28428
28571
  OpenActiveUpdate: openActiveUpdate,
28572
+ DashboardRequest: dashboardRequest,
28429
28573
  NetworkId: networkId,
28430
28574
  Distance: distance,
28431
28575
  MinAgeLTE: minAgeLte,
@@ -28481,6 +28625,7 @@ const request = (config, options, axiosClient = axios) => {
28481
28625
  archived,
28482
28626
  deleted,
28483
28627
  openActiveUpdate,
28628
+ dashboardRequest,
28484
28629
  networkId,
28485
28630
  distance,
28486
28631
  minAgeLte,
@@ -28527,6 +28672,7 @@ const request = (config, options, axiosClient = axios) => {
28527
28672
  Archived: archived,
28528
28673
  Deleted: deleted,
28529
28674
  OpenActiveUpdate: openActiveUpdate,
28675
+ DashboardRequest: dashboardRequest,
28530
28676
  NetworkId: networkId,
28531
28677
  Distance: distance,
28532
28678
  MinAgeLTE: minAgeLte,
@@ -38564,6 +38710,7 @@ const request = (config, options, axiosClient = axios) => {
38564
38710
  includeOpportunityOffers,
38565
38711
  includeNextOpportunity,
38566
38712
  distance,
38713
+ dashboardRequest,
38567
38714
  pageNumber,
38568
38715
  take,
38569
38716
  skip,
@@ -38598,6 +38745,7 @@ const request = (config, options, axiosClient = axios) => {
38598
38745
  IncludeOpportunityOffers: includeOpportunityOffers,
38599
38746
  IncludeNextOpportunity: includeNextOpportunity,
38600
38747
  Distance: distance,
38748
+ DashboardRequest: dashboardRequest,
38601
38749
  PageNumber: pageNumber,
38602
38750
  Take: take,
38603
38751
  Skip: skip,
@@ -38704,6 +38852,7 @@ const request = (config, options, axiosClient = axios) => {
38704
38852
  includeOpportunityOffers,
38705
38853
  includeNextOpportunity,
38706
38854
  distance,
38855
+ dashboardRequest,
38707
38856
  pageNumber,
38708
38857
  take,
38709
38858
  skip,
@@ -38738,6 +38887,7 @@ const request = (config, options, axiosClient = axios) => {
38738
38887
  IncludeOpportunityOffers: includeOpportunityOffers,
38739
38888
  IncludeNextOpportunity: includeNextOpportunity,
38740
38889
  Distance: distance,
38890
+ DashboardRequest: dashboardRequest,
38741
38891
  PageNumber: pageNumber,
38742
38892
  Take: take,
38743
38893
  Skip: skip,
@@ -38781,6 +38931,7 @@ const request = (config, options, axiosClient = axios) => {
38781
38931
  includeOpportunityOffers,
38782
38932
  includeNextOpportunity,
38783
38933
  distance,
38934
+ dashboardRequest,
38784
38935
  pageNumber,
38785
38936
  take,
38786
38937
  skip,
@@ -38815,6 +38966,7 @@ const request = (config, options, axiosClient = axios) => {
38815
38966
  IncludeOpportunityOffers: includeOpportunityOffers,
38816
38967
  IncludeNextOpportunity: includeNextOpportunity,
38817
38968
  Distance: distance,
38969
+ DashboardRequest: dashboardRequest,
38818
38970
  PageNumber: pageNumber,
38819
38971
  Take: take,
38820
38972
  Skip: skip,
@@ -38858,6 +39010,7 @@ const request = (config, options, axiosClient = axios) => {
38858
39010
  includeOpportunityOffers,
38859
39011
  includeNextOpportunity,
38860
39012
  distance,
39013
+ dashboardRequest,
38861
39014
  pageNumber,
38862
39015
  take,
38863
39016
  skip,
@@ -38892,6 +39045,7 @@ const request = (config, options, axiosClient = axios) => {
38892
39045
  IncludeOpportunityOffers: includeOpportunityOffers,
38893
39046
  IncludeNextOpportunity: includeNextOpportunity,
38894
39047
  Distance: distance,
39048
+ DashboardRequest: dashboardRequest,
38895
39049
  PageNumber: pageNumber,
38896
39050
  Take: take,
38897
39051
  Skip: skip,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reach-api-sdk",
3
- "version": "1.0.192",
3
+ "version": "1.0.193",
4
4
  "description": "sdk for reach api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",