reach-api-sdk 1.0.202 → 1.0.203

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
@@ -3337,6 +3337,30 @@ const request = (config, options, axiosClient = axios) => {
3337
3337
  }
3338
3338
  });
3339
3339
  }
3340
+ /**
3341
+ * Emails all on waitlist for the opportunity />.
3342
+ * @returns ScheduledSession OK
3343
+ * @throws ApiError
3344
+ */
3345
+ contactWaitlist({
3346
+ courseId,
3347
+ requestBody
3348
+ }) {
3349
+ return this.httpRequest.request({
3350
+ method: "PATCH",
3351
+ url: "/api/courses/{courseId}/email-waitlist",
3352
+ path: {
3353
+ courseId
3354
+ },
3355
+ body: requestBody,
3356
+ mediaType: "application/json",
3357
+ errors: {
3358
+ 400: `Bad Request`,
3359
+ 422: `Unprocessable Content`,
3360
+ 500: `Internal Server Error`
3361
+ }
3362
+ });
3363
+ }
3340
3364
  /**
3341
3365
  * Sends the post course completion email />.
3342
3366
  * @returns any OK
@@ -9266,6 +9290,7 @@ const request = (config, options, axiosClient = axios) => {
9266
9290
  periodsOfWeek,
9267
9291
  additionalSupport,
9268
9292
  amenity,
9293
+ venueTypeIds,
9269
9294
  programmeIds,
9270
9295
  pageNumber,
9271
9296
  take,
@@ -9316,6 +9341,7 @@ const request = (config, options, axiosClient = axios) => {
9316
9341
  PeriodsOfWeek: periodsOfWeek,
9317
9342
  AdditionalSupport: additionalSupport,
9318
9343
  Amenity: amenity,
9344
+ VenueTypeIds: venueTypeIds,
9319
9345
  ProgrammeIds: programmeIds,
9320
9346
  PageNumber: pageNumber,
9321
9347
  Take: take,
@@ -9396,6 +9422,7 @@ const request = (config, options, axiosClient = axios) => {
9396
9422
  periodsOfWeek,
9397
9423
  additionalSupport,
9398
9424
  amenity,
9425
+ venueTypeIds,
9399
9426
  programmeIds,
9400
9427
  pageNumber,
9401
9428
  take,
@@ -9446,6 +9473,7 @@ const request = (config, options, axiosClient = axios) => {
9446
9473
  PeriodsOfWeek: periodsOfWeek,
9447
9474
  AdditionalSupport: additionalSupport,
9448
9475
  Amenity: amenity,
9476
+ VenueTypeIds: venueTypeIds,
9449
9477
  ProgrammeIds: programmeIds,
9450
9478
  PageNumber: pageNumber,
9451
9479
  Take: take,
@@ -9505,6 +9533,7 @@ const request = (config, options, axiosClient = axios) => {
9505
9533
  periodsOfWeek,
9506
9534
  additionalSupport,
9507
9535
  amenity,
9536
+ venueTypeIds,
9508
9537
  programmeIds,
9509
9538
  pageNumber,
9510
9539
  take,
@@ -9555,6 +9584,7 @@ const request = (config, options, axiosClient = axios) => {
9555
9584
  PeriodsOfWeek: periodsOfWeek,
9556
9585
  AdditionalSupport: additionalSupport,
9557
9586
  Amenity: amenity,
9587
+ VenueTypeIds: venueTypeIds,
9558
9588
  ProgrammeIds: programmeIds,
9559
9589
  PageNumber: pageNumber,
9560
9590
  Take: take,
@@ -9614,6 +9644,7 @@ const request = (config, options, axiosClient = axios) => {
9614
9644
  periodsOfWeek,
9615
9645
  additionalSupport,
9616
9646
  amenity,
9647
+ venueTypeIds,
9617
9648
  programmeIds,
9618
9649
  pageNumber,
9619
9650
  take,
@@ -9664,6 +9695,7 @@ const request = (config, options, axiosClient = axios) => {
9664
9695
  PeriodsOfWeek: periodsOfWeek,
9665
9696
  AdditionalSupport: additionalSupport,
9666
9697
  Amenity: amenity,
9698
+ VenueTypeIds: venueTypeIds,
9667
9699
  ProgrammeIds: programmeIds,
9668
9700
  PageNumber: pageNumber,
9669
9701
  Take: take,
@@ -9723,6 +9755,7 @@ const request = (config, options, axiosClient = axios) => {
9723
9755
  periodsOfWeek,
9724
9756
  additionalSupport,
9725
9757
  amenity,
9758
+ venueTypeIds,
9726
9759
  programmeIds,
9727
9760
  pageNumber,
9728
9761
  take,
@@ -9773,6 +9806,7 @@ const request = (config, options, axiosClient = axios) => {
9773
9806
  PeriodsOfWeek: periodsOfWeek,
9774
9807
  AdditionalSupport: additionalSupport,
9775
9808
  Amenity: amenity,
9809
+ VenueTypeIds: venueTypeIds,
9776
9810
  ProgrammeIds: programmeIds,
9777
9811
  PageNumber: pageNumber,
9778
9812
  Take: take,
@@ -9832,6 +9866,7 @@ const request = (config, options, axiosClient = axios) => {
9832
9866
  periodsOfWeek,
9833
9867
  additionalSupport,
9834
9868
  amenity,
9869
+ venueTypeIds,
9835
9870
  programmeIds,
9836
9871
  pageNumber,
9837
9872
  take,
@@ -9882,6 +9917,7 @@ const request = (config, options, axiosClient = axios) => {
9882
9917
  PeriodsOfWeek: periodsOfWeek,
9883
9918
  AdditionalSupport: additionalSupport,
9884
9919
  Amenity: amenity,
9920
+ VenueTypeIds: venueTypeIds,
9885
9921
  ProgrammeIds: programmeIds,
9886
9922
  PageNumber: pageNumber,
9887
9923
  Take: take,
@@ -21656,6 +21692,7 @@ const request = (config, options, axiosClient = axios) => {
21656
21692
  periodsOfWeek,
21657
21693
  additionalSupport,
21658
21694
  amenity,
21695
+ venueTypeIds,
21659
21696
  programmeIds,
21660
21697
  pageNumber,
21661
21698
  take,
@@ -21709,6 +21746,7 @@ const request = (config, options, axiosClient = axios) => {
21709
21746
  PeriodsOfWeek: periodsOfWeek,
21710
21747
  AdditionalSupport: additionalSupport,
21711
21748
  Amenity: amenity,
21749
+ VenueTypeIds: venueTypeIds,
21712
21750
  ProgrammeIds: programmeIds,
21713
21751
  PageNumber: pageNumber,
21714
21752
  Take: take,
@@ -21768,6 +21806,7 @@ const request = (config, options, axiosClient = axios) => {
21768
21806
  periodsOfWeek,
21769
21807
  additionalSupport,
21770
21808
  amenity,
21809
+ venueTypeIds,
21771
21810
  programmeIds,
21772
21811
  pageNumber,
21773
21812
  take,
@@ -21818,6 +21857,7 @@ const request = (config, options, axiosClient = axios) => {
21818
21857
  PeriodsOfWeek: periodsOfWeek,
21819
21858
  AdditionalSupport: additionalSupport,
21820
21859
  Amenity: amenity,
21860
+ VenueTypeIds: venueTypeIds,
21821
21861
  ProgrammeIds: programmeIds,
21822
21862
  PageNumber: pageNumber,
21823
21863
  Take: take,
@@ -21878,6 +21918,7 @@ const request = (config, options, axiosClient = axios) => {
21878
21918
  periodsOfWeek,
21879
21919
  additionalSupport,
21880
21920
  amenity,
21921
+ venueTypeIds,
21881
21922
  programmeIds,
21882
21923
  pageNumber,
21883
21924
  take,
@@ -21931,6 +21972,7 @@ const request = (config, options, axiosClient = axios) => {
21931
21972
  PeriodsOfWeek: periodsOfWeek,
21932
21973
  AdditionalSupport: additionalSupport,
21933
21974
  Amenity: amenity,
21975
+ VenueTypeIds: venueTypeIds,
21934
21976
  ProgrammeIds: programmeIds,
21935
21977
  PageNumber: pageNumber,
21936
21978
  Take: take,
@@ -22018,6 +22060,7 @@ const request = (config, options, axiosClient = axios) => {
22018
22060
  periodsOfWeek,
22019
22061
  additionalSupport,
22020
22062
  amenity,
22063
+ venueTypeIds,
22021
22064
  programmeIds,
22022
22065
  pageNumber,
22023
22066
  take,
@@ -22071,6 +22114,7 @@ const request = (config, options, axiosClient = axios) => {
22071
22114
  PeriodsOfWeek: periodsOfWeek,
22072
22115
  AdditionalSupport: additionalSupport,
22073
22116
  Amenity: amenity,
22117
+ VenueTypeIds: venueTypeIds,
22074
22118
  ProgrammeIds: programmeIds,
22075
22119
  PageNumber: pageNumber,
22076
22120
  Take: take,
@@ -27081,6 +27125,7 @@ const request = (config, options, axiosClient = axios) => {
27081
27125
  distance,
27082
27126
  dashboardRequest,
27083
27127
  programmeIds,
27128
+ venueTypeIds,
27084
27129
  pageNumber,
27085
27130
  take,
27086
27131
  skip,
@@ -27121,6 +27166,7 @@ const request = (config, options, axiosClient = axios) => {
27121
27166
  Distance: distance,
27122
27167
  DashboardRequest: dashboardRequest,
27123
27168
  ProgrammeIds: programmeIds,
27169
+ VenueTypeIds: venueTypeIds,
27124
27170
  PageNumber: pageNumber,
27125
27171
  Take: take,
27126
27172
  Skip: skip,
@@ -27191,6 +27237,7 @@ const request = (config, options, axiosClient = axios) => {
27191
27237
  distance,
27192
27238
  dashboardRequest,
27193
27239
  programmeIds,
27240
+ venueTypeIds,
27194
27241
  pageNumber,
27195
27242
  take,
27196
27243
  skip,
@@ -27228,6 +27275,7 @@ const request = (config, options, axiosClient = axios) => {
27228
27275
  Distance: distance,
27229
27276
  DashboardRequest: dashboardRequest,
27230
27277
  ProgrammeIds: programmeIds,
27278
+ VenueTypeIds: venueTypeIds,
27231
27279
  PageNumber: pageNumber,
27232
27280
  Take: take,
27233
27281
  Skip: skip,
@@ -27347,6 +27395,7 @@ const request = (config, options, axiosClient = axios) => {
27347
27395
  distance,
27348
27396
  dashboardRequest,
27349
27397
  programmeIds,
27398
+ venueTypeIds,
27350
27399
  pageNumber,
27351
27400
  take,
27352
27401
  skip,
@@ -27387,6 +27436,245 @@ const request = (config, options, axiosClient = axios) => {
27387
27436
  Distance: distance,
27388
27437
  DashboardRequest: dashboardRequest,
27389
27438
  ProgrammeIds: programmeIds,
27439
+ VenueTypeIds: venueTypeIds,
27440
+ PageNumber: pageNumber,
27441
+ Take: take,
27442
+ Skip: skip,
27443
+ LimitListRequests: limitListRequests,
27444
+ TenantId: tenantId,
27445
+ ModifiedById: modifiedById,
27446
+ ModifiedByIds: modifiedByIds,
27447
+ DateCreatedGTE: dateCreatedGte,
27448
+ DateCreatedLTE: dateCreatedLte,
27449
+ IsLive: isLive,
27450
+ SortOrderDirection: sortOrderDirection
27451
+ },
27452
+ errors: {
27453
+ 400: `Bad Request`,
27454
+ 422: `Unprocessable Content`,
27455
+ 500: `Internal Server Error`
27456
+ }
27457
+ });
27458
+ }
27459
+ }class PublicVenueTypesService {
27460
+ constructor(httpRequest) {
27461
+ this.httpRequest = httpRequest;
27462
+ }
27463
+ /**
27464
+ * @returns VenueType OK
27465
+ * @throws ApiError
27466
+ */
27467
+ getObject({
27468
+ id,
27469
+ xTenantSubdomain
27470
+ }) {
27471
+ return this.httpRequest.request({
27472
+ method: "GET",
27473
+ url: "/api/public/venue-types/{id}",
27474
+ path: {
27475
+ id
27476
+ },
27477
+ headers: {
27478
+ x_tenant_subdomain: xTenantSubdomain
27479
+ },
27480
+ errors: {
27481
+ 400: `Bad Request`,
27482
+ 422: `Unprocessable Content`,
27483
+ 500: `Internal Server Error`
27484
+ }
27485
+ });
27486
+ }
27487
+ /**
27488
+ * Deletes the resource.
27489
+ * @returns any OK
27490
+ * @throws ApiError
27491
+ */
27492
+ deleteById({
27493
+ id,
27494
+ xTenantSubdomain
27495
+ }) {
27496
+ return this.httpRequest.request({
27497
+ method: "DELETE",
27498
+ url: "/api/public/venue-types/{id}",
27499
+ path: {
27500
+ id
27501
+ },
27502
+ headers: {
27503
+ x_tenant_subdomain: xTenantSubdomain
27504
+ },
27505
+ errors: {
27506
+ 400: `Bad Request`,
27507
+ 422: `Unprocessable Content`,
27508
+ 500: `Internal Server Error`
27509
+ }
27510
+ });
27511
+ }
27512
+ /**
27513
+ * @returns VenueTypePage OK
27514
+ * @throws ApiError
27515
+ */
27516
+ getPage({
27517
+ xTenantSubdomain,
27518
+ pageNumber,
27519
+ take,
27520
+ skip,
27521
+ limitListRequests,
27522
+ tenantId,
27523
+ modifiedById,
27524
+ modifiedByIds,
27525
+ dateCreatedGte,
27526
+ dateCreatedLte,
27527
+ isLive,
27528
+ sortOrderDirection
27529
+ }) {
27530
+ return this.httpRequest.request({
27531
+ method: "GET",
27532
+ url: "/api/public/venue-types",
27533
+ headers: {
27534
+ x_tenant_subdomain: xTenantSubdomain
27535
+ },
27536
+ query: {
27537
+ PageNumber: pageNumber,
27538
+ Take: take,
27539
+ Skip: skip,
27540
+ LimitListRequests: limitListRequests,
27541
+ TenantId: tenantId,
27542
+ ModifiedById: modifiedById,
27543
+ ModifiedByIds: modifiedByIds,
27544
+ DateCreatedGTE: dateCreatedGte,
27545
+ DateCreatedLTE: dateCreatedLte,
27546
+ IsLive: isLive,
27547
+ SortOrderDirection: sortOrderDirection
27548
+ },
27549
+ errors: {
27550
+ 400: `Bad Request`,
27551
+ 422: `Unprocessable Content`,
27552
+ 500: `Internal Server Error`
27553
+ }
27554
+ });
27555
+ }
27556
+ /**
27557
+ * Deletes the resource.
27558
+ * @returns any OK
27559
+ * @throws ApiError
27560
+ */
27561
+ deleteByObject({
27562
+ xTenantSubdomain,
27563
+ requestBody
27564
+ }) {
27565
+ return this.httpRequest.request({
27566
+ method: "DELETE",
27567
+ url: "/api/public/venue-types",
27568
+ headers: {
27569
+ x_tenant_subdomain: xTenantSubdomain
27570
+ },
27571
+ body: requestBody,
27572
+ mediaType: "application/json",
27573
+ errors: {
27574
+ 400: `Bad Request`,
27575
+ 422: `Unprocessable Content`,
27576
+ 500: `Internal Server Error`
27577
+ }
27578
+ });
27579
+ }
27580
+ /**
27581
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
27582
+ * @returns VenueType OK
27583
+ * @throws ApiError
27584
+ */
27585
+ post({
27586
+ xTenantSubdomain,
27587
+ requestBody
27588
+ }) {
27589
+ return this.httpRequest.request({
27590
+ method: "POST",
27591
+ url: "/api/public/venue-types/v2-temporary-route",
27592
+ headers: {
27593
+ x_tenant_subdomain: xTenantSubdomain
27594
+ },
27595
+ body: requestBody,
27596
+ mediaType: "application/json",
27597
+ errors: {
27598
+ 400: `Bad Request`,
27599
+ 422: `Unprocessable Content`,
27600
+ 500: `Internal Server Error`
27601
+ }
27602
+ });
27603
+ }
27604
+ /**
27605
+ * Patches the resource.
27606
+ * @returns VenueType OK
27607
+ * @throws ApiError
27608
+ */
27609
+ patch({
27610
+ xTenantSubdomain,
27611
+ requestBody
27612
+ }) {
27613
+ return this.httpRequest.request({
27614
+ method: "PATCH",
27615
+ url: "/api/public/venue-types/v2-temporary-route",
27616
+ headers: {
27617
+ x_tenant_subdomain: xTenantSubdomain
27618
+ },
27619
+ body: requestBody,
27620
+ mediaType: "application/json",
27621
+ errors: {
27622
+ 400: `Bad Request`,
27623
+ 422: `Unprocessable Content`,
27624
+ 500: `Internal Server Error`
27625
+ }
27626
+ });
27627
+ }
27628
+ /**
27629
+ * Inserts a list of resources.
27630
+ * @returns VenueType OK
27631
+ * @throws ApiError
27632
+ */
27633
+ postList({
27634
+ xTenantSubdomain,
27635
+ requestBody
27636
+ }) {
27637
+ return this.httpRequest.request({
27638
+ method: "POST",
27639
+ url: "/api/public/venue-types/v2-temporary-route/list",
27640
+ headers: {
27641
+ x_tenant_subdomain: xTenantSubdomain
27642
+ },
27643
+ body: requestBody,
27644
+ mediaType: "application/json",
27645
+ errors: {
27646
+ 400: `Bad Request`,
27647
+ 422: `Unprocessable Content`,
27648
+ 500: `Internal Server Error`
27649
+ }
27650
+ });
27651
+ }
27652
+ /**
27653
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
27654
+ * @returns boolean OK
27655
+ * @throws ApiError
27656
+ */
27657
+ exists({
27658
+ xTenantSubdomain,
27659
+ pageNumber,
27660
+ take,
27661
+ skip,
27662
+ limitListRequests,
27663
+ tenantId,
27664
+ modifiedById,
27665
+ modifiedByIds,
27666
+ dateCreatedGte,
27667
+ dateCreatedLte,
27668
+ isLive,
27669
+ sortOrderDirection
27670
+ }) {
27671
+ return this.httpRequest.request({
27672
+ method: "GET",
27673
+ url: "/api/public/venue-types/exists",
27674
+ headers: {
27675
+ x_tenant_subdomain: xTenantSubdomain
27676
+ },
27677
+ query: {
27390
27678
  PageNumber: pageNumber,
27391
27679
  Take: take,
27392
27680
  Skip: skip,
@@ -29413,6 +29701,30 @@ const request = (config, options, axiosClient = axios) => {
29413
29701
  }
29414
29702
  });
29415
29703
  }
29704
+ /**
29705
+ * Emails all on waitlist onto the opportunity />.
29706
+ * @returns ScheduledSession OK
29707
+ * @throws ApiError
29708
+ */
29709
+ contactWaitlist({
29710
+ scheduledSessionId,
29711
+ requestBody
29712
+ }) {
29713
+ return this.httpRequest.request({
29714
+ method: "PATCH",
29715
+ url: "/api/scheduled-sessions/{scheduledSessionId}/email-waitlist",
29716
+ path: {
29717
+ scheduledSessionId
29718
+ },
29719
+ body: requestBody,
29720
+ mediaType: "application/json",
29721
+ errors: {
29722
+ 400: `Bad Request`,
29723
+ 422: `Unprocessable Content`,
29724
+ 500: `Internal Server Error`
29725
+ }
29726
+ });
29727
+ }
29416
29728
  /**
29417
29729
  * Cleans table of leased and conflicted scheduled sessions.
29418
29730
  * @returns number OK
@@ -42633,6 +42945,7 @@ const request = (config, options, axiosClient = axios) => {
42633
42945
  distance,
42634
42946
  dashboardRequest,
42635
42947
  programmeIds,
42948
+ venueTypeIds,
42636
42949
  pageNumber,
42637
42950
  take,
42638
42951
  skip,
@@ -42670,6 +42983,7 @@ const request = (config, options, axiosClient = axios) => {
42670
42983
  Distance: distance,
42671
42984
  DashboardRequest: dashboardRequest,
42672
42985
  ProgrammeIds: programmeIds,
42986
+ VenueTypeIds: venueTypeIds,
42673
42987
  PageNumber: pageNumber,
42674
42988
  Take: take,
42675
42989
  Skip: skip,
@@ -42779,6 +43093,7 @@ const request = (config, options, axiosClient = axios) => {
42779
43093
  distance,
42780
43094
  dashboardRequest,
42781
43095
  programmeIds,
43096
+ venueTypeIds,
42782
43097
  pageNumber,
42783
43098
  take,
42784
43099
  skip,
@@ -42816,6 +43131,7 @@ const request = (config, options, axiosClient = axios) => {
42816
43131
  Distance: distance,
42817
43132
  DashboardRequest: dashboardRequest,
42818
43133
  ProgrammeIds: programmeIds,
43134
+ VenueTypeIds: venueTypeIds,
42819
43135
  PageNumber: pageNumber,
42820
43136
  Take: take,
42821
43137
  Skip: skip,
@@ -42862,6 +43178,7 @@ const request = (config, options, axiosClient = axios) => {
42862
43178
  distance,
42863
43179
  dashboardRequest,
42864
43180
  programmeIds,
43181
+ venueTypeIds,
42865
43182
  pageNumber,
42866
43183
  take,
42867
43184
  skip,
@@ -42899,6 +43216,7 @@ const request = (config, options, axiosClient = axios) => {
42899
43216
  Distance: distance,
42900
43217
  DashboardRequest: dashboardRequest,
42901
43218
  ProgrammeIds: programmeIds,
43219
+ VenueTypeIds: venueTypeIds,
42902
43220
  PageNumber: pageNumber,
42903
43221
  Take: take,
42904
43222
  Skip: skip,
@@ -42945,6 +43263,7 @@ const request = (config, options, axiosClient = axios) => {
42945
43263
  distance,
42946
43264
  dashboardRequest,
42947
43265
  programmeIds,
43266
+ venueTypeIds,
42948
43267
  pageNumber,
42949
43268
  take,
42950
43269
  skip,
@@ -42982,6 +43301,7 @@ const request = (config, options, axiosClient = axios) => {
42982
43301
  Distance: distance,
42983
43302
  DashboardRequest: dashboardRequest,
42984
43303
  ProgrammeIds: programmeIds,
43304
+ VenueTypeIds: venueTypeIds,
42985
43305
  PageNumber: pageNumber,
42986
43306
  Take: take,
42987
43307
  Skip: skip,
@@ -43028,6 +43348,7 @@ const request = (config, options, axiosClient = axios) => {
43028
43348
  distance,
43029
43349
  dashboardRequest,
43030
43350
  programmeIds,
43351
+ venueTypeIds,
43031
43352
  pageNumber,
43032
43353
  take,
43033
43354
  skip,
@@ -43065,6 +43386,7 @@ const request = (config, options, axiosClient = axios) => {
43065
43386
  Distance: distance,
43066
43387
  DashboardRequest: dashboardRequest,
43067
43388
  ProgrammeIds: programmeIds,
43389
+ VenueTypeIds: venueTypeIds,
43068
43390
  PageNumber: pageNumber,
43069
43391
  Take: take,
43070
43392
  Skip: skip,
@@ -43560,6 +43882,378 @@ const request = (config, options, axiosClient = axios) => {
43560
43882
  }
43561
43883
  });
43562
43884
  }
43885
+ }class VenueTypeService {
43886
+ constructor(httpRequest) {
43887
+ this.httpRequest = httpRequest;
43888
+ }
43889
+ /**
43890
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
43891
+ * @returns VenueType OK
43892
+ * @throws ApiError
43893
+ */
43894
+ post({
43895
+ requestBody
43896
+ }) {
43897
+ return this.httpRequest.request({
43898
+ method: "POST",
43899
+ url: "/api/venue-types/v2-temporary-route",
43900
+ body: requestBody,
43901
+ mediaType: "application/json",
43902
+ errors: {
43903
+ 400: `Bad Request`,
43904
+ 422: `Unprocessable Content`,
43905
+ 500: `Internal Server Error`
43906
+ }
43907
+ });
43908
+ }
43909
+ /**
43910
+ * Patches the resource.
43911
+ * @returns VenueType OK
43912
+ * @throws ApiError
43913
+ */
43914
+ patch({
43915
+ requestBody
43916
+ }) {
43917
+ return this.httpRequest.request({
43918
+ method: "PATCH",
43919
+ url: "/api/venue-types/v2-temporary-route",
43920
+ body: requestBody,
43921
+ mediaType: "application/json",
43922
+ errors: {
43923
+ 400: `Bad Request`,
43924
+ 422: `Unprocessable Content`,
43925
+ 500: `Internal Server Error`
43926
+ }
43927
+ });
43928
+ }
43929
+ /**
43930
+ * Inserts a list of resources.
43931
+ * @returns VenueType OK
43932
+ * @throws ApiError
43933
+ */
43934
+ postList({
43935
+ requestBody
43936
+ }) {
43937
+ return this.httpRequest.request({
43938
+ method: "POST",
43939
+ url: "/api/venue-types/v2-temporary-route/list",
43940
+ body: requestBody,
43941
+ mediaType: "application/json",
43942
+ errors: {
43943
+ 400: `Bad Request`,
43944
+ 422: `Unprocessable Content`,
43945
+ 500: `Internal Server Error`
43946
+ }
43947
+ });
43948
+ }
43949
+ /**
43950
+ * Patches the resource.
43951
+ * @returns VenueType OK
43952
+ * @throws ApiError
43953
+ */
43954
+ patchWithReferences({
43955
+ requestBody
43956
+ }) {
43957
+ return this.httpRequest.request({
43958
+ method: "PATCH",
43959
+ url: "/api/venue-types/v2-temporary-route/with-references",
43960
+ body: requestBody,
43961
+ mediaType: "application/json",
43962
+ errors: {
43963
+ 400: `Bad Request`,
43964
+ 422: `Unprocessable Content`,
43965
+ 500: `Internal Server Error`
43966
+ }
43967
+ });
43968
+ }
43969
+ /**
43970
+ * Deletes the resource.
43971
+ * @returns any OK
43972
+ * @throws ApiError
43973
+ */
43974
+ deleteByObject({
43975
+ requestBody
43976
+ }) {
43977
+ return this.httpRequest.request({
43978
+ method: "DELETE",
43979
+ url: "/api/venue-types",
43980
+ body: requestBody,
43981
+ mediaType: "application/json",
43982
+ errors: {
43983
+ 400: `Bad Request`,
43984
+ 422: `Unprocessable Content`,
43985
+ 500: `Internal Server Error`
43986
+ }
43987
+ });
43988
+ }
43989
+ /**
43990
+ * Gets a list of resources.
43991
+ * @returns VenueTypePage OK
43992
+ * @throws ApiError
43993
+ */
43994
+ getPage({
43995
+ pageNumber,
43996
+ take,
43997
+ skip,
43998
+ limitListRequests,
43999
+ tenantId,
44000
+ modifiedById,
44001
+ modifiedByIds,
44002
+ dateCreatedGte,
44003
+ dateCreatedLte,
44004
+ isLive,
44005
+ sortOrderDirection
44006
+ }) {
44007
+ return this.httpRequest.request({
44008
+ method: "GET",
44009
+ url: "/api/venue-types",
44010
+ query: {
44011
+ PageNumber: pageNumber,
44012
+ Take: take,
44013
+ Skip: skip,
44014
+ LimitListRequests: limitListRequests,
44015
+ TenantId: tenantId,
44016
+ ModifiedById: modifiedById,
44017
+ ModifiedByIds: modifiedByIds,
44018
+ DateCreatedGTE: dateCreatedGte,
44019
+ DateCreatedLTE: dateCreatedLte,
44020
+ IsLive: isLive,
44021
+ SortOrderDirection: sortOrderDirection
44022
+ },
44023
+ errors: {
44024
+ 400: `Bad Request`,
44025
+ 422: `Unprocessable Content`,
44026
+ 500: `Internal Server Error`
44027
+ }
44028
+ });
44029
+ }
44030
+ /**
44031
+ * Deletes the resource.
44032
+ * @returns any OK
44033
+ * @throws ApiError
44034
+ */
44035
+ deleteById({
44036
+ id
44037
+ }) {
44038
+ return this.httpRequest.request({
44039
+ method: "DELETE",
44040
+ url: "/api/venue-types/{id}",
44041
+ path: {
44042
+ id
44043
+ },
44044
+ errors: {
44045
+ 400: `Bad Request`,
44046
+ 422: `Unprocessable Content`,
44047
+ 500: `Internal Server Error`
44048
+ }
44049
+ });
44050
+ }
44051
+ /**
44052
+ * Gets the resource by its Id.
44053
+ * @returns VenueType OK
44054
+ * @throws ApiError
44055
+ */
44056
+ getObject({
44057
+ id
44058
+ }) {
44059
+ return this.httpRequest.request({
44060
+ method: "GET",
44061
+ url: "/api/venue-types/{id}",
44062
+ path: {
44063
+ id
44064
+ },
44065
+ errors: {
44066
+ 400: `Bad Request`,
44067
+ 422: `Unprocessable Content`,
44068
+ 500: `Internal Server Error`
44069
+ }
44070
+ });
44071
+ }
44072
+ /**
44073
+ * Returns a value indicating whether the resource is deletable.
44074
+ * @returns boolean OK
44075
+ * @throws ApiError
44076
+ */
44077
+ canDelete({
44078
+ id
44079
+ }) {
44080
+ return this.httpRequest.request({
44081
+ method: "GET",
44082
+ url: "/api/venue-types/{id}/deletable",
44083
+ path: {
44084
+ id
44085
+ },
44086
+ errors: {
44087
+ 400: `Bad Request`,
44088
+ 422: `Unprocessable Content`,
44089
+ 500: `Internal Server Error`
44090
+ }
44091
+ });
44092
+ }
44093
+ /**
44094
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
44095
+ * @returns boolean OK
44096
+ * @throws ApiError
44097
+ */
44098
+ exists({
44099
+ pageNumber,
44100
+ take,
44101
+ skip,
44102
+ limitListRequests,
44103
+ tenantId,
44104
+ modifiedById,
44105
+ modifiedByIds,
44106
+ dateCreatedGte,
44107
+ dateCreatedLte,
44108
+ isLive,
44109
+ sortOrderDirection
44110
+ }) {
44111
+ return this.httpRequest.request({
44112
+ method: "GET",
44113
+ url: "/api/venue-types/exists",
44114
+ query: {
44115
+ PageNumber: pageNumber,
44116
+ Take: take,
44117
+ Skip: skip,
44118
+ LimitListRequests: limitListRequests,
44119
+ TenantId: tenantId,
44120
+ ModifiedById: modifiedById,
44121
+ ModifiedByIds: modifiedByIds,
44122
+ DateCreatedGTE: dateCreatedGte,
44123
+ DateCreatedLTE: dateCreatedLte,
44124
+ IsLive: isLive,
44125
+ SortOrderDirection: sortOrderDirection
44126
+ },
44127
+ errors: {
44128
+ 400: `Bad Request`,
44129
+ 422: `Unprocessable Content`,
44130
+ 500: `Internal Server Error`
44131
+ }
44132
+ });
44133
+ }
44134
+ /**
44135
+ * Returns the number of results in the database given the provided search params.
44136
+ * @returns number OK
44137
+ * @throws ApiError
44138
+ */
44139
+ count({
44140
+ pageNumber,
44141
+ take,
44142
+ skip,
44143
+ limitListRequests,
44144
+ tenantId,
44145
+ modifiedById,
44146
+ modifiedByIds,
44147
+ dateCreatedGte,
44148
+ dateCreatedLte,
44149
+ isLive,
44150
+ sortOrderDirection
44151
+ }) {
44152
+ return this.httpRequest.request({
44153
+ method: "GET",
44154
+ url: "/api/venue-types/count",
44155
+ query: {
44156
+ PageNumber: pageNumber,
44157
+ Take: take,
44158
+ Skip: skip,
44159
+ LimitListRequests: limitListRequests,
44160
+ TenantId: tenantId,
44161
+ ModifiedById: modifiedById,
44162
+ ModifiedByIds: modifiedByIds,
44163
+ DateCreatedGTE: dateCreatedGte,
44164
+ DateCreatedLTE: dateCreatedLte,
44165
+ IsLive: isLive,
44166
+ SortOrderDirection: sortOrderDirection
44167
+ },
44168
+ errors: {
44169
+ 400: `Bad Request`,
44170
+ 422: `Unprocessable Content`,
44171
+ 500: `Internal Server Error`
44172
+ }
44173
+ });
44174
+ }
44175
+ /**
44176
+ * Gets a list of resources unpaged and without references.
44177
+ * @returns VenueType OK
44178
+ * @throws ApiError
44179
+ */
44180
+ getListWithoutReferences({
44181
+ pageNumber,
44182
+ take,
44183
+ skip,
44184
+ limitListRequests,
44185
+ tenantId,
44186
+ modifiedById,
44187
+ modifiedByIds,
44188
+ dateCreatedGte,
44189
+ dateCreatedLte,
44190
+ isLive,
44191
+ sortOrderDirection
44192
+ }) {
44193
+ return this.httpRequest.request({
44194
+ method: "GET",
44195
+ url: "/api/venue-types/without-references",
44196
+ query: {
44197
+ PageNumber: pageNumber,
44198
+ Take: take,
44199
+ Skip: skip,
44200
+ LimitListRequests: limitListRequests,
44201
+ TenantId: tenantId,
44202
+ ModifiedById: modifiedById,
44203
+ ModifiedByIds: modifiedByIds,
44204
+ DateCreatedGTE: dateCreatedGte,
44205
+ DateCreatedLTE: dateCreatedLte,
44206
+ IsLive: isLive,
44207
+ SortOrderDirection: sortOrderDirection
44208
+ },
44209
+ errors: {
44210
+ 400: `Bad Request`,
44211
+ 422: `Unprocessable Content`,
44212
+ 500: `Internal Server Error`
44213
+ }
44214
+ });
44215
+ }
44216
+ /**
44217
+ * Gets a list of resources.
44218
+ * @returns VenueType OK
44219
+ * @throws ApiError
44220
+ */
44221
+ getListIdName({
44222
+ pageNumber,
44223
+ take,
44224
+ skip,
44225
+ limitListRequests,
44226
+ tenantId,
44227
+ modifiedById,
44228
+ modifiedByIds,
44229
+ dateCreatedGte,
44230
+ dateCreatedLte,
44231
+ isLive,
44232
+ sortOrderDirection
44233
+ }) {
44234
+ return this.httpRequest.request({
44235
+ method: "GET",
44236
+ url: "/api/venue-types/id-name",
44237
+ query: {
44238
+ PageNumber: pageNumber,
44239
+ Take: take,
44240
+ Skip: skip,
44241
+ LimitListRequests: limitListRequests,
44242
+ TenantId: tenantId,
44243
+ ModifiedById: modifiedById,
44244
+ ModifiedByIds: modifiedByIds,
44245
+ DateCreatedGTE: dateCreatedGte,
44246
+ DateCreatedLTE: dateCreatedLte,
44247
+ IsLive: isLive,
44248
+ SortOrderDirection: sortOrderDirection
44249
+ },
44250
+ errors: {
44251
+ 400: `Bad Request`,
44252
+ 422: `Unprocessable Content`,
44253
+ 500: `Internal Server Error`
44254
+ }
44255
+ });
44256
+ }
43563
44257
  }class WaitlistActivityService {
43564
44258
  constructor(httpRequest) {
43565
44259
  this.httpRequest = httpRequest;
@@ -45518,6 +46212,7 @@ const request = (config, options, axiosClient = axios) => {
45518
46212
  publicSurveys;
45519
46213
  publicTenants;
45520
46214
  publicVenues;
46215
+ publicVenueTypes;
45521
46216
  publicWaitlistActivity;
45522
46217
  publicWaitlistOpportunity;
45523
46218
  recentOrderActivityReport;
@@ -45554,6 +46249,7 @@ const request = (config, options, axiosClient = axios) => {
45554
46249
  venuePerformance;
45555
46250
  venues;
45556
46251
  venuesReport;
46252
+ venueType;
45557
46253
  waitlistActivity;
45558
46254
  waitlistActivityReport;
45559
46255
  waitlistOpportunity;
@@ -45648,6 +46344,7 @@ const request = (config, options, axiosClient = axios) => {
45648
46344
  this.publicSurveys = new PublicSurveysService(this.request);
45649
46345
  this.publicTenants = new PublicTenantsService(this.request);
45650
46346
  this.publicVenues = new PublicVenuesService(this.request);
46347
+ this.publicVenueTypes = new PublicVenueTypesService(this.request);
45651
46348
  this.publicWaitlistActivity = new PublicWaitlistActivityService(this.request);
45652
46349
  this.publicWaitlistOpportunity = new PublicWaitlistOpportunityService(this.request);
45653
46350
  this.recentOrderActivityReport = new RecentOrderActivityReportService(this.request);
@@ -45684,6 +46381,7 @@ const request = (config, options, axiosClient = axios) => {
45684
46381
  this.venuePerformance = new VenuePerformanceService(this.request);
45685
46382
  this.venues = new VenuesService(this.request);
45686
46383
  this.venuesReport = new VenuesReportService(this.request);
46384
+ this.venueType = new VenueTypeService(this.request);
45687
46385
  this.waitlistActivity = new WaitlistActivityService(this.request);
45688
46386
  this.waitlistActivityReport = new WaitlistActivityReportService(this.request);
45689
46387
  this.waitlistOpportunity = new WaitlistOpportunityService(this.request);
@@ -46088,4 +46786,4 @@ const request = (config, options, axiosClient = axios) => {
46088
46786
  UpcomingLayout2["GRID"] = "Grid";
46089
46787
  UpcomingLayout2["CALENDAR"] = "Calendar";
46090
46788
  return UpcomingLayout2;
46091
- })(UpcomingLayout || {});export{ActivityPerformanceService,ActivityService,ActivityType,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,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,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,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,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,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
46789
+ })(UpcomingLayout || {});export{ActivityPerformanceService,ActivityService,ActivityType,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,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,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,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,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};