reach-api-sdk 1.0.217 → 1.0.218

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
@@ -7006,6 +7006,8 @@ const request = (config, options, axiosClient = axios) => {
7006
7006
  courseIds,
7007
7007
  sessionId,
7008
7008
  sessionIds,
7009
+ sellableItemId,
7010
+ sellableItemIds,
7009
7011
  pageNumber,
7010
7012
  take,
7011
7013
  skip,
@@ -7028,6 +7030,8 @@ const request = (config, options, axiosClient = axios) => {
7028
7030
  CourseIds: courseIds,
7029
7031
  SessionId: sessionId,
7030
7032
  SessionIds: sessionIds,
7033
+ SellableItemId: sellableItemId,
7034
+ SellableItemIds: sellableItemIds,
7031
7035
  PageNumber: pageNumber,
7032
7036
  Take: take,
7033
7037
  Skip: skip,
@@ -7122,6 +7126,8 @@ const request = (config, options, axiosClient = axios) => {
7122
7126
  courseIds,
7123
7127
  sessionId,
7124
7128
  sessionIds,
7129
+ sellableItemId,
7130
+ sellableItemIds,
7125
7131
  pageNumber,
7126
7132
  take,
7127
7133
  skip,
@@ -7144,6 +7150,8 @@ const request = (config, options, axiosClient = axios) => {
7144
7150
  CourseIds: courseIds,
7145
7151
  SessionId: sessionId,
7146
7152
  SessionIds: sessionIds,
7153
+ SellableItemId: sellableItemId,
7154
+ SellableItemIds: sellableItemIds,
7147
7155
  PageNumber: pageNumber,
7148
7156
  Take: take,
7149
7157
  Skip: skip,
@@ -7175,6 +7183,8 @@ const request = (config, options, axiosClient = axios) => {
7175
7183
  courseIds,
7176
7184
  sessionId,
7177
7185
  sessionIds,
7186
+ sellableItemId,
7187
+ sellableItemIds,
7178
7188
  pageNumber,
7179
7189
  take,
7180
7190
  skip,
@@ -7197,6 +7207,8 @@ const request = (config, options, axiosClient = axios) => {
7197
7207
  CourseIds: courseIds,
7198
7208
  SessionId: sessionId,
7199
7209
  SessionIds: sessionIds,
7210
+ SellableItemId: sellableItemId,
7211
+ SellableItemIds: sellableItemIds,
7200
7212
  PageNumber: pageNumber,
7201
7213
  Take: take,
7202
7214
  Skip: skip,
@@ -7228,6 +7240,8 @@ const request = (config, options, axiosClient = axios) => {
7228
7240
  courseIds,
7229
7241
  sessionId,
7230
7242
  sessionIds,
7243
+ sellableItemId,
7244
+ sellableItemIds,
7231
7245
  pageNumber,
7232
7246
  take,
7233
7247
  skip,
@@ -7250,6 +7264,8 @@ const request = (config, options, axiosClient = axios) => {
7250
7264
  CourseIds: courseIds,
7251
7265
  SessionId: sessionId,
7252
7266
  SessionIds: sessionIds,
7267
+ SellableItemId: sellableItemId,
7268
+ SellableItemIds: sellableItemIds,
7253
7269
  PageNumber: pageNumber,
7254
7270
  Take: take,
7255
7271
  Skip: skip,
@@ -7281,6 +7297,8 @@ const request = (config, options, axiosClient = axios) => {
7281
7297
  courseIds,
7282
7298
  sessionId,
7283
7299
  sessionIds,
7300
+ sellableItemId,
7301
+ sellableItemIds,
7284
7302
  pageNumber,
7285
7303
  take,
7286
7304
  skip,
@@ -7303,6 +7321,8 @@ const request = (config, options, axiosClient = axios) => {
7303
7321
  CourseIds: courseIds,
7304
7322
  SessionId: sessionId,
7305
7323
  SessionIds: sessionIds,
7324
+ SellableItemId: sellableItemId,
7325
+ SellableItemIds: sellableItemIds,
7306
7326
  PageNumber: pageNumber,
7307
7327
  Take: take,
7308
7328
  Skip: skip,
@@ -8779,6 +8799,7 @@ const request = (config, options, axiosClient = axios) => {
8779
8799
  facilityId,
8780
8800
  sessionId,
8781
8801
  courseId,
8802
+ sellableItemId,
8782
8803
  pageNumber,
8783
8804
  take,
8784
8805
  skip,
@@ -8800,6 +8821,7 @@ const request = (config, options, axiosClient = axios) => {
8800
8821
  FacilityId: facilityId,
8801
8822
  SessionId: sessionId,
8802
8823
  CourseId: courseId,
8824
+ SellableItemId: sellableItemId,
8803
8825
  PageNumber: pageNumber,
8804
8826
  Take: take,
8805
8827
  Skip: skip,
@@ -8893,6 +8915,7 @@ const request = (config, options, axiosClient = axios) => {
8893
8915
  facilityId,
8894
8916
  sessionId,
8895
8917
  courseId,
8918
+ sellableItemId,
8896
8919
  pageNumber,
8897
8920
  take,
8898
8921
  skip,
@@ -8914,6 +8937,7 @@ const request = (config, options, axiosClient = axios) => {
8914
8937
  FacilityId: facilityId,
8915
8938
  SessionId: sessionId,
8916
8939
  CourseId: courseId,
8940
+ SellableItemId: sellableItemId,
8917
8941
  PageNumber: pageNumber,
8918
8942
  Take: take,
8919
8943
  Skip: skip,
@@ -8944,6 +8968,7 @@ const request = (config, options, axiosClient = axios) => {
8944
8968
  facilityId,
8945
8969
  sessionId,
8946
8970
  courseId,
8971
+ sellableItemId,
8947
8972
  pageNumber,
8948
8973
  take,
8949
8974
  skip,
@@ -8965,6 +8990,7 @@ const request = (config, options, axiosClient = axios) => {
8965
8990
  FacilityId: facilityId,
8966
8991
  SessionId: sessionId,
8967
8992
  CourseId: courseId,
8993
+ SellableItemId: sellableItemId,
8968
8994
  PageNumber: pageNumber,
8969
8995
  Take: take,
8970
8996
  Skip: skip,
@@ -8995,6 +9021,7 @@ const request = (config, options, axiosClient = axios) => {
8995
9021
  facilityId,
8996
9022
  sessionId,
8997
9023
  courseId,
9024
+ sellableItemId,
8998
9025
  pageNumber,
8999
9026
  take,
9000
9027
  skip,
@@ -9016,6 +9043,7 @@ const request = (config, options, axiosClient = axios) => {
9016
9043
  FacilityId: facilityId,
9017
9044
  SessionId: sessionId,
9018
9045
  CourseId: courseId,
9046
+ SellableItemId: sellableItemId,
9019
9047
  PageNumber: pageNumber,
9020
9048
  Take: take,
9021
9049
  Skip: skip,
@@ -9046,6 +9074,7 @@ const request = (config, options, axiosClient = axios) => {
9046
9074
  facilityId,
9047
9075
  sessionId,
9048
9076
  courseId,
9077
+ sellableItemId,
9049
9078
  pageNumber,
9050
9079
  take,
9051
9080
  skip,
@@ -9067,6 +9096,7 @@ const request = (config, options, axiosClient = axios) => {
9067
9096
  FacilityId: facilityId,
9068
9097
  SessionId: sessionId,
9069
9098
  CourseId: courseId,
9099
+ SellableItemId: sellableItemId,
9070
9100
  PageNumber: pageNumber,
9071
9101
  Take: take,
9072
9102
  Skip: skip,
@@ -11325,6 +11355,7 @@ const request = (config, options, axiosClient = axios) => {
11325
11355
  sessionIds,
11326
11356
  courseId,
11327
11357
  courseIds,
11358
+ sellableItemIds,
11328
11359
  programmeId,
11329
11360
  programmeIds,
11330
11361
  pageNumber,
@@ -11351,6 +11382,7 @@ const request = (config, options, axiosClient = axios) => {
11351
11382
  SessionIds: sessionIds,
11352
11383
  CourseId: courseId,
11353
11384
  CourseIds: courseIds,
11385
+ SellableItemIds: sellableItemIds,
11354
11386
  ProgrammeId: programmeId,
11355
11387
  ProgrammeIds: programmeIds,
11356
11388
  PageNumber: pageNumber,
@@ -11449,6 +11481,7 @@ const request = (config, options, axiosClient = axios) => {
11449
11481
  sessionIds,
11450
11482
  courseId,
11451
11483
  courseIds,
11484
+ sellableItemIds,
11452
11485
  programmeId,
11453
11486
  programmeIds,
11454
11487
  pageNumber,
@@ -11475,6 +11508,7 @@ const request = (config, options, axiosClient = axios) => {
11475
11508
  SessionIds: sessionIds,
11476
11509
  CourseId: courseId,
11477
11510
  CourseIds: courseIds,
11511
+ SellableItemIds: sellableItemIds,
11478
11512
  ProgrammeId: programmeId,
11479
11513
  ProgrammeIds: programmeIds,
11480
11514
  PageNumber: pageNumber,
@@ -11510,6 +11544,7 @@ const request = (config, options, axiosClient = axios) => {
11510
11544
  sessionIds,
11511
11545
  courseId,
11512
11546
  courseIds,
11547
+ sellableItemIds,
11513
11548
  programmeId,
11514
11549
  programmeIds,
11515
11550
  pageNumber,
@@ -11536,6 +11571,7 @@ const request = (config, options, axiosClient = axios) => {
11536
11571
  SessionIds: sessionIds,
11537
11572
  CourseId: courseId,
11538
11573
  CourseIds: courseIds,
11574
+ SellableItemIds: sellableItemIds,
11539
11575
  ProgrammeId: programmeId,
11540
11576
  ProgrammeIds: programmeIds,
11541
11577
  PageNumber: pageNumber,
@@ -11571,6 +11607,7 @@ const request = (config, options, axiosClient = axios) => {
11571
11607
  sessionIds,
11572
11608
  courseId,
11573
11609
  courseIds,
11610
+ sellableItemIds,
11574
11611
  programmeId,
11575
11612
  programmeIds,
11576
11613
  pageNumber,
@@ -11597,6 +11634,7 @@ const request = (config, options, axiosClient = axios) => {
11597
11634
  SessionIds: sessionIds,
11598
11635
  CourseId: courseId,
11599
11636
  CourseIds: courseIds,
11637
+ SellableItemIds: sellableItemIds,
11600
11638
  ProgrammeId: programmeId,
11601
11639
  ProgrammeIds: programmeIds,
11602
11640
  PageNumber: pageNumber,
@@ -11632,6 +11670,7 @@ const request = (config, options, axiosClient = axios) => {
11632
11670
  sessionIds,
11633
11671
  courseId,
11634
11672
  courseIds,
11673
+ sellableItemIds,
11635
11674
  programmeId,
11636
11675
  programmeIds,
11637
11676
  pageNumber,
@@ -11658,6 +11697,7 @@ const request = (config, options, axiosClient = axios) => {
11658
11697
  SessionIds: sessionIds,
11659
11698
  CourseId: courseId,
11660
11699
  CourseIds: courseIds,
11700
+ SellableItemIds: sellableItemIds,
11661
11701
  ProgrammeId: programmeId,
11662
11702
  ProgrammeIds: programmeIds,
11663
11703
  PageNumber: pageNumber,
@@ -15831,6 +15871,8 @@ const request = (config, options, axiosClient = axios) => {
15831
15871
  sessionIds,
15832
15872
  courseId,
15833
15873
  courseIds,
15874
+ sellableItemId,
15875
+ sellableItemIds,
15834
15876
  slotOfferSlotId,
15835
15877
  slotOfferSlotIds,
15836
15878
  active,
@@ -15861,6 +15903,8 @@ const request = (config, options, axiosClient = axios) => {
15861
15903
  SessionIds: sessionIds,
15862
15904
  CourseId: courseId,
15863
15905
  CourseIds: courseIds,
15906
+ SellableItemId: sellableItemId,
15907
+ SellableItemIds: sellableItemIds,
15864
15908
  SlotOfferSlotId: slotOfferSlotId,
15865
15909
  SlotOfferSlotIds: slotOfferSlotIds,
15866
15910
  Active: active,
@@ -15963,6 +16007,8 @@ const request = (config, options, axiosClient = axios) => {
15963
16007
  sessionIds,
15964
16008
  courseId,
15965
16009
  courseIds,
16010
+ sellableItemId,
16011
+ sellableItemIds,
15966
16012
  slotOfferSlotId,
15967
16013
  slotOfferSlotIds,
15968
16014
  active,
@@ -15993,6 +16039,8 @@ const request = (config, options, axiosClient = axios) => {
15993
16039
  SessionIds: sessionIds,
15994
16040
  CourseId: courseId,
15995
16041
  CourseIds: courseIds,
16042
+ SellableItemId: sellableItemId,
16043
+ SellableItemIds: sellableItemIds,
15996
16044
  SlotOfferSlotId: slotOfferSlotId,
15997
16045
  SlotOfferSlotIds: slotOfferSlotIds,
15998
16046
  Active: active,
@@ -16032,6 +16080,8 @@ const request = (config, options, axiosClient = axios) => {
16032
16080
  sessionIds,
16033
16081
  courseId,
16034
16082
  courseIds,
16083
+ sellableItemId,
16084
+ sellableItemIds,
16035
16085
  slotOfferSlotId,
16036
16086
  slotOfferSlotIds,
16037
16087
  active,
@@ -16062,6 +16112,8 @@ const request = (config, options, axiosClient = axios) => {
16062
16112
  SessionIds: sessionIds,
16063
16113
  CourseId: courseId,
16064
16114
  CourseIds: courseIds,
16115
+ SellableItemId: sellableItemId,
16116
+ SellableItemIds: sellableItemIds,
16065
16117
  SlotOfferSlotId: slotOfferSlotId,
16066
16118
  SlotOfferSlotIds: slotOfferSlotIds,
16067
16119
  Active: active,
@@ -16101,6 +16153,8 @@ const request = (config, options, axiosClient = axios) => {
16101
16153
  sessionIds,
16102
16154
  courseId,
16103
16155
  courseIds,
16156
+ sellableItemId,
16157
+ sellableItemIds,
16104
16158
  slotOfferSlotId,
16105
16159
  slotOfferSlotIds,
16106
16160
  active,
@@ -16131,6 +16185,8 @@ const request = (config, options, axiosClient = axios) => {
16131
16185
  SessionIds: sessionIds,
16132
16186
  CourseId: courseId,
16133
16187
  CourseIds: courseIds,
16188
+ SellableItemId: sellableItemId,
16189
+ SellableItemIds: sellableItemIds,
16134
16190
  SlotOfferSlotId: slotOfferSlotId,
16135
16191
  SlotOfferSlotIds: slotOfferSlotIds,
16136
16192
  Active: active,
@@ -16170,6 +16226,8 @@ const request = (config, options, axiosClient = axios) => {
16170
16226
  sessionIds,
16171
16227
  courseId,
16172
16228
  courseIds,
16229
+ sellableItemId,
16230
+ sellableItemIds,
16173
16231
  slotOfferSlotId,
16174
16232
  slotOfferSlotIds,
16175
16233
  active,
@@ -16200,6 +16258,8 @@ const request = (config, options, axiosClient = axios) => {
16200
16258
  SessionIds: sessionIds,
16201
16259
  CourseId: courseId,
16202
16260
  CourseIds: courseIds,
16261
+ SellableItemId: sellableItemId,
16262
+ SellableItemIds: sellableItemIds,
16203
16263
  SlotOfferSlotId: slotOfferSlotId,
16204
16264
  SlotOfferSlotIds: slotOfferSlotIds,
16205
16265
  Active: active,
@@ -18300,6 +18360,7 @@ const request = (config, options, axiosClient = axios) => {
18300
18360
  scheduledSessionId,
18301
18361
  slotId,
18302
18362
  courseId,
18363
+ sellableItemId,
18303
18364
  offerId,
18304
18365
  status,
18305
18366
  statuses,
@@ -18328,6 +18389,7 @@ const request = (config, options, axiosClient = axios) => {
18328
18389
  ScheduledSessionId: scheduledSessionId,
18329
18390
  SlotId: slotId,
18330
18391
  CourseId: courseId,
18392
+ SellableItemId: sellableItemId,
18331
18393
  OfferId: offerId,
18332
18394
  Status: status,
18333
18395
  Statuses: statuses,
@@ -18428,6 +18490,7 @@ const request = (config, options, axiosClient = axios) => {
18428
18490
  scheduledSessionId,
18429
18491
  slotId,
18430
18492
  courseId,
18493
+ sellableItemId,
18431
18494
  offerId,
18432
18495
  status,
18433
18496
  statuses,
@@ -18456,6 +18519,7 @@ const request = (config, options, axiosClient = axios) => {
18456
18519
  ScheduledSessionId: scheduledSessionId,
18457
18520
  SlotId: slotId,
18458
18521
  CourseId: courseId,
18522
+ SellableItemId: sellableItemId,
18459
18523
  OfferId: offerId,
18460
18524
  Status: status,
18461
18525
  Statuses: statuses,
@@ -18493,6 +18557,7 @@ const request = (config, options, axiosClient = axios) => {
18493
18557
  scheduledSessionId,
18494
18558
  slotId,
18495
18559
  courseId,
18560
+ sellableItemId,
18496
18561
  offerId,
18497
18562
  status,
18498
18563
  statuses,
@@ -18521,6 +18586,7 @@ const request = (config, options, axiosClient = axios) => {
18521
18586
  ScheduledSessionId: scheduledSessionId,
18522
18587
  SlotId: slotId,
18523
18588
  CourseId: courseId,
18589
+ SellableItemId: sellableItemId,
18524
18590
  OfferId: offerId,
18525
18591
  Status: status,
18526
18592
  Statuses: statuses,
@@ -18558,6 +18624,7 @@ const request = (config, options, axiosClient = axios) => {
18558
18624
  scheduledSessionId,
18559
18625
  slotId,
18560
18626
  courseId,
18627
+ sellableItemId,
18561
18628
  offerId,
18562
18629
  status,
18563
18630
  statuses,
@@ -18586,6 +18653,7 @@ const request = (config, options, axiosClient = axios) => {
18586
18653
  ScheduledSessionId: scheduledSessionId,
18587
18654
  SlotId: slotId,
18588
18655
  CourseId: courseId,
18656
+ SellableItemId: sellableItemId,
18589
18657
  OfferId: offerId,
18590
18658
  Status: status,
18591
18659
  Statuses: statuses,
@@ -18623,6 +18691,7 @@ const request = (config, options, axiosClient = axios) => {
18623
18691
  scheduledSessionId,
18624
18692
  slotId,
18625
18693
  courseId,
18694
+ sellableItemId,
18626
18695
  offerId,
18627
18696
  status,
18628
18697
  statuses,
@@ -18651,6 +18720,7 @@ const request = (config, options, axiosClient = axios) => {
18651
18720
  ScheduledSessionId: scheduledSessionId,
18652
18721
  SlotId: slotId,
18653
18722
  CourseId: courseId,
18723
+ SellableItemId: sellableItemId,
18654
18724
  OfferId: offerId,
18655
18725
  Status: status,
18656
18726
  Statuses: statuses,
@@ -25924,6 +25994,7 @@ const request = (config, options, axiosClient = axios) => {
25924
25994
  scheduledSessionId,
25925
25995
  slotId,
25926
25996
  courseId,
25997
+ sellableItemId,
25927
25998
  offerId,
25928
25999
  status,
25929
26000
  statuses,
@@ -25955,6 +26026,7 @@ const request = (config, options, axiosClient = axios) => {
25955
26026
  ScheduledSessionId: scheduledSessionId,
25956
26027
  SlotId: slotId,
25957
26028
  CourseId: courseId,
26029
+ SellableItemId: sellableItemId,
25958
26030
  OfferId: offerId,
25959
26031
  Status: status,
25960
26032
  Statuses: statuses,
@@ -26166,6 +26238,7 @@ const request = (config, options, axiosClient = axios) => {
26166
26238
  scheduledSessionId,
26167
26239
  slotId,
26168
26240
  courseId,
26241
+ sellableItemId,
26169
26242
  offerId,
26170
26243
  status,
26171
26244
  statuses,
@@ -26197,6 +26270,7 @@ const request = (config, options, axiosClient = axios) => {
26197
26270
  ScheduledSessionId: scheduledSessionId,
26198
26271
  SlotId: slotId,
26199
26272
  CourseId: courseId,
26273
+ SellableItemId: sellableItemId,
26200
26274
  OfferId: offerId,
26201
26275
  Status: status,
26202
26276
  Statuses: statuses,
@@ -27928,6 +28002,268 @@ const request = (config, options, axiosClient = axios) => {
27928
28002
  }
27929
28003
  });
27930
28004
  }
28005
+ }class PublicSellableItemsService {
28006
+ constructor(httpRequest) {
28007
+ this.httpRequest = httpRequest;
28008
+ }
28009
+ /**
28010
+ * @returns SellableItem OK
28011
+ * @throws ApiError
28012
+ */
28013
+ getObject({
28014
+ id,
28015
+ xTenantSubdomain
28016
+ }) {
28017
+ return this.httpRequest.request({
28018
+ method: "GET",
28019
+ url: "/api/public/sellable-items/{id}",
28020
+ path: {
28021
+ id
28022
+ },
28023
+ headers: {
28024
+ x_tenant_subdomain: xTenantSubdomain
28025
+ },
28026
+ errors: {
28027
+ 400: `Bad Request`,
28028
+ 422: `Unprocessable Content`,
28029
+ 500: `Internal Server Error`
28030
+ }
28031
+ });
28032
+ }
28033
+ /**
28034
+ * Deletes the resource.
28035
+ * @returns any OK
28036
+ * @throws ApiError
28037
+ */
28038
+ deleteById({
28039
+ id,
28040
+ xTenantSubdomain
28041
+ }) {
28042
+ return this.httpRequest.request({
28043
+ method: "DELETE",
28044
+ url: "/api/public/sellable-items/{id}",
28045
+ path: {
28046
+ id
28047
+ },
28048
+ headers: {
28049
+ x_tenant_subdomain: xTenantSubdomain
28050
+ },
28051
+ errors: {
28052
+ 400: `Bad Request`,
28053
+ 422: `Unprocessable Content`,
28054
+ 500: `Internal Server Error`
28055
+ }
28056
+ });
28057
+ }
28058
+ /**
28059
+ * @returns SellableItemPage OK
28060
+ * @throws ApiError
28061
+ */
28062
+ getPage({
28063
+ xTenantSubdomain,
28064
+ ids,
28065
+ venueId,
28066
+ online,
28067
+ archived,
28068
+ deleted,
28069
+ dashboardRequest,
28070
+ pageNumber,
28071
+ take,
28072
+ skip,
28073
+ limitListRequests,
28074
+ tenantId,
28075
+ modifiedById,
28076
+ modifiedByIds,
28077
+ dateCreatedGte,
28078
+ dateCreatedLte,
28079
+ isLive,
28080
+ sortOrderDirection
28081
+ }) {
28082
+ return this.httpRequest.request({
28083
+ method: "GET",
28084
+ url: "/api/public/sellable-items",
28085
+ headers: {
28086
+ x_tenant_subdomain: xTenantSubdomain
28087
+ },
28088
+ query: {
28089
+ Ids: ids,
28090
+ VenueId: venueId,
28091
+ Online: online,
28092
+ Archived: archived,
28093
+ Deleted: deleted,
28094
+ DashboardRequest: dashboardRequest,
28095
+ PageNumber: pageNumber,
28096
+ Take: take,
28097
+ Skip: skip,
28098
+ LimitListRequests: limitListRequests,
28099
+ TenantId: tenantId,
28100
+ ModifiedById: modifiedById,
28101
+ ModifiedByIds: modifiedByIds,
28102
+ DateCreatedGTE: dateCreatedGte,
28103
+ DateCreatedLTE: dateCreatedLte,
28104
+ IsLive: isLive,
28105
+ SortOrderDirection: sortOrderDirection
28106
+ },
28107
+ errors: {
28108
+ 400: `Bad Request`,
28109
+ 422: `Unprocessable Content`,
28110
+ 500: `Internal Server Error`
28111
+ }
28112
+ });
28113
+ }
28114
+ /**
28115
+ * Deletes the resource.
28116
+ * @returns any OK
28117
+ * @throws ApiError
28118
+ */
28119
+ deleteByObject({
28120
+ xTenantSubdomain,
28121
+ requestBody
28122
+ }) {
28123
+ return this.httpRequest.request({
28124
+ method: "DELETE",
28125
+ url: "/api/public/sellable-items",
28126
+ headers: {
28127
+ x_tenant_subdomain: xTenantSubdomain
28128
+ },
28129
+ body: requestBody,
28130
+ mediaType: "application/json",
28131
+ errors: {
28132
+ 400: `Bad Request`,
28133
+ 422: `Unprocessable Content`,
28134
+ 500: `Internal Server Error`
28135
+ }
28136
+ });
28137
+ }
28138
+ /**
28139
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
28140
+ * @returns SellableItem OK
28141
+ * @throws ApiError
28142
+ */
28143
+ post({
28144
+ xTenantSubdomain,
28145
+ requestBody
28146
+ }) {
28147
+ return this.httpRequest.request({
28148
+ method: "POST",
28149
+ url: "/api/public/sellable-items/v2-temporary-route",
28150
+ headers: {
28151
+ x_tenant_subdomain: xTenantSubdomain
28152
+ },
28153
+ body: requestBody,
28154
+ mediaType: "application/json",
28155
+ errors: {
28156
+ 400: `Bad Request`,
28157
+ 422: `Unprocessable Content`,
28158
+ 500: `Internal Server Error`
28159
+ }
28160
+ });
28161
+ }
28162
+ /**
28163
+ * Patches the resource.
28164
+ * @returns SellableItem OK
28165
+ * @throws ApiError
28166
+ */
28167
+ patch({
28168
+ xTenantSubdomain,
28169
+ requestBody
28170
+ }) {
28171
+ return this.httpRequest.request({
28172
+ method: "PATCH",
28173
+ url: "/api/public/sellable-items/v2-temporary-route",
28174
+ headers: {
28175
+ x_tenant_subdomain: xTenantSubdomain
28176
+ },
28177
+ body: requestBody,
28178
+ mediaType: "application/json",
28179
+ errors: {
28180
+ 400: `Bad Request`,
28181
+ 422: `Unprocessable Content`,
28182
+ 500: `Internal Server Error`
28183
+ }
28184
+ });
28185
+ }
28186
+ /**
28187
+ * Inserts a list of resources.
28188
+ * @returns SellableItem OK
28189
+ * @throws ApiError
28190
+ */
28191
+ postList({
28192
+ xTenantSubdomain,
28193
+ requestBody
28194
+ }) {
28195
+ return this.httpRequest.request({
28196
+ method: "POST",
28197
+ url: "/api/public/sellable-items/v2-temporary-route/list",
28198
+ headers: {
28199
+ x_tenant_subdomain: xTenantSubdomain
28200
+ },
28201
+ body: requestBody,
28202
+ mediaType: "application/json",
28203
+ errors: {
28204
+ 400: `Bad Request`,
28205
+ 422: `Unprocessable Content`,
28206
+ 500: `Internal Server Error`
28207
+ }
28208
+ });
28209
+ }
28210
+ /**
28211
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
28212
+ * @returns boolean OK
28213
+ * @throws ApiError
28214
+ */
28215
+ exists({
28216
+ xTenantSubdomain,
28217
+ ids,
28218
+ venueId,
28219
+ online,
28220
+ archived,
28221
+ deleted,
28222
+ dashboardRequest,
28223
+ pageNumber,
28224
+ take,
28225
+ skip,
28226
+ limitListRequests,
28227
+ tenantId,
28228
+ modifiedById,
28229
+ modifiedByIds,
28230
+ dateCreatedGte,
28231
+ dateCreatedLte,
28232
+ isLive,
28233
+ sortOrderDirection
28234
+ }) {
28235
+ return this.httpRequest.request({
28236
+ method: "GET",
28237
+ url: "/api/public/sellable-items/exists",
28238
+ headers: {
28239
+ x_tenant_subdomain: xTenantSubdomain
28240
+ },
28241
+ query: {
28242
+ Ids: ids,
28243
+ VenueId: venueId,
28244
+ Online: online,
28245
+ Archived: archived,
28246
+ Deleted: deleted,
28247
+ DashboardRequest: dashboardRequest,
28248
+ PageNumber: pageNumber,
28249
+ Take: take,
28250
+ Skip: skip,
28251
+ LimitListRequests: limitListRequests,
28252
+ TenantId: tenantId,
28253
+ ModifiedById: modifiedById,
28254
+ ModifiedByIds: modifiedByIds,
28255
+ DateCreatedGTE: dateCreatedGte,
28256
+ DateCreatedLTE: dateCreatedLte,
28257
+ IsLive: isLive,
28258
+ SortOrderDirection: sortOrderDirection
28259
+ },
28260
+ errors: {
28261
+ 400: `Bad Request`,
28262
+ 422: `Unprocessable Content`,
28263
+ 500: `Internal Server Error`
28264
+ }
28265
+ });
28266
+ }
27931
28267
  }class PublicSessionsService {
27932
28268
  constructor(httpRequest) {
27933
28269
  this.httpRequest = httpRequest;
@@ -33338,39 +33674,593 @@ const request = (config, options, axiosClient = axios) => {
33338
33674
  }
33339
33675
  /**
33340
33676
  * Gets a list of resources unpaged and without references.
33341
- * @returns ScheduledSession OK
33677
+ * @returns ScheduledSession OK
33678
+ * @throws ApiError
33679
+ */
33680
+ getListWithoutReferences({
33681
+ ids,
33682
+ venueId,
33683
+ programmeId,
33684
+ providerId,
33685
+ sessionId,
33686
+ sessionIds,
33687
+ scheduleId,
33688
+ status,
33689
+ statuses,
33690
+ bookingStatus,
33691
+ startDateTimeLte,
33692
+ startDateTimeGte,
33693
+ endDateTimeLte,
33694
+ endDateTimeGte,
33695
+ remainingUsesLte,
33696
+ remainingUsesGte,
33697
+ futureOnly,
33698
+ bookableOnly,
33699
+ includeImages,
33700
+ includeVenue,
33701
+ includeOffers,
33702
+ includeOrders,
33703
+ hasAvailability,
33704
+ excludeArchived,
33705
+ excludePrivate,
33706
+ orderFirstNameContains,
33707
+ orderLastNameContains,
33708
+ sortBy,
33709
+ postCompletionEmailSent,
33710
+ pageNumber,
33711
+ take,
33712
+ skip,
33713
+ limitListRequests,
33714
+ tenantId,
33715
+ modifiedById,
33716
+ modifiedByIds,
33717
+ dateCreatedGte,
33718
+ dateCreatedLte,
33719
+ isLive,
33720
+ sortOrderDirection
33721
+ }) {
33722
+ return this.httpRequest.request({
33723
+ method: "GET",
33724
+ url: "/api/scheduled-sessions/without-references",
33725
+ query: {
33726
+ Ids: ids,
33727
+ VenueId: venueId,
33728
+ ProgrammeId: programmeId,
33729
+ ProviderId: providerId,
33730
+ SessionId: sessionId,
33731
+ SessionIds: sessionIds,
33732
+ ScheduleId: scheduleId,
33733
+ Status: status,
33734
+ Statuses: statuses,
33735
+ BookingStatus: bookingStatus,
33736
+ StartDateTimeLTE: startDateTimeLte,
33737
+ StartDateTimeGTE: startDateTimeGte,
33738
+ EndDateTimeLTE: endDateTimeLte,
33739
+ EndDateTimeGTE: endDateTimeGte,
33740
+ RemainingUsesLTE: remainingUsesLte,
33741
+ RemainingUsesGTE: remainingUsesGte,
33742
+ FutureOnly: futureOnly,
33743
+ BookableOnly: bookableOnly,
33744
+ IncludeImages: includeImages,
33745
+ IncludeVenue: includeVenue,
33746
+ IncludeOffers: includeOffers,
33747
+ IncludeOrders: includeOrders,
33748
+ HasAvailability: hasAvailability,
33749
+ ExcludeArchived: excludeArchived,
33750
+ ExcludePrivate: excludePrivate,
33751
+ OrderFirstNameContains: orderFirstNameContains,
33752
+ OrderLastNameContains: orderLastNameContains,
33753
+ SortBy: sortBy,
33754
+ PostCompletionEmailSent: postCompletionEmailSent,
33755
+ PageNumber: pageNumber,
33756
+ Take: take,
33757
+ Skip: skip,
33758
+ LimitListRequests: limitListRequests,
33759
+ TenantId: tenantId,
33760
+ ModifiedById: modifiedById,
33761
+ ModifiedByIds: modifiedByIds,
33762
+ DateCreatedGTE: dateCreatedGte,
33763
+ DateCreatedLTE: dateCreatedLte,
33764
+ IsLive: isLive,
33765
+ SortOrderDirection: sortOrderDirection
33766
+ },
33767
+ errors: {
33768
+ 400: `Bad Request`,
33769
+ 422: `Unprocessable Content`,
33770
+ 500: `Internal Server Error`
33771
+ }
33772
+ });
33773
+ }
33774
+ /**
33775
+ * Gets a list of resources.
33776
+ * @returns ScheduledSession OK
33777
+ * @throws ApiError
33778
+ */
33779
+ getListIdName({
33780
+ ids,
33781
+ venueId,
33782
+ programmeId,
33783
+ providerId,
33784
+ sessionId,
33785
+ sessionIds,
33786
+ scheduleId,
33787
+ status,
33788
+ statuses,
33789
+ bookingStatus,
33790
+ startDateTimeLte,
33791
+ startDateTimeGte,
33792
+ endDateTimeLte,
33793
+ endDateTimeGte,
33794
+ remainingUsesLte,
33795
+ remainingUsesGte,
33796
+ futureOnly,
33797
+ bookableOnly,
33798
+ includeImages,
33799
+ includeVenue,
33800
+ includeOffers,
33801
+ includeOrders,
33802
+ hasAvailability,
33803
+ excludeArchived,
33804
+ excludePrivate,
33805
+ orderFirstNameContains,
33806
+ orderLastNameContains,
33807
+ sortBy,
33808
+ postCompletionEmailSent,
33809
+ pageNumber,
33810
+ take,
33811
+ skip,
33812
+ limitListRequests,
33813
+ tenantId,
33814
+ modifiedById,
33815
+ modifiedByIds,
33816
+ dateCreatedGte,
33817
+ dateCreatedLte,
33818
+ isLive,
33819
+ sortOrderDirection
33820
+ }) {
33821
+ return this.httpRequest.request({
33822
+ method: "GET",
33823
+ url: "/api/scheduled-sessions/id-name",
33824
+ query: {
33825
+ Ids: ids,
33826
+ VenueId: venueId,
33827
+ ProgrammeId: programmeId,
33828
+ ProviderId: providerId,
33829
+ SessionId: sessionId,
33830
+ SessionIds: sessionIds,
33831
+ ScheduleId: scheduleId,
33832
+ Status: status,
33833
+ Statuses: statuses,
33834
+ BookingStatus: bookingStatus,
33835
+ StartDateTimeLTE: startDateTimeLte,
33836
+ StartDateTimeGTE: startDateTimeGte,
33837
+ EndDateTimeLTE: endDateTimeLte,
33838
+ EndDateTimeGTE: endDateTimeGte,
33839
+ RemainingUsesLTE: remainingUsesLte,
33840
+ RemainingUsesGTE: remainingUsesGte,
33841
+ FutureOnly: futureOnly,
33842
+ BookableOnly: bookableOnly,
33843
+ IncludeImages: includeImages,
33844
+ IncludeVenue: includeVenue,
33845
+ IncludeOffers: includeOffers,
33846
+ IncludeOrders: includeOrders,
33847
+ HasAvailability: hasAvailability,
33848
+ ExcludeArchived: excludeArchived,
33849
+ ExcludePrivate: excludePrivate,
33850
+ OrderFirstNameContains: orderFirstNameContains,
33851
+ OrderLastNameContains: orderLastNameContains,
33852
+ SortBy: sortBy,
33853
+ PostCompletionEmailSent: postCompletionEmailSent,
33854
+ PageNumber: pageNumber,
33855
+ Take: take,
33856
+ Skip: skip,
33857
+ LimitListRequests: limitListRequests,
33858
+ TenantId: tenantId,
33859
+ ModifiedById: modifiedById,
33860
+ ModifiedByIds: modifiedByIds,
33861
+ DateCreatedGTE: dateCreatedGte,
33862
+ DateCreatedLTE: dateCreatedLte,
33863
+ IsLive: isLive,
33864
+ SortOrderDirection: sortOrderDirection
33865
+ },
33866
+ errors: {
33867
+ 400: `Bad Request`,
33868
+ 422: `Unprocessable Content`,
33869
+ 500: `Internal Server Error`
33870
+ }
33871
+ });
33872
+ }
33873
+ }class ScheduledSessionsSchedulesService {
33874
+ constructor(httpRequest) {
33875
+ this.httpRequest = httpRequest;
33876
+ }
33877
+ /**
33878
+ * Makes the given schedule Id Active />.
33879
+ * @returns ScheduledSessionSchedule OK
33880
+ * @throws ApiError
33881
+ */
33882
+ makeActive({
33883
+ scheduledSessionScheduleId
33884
+ }) {
33885
+ return this.httpRequest.request({
33886
+ method: "PATCH",
33887
+ url: "/api/scheduled-session-schedules/{scheduledSessionScheduleId}/make-active",
33888
+ path: {
33889
+ scheduledSessionScheduleId
33890
+ },
33891
+ errors: {
33892
+ 400: `Bad Request`,
33893
+ 422: `Unprocessable Content`,
33894
+ 500: `Internal Server Error`
33895
+ }
33896
+ });
33897
+ }
33898
+ /**
33899
+ * Evaluate schedules and insert forward scheduled sessions.
33900
+ * @returns number OK
33901
+ * @throws ApiError
33902
+ */
33903
+ evaluateSchedules() {
33904
+ return this.httpRequest.request({
33905
+ method: "GET",
33906
+ url: "/api/scheduled-session-schedules/evaluate-schedules",
33907
+ errors: {
33908
+ 400: `Bad Request`,
33909
+ 422: `Unprocessable Content`,
33910
+ 500: `Internal Server Error`
33911
+ }
33912
+ });
33913
+ }
33914
+ /**
33915
+ * Cleans table of unconfirmed schedules.
33916
+ * @returns number OK
33917
+ * @throws ApiError
33918
+ */
33919
+ clean() {
33920
+ return this.httpRequest.request({
33921
+ method: "GET",
33922
+ url: "/api/scheduled-session-schedules/clean",
33923
+ errors: {
33924
+ 400: `Bad Request`,
33925
+ 422: `Unprocessable Content`,
33926
+ 500: `Internal Server Error`
33927
+ }
33928
+ });
33929
+ }
33930
+ /**
33931
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
33932
+ * @returns ScheduledSessionSchedule OK
33933
+ * @throws ApiError
33934
+ */
33935
+ post({
33936
+ requestBody
33937
+ }) {
33938
+ return this.httpRequest.request({
33939
+ method: "POST",
33940
+ url: "/api/scheduled-session-schedules/v2-temporary-route",
33941
+ body: requestBody,
33942
+ mediaType: "application/json",
33943
+ errors: {
33944
+ 400: `Bad Request`,
33945
+ 422: `Unprocessable Content`,
33946
+ 500: `Internal Server Error`
33947
+ }
33948
+ });
33949
+ }
33950
+ /**
33951
+ * Patches the resource.
33952
+ * @returns ScheduledSessionSchedule OK
33953
+ * @throws ApiError
33954
+ */
33955
+ patch({
33956
+ requestBody
33957
+ }) {
33958
+ return this.httpRequest.request({
33959
+ method: "PATCH",
33960
+ url: "/api/scheduled-session-schedules/v2-temporary-route",
33961
+ body: requestBody,
33962
+ mediaType: "application/json",
33963
+ errors: {
33964
+ 400: `Bad Request`,
33965
+ 422: `Unprocessable Content`,
33966
+ 500: `Internal Server Error`
33967
+ }
33968
+ });
33969
+ }
33970
+ /**
33971
+ * Inserts a list of resources.
33972
+ * @returns ScheduledSessionSchedule OK
33973
+ * @throws ApiError
33974
+ */
33975
+ postList({
33976
+ requestBody
33977
+ }) {
33978
+ return this.httpRequest.request({
33979
+ method: "POST",
33980
+ url: "/api/scheduled-session-schedules/v2-temporary-route/list",
33981
+ body: requestBody,
33982
+ mediaType: "application/json",
33983
+ errors: {
33984
+ 400: `Bad Request`,
33985
+ 422: `Unprocessable Content`,
33986
+ 500: `Internal Server Error`
33987
+ }
33988
+ });
33989
+ }
33990
+ /**
33991
+ * Patches the resource.
33992
+ * @returns ScheduledSessionSchedule OK
33993
+ * @throws ApiError
33994
+ */
33995
+ patchWithReferences({
33996
+ requestBody
33997
+ }) {
33998
+ return this.httpRequest.request({
33999
+ method: "PATCH",
34000
+ url: "/api/scheduled-session-schedules/v2-temporary-route/with-references",
34001
+ body: requestBody,
34002
+ mediaType: "application/json",
34003
+ errors: {
34004
+ 400: `Bad Request`,
34005
+ 422: `Unprocessable Content`,
34006
+ 500: `Internal Server Error`
34007
+ }
34008
+ });
34009
+ }
34010
+ /**
34011
+ * Deletes the resource.
34012
+ * @returns any OK
34013
+ * @throws ApiError
34014
+ */
34015
+ deleteByObject({
34016
+ requestBody
34017
+ }) {
34018
+ return this.httpRequest.request({
34019
+ method: "DELETE",
34020
+ url: "/api/scheduled-session-schedules",
34021
+ body: requestBody,
34022
+ mediaType: "application/json",
34023
+ errors: {
34024
+ 400: `Bad Request`,
34025
+ 422: `Unprocessable Content`,
34026
+ 500: `Internal Server Error`
34027
+ }
34028
+ });
34029
+ }
34030
+ /**
34031
+ * Gets a list of resources.
34032
+ * @returns ScheduledSessionSchedulePage OK
34033
+ * @throws ApiError
34034
+ */
34035
+ getPage({
34036
+ sessionId,
34037
+ sessionIds,
34038
+ lastRunDateTimeLte,
34039
+ status,
34040
+ statuses,
34041
+ bookableOnly,
34042
+ pageNumber,
34043
+ take,
34044
+ skip,
34045
+ limitListRequests,
34046
+ tenantId,
34047
+ modifiedById,
34048
+ modifiedByIds,
34049
+ dateCreatedGte,
34050
+ dateCreatedLte,
34051
+ isLive,
34052
+ sortOrderDirection
34053
+ }) {
34054
+ return this.httpRequest.request({
34055
+ method: "GET",
34056
+ url: "/api/scheduled-session-schedules",
34057
+ query: {
34058
+ SessionId: sessionId,
34059
+ SessionIds: sessionIds,
34060
+ LastRunDateTimeLTE: lastRunDateTimeLte,
34061
+ Status: status,
34062
+ Statuses: statuses,
34063
+ BookableOnly: bookableOnly,
34064
+ PageNumber: pageNumber,
34065
+ Take: take,
34066
+ Skip: skip,
34067
+ LimitListRequests: limitListRequests,
34068
+ TenantId: tenantId,
34069
+ ModifiedById: modifiedById,
34070
+ ModifiedByIds: modifiedByIds,
34071
+ DateCreatedGTE: dateCreatedGte,
34072
+ DateCreatedLTE: dateCreatedLte,
34073
+ IsLive: isLive,
34074
+ SortOrderDirection: sortOrderDirection
34075
+ },
34076
+ errors: {
34077
+ 400: `Bad Request`,
34078
+ 422: `Unprocessable Content`,
34079
+ 500: `Internal Server Error`
34080
+ }
34081
+ });
34082
+ }
34083
+ /**
34084
+ * Deletes the resource.
34085
+ * @returns any OK
34086
+ * @throws ApiError
34087
+ */
34088
+ deleteById({
34089
+ id
34090
+ }) {
34091
+ return this.httpRequest.request({
34092
+ method: "DELETE",
34093
+ url: "/api/scheduled-session-schedules/{id}",
34094
+ path: {
34095
+ id
34096
+ },
34097
+ errors: {
34098
+ 400: `Bad Request`,
34099
+ 422: `Unprocessable Content`,
34100
+ 500: `Internal Server Error`
34101
+ }
34102
+ });
34103
+ }
34104
+ /**
34105
+ * Gets the resource by its Id.
34106
+ * @returns ScheduledSessionSchedule OK
34107
+ * @throws ApiError
34108
+ */
34109
+ getObject({
34110
+ id
34111
+ }) {
34112
+ return this.httpRequest.request({
34113
+ method: "GET",
34114
+ url: "/api/scheduled-session-schedules/{id}",
34115
+ path: {
34116
+ id
34117
+ },
34118
+ errors: {
34119
+ 400: `Bad Request`,
34120
+ 422: `Unprocessable Content`,
34121
+ 500: `Internal Server Error`
34122
+ }
34123
+ });
34124
+ }
34125
+ /**
34126
+ * Returns a value indicating whether the resource is deletable.
34127
+ * @returns boolean OK
34128
+ * @throws ApiError
34129
+ */
34130
+ canDelete({
34131
+ id
34132
+ }) {
34133
+ return this.httpRequest.request({
34134
+ method: "GET",
34135
+ url: "/api/scheduled-session-schedules/{id}/deletable",
34136
+ path: {
34137
+ id
34138
+ },
34139
+ errors: {
34140
+ 400: `Bad Request`,
34141
+ 422: `Unprocessable Content`,
34142
+ 500: `Internal Server Error`
34143
+ }
34144
+ });
34145
+ }
34146
+ /**
34147
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
34148
+ * @returns boolean OK
34149
+ * @throws ApiError
34150
+ */
34151
+ exists({
34152
+ sessionId,
34153
+ sessionIds,
34154
+ lastRunDateTimeLte,
34155
+ status,
34156
+ statuses,
34157
+ bookableOnly,
34158
+ pageNumber,
34159
+ take,
34160
+ skip,
34161
+ limitListRequests,
34162
+ tenantId,
34163
+ modifiedById,
34164
+ modifiedByIds,
34165
+ dateCreatedGte,
34166
+ dateCreatedLte,
34167
+ isLive,
34168
+ sortOrderDirection
34169
+ }) {
34170
+ return this.httpRequest.request({
34171
+ method: "GET",
34172
+ url: "/api/scheduled-session-schedules/exists",
34173
+ query: {
34174
+ SessionId: sessionId,
34175
+ SessionIds: sessionIds,
34176
+ LastRunDateTimeLTE: lastRunDateTimeLte,
34177
+ Status: status,
34178
+ Statuses: statuses,
34179
+ BookableOnly: bookableOnly,
34180
+ PageNumber: pageNumber,
34181
+ Take: take,
34182
+ Skip: skip,
34183
+ LimitListRequests: limitListRequests,
34184
+ TenantId: tenantId,
34185
+ ModifiedById: modifiedById,
34186
+ ModifiedByIds: modifiedByIds,
34187
+ DateCreatedGTE: dateCreatedGte,
34188
+ DateCreatedLTE: dateCreatedLte,
34189
+ IsLive: isLive,
34190
+ SortOrderDirection: sortOrderDirection
34191
+ },
34192
+ errors: {
34193
+ 400: `Bad Request`,
34194
+ 422: `Unprocessable Content`,
34195
+ 500: `Internal Server Error`
34196
+ }
34197
+ });
34198
+ }
34199
+ /**
34200
+ * Returns the number of results in the database given the provided search params.
34201
+ * @returns number OK
34202
+ * @throws ApiError
34203
+ */
34204
+ count({
34205
+ sessionId,
34206
+ sessionIds,
34207
+ lastRunDateTimeLte,
34208
+ status,
34209
+ statuses,
34210
+ bookableOnly,
34211
+ pageNumber,
34212
+ take,
34213
+ skip,
34214
+ limitListRequests,
34215
+ tenantId,
34216
+ modifiedById,
34217
+ modifiedByIds,
34218
+ dateCreatedGte,
34219
+ dateCreatedLte,
34220
+ isLive,
34221
+ sortOrderDirection
34222
+ }) {
34223
+ return this.httpRequest.request({
34224
+ method: "GET",
34225
+ url: "/api/scheduled-session-schedules/count",
34226
+ query: {
34227
+ SessionId: sessionId,
34228
+ SessionIds: sessionIds,
34229
+ LastRunDateTimeLTE: lastRunDateTimeLte,
34230
+ Status: status,
34231
+ Statuses: statuses,
34232
+ BookableOnly: bookableOnly,
34233
+ PageNumber: pageNumber,
34234
+ Take: take,
34235
+ Skip: skip,
34236
+ LimitListRequests: limitListRequests,
34237
+ TenantId: tenantId,
34238
+ ModifiedById: modifiedById,
34239
+ ModifiedByIds: modifiedByIds,
34240
+ DateCreatedGTE: dateCreatedGte,
34241
+ DateCreatedLTE: dateCreatedLte,
34242
+ IsLive: isLive,
34243
+ SortOrderDirection: sortOrderDirection
34244
+ },
34245
+ errors: {
34246
+ 400: `Bad Request`,
34247
+ 422: `Unprocessable Content`,
34248
+ 500: `Internal Server Error`
34249
+ }
34250
+ });
34251
+ }
34252
+ /**
34253
+ * Gets a list of resources unpaged and without references.
34254
+ * @returns ScheduledSessionSchedule OK
33342
34255
  * @throws ApiError
33343
34256
  */
33344
34257
  getListWithoutReferences({
33345
- ids,
33346
- venueId,
33347
- programmeId,
33348
- providerId,
33349
34258
  sessionId,
33350
34259
  sessionIds,
33351
- scheduleId,
34260
+ lastRunDateTimeLte,
33352
34261
  status,
33353
34262
  statuses,
33354
- bookingStatus,
33355
- startDateTimeLte,
33356
- startDateTimeGte,
33357
- endDateTimeLte,
33358
- endDateTimeGte,
33359
- remainingUsesLte,
33360
- remainingUsesGte,
33361
- futureOnly,
33362
34263
  bookableOnly,
33363
- includeImages,
33364
- includeVenue,
33365
- includeOffers,
33366
- includeOrders,
33367
- hasAvailability,
33368
- excludeArchived,
33369
- excludePrivate,
33370
- orderFirstNameContains,
33371
- orderLastNameContains,
33372
- sortBy,
33373
- postCompletionEmailSent,
33374
34264
  pageNumber,
33375
34265
  take,
33376
34266
  skip,
@@ -33385,37 +34275,14 @@ const request = (config, options, axiosClient = axios) => {
33385
34275
  }) {
33386
34276
  return this.httpRequest.request({
33387
34277
  method: "GET",
33388
- url: "/api/scheduled-sessions/without-references",
34278
+ url: "/api/scheduled-session-schedules/without-references",
33389
34279
  query: {
33390
- Ids: ids,
33391
- VenueId: venueId,
33392
- ProgrammeId: programmeId,
33393
- ProviderId: providerId,
33394
34280
  SessionId: sessionId,
33395
34281
  SessionIds: sessionIds,
33396
- ScheduleId: scheduleId,
34282
+ LastRunDateTimeLTE: lastRunDateTimeLte,
33397
34283
  Status: status,
33398
34284
  Statuses: statuses,
33399
- BookingStatus: bookingStatus,
33400
- StartDateTimeLTE: startDateTimeLte,
33401
- StartDateTimeGTE: startDateTimeGte,
33402
- EndDateTimeLTE: endDateTimeLte,
33403
- EndDateTimeGTE: endDateTimeGte,
33404
- RemainingUsesLTE: remainingUsesLte,
33405
- RemainingUsesGTE: remainingUsesGte,
33406
- FutureOnly: futureOnly,
33407
34285
  BookableOnly: bookableOnly,
33408
- IncludeImages: includeImages,
33409
- IncludeVenue: includeVenue,
33410
- IncludeOffers: includeOffers,
33411
- IncludeOrders: includeOrders,
33412
- HasAvailability: hasAvailability,
33413
- ExcludeArchived: excludeArchived,
33414
- ExcludePrivate: excludePrivate,
33415
- OrderFirstNameContains: orderFirstNameContains,
33416
- OrderLastNameContains: orderLastNameContains,
33417
- SortBy: sortBy,
33418
- PostCompletionEmailSent: postCompletionEmailSent,
33419
34286
  PageNumber: pageNumber,
33420
34287
  Take: take,
33421
34288
  Skip: skip,
@@ -33437,39 +34304,16 @@ const request = (config, options, axiosClient = axios) => {
33437
34304
  }
33438
34305
  /**
33439
34306
  * Gets a list of resources.
33440
- * @returns ScheduledSession OK
34307
+ * @returns ScheduledSessionSchedule OK
33441
34308
  * @throws ApiError
33442
34309
  */
33443
34310
  getListIdName({
33444
- ids,
33445
- venueId,
33446
- programmeId,
33447
- providerId,
33448
34311
  sessionId,
33449
34312
  sessionIds,
33450
- scheduleId,
34313
+ lastRunDateTimeLte,
33451
34314
  status,
33452
34315
  statuses,
33453
- bookingStatus,
33454
- startDateTimeLte,
33455
- startDateTimeGte,
33456
- endDateTimeLte,
33457
- endDateTimeGte,
33458
- remainingUsesLte,
33459
- remainingUsesGte,
33460
- futureOnly,
33461
34316
  bookableOnly,
33462
- includeImages,
33463
- includeVenue,
33464
- includeOffers,
33465
- includeOrders,
33466
- hasAvailability,
33467
- excludeArchived,
33468
- excludePrivate,
33469
- orderFirstNameContains,
33470
- orderLastNameContains,
33471
- sortBy,
33472
- postCompletionEmailSent,
33473
34317
  pageNumber,
33474
34318
  take,
33475
34319
  skip,
@@ -33484,37 +34328,14 @@ const request = (config, options, axiosClient = axios) => {
33484
34328
  }) {
33485
34329
  return this.httpRequest.request({
33486
34330
  method: "GET",
33487
- url: "/api/scheduled-sessions/id-name",
34331
+ url: "/api/scheduled-session-schedules/id-name",
33488
34332
  query: {
33489
- Ids: ids,
33490
- VenueId: venueId,
33491
- ProgrammeId: programmeId,
33492
- ProviderId: providerId,
33493
34333
  SessionId: sessionId,
33494
34334
  SessionIds: sessionIds,
33495
- ScheduleId: scheduleId,
34335
+ LastRunDateTimeLTE: lastRunDateTimeLte,
33496
34336
  Status: status,
33497
34337
  Statuses: statuses,
33498
- BookingStatus: bookingStatus,
33499
- StartDateTimeLTE: startDateTimeLte,
33500
- StartDateTimeGTE: startDateTimeGte,
33501
- EndDateTimeLTE: endDateTimeLte,
33502
- EndDateTimeGTE: endDateTimeGte,
33503
- RemainingUsesLTE: remainingUsesLte,
33504
- RemainingUsesGTE: remainingUsesGte,
33505
- FutureOnly: futureOnly,
33506
34338
  BookableOnly: bookableOnly,
33507
- IncludeImages: includeImages,
33508
- IncludeVenue: includeVenue,
33509
- IncludeOffers: includeOffers,
33510
- IncludeOrders: includeOrders,
33511
- HasAvailability: hasAvailability,
33512
- ExcludeArchived: excludeArchived,
33513
- ExcludePrivate: excludePrivate,
33514
- OrderFirstNameContains: orderFirstNameContains,
33515
- OrderLastNameContains: orderLastNameContains,
33516
- SortBy: sortBy,
33517
- PostCompletionEmailSent: postCompletionEmailSent,
33518
34339
  PageNumber: pageNumber,
33519
34340
  Take: take,
33520
34341
  Skip: skip,
@@ -33534,23 +34355,25 @@ const request = (config, options, axiosClient = axios) => {
33534
34355
  }
33535
34356
  });
33536
34357
  }
33537
- }class ScheduledSessionsSchedulesService {
34358
+ }class SellableItemsService {
33538
34359
  constructor(httpRequest) {
33539
34360
  this.httpRequest = httpRequest;
33540
34361
  }
33541
34362
  /**
33542
- * Makes the given schedule Id Active />.
33543
- * @returns ScheduledSessionSchedule OK
34363
+ * Assigns a deal to a sellable item.
34364
+ * @returns SellableItem OK
33544
34365
  * @throws ApiError
33545
34366
  */
33546
- makeActive({
33547
- scheduledSessionScheduleId
34367
+ assignDeal({
34368
+ sellableItemId,
34369
+ dealId
33548
34370
  }) {
33549
34371
  return this.httpRequest.request({
33550
34372
  method: "PATCH",
33551
- url: "/api/scheduled-session-schedules/{scheduledSessionScheduleId}/make-active",
34373
+ url: "/api/sellable-items/{sellableItemId}/assign-deal/{dealId}",
33552
34374
  path: {
33553
- scheduledSessionScheduleId
34375
+ sellableItemId,
34376
+ dealId
33554
34377
  },
33555
34378
  errors: {
33556
34379
  400: `Bad Request`,
@@ -33560,14 +34383,21 @@ const request = (config, options, axiosClient = axios) => {
33560
34383
  });
33561
34384
  }
33562
34385
  /**
33563
- * Evaluate schedules and insert forward scheduled sessions.
33564
- * @returns number OK
34386
+ * Unassigns a deal from a sellable item.
34387
+ * @returns SellableItem OK
33565
34388
  * @throws ApiError
33566
34389
  */
33567
- evaluateSchedules() {
34390
+ unassignDeal({
34391
+ sellableItemId,
34392
+ dealId
34393
+ }) {
33568
34394
  return this.httpRequest.request({
33569
- method: "GET",
33570
- url: "/api/scheduled-session-schedules/evaluate-schedules",
34395
+ method: "PATCH",
34396
+ url: "/api/sellable-items/{sellableItemId}/unassign-deal/{dealId}",
34397
+ path: {
34398
+ sellableItemId,
34399
+ dealId
34400
+ },
33571
34401
  errors: {
33572
34402
  400: `Bad Request`,
33573
34403
  422: `Unprocessable Content`,
@@ -33576,14 +34406,40 @@ const request = (config, options, axiosClient = axios) => {
33576
34406
  });
33577
34407
  }
33578
34408
  /**
33579
- * Cleans table of unconfirmed schedules.
33580
- * @returns number OK
34409
+ * Takes the sellable item offline (not published on the storefront).
34410
+ * @returns SellableItem OK
33581
34411
  * @throws ApiError
33582
34412
  */
33583
- clean() {
34413
+ takeOffline({
34414
+ sellableItemId
34415
+ }) {
33584
34416
  return this.httpRequest.request({
33585
- method: "GET",
33586
- url: "/api/scheduled-session-schedules/clean",
34417
+ method: "PATCH",
34418
+ url: "/api/sellable-items/{sellableItemId}/take-offline",
34419
+ path: {
34420
+ sellableItemId
34421
+ },
34422
+ errors: {
34423
+ 400: `Bad Request`,
34424
+ 422: `Unprocessable Content`,
34425
+ 500: `Internal Server Error`
34426
+ }
34427
+ });
34428
+ }
34429
+ /**
34430
+ * Brings the sellable item online on the storefront.
34431
+ * @returns SellableItem OK
34432
+ * @throws ApiError
34433
+ */
34434
+ bringOnline({
34435
+ sellableItemId
34436
+ }) {
34437
+ return this.httpRequest.request({
34438
+ method: "PATCH",
34439
+ url: "/api/sellable-items/{sellableItemId}/bring-online",
34440
+ path: {
34441
+ sellableItemId
34442
+ },
33587
34443
  errors: {
33588
34444
  400: `Bad Request`,
33589
34445
  422: `Unprocessable Content`,
@@ -33593,7 +34449,7 @@ const request = (config, options, axiosClient = axios) => {
33593
34449
  }
33594
34450
  /**
33595
34451
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
33596
- * @returns ScheduledSessionSchedule OK
34452
+ * @returns SellableItem OK
33597
34453
  * @throws ApiError
33598
34454
  */
33599
34455
  post({
@@ -33601,7 +34457,7 @@ const request = (config, options, axiosClient = axios) => {
33601
34457
  }) {
33602
34458
  return this.httpRequest.request({
33603
34459
  method: "POST",
33604
- url: "/api/scheduled-session-schedules/v2-temporary-route",
34460
+ url: "/api/sellable-items/v2-temporary-route",
33605
34461
  body: requestBody,
33606
34462
  mediaType: "application/json",
33607
34463
  errors: {
@@ -33613,7 +34469,7 @@ const request = (config, options, axiosClient = axios) => {
33613
34469
  }
33614
34470
  /**
33615
34471
  * Patches the resource.
33616
- * @returns ScheduledSessionSchedule OK
34472
+ * @returns SellableItem OK
33617
34473
  * @throws ApiError
33618
34474
  */
33619
34475
  patch({
@@ -33621,7 +34477,7 @@ const request = (config, options, axiosClient = axios) => {
33621
34477
  }) {
33622
34478
  return this.httpRequest.request({
33623
34479
  method: "PATCH",
33624
- url: "/api/scheduled-session-schedules/v2-temporary-route",
34480
+ url: "/api/sellable-items/v2-temporary-route",
33625
34481
  body: requestBody,
33626
34482
  mediaType: "application/json",
33627
34483
  errors: {
@@ -33633,7 +34489,7 @@ const request = (config, options, axiosClient = axios) => {
33633
34489
  }
33634
34490
  /**
33635
34491
  * Inserts a list of resources.
33636
- * @returns ScheduledSessionSchedule OK
34492
+ * @returns SellableItem OK
33637
34493
  * @throws ApiError
33638
34494
  */
33639
34495
  postList({
@@ -33641,7 +34497,7 @@ const request = (config, options, axiosClient = axios) => {
33641
34497
  }) {
33642
34498
  return this.httpRequest.request({
33643
34499
  method: "POST",
33644
- url: "/api/scheduled-session-schedules/v2-temporary-route/list",
34500
+ url: "/api/sellable-items/v2-temporary-route/list",
33645
34501
  body: requestBody,
33646
34502
  mediaType: "application/json",
33647
34503
  errors: {
@@ -33653,7 +34509,7 @@ const request = (config, options, axiosClient = axios) => {
33653
34509
  }
33654
34510
  /**
33655
34511
  * Patches the resource.
33656
- * @returns ScheduledSessionSchedule OK
34512
+ * @returns SellableItem OK
33657
34513
  * @throws ApiError
33658
34514
  */
33659
34515
  patchWithReferences({
@@ -33661,7 +34517,7 @@ const request = (config, options, axiosClient = axios) => {
33661
34517
  }) {
33662
34518
  return this.httpRequest.request({
33663
34519
  method: "PATCH",
33664
- url: "/api/scheduled-session-schedules/v2-temporary-route/with-references",
34520
+ url: "/api/sellable-items/v2-temporary-route/with-references",
33665
34521
  body: requestBody,
33666
34522
  mediaType: "application/json",
33667
34523
  errors: {
@@ -33681,7 +34537,7 @@ const request = (config, options, axiosClient = axios) => {
33681
34537
  }) {
33682
34538
  return this.httpRequest.request({
33683
34539
  method: "DELETE",
33684
- url: "/api/scheduled-session-schedules",
34540
+ url: "/api/sellable-items",
33685
34541
  body: requestBody,
33686
34542
  mediaType: "application/json",
33687
34543
  errors: {
@@ -33693,16 +34549,16 @@ const request = (config, options, axiosClient = axios) => {
33693
34549
  }
33694
34550
  /**
33695
34551
  * Gets a list of resources.
33696
- * @returns ScheduledSessionSchedulePage OK
34552
+ * @returns SellableItemPage OK
33697
34553
  * @throws ApiError
33698
34554
  */
33699
34555
  getPage({
33700
- sessionId,
33701
- sessionIds,
33702
- lastRunDateTimeLte,
33703
- status,
33704
- statuses,
33705
- bookableOnly,
34556
+ ids,
34557
+ venueId,
34558
+ online,
34559
+ archived,
34560
+ deleted,
34561
+ dashboardRequest,
33706
34562
  pageNumber,
33707
34563
  take,
33708
34564
  skip,
@@ -33717,14 +34573,14 @@ const request = (config, options, axiosClient = axios) => {
33717
34573
  }) {
33718
34574
  return this.httpRequest.request({
33719
34575
  method: "GET",
33720
- url: "/api/scheduled-session-schedules",
34576
+ url: "/api/sellable-items",
33721
34577
  query: {
33722
- SessionId: sessionId,
33723
- SessionIds: sessionIds,
33724
- LastRunDateTimeLTE: lastRunDateTimeLte,
33725
- Status: status,
33726
- Statuses: statuses,
33727
- BookableOnly: bookableOnly,
34578
+ Ids: ids,
34579
+ VenueId: venueId,
34580
+ Online: online,
34581
+ Archived: archived,
34582
+ Deleted: deleted,
34583
+ DashboardRequest: dashboardRequest,
33728
34584
  PageNumber: pageNumber,
33729
34585
  Take: take,
33730
34586
  Skip: skip,
@@ -33754,7 +34610,7 @@ const request = (config, options, axiosClient = axios) => {
33754
34610
  }) {
33755
34611
  return this.httpRequest.request({
33756
34612
  method: "DELETE",
33757
- url: "/api/scheduled-session-schedules/{id}",
34613
+ url: "/api/sellable-items/{id}",
33758
34614
  path: {
33759
34615
  id
33760
34616
  },
@@ -33767,7 +34623,7 @@ const request = (config, options, axiosClient = axios) => {
33767
34623
  }
33768
34624
  /**
33769
34625
  * Gets the resource by its Id.
33770
- * @returns ScheduledSessionSchedule OK
34626
+ * @returns SellableItem OK
33771
34627
  * @throws ApiError
33772
34628
  */
33773
34629
  getObject({
@@ -33775,7 +34631,7 @@ const request = (config, options, axiosClient = axios) => {
33775
34631
  }) {
33776
34632
  return this.httpRequest.request({
33777
34633
  method: "GET",
33778
- url: "/api/scheduled-session-schedules/{id}",
34634
+ url: "/api/sellable-items/{id}",
33779
34635
  path: {
33780
34636
  id
33781
34637
  },
@@ -33796,7 +34652,7 @@ const request = (config, options, axiosClient = axios) => {
33796
34652
  }) {
33797
34653
  return this.httpRequest.request({
33798
34654
  method: "GET",
33799
- url: "/api/scheduled-session-schedules/{id}/deletable",
34655
+ url: "/api/sellable-items/{id}/deletable",
33800
34656
  path: {
33801
34657
  id
33802
34658
  },
@@ -33813,12 +34669,12 @@ const request = (config, options, axiosClient = axios) => {
33813
34669
  * @throws ApiError
33814
34670
  */
33815
34671
  exists({
33816
- sessionId,
33817
- sessionIds,
33818
- lastRunDateTimeLte,
33819
- status,
33820
- statuses,
33821
- bookableOnly,
34672
+ ids,
34673
+ venueId,
34674
+ online,
34675
+ archived,
34676
+ deleted,
34677
+ dashboardRequest,
33822
34678
  pageNumber,
33823
34679
  take,
33824
34680
  skip,
@@ -33833,14 +34689,14 @@ const request = (config, options, axiosClient = axios) => {
33833
34689
  }) {
33834
34690
  return this.httpRequest.request({
33835
34691
  method: "GET",
33836
- url: "/api/scheduled-session-schedules/exists",
34692
+ url: "/api/sellable-items/exists",
33837
34693
  query: {
33838
- SessionId: sessionId,
33839
- SessionIds: sessionIds,
33840
- LastRunDateTimeLTE: lastRunDateTimeLte,
33841
- Status: status,
33842
- Statuses: statuses,
33843
- BookableOnly: bookableOnly,
34694
+ Ids: ids,
34695
+ VenueId: venueId,
34696
+ Online: online,
34697
+ Archived: archived,
34698
+ Deleted: deleted,
34699
+ DashboardRequest: dashboardRequest,
33844
34700
  PageNumber: pageNumber,
33845
34701
  Take: take,
33846
34702
  Skip: skip,
@@ -33866,12 +34722,12 @@ const request = (config, options, axiosClient = axios) => {
33866
34722
  * @throws ApiError
33867
34723
  */
33868
34724
  count({
33869
- sessionId,
33870
- sessionIds,
33871
- lastRunDateTimeLte,
33872
- status,
33873
- statuses,
33874
- bookableOnly,
34725
+ ids,
34726
+ venueId,
34727
+ online,
34728
+ archived,
34729
+ deleted,
34730
+ dashboardRequest,
33875
34731
  pageNumber,
33876
34732
  take,
33877
34733
  skip,
@@ -33886,14 +34742,14 @@ const request = (config, options, axiosClient = axios) => {
33886
34742
  }) {
33887
34743
  return this.httpRequest.request({
33888
34744
  method: "GET",
33889
- url: "/api/scheduled-session-schedules/count",
34745
+ url: "/api/sellable-items/count",
33890
34746
  query: {
33891
- SessionId: sessionId,
33892
- SessionIds: sessionIds,
33893
- LastRunDateTimeLTE: lastRunDateTimeLte,
33894
- Status: status,
33895
- Statuses: statuses,
33896
- BookableOnly: bookableOnly,
34747
+ Ids: ids,
34748
+ VenueId: venueId,
34749
+ Online: online,
34750
+ Archived: archived,
34751
+ Deleted: deleted,
34752
+ DashboardRequest: dashboardRequest,
33897
34753
  PageNumber: pageNumber,
33898
34754
  Take: take,
33899
34755
  Skip: skip,
@@ -33915,16 +34771,16 @@ const request = (config, options, axiosClient = axios) => {
33915
34771
  }
33916
34772
  /**
33917
34773
  * Gets a list of resources unpaged and without references.
33918
- * @returns ScheduledSessionSchedule OK
34774
+ * @returns SellableItem OK
33919
34775
  * @throws ApiError
33920
34776
  */
33921
34777
  getListWithoutReferences({
33922
- sessionId,
33923
- sessionIds,
33924
- lastRunDateTimeLte,
33925
- status,
33926
- statuses,
33927
- bookableOnly,
34778
+ ids,
34779
+ venueId,
34780
+ online,
34781
+ archived,
34782
+ deleted,
34783
+ dashboardRequest,
33928
34784
  pageNumber,
33929
34785
  take,
33930
34786
  skip,
@@ -33939,14 +34795,14 @@ const request = (config, options, axiosClient = axios) => {
33939
34795
  }) {
33940
34796
  return this.httpRequest.request({
33941
34797
  method: "GET",
33942
- url: "/api/scheduled-session-schedules/without-references",
34798
+ url: "/api/sellable-items/without-references",
33943
34799
  query: {
33944
- SessionId: sessionId,
33945
- SessionIds: sessionIds,
33946
- LastRunDateTimeLTE: lastRunDateTimeLte,
33947
- Status: status,
33948
- Statuses: statuses,
33949
- BookableOnly: bookableOnly,
34800
+ Ids: ids,
34801
+ VenueId: venueId,
34802
+ Online: online,
34803
+ Archived: archived,
34804
+ Deleted: deleted,
34805
+ DashboardRequest: dashboardRequest,
33950
34806
  PageNumber: pageNumber,
33951
34807
  Take: take,
33952
34808
  Skip: skip,
@@ -33968,16 +34824,16 @@ const request = (config, options, axiosClient = axios) => {
33968
34824
  }
33969
34825
  /**
33970
34826
  * Gets a list of resources.
33971
- * @returns ScheduledSessionSchedule OK
34827
+ * @returns SellableItem OK
33972
34828
  * @throws ApiError
33973
34829
  */
33974
34830
  getListIdName({
33975
- sessionId,
33976
- sessionIds,
33977
- lastRunDateTimeLte,
33978
- status,
33979
- statuses,
33980
- bookableOnly,
34831
+ ids,
34832
+ venueId,
34833
+ online,
34834
+ archived,
34835
+ deleted,
34836
+ dashboardRequest,
33981
34837
  pageNumber,
33982
34838
  take,
33983
34839
  skip,
@@ -33992,14 +34848,14 @@ const request = (config, options, axiosClient = axios) => {
33992
34848
  }) {
33993
34849
  return this.httpRequest.request({
33994
34850
  method: "GET",
33995
- url: "/api/scheduled-session-schedules/id-name",
34851
+ url: "/api/sellable-items/id-name",
33996
34852
  query: {
33997
- SessionId: sessionId,
33998
- SessionIds: sessionIds,
33999
- LastRunDateTimeLTE: lastRunDateTimeLte,
34000
- Status: status,
34001
- Statuses: statuses,
34002
- BookableOnly: bookableOnly,
34853
+ Ids: ids,
34854
+ VenueId: venueId,
34855
+ Online: online,
34856
+ Archived: archived,
34857
+ Deleted: deleted,
34858
+ DashboardRequest: dashboardRequest,
34003
34859
  PageNumber: pageNumber,
34004
34860
  Take: take,
34005
34861
  Skip: skip,
@@ -34024,7 +34880,7 @@ const request = (config, options, axiosClient = axios) => {
34024
34880
  this.httpRequest = httpRequest;
34025
34881
  }
34026
34882
  /**
34027
- * Gets a list of valid opportunities for rescheduling, based on the quanity required to reschedule.
34883
+ * Gets a list of valid opportunities for rescheduling, based on the quantity required to reschedule.
34028
34884
  * @returns ScheduledSession OK
34029
34885
  * @throws ApiError
34030
34886
  */
@@ -50476,6 +51332,7 @@ const request = (config, options, axiosClient = axios) => {
50476
51332
  publicProgrammes;
50477
51333
  publicProviders;
50478
51334
  publicScheduledSessions;
51335
+ publicSellableItems;
50479
51336
  publicSessions;
50480
51337
  publicSlots;
50481
51338
  publicStorefrontStaffPreview;
@@ -50493,6 +51350,7 @@ const request = (config, options, axiosClient = axios) => {
50493
51350
  rescheduleLog;
50494
51351
  scheduledSessions;
50495
51352
  scheduledSessionsSchedules;
51353
+ sellableItems;
50496
51354
  sessions;
50497
51355
  slotOffers;
50498
51356
  slots;
@@ -50621,6 +51479,7 @@ const request = (config, options, axiosClient = axios) => {
50621
51479
  this.publicProgrammes = new PublicProgrammesService(this.request);
50622
51480
  this.publicProviders = new PublicProvidersService(this.request);
50623
51481
  this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
51482
+ this.publicSellableItems = new PublicSellableItemsService(this.request);
50624
51483
  this.publicSessions = new PublicSessionsService(this.request);
50625
51484
  this.publicSlots = new PublicSlotsService(this.request);
50626
51485
  this.publicStorefrontStaffPreview = new PublicStorefrontStaffPreviewService(this.request);
@@ -50638,6 +51497,7 @@ const request = (config, options, axiosClient = axios) => {
50638
51497
  this.rescheduleLog = new RescheduleLogService(this.request);
50639
51498
  this.scheduledSessions = new ScheduledSessionsService(this.request);
50640
51499
  this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
51500
+ this.sellableItems = new SellableItemsService(this.request);
50641
51501
  this.sessions = new SessionsService(this.request);
50642
51502
  this.slotOffers = new SlotOffersService(this.request);
50643
51503
  this.slots = new SlotsService(this.request);
@@ -50690,6 +51550,7 @@ const request = (config, options, axiosClient = axios) => {
50690
51550
  ActivityType2["FACILITY"] = "Facility";
50691
51551
  ActivityType2["SESSION"] = "Session";
50692
51552
  ActivityType2["COURSE"] = "Course";
51553
+ ActivityType2["SELLABLE_ITEM"] = "SellableItem";
50693
51554
  return ActivityType2;
50694
51555
  })(ActivityType || {});var AdvanceBooking = /* @__PURE__ */ ((AdvanceBooking2) => {
50695
51556
  AdvanceBooking2["REQUIRED"] = "Required";
@@ -50952,6 +51813,7 @@ const request = (config, options, axiosClient = axios) => {
50952
51813
  OpportunityType2["SLOT"] = "Slot";
50953
51814
  OpportunityType2["SCHEDULED_SESSION"] = "ScheduledSession";
50954
51815
  OpportunityType2["COURSE"] = "Course";
51816
+ OpportunityType2["SELLABLE_ITEM"] = "SellableItem";
50955
51817
  return OpportunityType2;
50956
51818
  })(OpportunityType || {});var OrderItemStatus = /* @__PURE__ */ ((OrderItemStatus2) => {
50957
51819
  OrderItemStatus2["SELLER_CANCELLED"] = "SellerCancelled";
@@ -51137,4 +51999,4 @@ const request = (config, options, axiosClient = axios) => {
51137
51999
  WebsiteHomepage2["DEFAULT"] = "Default";
51138
52000
  WebsiteHomepage2["MAP"] = "Map";
51139
52001
  return WebsiteHomepage2;
51140
- })(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,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,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,PublicStorefrontStaffPreviewService,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,StorefrontStaffPreviewService,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};
52002
+ })(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,CustomerAuthService,CustomerCancellationOption,CustomerPortalService,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,PublicSellableItemsService,PublicSessionsService,PublicSlotsService,PublicStorefrontStaffPreviewService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenueTypesService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SellableItemsService,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StorefrontStaffPreviewService,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};