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.d.ts +237 -41
- package/dist/reach-sdk.js +158 -4
- package/package.json +1 -1
- package/src/definition/swagger.yaml +445 -6
- package/src/models/Course.ts +4 -0
- package/src/models/GenericActivity.ts +4 -0
- package/src/models/Session.ts +4 -0
- package/src/services/CoursesService.ts +80 -2
- package/src/services/GenericActivityService.ts +30 -0
- package/src/services/OrderItemsService.ts +24 -0
- package/src/services/PublicCoursesService.ts +12 -0
- package/src/services/PublicGenericActivityService.ts +24 -0
- package/src/services/PublicNetworksService.ts +6 -0
- package/src/services/PublicOrderItemsService.ts +12 -0
- package/src/services/PublicSessionsService.ts +12 -0
- package/src/services/PublicVenuesService.ts +18 -0
- package/src/services/SessionsService.ts +82 -4
- package/src/services/VenuesService.ts +24 -0
|
@@ -8234,7 +8234,7 @@ paths:
|
|
|
8234
8234
|
patch:
|
|
8235
8235
|
tags:
|
|
8236
8236
|
- Courses
|
|
8237
|
-
summary:
|
|
8237
|
+
summary: Assign deal to course />.
|
|
8238
8238
|
operationId: AssignDeal
|
|
8239
8239
|
parameters:
|
|
8240
8240
|
- name: courseId
|
|
@@ -8304,7 +8304,7 @@ paths:
|
|
|
8304
8304
|
patch:
|
|
8305
8305
|
tags:
|
|
8306
8306
|
- Courses
|
|
8307
|
-
summary:
|
|
8307
|
+
summary: Unassign deal from course />.
|
|
8308
8308
|
operationId: UnassignDeal
|
|
8309
8309
|
parameters:
|
|
8310
8310
|
- name: courseId
|
|
@@ -8370,6 +8370,132 @@ paths:
|
|
|
8370
8370
|
text/json:
|
|
8371
8371
|
schema:
|
|
8372
8372
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
8373
|
+
'/api/courses/{id}/set-featured':
|
|
8374
|
+
patch:
|
|
8375
|
+
tags:
|
|
8376
|
+
- Courses
|
|
8377
|
+
summary: Set the course as featured (displays more prominently on the storefront).
|
|
8378
|
+
operationId: SetFeatured
|
|
8379
|
+
parameters:
|
|
8380
|
+
- name: id
|
|
8381
|
+
in: path
|
|
8382
|
+
description: The course Id.
|
|
8383
|
+
required: true
|
|
8384
|
+
schema:
|
|
8385
|
+
type: string
|
|
8386
|
+
format: uuid
|
|
8387
|
+
responses:
|
|
8388
|
+
'200':
|
|
8389
|
+
description: OK
|
|
8390
|
+
content:
|
|
8391
|
+
text/plain:
|
|
8392
|
+
schema:
|
|
8393
|
+
$ref: '#/components/schemas/Course'
|
|
8394
|
+
application/json:
|
|
8395
|
+
schema:
|
|
8396
|
+
$ref: '#/components/schemas/Course'
|
|
8397
|
+
text/json:
|
|
8398
|
+
schema:
|
|
8399
|
+
$ref: '#/components/schemas/Course'
|
|
8400
|
+
'400':
|
|
8401
|
+
description: Bad Request
|
|
8402
|
+
content:
|
|
8403
|
+
text/plain:
|
|
8404
|
+
schema:
|
|
8405
|
+
$ref: '#/components/schemas/ReachError'
|
|
8406
|
+
application/json:
|
|
8407
|
+
schema:
|
|
8408
|
+
$ref: '#/components/schemas/ReachError'
|
|
8409
|
+
text/json:
|
|
8410
|
+
schema:
|
|
8411
|
+
$ref: '#/components/schemas/ReachError'
|
|
8412
|
+
'500':
|
|
8413
|
+
description: Internal Server Error
|
|
8414
|
+
content:
|
|
8415
|
+
text/plain:
|
|
8416
|
+
schema:
|
|
8417
|
+
$ref: '#/components/schemas/ReachError'
|
|
8418
|
+
application/json:
|
|
8419
|
+
schema:
|
|
8420
|
+
$ref: '#/components/schemas/ReachError'
|
|
8421
|
+
text/json:
|
|
8422
|
+
schema:
|
|
8423
|
+
$ref: '#/components/schemas/ReachError'
|
|
8424
|
+
'422':
|
|
8425
|
+
description: Unprocessable Content
|
|
8426
|
+
content:
|
|
8427
|
+
text/plain:
|
|
8428
|
+
schema:
|
|
8429
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8430
|
+
application/json:
|
|
8431
|
+
schema:
|
|
8432
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8433
|
+
text/json:
|
|
8434
|
+
schema:
|
|
8435
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8436
|
+
'/api/courses/{id}/remove-featured':
|
|
8437
|
+
patch:
|
|
8438
|
+
tags:
|
|
8439
|
+
- Courses
|
|
8440
|
+
summary: Remove the course as featured (displays as standard on the storefront).
|
|
8441
|
+
operationId: RemoveFeatured
|
|
8442
|
+
parameters:
|
|
8443
|
+
- name: id
|
|
8444
|
+
in: path
|
|
8445
|
+
description: The course Id.
|
|
8446
|
+
required: true
|
|
8447
|
+
schema:
|
|
8448
|
+
type: string
|
|
8449
|
+
format: uuid
|
|
8450
|
+
responses:
|
|
8451
|
+
'200':
|
|
8452
|
+
description: OK
|
|
8453
|
+
content:
|
|
8454
|
+
text/plain:
|
|
8455
|
+
schema:
|
|
8456
|
+
$ref: '#/components/schemas/Course'
|
|
8457
|
+
application/json:
|
|
8458
|
+
schema:
|
|
8459
|
+
$ref: '#/components/schemas/Course'
|
|
8460
|
+
text/json:
|
|
8461
|
+
schema:
|
|
8462
|
+
$ref: '#/components/schemas/Course'
|
|
8463
|
+
'400':
|
|
8464
|
+
description: Bad Request
|
|
8465
|
+
content:
|
|
8466
|
+
text/plain:
|
|
8467
|
+
schema:
|
|
8468
|
+
$ref: '#/components/schemas/ReachError'
|
|
8469
|
+
application/json:
|
|
8470
|
+
schema:
|
|
8471
|
+
$ref: '#/components/schemas/ReachError'
|
|
8472
|
+
text/json:
|
|
8473
|
+
schema:
|
|
8474
|
+
$ref: '#/components/schemas/ReachError'
|
|
8475
|
+
'500':
|
|
8476
|
+
description: Internal Server Error
|
|
8477
|
+
content:
|
|
8478
|
+
text/plain:
|
|
8479
|
+
schema:
|
|
8480
|
+
$ref: '#/components/schemas/ReachError'
|
|
8481
|
+
application/json:
|
|
8482
|
+
schema:
|
|
8483
|
+
$ref: '#/components/schemas/ReachError'
|
|
8484
|
+
text/json:
|
|
8485
|
+
schema:
|
|
8486
|
+
$ref: '#/components/schemas/ReachError'
|
|
8487
|
+
'422':
|
|
8488
|
+
description: Unprocessable Content
|
|
8489
|
+
content:
|
|
8490
|
+
text/plain:
|
|
8491
|
+
schema:
|
|
8492
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8493
|
+
application/json:
|
|
8494
|
+
schema:
|
|
8495
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8496
|
+
text/json:
|
|
8497
|
+
schema:
|
|
8498
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
8373
8499
|
/api/courses/v2-temporary-route:
|
|
8374
8500
|
post:
|
|
8375
8501
|
tags:
|
|
@@ -8776,6 +8902,11 @@ paths:
|
|
|
8776
8902
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
8777
8903
|
schema:
|
|
8778
8904
|
type: boolean
|
|
8905
|
+
- name: DashboardRequest
|
|
8906
|
+
in: query
|
|
8907
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
8908
|
+
schema:
|
|
8909
|
+
type: boolean
|
|
8779
8910
|
- name: BookingStatus
|
|
8780
8911
|
in: query
|
|
8781
8912
|
description: Gets or sets the queryable booking status.
|
|
@@ -9245,6 +9376,11 @@ paths:
|
|
|
9245
9376
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
9246
9377
|
schema:
|
|
9247
9378
|
type: boolean
|
|
9379
|
+
- name: DashboardRequest
|
|
9380
|
+
in: query
|
|
9381
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
9382
|
+
schema:
|
|
9383
|
+
type: boolean
|
|
9248
9384
|
- name: BookingStatus
|
|
9249
9385
|
in: query
|
|
9250
9386
|
description: Gets or sets the queryable booking status.
|
|
@@ -9536,6 +9672,11 @@ paths:
|
|
|
9536
9672
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
9537
9673
|
schema:
|
|
9538
9674
|
type: boolean
|
|
9675
|
+
- name: DashboardRequest
|
|
9676
|
+
in: query
|
|
9677
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
9678
|
+
schema:
|
|
9679
|
+
type: boolean
|
|
9539
9680
|
- name: BookingStatus
|
|
9540
9681
|
in: query
|
|
9541
9682
|
description: Gets or sets the queryable booking status.
|
|
@@ -9833,6 +9974,11 @@ paths:
|
|
|
9833
9974
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
9834
9975
|
schema:
|
|
9835
9976
|
type: boolean
|
|
9977
|
+
- name: DashboardRequest
|
|
9978
|
+
in: query
|
|
9979
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
9980
|
+
schema:
|
|
9981
|
+
type: boolean
|
|
9836
9982
|
- name: BookingStatus
|
|
9837
9983
|
in: query
|
|
9838
9984
|
description: Gets or sets the queryable booking status.
|
|
@@ -23680,6 +23826,11 @@ paths:
|
|
|
23680
23826
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
23681
23827
|
schema:
|
|
23682
23828
|
type: boolean
|
|
23829
|
+
- name: Featured
|
|
23830
|
+
in: query
|
|
23831
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
23832
|
+
schema:
|
|
23833
|
+
type: boolean
|
|
23683
23834
|
- name: SearchGeoCenter
|
|
23684
23835
|
in: query
|
|
23685
23836
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -24044,6 +24195,11 @@ paths:
|
|
|
24044
24195
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
24045
24196
|
schema:
|
|
24046
24197
|
type: boolean
|
|
24198
|
+
- name: Featured
|
|
24199
|
+
in: query
|
|
24200
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
24201
|
+
schema:
|
|
24202
|
+
type: boolean
|
|
24047
24203
|
- name: SearchGeoCenter
|
|
24048
24204
|
in: query
|
|
24049
24205
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -24339,6 +24495,11 @@ paths:
|
|
|
24339
24495
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
24340
24496
|
schema:
|
|
24341
24497
|
type: boolean
|
|
24498
|
+
- name: Featured
|
|
24499
|
+
in: query
|
|
24500
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
24501
|
+
schema:
|
|
24502
|
+
type: boolean
|
|
24342
24503
|
- name: SearchGeoCenter
|
|
24343
24504
|
in: query
|
|
24344
24505
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -24634,6 +24795,11 @@ paths:
|
|
|
24634
24795
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
24635
24796
|
schema:
|
|
24636
24797
|
type: boolean
|
|
24798
|
+
- name: Featured
|
|
24799
|
+
in: query
|
|
24800
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
24801
|
+
schema:
|
|
24802
|
+
type: boolean
|
|
24637
24803
|
- name: SearchGeoCenter
|
|
24638
24804
|
in: query
|
|
24639
24805
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -24935,6 +25101,11 @@ paths:
|
|
|
24935
25101
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
24936
25102
|
schema:
|
|
24937
25103
|
type: boolean
|
|
25104
|
+
- name: Featured
|
|
25105
|
+
in: query
|
|
25106
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
25107
|
+
schema:
|
|
25108
|
+
type: boolean
|
|
24938
25109
|
- name: SearchGeoCenter
|
|
24939
25110
|
in: query
|
|
24940
25111
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -40518,6 +40689,11 @@ paths:
|
|
|
40518
40689
|
schema:
|
|
40519
40690
|
type: string
|
|
40520
40691
|
format: uuid
|
|
40692
|
+
- name: DashboardRequest
|
|
40693
|
+
in: query
|
|
40694
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
40695
|
+
schema:
|
|
40696
|
+
type: boolean
|
|
40521
40697
|
- name: PageNumber
|
|
40522
40698
|
in: query
|
|
40523
40699
|
description: Gets or sets the page number for paged queries.
|
|
@@ -40883,6 +41059,11 @@ paths:
|
|
|
40883
41059
|
schema:
|
|
40884
41060
|
type: string
|
|
40885
41061
|
format: uuid
|
|
41062
|
+
- name: DashboardRequest
|
|
41063
|
+
in: query
|
|
41064
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
41065
|
+
schema:
|
|
41066
|
+
type: boolean
|
|
40886
41067
|
- name: PageNumber
|
|
40887
41068
|
in: query
|
|
40888
41069
|
description: Gets or sets the page number for paged queries.
|
|
@@ -41070,6 +41251,11 @@ paths:
|
|
|
41070
41251
|
schema:
|
|
41071
41252
|
type: string
|
|
41072
41253
|
format: uuid
|
|
41254
|
+
- name: DashboardRequest
|
|
41255
|
+
in: query
|
|
41256
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
41257
|
+
schema:
|
|
41258
|
+
type: boolean
|
|
41073
41259
|
- name: PageNumber
|
|
41074
41260
|
in: query
|
|
41075
41261
|
description: Gets or sets the page number for paged queries.
|
|
@@ -41263,6 +41449,11 @@ paths:
|
|
|
41263
41449
|
schema:
|
|
41264
41450
|
type: string
|
|
41265
41451
|
format: uuid
|
|
41452
|
+
- name: DashboardRequest
|
|
41453
|
+
in: query
|
|
41454
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
41455
|
+
schema:
|
|
41456
|
+
type: boolean
|
|
41266
41457
|
- name: PageNumber
|
|
41267
41458
|
in: query
|
|
41268
41459
|
description: Gets or sets the page number for paged queries.
|
|
@@ -53944,6 +54135,11 @@ paths:
|
|
|
53944
54135
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
53945
54136
|
schema:
|
|
53946
54137
|
type: boolean
|
|
54138
|
+
- name: DashboardRequest
|
|
54139
|
+
in: query
|
|
54140
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
54141
|
+
schema:
|
|
54142
|
+
type: boolean
|
|
53947
54143
|
- name: BookingStatus
|
|
53948
54144
|
in: query
|
|
53949
54145
|
description: Gets or sets the queryable booking status.
|
|
@@ -54532,6 +54728,11 @@ paths:
|
|
|
54532
54728
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
54533
54729
|
schema:
|
|
54534
54730
|
type: boolean
|
|
54731
|
+
- name: DashboardRequest
|
|
54732
|
+
in: query
|
|
54733
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
54734
|
+
schema:
|
|
54735
|
+
type: boolean
|
|
54535
54736
|
- name: BookingStatus
|
|
54536
54737
|
in: query
|
|
54537
54738
|
description: Gets or sets the queryable booking status.
|
|
@@ -56478,6 +56679,11 @@ paths:
|
|
|
56478
56679
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
56479
56680
|
schema:
|
|
56480
56681
|
type: boolean
|
|
56682
|
+
- name: Featured
|
|
56683
|
+
in: query
|
|
56684
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
56685
|
+
schema:
|
|
56686
|
+
type: boolean
|
|
56481
56687
|
- name: SearchGeoCenter
|
|
56482
56688
|
in: query
|
|
56483
56689
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -56773,6 +56979,11 @@ paths:
|
|
|
56773
56979
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
56774
56980
|
schema:
|
|
56775
56981
|
type: boolean
|
|
56982
|
+
- name: Featured
|
|
56983
|
+
in: query
|
|
56984
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
56985
|
+
schema:
|
|
56986
|
+
type: boolean
|
|
56776
56987
|
- name: SearchGeoCenter
|
|
56777
56988
|
in: query
|
|
56778
56989
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -57073,6 +57284,11 @@ paths:
|
|
|
57073
57284
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
57074
57285
|
schema:
|
|
57075
57286
|
type: boolean
|
|
57287
|
+
- name: Featured
|
|
57288
|
+
in: query
|
|
57289
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
57290
|
+
schema:
|
|
57291
|
+
type: boolean
|
|
57076
57292
|
- name: SearchGeoCenter
|
|
57077
57293
|
in: query
|
|
57078
57294
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -57465,6 +57681,11 @@ paths:
|
|
|
57465
57681
|
description: Gets or sets a value indicating whether to inlcude the activities next availability.
|
|
57466
57682
|
schema:
|
|
57467
57683
|
type: boolean
|
|
57684
|
+
- name: Featured
|
|
57685
|
+
in: query
|
|
57686
|
+
description: Gets or sets a value indicating whether to filter on whether the activity is featured.
|
|
57687
|
+
schema:
|
|
57688
|
+
type: boolean
|
|
57468
57689
|
- name: SearchGeoCenter
|
|
57469
57690
|
in: query
|
|
57470
57691
|
description: Gets or sets SearchGeoCenter.
|
|
@@ -58920,6 +59141,11 @@ paths:
|
|
|
58920
59141
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
58921
59142
|
schema:
|
|
58922
59143
|
type: boolean
|
|
59144
|
+
- name: DashboardRequest
|
|
59145
|
+
in: query
|
|
59146
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
59147
|
+
schema:
|
|
59148
|
+
type: boolean
|
|
58923
59149
|
- name: NetworkId
|
|
58924
59150
|
in: query
|
|
58925
59151
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -60126,6 +60352,11 @@ paths:
|
|
|
60126
60352
|
schema:
|
|
60127
60353
|
type: string
|
|
60128
60354
|
format: uuid
|
|
60355
|
+
- name: DashboardRequest
|
|
60356
|
+
in: query
|
|
60357
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
60358
|
+
schema:
|
|
60359
|
+
type: boolean
|
|
60129
60360
|
- name: PageNumber
|
|
60130
60361
|
in: query
|
|
60131
60362
|
description: Gets or sets the page number for paged queries.
|
|
@@ -60809,6 +61040,11 @@ paths:
|
|
|
60809
61040
|
schema:
|
|
60810
61041
|
type: string
|
|
60811
61042
|
format: uuid
|
|
61043
|
+
- name: DashboardRequest
|
|
61044
|
+
in: query
|
|
61045
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
61046
|
+
schema:
|
|
61047
|
+
type: boolean
|
|
60812
61048
|
- name: PageNumber
|
|
60813
61049
|
in: query
|
|
60814
61050
|
description: Gets or sets the page number for paged queries.
|
|
@@ -65869,6 +66105,11 @@ paths:
|
|
|
65869
66105
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
65870
66106
|
schema:
|
|
65871
66107
|
type: boolean
|
|
66108
|
+
- name: DashboardRequest
|
|
66109
|
+
in: query
|
|
66110
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
66111
|
+
schema:
|
|
66112
|
+
type: boolean
|
|
65872
66113
|
- name: NetworkId
|
|
65873
66114
|
in: query
|
|
65874
66115
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -66798,6 +67039,11 @@ paths:
|
|
|
66798
67039
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
66799
67040
|
schema:
|
|
66800
67041
|
type: boolean
|
|
67042
|
+
- name: DashboardRequest
|
|
67043
|
+
in: query
|
|
67044
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
67045
|
+
schema:
|
|
67046
|
+
type: boolean
|
|
66801
67047
|
- name: NetworkId
|
|
66802
67048
|
in: query
|
|
66803
67049
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -71562,6 +71808,11 @@ paths:
|
|
|
71562
71808
|
schema:
|
|
71563
71809
|
type: number
|
|
71564
71810
|
format: float
|
|
71811
|
+
- name: DashboardRequest
|
|
71812
|
+
in: query
|
|
71813
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
71814
|
+
schema:
|
|
71815
|
+
type: boolean
|
|
71565
71816
|
- name: PageNumber
|
|
71566
71817
|
in: query
|
|
71567
71818
|
description: Gets or sets the page number for paged queries.
|
|
@@ -71843,6 +72094,11 @@ paths:
|
|
|
71843
72094
|
schema:
|
|
71844
72095
|
type: number
|
|
71845
72096
|
format: float
|
|
72097
|
+
- name: DashboardRequest
|
|
72098
|
+
in: query
|
|
72099
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
72100
|
+
schema:
|
|
72101
|
+
type: boolean
|
|
71846
72102
|
- name: PageNumber
|
|
71847
72103
|
in: query
|
|
71848
72104
|
description: Gets or sets the page number for paged queries.
|
|
@@ -72297,6 +72553,11 @@ paths:
|
|
|
72297
72553
|
schema:
|
|
72298
72554
|
type: number
|
|
72299
72555
|
format: float
|
|
72556
|
+
- name: DashboardRequest
|
|
72557
|
+
in: query
|
|
72558
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
72559
|
+
schema:
|
|
72560
|
+
type: boolean
|
|
72300
72561
|
- name: PageNumber
|
|
72301
72562
|
in: query
|
|
72302
72563
|
description: Gets or sets the page number for paged queries.
|
|
@@ -81394,12 +81655,12 @@ paths:
|
|
|
81394
81655
|
patch:
|
|
81395
81656
|
tags:
|
|
81396
81657
|
- Sessions
|
|
81397
|
-
summary:
|
|
81658
|
+
summary: Assign deal to session.
|
|
81398
81659
|
operationId: AssignDeal
|
|
81399
81660
|
parameters:
|
|
81400
81661
|
- name: sessionId
|
|
81401
81662
|
in: path
|
|
81402
|
-
description: The
|
|
81663
|
+
description: The session Id.
|
|
81403
81664
|
required: true
|
|
81404
81665
|
schema:
|
|
81405
81666
|
type: string
|
|
@@ -81464,12 +81725,12 @@ paths:
|
|
|
81464
81725
|
patch:
|
|
81465
81726
|
tags:
|
|
81466
81727
|
- Sessions
|
|
81467
|
-
summary:
|
|
81728
|
+
summary: Unassign deal from session.
|
|
81468
81729
|
operationId: UnassignDeal
|
|
81469
81730
|
parameters:
|
|
81470
81731
|
- name: sessionId
|
|
81471
81732
|
in: path
|
|
81472
|
-
description: The
|
|
81733
|
+
description: The session Id.
|
|
81473
81734
|
required: true
|
|
81474
81735
|
schema:
|
|
81475
81736
|
type: string
|
|
@@ -81530,6 +81791,132 @@ paths:
|
|
|
81530
81791
|
text/json:
|
|
81531
81792
|
schema:
|
|
81532
81793
|
$ref: '#/components/schemas/ValidationResultModel'
|
|
81794
|
+
'/api/sessions/{id}/set-featured':
|
|
81795
|
+
patch:
|
|
81796
|
+
tags:
|
|
81797
|
+
- Sessions
|
|
81798
|
+
summary: Set the session as featured (displays more prominently on the storefront).
|
|
81799
|
+
operationId: SetFeatured
|
|
81800
|
+
parameters:
|
|
81801
|
+
- name: id
|
|
81802
|
+
in: path
|
|
81803
|
+
description: The session Id.
|
|
81804
|
+
required: true
|
|
81805
|
+
schema:
|
|
81806
|
+
type: string
|
|
81807
|
+
format: uuid
|
|
81808
|
+
responses:
|
|
81809
|
+
'200':
|
|
81810
|
+
description: OK
|
|
81811
|
+
content:
|
|
81812
|
+
text/plain:
|
|
81813
|
+
schema:
|
|
81814
|
+
$ref: '#/components/schemas/Session'
|
|
81815
|
+
application/json:
|
|
81816
|
+
schema:
|
|
81817
|
+
$ref: '#/components/schemas/Session'
|
|
81818
|
+
text/json:
|
|
81819
|
+
schema:
|
|
81820
|
+
$ref: '#/components/schemas/Session'
|
|
81821
|
+
'400':
|
|
81822
|
+
description: Bad Request
|
|
81823
|
+
content:
|
|
81824
|
+
text/plain:
|
|
81825
|
+
schema:
|
|
81826
|
+
$ref: '#/components/schemas/ReachError'
|
|
81827
|
+
application/json:
|
|
81828
|
+
schema:
|
|
81829
|
+
$ref: '#/components/schemas/ReachError'
|
|
81830
|
+
text/json:
|
|
81831
|
+
schema:
|
|
81832
|
+
$ref: '#/components/schemas/ReachError'
|
|
81833
|
+
'500':
|
|
81834
|
+
description: Internal Server Error
|
|
81835
|
+
content:
|
|
81836
|
+
text/plain:
|
|
81837
|
+
schema:
|
|
81838
|
+
$ref: '#/components/schemas/ReachError'
|
|
81839
|
+
application/json:
|
|
81840
|
+
schema:
|
|
81841
|
+
$ref: '#/components/schemas/ReachError'
|
|
81842
|
+
text/json:
|
|
81843
|
+
schema:
|
|
81844
|
+
$ref: '#/components/schemas/ReachError'
|
|
81845
|
+
'422':
|
|
81846
|
+
description: Unprocessable Content
|
|
81847
|
+
content:
|
|
81848
|
+
text/plain:
|
|
81849
|
+
schema:
|
|
81850
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81851
|
+
application/json:
|
|
81852
|
+
schema:
|
|
81853
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81854
|
+
text/json:
|
|
81855
|
+
schema:
|
|
81856
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81857
|
+
'/api/sessions/{id}/remove-featured':
|
|
81858
|
+
patch:
|
|
81859
|
+
tags:
|
|
81860
|
+
- Sessions
|
|
81861
|
+
summary: Remove the session as featured (displays as standard on the storefront).
|
|
81862
|
+
operationId: RemoveFeatured
|
|
81863
|
+
parameters:
|
|
81864
|
+
- name: id
|
|
81865
|
+
in: path
|
|
81866
|
+
description: The session Id.
|
|
81867
|
+
required: true
|
|
81868
|
+
schema:
|
|
81869
|
+
type: string
|
|
81870
|
+
format: uuid
|
|
81871
|
+
responses:
|
|
81872
|
+
'200':
|
|
81873
|
+
description: OK
|
|
81874
|
+
content:
|
|
81875
|
+
text/plain:
|
|
81876
|
+
schema:
|
|
81877
|
+
$ref: '#/components/schemas/Session'
|
|
81878
|
+
application/json:
|
|
81879
|
+
schema:
|
|
81880
|
+
$ref: '#/components/schemas/Session'
|
|
81881
|
+
text/json:
|
|
81882
|
+
schema:
|
|
81883
|
+
$ref: '#/components/schemas/Session'
|
|
81884
|
+
'400':
|
|
81885
|
+
description: Bad Request
|
|
81886
|
+
content:
|
|
81887
|
+
text/plain:
|
|
81888
|
+
schema:
|
|
81889
|
+
$ref: '#/components/schemas/ReachError'
|
|
81890
|
+
application/json:
|
|
81891
|
+
schema:
|
|
81892
|
+
$ref: '#/components/schemas/ReachError'
|
|
81893
|
+
text/json:
|
|
81894
|
+
schema:
|
|
81895
|
+
$ref: '#/components/schemas/ReachError'
|
|
81896
|
+
'500':
|
|
81897
|
+
description: Internal Server Error
|
|
81898
|
+
content:
|
|
81899
|
+
text/plain:
|
|
81900
|
+
schema:
|
|
81901
|
+
$ref: '#/components/schemas/ReachError'
|
|
81902
|
+
application/json:
|
|
81903
|
+
schema:
|
|
81904
|
+
$ref: '#/components/schemas/ReachError'
|
|
81905
|
+
text/json:
|
|
81906
|
+
schema:
|
|
81907
|
+
$ref: '#/components/schemas/ReachError'
|
|
81908
|
+
'422':
|
|
81909
|
+
description: Unprocessable Content
|
|
81910
|
+
content:
|
|
81911
|
+
text/plain:
|
|
81912
|
+
schema:
|
|
81913
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81914
|
+
application/json:
|
|
81915
|
+
schema:
|
|
81916
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81917
|
+
text/json:
|
|
81918
|
+
schema:
|
|
81919
|
+
$ref: '#/components/schemas/ValidationResultModel'
|
|
81533
81920
|
/api/sessions/v2-temporary-route:
|
|
81534
81921
|
post:
|
|
81535
81922
|
tags:
|
|
@@ -81950,6 +82337,11 @@ paths:
|
|
|
81950
82337
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
81951
82338
|
schema:
|
|
81952
82339
|
type: boolean
|
|
82340
|
+
- name: DashboardRequest
|
|
82341
|
+
in: query
|
|
82342
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
82343
|
+
schema:
|
|
82344
|
+
type: boolean
|
|
81953
82345
|
- name: NetworkId
|
|
81954
82346
|
in: query
|
|
81955
82347
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -82421,6 +82813,11 @@ paths:
|
|
|
82421
82813
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
82422
82814
|
schema:
|
|
82423
82815
|
type: boolean
|
|
82816
|
+
- name: DashboardRequest
|
|
82817
|
+
in: query
|
|
82818
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
82819
|
+
schema:
|
|
82820
|
+
type: boolean
|
|
82424
82821
|
- name: NetworkId
|
|
82425
82822
|
in: query
|
|
82426
82823
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -82714,6 +83111,11 @@ paths:
|
|
|
82714
83111
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
82715
83112
|
schema:
|
|
82716
83113
|
type: boolean
|
|
83114
|
+
- name: DashboardRequest
|
|
83115
|
+
in: query
|
|
83116
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
83117
|
+
schema:
|
|
83118
|
+
type: boolean
|
|
82717
83119
|
- name: NetworkId
|
|
82718
83120
|
in: query
|
|
82719
83121
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -83013,6 +83415,11 @@ paths:
|
|
|
83013
83415
|
description: Gets or sets a value indicating this an openactive reaquest.
|
|
83014
83416
|
schema:
|
|
83015
83417
|
type: boolean
|
|
83418
|
+
- name: DashboardRequest
|
|
83419
|
+
in: query
|
|
83420
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
83421
|
+
schema:
|
|
83422
|
+
type: boolean
|
|
83016
83423
|
- name: NetworkId
|
|
83017
83424
|
in: query
|
|
83018
83425
|
description: Gets or sets a value indicating whether to include only sessions by given NetworkId.
|
|
@@ -113750,6 +114157,11 @@ paths:
|
|
|
113750
114157
|
schema:
|
|
113751
114158
|
type: number
|
|
113752
114159
|
format: float
|
|
114160
|
+
- name: DashboardRequest
|
|
114161
|
+
in: query
|
|
114162
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
114163
|
+
schema:
|
|
114164
|
+
type: boolean
|
|
113753
114165
|
- name: PageNumber
|
|
113754
114166
|
in: query
|
|
113755
114167
|
description: Gets or sets the page number for paged queries.
|
|
@@ -114147,6 +114559,11 @@ paths:
|
|
|
114147
114559
|
schema:
|
|
114148
114560
|
type: number
|
|
114149
114561
|
format: float
|
|
114562
|
+
- name: DashboardRequest
|
|
114563
|
+
in: query
|
|
114564
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
114565
|
+
schema:
|
|
114566
|
+
type: boolean
|
|
114150
114567
|
- name: PageNumber
|
|
114151
114568
|
in: query
|
|
114152
114569
|
description: Gets or sets the page number for paged queries.
|
|
@@ -114366,6 +114783,11 @@ paths:
|
|
|
114366
114783
|
schema:
|
|
114367
114784
|
type: number
|
|
114368
114785
|
format: float
|
|
114786
|
+
- name: DashboardRequest
|
|
114787
|
+
in: query
|
|
114788
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
114789
|
+
schema:
|
|
114790
|
+
type: boolean
|
|
114369
114791
|
- name: PageNumber
|
|
114370
114792
|
in: query
|
|
114371
114793
|
description: Gets or sets the page number for paged queries.
|
|
@@ -114591,6 +115013,11 @@ paths:
|
|
|
114591
115013
|
schema:
|
|
114592
115014
|
type: number
|
|
114593
115015
|
format: float
|
|
115016
|
+
- name: DashboardRequest
|
|
115017
|
+
in: query
|
|
115018
|
+
description: Gets or sets a value indicating this a request from the storefront dashboard.Needs replacing with token middleware and DI.
|
|
115019
|
+
schema:
|
|
115020
|
+
type: boolean
|
|
114594
115021
|
- name: PageNumber
|
|
114595
115022
|
in: query
|
|
114596
115023
|
description: Gets or sets the page number for paged queries.
|
|
@@ -121735,6 +122162,10 @@ components:
|
|
|
121735
122162
|
type: string
|
|
121736
122163
|
description: Gets or sets the admin contact email.
|
|
121737
122164
|
nullable: true
|
|
122165
|
+
sendReminder:
|
|
122166
|
+
type: boolean
|
|
122167
|
+
description: Gets or sets a valu indicating whether to send the reminder email.
|
|
122168
|
+
nullable: true
|
|
121738
122169
|
reminderHoursBeforeStart:
|
|
121739
122170
|
type: integer
|
|
121740
122171
|
description: Gets or sets the reminder hours before start.
|
|
@@ -124972,6 +125403,10 @@ components:
|
|
|
124972
125403
|
type: boolean
|
|
124973
125404
|
description: Gets or sets a value indicating whether there is an age restriction.
|
|
124974
125405
|
default: false
|
|
125406
|
+
featured:
|
|
125407
|
+
type: boolean
|
|
125408
|
+
description: Gets or sets a value indicating whether the activity should be featured on the storefront.
|
|
125409
|
+
default: false
|
|
124975
125410
|
startDateTime:
|
|
124976
125411
|
type: string
|
|
124977
125412
|
description: Gets or sets the start date.
|
|
@@ -130601,6 +131036,10 @@ components:
|
|
|
130601
131036
|
type: string
|
|
130602
131037
|
description: Gets or sets the admin contact email.
|
|
130603
131038
|
nullable: true
|
|
131039
|
+
sendReminder:
|
|
131040
|
+
type: boolean
|
|
131041
|
+
description: Gets or sets a valu indicating whether to send the reminder email.
|
|
131042
|
+
nullable: true
|
|
130604
131043
|
reminderHoursBeforeStart:
|
|
130605
131044
|
type: integer
|
|
130606
131045
|
description: Gets or sets the reminder hours before start.
|