reach-api-sdk 1.0.216 → 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.
Files changed (38) hide show
  1. package/dist/reach-sdk.d.ts +1995 -453
  2. package/dist/reach-sdk.js +878 -2
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +6 -0
  5. package/src/definition/swagger.yaml +4508 -1212
  6. package/src/index.ts +6 -0
  7. package/src/models/ActivityType.ts +1 -0
  8. package/src/models/Course.ts +20 -0
  9. package/src/models/CoursePatch.ts +16 -0
  10. package/src/models/DealActivity.ts +4 -0
  11. package/src/models/DealActivityPost.ts +4 -0
  12. package/src/models/EmailSetting.ts +4 -0
  13. package/src/models/GenericActivity.ts +24 -0
  14. package/src/models/Image.ts +4 -0
  15. package/src/models/Offer.ts +4 -0
  16. package/src/models/OfferPatch.ts +4 -0
  17. package/src/models/OfferPost.ts +4 -0
  18. package/src/models/OpportunityType.ts +1 -0
  19. package/src/models/OrderItem.ts +6 -0
  20. package/src/models/OrderPatchItem.ts +4 -0
  21. package/src/models/OrderPostItem.ts +4 -0
  22. package/src/models/SellableItem.ts +194 -0
  23. package/src/models/SellableItemPage.ts +12 -0
  24. package/src/models/SellableItemPatch.ts +150 -0
  25. package/src/models/SellableItemPost.ts +145 -0
  26. package/src/models/Session.ts +20 -0
  27. package/src/models/SessionPatch.ts +16 -0
  28. package/src/services/CoursesService.ts +30 -0
  29. package/src/services/DealActivitiesService.ts +60 -0
  30. package/src/services/EmailSettingsService.ts +30 -0
  31. package/src/services/ImagesService.ts +30 -0
  32. package/src/services/OffersService.ts +60 -0
  33. package/src/services/OrderItemsService.ts +30 -0
  34. package/src/services/PublicCoursesService.ts +12 -0
  35. package/src/services/PublicOrderItemsService.ts +12 -0
  36. package/src/services/PublicSellableItemsService.ts +473 -0
  37. package/src/services/SellableItemsService.ts +962 -0
  38. package/src/services/SessionsService.ts +2 -2
package/dist/reach-sdk.js CHANGED
@@ -3748,6 +3748,7 @@ const request = (config, options, axiosClient = axios) => {
3748
3748
  searchGeoCenter,
3749
3749
  distance,
3750
3750
  additionalSupport,
3751
+ timeOfDay,
3751
3752
  activityId,
3752
3753
  templateFieldPermissionsId,
3753
3754
  templateFieldPermissionsIds,
@@ -3799,6 +3800,7 @@ const request = (config, options, axiosClient = axios) => {
3799
3800
  SearchGeoCenter: searchGeoCenter,
3800
3801
  Distance: distance,
3801
3802
  AdditionalSupport: additionalSupport,
3803
+ TimeOfDay: timeOfDay,
3802
3804
  ActivityId: activityId,
3803
3805
  TemplateFieldPermissionsId: templateFieldPermissionsId,
3804
3806
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -3922,6 +3924,7 @@ const request = (config, options, axiosClient = axios) => {
3922
3924
  searchGeoCenter,
3923
3925
  distance,
3924
3926
  additionalSupport,
3927
+ timeOfDay,
3925
3928
  activityId,
3926
3929
  templateFieldPermissionsId,
3927
3930
  templateFieldPermissionsIds,
@@ -3973,6 +3976,7 @@ const request = (config, options, axiosClient = axios) => {
3973
3976
  SearchGeoCenter: searchGeoCenter,
3974
3977
  Distance: distance,
3975
3978
  AdditionalSupport: additionalSupport,
3979
+ TimeOfDay: timeOfDay,
3976
3980
  ActivityId: activityId,
3977
3981
  TemplateFieldPermissionsId: templateFieldPermissionsId,
3978
3982
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -4033,6 +4037,7 @@ const request = (config, options, axiosClient = axios) => {
4033
4037
  searchGeoCenter,
4034
4038
  distance,
4035
4039
  additionalSupport,
4040
+ timeOfDay,
4036
4041
  activityId,
4037
4042
  templateFieldPermissionsId,
4038
4043
  templateFieldPermissionsIds,
@@ -4084,6 +4089,7 @@ const request = (config, options, axiosClient = axios) => {
4084
4089
  SearchGeoCenter: searchGeoCenter,
4085
4090
  Distance: distance,
4086
4091
  AdditionalSupport: additionalSupport,
4092
+ TimeOfDay: timeOfDay,
4087
4093
  ActivityId: activityId,
4088
4094
  TemplateFieldPermissionsId: templateFieldPermissionsId,
4089
4095
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -4144,6 +4150,7 @@ const request = (config, options, axiosClient = axios) => {
4144
4150
  searchGeoCenter,
4145
4151
  distance,
4146
4152
  additionalSupport,
4153
+ timeOfDay,
4147
4154
  activityId,
4148
4155
  templateFieldPermissionsId,
4149
4156
  templateFieldPermissionsIds,
@@ -4195,6 +4202,7 @@ const request = (config, options, axiosClient = axios) => {
4195
4202
  SearchGeoCenter: searchGeoCenter,
4196
4203
  Distance: distance,
4197
4204
  AdditionalSupport: additionalSupport,
4205
+ TimeOfDay: timeOfDay,
4198
4206
  ActivityId: activityId,
4199
4207
  TemplateFieldPermissionsId: templateFieldPermissionsId,
4200
4208
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -4255,6 +4263,7 @@ const request = (config, options, axiosClient = axios) => {
4255
4263
  searchGeoCenter,
4256
4264
  distance,
4257
4265
  additionalSupport,
4266
+ timeOfDay,
4258
4267
  activityId,
4259
4268
  templateFieldPermissionsId,
4260
4269
  templateFieldPermissionsIds,
@@ -4306,6 +4315,7 @@ const request = (config, options, axiosClient = axios) => {
4306
4315
  SearchGeoCenter: searchGeoCenter,
4307
4316
  Distance: distance,
4308
4317
  AdditionalSupport: additionalSupport,
4318
+ TimeOfDay: timeOfDay,
4309
4319
  ActivityId: activityId,
4310
4320
  TemplateFieldPermissionsId: templateFieldPermissionsId,
4311
4321
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -6996,6 +7006,8 @@ const request = (config, options, axiosClient = axios) => {
6996
7006
  courseIds,
6997
7007
  sessionId,
6998
7008
  sessionIds,
7009
+ sellableItemId,
7010
+ sellableItemIds,
6999
7011
  pageNumber,
7000
7012
  take,
7001
7013
  skip,
@@ -7018,6 +7030,8 @@ const request = (config, options, axiosClient = axios) => {
7018
7030
  CourseIds: courseIds,
7019
7031
  SessionId: sessionId,
7020
7032
  SessionIds: sessionIds,
7033
+ SellableItemId: sellableItemId,
7034
+ SellableItemIds: sellableItemIds,
7021
7035
  PageNumber: pageNumber,
7022
7036
  Take: take,
7023
7037
  Skip: skip,
@@ -7112,6 +7126,8 @@ const request = (config, options, axiosClient = axios) => {
7112
7126
  courseIds,
7113
7127
  sessionId,
7114
7128
  sessionIds,
7129
+ sellableItemId,
7130
+ sellableItemIds,
7115
7131
  pageNumber,
7116
7132
  take,
7117
7133
  skip,
@@ -7134,6 +7150,8 @@ const request = (config, options, axiosClient = axios) => {
7134
7150
  CourseIds: courseIds,
7135
7151
  SessionId: sessionId,
7136
7152
  SessionIds: sessionIds,
7153
+ SellableItemId: sellableItemId,
7154
+ SellableItemIds: sellableItemIds,
7137
7155
  PageNumber: pageNumber,
7138
7156
  Take: take,
7139
7157
  Skip: skip,
@@ -7165,6 +7183,8 @@ const request = (config, options, axiosClient = axios) => {
7165
7183
  courseIds,
7166
7184
  sessionId,
7167
7185
  sessionIds,
7186
+ sellableItemId,
7187
+ sellableItemIds,
7168
7188
  pageNumber,
7169
7189
  take,
7170
7190
  skip,
@@ -7187,6 +7207,8 @@ const request = (config, options, axiosClient = axios) => {
7187
7207
  CourseIds: courseIds,
7188
7208
  SessionId: sessionId,
7189
7209
  SessionIds: sessionIds,
7210
+ SellableItemId: sellableItemId,
7211
+ SellableItemIds: sellableItemIds,
7190
7212
  PageNumber: pageNumber,
7191
7213
  Take: take,
7192
7214
  Skip: skip,
@@ -7218,6 +7240,8 @@ const request = (config, options, axiosClient = axios) => {
7218
7240
  courseIds,
7219
7241
  sessionId,
7220
7242
  sessionIds,
7243
+ sellableItemId,
7244
+ sellableItemIds,
7221
7245
  pageNumber,
7222
7246
  take,
7223
7247
  skip,
@@ -7240,6 +7264,8 @@ const request = (config, options, axiosClient = axios) => {
7240
7264
  CourseIds: courseIds,
7241
7265
  SessionId: sessionId,
7242
7266
  SessionIds: sessionIds,
7267
+ SellableItemId: sellableItemId,
7268
+ SellableItemIds: sellableItemIds,
7243
7269
  PageNumber: pageNumber,
7244
7270
  Take: take,
7245
7271
  Skip: skip,
@@ -7271,6 +7297,8 @@ const request = (config, options, axiosClient = axios) => {
7271
7297
  courseIds,
7272
7298
  sessionId,
7273
7299
  sessionIds,
7300
+ sellableItemId,
7301
+ sellableItemIds,
7274
7302
  pageNumber,
7275
7303
  take,
7276
7304
  skip,
@@ -7293,6 +7321,8 @@ const request = (config, options, axiosClient = axios) => {
7293
7321
  CourseIds: courseIds,
7294
7322
  SessionId: sessionId,
7295
7323
  SessionIds: sessionIds,
7324
+ SellableItemId: sellableItemId,
7325
+ SellableItemIds: sellableItemIds,
7296
7326
  PageNumber: pageNumber,
7297
7327
  Take: take,
7298
7328
  Skip: skip,
@@ -8769,6 +8799,7 @@ const request = (config, options, axiosClient = axios) => {
8769
8799
  facilityId,
8770
8800
  sessionId,
8771
8801
  courseId,
8802
+ sellableItemId,
8772
8803
  pageNumber,
8773
8804
  take,
8774
8805
  skip,
@@ -8790,6 +8821,7 @@ const request = (config, options, axiosClient = axios) => {
8790
8821
  FacilityId: facilityId,
8791
8822
  SessionId: sessionId,
8792
8823
  CourseId: courseId,
8824
+ SellableItemId: sellableItemId,
8793
8825
  PageNumber: pageNumber,
8794
8826
  Take: take,
8795
8827
  Skip: skip,
@@ -8883,6 +8915,7 @@ const request = (config, options, axiosClient = axios) => {
8883
8915
  facilityId,
8884
8916
  sessionId,
8885
8917
  courseId,
8918
+ sellableItemId,
8886
8919
  pageNumber,
8887
8920
  take,
8888
8921
  skip,
@@ -8904,6 +8937,7 @@ const request = (config, options, axiosClient = axios) => {
8904
8937
  FacilityId: facilityId,
8905
8938
  SessionId: sessionId,
8906
8939
  CourseId: courseId,
8940
+ SellableItemId: sellableItemId,
8907
8941
  PageNumber: pageNumber,
8908
8942
  Take: take,
8909
8943
  Skip: skip,
@@ -8934,6 +8968,7 @@ const request = (config, options, axiosClient = axios) => {
8934
8968
  facilityId,
8935
8969
  sessionId,
8936
8970
  courseId,
8971
+ sellableItemId,
8937
8972
  pageNumber,
8938
8973
  take,
8939
8974
  skip,
@@ -8955,6 +8990,7 @@ const request = (config, options, axiosClient = axios) => {
8955
8990
  FacilityId: facilityId,
8956
8991
  SessionId: sessionId,
8957
8992
  CourseId: courseId,
8993
+ SellableItemId: sellableItemId,
8958
8994
  PageNumber: pageNumber,
8959
8995
  Take: take,
8960
8996
  Skip: skip,
@@ -8985,6 +9021,7 @@ const request = (config, options, axiosClient = axios) => {
8985
9021
  facilityId,
8986
9022
  sessionId,
8987
9023
  courseId,
9024
+ sellableItemId,
8988
9025
  pageNumber,
8989
9026
  take,
8990
9027
  skip,
@@ -9006,6 +9043,7 @@ const request = (config, options, axiosClient = axios) => {
9006
9043
  FacilityId: facilityId,
9007
9044
  SessionId: sessionId,
9008
9045
  CourseId: courseId,
9046
+ SellableItemId: sellableItemId,
9009
9047
  PageNumber: pageNumber,
9010
9048
  Take: take,
9011
9049
  Skip: skip,
@@ -9036,6 +9074,7 @@ const request = (config, options, axiosClient = axios) => {
9036
9074
  facilityId,
9037
9075
  sessionId,
9038
9076
  courseId,
9077
+ sellableItemId,
9039
9078
  pageNumber,
9040
9079
  take,
9041
9080
  skip,
@@ -9057,6 +9096,7 @@ const request = (config, options, axiosClient = axios) => {
9057
9096
  FacilityId: facilityId,
9058
9097
  SessionId: sessionId,
9059
9098
  CourseId: courseId,
9099
+ SellableItemId: sellableItemId,
9060
9100
  PageNumber: pageNumber,
9061
9101
  Take: take,
9062
9102
  Skip: skip,
@@ -11315,6 +11355,7 @@ const request = (config, options, axiosClient = axios) => {
11315
11355
  sessionIds,
11316
11356
  courseId,
11317
11357
  courseIds,
11358
+ sellableItemIds,
11318
11359
  programmeId,
11319
11360
  programmeIds,
11320
11361
  pageNumber,
@@ -11341,6 +11382,7 @@ const request = (config, options, axiosClient = axios) => {
11341
11382
  SessionIds: sessionIds,
11342
11383
  CourseId: courseId,
11343
11384
  CourseIds: courseIds,
11385
+ SellableItemIds: sellableItemIds,
11344
11386
  ProgrammeId: programmeId,
11345
11387
  ProgrammeIds: programmeIds,
11346
11388
  PageNumber: pageNumber,
@@ -11439,6 +11481,7 @@ const request = (config, options, axiosClient = axios) => {
11439
11481
  sessionIds,
11440
11482
  courseId,
11441
11483
  courseIds,
11484
+ sellableItemIds,
11442
11485
  programmeId,
11443
11486
  programmeIds,
11444
11487
  pageNumber,
@@ -11465,6 +11508,7 @@ const request = (config, options, axiosClient = axios) => {
11465
11508
  SessionIds: sessionIds,
11466
11509
  CourseId: courseId,
11467
11510
  CourseIds: courseIds,
11511
+ SellableItemIds: sellableItemIds,
11468
11512
  ProgrammeId: programmeId,
11469
11513
  ProgrammeIds: programmeIds,
11470
11514
  PageNumber: pageNumber,
@@ -11500,6 +11544,7 @@ const request = (config, options, axiosClient = axios) => {
11500
11544
  sessionIds,
11501
11545
  courseId,
11502
11546
  courseIds,
11547
+ sellableItemIds,
11503
11548
  programmeId,
11504
11549
  programmeIds,
11505
11550
  pageNumber,
@@ -11526,6 +11571,7 @@ const request = (config, options, axiosClient = axios) => {
11526
11571
  SessionIds: sessionIds,
11527
11572
  CourseId: courseId,
11528
11573
  CourseIds: courseIds,
11574
+ SellableItemIds: sellableItemIds,
11529
11575
  ProgrammeId: programmeId,
11530
11576
  ProgrammeIds: programmeIds,
11531
11577
  PageNumber: pageNumber,
@@ -11561,6 +11607,7 @@ const request = (config, options, axiosClient = axios) => {
11561
11607
  sessionIds,
11562
11608
  courseId,
11563
11609
  courseIds,
11610
+ sellableItemIds,
11564
11611
  programmeId,
11565
11612
  programmeIds,
11566
11613
  pageNumber,
@@ -11587,6 +11634,7 @@ const request = (config, options, axiosClient = axios) => {
11587
11634
  SessionIds: sessionIds,
11588
11635
  CourseId: courseId,
11589
11636
  CourseIds: courseIds,
11637
+ SellableItemIds: sellableItemIds,
11590
11638
  ProgrammeId: programmeId,
11591
11639
  ProgrammeIds: programmeIds,
11592
11640
  PageNumber: pageNumber,
@@ -11622,6 +11670,7 @@ const request = (config, options, axiosClient = axios) => {
11622
11670
  sessionIds,
11623
11671
  courseId,
11624
11672
  courseIds,
11673
+ sellableItemIds,
11625
11674
  programmeId,
11626
11675
  programmeIds,
11627
11676
  pageNumber,
@@ -11648,6 +11697,7 @@ const request = (config, options, axiosClient = axios) => {
11648
11697
  SessionIds: sessionIds,
11649
11698
  CourseId: courseId,
11650
11699
  CourseIds: courseIds,
11700
+ SellableItemIds: sellableItemIds,
11651
11701
  ProgrammeId: programmeId,
11652
11702
  ProgrammeIds: programmeIds,
11653
11703
  PageNumber: pageNumber,
@@ -15821,6 +15871,8 @@ const request = (config, options, axiosClient = axios) => {
15821
15871
  sessionIds,
15822
15872
  courseId,
15823
15873
  courseIds,
15874
+ sellableItemId,
15875
+ sellableItemIds,
15824
15876
  slotOfferSlotId,
15825
15877
  slotOfferSlotIds,
15826
15878
  active,
@@ -15851,6 +15903,8 @@ const request = (config, options, axiosClient = axios) => {
15851
15903
  SessionIds: sessionIds,
15852
15904
  CourseId: courseId,
15853
15905
  CourseIds: courseIds,
15906
+ SellableItemId: sellableItemId,
15907
+ SellableItemIds: sellableItemIds,
15854
15908
  SlotOfferSlotId: slotOfferSlotId,
15855
15909
  SlotOfferSlotIds: slotOfferSlotIds,
15856
15910
  Active: active,
@@ -15953,6 +16007,8 @@ const request = (config, options, axiosClient = axios) => {
15953
16007
  sessionIds,
15954
16008
  courseId,
15955
16009
  courseIds,
16010
+ sellableItemId,
16011
+ sellableItemIds,
15956
16012
  slotOfferSlotId,
15957
16013
  slotOfferSlotIds,
15958
16014
  active,
@@ -15983,6 +16039,8 @@ const request = (config, options, axiosClient = axios) => {
15983
16039
  SessionIds: sessionIds,
15984
16040
  CourseId: courseId,
15985
16041
  CourseIds: courseIds,
16042
+ SellableItemId: sellableItemId,
16043
+ SellableItemIds: sellableItemIds,
15986
16044
  SlotOfferSlotId: slotOfferSlotId,
15987
16045
  SlotOfferSlotIds: slotOfferSlotIds,
15988
16046
  Active: active,
@@ -16022,6 +16080,8 @@ const request = (config, options, axiosClient = axios) => {
16022
16080
  sessionIds,
16023
16081
  courseId,
16024
16082
  courseIds,
16083
+ sellableItemId,
16084
+ sellableItemIds,
16025
16085
  slotOfferSlotId,
16026
16086
  slotOfferSlotIds,
16027
16087
  active,
@@ -16052,6 +16112,8 @@ const request = (config, options, axiosClient = axios) => {
16052
16112
  SessionIds: sessionIds,
16053
16113
  CourseId: courseId,
16054
16114
  CourseIds: courseIds,
16115
+ SellableItemId: sellableItemId,
16116
+ SellableItemIds: sellableItemIds,
16055
16117
  SlotOfferSlotId: slotOfferSlotId,
16056
16118
  SlotOfferSlotIds: slotOfferSlotIds,
16057
16119
  Active: active,
@@ -16091,6 +16153,8 @@ const request = (config, options, axiosClient = axios) => {
16091
16153
  sessionIds,
16092
16154
  courseId,
16093
16155
  courseIds,
16156
+ sellableItemId,
16157
+ sellableItemIds,
16094
16158
  slotOfferSlotId,
16095
16159
  slotOfferSlotIds,
16096
16160
  active,
@@ -16121,6 +16185,8 @@ const request = (config, options, axiosClient = axios) => {
16121
16185
  SessionIds: sessionIds,
16122
16186
  CourseId: courseId,
16123
16187
  CourseIds: courseIds,
16188
+ SellableItemId: sellableItemId,
16189
+ SellableItemIds: sellableItemIds,
16124
16190
  SlotOfferSlotId: slotOfferSlotId,
16125
16191
  SlotOfferSlotIds: slotOfferSlotIds,
16126
16192
  Active: active,
@@ -16160,6 +16226,8 @@ const request = (config, options, axiosClient = axios) => {
16160
16226
  sessionIds,
16161
16227
  courseId,
16162
16228
  courseIds,
16229
+ sellableItemId,
16230
+ sellableItemIds,
16163
16231
  slotOfferSlotId,
16164
16232
  slotOfferSlotIds,
16165
16233
  active,
@@ -16190,6 +16258,8 @@ const request = (config, options, axiosClient = axios) => {
16190
16258
  SessionIds: sessionIds,
16191
16259
  CourseId: courseId,
16192
16260
  CourseIds: courseIds,
16261
+ SellableItemId: sellableItemId,
16262
+ SellableItemIds: sellableItemIds,
16193
16263
  SlotOfferSlotId: slotOfferSlotId,
16194
16264
  SlotOfferSlotIds: slotOfferSlotIds,
16195
16265
  Active: active,
@@ -18290,6 +18360,7 @@ const request = (config, options, axiosClient = axios) => {
18290
18360
  scheduledSessionId,
18291
18361
  slotId,
18292
18362
  courseId,
18363
+ sellableItemId,
18293
18364
  offerId,
18294
18365
  status,
18295
18366
  statuses,
@@ -18318,6 +18389,7 @@ const request = (config, options, axiosClient = axios) => {
18318
18389
  ScheduledSessionId: scheduledSessionId,
18319
18390
  SlotId: slotId,
18320
18391
  CourseId: courseId,
18392
+ SellableItemId: sellableItemId,
18321
18393
  OfferId: offerId,
18322
18394
  Status: status,
18323
18395
  Statuses: statuses,
@@ -18418,6 +18490,7 @@ const request = (config, options, axiosClient = axios) => {
18418
18490
  scheduledSessionId,
18419
18491
  slotId,
18420
18492
  courseId,
18493
+ sellableItemId,
18421
18494
  offerId,
18422
18495
  status,
18423
18496
  statuses,
@@ -18446,6 +18519,7 @@ const request = (config, options, axiosClient = axios) => {
18446
18519
  ScheduledSessionId: scheduledSessionId,
18447
18520
  SlotId: slotId,
18448
18521
  CourseId: courseId,
18522
+ SellableItemId: sellableItemId,
18449
18523
  OfferId: offerId,
18450
18524
  Status: status,
18451
18525
  Statuses: statuses,
@@ -18483,6 +18557,7 @@ const request = (config, options, axiosClient = axios) => {
18483
18557
  scheduledSessionId,
18484
18558
  slotId,
18485
18559
  courseId,
18560
+ sellableItemId,
18486
18561
  offerId,
18487
18562
  status,
18488
18563
  statuses,
@@ -18511,6 +18586,7 @@ const request = (config, options, axiosClient = axios) => {
18511
18586
  ScheduledSessionId: scheduledSessionId,
18512
18587
  SlotId: slotId,
18513
18588
  CourseId: courseId,
18589
+ SellableItemId: sellableItemId,
18514
18590
  OfferId: offerId,
18515
18591
  Status: status,
18516
18592
  Statuses: statuses,
@@ -18548,6 +18624,7 @@ const request = (config, options, axiosClient = axios) => {
18548
18624
  scheduledSessionId,
18549
18625
  slotId,
18550
18626
  courseId,
18627
+ sellableItemId,
18551
18628
  offerId,
18552
18629
  status,
18553
18630
  statuses,
@@ -18576,6 +18653,7 @@ const request = (config, options, axiosClient = axios) => {
18576
18653
  ScheduledSessionId: scheduledSessionId,
18577
18654
  SlotId: slotId,
18578
18655
  CourseId: courseId,
18656
+ SellableItemId: sellableItemId,
18579
18657
  OfferId: offerId,
18580
18658
  Status: status,
18581
18659
  Statuses: statuses,
@@ -18613,6 +18691,7 @@ const request = (config, options, axiosClient = axios) => {
18613
18691
  scheduledSessionId,
18614
18692
  slotId,
18615
18693
  courseId,
18694
+ sellableItemId,
18616
18695
  offerId,
18617
18696
  status,
18618
18697
  statuses,
@@ -18641,6 +18720,7 @@ const request = (config, options, axiosClient = axios) => {
18641
18720
  ScheduledSessionId: scheduledSessionId,
18642
18721
  SlotId: slotId,
18643
18722
  CourseId: courseId,
18723
+ SellableItemId: sellableItemId,
18644
18724
  OfferId: offerId,
18645
18725
  Status: status,
18646
18726
  Statuses: statuses,
@@ -23375,6 +23455,7 @@ const request = (config, options, axiosClient = axios) => {
23375
23455
  searchGeoCenter,
23376
23456
  distance,
23377
23457
  additionalSupport,
23458
+ timeOfDay,
23378
23459
  activityId,
23379
23460
  templateFieldPermissionsId,
23380
23461
  templateFieldPermissionsIds,
@@ -23429,6 +23510,7 @@ const request = (config, options, axiosClient = axios) => {
23429
23510
  SearchGeoCenter: searchGeoCenter,
23430
23511
  Distance: distance,
23431
23512
  AdditionalSupport: additionalSupport,
23513
+ TimeOfDay: timeOfDay,
23432
23514
  ActivityId: activityId,
23433
23515
  TemplateFieldPermissionsId: templateFieldPermissionsId,
23434
23516
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -23611,6 +23693,7 @@ const request = (config, options, axiosClient = axios) => {
23611
23693
  searchGeoCenter,
23612
23694
  distance,
23613
23695
  additionalSupport,
23696
+ timeOfDay,
23614
23697
  activityId,
23615
23698
  templateFieldPermissionsId,
23616
23699
  templateFieldPermissionsIds,
@@ -23665,6 +23748,7 @@ const request = (config, options, axiosClient = axios) => {
23665
23748
  SearchGeoCenter: searchGeoCenter,
23666
23749
  Distance: distance,
23667
23750
  AdditionalSupport: additionalSupport,
23751
+ TimeOfDay: timeOfDay,
23668
23752
  ActivityId: activityId,
23669
23753
  TemplateFieldPermissionsId: templateFieldPermissionsId,
23670
23754
  TemplateFieldPermissionsIds: templateFieldPermissionsIds,
@@ -25910,6 +25994,7 @@ const request = (config, options, axiosClient = axios) => {
25910
25994
  scheduledSessionId,
25911
25995
  slotId,
25912
25996
  courseId,
25997
+ sellableItemId,
25913
25998
  offerId,
25914
25999
  status,
25915
26000
  statuses,
@@ -25941,6 +26026,7 @@ const request = (config, options, axiosClient = axios) => {
25941
26026
  ScheduledSessionId: scheduledSessionId,
25942
26027
  SlotId: slotId,
25943
26028
  CourseId: courseId,
26029
+ SellableItemId: sellableItemId,
25944
26030
  OfferId: offerId,
25945
26031
  Status: status,
25946
26032
  Statuses: statuses,
@@ -26152,6 +26238,7 @@ const request = (config, options, axiosClient = axios) => {
26152
26238
  scheduledSessionId,
26153
26239
  slotId,
26154
26240
  courseId,
26241
+ sellableItemId,
26155
26242
  offerId,
26156
26243
  status,
26157
26244
  statuses,
@@ -26183,6 +26270,7 @@ const request = (config, options, axiosClient = axios) => {
26183
26270
  ScheduledSessionId: scheduledSessionId,
26184
26271
  SlotId: slotId,
26185
26272
  CourseId: courseId,
26273
+ SellableItemId: sellableItemId,
26186
26274
  OfferId: offerId,
26187
26275
  Status: status,
26188
26276
  Statuses: statuses,
@@ -27914,6 +28002,268 @@ const request = (config, options, axiosClient = axios) => {
27914
28002
  }
27915
28003
  });
27916
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
+ }
27917
28267
  }class PublicSessionsService {
27918
28268
  constructor(httpRequest) {
27919
28269
  this.httpRequest = httpRequest;
@@ -34005,12 +34355,532 @@ const request = (config, options, axiosClient = axios) => {
34005
34355
  }
34006
34356
  });
34007
34357
  }
34358
+ }class SellableItemsService {
34359
+ constructor(httpRequest) {
34360
+ this.httpRequest = httpRequest;
34361
+ }
34362
+ /**
34363
+ * Assigns a deal to a sellable item.
34364
+ * @returns SellableItem OK
34365
+ * @throws ApiError
34366
+ */
34367
+ assignDeal({
34368
+ sellableItemId,
34369
+ dealId
34370
+ }) {
34371
+ return this.httpRequest.request({
34372
+ method: "PATCH",
34373
+ url: "/api/sellable-items/{sellableItemId}/assign-deal/{dealId}",
34374
+ path: {
34375
+ sellableItemId,
34376
+ dealId
34377
+ },
34378
+ errors: {
34379
+ 400: `Bad Request`,
34380
+ 422: `Unprocessable Content`,
34381
+ 500: `Internal Server Error`
34382
+ }
34383
+ });
34384
+ }
34385
+ /**
34386
+ * Unassigns a deal from a sellable item.
34387
+ * @returns SellableItem OK
34388
+ * @throws ApiError
34389
+ */
34390
+ unassignDeal({
34391
+ sellableItemId,
34392
+ dealId
34393
+ }) {
34394
+ return this.httpRequest.request({
34395
+ method: "PATCH",
34396
+ url: "/api/sellable-items/{sellableItemId}/unassign-deal/{dealId}",
34397
+ path: {
34398
+ sellableItemId,
34399
+ dealId
34400
+ },
34401
+ errors: {
34402
+ 400: `Bad Request`,
34403
+ 422: `Unprocessable Content`,
34404
+ 500: `Internal Server Error`
34405
+ }
34406
+ });
34407
+ }
34408
+ /**
34409
+ * Takes the sellable item offline (not published on the storefront).
34410
+ * @returns SellableItem OK
34411
+ * @throws ApiError
34412
+ */
34413
+ takeOffline({
34414
+ sellableItemId
34415
+ }) {
34416
+ return this.httpRequest.request({
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
+ },
34443
+ errors: {
34444
+ 400: `Bad Request`,
34445
+ 422: `Unprocessable Content`,
34446
+ 500: `Internal Server Error`
34447
+ }
34448
+ });
34449
+ }
34450
+ /**
34451
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
34452
+ * @returns SellableItem OK
34453
+ * @throws ApiError
34454
+ */
34455
+ post({
34456
+ requestBody
34457
+ }) {
34458
+ return this.httpRequest.request({
34459
+ method: "POST",
34460
+ url: "/api/sellable-items/v2-temporary-route",
34461
+ body: requestBody,
34462
+ mediaType: "application/json",
34463
+ errors: {
34464
+ 400: `Bad Request`,
34465
+ 422: `Unprocessable Content`,
34466
+ 500: `Internal Server Error`
34467
+ }
34468
+ });
34469
+ }
34470
+ /**
34471
+ * Patches the resource.
34472
+ * @returns SellableItem OK
34473
+ * @throws ApiError
34474
+ */
34475
+ patch({
34476
+ requestBody
34477
+ }) {
34478
+ return this.httpRequest.request({
34479
+ method: "PATCH",
34480
+ url: "/api/sellable-items/v2-temporary-route",
34481
+ body: requestBody,
34482
+ mediaType: "application/json",
34483
+ errors: {
34484
+ 400: `Bad Request`,
34485
+ 422: `Unprocessable Content`,
34486
+ 500: `Internal Server Error`
34487
+ }
34488
+ });
34489
+ }
34490
+ /**
34491
+ * Inserts a list of resources.
34492
+ * @returns SellableItem OK
34493
+ * @throws ApiError
34494
+ */
34495
+ postList({
34496
+ requestBody
34497
+ }) {
34498
+ return this.httpRequest.request({
34499
+ method: "POST",
34500
+ url: "/api/sellable-items/v2-temporary-route/list",
34501
+ body: requestBody,
34502
+ mediaType: "application/json",
34503
+ errors: {
34504
+ 400: `Bad Request`,
34505
+ 422: `Unprocessable Content`,
34506
+ 500: `Internal Server Error`
34507
+ }
34508
+ });
34509
+ }
34510
+ /**
34511
+ * Patches the resource.
34512
+ * @returns SellableItem OK
34513
+ * @throws ApiError
34514
+ */
34515
+ patchWithReferences({
34516
+ requestBody
34517
+ }) {
34518
+ return this.httpRequest.request({
34519
+ method: "PATCH",
34520
+ url: "/api/sellable-items/v2-temporary-route/with-references",
34521
+ body: requestBody,
34522
+ mediaType: "application/json",
34523
+ errors: {
34524
+ 400: `Bad Request`,
34525
+ 422: `Unprocessable Content`,
34526
+ 500: `Internal Server Error`
34527
+ }
34528
+ });
34529
+ }
34530
+ /**
34531
+ * Deletes the resource.
34532
+ * @returns any OK
34533
+ * @throws ApiError
34534
+ */
34535
+ deleteByObject({
34536
+ requestBody
34537
+ }) {
34538
+ return this.httpRequest.request({
34539
+ method: "DELETE",
34540
+ url: "/api/sellable-items",
34541
+ body: requestBody,
34542
+ mediaType: "application/json",
34543
+ errors: {
34544
+ 400: `Bad Request`,
34545
+ 422: `Unprocessable Content`,
34546
+ 500: `Internal Server Error`
34547
+ }
34548
+ });
34549
+ }
34550
+ /**
34551
+ * Gets a list of resources.
34552
+ * @returns SellableItemPage OK
34553
+ * @throws ApiError
34554
+ */
34555
+ getPage({
34556
+ ids,
34557
+ venueId,
34558
+ online,
34559
+ archived,
34560
+ deleted,
34561
+ dashboardRequest,
34562
+ pageNumber,
34563
+ take,
34564
+ skip,
34565
+ limitListRequests,
34566
+ tenantId,
34567
+ modifiedById,
34568
+ modifiedByIds,
34569
+ dateCreatedGte,
34570
+ dateCreatedLte,
34571
+ isLive,
34572
+ sortOrderDirection
34573
+ }) {
34574
+ return this.httpRequest.request({
34575
+ method: "GET",
34576
+ url: "/api/sellable-items",
34577
+ query: {
34578
+ Ids: ids,
34579
+ VenueId: venueId,
34580
+ Online: online,
34581
+ Archived: archived,
34582
+ Deleted: deleted,
34583
+ DashboardRequest: dashboardRequest,
34584
+ PageNumber: pageNumber,
34585
+ Take: take,
34586
+ Skip: skip,
34587
+ LimitListRequests: limitListRequests,
34588
+ TenantId: tenantId,
34589
+ ModifiedById: modifiedById,
34590
+ ModifiedByIds: modifiedByIds,
34591
+ DateCreatedGTE: dateCreatedGte,
34592
+ DateCreatedLTE: dateCreatedLte,
34593
+ IsLive: isLive,
34594
+ SortOrderDirection: sortOrderDirection
34595
+ },
34596
+ errors: {
34597
+ 400: `Bad Request`,
34598
+ 422: `Unprocessable Content`,
34599
+ 500: `Internal Server Error`
34600
+ }
34601
+ });
34602
+ }
34603
+ /**
34604
+ * Deletes the resource.
34605
+ * @returns any OK
34606
+ * @throws ApiError
34607
+ */
34608
+ deleteById({
34609
+ id
34610
+ }) {
34611
+ return this.httpRequest.request({
34612
+ method: "DELETE",
34613
+ url: "/api/sellable-items/{id}",
34614
+ path: {
34615
+ id
34616
+ },
34617
+ errors: {
34618
+ 400: `Bad Request`,
34619
+ 422: `Unprocessable Content`,
34620
+ 500: `Internal Server Error`
34621
+ }
34622
+ });
34623
+ }
34624
+ /**
34625
+ * Gets the resource by its Id.
34626
+ * @returns SellableItem OK
34627
+ * @throws ApiError
34628
+ */
34629
+ getObject({
34630
+ id
34631
+ }) {
34632
+ return this.httpRequest.request({
34633
+ method: "GET",
34634
+ url: "/api/sellable-items/{id}",
34635
+ path: {
34636
+ id
34637
+ },
34638
+ errors: {
34639
+ 400: `Bad Request`,
34640
+ 422: `Unprocessable Content`,
34641
+ 500: `Internal Server Error`
34642
+ }
34643
+ });
34644
+ }
34645
+ /**
34646
+ * Returns a value indicating whether the resource is deletable.
34647
+ * @returns boolean OK
34648
+ * @throws ApiError
34649
+ */
34650
+ canDelete({
34651
+ id
34652
+ }) {
34653
+ return this.httpRequest.request({
34654
+ method: "GET",
34655
+ url: "/api/sellable-items/{id}/deletable",
34656
+ path: {
34657
+ id
34658
+ },
34659
+ errors: {
34660
+ 400: `Bad Request`,
34661
+ 422: `Unprocessable Content`,
34662
+ 500: `Internal Server Error`
34663
+ }
34664
+ });
34665
+ }
34666
+ /**
34667
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
34668
+ * @returns boolean OK
34669
+ * @throws ApiError
34670
+ */
34671
+ exists({
34672
+ ids,
34673
+ venueId,
34674
+ online,
34675
+ archived,
34676
+ deleted,
34677
+ dashboardRequest,
34678
+ pageNumber,
34679
+ take,
34680
+ skip,
34681
+ limitListRequests,
34682
+ tenantId,
34683
+ modifiedById,
34684
+ modifiedByIds,
34685
+ dateCreatedGte,
34686
+ dateCreatedLte,
34687
+ isLive,
34688
+ sortOrderDirection
34689
+ }) {
34690
+ return this.httpRequest.request({
34691
+ method: "GET",
34692
+ url: "/api/sellable-items/exists",
34693
+ query: {
34694
+ Ids: ids,
34695
+ VenueId: venueId,
34696
+ Online: online,
34697
+ Archived: archived,
34698
+ Deleted: deleted,
34699
+ DashboardRequest: dashboardRequest,
34700
+ PageNumber: pageNumber,
34701
+ Take: take,
34702
+ Skip: skip,
34703
+ LimitListRequests: limitListRequests,
34704
+ TenantId: tenantId,
34705
+ ModifiedById: modifiedById,
34706
+ ModifiedByIds: modifiedByIds,
34707
+ DateCreatedGTE: dateCreatedGte,
34708
+ DateCreatedLTE: dateCreatedLte,
34709
+ IsLive: isLive,
34710
+ SortOrderDirection: sortOrderDirection
34711
+ },
34712
+ errors: {
34713
+ 400: `Bad Request`,
34714
+ 422: `Unprocessable Content`,
34715
+ 500: `Internal Server Error`
34716
+ }
34717
+ });
34718
+ }
34719
+ /**
34720
+ * Returns the number of results in the database given the provided search params.
34721
+ * @returns number OK
34722
+ * @throws ApiError
34723
+ */
34724
+ count({
34725
+ ids,
34726
+ venueId,
34727
+ online,
34728
+ archived,
34729
+ deleted,
34730
+ dashboardRequest,
34731
+ pageNumber,
34732
+ take,
34733
+ skip,
34734
+ limitListRequests,
34735
+ tenantId,
34736
+ modifiedById,
34737
+ modifiedByIds,
34738
+ dateCreatedGte,
34739
+ dateCreatedLte,
34740
+ isLive,
34741
+ sortOrderDirection
34742
+ }) {
34743
+ return this.httpRequest.request({
34744
+ method: "GET",
34745
+ url: "/api/sellable-items/count",
34746
+ query: {
34747
+ Ids: ids,
34748
+ VenueId: venueId,
34749
+ Online: online,
34750
+ Archived: archived,
34751
+ Deleted: deleted,
34752
+ DashboardRequest: dashboardRequest,
34753
+ PageNumber: pageNumber,
34754
+ Take: take,
34755
+ Skip: skip,
34756
+ LimitListRequests: limitListRequests,
34757
+ TenantId: tenantId,
34758
+ ModifiedById: modifiedById,
34759
+ ModifiedByIds: modifiedByIds,
34760
+ DateCreatedGTE: dateCreatedGte,
34761
+ DateCreatedLTE: dateCreatedLte,
34762
+ IsLive: isLive,
34763
+ SortOrderDirection: sortOrderDirection
34764
+ },
34765
+ errors: {
34766
+ 400: `Bad Request`,
34767
+ 422: `Unprocessable Content`,
34768
+ 500: `Internal Server Error`
34769
+ }
34770
+ });
34771
+ }
34772
+ /**
34773
+ * Gets a list of resources unpaged and without references.
34774
+ * @returns SellableItem OK
34775
+ * @throws ApiError
34776
+ */
34777
+ getListWithoutReferences({
34778
+ ids,
34779
+ venueId,
34780
+ online,
34781
+ archived,
34782
+ deleted,
34783
+ dashboardRequest,
34784
+ pageNumber,
34785
+ take,
34786
+ skip,
34787
+ limitListRequests,
34788
+ tenantId,
34789
+ modifiedById,
34790
+ modifiedByIds,
34791
+ dateCreatedGte,
34792
+ dateCreatedLte,
34793
+ isLive,
34794
+ sortOrderDirection
34795
+ }) {
34796
+ return this.httpRequest.request({
34797
+ method: "GET",
34798
+ url: "/api/sellable-items/without-references",
34799
+ query: {
34800
+ Ids: ids,
34801
+ VenueId: venueId,
34802
+ Online: online,
34803
+ Archived: archived,
34804
+ Deleted: deleted,
34805
+ DashboardRequest: dashboardRequest,
34806
+ PageNumber: pageNumber,
34807
+ Take: take,
34808
+ Skip: skip,
34809
+ LimitListRequests: limitListRequests,
34810
+ TenantId: tenantId,
34811
+ ModifiedById: modifiedById,
34812
+ ModifiedByIds: modifiedByIds,
34813
+ DateCreatedGTE: dateCreatedGte,
34814
+ DateCreatedLTE: dateCreatedLte,
34815
+ IsLive: isLive,
34816
+ SortOrderDirection: sortOrderDirection
34817
+ },
34818
+ errors: {
34819
+ 400: `Bad Request`,
34820
+ 422: `Unprocessable Content`,
34821
+ 500: `Internal Server Error`
34822
+ }
34823
+ });
34824
+ }
34825
+ /**
34826
+ * Gets a list of resources.
34827
+ * @returns SellableItem OK
34828
+ * @throws ApiError
34829
+ */
34830
+ getListIdName({
34831
+ ids,
34832
+ venueId,
34833
+ online,
34834
+ archived,
34835
+ deleted,
34836
+ dashboardRequest,
34837
+ pageNumber,
34838
+ take,
34839
+ skip,
34840
+ limitListRequests,
34841
+ tenantId,
34842
+ modifiedById,
34843
+ modifiedByIds,
34844
+ dateCreatedGte,
34845
+ dateCreatedLte,
34846
+ isLive,
34847
+ sortOrderDirection
34848
+ }) {
34849
+ return this.httpRequest.request({
34850
+ method: "GET",
34851
+ url: "/api/sellable-items/id-name",
34852
+ query: {
34853
+ Ids: ids,
34854
+ VenueId: venueId,
34855
+ Online: online,
34856
+ Archived: archived,
34857
+ Deleted: deleted,
34858
+ DashboardRequest: dashboardRequest,
34859
+ PageNumber: pageNumber,
34860
+ Take: take,
34861
+ Skip: skip,
34862
+ LimitListRequests: limitListRequests,
34863
+ TenantId: tenantId,
34864
+ ModifiedById: modifiedById,
34865
+ ModifiedByIds: modifiedByIds,
34866
+ DateCreatedGTE: dateCreatedGte,
34867
+ DateCreatedLTE: dateCreatedLte,
34868
+ IsLive: isLive,
34869
+ SortOrderDirection: sortOrderDirection
34870
+ },
34871
+ errors: {
34872
+ 400: `Bad Request`,
34873
+ 422: `Unprocessable Content`,
34874
+ 500: `Internal Server Error`
34875
+ }
34876
+ });
34877
+ }
34008
34878
  }class SessionsService {
34009
34879
  constructor(httpRequest) {
34010
34880
  this.httpRequest = httpRequest;
34011
34881
  }
34012
34882
  /**
34013
- * 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.
34014
34884
  * @returns ScheduledSession OK
34015
34885
  * @throws ApiError
34016
34886
  */
@@ -50462,6 +51332,7 @@ const request = (config, options, axiosClient = axios) => {
50462
51332
  publicProgrammes;
50463
51333
  publicProviders;
50464
51334
  publicScheduledSessions;
51335
+ publicSellableItems;
50465
51336
  publicSessions;
50466
51337
  publicSlots;
50467
51338
  publicStorefrontStaffPreview;
@@ -50479,6 +51350,7 @@ const request = (config, options, axiosClient = axios) => {
50479
51350
  rescheduleLog;
50480
51351
  scheduledSessions;
50481
51352
  scheduledSessionsSchedules;
51353
+ sellableItems;
50482
51354
  sessions;
50483
51355
  slotOffers;
50484
51356
  slots;
@@ -50607,6 +51479,7 @@ const request = (config, options, axiosClient = axios) => {
50607
51479
  this.publicProgrammes = new PublicProgrammesService(this.request);
50608
51480
  this.publicProviders = new PublicProvidersService(this.request);
50609
51481
  this.publicScheduledSessions = new PublicScheduledSessionsService(this.request);
51482
+ this.publicSellableItems = new PublicSellableItemsService(this.request);
50610
51483
  this.publicSessions = new PublicSessionsService(this.request);
50611
51484
  this.publicSlots = new PublicSlotsService(this.request);
50612
51485
  this.publicStorefrontStaffPreview = new PublicStorefrontStaffPreviewService(this.request);
@@ -50624,6 +51497,7 @@ const request = (config, options, axiosClient = axios) => {
50624
51497
  this.rescheduleLog = new RescheduleLogService(this.request);
50625
51498
  this.scheduledSessions = new ScheduledSessionsService(this.request);
50626
51499
  this.scheduledSessionsSchedules = new ScheduledSessionsSchedulesService(this.request);
51500
+ this.sellableItems = new SellableItemsService(this.request);
50627
51501
  this.sessions = new SessionsService(this.request);
50628
51502
  this.slotOffers = new SlotOffersService(this.request);
50629
51503
  this.slots = new SlotsService(this.request);
@@ -50676,6 +51550,7 @@ const request = (config, options, axiosClient = axios) => {
50676
51550
  ActivityType2["FACILITY"] = "Facility";
50677
51551
  ActivityType2["SESSION"] = "Session";
50678
51552
  ActivityType2["COURSE"] = "Course";
51553
+ ActivityType2["SELLABLE_ITEM"] = "SellableItem";
50679
51554
  return ActivityType2;
50680
51555
  })(ActivityType || {});var AdvanceBooking = /* @__PURE__ */ ((AdvanceBooking2) => {
50681
51556
  AdvanceBooking2["REQUIRED"] = "Required";
@@ -50938,6 +51813,7 @@ const request = (config, options, axiosClient = axios) => {
50938
51813
  OpportunityType2["SLOT"] = "Slot";
50939
51814
  OpportunityType2["SCHEDULED_SESSION"] = "ScheduledSession";
50940
51815
  OpportunityType2["COURSE"] = "Course";
51816
+ OpportunityType2["SELLABLE_ITEM"] = "SellableItem";
50941
51817
  return OpportunityType2;
50942
51818
  })(OpportunityType || {});var OrderItemStatus = /* @__PURE__ */ ((OrderItemStatus2) => {
50943
51819
  OrderItemStatus2["SELLER_CANCELLED"] = "SellerCancelled";
@@ -51123,4 +51999,4 @@ const request = (config, options, axiosClient = axios) => {
51123
51999
  WebsiteHomepage2["DEFAULT"] = "Default";
51124
52000
  WebsiteHomepage2["MAP"] = "Map";
51125
52001
  return WebsiteHomepage2;
51126
- })(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};