reach-api-sdk 1.0.209 → 1.0.211

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 (46) hide show
  1. package/dist/reach-sdk.d.ts +2742 -647
  2. package/dist/reach-sdk.js +2636 -935
  3. package/package.json +1 -1
  4. package/src/apiClient.ts +15 -0
  5. package/src/definition/swagger.yaml +7106 -1465
  6. package/src/index.ts +28 -0
  7. package/src/models/AddressBookItem.ts +26 -0
  8. package/src/models/AddressBooksRequest.ts +22 -0
  9. package/src/models/Customer.ts +0 -4
  10. package/src/models/DotdigitalCanonicalField.ts +17 -0
  11. package/src/models/DotdigitalSourceType.ts +15 -0
  12. package/src/models/IntegrationDotdigitalFieldMap.ts +55 -0
  13. package/src/models/IntegrationDotdigitalFieldMapPage.ts +12 -0
  14. package/src/models/IntegrationDotdigitalFieldMapPatch.ts +18 -0
  15. package/src/models/IntegrationDotdigitalFieldMapPost.ts +14 -0
  16. package/src/models/IntegrationDotdigitalLog.ts +65 -0
  17. package/src/models/IntegrationDotdigitalLogPage.ts +12 -0
  18. package/src/models/IntegrationDotdigitalLogPatch.ts +18 -0
  19. package/src/models/IntegrationDotdigitalLogPost.ts +14 -0
  20. package/src/models/IntegrationDotdigitalLogStatus.ts +13 -0
  21. package/src/models/IntegrationDotdigitalSettings.ts +66 -0
  22. package/src/models/IntegrationDotdigitalSettingsCreate.ts +38 -0
  23. package/src/models/IntegrationDotdigitalSettingsPage.ts +12 -0
  24. package/src/models/IntegrationDotdigitalSettingsPatch.ts +18 -0
  25. package/src/models/IntegrationDotdigitalSettingsPost.ts +14 -0
  26. package/src/models/IntegrationQueue.ts +57 -0
  27. package/src/models/IntegrationQueuePage.ts +12 -0
  28. package/src/models/IntegrationQueuePatch.ts +18 -0
  29. package/src/models/IntegrationQueuePost.ts +14 -0
  30. package/src/models/IntegrationType.ts +11 -0
  31. package/src/models/OrderItem.ts +4 -0
  32. package/src/models/OrderItemReport.ts +4 -0
  33. package/src/services/CourseSessionsService.ts +30 -0
  34. package/src/services/CustomersService.ts +42 -0
  35. package/src/services/DotdigitalService.ts +39 -0
  36. package/src/services/IntegrationDotDigitalSettingsService.ts +708 -0
  37. package/src/services/IntegrationDotdigitalFieldMapService.ts +662 -0
  38. package/src/services/IntegrationDotdigitalLogService.ts +662 -0
  39. package/src/services/IntegrationQueueService.ts +739 -0
  40. package/src/services/PublicCalendarService.ts +6 -0
  41. package/src/services/PublicCustomersService.ts +12 -0
  42. package/src/services/PublicScheduledSessionsService.ts +12 -0
  43. package/src/services/PublicSessionsService.ts +6 -0
  44. package/src/services/PublicVenuesService.ts +48 -0
  45. package/src/services/ScheduledSessionsService.ts +30 -0
  46. package/src/services/VenuesService.ts +60 -0
package/dist/reach-sdk.js CHANGED
@@ -4404,6 +4404,7 @@ const request = (config, options, axiosClient = axios) => {
4404
4404
  ids,
4405
4405
  venueId,
4406
4406
  programmeId,
4407
+ providerId,
4407
4408
  courseId,
4408
4409
  courseIds,
4409
4410
  scheduleId,
@@ -4438,6 +4439,7 @@ const request = (config, options, axiosClient = axios) => {
4438
4439
  Ids: ids,
4439
4440
  VenueId: venueId,
4440
4441
  ProgrammeId: programmeId,
4442
+ ProviderId: providerId,
4441
4443
  CourseId: courseId,
4442
4444
  CourseIds: courseIds,
4443
4445
  ScheduleId: scheduleId,
@@ -4544,6 +4546,7 @@ const request = (config, options, axiosClient = axios) => {
4544
4546
  ids,
4545
4547
  venueId,
4546
4548
  programmeId,
4549
+ providerId,
4547
4550
  courseId,
4548
4551
  courseIds,
4549
4552
  scheduleId,
@@ -4578,6 +4581,7 @@ const request = (config, options, axiosClient = axios) => {
4578
4581
  Ids: ids,
4579
4582
  VenueId: venueId,
4580
4583
  ProgrammeId: programmeId,
4584
+ ProviderId: providerId,
4581
4585
  CourseId: courseId,
4582
4586
  CourseIds: courseIds,
4583
4587
  ScheduleId: scheduleId,
@@ -4621,6 +4625,7 @@ const request = (config, options, axiosClient = axios) => {
4621
4625
  ids,
4622
4626
  venueId,
4623
4627
  programmeId,
4628
+ providerId,
4624
4629
  courseId,
4625
4630
  courseIds,
4626
4631
  scheduleId,
@@ -4655,6 +4660,7 @@ const request = (config, options, axiosClient = axios) => {
4655
4660
  Ids: ids,
4656
4661
  VenueId: venueId,
4657
4662
  ProgrammeId: programmeId,
4663
+ ProviderId: providerId,
4658
4664
  CourseId: courseId,
4659
4665
  CourseIds: courseIds,
4660
4666
  ScheduleId: scheduleId,
@@ -4698,6 +4704,7 @@ const request = (config, options, axiosClient = axios) => {
4698
4704
  ids,
4699
4705
  venueId,
4700
4706
  programmeId,
4707
+ providerId,
4701
4708
  courseId,
4702
4709
  courseIds,
4703
4710
  scheduleId,
@@ -4732,6 +4739,7 @@ const request = (config, options, axiosClient = axios) => {
4732
4739
  Ids: ids,
4733
4740
  VenueId: venueId,
4734
4741
  ProgrammeId: programmeId,
4742
+ ProviderId: providerId,
4735
4743
  CourseId: courseId,
4736
4744
  CourseIds: courseIds,
4737
4745
  ScheduleId: scheduleId,
@@ -4775,6 +4783,7 @@ const request = (config, options, axiosClient = axios) => {
4775
4783
  ids,
4776
4784
  venueId,
4777
4785
  programmeId,
4786
+ providerId,
4778
4787
  courseId,
4779
4788
  courseIds,
4780
4789
  scheduleId,
@@ -4809,6 +4818,7 @@ const request = (config, options, axiosClient = axios) => {
4809
4818
  Ids: ids,
4810
4819
  VenueId: venueId,
4811
4820
  ProgrammeId: programmeId,
4821
+ ProviderId: providerId,
4812
4822
  CourseId: courseId,
4813
4823
  CourseIds: courseIds,
4814
4824
  ScheduleId: scheduleId,
@@ -5385,6 +5395,7 @@ const request = (config, options, axiosClient = axios) => {
5385
5395
  wildcard,
5386
5396
  displayEmail,
5387
5397
  venueId,
5398
+ providerId,
5388
5399
  programmeId,
5389
5400
  marketingOptIn,
5390
5401
  isActiveCustomer,
@@ -5409,6 +5420,7 @@ const request = (config, options, axiosClient = axios) => {
5409
5420
  Wildcard: wildcard,
5410
5421
  DisplayEmail: displayEmail,
5411
5422
  VenueId: venueId,
5423
+ ProviderId: providerId,
5412
5424
  ProgrammeId: programmeId,
5413
5425
  MarketingOptIn: marketingOptIn,
5414
5426
  IsActiveCustomer: isActiveCustomer,
@@ -5444,6 +5456,7 @@ const request = (config, options, axiosClient = axios) => {
5444
5456
  wildcard,
5445
5457
  displayEmail,
5446
5458
  venueId,
5459
+ providerId,
5447
5460
  programmeId,
5448
5461
  marketingOptIn,
5449
5462
  isActiveCustomer,
@@ -5468,6 +5481,7 @@ const request = (config, options, axiosClient = axios) => {
5468
5481
  Wildcard: wildcard,
5469
5482
  DisplayEmail: displayEmail,
5470
5483
  VenueId: venueId,
5484
+ ProviderId: providerId,
5471
5485
  ProgrammeId: programmeId,
5472
5486
  MarketingOptIn: marketingOptIn,
5473
5487
  IsActiveCustomer: isActiveCustomer,
@@ -5602,6 +5616,7 @@ const request = (config, options, axiosClient = axios) => {
5602
5616
  wildcard,
5603
5617
  displayEmail,
5604
5618
  venueId,
5619
+ providerId,
5605
5620
  programmeId,
5606
5621
  marketingOptIn,
5607
5622
  isActiveCustomer,
@@ -5625,6 +5640,7 @@ const request = (config, options, axiosClient = axios) => {
5625
5640
  Wildcard: wildcard,
5626
5641
  DisplayEmail: displayEmail,
5627
5642
  VenueId: venueId,
5643
+ ProviderId: providerId,
5628
5644
  ProgrammeId: programmeId,
5629
5645
  MarketingOptIn: marketingOptIn,
5630
5646
  IsActiveCustomer: isActiveCustomer,
@@ -5720,6 +5736,7 @@ const request = (config, options, axiosClient = axios) => {
5720
5736
  wildcard,
5721
5737
  displayEmail,
5722
5738
  venueId,
5739
+ providerId,
5723
5740
  programmeId,
5724
5741
  marketingOptIn,
5725
5742
  isActiveCustomer,
@@ -5743,6 +5760,7 @@ const request = (config, options, axiosClient = axios) => {
5743
5760
  Wildcard: wildcard,
5744
5761
  DisplayEmail: displayEmail,
5745
5762
  VenueId: venueId,
5763
+ ProviderId: providerId,
5746
5764
  ProgrammeId: programmeId,
5747
5765
  MarketingOptIn: marketingOptIn,
5748
5766
  IsActiveCustomer: isActiveCustomer,
@@ -5775,6 +5793,7 @@ const request = (config, options, axiosClient = axios) => {
5775
5793
  wildcard,
5776
5794
  displayEmail,
5777
5795
  venueId,
5796
+ providerId,
5778
5797
  programmeId,
5779
5798
  marketingOptIn,
5780
5799
  isActiveCustomer,
@@ -5798,6 +5817,7 @@ const request = (config, options, axiosClient = axios) => {
5798
5817
  Wildcard: wildcard,
5799
5818
  DisplayEmail: displayEmail,
5800
5819
  VenueId: venueId,
5820
+ ProviderId: providerId,
5801
5821
  ProgrammeId: programmeId,
5802
5822
  MarketingOptIn: marketingOptIn,
5803
5823
  IsActiveCustomer: isActiveCustomer,
@@ -5830,6 +5850,7 @@ const request = (config, options, axiosClient = axios) => {
5830
5850
  wildcard,
5831
5851
  displayEmail,
5832
5852
  venueId,
5853
+ providerId,
5833
5854
  programmeId,
5834
5855
  marketingOptIn,
5835
5856
  isActiveCustomer,
@@ -5853,6 +5874,7 @@ const request = (config, options, axiosClient = axios) => {
5853
5874
  Wildcard: wildcard,
5854
5875
  DisplayEmail: displayEmail,
5855
5876
  VenueId: venueId,
5877
+ ProviderId: providerId,
5856
5878
  ProgrammeId: programmeId,
5857
5879
  MarketingOptIn: marketingOptIn,
5858
5880
  IsActiveCustomer: isActiveCustomer,
@@ -5885,6 +5907,7 @@ const request = (config, options, axiosClient = axios) => {
5885
5907
  wildcard,
5886
5908
  displayEmail,
5887
5909
  venueId,
5910
+ providerId,
5888
5911
  programmeId,
5889
5912
  marketingOptIn,
5890
5913
  isActiveCustomer,
@@ -5908,6 +5931,7 @@ const request = (config, options, axiosClient = axios) => {
5908
5931
  Wildcard: wildcard,
5909
5932
  DisplayEmail: displayEmail,
5910
5933
  VenueId: venueId,
5934
+ ProviderId: providerId,
5911
5935
  ProgrammeId: programmeId,
5912
5936
  MarketingOptIn: marketingOptIn,
5913
5937
  IsActiveCustomer: isActiveCustomer,
@@ -7734,6 +7758,30 @@ const request = (config, options, axiosClient = axios) => {
7734
7758
  }
7735
7759
  });
7736
7760
  }
7761
+ }class DotdigitalService {
7762
+ constructor(httpRequest) {
7763
+ this.httpRequest = httpRequest;
7764
+ }
7765
+ /**
7766
+ * Returns a suggestion for an activity description based on given attributes.
7767
+ * @returns AddressBookItem OK
7768
+ * @throws ApiError
7769
+ */
7770
+ getAddressBooks({
7771
+ requestBody
7772
+ }) {
7773
+ return this.httpRequest.request({
7774
+ method: "POST",
7775
+ url: "/api/external/dotdigital/address-books",
7776
+ body: requestBody,
7777
+ mediaType: "application/json",
7778
+ errors: {
7779
+ 400: `Bad Request`,
7780
+ 422: `Unprocessable Content`,
7781
+ 500: `Internal Server Error`
7782
+ }
7783
+ });
7784
+ }
7737
7785
  }class EmailReminderSchedulesService {
7738
7786
  constructor(httpRequest) {
7739
7787
  this.httpRequest = httpRequest;
@@ -11555,61 +11603,13 @@ const request = (config, options, axiosClient = axios) => {
11555
11603
  }
11556
11604
  });
11557
11605
  }
11558
- }class LeasingService {
11606
+ }class IntegrationDotdigitalFieldMapService {
11559
11607
  constructor(httpRequest) {
11560
11608
  this.httpRequest = httpRequest;
11561
11609
  }
11562
- /**
11563
- * Refreshes a lease and updates any changes />.
11564
- * @returns Order OK
11565
- * @throws ApiError
11566
- */
11567
- refresh({
11568
- orderId,
11569
- requestBody
11570
- }) {
11571
- return this.httpRequest.request({
11572
- method: "PATCH",
11573
- url: "/api/leases/{orderId}/refresh/v2-temporary-route",
11574
- path: {
11575
- orderId
11576
- },
11577
- body: requestBody,
11578
- mediaType: "application/json",
11579
- errors: {
11580
- 400: `Bad Request`,
11581
- 422: `Unprocessable Content`,
11582
- 500: `Internal Server Error`
11583
- }
11584
- });
11585
- }
11586
- /**
11587
- * Converts a leased order into a booked order and creates stripes payment intent secret..
11588
- * @returns Order OK
11589
- * @throws ApiError
11590
- */
11591
- convertToOrder({
11592
- orderId,
11593
- requestBody
11594
- }) {
11595
- return this.httpRequest.request({
11596
- method: "PATCH",
11597
- url: "/api/leases/{orderId}/convert-to-order",
11598
- path: {
11599
- orderId
11600
- },
11601
- body: requestBody,
11602
- mediaType: "application/json",
11603
- errors: {
11604
- 400: `Bad Request`,
11605
- 422: `Unprocessable Content`,
11606
- 500: `Internal Server Error`
11607
- }
11608
- });
11609
- }
11610
11610
  /**
11611
11611
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
11612
- * @returns Order OK
11612
+ * @returns IntegrationDotdigitalFieldMap OK
11613
11613
  * @throws ApiError
11614
11614
  */
11615
11615
  post({
@@ -11617,7 +11617,7 @@ const request = (config, options, axiosClient = axios) => {
11617
11617
  }) {
11618
11618
  return this.httpRequest.request({
11619
11619
  method: "POST",
11620
- url: "/api/leases/v2-temporary-route",
11620
+ url: "/api/integration-dotdigital-field-map/v2-temporary-route",
11621
11621
  body: requestBody,
11622
11622
  mediaType: "application/json",
11623
11623
  errors: {
@@ -11629,7 +11629,7 @@ const request = (config, options, axiosClient = axios) => {
11629
11629
  }
11630
11630
  /**
11631
11631
  * Patches the resource.
11632
- * @returns Order OK
11632
+ * @returns IntegrationDotdigitalFieldMap OK
11633
11633
  * @throws ApiError
11634
11634
  */
11635
11635
  patch({
@@ -11637,7 +11637,7 @@ const request = (config, options, axiosClient = axios) => {
11637
11637
  }) {
11638
11638
  return this.httpRequest.request({
11639
11639
  method: "PATCH",
11640
- url: "/api/leases/v2-temporary-route",
11640
+ url: "/api/integration-dotdigital-field-map/v2-temporary-route",
11641
11641
  body: requestBody,
11642
11642
  mediaType: "application/json",
11643
11643
  errors: {
@@ -11649,7 +11649,7 @@ const request = (config, options, axiosClient = axios) => {
11649
11649
  }
11650
11650
  /**
11651
11651
  * Inserts a list of resources.
11652
- * @returns Order OK
11652
+ * @returns IntegrationDotdigitalFieldMap OK
11653
11653
  * @throws ApiError
11654
11654
  */
11655
11655
  postList({
@@ -11657,7 +11657,7 @@ const request = (config, options, axiosClient = axios) => {
11657
11657
  }) {
11658
11658
  return this.httpRequest.request({
11659
11659
  method: "POST",
11660
- url: "/api/leases/v2-temporary-route/list",
11660
+ url: "/api/integration-dotdigital-field-map/v2-temporary-route/list",
11661
11661
  body: requestBody,
11662
11662
  mediaType: "application/json",
11663
11663
  errors: {
@@ -11669,7 +11669,7 @@ const request = (config, options, axiosClient = axios) => {
11669
11669
  }
11670
11670
  /**
11671
11671
  * Patches the resource.
11672
- * @returns Order OK
11672
+ * @returns IntegrationDotdigitalFieldMap OK
11673
11673
  * @throws ApiError
11674
11674
  */
11675
11675
  patchWithReferences({
@@ -11677,7 +11677,7 @@ const request = (config, options, axiosClient = axios) => {
11677
11677
  }) {
11678
11678
  return this.httpRequest.request({
11679
11679
  method: "PATCH",
11680
- url: "/api/leases/v2-temporary-route/with-references",
11680
+ url: "/api/integration-dotdigital-field-map/v2-temporary-route/with-references",
11681
11681
  body: requestBody,
11682
11682
  mediaType: "application/json",
11683
11683
  errors: {
@@ -11697,7 +11697,7 @@ const request = (config, options, axiosClient = axios) => {
11697
11697
  }) {
11698
11698
  return this.httpRequest.request({
11699
11699
  method: "DELETE",
11700
- url: "/api/leases",
11700
+ url: "/api/integration-dotdigital-field-map",
11701
11701
  body: requestBody,
11702
11702
  mediaType: "application/json",
11703
11703
  errors: {
@@ -11709,28 +11709,10 @@ const request = (config, options, axiosClient = axios) => {
11709
11709
  }
11710
11710
  /**
11711
11711
  * Gets a list of resources.
11712
- * @returns OrderPage OK
11712
+ * @returns IntegrationDotdigitalFieldMapPage OK
11713
11713
  * @throws ApiError
11714
11714
  */
11715
11715
  getPage({
11716
- wildcard,
11717
- accessCode,
11718
- customerName,
11719
- email,
11720
- providerId,
11721
- venueId,
11722
- programmeId,
11723
- customerId,
11724
- orderIds,
11725
- sessionId,
11726
- facilityId,
11727
- courseId,
11728
- orderStage,
11729
- isBookedOrPendingPayment,
11730
- orderStages,
11731
- orderDateGte,
11732
- orderDateLte,
11733
- endUserIdentityId,
11734
11716
  pageNumber,
11735
11717
  take,
11736
11718
  skip,
@@ -11745,26 +11727,8 @@ const request = (config, options, axiosClient = axios) => {
11745
11727
  }) {
11746
11728
  return this.httpRequest.request({
11747
11729
  method: "GET",
11748
- url: "/api/leases",
11730
+ url: "/api/integration-dotdigital-field-map",
11749
11731
  query: {
11750
- Wildcard: wildcard,
11751
- AccessCode: accessCode,
11752
- CustomerName: customerName,
11753
- Email: email,
11754
- ProviderId: providerId,
11755
- VenueId: venueId,
11756
- ProgrammeId: programmeId,
11757
- CustomerId: customerId,
11758
- OrderIds: orderIds,
11759
- SessionId: sessionId,
11760
- FacilityId: facilityId,
11761
- CourseId: courseId,
11762
- OrderStage: orderStage,
11763
- IsBookedOrPendingPayment: isBookedOrPendingPayment,
11764
- OrderStages: orderStages,
11765
- OrderDateGTE: orderDateGte,
11766
- OrderDateLTE: orderDateLte,
11767
- EndUserIdentityId: endUserIdentityId,
11768
11732
  PageNumber: pageNumber,
11769
11733
  Take: take,
11770
11734
  Skip: skip,
@@ -11794,7 +11758,7 @@ const request = (config, options, axiosClient = axios) => {
11794
11758
  }) {
11795
11759
  return this.httpRequest.request({
11796
11760
  method: "DELETE",
11797
- url: "/api/leases/{id}",
11761
+ url: "/api/integration-dotdigital-field-map/{id}",
11798
11762
  path: {
11799
11763
  id
11800
11764
  },
@@ -11807,7 +11771,7 @@ const request = (config, options, axiosClient = axios) => {
11807
11771
  }
11808
11772
  /**
11809
11773
  * Gets the resource by its Id.
11810
- * @returns Order OK
11774
+ * @returns IntegrationDotdigitalFieldMap OK
11811
11775
  * @throws ApiError
11812
11776
  */
11813
11777
  getObject({
@@ -11815,7 +11779,7 @@ const request = (config, options, axiosClient = axios) => {
11815
11779
  }) {
11816
11780
  return this.httpRequest.request({
11817
11781
  method: "GET",
11818
- url: "/api/leases/{id}",
11782
+ url: "/api/integration-dotdigital-field-map/{id}",
11819
11783
  path: {
11820
11784
  id
11821
11785
  },
@@ -11836,7 +11800,7 @@ const request = (config, options, axiosClient = axios) => {
11836
11800
  }) {
11837
11801
  return this.httpRequest.request({
11838
11802
  method: "GET",
11839
- url: "/api/leases/{id}/deletable",
11803
+ url: "/api/integration-dotdigital-field-map/{id}/deletable",
11840
11804
  path: {
11841
11805
  id
11842
11806
  },
@@ -11853,24 +11817,6 @@ const request = (config, options, axiosClient = axios) => {
11853
11817
  * @throws ApiError
11854
11818
  */
11855
11819
  exists({
11856
- wildcard,
11857
- accessCode,
11858
- customerName,
11859
- email,
11860
- providerId,
11861
- venueId,
11862
- programmeId,
11863
- customerId,
11864
- orderIds,
11865
- sessionId,
11866
- facilityId,
11867
- courseId,
11868
- orderStage,
11869
- isBookedOrPendingPayment,
11870
- orderStages,
11871
- orderDateGte,
11872
- orderDateLte,
11873
- endUserIdentityId,
11874
11820
  pageNumber,
11875
11821
  take,
11876
11822
  skip,
@@ -11885,26 +11831,8 @@ const request = (config, options, axiosClient = axios) => {
11885
11831
  }) {
11886
11832
  return this.httpRequest.request({
11887
11833
  method: "GET",
11888
- url: "/api/leases/exists",
11834
+ url: "/api/integration-dotdigital-field-map/exists",
11889
11835
  query: {
11890
- Wildcard: wildcard,
11891
- AccessCode: accessCode,
11892
- CustomerName: customerName,
11893
- Email: email,
11894
- ProviderId: providerId,
11895
- VenueId: venueId,
11896
- ProgrammeId: programmeId,
11897
- CustomerId: customerId,
11898
- OrderIds: orderIds,
11899
- SessionId: sessionId,
11900
- FacilityId: facilityId,
11901
- CourseId: courseId,
11902
- OrderStage: orderStage,
11903
- IsBookedOrPendingPayment: isBookedOrPendingPayment,
11904
- OrderStages: orderStages,
11905
- OrderDateGTE: orderDateGte,
11906
- OrderDateLTE: orderDateLte,
11907
- EndUserIdentityId: endUserIdentityId,
11908
11836
  PageNumber: pageNumber,
11909
11837
  Take: take,
11910
11838
  Skip: skip,
@@ -11930,24 +11858,6 @@ const request = (config, options, axiosClient = axios) => {
11930
11858
  * @throws ApiError
11931
11859
  */
11932
11860
  count({
11933
- wildcard,
11934
- accessCode,
11935
- customerName,
11936
- email,
11937
- providerId,
11938
- venueId,
11939
- programmeId,
11940
- customerId,
11941
- orderIds,
11942
- sessionId,
11943
- facilityId,
11944
- courseId,
11945
- orderStage,
11946
- isBookedOrPendingPayment,
11947
- orderStages,
11948
- orderDateGte,
11949
- orderDateLte,
11950
- endUserIdentityId,
11951
11861
  pageNumber,
11952
11862
  take,
11953
11863
  skip,
@@ -11962,26 +11872,8 @@ const request = (config, options, axiosClient = axios) => {
11962
11872
  }) {
11963
11873
  return this.httpRequest.request({
11964
11874
  method: "GET",
11965
- url: "/api/leases/count",
11875
+ url: "/api/integration-dotdigital-field-map/count",
11966
11876
  query: {
11967
- Wildcard: wildcard,
11968
- AccessCode: accessCode,
11969
- CustomerName: customerName,
11970
- Email: email,
11971
- ProviderId: providerId,
11972
- VenueId: venueId,
11973
- ProgrammeId: programmeId,
11974
- CustomerId: customerId,
11975
- OrderIds: orderIds,
11976
- SessionId: sessionId,
11977
- FacilityId: facilityId,
11978
- CourseId: courseId,
11979
- OrderStage: orderStage,
11980
- IsBookedOrPendingPayment: isBookedOrPendingPayment,
11981
- OrderStages: orderStages,
11982
- OrderDateGTE: orderDateGte,
11983
- OrderDateLTE: orderDateLte,
11984
- EndUserIdentityId: endUserIdentityId,
11985
11877
  PageNumber: pageNumber,
11986
11878
  Take: take,
11987
11879
  Skip: skip,
@@ -12003,28 +11895,10 @@ const request = (config, options, axiosClient = axios) => {
12003
11895
  }
12004
11896
  /**
12005
11897
  * Gets a list of resources unpaged and without references.
12006
- * @returns Order OK
11898
+ * @returns IntegrationDotdigitalFieldMap OK
12007
11899
  * @throws ApiError
12008
11900
  */
12009
11901
  getListWithoutReferences({
12010
- wildcard,
12011
- accessCode,
12012
- customerName,
12013
- email,
12014
- providerId,
12015
- venueId,
12016
- programmeId,
12017
- customerId,
12018
- orderIds,
12019
- sessionId,
12020
- facilityId,
12021
- courseId,
12022
- orderStage,
12023
- isBookedOrPendingPayment,
12024
- orderStages,
12025
- orderDateGte,
12026
- orderDateLte,
12027
- endUserIdentityId,
12028
11902
  pageNumber,
12029
11903
  take,
12030
11904
  skip,
@@ -12039,26 +11913,8 @@ const request = (config, options, axiosClient = axios) => {
12039
11913
  }) {
12040
11914
  return this.httpRequest.request({
12041
11915
  method: "GET",
12042
- url: "/api/leases/without-references",
11916
+ url: "/api/integration-dotdigital-field-map/without-references",
12043
11917
  query: {
12044
- Wildcard: wildcard,
12045
- AccessCode: accessCode,
12046
- CustomerName: customerName,
12047
- Email: email,
12048
- ProviderId: providerId,
12049
- VenueId: venueId,
12050
- ProgrammeId: programmeId,
12051
- CustomerId: customerId,
12052
- OrderIds: orderIds,
12053
- SessionId: sessionId,
12054
- FacilityId: facilityId,
12055
- CourseId: courseId,
12056
- OrderStage: orderStage,
12057
- IsBookedOrPendingPayment: isBookedOrPendingPayment,
12058
- OrderStages: orderStages,
12059
- OrderDateGTE: orderDateGte,
12060
- OrderDateLTE: orderDateLte,
12061
- EndUserIdentityId: endUserIdentityId,
12062
11918
  PageNumber: pageNumber,
12063
11919
  Take: take,
12064
11920
  Skip: skip,
@@ -12080,28 +11936,10 @@ const request = (config, options, axiosClient = axios) => {
12080
11936
  }
12081
11937
  /**
12082
11938
  * Gets a list of resources.
12083
- * @returns Order OK
11939
+ * @returns IntegrationDotdigitalFieldMap OK
12084
11940
  * @throws ApiError
12085
11941
  */
12086
11942
  getListIdName({
12087
- wildcard,
12088
- accessCode,
12089
- customerName,
12090
- email,
12091
- providerId,
12092
- venueId,
12093
- programmeId,
12094
- customerId,
12095
- orderIds,
12096
- sessionId,
12097
- facilityId,
12098
- courseId,
12099
- orderStage,
12100
- isBookedOrPendingPayment,
12101
- orderStages,
12102
- orderDateGte,
12103
- orderDateLte,
12104
- endUserIdentityId,
12105
11943
  pageNumber,
12106
11944
  take,
12107
11945
  skip,
@@ -12116,26 +11954,8 @@ const request = (config, options, axiosClient = axios) => {
12116
11954
  }) {
12117
11955
  return this.httpRequest.request({
12118
11956
  method: "GET",
12119
- url: "/api/leases/id-name",
11957
+ url: "/api/integration-dotdigital-field-map/id-name",
12120
11958
  query: {
12121
- Wildcard: wildcard,
12122
- AccessCode: accessCode,
12123
- CustomerName: customerName,
12124
- Email: email,
12125
- ProviderId: providerId,
12126
- VenueId: venueId,
12127
- ProgrammeId: programmeId,
12128
- CustomerId: customerId,
12129
- OrderIds: orderIds,
12130
- SessionId: sessionId,
12131
- FacilityId: facilityId,
12132
- CourseId: courseId,
12133
- OrderStage: orderStage,
12134
- IsBookedOrPendingPayment: isBookedOrPendingPayment,
12135
- OrderStages: orderStages,
12136
- OrderDateGTE: orderDateGte,
12137
- OrderDateLTE: orderDateLte,
12138
- EndUserIdentityId: endUserIdentityId,
12139
11959
  PageNumber: pageNumber,
12140
11960
  Take: take,
12141
11961
  Skip: skip,
@@ -12155,111 +11975,13 @@ const request = (config, options, axiosClient = axios) => {
12155
11975
  }
12156
11976
  });
12157
11977
  }
12158
- }class LocationsReportService {
11978
+ }class IntegrationDotdigitalLogService {
12159
11979
  constructor(httpRequest) {
12160
11980
  this.httpRequest = httpRequest;
12161
11981
  }
12162
- /**
12163
- * Exports the performance list to a csv format.
12164
- * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
12165
- * @returns any OK
12166
- * @throws ApiError
12167
- */
12168
- exportToCsv({
12169
- userId,
12170
- archived,
12171
- programmeId,
12172
- pageNumber,
12173
- take,
12174
- skip,
12175
- limitListRequests,
12176
- tenantId,
12177
- modifiedById,
12178
- modifiedByIds,
12179
- dateCreatedGte,
12180
- dateCreatedLte,
12181
- isLive,
12182
- sortOrderDirection,
12183
- formData
12184
- }) {
12185
- return this.httpRequest.request({
12186
- method: "POST",
12187
- url: "/api/locations-report/export/csv",
12188
- query: {
12189
- UserId: userId,
12190
- Archived: archived,
12191
- ProgrammeId: programmeId,
12192
- PageNumber: pageNumber,
12193
- Take: take,
12194
- Skip: skip,
12195
- LimitListRequests: limitListRequests,
12196
- TenantId: tenantId,
12197
- ModifiedById: modifiedById,
12198
- ModifiedByIds: modifiedByIds,
12199
- DateCreatedGTE: dateCreatedGte,
12200
- DateCreatedLTE: dateCreatedLte,
12201
- IsLive: isLive,
12202
- SortOrderDirection: sortOrderDirection
12203
- },
12204
- formData,
12205
- mediaType: "multipart/form-data",
12206
- errors: {
12207
- 400: `Bad Request`,
12208
- 422: `Unprocessable Content`,
12209
- 500: `Internal Server Error`
12210
- }
12211
- });
12212
- }
12213
- /**
12214
- * Get summary for locations.
12215
- * @returns LocationReportSummary OK
12216
- * @throws ApiError
12217
- */
12218
- getSummary({
12219
- userId,
12220
- archived,
12221
- programmeId,
12222
- pageNumber,
12223
- take,
12224
- skip,
12225
- limitListRequests,
12226
- tenantId,
12227
- modifiedById,
12228
- modifiedByIds,
12229
- dateCreatedGte,
12230
- dateCreatedLte,
12231
- isLive,
12232
- sortOrderDirection
12233
- }) {
12234
- return this.httpRequest.request({
12235
- method: "GET",
12236
- url: "/api/locations-report/summary",
12237
- query: {
12238
- UserId: userId,
12239
- Archived: archived,
12240
- ProgrammeId: programmeId,
12241
- PageNumber: pageNumber,
12242
- Take: take,
12243
- Skip: skip,
12244
- LimitListRequests: limitListRequests,
12245
- TenantId: tenantId,
12246
- ModifiedById: modifiedById,
12247
- ModifiedByIds: modifiedByIds,
12248
- DateCreatedGTE: dateCreatedGte,
12249
- DateCreatedLTE: dateCreatedLte,
12250
- IsLive: isLive,
12251
- SortOrderDirection: sortOrderDirection
12252
- },
12253
- errors: {
12254
- 400: `Bad Request`,
12255
- 422: `Unprocessable Content`,
12256
- 500: `Internal Server Error`
12257
- }
12258
- });
12259
- }
12260
11982
  /**
12261
11983
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
12262
- * @returns LocationReport OK
11984
+ * @returns IntegrationDotdigitalLog OK
12263
11985
  * @throws ApiError
12264
11986
  */
12265
11987
  post({
@@ -12267,7 +11989,7 @@ const request = (config, options, axiosClient = axios) => {
12267
11989
  }) {
12268
11990
  return this.httpRequest.request({
12269
11991
  method: "POST",
12270
- url: "/api/locations-report/v2-temporary-route",
11992
+ url: "/api/integration-dotdigital-log/v2-temporary-route",
12271
11993
  body: requestBody,
12272
11994
  mediaType: "application/json",
12273
11995
  errors: {
@@ -12279,7 +12001,7 @@ const request = (config, options, axiosClient = axios) => {
12279
12001
  }
12280
12002
  /**
12281
12003
  * Patches the resource.
12282
- * @returns LocationReport OK
12004
+ * @returns IntegrationDotdigitalLog OK
12283
12005
  * @throws ApiError
12284
12006
  */
12285
12007
  patch({
@@ -12287,7 +12009,7 @@ const request = (config, options, axiosClient = axios) => {
12287
12009
  }) {
12288
12010
  return this.httpRequest.request({
12289
12011
  method: "PATCH",
12290
- url: "/api/locations-report/v2-temporary-route",
12012
+ url: "/api/integration-dotdigital-log/v2-temporary-route",
12291
12013
  body: requestBody,
12292
12014
  mediaType: "application/json",
12293
12015
  errors: {
@@ -12299,7 +12021,7 @@ const request = (config, options, axiosClient = axios) => {
12299
12021
  }
12300
12022
  /**
12301
12023
  * Inserts a list of resources.
12302
- * @returns LocationReport OK
12024
+ * @returns IntegrationDotdigitalLog OK
12303
12025
  * @throws ApiError
12304
12026
  */
12305
12027
  postList({
@@ -12307,7 +12029,7 @@ const request = (config, options, axiosClient = axios) => {
12307
12029
  }) {
12308
12030
  return this.httpRequest.request({
12309
12031
  method: "POST",
12310
- url: "/api/locations-report/v2-temporary-route/list",
12032
+ url: "/api/integration-dotdigital-log/v2-temporary-route/list",
12311
12033
  body: requestBody,
12312
12034
  mediaType: "application/json",
12313
12035
  errors: {
@@ -12319,7 +12041,7 @@ const request = (config, options, axiosClient = axios) => {
12319
12041
  }
12320
12042
  /**
12321
12043
  * Patches the resource.
12322
- * @returns LocationReport OK
12044
+ * @returns IntegrationDotdigitalLog OK
12323
12045
  * @throws ApiError
12324
12046
  */
12325
12047
  patchWithReferences({
@@ -12327,7 +12049,7 @@ const request = (config, options, axiosClient = axios) => {
12327
12049
  }) {
12328
12050
  return this.httpRequest.request({
12329
12051
  method: "PATCH",
12330
- url: "/api/locations-report/v2-temporary-route/with-references",
12052
+ url: "/api/integration-dotdigital-log/v2-temporary-route/with-references",
12331
12053
  body: requestBody,
12332
12054
  mediaType: "application/json",
12333
12055
  errors: {
@@ -12347,7 +12069,7 @@ const request = (config, options, axiosClient = axios) => {
12347
12069
  }) {
12348
12070
  return this.httpRequest.request({
12349
12071
  method: "DELETE",
12350
- url: "/api/locations-report",
12072
+ url: "/api/integration-dotdigital-log",
12351
12073
  body: requestBody,
12352
12074
  mediaType: "application/json",
12353
12075
  errors: {
@@ -12359,13 +12081,10 @@ const request = (config, options, axiosClient = axios) => {
12359
12081
  }
12360
12082
  /**
12361
12083
  * Gets a list of resources.
12362
- * @returns LocationReportPage OK
12084
+ * @returns IntegrationDotdigitalLogPage OK
12363
12085
  * @throws ApiError
12364
12086
  */
12365
12087
  getPage({
12366
- userId,
12367
- archived,
12368
- programmeId,
12369
12088
  pageNumber,
12370
12089
  take,
12371
12090
  skip,
@@ -12380,11 +12099,8 @@ const request = (config, options, axiosClient = axios) => {
12380
12099
  }) {
12381
12100
  return this.httpRequest.request({
12382
12101
  method: "GET",
12383
- url: "/api/locations-report",
12102
+ url: "/api/integration-dotdigital-log",
12384
12103
  query: {
12385
- UserId: userId,
12386
- Archived: archived,
12387
- ProgrammeId: programmeId,
12388
12104
  PageNumber: pageNumber,
12389
12105
  Take: take,
12390
12106
  Skip: skip,
@@ -12414,7 +12130,7 @@ const request = (config, options, axiosClient = axios) => {
12414
12130
  }) {
12415
12131
  return this.httpRequest.request({
12416
12132
  method: "DELETE",
12417
- url: "/api/locations-report/{id}",
12133
+ url: "/api/integration-dotdigital-log/{id}",
12418
12134
  path: {
12419
12135
  id
12420
12136
  },
@@ -12427,7 +12143,7 @@ const request = (config, options, axiosClient = axios) => {
12427
12143
  }
12428
12144
  /**
12429
12145
  * Gets the resource by its Id.
12430
- * @returns LocationReport OK
12146
+ * @returns IntegrationDotdigitalLog OK
12431
12147
  * @throws ApiError
12432
12148
  */
12433
12149
  getObject({
@@ -12435,7 +12151,7 @@ const request = (config, options, axiosClient = axios) => {
12435
12151
  }) {
12436
12152
  return this.httpRequest.request({
12437
12153
  method: "GET",
12438
- url: "/api/locations-report/{id}",
12154
+ url: "/api/integration-dotdigital-log/{id}",
12439
12155
  path: {
12440
12156
  id
12441
12157
  },
@@ -12456,7 +12172,7 @@ const request = (config, options, axiosClient = axios) => {
12456
12172
  }) {
12457
12173
  return this.httpRequest.request({
12458
12174
  method: "GET",
12459
- url: "/api/locations-report/{id}/deletable",
12175
+ url: "/api/integration-dotdigital-log/{id}/deletable",
12460
12176
  path: {
12461
12177
  id
12462
12178
  },
@@ -12473,9 +12189,6 @@ const request = (config, options, axiosClient = axios) => {
12473
12189
  * @throws ApiError
12474
12190
  */
12475
12191
  exists({
12476
- userId,
12477
- archived,
12478
- programmeId,
12479
12192
  pageNumber,
12480
12193
  take,
12481
12194
  skip,
@@ -12490,11 +12203,8 @@ const request = (config, options, axiosClient = axios) => {
12490
12203
  }) {
12491
12204
  return this.httpRequest.request({
12492
12205
  method: "GET",
12493
- url: "/api/locations-report/exists",
12206
+ url: "/api/integration-dotdigital-log/exists",
12494
12207
  query: {
12495
- UserId: userId,
12496
- Archived: archived,
12497
- ProgrammeId: programmeId,
12498
12208
  PageNumber: pageNumber,
12499
12209
  Take: take,
12500
12210
  Skip: skip,
@@ -12520,9 +12230,6 @@ const request = (config, options, axiosClient = axios) => {
12520
12230
  * @throws ApiError
12521
12231
  */
12522
12232
  count({
12523
- userId,
12524
- archived,
12525
- programmeId,
12526
12233
  pageNumber,
12527
12234
  take,
12528
12235
  skip,
@@ -12537,11 +12244,8 @@ const request = (config, options, axiosClient = axios) => {
12537
12244
  }) {
12538
12245
  return this.httpRequest.request({
12539
12246
  method: "GET",
12540
- url: "/api/locations-report/count",
12247
+ url: "/api/integration-dotdigital-log/count",
12541
12248
  query: {
12542
- UserId: userId,
12543
- Archived: archived,
12544
- ProgrammeId: programmeId,
12545
12249
  PageNumber: pageNumber,
12546
12250
  Take: take,
12547
12251
  Skip: skip,
@@ -12563,13 +12267,10 @@ const request = (config, options, axiosClient = axios) => {
12563
12267
  }
12564
12268
  /**
12565
12269
  * Gets a list of resources unpaged and without references.
12566
- * @returns LocationReport OK
12270
+ * @returns IntegrationDotdigitalLog OK
12567
12271
  * @throws ApiError
12568
12272
  */
12569
12273
  getListWithoutReferences({
12570
- userId,
12571
- archived,
12572
- programmeId,
12573
12274
  pageNumber,
12574
12275
  take,
12575
12276
  skip,
@@ -12584,11 +12285,8 @@ const request = (config, options, axiosClient = axios) => {
12584
12285
  }) {
12585
12286
  return this.httpRequest.request({
12586
12287
  method: "GET",
12587
- url: "/api/locations-report/without-references",
12288
+ url: "/api/integration-dotdigital-log/without-references",
12588
12289
  query: {
12589
- UserId: userId,
12590
- Archived: archived,
12591
- ProgrammeId: programmeId,
12592
12290
  PageNumber: pageNumber,
12593
12291
  Take: take,
12594
12292
  Skip: skip,
@@ -12610,13 +12308,10 @@ const request = (config, options, axiosClient = axios) => {
12610
12308
  }
12611
12309
  /**
12612
12310
  * Gets a list of resources.
12613
- * @returns LocationReport OK
12311
+ * @returns IntegrationDotdigitalLog OK
12614
12312
  * @throws ApiError
12615
12313
  */
12616
12314
  getListIdName({
12617
- userId,
12618
- archived,
12619
- programmeId,
12620
12315
  pageNumber,
12621
12316
  take,
12622
12317
  skip,
@@ -12631,11 +12326,8 @@ const request = (config, options, axiosClient = axios) => {
12631
12326
  }) {
12632
12327
  return this.httpRequest.request({
12633
12328
  method: "GET",
12634
- url: "/api/locations-report/id-name",
12329
+ url: "/api/integration-dotdigital-log/id-name",
12635
12330
  query: {
12636
- UserId: userId,
12637
- Archived: archived,
12638
- ProgrammeId: programmeId,
12639
12331
  PageNumber: pageNumber,
12640
12332
  Take: take,
12641
12333
  Skip: skip,
@@ -12655,49 +12347,24 @@ const request = (config, options, axiosClient = axios) => {
12655
12347
  }
12656
12348
  });
12657
12349
  }
12658
- }class LoqatePlacesService {
12350
+ }class IntegrationDotDigitalSettingsService {
12659
12351
  constructor(httpRequest) {
12660
12352
  this.httpRequest = httpRequest;
12661
12353
  }
12662
12354
  /**
12663
- * GetPrediction.
12664
- * @returns LoqatePrediction OK
12665
- * @throws ApiError
12666
- */
12667
- getPrediction({
12668
- searchText,
12669
- countryCode,
12670
- container
12671
- }) {
12672
- return this.httpRequest.request({
12673
- method: "GET",
12674
- url: "/api/external/loqate/places/autocomplete",
12675
- query: {
12676
- searchText,
12677
- countryCode,
12678
- container
12679
- },
12680
- errors: {
12681
- 400: `Bad Request`,
12682
- 422: `Unprocessable Content`,
12683
- 500: `Internal Server Error`
12684
- }
12685
- });
12686
- }
12687
- /**
12688
- * GetPlace.
12689
- * @returns LoqatePlaceResult OK
12355
+ * Creates or updates Dotdigital integration settings for the tenant.
12356
+ * If settings do not exist, creates them; otherwise updates the existing settings.
12357
+ * @returns IntegrationDotdigitalSettings OK
12690
12358
  * @throws ApiError
12691
12359
  */
12692
- getPlace({
12693
- placeId
12360
+ upsert({
12361
+ requestBody
12694
12362
  }) {
12695
12363
  return this.httpRequest.request({
12696
- method: "GET",
12697
- url: "/api/external/loqate/places/detail",
12698
- query: {
12699
- placeId
12700
- },
12364
+ method: "POST",
12365
+ url: "/api/integration-dotdigital/upsert",
12366
+ body: requestBody,
12367
+ mediaType: "application/json",
12701
12368
  errors: {
12702
12369
  400: `Bad Request`,
12703
12370
  422: `Unprocessable Content`,
@@ -12705,19 +12372,15 @@ const request = (config, options, axiosClient = axios) => {
12705
12372
  }
12706
12373
  });
12707
12374
  }
12708
- }class NotificationQueueService {
12709
- constructor(httpRequest) {
12710
- this.httpRequest = httpRequest;
12711
- }
12712
12375
  /**
12713
- * Processes the OA intermediates table.
12714
- * @returns number OK
12376
+ * Gets the tenant's address books from Dotdigital using stored settings.
12377
+ * @returns AddressBookItem OK
12715
12378
  * @throws ApiError
12716
12379
  */
12717
- process() {
12380
+ getAddressBooks() {
12718
12381
  return this.httpRequest.request({
12719
12382
  method: "GET",
12720
- url: "/api/notification-queue/process",
12383
+ url: "/api/integration-dotdigital/address-books",
12721
12384
  errors: {
12722
12385
  400: `Bad Request`,
12723
12386
  422: `Unprocessable Content`,
@@ -12727,7 +12390,7 @@ const request = (config, options, axiosClient = axios) => {
12727
12390
  }
12728
12391
  /**
12729
12392
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
12730
- * @returns NotificationQueue OK
12393
+ * @returns IntegrationDotdigitalSettings OK
12731
12394
  * @throws ApiError
12732
12395
  */
12733
12396
  post({
@@ -12735,7 +12398,7 @@ const request = (config, options, axiosClient = axios) => {
12735
12398
  }) {
12736
12399
  return this.httpRequest.request({
12737
12400
  method: "POST",
12738
- url: "/api/notification-queue/v2-temporary-route",
12401
+ url: "/api/integration-dotdigital/v2-temporary-route",
12739
12402
  body: requestBody,
12740
12403
  mediaType: "application/json",
12741
12404
  errors: {
@@ -12747,7 +12410,7 @@ const request = (config, options, axiosClient = axios) => {
12747
12410
  }
12748
12411
  /**
12749
12412
  * Patches the resource.
12750
- * @returns NotificationQueue OK
12413
+ * @returns IntegrationDotdigitalSettings OK
12751
12414
  * @throws ApiError
12752
12415
  */
12753
12416
  patch({
@@ -12755,7 +12418,7 @@ const request = (config, options, axiosClient = axios) => {
12755
12418
  }) {
12756
12419
  return this.httpRequest.request({
12757
12420
  method: "PATCH",
12758
- url: "/api/notification-queue/v2-temporary-route",
12421
+ url: "/api/integration-dotdigital/v2-temporary-route",
12759
12422
  body: requestBody,
12760
12423
  mediaType: "application/json",
12761
12424
  errors: {
@@ -12767,7 +12430,7 @@ const request = (config, options, axiosClient = axios) => {
12767
12430
  }
12768
12431
  /**
12769
12432
  * Inserts a list of resources.
12770
- * @returns NotificationQueue OK
12433
+ * @returns IntegrationDotdigitalSettings OK
12771
12434
  * @throws ApiError
12772
12435
  */
12773
12436
  postList({
@@ -12775,7 +12438,7 @@ const request = (config, options, axiosClient = axios) => {
12775
12438
  }) {
12776
12439
  return this.httpRequest.request({
12777
12440
  method: "POST",
12778
- url: "/api/notification-queue/v2-temporary-route/list",
12441
+ url: "/api/integration-dotdigital/v2-temporary-route/list",
12779
12442
  body: requestBody,
12780
12443
  mediaType: "application/json",
12781
12444
  errors: {
@@ -12787,7 +12450,7 @@ const request = (config, options, axiosClient = axios) => {
12787
12450
  }
12788
12451
  /**
12789
12452
  * Patches the resource.
12790
- * @returns NotificationQueue OK
12453
+ * @returns IntegrationDotdigitalSettings OK
12791
12454
  * @throws ApiError
12792
12455
  */
12793
12456
  patchWithReferences({
@@ -12795,7 +12458,7 @@ const request = (config, options, axiosClient = axios) => {
12795
12458
  }) {
12796
12459
  return this.httpRequest.request({
12797
12460
  method: "PATCH",
12798
- url: "/api/notification-queue/v2-temporary-route/with-references",
12461
+ url: "/api/integration-dotdigital/v2-temporary-route/with-references",
12799
12462
  body: requestBody,
12800
12463
  mediaType: "application/json",
12801
12464
  errors: {
@@ -12815,7 +12478,7 @@ const request = (config, options, axiosClient = axios) => {
12815
12478
  }) {
12816
12479
  return this.httpRequest.request({
12817
12480
  method: "DELETE",
12818
- url: "/api/notification-queue",
12481
+ url: "/api/integration-dotdigital",
12819
12482
  body: requestBody,
12820
12483
  mediaType: "application/json",
12821
12484
  errors: {
@@ -12827,12 +12490,10 @@ const request = (config, options, axiosClient = axios) => {
12827
12490
  }
12828
12491
  /**
12829
12492
  * Gets a list of resources.
12830
- * @returns NotificationQueuePage OK
12493
+ * @returns IntegrationDotdigitalSettingsPage OK
12831
12494
  * @throws ApiError
12832
12495
  */
12833
12496
  getPage({
12834
- processed,
12835
- errored,
12836
12497
  pageNumber,
12837
12498
  take,
12838
12499
  skip,
@@ -12847,10 +12508,8 @@ const request = (config, options, axiosClient = axios) => {
12847
12508
  }) {
12848
12509
  return this.httpRequest.request({
12849
12510
  method: "GET",
12850
- url: "/api/notification-queue",
12511
+ url: "/api/integration-dotdigital",
12851
12512
  query: {
12852
- Processed: processed,
12853
- Errored: errored,
12854
12513
  PageNumber: pageNumber,
12855
12514
  Take: take,
12856
12515
  Skip: skip,
@@ -12880,7 +12539,7 @@ const request = (config, options, axiosClient = axios) => {
12880
12539
  }) {
12881
12540
  return this.httpRequest.request({
12882
12541
  method: "DELETE",
12883
- url: "/api/notification-queue/{id}",
12542
+ url: "/api/integration-dotdigital/{id}",
12884
12543
  path: {
12885
12544
  id
12886
12545
  },
@@ -12893,7 +12552,7 @@ const request = (config, options, axiosClient = axios) => {
12893
12552
  }
12894
12553
  /**
12895
12554
  * Gets the resource by its Id.
12896
- * @returns NotificationQueue OK
12555
+ * @returns IntegrationDotdigitalSettings OK
12897
12556
  * @throws ApiError
12898
12557
  */
12899
12558
  getObject({
@@ -12901,7 +12560,7 @@ const request = (config, options, axiosClient = axios) => {
12901
12560
  }) {
12902
12561
  return this.httpRequest.request({
12903
12562
  method: "GET",
12904
- url: "/api/notification-queue/{id}",
12563
+ url: "/api/integration-dotdigital/{id}",
12905
12564
  path: {
12906
12565
  id
12907
12566
  },
@@ -12922,7 +12581,7 @@ const request = (config, options, axiosClient = axios) => {
12922
12581
  }) {
12923
12582
  return this.httpRequest.request({
12924
12583
  method: "GET",
12925
- url: "/api/notification-queue/{id}/deletable",
12584
+ url: "/api/integration-dotdigital/{id}/deletable",
12926
12585
  path: {
12927
12586
  id
12928
12587
  },
@@ -12939,8 +12598,6 @@ const request = (config, options, axiosClient = axios) => {
12939
12598
  * @throws ApiError
12940
12599
  */
12941
12600
  exists({
12942
- processed,
12943
- errored,
12944
12601
  pageNumber,
12945
12602
  take,
12946
12603
  skip,
@@ -12955,10 +12612,8 @@ const request = (config, options, axiosClient = axios) => {
12955
12612
  }) {
12956
12613
  return this.httpRequest.request({
12957
12614
  method: "GET",
12958
- url: "/api/notification-queue/exists",
12615
+ url: "/api/integration-dotdigital/exists",
12959
12616
  query: {
12960
- Processed: processed,
12961
- Errored: errored,
12962
12617
  PageNumber: pageNumber,
12963
12618
  Take: take,
12964
12619
  Skip: skip,
@@ -12984,8 +12639,6 @@ const request = (config, options, axiosClient = axios) => {
12984
12639
  * @throws ApiError
12985
12640
  */
12986
12641
  count({
12987
- processed,
12988
- errored,
12989
12642
  pageNumber,
12990
12643
  take,
12991
12644
  skip,
@@ -13000,10 +12653,8 @@ const request = (config, options, axiosClient = axios) => {
13000
12653
  }) {
13001
12654
  return this.httpRequest.request({
13002
12655
  method: "GET",
13003
- url: "/api/notification-queue/count",
12656
+ url: "/api/integration-dotdigital/count",
13004
12657
  query: {
13005
- Processed: processed,
13006
- Errored: errored,
13007
12658
  PageNumber: pageNumber,
13008
12659
  Take: take,
13009
12660
  Skip: skip,
@@ -13025,12 +12676,10 @@ const request = (config, options, axiosClient = axios) => {
13025
12676
  }
13026
12677
  /**
13027
12678
  * Gets a list of resources unpaged and without references.
13028
- * @returns NotificationQueue OK
12679
+ * @returns IntegrationDotdigitalSettings OK
13029
12680
  * @throws ApiError
13030
12681
  */
13031
12682
  getListWithoutReferences({
13032
- processed,
13033
- errored,
13034
12683
  pageNumber,
13035
12684
  take,
13036
12685
  skip,
@@ -13045,10 +12694,8 @@ const request = (config, options, axiosClient = axios) => {
13045
12694
  }) {
13046
12695
  return this.httpRequest.request({
13047
12696
  method: "GET",
13048
- url: "/api/notification-queue/without-references",
12697
+ url: "/api/integration-dotdigital/without-references",
13049
12698
  query: {
13050
- Processed: processed,
13051
- Errored: errored,
13052
12699
  PageNumber: pageNumber,
13053
12700
  Take: take,
13054
12701
  Skip: skip,
@@ -13070,12 +12717,10 @@ const request = (config, options, axiosClient = axios) => {
13070
12717
  }
13071
12718
  /**
13072
12719
  * Gets a list of resources.
13073
- * @returns NotificationQueue OK
12720
+ * @returns IntegrationDotdigitalSettings OK
13074
12721
  * @throws ApiError
13075
12722
  */
13076
12723
  getListIdName({
13077
- processed,
13078
- errored,
13079
12724
  pageNumber,
13080
12725
  take,
13081
12726
  skip,
@@ -13090,10 +12735,8 @@ const request = (config, options, axiosClient = axios) => {
13090
12735
  }) {
13091
12736
  return this.httpRequest.request({
13092
12737
  method: "GET",
13093
- url: "/api/notification-queue/id-name",
12738
+ url: "/api/integration-dotdigital/id-name",
13094
12739
  query: {
13095
- Processed: processed,
13096
- Errored: errored,
13097
12740
  PageNumber: pageNumber,
13098
12741
  Take: take,
13099
12742
  Skip: skip,
@@ -13113,13 +12756,29 @@ const request = (config, options, axiosClient = axios) => {
13113
12756
  }
13114
12757
  });
13115
12758
  }
13116
- }class NotificationSettingsService {
12759
+ }class IntegrationQueueService {
13117
12760
  constructor(httpRequest) {
13118
12761
  this.httpRequest = httpRequest;
13119
12762
  }
12763
+ /**
12764
+ * Processes the OA intermediates table.
12765
+ * @returns number OK
12766
+ * @throws ApiError
12767
+ */
12768
+ process() {
12769
+ return this.httpRequest.request({
12770
+ method: "GET",
12771
+ url: "/api/integration-queue/process",
12772
+ errors: {
12773
+ 400: `Bad Request`,
12774
+ 422: `Unprocessable Content`,
12775
+ 500: `Internal Server Error`
12776
+ }
12777
+ });
12778
+ }
13120
12779
  /**
13121
12780
  * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
13122
- * @returns NotificationSetting OK
12781
+ * @returns IntegrationQueue OK
13123
12782
  * @throws ApiError
13124
12783
  */
13125
12784
  post({
@@ -13127,7 +12786,7 @@ const request = (config, options, axiosClient = axios) => {
13127
12786
  }) {
13128
12787
  return this.httpRequest.request({
13129
12788
  method: "POST",
13130
- url: "/api/notification-settings/v2-temporary-route",
12789
+ url: "/api/integration-queue/v2-temporary-route",
13131
12790
  body: requestBody,
13132
12791
  mediaType: "application/json",
13133
12792
  errors: {
@@ -13139,7 +12798,7 @@ const request = (config, options, axiosClient = axios) => {
13139
12798
  }
13140
12799
  /**
13141
12800
  * Patches the resource.
13142
- * @returns NotificationSetting OK
12801
+ * @returns IntegrationQueue OK
13143
12802
  * @throws ApiError
13144
12803
  */
13145
12804
  patch({
@@ -13147,7 +12806,7 @@ const request = (config, options, axiosClient = axios) => {
13147
12806
  }) {
13148
12807
  return this.httpRequest.request({
13149
12808
  method: "PATCH",
13150
- url: "/api/notification-settings/v2-temporary-route",
12809
+ url: "/api/integration-queue/v2-temporary-route",
13151
12810
  body: requestBody,
13152
12811
  mediaType: "application/json",
13153
12812
  errors: {
@@ -13159,7 +12818,7 @@ const request = (config, options, axiosClient = axios) => {
13159
12818
  }
13160
12819
  /**
13161
12820
  * Inserts a list of resources.
13162
- * @returns NotificationSetting OK
12821
+ * @returns IntegrationQueue OK
13163
12822
  * @throws ApiError
13164
12823
  */
13165
12824
  postList({
@@ -13167,7 +12826,7 @@ const request = (config, options, axiosClient = axios) => {
13167
12826
  }) {
13168
12827
  return this.httpRequest.request({
13169
12828
  method: "POST",
13170
- url: "/api/notification-settings/v2-temporary-route/list",
12829
+ url: "/api/integration-queue/v2-temporary-route/list",
13171
12830
  body: requestBody,
13172
12831
  mediaType: "application/json",
13173
12832
  errors: {
@@ -13179,7 +12838,7 @@ const request = (config, options, axiosClient = axios) => {
13179
12838
  }
13180
12839
  /**
13181
12840
  * Patches the resource.
13182
- * @returns NotificationSetting OK
12841
+ * @returns IntegrationQueue OK
13183
12842
  * @throws ApiError
13184
12843
  */
13185
12844
  patchWithReferences({
@@ -13187,7 +12846,7 @@ const request = (config, options, axiosClient = axios) => {
13187
12846
  }) {
13188
12847
  return this.httpRequest.request({
13189
12848
  method: "PATCH",
13190
- url: "/api/notification-settings/v2-temporary-route/with-references",
12849
+ url: "/api/integration-queue/v2-temporary-route/with-references",
13191
12850
  body: requestBody,
13192
12851
  mediaType: "application/json",
13193
12852
  errors: {
@@ -13207,7 +12866,7 @@ const request = (config, options, axiosClient = axios) => {
13207
12866
  }) {
13208
12867
  return this.httpRequest.request({
13209
12868
  method: "DELETE",
13210
- url: "/api/notification-settings",
12869
+ url: "/api/integration-queue",
13211
12870
  body: requestBody,
13212
12871
  mediaType: "application/json",
13213
12872
  errors: {
@@ -13219,25 +12878,12 @@ const request = (config, options, axiosClient = axios) => {
13219
12878
  }
13220
12879
  /**
13221
12880
  * Gets a list of resources.
13222
- * @returns NotificationSettingPage OK
12881
+ * @returns IntegrationQueuePage OK
13223
12882
  * @throws ApiError
13224
12883
  */
13225
12884
  getPage({
13226
- userId,
13227
- newBooking,
13228
- cancellation,
13229
- reschedule,
13230
- waitlistActivity,
13231
- waitlistOpportunity,
13232
- capacityReached,
13233
- capacity75Percent,
13234
- stripeConnected,
13235
- stripeDisconnected,
13236
- activityScheduleUpdated,
13237
- activityPriceUpdated,
13238
- newActivity,
13239
- paymentReceived,
13240
- postCompletionSurveyCompleted,
12885
+ processed,
12886
+ errored,
13241
12887
  pageNumber,
13242
12888
  take,
13243
12889
  skip,
@@ -13252,23 +12898,10 @@ const request = (config, options, axiosClient = axios) => {
13252
12898
  }) {
13253
12899
  return this.httpRequest.request({
13254
12900
  method: "GET",
13255
- url: "/api/notification-settings",
12901
+ url: "/api/integration-queue",
13256
12902
  query: {
13257
- UserId: userId,
13258
- NewBooking: newBooking,
13259
- Cancellation: cancellation,
13260
- Reschedule: reschedule,
13261
- WaitlistActivity: waitlistActivity,
13262
- WaitlistOpportunity: waitlistOpportunity,
13263
- CapacityReached: capacityReached,
13264
- Capacity75Percent: capacity75Percent,
13265
- StripeConnected: stripeConnected,
13266
- StripeDisconnected: stripeDisconnected,
13267
- ActivityScheduleUpdated: activityScheduleUpdated,
13268
- ActivityPriceUpdated: activityPriceUpdated,
13269
- NewActivity: newActivity,
13270
- PaymentReceived: paymentReceived,
13271
- PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
12903
+ Processed: processed,
12904
+ Errored: errored,
13272
12905
  PageNumber: pageNumber,
13273
12906
  Take: take,
13274
12907
  Skip: skip,
@@ -13298,7 +12931,7 @@ const request = (config, options, axiosClient = axios) => {
13298
12931
  }) {
13299
12932
  return this.httpRequest.request({
13300
12933
  method: "DELETE",
13301
- url: "/api/notification-settings/{id}",
12934
+ url: "/api/integration-queue/{id}",
13302
12935
  path: {
13303
12936
  id
13304
12937
  },
@@ -13311,7 +12944,7 @@ const request = (config, options, axiosClient = axios) => {
13311
12944
  }
13312
12945
  /**
13313
12946
  * Gets the resource by its Id.
13314
- * @returns NotificationSetting OK
12947
+ * @returns IntegrationQueue OK
13315
12948
  * @throws ApiError
13316
12949
  */
13317
12950
  getObject({
@@ -13319,7 +12952,7 @@ const request = (config, options, axiosClient = axios) => {
13319
12952
  }) {
13320
12953
  return this.httpRequest.request({
13321
12954
  method: "GET",
13322
- url: "/api/notification-settings/{id}",
12955
+ url: "/api/integration-queue/{id}",
13323
12956
  path: {
13324
12957
  id
13325
12958
  },
@@ -13340,7 +12973,7 @@ const request = (config, options, axiosClient = axios) => {
13340
12973
  }) {
13341
12974
  return this.httpRequest.request({
13342
12975
  method: "GET",
13343
- url: "/api/notification-settings/{id}/deletable",
12976
+ url: "/api/integration-queue/{id}/deletable",
13344
12977
  path: {
13345
12978
  id
13346
12979
  },
@@ -13357,21 +12990,8 @@ const request = (config, options, axiosClient = axios) => {
13357
12990
  * @throws ApiError
13358
12991
  */
13359
12992
  exists({
13360
- userId,
13361
- newBooking,
13362
- cancellation,
13363
- reschedule,
13364
- waitlistActivity,
13365
- waitlistOpportunity,
13366
- capacityReached,
13367
- capacity75Percent,
13368
- stripeConnected,
13369
- stripeDisconnected,
13370
- activityScheduleUpdated,
13371
- activityPriceUpdated,
13372
- newActivity,
13373
- paymentReceived,
13374
- postCompletionSurveyCompleted,
12993
+ processed,
12994
+ errored,
13375
12995
  pageNumber,
13376
12996
  take,
13377
12997
  skip,
@@ -13386,23 +13006,10 @@ const request = (config, options, axiosClient = axios) => {
13386
13006
  }) {
13387
13007
  return this.httpRequest.request({
13388
13008
  method: "GET",
13389
- url: "/api/notification-settings/exists",
13009
+ url: "/api/integration-queue/exists",
13390
13010
  query: {
13391
- UserId: userId,
13392
- NewBooking: newBooking,
13393
- Cancellation: cancellation,
13394
- Reschedule: reschedule,
13395
- WaitlistActivity: waitlistActivity,
13396
- WaitlistOpportunity: waitlistOpportunity,
13397
- CapacityReached: capacityReached,
13398
- Capacity75Percent: capacity75Percent,
13399
- StripeConnected: stripeConnected,
13400
- StripeDisconnected: stripeDisconnected,
13401
- ActivityScheduleUpdated: activityScheduleUpdated,
13402
- ActivityPriceUpdated: activityPriceUpdated,
13403
- NewActivity: newActivity,
13404
- PaymentReceived: paymentReceived,
13405
- PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
13011
+ Processed: processed,
13012
+ Errored: errored,
13406
13013
  PageNumber: pageNumber,
13407
13014
  Take: take,
13408
13015
  Skip: skip,
@@ -13428,21 +13035,8 @@ const request = (config, options, axiosClient = axios) => {
13428
13035
  * @throws ApiError
13429
13036
  */
13430
13037
  count({
13431
- userId,
13432
- newBooking,
13433
- cancellation,
13434
- reschedule,
13435
- waitlistActivity,
13436
- waitlistOpportunity,
13437
- capacityReached,
13438
- capacity75Percent,
13439
- stripeConnected,
13440
- stripeDisconnected,
13441
- activityScheduleUpdated,
13442
- activityPriceUpdated,
13443
- newActivity,
13444
- paymentReceived,
13445
- postCompletionSurveyCompleted,
13038
+ processed,
13039
+ errored,
13446
13040
  pageNumber,
13447
13041
  take,
13448
13042
  skip,
@@ -13457,23 +13051,2038 @@ const request = (config, options, axiosClient = axios) => {
13457
13051
  }) {
13458
13052
  return this.httpRequest.request({
13459
13053
  method: "GET",
13460
- url: "/api/notification-settings/count",
13054
+ url: "/api/integration-queue/count",
13461
13055
  query: {
13462
- UserId: userId,
13463
- NewBooking: newBooking,
13464
- Cancellation: cancellation,
13465
- Reschedule: reschedule,
13466
- WaitlistActivity: waitlistActivity,
13467
- WaitlistOpportunity: waitlistOpportunity,
13468
- CapacityReached: capacityReached,
13469
- Capacity75Percent: capacity75Percent,
13470
- StripeConnected: stripeConnected,
13471
- StripeDisconnected: stripeDisconnected,
13472
- ActivityScheduleUpdated: activityScheduleUpdated,
13473
- ActivityPriceUpdated: activityPriceUpdated,
13474
- NewActivity: newActivity,
13475
- PaymentReceived: paymentReceived,
13476
- PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
13056
+ Processed: processed,
13057
+ Errored: errored,
13058
+ PageNumber: pageNumber,
13059
+ Take: take,
13060
+ Skip: skip,
13061
+ LimitListRequests: limitListRequests,
13062
+ TenantId: tenantId,
13063
+ ModifiedById: modifiedById,
13064
+ ModifiedByIds: modifiedByIds,
13065
+ DateCreatedGTE: dateCreatedGte,
13066
+ DateCreatedLTE: dateCreatedLte,
13067
+ IsLive: isLive,
13068
+ SortOrderDirection: sortOrderDirection
13069
+ },
13070
+ errors: {
13071
+ 400: `Bad Request`,
13072
+ 422: `Unprocessable Content`,
13073
+ 500: `Internal Server Error`
13074
+ }
13075
+ });
13076
+ }
13077
+ /**
13078
+ * Gets a list of resources unpaged and without references.
13079
+ * @returns IntegrationQueue OK
13080
+ * @throws ApiError
13081
+ */
13082
+ getListWithoutReferences({
13083
+ processed,
13084
+ errored,
13085
+ pageNumber,
13086
+ take,
13087
+ skip,
13088
+ limitListRequests,
13089
+ tenantId,
13090
+ modifiedById,
13091
+ modifiedByIds,
13092
+ dateCreatedGte,
13093
+ dateCreatedLte,
13094
+ isLive,
13095
+ sortOrderDirection
13096
+ }) {
13097
+ return this.httpRequest.request({
13098
+ method: "GET",
13099
+ url: "/api/integration-queue/without-references",
13100
+ query: {
13101
+ Processed: processed,
13102
+ Errored: errored,
13103
+ PageNumber: pageNumber,
13104
+ Take: take,
13105
+ Skip: skip,
13106
+ LimitListRequests: limitListRequests,
13107
+ TenantId: tenantId,
13108
+ ModifiedById: modifiedById,
13109
+ ModifiedByIds: modifiedByIds,
13110
+ DateCreatedGTE: dateCreatedGte,
13111
+ DateCreatedLTE: dateCreatedLte,
13112
+ IsLive: isLive,
13113
+ SortOrderDirection: sortOrderDirection
13114
+ },
13115
+ errors: {
13116
+ 400: `Bad Request`,
13117
+ 422: `Unprocessable Content`,
13118
+ 500: `Internal Server Error`
13119
+ }
13120
+ });
13121
+ }
13122
+ /**
13123
+ * Gets a list of resources.
13124
+ * @returns IntegrationQueue OK
13125
+ * @throws ApiError
13126
+ */
13127
+ getListIdName({
13128
+ processed,
13129
+ errored,
13130
+ pageNumber,
13131
+ take,
13132
+ skip,
13133
+ limitListRequests,
13134
+ tenantId,
13135
+ modifiedById,
13136
+ modifiedByIds,
13137
+ dateCreatedGte,
13138
+ dateCreatedLte,
13139
+ isLive,
13140
+ sortOrderDirection
13141
+ }) {
13142
+ return this.httpRequest.request({
13143
+ method: "GET",
13144
+ url: "/api/integration-queue/id-name",
13145
+ query: {
13146
+ Processed: processed,
13147
+ Errored: errored,
13148
+ PageNumber: pageNumber,
13149
+ Take: take,
13150
+ Skip: skip,
13151
+ LimitListRequests: limitListRequests,
13152
+ TenantId: tenantId,
13153
+ ModifiedById: modifiedById,
13154
+ ModifiedByIds: modifiedByIds,
13155
+ DateCreatedGTE: dateCreatedGte,
13156
+ DateCreatedLTE: dateCreatedLte,
13157
+ IsLive: isLive,
13158
+ SortOrderDirection: sortOrderDirection
13159
+ },
13160
+ errors: {
13161
+ 400: `Bad Request`,
13162
+ 422: `Unprocessable Content`,
13163
+ 500: `Internal Server Error`
13164
+ }
13165
+ });
13166
+ }
13167
+ }class LeasingService {
13168
+ constructor(httpRequest) {
13169
+ this.httpRequest = httpRequest;
13170
+ }
13171
+ /**
13172
+ * Refreshes a lease and updates any changes />.
13173
+ * @returns Order OK
13174
+ * @throws ApiError
13175
+ */
13176
+ refresh({
13177
+ orderId,
13178
+ requestBody
13179
+ }) {
13180
+ return this.httpRequest.request({
13181
+ method: "PATCH",
13182
+ url: "/api/leases/{orderId}/refresh/v2-temporary-route",
13183
+ path: {
13184
+ orderId
13185
+ },
13186
+ body: requestBody,
13187
+ mediaType: "application/json",
13188
+ errors: {
13189
+ 400: `Bad Request`,
13190
+ 422: `Unprocessable Content`,
13191
+ 500: `Internal Server Error`
13192
+ }
13193
+ });
13194
+ }
13195
+ /**
13196
+ * Converts a leased order into a booked order and creates stripes payment intent secret..
13197
+ * @returns Order OK
13198
+ * @throws ApiError
13199
+ */
13200
+ convertToOrder({
13201
+ orderId,
13202
+ requestBody
13203
+ }) {
13204
+ return this.httpRequest.request({
13205
+ method: "PATCH",
13206
+ url: "/api/leases/{orderId}/convert-to-order",
13207
+ path: {
13208
+ orderId
13209
+ },
13210
+ body: requestBody,
13211
+ mediaType: "application/json",
13212
+ errors: {
13213
+ 400: `Bad Request`,
13214
+ 422: `Unprocessable Content`,
13215
+ 500: `Internal Server Error`
13216
+ }
13217
+ });
13218
+ }
13219
+ /**
13220
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
13221
+ * @returns Order OK
13222
+ * @throws ApiError
13223
+ */
13224
+ post({
13225
+ requestBody
13226
+ }) {
13227
+ return this.httpRequest.request({
13228
+ method: "POST",
13229
+ url: "/api/leases/v2-temporary-route",
13230
+ body: requestBody,
13231
+ mediaType: "application/json",
13232
+ errors: {
13233
+ 400: `Bad Request`,
13234
+ 422: `Unprocessable Content`,
13235
+ 500: `Internal Server Error`
13236
+ }
13237
+ });
13238
+ }
13239
+ /**
13240
+ * Patches the resource.
13241
+ * @returns Order OK
13242
+ * @throws ApiError
13243
+ */
13244
+ patch({
13245
+ requestBody
13246
+ }) {
13247
+ return this.httpRequest.request({
13248
+ method: "PATCH",
13249
+ url: "/api/leases/v2-temporary-route",
13250
+ body: requestBody,
13251
+ mediaType: "application/json",
13252
+ errors: {
13253
+ 400: `Bad Request`,
13254
+ 422: `Unprocessable Content`,
13255
+ 500: `Internal Server Error`
13256
+ }
13257
+ });
13258
+ }
13259
+ /**
13260
+ * Inserts a list of resources.
13261
+ * @returns Order OK
13262
+ * @throws ApiError
13263
+ */
13264
+ postList({
13265
+ requestBody
13266
+ }) {
13267
+ return this.httpRequest.request({
13268
+ method: "POST",
13269
+ url: "/api/leases/v2-temporary-route/list",
13270
+ body: requestBody,
13271
+ mediaType: "application/json",
13272
+ errors: {
13273
+ 400: `Bad Request`,
13274
+ 422: `Unprocessable Content`,
13275
+ 500: `Internal Server Error`
13276
+ }
13277
+ });
13278
+ }
13279
+ /**
13280
+ * Patches the resource.
13281
+ * @returns Order OK
13282
+ * @throws ApiError
13283
+ */
13284
+ patchWithReferences({
13285
+ requestBody
13286
+ }) {
13287
+ return this.httpRequest.request({
13288
+ method: "PATCH",
13289
+ url: "/api/leases/v2-temporary-route/with-references",
13290
+ body: requestBody,
13291
+ mediaType: "application/json",
13292
+ errors: {
13293
+ 400: `Bad Request`,
13294
+ 422: `Unprocessable Content`,
13295
+ 500: `Internal Server Error`
13296
+ }
13297
+ });
13298
+ }
13299
+ /**
13300
+ * Deletes the resource.
13301
+ * @returns any OK
13302
+ * @throws ApiError
13303
+ */
13304
+ deleteByObject({
13305
+ requestBody
13306
+ }) {
13307
+ return this.httpRequest.request({
13308
+ method: "DELETE",
13309
+ url: "/api/leases",
13310
+ body: requestBody,
13311
+ mediaType: "application/json",
13312
+ errors: {
13313
+ 400: `Bad Request`,
13314
+ 422: `Unprocessable Content`,
13315
+ 500: `Internal Server Error`
13316
+ }
13317
+ });
13318
+ }
13319
+ /**
13320
+ * Gets a list of resources.
13321
+ * @returns OrderPage OK
13322
+ * @throws ApiError
13323
+ */
13324
+ getPage({
13325
+ wildcard,
13326
+ accessCode,
13327
+ customerName,
13328
+ email,
13329
+ providerId,
13330
+ venueId,
13331
+ programmeId,
13332
+ customerId,
13333
+ orderIds,
13334
+ sessionId,
13335
+ facilityId,
13336
+ courseId,
13337
+ orderStage,
13338
+ isBookedOrPendingPayment,
13339
+ orderStages,
13340
+ orderDateGte,
13341
+ orderDateLte,
13342
+ endUserIdentityId,
13343
+ pageNumber,
13344
+ take,
13345
+ skip,
13346
+ limitListRequests,
13347
+ tenantId,
13348
+ modifiedById,
13349
+ modifiedByIds,
13350
+ dateCreatedGte,
13351
+ dateCreatedLte,
13352
+ isLive,
13353
+ sortOrderDirection
13354
+ }) {
13355
+ return this.httpRequest.request({
13356
+ method: "GET",
13357
+ url: "/api/leases",
13358
+ query: {
13359
+ Wildcard: wildcard,
13360
+ AccessCode: accessCode,
13361
+ CustomerName: customerName,
13362
+ Email: email,
13363
+ ProviderId: providerId,
13364
+ VenueId: venueId,
13365
+ ProgrammeId: programmeId,
13366
+ CustomerId: customerId,
13367
+ OrderIds: orderIds,
13368
+ SessionId: sessionId,
13369
+ FacilityId: facilityId,
13370
+ CourseId: courseId,
13371
+ OrderStage: orderStage,
13372
+ IsBookedOrPendingPayment: isBookedOrPendingPayment,
13373
+ OrderStages: orderStages,
13374
+ OrderDateGTE: orderDateGte,
13375
+ OrderDateLTE: orderDateLte,
13376
+ EndUserIdentityId: endUserIdentityId,
13377
+ PageNumber: pageNumber,
13378
+ Take: take,
13379
+ Skip: skip,
13380
+ LimitListRequests: limitListRequests,
13381
+ TenantId: tenantId,
13382
+ ModifiedById: modifiedById,
13383
+ ModifiedByIds: modifiedByIds,
13384
+ DateCreatedGTE: dateCreatedGte,
13385
+ DateCreatedLTE: dateCreatedLte,
13386
+ IsLive: isLive,
13387
+ SortOrderDirection: sortOrderDirection
13388
+ },
13389
+ errors: {
13390
+ 400: `Bad Request`,
13391
+ 422: `Unprocessable Content`,
13392
+ 500: `Internal Server Error`
13393
+ }
13394
+ });
13395
+ }
13396
+ /**
13397
+ * Deletes the resource.
13398
+ * @returns any OK
13399
+ * @throws ApiError
13400
+ */
13401
+ deleteById({
13402
+ id
13403
+ }) {
13404
+ return this.httpRequest.request({
13405
+ method: "DELETE",
13406
+ url: "/api/leases/{id}",
13407
+ path: {
13408
+ id
13409
+ },
13410
+ errors: {
13411
+ 400: `Bad Request`,
13412
+ 422: `Unprocessable Content`,
13413
+ 500: `Internal Server Error`
13414
+ }
13415
+ });
13416
+ }
13417
+ /**
13418
+ * Gets the resource by its Id.
13419
+ * @returns Order OK
13420
+ * @throws ApiError
13421
+ */
13422
+ getObject({
13423
+ id
13424
+ }) {
13425
+ return this.httpRequest.request({
13426
+ method: "GET",
13427
+ url: "/api/leases/{id}",
13428
+ path: {
13429
+ id
13430
+ },
13431
+ errors: {
13432
+ 400: `Bad Request`,
13433
+ 422: `Unprocessable Content`,
13434
+ 500: `Internal Server Error`
13435
+ }
13436
+ });
13437
+ }
13438
+ /**
13439
+ * Returns a value indicating whether the resource is deletable.
13440
+ * @returns boolean OK
13441
+ * @throws ApiError
13442
+ */
13443
+ canDelete({
13444
+ id
13445
+ }) {
13446
+ return this.httpRequest.request({
13447
+ method: "GET",
13448
+ url: "/api/leases/{id}/deletable",
13449
+ path: {
13450
+ id
13451
+ },
13452
+ errors: {
13453
+ 400: `Bad Request`,
13454
+ 422: `Unprocessable Content`,
13455
+ 500: `Internal Server Error`
13456
+ }
13457
+ });
13458
+ }
13459
+ /**
13460
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
13461
+ * @returns boolean OK
13462
+ * @throws ApiError
13463
+ */
13464
+ exists({
13465
+ wildcard,
13466
+ accessCode,
13467
+ customerName,
13468
+ email,
13469
+ providerId,
13470
+ venueId,
13471
+ programmeId,
13472
+ customerId,
13473
+ orderIds,
13474
+ sessionId,
13475
+ facilityId,
13476
+ courseId,
13477
+ orderStage,
13478
+ isBookedOrPendingPayment,
13479
+ orderStages,
13480
+ orderDateGte,
13481
+ orderDateLte,
13482
+ endUserIdentityId,
13483
+ pageNumber,
13484
+ take,
13485
+ skip,
13486
+ limitListRequests,
13487
+ tenantId,
13488
+ modifiedById,
13489
+ modifiedByIds,
13490
+ dateCreatedGte,
13491
+ dateCreatedLte,
13492
+ isLive,
13493
+ sortOrderDirection
13494
+ }) {
13495
+ return this.httpRequest.request({
13496
+ method: "GET",
13497
+ url: "/api/leases/exists",
13498
+ query: {
13499
+ Wildcard: wildcard,
13500
+ AccessCode: accessCode,
13501
+ CustomerName: customerName,
13502
+ Email: email,
13503
+ ProviderId: providerId,
13504
+ VenueId: venueId,
13505
+ ProgrammeId: programmeId,
13506
+ CustomerId: customerId,
13507
+ OrderIds: orderIds,
13508
+ SessionId: sessionId,
13509
+ FacilityId: facilityId,
13510
+ CourseId: courseId,
13511
+ OrderStage: orderStage,
13512
+ IsBookedOrPendingPayment: isBookedOrPendingPayment,
13513
+ OrderStages: orderStages,
13514
+ OrderDateGTE: orderDateGte,
13515
+ OrderDateLTE: orderDateLte,
13516
+ EndUserIdentityId: endUserIdentityId,
13517
+ PageNumber: pageNumber,
13518
+ Take: take,
13519
+ Skip: skip,
13520
+ LimitListRequests: limitListRequests,
13521
+ TenantId: tenantId,
13522
+ ModifiedById: modifiedById,
13523
+ ModifiedByIds: modifiedByIds,
13524
+ DateCreatedGTE: dateCreatedGte,
13525
+ DateCreatedLTE: dateCreatedLte,
13526
+ IsLive: isLive,
13527
+ SortOrderDirection: sortOrderDirection
13528
+ },
13529
+ errors: {
13530
+ 400: `Bad Request`,
13531
+ 422: `Unprocessable Content`,
13532
+ 500: `Internal Server Error`
13533
+ }
13534
+ });
13535
+ }
13536
+ /**
13537
+ * Returns the number of results in the database given the provided search params.
13538
+ * @returns number OK
13539
+ * @throws ApiError
13540
+ */
13541
+ count({
13542
+ wildcard,
13543
+ accessCode,
13544
+ customerName,
13545
+ email,
13546
+ providerId,
13547
+ venueId,
13548
+ programmeId,
13549
+ customerId,
13550
+ orderIds,
13551
+ sessionId,
13552
+ facilityId,
13553
+ courseId,
13554
+ orderStage,
13555
+ isBookedOrPendingPayment,
13556
+ orderStages,
13557
+ orderDateGte,
13558
+ orderDateLte,
13559
+ endUserIdentityId,
13560
+ pageNumber,
13561
+ take,
13562
+ skip,
13563
+ limitListRequests,
13564
+ tenantId,
13565
+ modifiedById,
13566
+ modifiedByIds,
13567
+ dateCreatedGte,
13568
+ dateCreatedLte,
13569
+ isLive,
13570
+ sortOrderDirection
13571
+ }) {
13572
+ return this.httpRequest.request({
13573
+ method: "GET",
13574
+ url: "/api/leases/count",
13575
+ query: {
13576
+ Wildcard: wildcard,
13577
+ AccessCode: accessCode,
13578
+ CustomerName: customerName,
13579
+ Email: email,
13580
+ ProviderId: providerId,
13581
+ VenueId: venueId,
13582
+ ProgrammeId: programmeId,
13583
+ CustomerId: customerId,
13584
+ OrderIds: orderIds,
13585
+ SessionId: sessionId,
13586
+ FacilityId: facilityId,
13587
+ CourseId: courseId,
13588
+ OrderStage: orderStage,
13589
+ IsBookedOrPendingPayment: isBookedOrPendingPayment,
13590
+ OrderStages: orderStages,
13591
+ OrderDateGTE: orderDateGte,
13592
+ OrderDateLTE: orderDateLte,
13593
+ EndUserIdentityId: endUserIdentityId,
13594
+ PageNumber: pageNumber,
13595
+ Take: take,
13596
+ Skip: skip,
13597
+ LimitListRequests: limitListRequests,
13598
+ TenantId: tenantId,
13599
+ ModifiedById: modifiedById,
13600
+ ModifiedByIds: modifiedByIds,
13601
+ DateCreatedGTE: dateCreatedGte,
13602
+ DateCreatedLTE: dateCreatedLte,
13603
+ IsLive: isLive,
13604
+ SortOrderDirection: sortOrderDirection
13605
+ },
13606
+ errors: {
13607
+ 400: `Bad Request`,
13608
+ 422: `Unprocessable Content`,
13609
+ 500: `Internal Server Error`
13610
+ }
13611
+ });
13612
+ }
13613
+ /**
13614
+ * Gets a list of resources unpaged and without references.
13615
+ * @returns Order OK
13616
+ * @throws ApiError
13617
+ */
13618
+ getListWithoutReferences({
13619
+ wildcard,
13620
+ accessCode,
13621
+ customerName,
13622
+ email,
13623
+ providerId,
13624
+ venueId,
13625
+ programmeId,
13626
+ customerId,
13627
+ orderIds,
13628
+ sessionId,
13629
+ facilityId,
13630
+ courseId,
13631
+ orderStage,
13632
+ isBookedOrPendingPayment,
13633
+ orderStages,
13634
+ orderDateGte,
13635
+ orderDateLte,
13636
+ endUserIdentityId,
13637
+ pageNumber,
13638
+ take,
13639
+ skip,
13640
+ limitListRequests,
13641
+ tenantId,
13642
+ modifiedById,
13643
+ modifiedByIds,
13644
+ dateCreatedGte,
13645
+ dateCreatedLte,
13646
+ isLive,
13647
+ sortOrderDirection
13648
+ }) {
13649
+ return this.httpRequest.request({
13650
+ method: "GET",
13651
+ url: "/api/leases/without-references",
13652
+ query: {
13653
+ Wildcard: wildcard,
13654
+ AccessCode: accessCode,
13655
+ CustomerName: customerName,
13656
+ Email: email,
13657
+ ProviderId: providerId,
13658
+ VenueId: venueId,
13659
+ ProgrammeId: programmeId,
13660
+ CustomerId: customerId,
13661
+ OrderIds: orderIds,
13662
+ SessionId: sessionId,
13663
+ FacilityId: facilityId,
13664
+ CourseId: courseId,
13665
+ OrderStage: orderStage,
13666
+ IsBookedOrPendingPayment: isBookedOrPendingPayment,
13667
+ OrderStages: orderStages,
13668
+ OrderDateGTE: orderDateGte,
13669
+ OrderDateLTE: orderDateLte,
13670
+ EndUserIdentityId: endUserIdentityId,
13671
+ PageNumber: pageNumber,
13672
+ Take: take,
13673
+ Skip: skip,
13674
+ LimitListRequests: limitListRequests,
13675
+ TenantId: tenantId,
13676
+ ModifiedById: modifiedById,
13677
+ ModifiedByIds: modifiedByIds,
13678
+ DateCreatedGTE: dateCreatedGte,
13679
+ DateCreatedLTE: dateCreatedLte,
13680
+ IsLive: isLive,
13681
+ SortOrderDirection: sortOrderDirection
13682
+ },
13683
+ errors: {
13684
+ 400: `Bad Request`,
13685
+ 422: `Unprocessable Content`,
13686
+ 500: `Internal Server Error`
13687
+ }
13688
+ });
13689
+ }
13690
+ /**
13691
+ * Gets a list of resources.
13692
+ * @returns Order OK
13693
+ * @throws ApiError
13694
+ */
13695
+ getListIdName({
13696
+ wildcard,
13697
+ accessCode,
13698
+ customerName,
13699
+ email,
13700
+ providerId,
13701
+ venueId,
13702
+ programmeId,
13703
+ customerId,
13704
+ orderIds,
13705
+ sessionId,
13706
+ facilityId,
13707
+ courseId,
13708
+ orderStage,
13709
+ isBookedOrPendingPayment,
13710
+ orderStages,
13711
+ orderDateGte,
13712
+ orderDateLte,
13713
+ endUserIdentityId,
13714
+ pageNumber,
13715
+ take,
13716
+ skip,
13717
+ limitListRequests,
13718
+ tenantId,
13719
+ modifiedById,
13720
+ modifiedByIds,
13721
+ dateCreatedGte,
13722
+ dateCreatedLte,
13723
+ isLive,
13724
+ sortOrderDirection
13725
+ }) {
13726
+ return this.httpRequest.request({
13727
+ method: "GET",
13728
+ url: "/api/leases/id-name",
13729
+ query: {
13730
+ Wildcard: wildcard,
13731
+ AccessCode: accessCode,
13732
+ CustomerName: customerName,
13733
+ Email: email,
13734
+ ProviderId: providerId,
13735
+ VenueId: venueId,
13736
+ ProgrammeId: programmeId,
13737
+ CustomerId: customerId,
13738
+ OrderIds: orderIds,
13739
+ SessionId: sessionId,
13740
+ FacilityId: facilityId,
13741
+ CourseId: courseId,
13742
+ OrderStage: orderStage,
13743
+ IsBookedOrPendingPayment: isBookedOrPendingPayment,
13744
+ OrderStages: orderStages,
13745
+ OrderDateGTE: orderDateGte,
13746
+ OrderDateLTE: orderDateLte,
13747
+ EndUserIdentityId: endUserIdentityId,
13748
+ PageNumber: pageNumber,
13749
+ Take: take,
13750
+ Skip: skip,
13751
+ LimitListRequests: limitListRequests,
13752
+ TenantId: tenantId,
13753
+ ModifiedById: modifiedById,
13754
+ ModifiedByIds: modifiedByIds,
13755
+ DateCreatedGTE: dateCreatedGte,
13756
+ DateCreatedLTE: dateCreatedLte,
13757
+ IsLive: isLive,
13758
+ SortOrderDirection: sortOrderDirection
13759
+ },
13760
+ errors: {
13761
+ 400: `Bad Request`,
13762
+ 422: `Unprocessable Content`,
13763
+ 500: `Internal Server Error`
13764
+ }
13765
+ });
13766
+ }
13767
+ }class LocationsReportService {
13768
+ constructor(httpRequest) {
13769
+ this.httpRequest = httpRequest;
13770
+ }
13771
+ /**
13772
+ * Exports the performance list to a csv format.
13773
+ * Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
13774
+ * @returns any OK
13775
+ * @throws ApiError
13776
+ */
13777
+ exportToCsv({
13778
+ userId,
13779
+ archived,
13780
+ programmeId,
13781
+ pageNumber,
13782
+ take,
13783
+ skip,
13784
+ limitListRequests,
13785
+ tenantId,
13786
+ modifiedById,
13787
+ modifiedByIds,
13788
+ dateCreatedGte,
13789
+ dateCreatedLte,
13790
+ isLive,
13791
+ sortOrderDirection,
13792
+ formData
13793
+ }) {
13794
+ return this.httpRequest.request({
13795
+ method: "POST",
13796
+ url: "/api/locations-report/export/csv",
13797
+ query: {
13798
+ UserId: userId,
13799
+ Archived: archived,
13800
+ ProgrammeId: programmeId,
13801
+ PageNumber: pageNumber,
13802
+ Take: take,
13803
+ Skip: skip,
13804
+ LimitListRequests: limitListRequests,
13805
+ TenantId: tenantId,
13806
+ ModifiedById: modifiedById,
13807
+ ModifiedByIds: modifiedByIds,
13808
+ DateCreatedGTE: dateCreatedGte,
13809
+ DateCreatedLTE: dateCreatedLte,
13810
+ IsLive: isLive,
13811
+ SortOrderDirection: sortOrderDirection
13812
+ },
13813
+ formData,
13814
+ mediaType: "multipart/form-data",
13815
+ errors: {
13816
+ 400: `Bad Request`,
13817
+ 422: `Unprocessable Content`,
13818
+ 500: `Internal Server Error`
13819
+ }
13820
+ });
13821
+ }
13822
+ /**
13823
+ * Get summary for locations.
13824
+ * @returns LocationReportSummary OK
13825
+ * @throws ApiError
13826
+ */
13827
+ getSummary({
13828
+ userId,
13829
+ archived,
13830
+ programmeId,
13831
+ pageNumber,
13832
+ take,
13833
+ skip,
13834
+ limitListRequests,
13835
+ tenantId,
13836
+ modifiedById,
13837
+ modifiedByIds,
13838
+ dateCreatedGte,
13839
+ dateCreatedLte,
13840
+ isLive,
13841
+ sortOrderDirection
13842
+ }) {
13843
+ return this.httpRequest.request({
13844
+ method: "GET",
13845
+ url: "/api/locations-report/summary",
13846
+ query: {
13847
+ UserId: userId,
13848
+ Archived: archived,
13849
+ ProgrammeId: programmeId,
13850
+ PageNumber: pageNumber,
13851
+ Take: take,
13852
+ Skip: skip,
13853
+ LimitListRequests: limitListRequests,
13854
+ TenantId: tenantId,
13855
+ ModifiedById: modifiedById,
13856
+ ModifiedByIds: modifiedByIds,
13857
+ DateCreatedGTE: dateCreatedGte,
13858
+ DateCreatedLTE: dateCreatedLte,
13859
+ IsLive: isLive,
13860
+ SortOrderDirection: sortOrderDirection
13861
+ },
13862
+ errors: {
13863
+ 400: `Bad Request`,
13864
+ 422: `Unprocessable Content`,
13865
+ 500: `Internal Server Error`
13866
+ }
13867
+ });
13868
+ }
13869
+ /**
13870
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
13871
+ * @returns LocationReport OK
13872
+ * @throws ApiError
13873
+ */
13874
+ post({
13875
+ requestBody
13876
+ }) {
13877
+ return this.httpRequest.request({
13878
+ method: "POST",
13879
+ url: "/api/locations-report/v2-temporary-route",
13880
+ body: requestBody,
13881
+ mediaType: "application/json",
13882
+ errors: {
13883
+ 400: `Bad Request`,
13884
+ 422: `Unprocessable Content`,
13885
+ 500: `Internal Server Error`
13886
+ }
13887
+ });
13888
+ }
13889
+ /**
13890
+ * Patches the resource.
13891
+ * @returns LocationReport OK
13892
+ * @throws ApiError
13893
+ */
13894
+ patch({
13895
+ requestBody
13896
+ }) {
13897
+ return this.httpRequest.request({
13898
+ method: "PATCH",
13899
+ url: "/api/locations-report/v2-temporary-route",
13900
+ body: requestBody,
13901
+ mediaType: "application/json",
13902
+ errors: {
13903
+ 400: `Bad Request`,
13904
+ 422: `Unprocessable Content`,
13905
+ 500: `Internal Server Error`
13906
+ }
13907
+ });
13908
+ }
13909
+ /**
13910
+ * Inserts a list of resources.
13911
+ * @returns LocationReport OK
13912
+ * @throws ApiError
13913
+ */
13914
+ postList({
13915
+ requestBody
13916
+ }) {
13917
+ return this.httpRequest.request({
13918
+ method: "POST",
13919
+ url: "/api/locations-report/v2-temporary-route/list",
13920
+ body: requestBody,
13921
+ mediaType: "application/json",
13922
+ errors: {
13923
+ 400: `Bad Request`,
13924
+ 422: `Unprocessable Content`,
13925
+ 500: `Internal Server Error`
13926
+ }
13927
+ });
13928
+ }
13929
+ /**
13930
+ * Patches the resource.
13931
+ * @returns LocationReport OK
13932
+ * @throws ApiError
13933
+ */
13934
+ patchWithReferences({
13935
+ requestBody
13936
+ }) {
13937
+ return this.httpRequest.request({
13938
+ method: "PATCH",
13939
+ url: "/api/locations-report/v2-temporary-route/with-references",
13940
+ body: requestBody,
13941
+ mediaType: "application/json",
13942
+ errors: {
13943
+ 400: `Bad Request`,
13944
+ 422: `Unprocessable Content`,
13945
+ 500: `Internal Server Error`
13946
+ }
13947
+ });
13948
+ }
13949
+ /**
13950
+ * Deletes the resource.
13951
+ * @returns any OK
13952
+ * @throws ApiError
13953
+ */
13954
+ deleteByObject({
13955
+ requestBody
13956
+ }) {
13957
+ return this.httpRequest.request({
13958
+ method: "DELETE",
13959
+ url: "/api/locations-report",
13960
+ body: requestBody,
13961
+ mediaType: "application/json",
13962
+ errors: {
13963
+ 400: `Bad Request`,
13964
+ 422: `Unprocessable Content`,
13965
+ 500: `Internal Server Error`
13966
+ }
13967
+ });
13968
+ }
13969
+ /**
13970
+ * Gets a list of resources.
13971
+ * @returns LocationReportPage OK
13972
+ * @throws ApiError
13973
+ */
13974
+ getPage({
13975
+ userId,
13976
+ archived,
13977
+ programmeId,
13978
+ pageNumber,
13979
+ take,
13980
+ skip,
13981
+ limitListRequests,
13982
+ tenantId,
13983
+ modifiedById,
13984
+ modifiedByIds,
13985
+ dateCreatedGte,
13986
+ dateCreatedLte,
13987
+ isLive,
13988
+ sortOrderDirection
13989
+ }) {
13990
+ return this.httpRequest.request({
13991
+ method: "GET",
13992
+ url: "/api/locations-report",
13993
+ query: {
13994
+ UserId: userId,
13995
+ Archived: archived,
13996
+ ProgrammeId: programmeId,
13997
+ PageNumber: pageNumber,
13998
+ Take: take,
13999
+ Skip: skip,
14000
+ LimitListRequests: limitListRequests,
14001
+ TenantId: tenantId,
14002
+ ModifiedById: modifiedById,
14003
+ ModifiedByIds: modifiedByIds,
14004
+ DateCreatedGTE: dateCreatedGte,
14005
+ DateCreatedLTE: dateCreatedLte,
14006
+ IsLive: isLive,
14007
+ SortOrderDirection: sortOrderDirection
14008
+ },
14009
+ errors: {
14010
+ 400: `Bad Request`,
14011
+ 422: `Unprocessable Content`,
14012
+ 500: `Internal Server Error`
14013
+ }
14014
+ });
14015
+ }
14016
+ /**
14017
+ * Deletes the resource.
14018
+ * @returns any OK
14019
+ * @throws ApiError
14020
+ */
14021
+ deleteById({
14022
+ id
14023
+ }) {
14024
+ return this.httpRequest.request({
14025
+ method: "DELETE",
14026
+ url: "/api/locations-report/{id}",
14027
+ path: {
14028
+ id
14029
+ },
14030
+ errors: {
14031
+ 400: `Bad Request`,
14032
+ 422: `Unprocessable Content`,
14033
+ 500: `Internal Server Error`
14034
+ }
14035
+ });
14036
+ }
14037
+ /**
14038
+ * Gets the resource by its Id.
14039
+ * @returns LocationReport OK
14040
+ * @throws ApiError
14041
+ */
14042
+ getObject({
14043
+ id
14044
+ }) {
14045
+ return this.httpRequest.request({
14046
+ method: "GET",
14047
+ url: "/api/locations-report/{id}",
14048
+ path: {
14049
+ id
14050
+ },
14051
+ errors: {
14052
+ 400: `Bad Request`,
14053
+ 422: `Unprocessable Content`,
14054
+ 500: `Internal Server Error`
14055
+ }
14056
+ });
14057
+ }
14058
+ /**
14059
+ * Returns a value indicating whether the resource is deletable.
14060
+ * @returns boolean OK
14061
+ * @throws ApiError
14062
+ */
14063
+ canDelete({
14064
+ id
14065
+ }) {
14066
+ return this.httpRequest.request({
14067
+ method: "GET",
14068
+ url: "/api/locations-report/{id}/deletable",
14069
+ path: {
14070
+ id
14071
+ },
14072
+ errors: {
14073
+ 400: `Bad Request`,
14074
+ 422: `Unprocessable Content`,
14075
+ 500: `Internal Server Error`
14076
+ }
14077
+ });
14078
+ }
14079
+ /**
14080
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
14081
+ * @returns boolean OK
14082
+ * @throws ApiError
14083
+ */
14084
+ exists({
14085
+ userId,
14086
+ archived,
14087
+ programmeId,
14088
+ pageNumber,
14089
+ take,
14090
+ skip,
14091
+ limitListRequests,
14092
+ tenantId,
14093
+ modifiedById,
14094
+ modifiedByIds,
14095
+ dateCreatedGte,
14096
+ dateCreatedLte,
14097
+ isLive,
14098
+ sortOrderDirection
14099
+ }) {
14100
+ return this.httpRequest.request({
14101
+ method: "GET",
14102
+ url: "/api/locations-report/exists",
14103
+ query: {
14104
+ UserId: userId,
14105
+ Archived: archived,
14106
+ ProgrammeId: programmeId,
14107
+ PageNumber: pageNumber,
14108
+ Take: take,
14109
+ Skip: skip,
14110
+ LimitListRequests: limitListRequests,
14111
+ TenantId: tenantId,
14112
+ ModifiedById: modifiedById,
14113
+ ModifiedByIds: modifiedByIds,
14114
+ DateCreatedGTE: dateCreatedGte,
14115
+ DateCreatedLTE: dateCreatedLte,
14116
+ IsLive: isLive,
14117
+ SortOrderDirection: sortOrderDirection
14118
+ },
14119
+ errors: {
14120
+ 400: `Bad Request`,
14121
+ 422: `Unprocessable Content`,
14122
+ 500: `Internal Server Error`
14123
+ }
14124
+ });
14125
+ }
14126
+ /**
14127
+ * Returns the number of results in the database given the provided search params.
14128
+ * @returns number OK
14129
+ * @throws ApiError
14130
+ */
14131
+ count({
14132
+ userId,
14133
+ archived,
14134
+ programmeId,
14135
+ pageNumber,
14136
+ take,
14137
+ skip,
14138
+ limitListRequests,
14139
+ tenantId,
14140
+ modifiedById,
14141
+ modifiedByIds,
14142
+ dateCreatedGte,
14143
+ dateCreatedLte,
14144
+ isLive,
14145
+ sortOrderDirection
14146
+ }) {
14147
+ return this.httpRequest.request({
14148
+ method: "GET",
14149
+ url: "/api/locations-report/count",
14150
+ query: {
14151
+ UserId: userId,
14152
+ Archived: archived,
14153
+ ProgrammeId: programmeId,
14154
+ PageNumber: pageNumber,
14155
+ Take: take,
14156
+ Skip: skip,
14157
+ LimitListRequests: limitListRequests,
14158
+ TenantId: tenantId,
14159
+ ModifiedById: modifiedById,
14160
+ ModifiedByIds: modifiedByIds,
14161
+ DateCreatedGTE: dateCreatedGte,
14162
+ DateCreatedLTE: dateCreatedLte,
14163
+ IsLive: isLive,
14164
+ SortOrderDirection: sortOrderDirection
14165
+ },
14166
+ errors: {
14167
+ 400: `Bad Request`,
14168
+ 422: `Unprocessable Content`,
14169
+ 500: `Internal Server Error`
14170
+ }
14171
+ });
14172
+ }
14173
+ /**
14174
+ * Gets a list of resources unpaged and without references.
14175
+ * @returns LocationReport OK
14176
+ * @throws ApiError
14177
+ */
14178
+ getListWithoutReferences({
14179
+ userId,
14180
+ archived,
14181
+ programmeId,
14182
+ pageNumber,
14183
+ take,
14184
+ skip,
14185
+ limitListRequests,
14186
+ tenantId,
14187
+ modifiedById,
14188
+ modifiedByIds,
14189
+ dateCreatedGte,
14190
+ dateCreatedLte,
14191
+ isLive,
14192
+ sortOrderDirection
14193
+ }) {
14194
+ return this.httpRequest.request({
14195
+ method: "GET",
14196
+ url: "/api/locations-report/without-references",
14197
+ query: {
14198
+ UserId: userId,
14199
+ Archived: archived,
14200
+ ProgrammeId: programmeId,
14201
+ PageNumber: pageNumber,
14202
+ Take: take,
14203
+ Skip: skip,
14204
+ LimitListRequests: limitListRequests,
14205
+ TenantId: tenantId,
14206
+ ModifiedById: modifiedById,
14207
+ ModifiedByIds: modifiedByIds,
14208
+ DateCreatedGTE: dateCreatedGte,
14209
+ DateCreatedLTE: dateCreatedLte,
14210
+ IsLive: isLive,
14211
+ SortOrderDirection: sortOrderDirection
14212
+ },
14213
+ errors: {
14214
+ 400: `Bad Request`,
14215
+ 422: `Unprocessable Content`,
14216
+ 500: `Internal Server Error`
14217
+ }
14218
+ });
14219
+ }
14220
+ /**
14221
+ * Gets a list of resources.
14222
+ * @returns LocationReport OK
14223
+ * @throws ApiError
14224
+ */
14225
+ getListIdName({
14226
+ userId,
14227
+ archived,
14228
+ programmeId,
14229
+ pageNumber,
14230
+ take,
14231
+ skip,
14232
+ limitListRequests,
14233
+ tenantId,
14234
+ modifiedById,
14235
+ modifiedByIds,
14236
+ dateCreatedGte,
14237
+ dateCreatedLte,
14238
+ isLive,
14239
+ sortOrderDirection
14240
+ }) {
14241
+ return this.httpRequest.request({
14242
+ method: "GET",
14243
+ url: "/api/locations-report/id-name",
14244
+ query: {
14245
+ UserId: userId,
14246
+ Archived: archived,
14247
+ ProgrammeId: programmeId,
14248
+ PageNumber: pageNumber,
14249
+ Take: take,
14250
+ Skip: skip,
14251
+ LimitListRequests: limitListRequests,
14252
+ TenantId: tenantId,
14253
+ ModifiedById: modifiedById,
14254
+ ModifiedByIds: modifiedByIds,
14255
+ DateCreatedGTE: dateCreatedGte,
14256
+ DateCreatedLTE: dateCreatedLte,
14257
+ IsLive: isLive,
14258
+ SortOrderDirection: sortOrderDirection
14259
+ },
14260
+ errors: {
14261
+ 400: `Bad Request`,
14262
+ 422: `Unprocessable Content`,
14263
+ 500: `Internal Server Error`
14264
+ }
14265
+ });
14266
+ }
14267
+ }class LoqatePlacesService {
14268
+ constructor(httpRequest) {
14269
+ this.httpRequest = httpRequest;
14270
+ }
14271
+ /**
14272
+ * GetPrediction.
14273
+ * @returns LoqatePrediction OK
14274
+ * @throws ApiError
14275
+ */
14276
+ getPrediction({
14277
+ searchText,
14278
+ countryCode,
14279
+ container
14280
+ }) {
14281
+ return this.httpRequest.request({
14282
+ method: "GET",
14283
+ url: "/api/external/loqate/places/autocomplete",
14284
+ query: {
14285
+ searchText,
14286
+ countryCode,
14287
+ container
14288
+ },
14289
+ errors: {
14290
+ 400: `Bad Request`,
14291
+ 422: `Unprocessable Content`,
14292
+ 500: `Internal Server Error`
14293
+ }
14294
+ });
14295
+ }
14296
+ /**
14297
+ * GetPlace.
14298
+ * @returns LoqatePlaceResult OK
14299
+ * @throws ApiError
14300
+ */
14301
+ getPlace({
14302
+ placeId
14303
+ }) {
14304
+ return this.httpRequest.request({
14305
+ method: "GET",
14306
+ url: "/api/external/loqate/places/detail",
14307
+ query: {
14308
+ placeId
14309
+ },
14310
+ errors: {
14311
+ 400: `Bad Request`,
14312
+ 422: `Unprocessable Content`,
14313
+ 500: `Internal Server Error`
14314
+ }
14315
+ });
14316
+ }
14317
+ }class NotificationQueueService {
14318
+ constructor(httpRequest) {
14319
+ this.httpRequest = httpRequest;
14320
+ }
14321
+ /**
14322
+ * Processes the OA intermediates table.
14323
+ * @returns number OK
14324
+ * @throws ApiError
14325
+ */
14326
+ process() {
14327
+ return this.httpRequest.request({
14328
+ method: "GET",
14329
+ url: "/api/notification-queue/process",
14330
+ errors: {
14331
+ 400: `Bad Request`,
14332
+ 422: `Unprocessable Content`,
14333
+ 500: `Internal Server Error`
14334
+ }
14335
+ });
14336
+ }
14337
+ /**
14338
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
14339
+ * @returns NotificationQueue OK
14340
+ * @throws ApiError
14341
+ */
14342
+ post({
14343
+ requestBody
14344
+ }) {
14345
+ return this.httpRequest.request({
14346
+ method: "POST",
14347
+ url: "/api/notification-queue/v2-temporary-route",
14348
+ body: requestBody,
14349
+ mediaType: "application/json",
14350
+ errors: {
14351
+ 400: `Bad Request`,
14352
+ 422: `Unprocessable Content`,
14353
+ 500: `Internal Server Error`
14354
+ }
14355
+ });
14356
+ }
14357
+ /**
14358
+ * Patches the resource.
14359
+ * @returns NotificationQueue OK
14360
+ * @throws ApiError
14361
+ */
14362
+ patch({
14363
+ requestBody
14364
+ }) {
14365
+ return this.httpRequest.request({
14366
+ method: "PATCH",
14367
+ url: "/api/notification-queue/v2-temporary-route",
14368
+ body: requestBody,
14369
+ mediaType: "application/json",
14370
+ errors: {
14371
+ 400: `Bad Request`,
14372
+ 422: `Unprocessable Content`,
14373
+ 500: `Internal Server Error`
14374
+ }
14375
+ });
14376
+ }
14377
+ /**
14378
+ * Inserts a list of resources.
14379
+ * @returns NotificationQueue OK
14380
+ * @throws ApiError
14381
+ */
14382
+ postList({
14383
+ requestBody
14384
+ }) {
14385
+ return this.httpRequest.request({
14386
+ method: "POST",
14387
+ url: "/api/notification-queue/v2-temporary-route/list",
14388
+ body: requestBody,
14389
+ mediaType: "application/json",
14390
+ errors: {
14391
+ 400: `Bad Request`,
14392
+ 422: `Unprocessable Content`,
14393
+ 500: `Internal Server Error`
14394
+ }
14395
+ });
14396
+ }
14397
+ /**
14398
+ * Patches the resource.
14399
+ * @returns NotificationQueue OK
14400
+ * @throws ApiError
14401
+ */
14402
+ patchWithReferences({
14403
+ requestBody
14404
+ }) {
14405
+ return this.httpRequest.request({
14406
+ method: "PATCH",
14407
+ url: "/api/notification-queue/v2-temporary-route/with-references",
14408
+ body: requestBody,
14409
+ mediaType: "application/json",
14410
+ errors: {
14411
+ 400: `Bad Request`,
14412
+ 422: `Unprocessable Content`,
14413
+ 500: `Internal Server Error`
14414
+ }
14415
+ });
14416
+ }
14417
+ /**
14418
+ * Deletes the resource.
14419
+ * @returns any OK
14420
+ * @throws ApiError
14421
+ */
14422
+ deleteByObject({
14423
+ requestBody
14424
+ }) {
14425
+ return this.httpRequest.request({
14426
+ method: "DELETE",
14427
+ url: "/api/notification-queue",
14428
+ body: requestBody,
14429
+ mediaType: "application/json",
14430
+ errors: {
14431
+ 400: `Bad Request`,
14432
+ 422: `Unprocessable Content`,
14433
+ 500: `Internal Server Error`
14434
+ }
14435
+ });
14436
+ }
14437
+ /**
14438
+ * Gets a list of resources.
14439
+ * @returns NotificationQueuePage OK
14440
+ * @throws ApiError
14441
+ */
14442
+ getPage({
14443
+ processed,
14444
+ errored,
14445
+ pageNumber,
14446
+ take,
14447
+ skip,
14448
+ limitListRequests,
14449
+ tenantId,
14450
+ modifiedById,
14451
+ modifiedByIds,
14452
+ dateCreatedGte,
14453
+ dateCreatedLte,
14454
+ isLive,
14455
+ sortOrderDirection
14456
+ }) {
14457
+ return this.httpRequest.request({
14458
+ method: "GET",
14459
+ url: "/api/notification-queue",
14460
+ query: {
14461
+ Processed: processed,
14462
+ Errored: errored,
14463
+ PageNumber: pageNumber,
14464
+ Take: take,
14465
+ Skip: skip,
14466
+ LimitListRequests: limitListRequests,
14467
+ TenantId: tenantId,
14468
+ ModifiedById: modifiedById,
14469
+ ModifiedByIds: modifiedByIds,
14470
+ DateCreatedGTE: dateCreatedGte,
14471
+ DateCreatedLTE: dateCreatedLte,
14472
+ IsLive: isLive,
14473
+ SortOrderDirection: sortOrderDirection
14474
+ },
14475
+ errors: {
14476
+ 400: `Bad Request`,
14477
+ 422: `Unprocessable Content`,
14478
+ 500: `Internal Server Error`
14479
+ }
14480
+ });
14481
+ }
14482
+ /**
14483
+ * Deletes the resource.
14484
+ * @returns any OK
14485
+ * @throws ApiError
14486
+ */
14487
+ deleteById({
14488
+ id
14489
+ }) {
14490
+ return this.httpRequest.request({
14491
+ method: "DELETE",
14492
+ url: "/api/notification-queue/{id}",
14493
+ path: {
14494
+ id
14495
+ },
14496
+ errors: {
14497
+ 400: `Bad Request`,
14498
+ 422: `Unprocessable Content`,
14499
+ 500: `Internal Server Error`
14500
+ }
14501
+ });
14502
+ }
14503
+ /**
14504
+ * Gets the resource by its Id.
14505
+ * @returns NotificationQueue OK
14506
+ * @throws ApiError
14507
+ */
14508
+ getObject({
14509
+ id
14510
+ }) {
14511
+ return this.httpRequest.request({
14512
+ method: "GET",
14513
+ url: "/api/notification-queue/{id}",
14514
+ path: {
14515
+ id
14516
+ },
14517
+ errors: {
14518
+ 400: `Bad Request`,
14519
+ 422: `Unprocessable Content`,
14520
+ 500: `Internal Server Error`
14521
+ }
14522
+ });
14523
+ }
14524
+ /**
14525
+ * Returns a value indicating whether the resource is deletable.
14526
+ * @returns boolean OK
14527
+ * @throws ApiError
14528
+ */
14529
+ canDelete({
14530
+ id
14531
+ }) {
14532
+ return this.httpRequest.request({
14533
+ method: "GET",
14534
+ url: "/api/notification-queue/{id}/deletable",
14535
+ path: {
14536
+ id
14537
+ },
14538
+ errors: {
14539
+ 400: `Bad Request`,
14540
+ 422: `Unprocessable Content`,
14541
+ 500: `Internal Server Error`
14542
+ }
14543
+ });
14544
+ }
14545
+ /**
14546
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
14547
+ * @returns boolean OK
14548
+ * @throws ApiError
14549
+ */
14550
+ exists({
14551
+ processed,
14552
+ errored,
14553
+ pageNumber,
14554
+ take,
14555
+ skip,
14556
+ limitListRequests,
14557
+ tenantId,
14558
+ modifiedById,
14559
+ modifiedByIds,
14560
+ dateCreatedGte,
14561
+ dateCreatedLte,
14562
+ isLive,
14563
+ sortOrderDirection
14564
+ }) {
14565
+ return this.httpRequest.request({
14566
+ method: "GET",
14567
+ url: "/api/notification-queue/exists",
14568
+ query: {
14569
+ Processed: processed,
14570
+ Errored: errored,
14571
+ PageNumber: pageNumber,
14572
+ Take: take,
14573
+ Skip: skip,
14574
+ LimitListRequests: limitListRequests,
14575
+ TenantId: tenantId,
14576
+ ModifiedById: modifiedById,
14577
+ ModifiedByIds: modifiedByIds,
14578
+ DateCreatedGTE: dateCreatedGte,
14579
+ DateCreatedLTE: dateCreatedLte,
14580
+ IsLive: isLive,
14581
+ SortOrderDirection: sortOrderDirection
14582
+ },
14583
+ errors: {
14584
+ 400: `Bad Request`,
14585
+ 422: `Unprocessable Content`,
14586
+ 500: `Internal Server Error`
14587
+ }
14588
+ });
14589
+ }
14590
+ /**
14591
+ * Returns the number of results in the database given the provided search params.
14592
+ * @returns number OK
14593
+ * @throws ApiError
14594
+ */
14595
+ count({
14596
+ processed,
14597
+ errored,
14598
+ pageNumber,
14599
+ take,
14600
+ skip,
14601
+ limitListRequests,
14602
+ tenantId,
14603
+ modifiedById,
14604
+ modifiedByIds,
14605
+ dateCreatedGte,
14606
+ dateCreatedLte,
14607
+ isLive,
14608
+ sortOrderDirection
14609
+ }) {
14610
+ return this.httpRequest.request({
14611
+ method: "GET",
14612
+ url: "/api/notification-queue/count",
14613
+ query: {
14614
+ Processed: processed,
14615
+ Errored: errored,
14616
+ PageNumber: pageNumber,
14617
+ Take: take,
14618
+ Skip: skip,
14619
+ LimitListRequests: limitListRequests,
14620
+ TenantId: tenantId,
14621
+ ModifiedById: modifiedById,
14622
+ ModifiedByIds: modifiedByIds,
14623
+ DateCreatedGTE: dateCreatedGte,
14624
+ DateCreatedLTE: dateCreatedLte,
14625
+ IsLive: isLive,
14626
+ SortOrderDirection: sortOrderDirection
14627
+ },
14628
+ errors: {
14629
+ 400: `Bad Request`,
14630
+ 422: `Unprocessable Content`,
14631
+ 500: `Internal Server Error`
14632
+ }
14633
+ });
14634
+ }
14635
+ /**
14636
+ * Gets a list of resources unpaged and without references.
14637
+ * @returns NotificationQueue OK
14638
+ * @throws ApiError
14639
+ */
14640
+ getListWithoutReferences({
14641
+ processed,
14642
+ errored,
14643
+ pageNumber,
14644
+ take,
14645
+ skip,
14646
+ limitListRequests,
14647
+ tenantId,
14648
+ modifiedById,
14649
+ modifiedByIds,
14650
+ dateCreatedGte,
14651
+ dateCreatedLte,
14652
+ isLive,
14653
+ sortOrderDirection
14654
+ }) {
14655
+ return this.httpRequest.request({
14656
+ method: "GET",
14657
+ url: "/api/notification-queue/without-references",
14658
+ query: {
14659
+ Processed: processed,
14660
+ Errored: errored,
14661
+ PageNumber: pageNumber,
14662
+ Take: take,
14663
+ Skip: skip,
14664
+ LimitListRequests: limitListRequests,
14665
+ TenantId: tenantId,
14666
+ ModifiedById: modifiedById,
14667
+ ModifiedByIds: modifiedByIds,
14668
+ DateCreatedGTE: dateCreatedGte,
14669
+ DateCreatedLTE: dateCreatedLte,
14670
+ IsLive: isLive,
14671
+ SortOrderDirection: sortOrderDirection
14672
+ },
14673
+ errors: {
14674
+ 400: `Bad Request`,
14675
+ 422: `Unprocessable Content`,
14676
+ 500: `Internal Server Error`
14677
+ }
14678
+ });
14679
+ }
14680
+ /**
14681
+ * Gets a list of resources.
14682
+ * @returns NotificationQueue OK
14683
+ * @throws ApiError
14684
+ */
14685
+ getListIdName({
14686
+ processed,
14687
+ errored,
14688
+ pageNumber,
14689
+ take,
14690
+ skip,
14691
+ limitListRequests,
14692
+ tenantId,
14693
+ modifiedById,
14694
+ modifiedByIds,
14695
+ dateCreatedGte,
14696
+ dateCreatedLte,
14697
+ isLive,
14698
+ sortOrderDirection
14699
+ }) {
14700
+ return this.httpRequest.request({
14701
+ method: "GET",
14702
+ url: "/api/notification-queue/id-name",
14703
+ query: {
14704
+ Processed: processed,
14705
+ Errored: errored,
14706
+ PageNumber: pageNumber,
14707
+ Take: take,
14708
+ Skip: skip,
14709
+ LimitListRequests: limitListRequests,
14710
+ TenantId: tenantId,
14711
+ ModifiedById: modifiedById,
14712
+ ModifiedByIds: modifiedByIds,
14713
+ DateCreatedGTE: dateCreatedGte,
14714
+ DateCreatedLTE: dateCreatedLte,
14715
+ IsLive: isLive,
14716
+ SortOrderDirection: sortOrderDirection
14717
+ },
14718
+ errors: {
14719
+ 400: `Bad Request`,
14720
+ 422: `Unprocessable Content`,
14721
+ 500: `Internal Server Error`
14722
+ }
14723
+ });
14724
+ }
14725
+ }class NotificationSettingsService {
14726
+ constructor(httpRequest) {
14727
+ this.httpRequest = httpRequest;
14728
+ }
14729
+ /**
14730
+ * Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
14731
+ * @returns NotificationSetting OK
14732
+ * @throws ApiError
14733
+ */
14734
+ post({
14735
+ requestBody
14736
+ }) {
14737
+ return this.httpRequest.request({
14738
+ method: "POST",
14739
+ url: "/api/notification-settings/v2-temporary-route",
14740
+ body: requestBody,
14741
+ mediaType: "application/json",
14742
+ errors: {
14743
+ 400: `Bad Request`,
14744
+ 422: `Unprocessable Content`,
14745
+ 500: `Internal Server Error`
14746
+ }
14747
+ });
14748
+ }
14749
+ /**
14750
+ * Patches the resource.
14751
+ * @returns NotificationSetting OK
14752
+ * @throws ApiError
14753
+ */
14754
+ patch({
14755
+ requestBody
14756
+ }) {
14757
+ return this.httpRequest.request({
14758
+ method: "PATCH",
14759
+ url: "/api/notification-settings/v2-temporary-route",
14760
+ body: requestBody,
14761
+ mediaType: "application/json",
14762
+ errors: {
14763
+ 400: `Bad Request`,
14764
+ 422: `Unprocessable Content`,
14765
+ 500: `Internal Server Error`
14766
+ }
14767
+ });
14768
+ }
14769
+ /**
14770
+ * Inserts a list of resources.
14771
+ * @returns NotificationSetting OK
14772
+ * @throws ApiError
14773
+ */
14774
+ postList({
14775
+ requestBody
14776
+ }) {
14777
+ return this.httpRequest.request({
14778
+ method: "POST",
14779
+ url: "/api/notification-settings/v2-temporary-route/list",
14780
+ body: requestBody,
14781
+ mediaType: "application/json",
14782
+ errors: {
14783
+ 400: `Bad Request`,
14784
+ 422: `Unprocessable Content`,
14785
+ 500: `Internal Server Error`
14786
+ }
14787
+ });
14788
+ }
14789
+ /**
14790
+ * Patches the resource.
14791
+ * @returns NotificationSetting OK
14792
+ * @throws ApiError
14793
+ */
14794
+ patchWithReferences({
14795
+ requestBody
14796
+ }) {
14797
+ return this.httpRequest.request({
14798
+ method: "PATCH",
14799
+ url: "/api/notification-settings/v2-temporary-route/with-references",
14800
+ body: requestBody,
14801
+ mediaType: "application/json",
14802
+ errors: {
14803
+ 400: `Bad Request`,
14804
+ 422: `Unprocessable Content`,
14805
+ 500: `Internal Server Error`
14806
+ }
14807
+ });
14808
+ }
14809
+ /**
14810
+ * Deletes the resource.
14811
+ * @returns any OK
14812
+ * @throws ApiError
14813
+ */
14814
+ deleteByObject({
14815
+ requestBody
14816
+ }) {
14817
+ return this.httpRequest.request({
14818
+ method: "DELETE",
14819
+ url: "/api/notification-settings",
14820
+ body: requestBody,
14821
+ mediaType: "application/json",
14822
+ errors: {
14823
+ 400: `Bad Request`,
14824
+ 422: `Unprocessable Content`,
14825
+ 500: `Internal Server Error`
14826
+ }
14827
+ });
14828
+ }
14829
+ /**
14830
+ * Gets a list of resources.
14831
+ * @returns NotificationSettingPage OK
14832
+ * @throws ApiError
14833
+ */
14834
+ getPage({
14835
+ userId,
14836
+ newBooking,
14837
+ cancellation,
14838
+ reschedule,
14839
+ waitlistActivity,
14840
+ waitlistOpportunity,
14841
+ capacityReached,
14842
+ capacity75Percent,
14843
+ stripeConnected,
14844
+ stripeDisconnected,
14845
+ activityScheduleUpdated,
14846
+ activityPriceUpdated,
14847
+ newActivity,
14848
+ paymentReceived,
14849
+ postCompletionSurveyCompleted,
14850
+ pageNumber,
14851
+ take,
14852
+ skip,
14853
+ limitListRequests,
14854
+ tenantId,
14855
+ modifiedById,
14856
+ modifiedByIds,
14857
+ dateCreatedGte,
14858
+ dateCreatedLte,
14859
+ isLive,
14860
+ sortOrderDirection
14861
+ }) {
14862
+ return this.httpRequest.request({
14863
+ method: "GET",
14864
+ url: "/api/notification-settings",
14865
+ query: {
14866
+ UserId: userId,
14867
+ NewBooking: newBooking,
14868
+ Cancellation: cancellation,
14869
+ Reschedule: reschedule,
14870
+ WaitlistActivity: waitlistActivity,
14871
+ WaitlistOpportunity: waitlistOpportunity,
14872
+ CapacityReached: capacityReached,
14873
+ Capacity75Percent: capacity75Percent,
14874
+ StripeConnected: stripeConnected,
14875
+ StripeDisconnected: stripeDisconnected,
14876
+ ActivityScheduleUpdated: activityScheduleUpdated,
14877
+ ActivityPriceUpdated: activityPriceUpdated,
14878
+ NewActivity: newActivity,
14879
+ PaymentReceived: paymentReceived,
14880
+ PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
14881
+ PageNumber: pageNumber,
14882
+ Take: take,
14883
+ Skip: skip,
14884
+ LimitListRequests: limitListRequests,
14885
+ TenantId: tenantId,
14886
+ ModifiedById: modifiedById,
14887
+ ModifiedByIds: modifiedByIds,
14888
+ DateCreatedGTE: dateCreatedGte,
14889
+ DateCreatedLTE: dateCreatedLte,
14890
+ IsLive: isLive,
14891
+ SortOrderDirection: sortOrderDirection
14892
+ },
14893
+ errors: {
14894
+ 400: `Bad Request`,
14895
+ 422: `Unprocessable Content`,
14896
+ 500: `Internal Server Error`
14897
+ }
14898
+ });
14899
+ }
14900
+ /**
14901
+ * Deletes the resource.
14902
+ * @returns any OK
14903
+ * @throws ApiError
14904
+ */
14905
+ deleteById({
14906
+ id
14907
+ }) {
14908
+ return this.httpRequest.request({
14909
+ method: "DELETE",
14910
+ url: "/api/notification-settings/{id}",
14911
+ path: {
14912
+ id
14913
+ },
14914
+ errors: {
14915
+ 400: `Bad Request`,
14916
+ 422: `Unprocessable Content`,
14917
+ 500: `Internal Server Error`
14918
+ }
14919
+ });
14920
+ }
14921
+ /**
14922
+ * Gets the resource by its Id.
14923
+ * @returns NotificationSetting OK
14924
+ * @throws ApiError
14925
+ */
14926
+ getObject({
14927
+ id
14928
+ }) {
14929
+ return this.httpRequest.request({
14930
+ method: "GET",
14931
+ url: "/api/notification-settings/{id}",
14932
+ path: {
14933
+ id
14934
+ },
14935
+ errors: {
14936
+ 400: `Bad Request`,
14937
+ 422: `Unprocessable Content`,
14938
+ 500: `Internal Server Error`
14939
+ }
14940
+ });
14941
+ }
14942
+ /**
14943
+ * Returns a value indicating whether the resource is deletable.
14944
+ * @returns boolean OK
14945
+ * @throws ApiError
14946
+ */
14947
+ canDelete({
14948
+ id
14949
+ }) {
14950
+ return this.httpRequest.request({
14951
+ method: "GET",
14952
+ url: "/api/notification-settings/{id}/deletable",
14953
+ path: {
14954
+ id
14955
+ },
14956
+ errors: {
14957
+ 400: `Bad Request`,
14958
+ 422: `Unprocessable Content`,
14959
+ 500: `Internal Server Error`
14960
+ }
14961
+ });
14962
+ }
14963
+ /**
14964
+ * Returns a value indicating whether the resource exists in the database given the provided search params.
14965
+ * @returns boolean OK
14966
+ * @throws ApiError
14967
+ */
14968
+ exists({
14969
+ userId,
14970
+ newBooking,
14971
+ cancellation,
14972
+ reschedule,
14973
+ waitlistActivity,
14974
+ waitlistOpportunity,
14975
+ capacityReached,
14976
+ capacity75Percent,
14977
+ stripeConnected,
14978
+ stripeDisconnected,
14979
+ activityScheduleUpdated,
14980
+ activityPriceUpdated,
14981
+ newActivity,
14982
+ paymentReceived,
14983
+ postCompletionSurveyCompleted,
14984
+ pageNumber,
14985
+ take,
14986
+ skip,
14987
+ limitListRequests,
14988
+ tenantId,
14989
+ modifiedById,
14990
+ modifiedByIds,
14991
+ dateCreatedGte,
14992
+ dateCreatedLte,
14993
+ isLive,
14994
+ sortOrderDirection
14995
+ }) {
14996
+ return this.httpRequest.request({
14997
+ method: "GET",
14998
+ url: "/api/notification-settings/exists",
14999
+ query: {
15000
+ UserId: userId,
15001
+ NewBooking: newBooking,
15002
+ Cancellation: cancellation,
15003
+ Reschedule: reschedule,
15004
+ WaitlistActivity: waitlistActivity,
15005
+ WaitlistOpportunity: waitlistOpportunity,
15006
+ CapacityReached: capacityReached,
15007
+ Capacity75Percent: capacity75Percent,
15008
+ StripeConnected: stripeConnected,
15009
+ StripeDisconnected: stripeDisconnected,
15010
+ ActivityScheduleUpdated: activityScheduleUpdated,
15011
+ ActivityPriceUpdated: activityPriceUpdated,
15012
+ NewActivity: newActivity,
15013
+ PaymentReceived: paymentReceived,
15014
+ PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
15015
+ PageNumber: pageNumber,
15016
+ Take: take,
15017
+ Skip: skip,
15018
+ LimitListRequests: limitListRequests,
15019
+ TenantId: tenantId,
15020
+ ModifiedById: modifiedById,
15021
+ ModifiedByIds: modifiedByIds,
15022
+ DateCreatedGTE: dateCreatedGte,
15023
+ DateCreatedLTE: dateCreatedLte,
15024
+ IsLive: isLive,
15025
+ SortOrderDirection: sortOrderDirection
15026
+ },
15027
+ errors: {
15028
+ 400: `Bad Request`,
15029
+ 422: `Unprocessable Content`,
15030
+ 500: `Internal Server Error`
15031
+ }
15032
+ });
15033
+ }
15034
+ /**
15035
+ * Returns the number of results in the database given the provided search params.
15036
+ * @returns number OK
15037
+ * @throws ApiError
15038
+ */
15039
+ count({
15040
+ userId,
15041
+ newBooking,
15042
+ cancellation,
15043
+ reschedule,
15044
+ waitlistActivity,
15045
+ waitlistOpportunity,
15046
+ capacityReached,
15047
+ capacity75Percent,
15048
+ stripeConnected,
15049
+ stripeDisconnected,
15050
+ activityScheduleUpdated,
15051
+ activityPriceUpdated,
15052
+ newActivity,
15053
+ paymentReceived,
15054
+ postCompletionSurveyCompleted,
15055
+ pageNumber,
15056
+ take,
15057
+ skip,
15058
+ limitListRequests,
15059
+ tenantId,
15060
+ modifiedById,
15061
+ modifiedByIds,
15062
+ dateCreatedGte,
15063
+ dateCreatedLte,
15064
+ isLive,
15065
+ sortOrderDirection
15066
+ }) {
15067
+ return this.httpRequest.request({
15068
+ method: "GET",
15069
+ url: "/api/notification-settings/count",
15070
+ query: {
15071
+ UserId: userId,
15072
+ NewBooking: newBooking,
15073
+ Cancellation: cancellation,
15074
+ Reschedule: reschedule,
15075
+ WaitlistActivity: waitlistActivity,
15076
+ WaitlistOpportunity: waitlistOpportunity,
15077
+ CapacityReached: capacityReached,
15078
+ Capacity75Percent: capacity75Percent,
15079
+ StripeConnected: stripeConnected,
15080
+ StripeDisconnected: stripeDisconnected,
15081
+ ActivityScheduleUpdated: activityScheduleUpdated,
15082
+ ActivityPriceUpdated: activityPriceUpdated,
15083
+ NewActivity: newActivity,
15084
+ PaymentReceived: paymentReceived,
15085
+ PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
13477
15086
  PageNumber: pageNumber,
13478
15087
  Take: take,
13479
15088
  Skip: skip,
@@ -21153,7 +22762,8 @@ const request = (config, options, axiosClient = axios) => {
21153
22762
  xTenantSubdomain,
21154
22763
  startDateTimeGte,
21155
22764
  venueId,
21156
- programmeId
22765
+ programmeId,
22766
+ providerId
21157
22767
  }) {
21158
22768
  return this.httpRequest.request({
21159
22769
  method: "GET",
@@ -21164,7 +22774,8 @@ const request = (config, options, axiosClient = axios) => {
21164
22774
  query: {
21165
22775
  StartDateTimeGTE: startDateTimeGte,
21166
22776
  VenueId: venueId,
21167
- ProgrammeId: programmeId
22777
+ ProgrammeId: programmeId,
22778
+ ProviderId: providerId
21168
22779
  },
21169
22780
  errors: {
21170
22781
  400: `Bad Request`,
@@ -21626,6 +23237,7 @@ const request = (config, options, axiosClient = axios) => {
21626
23237
  wildcard,
21627
23238
  displayEmail,
21628
23239
  venueId,
23240
+ providerId,
21629
23241
  programmeId,
21630
23242
  marketingOptIn,
21631
23243
  isActiveCustomer,
@@ -21652,6 +23264,7 @@ const request = (config, options, axiosClient = axios) => {
21652
23264
  Wildcard: wildcard,
21653
23265
  DisplayEmail: displayEmail,
21654
23266
  VenueId: venueId,
23267
+ ProviderId: providerId,
21655
23268
  ProgrammeId: programmeId,
21656
23269
  MarketingOptIn: marketingOptIn,
21657
23270
  IsActiveCustomer: isActiveCustomer,
@@ -21806,6 +23419,7 @@ const request = (config, options, axiosClient = axios) => {
21806
23419
  wildcard,
21807
23420
  displayEmail,
21808
23421
  venueId,
23422
+ providerId,
21809
23423
  programmeId,
21810
23424
  marketingOptIn,
21811
23425
  isActiveCustomer,
@@ -21832,6 +23446,7 @@ const request = (config, options, axiosClient = axios) => {
21832
23446
  Wildcard: wildcard,
21833
23447
  DisplayEmail: displayEmail,
21834
23448
  VenueId: venueId,
23449
+ ProviderId: providerId,
21835
23450
  ProgrammeId: programmeId,
21836
23451
  MarketingOptIn: marketingOptIn,
21837
23452
  IsActiveCustomer: isActiveCustomer,
@@ -25354,6 +26969,7 @@ const request = (config, options, axiosClient = axios) => {
25354
26969
  ids,
25355
26970
  venueId,
25356
26971
  programmeId,
26972
+ providerId,
25357
26973
  sessionId,
25358
26974
  sessionIds,
25359
26975
  scheduleId,
@@ -25401,6 +27017,7 @@ const request = (config, options, axiosClient = axios) => {
25401
27017
  Ids: ids,
25402
27018
  VenueId: venueId,
25403
27019
  ProgrammeId: programmeId,
27020
+ ProviderId: providerId,
25404
27021
  SessionId: sessionId,
25405
27022
  SessionIds: sessionIds,
25406
27023
  ScheduleId: scheduleId,
@@ -25551,6 +27168,7 @@ const request = (config, options, axiosClient = axios) => {
25551
27168
  ids,
25552
27169
  venueId,
25553
27170
  programmeId,
27171
+ providerId,
25554
27172
  sessionId,
25555
27173
  sessionIds,
25556
27174
  scheduleId,
@@ -25598,344 +27216,347 @@ const request = (config, options, axiosClient = axios) => {
25598
27216
  Ids: ids,
25599
27217
  VenueId: venueId,
25600
27218
  ProgrammeId: programmeId,
25601
- SessionId: sessionId,
25602
- SessionIds: sessionIds,
25603
- ScheduleId: scheduleId,
25604
- Status: status,
25605
- Statuses: statuses,
25606
- BookingStatus: bookingStatus,
25607
- StartDateTimeLTE: startDateTimeLte,
25608
- StartDateTimeGTE: startDateTimeGte,
25609
- EndDateTimeLTE: endDateTimeLte,
25610
- EndDateTimeGTE: endDateTimeGte,
25611
- RemainingUsesLTE: remainingUsesLte,
25612
- RemainingUsesGTE: remainingUsesGte,
25613
- FutureOnly: futureOnly,
25614
- BookableOnly: bookableOnly,
25615
- IncludeImages: includeImages,
25616
- IncludeVenue: includeVenue,
25617
- IncludeOffers: includeOffers,
25618
- IncludeOrders: includeOrders,
25619
- HasAvailability: hasAvailability,
25620
- ExcludeArchived: excludeArchived,
25621
- ExcludePrivate: excludePrivate,
25622
- OrderFirstNameContains: orderFirstNameContains,
25623
- OrderLastNameContains: orderLastNameContains,
25624
- SortBy: sortBy,
25625
- PostCompletionEmailSent: postCompletionEmailSent,
25626
- PageNumber: pageNumber,
25627
- Take: take,
25628
- Skip: skip,
25629
- LimitListRequests: limitListRequests,
25630
- TenantId: tenantId,
25631
- ModifiedById: modifiedById,
25632
- ModifiedByIds: modifiedByIds,
25633
- DateCreatedGTE: dateCreatedGte,
25634
- DateCreatedLTE: dateCreatedLte,
25635
- IsLive: isLive,
25636
- SortOrderDirection: sortOrderDirection
25637
- },
25638
- errors: {
25639
- 400: `Bad Request`,
25640
- 422: `Unprocessable Content`,
25641
- 500: `Internal Server Error`
25642
- }
25643
- });
25644
- }
25645
- }class PublicSessionsService {
25646
- constructor(httpRequest) {
25647
- this.httpRequest = httpRequest;
25648
- }
25649
- /**
25650
- * @returns Session OK
25651
- * @throws ApiError
25652
- */
25653
- getObject({
25654
- id,
25655
- xTenantSubdomain
25656
- }) {
25657
- return this.httpRequest.request({
25658
- method: "GET",
25659
- url: "/api/public/sessions/{id}",
25660
- path: {
25661
- id
25662
- },
25663
- headers: {
25664
- x_tenant_subdomain: xTenantSubdomain
25665
- },
25666
- errors: {
25667
- 400: `Bad Request`,
25668
- 422: `Unprocessable Content`,
25669
- 500: `Internal Server Error`
25670
- }
25671
- });
25672
- }
25673
- /**
25674
- * Deletes the resource.
25675
- * @returns any OK
25676
- * @throws ApiError
25677
- */
25678
- deleteById({
25679
- id,
25680
- xTenantSubdomain
25681
- }) {
25682
- return this.httpRequest.request({
25683
- method: "DELETE",
25684
- url: "/api/public/sessions/{id}",
25685
- path: {
25686
- id
25687
- },
25688
- headers: {
25689
- x_tenant_subdomain: xTenantSubdomain
25690
- },
25691
- errors: {
25692
- 400: `Bad Request`,
25693
- 422: `Unprocessable Content`,
25694
- 500: `Internal Server Error`
25695
- }
25696
- });
25697
- }
25698
- /**
25699
- * @returns SessionPage OK
25700
- * @throws ApiError
25701
- */
25702
- getPage({
25703
- xTenantSubdomain,
25704
- ids,
25705
- venueId,
25706
- surveyId,
25707
- cancellationPolicyId,
25708
- paymentPolicyId,
25709
- futureOnly,
25710
- online,
25711
- featured,
25712
- _private,
25713
- programmeId,
25714
- includeNextOpportunity,
25715
- allowTemplating,
25716
- archived,
25717
- deleted,
25718
- openActiveUpdate,
25719
- dashboardRequest,
25720
- networkId,
25721
- distance,
25722
- minAgeLte,
25723
- minAgeGte,
25724
- maxAgeLte,
25725
- maxAgeGte,
25726
- priceTotalGte,
25727
- priceTotalLte,
25728
- timeOfDay,
25729
- startDateTimeGte,
25730
- endDateTimeLte,
25731
- gender,
25732
- periodsOfWeek,
25733
- searchGeoCenter,
25734
- templateFieldPermissionsId,
25735
- templateFieldPermissionsIds,
25736
- pageNumber,
25737
- take,
25738
- skip,
25739
- limitListRequests,
25740
- tenantId,
25741
- modifiedById,
25742
- modifiedByIds,
25743
- dateCreatedGte,
25744
- dateCreatedLte,
25745
- isLive,
25746
- sortOrderDirection
25747
- }) {
25748
- return this.httpRequest.request({
25749
- method: "GET",
25750
- url: "/api/public/sessions",
25751
- headers: {
25752
- x_tenant_subdomain: xTenantSubdomain
25753
- },
25754
- query: {
25755
- Ids: ids,
25756
- VenueId: venueId,
25757
- SurveyId: surveyId,
25758
- CancellationPolicyId: cancellationPolicyId,
25759
- PaymentPolicyId: paymentPolicyId,
25760
- FutureOnly: futureOnly,
25761
- Online: online,
25762
- Featured: featured,
25763
- Private: _private,
25764
- ProgrammeId: programmeId,
25765
- IncludeNextOpportunity: includeNextOpportunity,
25766
- AllowTemplating: allowTemplating,
25767
- Archived: archived,
25768
- Deleted: deleted,
25769
- OpenActiveUpdate: openActiveUpdate,
25770
- DashboardRequest: dashboardRequest,
25771
- NetworkId: networkId,
25772
- Distance: distance,
25773
- MinAgeLTE: minAgeLte,
25774
- MinAgeGTE: minAgeGte,
25775
- MaxAgeLTE: maxAgeLte,
25776
- MaxAgeGTE: maxAgeGte,
25777
- PriceTotalGTE: priceTotalGte,
25778
- PriceTotalLTE: priceTotalLte,
25779
- TimeOfDay: timeOfDay,
25780
- StartDateTimeGTE: startDateTimeGte,
25781
- EndDateTimeLTE: endDateTimeLte,
25782
- Gender: gender,
25783
- PeriodsOfWeek: periodsOfWeek,
25784
- SearchGeoCenter: searchGeoCenter,
25785
- TemplateFieldPermissionsId: templateFieldPermissionsId,
25786
- TemplateFieldPermissionsIds: templateFieldPermissionsIds,
25787
- PageNumber: pageNumber,
25788
- Take: take,
25789
- Skip: skip,
25790
- LimitListRequests: limitListRequests,
25791
- TenantId: tenantId,
25792
- ModifiedById: modifiedById,
25793
- ModifiedByIds: modifiedByIds,
25794
- DateCreatedGTE: dateCreatedGte,
25795
- DateCreatedLTE: dateCreatedLte,
25796
- IsLive: isLive,
25797
- SortOrderDirection: sortOrderDirection
25798
- },
25799
- errors: {
25800
- 400: `Bad Request`,
25801
- 422: `Unprocessable Content`,
25802
- 500: `Internal Server Error`
25803
- }
25804
- });
25805
- }
25806
- /**
25807
- * Deletes the resource.
25808
- * @returns any OK
25809
- * @throws ApiError
25810
- */
25811
- deleteByObject({
25812
- xTenantSubdomain,
25813
- requestBody
25814
- }) {
25815
- return this.httpRequest.request({
25816
- method: "DELETE",
25817
- url: "/api/public/sessions",
25818
- headers: {
25819
- x_tenant_subdomain: xTenantSubdomain
25820
- },
25821
- body: requestBody,
25822
- mediaType: "application/json",
25823
- errors: {
25824
- 400: `Bad Request`,
25825
- 422: `Unprocessable Content`,
25826
- 500: `Internal Server Error`
25827
- }
25828
- });
25829
- }
25830
- /**
25831
- * Gets a list of valid opportunities for rescheduling, based on the quanity required to reschedule.
25832
- * @returns ScheduledSession OK
25833
- * @throws ApiError
25834
- */
25835
- getValidOpportunitiesForReschedule({
25836
- sessionId,
25837
- quantity,
25838
- xTenantSubdomain
25839
- }) {
25840
- return this.httpRequest.request({
25841
- method: "GET",
25842
- url: "/api/public/sessions/{sessionId}/valid-opportunities-for-reschedule/{quantity}",
25843
- path: {
25844
- sessionId,
25845
- quantity
25846
- },
25847
- headers: {
25848
- x_tenant_subdomain: xTenantSubdomain
25849
- },
25850
- errors: {
25851
- 400: `Bad Request`,
25852
- 422: `Unprocessable Content`,
25853
- 500: `Internal Server Error`
25854
- }
25855
- });
25856
- }
25857
- /**
25858
- * Gets public custom field definitions with their current values for a session.
25859
- * @returns CustomFieldDefinitionWithValue OK
25860
- * @throws ApiError
25861
- */
25862
- getPublicCustomFields({
25863
- sessionId,
25864
- xTenantSubdomain
25865
- }) {
25866
- return this.httpRequest.request({
25867
- method: "GET",
25868
- url: "/api/public/sessions/{sessionId}/custom-fields",
25869
- path: {
25870
- sessionId
25871
- },
25872
- headers: {
25873
- x_tenant_subdomain: xTenantSubdomain
25874
- },
25875
- errors: {
25876
- 400: `Bad Request`,
25877
- 422: `Unprocessable Content`,
25878
- 500: `Internal Server Error`
25879
- }
25880
- });
25881
- }
25882
- /**
25883
- * Returns distinct slot dates without time information.
25884
- * @returns any OK
25885
- * @throws ApiError
25886
- */
25887
- getDistinctSlotDates({
25888
- xTenantSubdomain,
25889
- ids,
25890
- venueId,
25891
- programmeId,
25892
- sessionId,
25893
- sessionIds,
25894
- scheduleId,
25895
- status,
25896
- statuses,
25897
- bookingStatus,
25898
- startDateTimeLte,
25899
- startDateTimeGte,
25900
- endDateTimeLte,
25901
- endDateTimeGte,
25902
- remainingUsesLte,
25903
- remainingUsesGte,
25904
- futureOnly,
25905
- bookableOnly,
25906
- includeImages,
25907
- includeVenue,
25908
- includeOffers,
25909
- includeOrders,
25910
- hasAvailability,
25911
- excludeArchived,
25912
- excludePrivate,
25913
- orderFirstNameContains,
25914
- orderLastNameContains,
25915
- sortBy,
25916
- postCompletionEmailSent,
25917
- pageNumber,
25918
- take,
25919
- skip,
25920
- limitListRequests,
25921
- tenantId,
25922
- modifiedById,
25923
- modifiedByIds,
25924
- dateCreatedGte,
25925
- dateCreatedLte,
25926
- isLive,
25927
- sortOrderDirection
25928
- }) {
25929
- return this.httpRequest.request({
25930
- method: "GET",
25931
- url: "/api/public/sessions/distinct-dates",
25932
- headers: {
25933
- x_tenant_subdomain: xTenantSubdomain
25934
- },
25935
- query: {
25936
- Ids: ids,
25937
- VenueId: venueId,
25938
- ProgrammeId: programmeId,
27219
+ ProviderId: providerId,
27220
+ SessionId: sessionId,
27221
+ SessionIds: sessionIds,
27222
+ ScheduleId: scheduleId,
27223
+ Status: status,
27224
+ Statuses: statuses,
27225
+ BookingStatus: bookingStatus,
27226
+ StartDateTimeLTE: startDateTimeLte,
27227
+ StartDateTimeGTE: startDateTimeGte,
27228
+ EndDateTimeLTE: endDateTimeLte,
27229
+ EndDateTimeGTE: endDateTimeGte,
27230
+ RemainingUsesLTE: remainingUsesLte,
27231
+ RemainingUsesGTE: remainingUsesGte,
27232
+ FutureOnly: futureOnly,
27233
+ BookableOnly: bookableOnly,
27234
+ IncludeImages: includeImages,
27235
+ IncludeVenue: includeVenue,
27236
+ IncludeOffers: includeOffers,
27237
+ IncludeOrders: includeOrders,
27238
+ HasAvailability: hasAvailability,
27239
+ ExcludeArchived: excludeArchived,
27240
+ ExcludePrivate: excludePrivate,
27241
+ OrderFirstNameContains: orderFirstNameContains,
27242
+ OrderLastNameContains: orderLastNameContains,
27243
+ SortBy: sortBy,
27244
+ PostCompletionEmailSent: postCompletionEmailSent,
27245
+ PageNumber: pageNumber,
27246
+ Take: take,
27247
+ Skip: skip,
27248
+ LimitListRequests: limitListRequests,
27249
+ TenantId: tenantId,
27250
+ ModifiedById: modifiedById,
27251
+ ModifiedByIds: modifiedByIds,
27252
+ DateCreatedGTE: dateCreatedGte,
27253
+ DateCreatedLTE: dateCreatedLte,
27254
+ IsLive: isLive,
27255
+ SortOrderDirection: sortOrderDirection
27256
+ },
27257
+ errors: {
27258
+ 400: `Bad Request`,
27259
+ 422: `Unprocessable Content`,
27260
+ 500: `Internal Server Error`
27261
+ }
27262
+ });
27263
+ }
27264
+ }class PublicSessionsService {
27265
+ constructor(httpRequest) {
27266
+ this.httpRequest = httpRequest;
27267
+ }
27268
+ /**
27269
+ * @returns Session OK
27270
+ * @throws ApiError
27271
+ */
27272
+ getObject({
27273
+ id,
27274
+ xTenantSubdomain
27275
+ }) {
27276
+ return this.httpRequest.request({
27277
+ method: "GET",
27278
+ url: "/api/public/sessions/{id}",
27279
+ path: {
27280
+ id
27281
+ },
27282
+ headers: {
27283
+ x_tenant_subdomain: xTenantSubdomain
27284
+ },
27285
+ errors: {
27286
+ 400: `Bad Request`,
27287
+ 422: `Unprocessable Content`,
27288
+ 500: `Internal Server Error`
27289
+ }
27290
+ });
27291
+ }
27292
+ /**
27293
+ * Deletes the resource.
27294
+ * @returns any OK
27295
+ * @throws ApiError
27296
+ */
27297
+ deleteById({
27298
+ id,
27299
+ xTenantSubdomain
27300
+ }) {
27301
+ return this.httpRequest.request({
27302
+ method: "DELETE",
27303
+ url: "/api/public/sessions/{id}",
27304
+ path: {
27305
+ id
27306
+ },
27307
+ headers: {
27308
+ x_tenant_subdomain: xTenantSubdomain
27309
+ },
27310
+ errors: {
27311
+ 400: `Bad Request`,
27312
+ 422: `Unprocessable Content`,
27313
+ 500: `Internal Server Error`
27314
+ }
27315
+ });
27316
+ }
27317
+ /**
27318
+ * @returns SessionPage OK
27319
+ * @throws ApiError
27320
+ */
27321
+ getPage({
27322
+ xTenantSubdomain,
27323
+ ids,
27324
+ venueId,
27325
+ surveyId,
27326
+ cancellationPolicyId,
27327
+ paymentPolicyId,
27328
+ futureOnly,
27329
+ online,
27330
+ featured,
27331
+ _private,
27332
+ programmeId,
27333
+ includeNextOpportunity,
27334
+ allowTemplating,
27335
+ archived,
27336
+ deleted,
27337
+ openActiveUpdate,
27338
+ dashboardRequest,
27339
+ networkId,
27340
+ distance,
27341
+ minAgeLte,
27342
+ minAgeGte,
27343
+ maxAgeLte,
27344
+ maxAgeGte,
27345
+ priceTotalGte,
27346
+ priceTotalLte,
27347
+ timeOfDay,
27348
+ startDateTimeGte,
27349
+ endDateTimeLte,
27350
+ gender,
27351
+ periodsOfWeek,
27352
+ searchGeoCenter,
27353
+ templateFieldPermissionsId,
27354
+ templateFieldPermissionsIds,
27355
+ pageNumber,
27356
+ take,
27357
+ skip,
27358
+ limitListRequests,
27359
+ tenantId,
27360
+ modifiedById,
27361
+ modifiedByIds,
27362
+ dateCreatedGte,
27363
+ dateCreatedLte,
27364
+ isLive,
27365
+ sortOrderDirection
27366
+ }) {
27367
+ return this.httpRequest.request({
27368
+ method: "GET",
27369
+ url: "/api/public/sessions",
27370
+ headers: {
27371
+ x_tenant_subdomain: xTenantSubdomain
27372
+ },
27373
+ query: {
27374
+ Ids: ids,
27375
+ VenueId: venueId,
27376
+ SurveyId: surveyId,
27377
+ CancellationPolicyId: cancellationPolicyId,
27378
+ PaymentPolicyId: paymentPolicyId,
27379
+ FutureOnly: futureOnly,
27380
+ Online: online,
27381
+ Featured: featured,
27382
+ Private: _private,
27383
+ ProgrammeId: programmeId,
27384
+ IncludeNextOpportunity: includeNextOpportunity,
27385
+ AllowTemplating: allowTemplating,
27386
+ Archived: archived,
27387
+ Deleted: deleted,
27388
+ OpenActiveUpdate: openActiveUpdate,
27389
+ DashboardRequest: dashboardRequest,
27390
+ NetworkId: networkId,
27391
+ Distance: distance,
27392
+ MinAgeLTE: minAgeLte,
27393
+ MinAgeGTE: minAgeGte,
27394
+ MaxAgeLTE: maxAgeLte,
27395
+ MaxAgeGTE: maxAgeGte,
27396
+ PriceTotalGTE: priceTotalGte,
27397
+ PriceTotalLTE: priceTotalLte,
27398
+ TimeOfDay: timeOfDay,
27399
+ StartDateTimeGTE: startDateTimeGte,
27400
+ EndDateTimeLTE: endDateTimeLte,
27401
+ Gender: gender,
27402
+ PeriodsOfWeek: periodsOfWeek,
27403
+ SearchGeoCenter: searchGeoCenter,
27404
+ TemplateFieldPermissionsId: templateFieldPermissionsId,
27405
+ TemplateFieldPermissionsIds: templateFieldPermissionsIds,
27406
+ PageNumber: pageNumber,
27407
+ Take: take,
27408
+ Skip: skip,
27409
+ LimitListRequests: limitListRequests,
27410
+ TenantId: tenantId,
27411
+ ModifiedById: modifiedById,
27412
+ ModifiedByIds: modifiedByIds,
27413
+ DateCreatedGTE: dateCreatedGte,
27414
+ DateCreatedLTE: dateCreatedLte,
27415
+ IsLive: isLive,
27416
+ SortOrderDirection: sortOrderDirection
27417
+ },
27418
+ errors: {
27419
+ 400: `Bad Request`,
27420
+ 422: `Unprocessable Content`,
27421
+ 500: `Internal Server Error`
27422
+ }
27423
+ });
27424
+ }
27425
+ /**
27426
+ * Deletes the resource.
27427
+ * @returns any OK
27428
+ * @throws ApiError
27429
+ */
27430
+ deleteByObject({
27431
+ xTenantSubdomain,
27432
+ requestBody
27433
+ }) {
27434
+ return this.httpRequest.request({
27435
+ method: "DELETE",
27436
+ url: "/api/public/sessions",
27437
+ headers: {
27438
+ x_tenant_subdomain: xTenantSubdomain
27439
+ },
27440
+ body: requestBody,
27441
+ mediaType: "application/json",
27442
+ errors: {
27443
+ 400: `Bad Request`,
27444
+ 422: `Unprocessable Content`,
27445
+ 500: `Internal Server Error`
27446
+ }
27447
+ });
27448
+ }
27449
+ /**
27450
+ * Gets a list of valid opportunities for rescheduling, based on the quanity required to reschedule.
27451
+ * @returns ScheduledSession OK
27452
+ * @throws ApiError
27453
+ */
27454
+ getValidOpportunitiesForReschedule({
27455
+ sessionId,
27456
+ quantity,
27457
+ xTenantSubdomain
27458
+ }) {
27459
+ return this.httpRequest.request({
27460
+ method: "GET",
27461
+ url: "/api/public/sessions/{sessionId}/valid-opportunities-for-reschedule/{quantity}",
27462
+ path: {
27463
+ sessionId,
27464
+ quantity
27465
+ },
27466
+ headers: {
27467
+ x_tenant_subdomain: xTenantSubdomain
27468
+ },
27469
+ errors: {
27470
+ 400: `Bad Request`,
27471
+ 422: `Unprocessable Content`,
27472
+ 500: `Internal Server Error`
27473
+ }
27474
+ });
27475
+ }
27476
+ /**
27477
+ * Gets public custom field definitions with their current values for a session.
27478
+ * @returns CustomFieldDefinitionWithValue OK
27479
+ * @throws ApiError
27480
+ */
27481
+ getPublicCustomFields({
27482
+ sessionId,
27483
+ xTenantSubdomain
27484
+ }) {
27485
+ return this.httpRequest.request({
27486
+ method: "GET",
27487
+ url: "/api/public/sessions/{sessionId}/custom-fields",
27488
+ path: {
27489
+ sessionId
27490
+ },
27491
+ headers: {
27492
+ x_tenant_subdomain: xTenantSubdomain
27493
+ },
27494
+ errors: {
27495
+ 400: `Bad Request`,
27496
+ 422: `Unprocessable Content`,
27497
+ 500: `Internal Server Error`
27498
+ }
27499
+ });
27500
+ }
27501
+ /**
27502
+ * Returns distinct slot dates without time information.
27503
+ * @returns any OK
27504
+ * @throws ApiError
27505
+ */
27506
+ getDistinctSlotDates({
27507
+ xTenantSubdomain,
27508
+ ids,
27509
+ venueId,
27510
+ programmeId,
27511
+ providerId,
27512
+ sessionId,
27513
+ sessionIds,
27514
+ scheduleId,
27515
+ status,
27516
+ statuses,
27517
+ bookingStatus,
27518
+ startDateTimeLte,
27519
+ startDateTimeGte,
27520
+ endDateTimeLte,
27521
+ endDateTimeGte,
27522
+ remainingUsesLte,
27523
+ remainingUsesGte,
27524
+ futureOnly,
27525
+ bookableOnly,
27526
+ includeImages,
27527
+ includeVenue,
27528
+ includeOffers,
27529
+ includeOrders,
27530
+ hasAvailability,
27531
+ excludeArchived,
27532
+ excludePrivate,
27533
+ orderFirstNameContains,
27534
+ orderLastNameContains,
27535
+ sortBy,
27536
+ postCompletionEmailSent,
27537
+ pageNumber,
27538
+ take,
27539
+ skip,
27540
+ limitListRequests,
27541
+ tenantId,
27542
+ modifiedById,
27543
+ modifiedByIds,
27544
+ dateCreatedGte,
27545
+ dateCreatedLte,
27546
+ isLive,
27547
+ sortOrderDirection
27548
+ }) {
27549
+ return this.httpRequest.request({
27550
+ method: "GET",
27551
+ url: "/api/public/sessions/distinct-dates",
27552
+ headers: {
27553
+ x_tenant_subdomain: xTenantSubdomain
27554
+ },
27555
+ query: {
27556
+ Ids: ids,
27557
+ VenueId: venueId,
27558
+ ProgrammeId: programmeId,
27559
+ ProviderId: providerId,
25939
27560
  SessionId: sessionId,
25940
27561
  SessionIds: sessionIds,
25941
27562
  ScheduleId: scheduleId,
@@ -27795,6 +29416,8 @@ const request = (config, options, axiosClient = axios) => {
27795
29416
  dashboardRequest,
27796
29417
  programmeIds,
27797
29418
  venueTypeIds,
29419
+ providerId,
29420
+ providerIds,
27798
29421
  pageNumber,
27799
29422
  take,
27800
29423
  skip,
@@ -27836,6 +29459,8 @@ const request = (config, options, axiosClient = axios) => {
27836
29459
  DashboardRequest: dashboardRequest,
27837
29460
  ProgrammeIds: programmeIds,
27838
29461
  VenueTypeIds: venueTypeIds,
29462
+ ProviderId: providerId,
29463
+ ProviderIds: providerIds,
27839
29464
  PageNumber: pageNumber,
27840
29465
  Take: take,
27841
29466
  Skip: skip,
@@ -27907,6 +29532,8 @@ const request = (config, options, axiosClient = axios) => {
27907
29532
  dashboardRequest,
27908
29533
  programmeIds,
27909
29534
  venueTypeIds,
29535
+ providerId,
29536
+ providerIds,
27910
29537
  pageNumber,
27911
29538
  take,
27912
29539
  skip,
@@ -27945,6 +29572,8 @@ const request = (config, options, axiosClient = axios) => {
27945
29572
  DashboardRequest: dashboardRequest,
27946
29573
  ProgrammeIds: programmeIds,
27947
29574
  VenueTypeIds: venueTypeIds,
29575
+ ProviderId: providerId,
29576
+ ProviderIds: providerIds,
27948
29577
  PageNumber: pageNumber,
27949
29578
  Take: take,
27950
29579
  Skip: skip,
@@ -27992,6 +29621,8 @@ const request = (config, options, axiosClient = axios) => {
27992
29621
  dashboardRequest,
27993
29622
  programmeIds,
27994
29623
  venueTypeIds,
29624
+ providerId,
29625
+ providerIds,
27995
29626
  pageNumber,
27996
29627
  take,
27997
29628
  skip,
@@ -28030,6 +29661,8 @@ const request = (config, options, axiosClient = axios) => {
28030
29661
  DashboardRequest: dashboardRequest,
28031
29662
  ProgrammeIds: programmeIds,
28032
29663
  VenueTypeIds: venueTypeIds,
29664
+ ProviderId: providerId,
29665
+ ProviderIds: providerIds,
28033
29666
  PageNumber: pageNumber,
28034
29667
  Take: take,
28035
29668
  Skip: skip,
@@ -28175,6 +29808,8 @@ const request = (config, options, axiosClient = axios) => {
28175
29808
  dashboardRequest,
28176
29809
  programmeIds,
28177
29810
  venueTypeIds,
29811
+ providerId,
29812
+ providerIds,
28178
29813
  pageNumber,
28179
29814
  take,
28180
29815
  skip,
@@ -28216,6 +29851,8 @@ const request = (config, options, axiosClient = axios) => {
28216
29851
  DashboardRequest: dashboardRequest,
28217
29852
  ProgrammeIds: programmeIds,
28218
29853
  VenueTypeIds: venueTypeIds,
29854
+ ProviderId: providerId,
29855
+ ProviderIds: providerIds,
28219
29856
  PageNumber: pageNumber,
28220
29857
  Take: take,
28221
29858
  Skip: skip,
@@ -30645,6 +32282,7 @@ const request = (config, options, axiosClient = axios) => {
30645
32282
  ids,
30646
32283
  venueId,
30647
32284
  programmeId,
32285
+ providerId,
30648
32286
  sessionId,
30649
32287
  sessionIds,
30650
32288
  scheduleId,
@@ -30689,6 +32327,7 @@ const request = (config, options, axiosClient = axios) => {
30689
32327
  Ids: ids,
30690
32328
  VenueId: venueId,
30691
32329
  ProgrammeId: programmeId,
32330
+ ProviderId: providerId,
30692
32331
  SessionId: sessionId,
30693
32332
  SessionIds: sessionIds,
30694
32333
  ScheduleId: scheduleId,
@@ -30805,6 +32444,7 @@ const request = (config, options, axiosClient = axios) => {
30805
32444
  ids,
30806
32445
  venueId,
30807
32446
  programmeId,
32447
+ providerId,
30808
32448
  sessionId,
30809
32449
  sessionIds,
30810
32450
  scheduleId,
@@ -30849,6 +32489,7 @@ const request = (config, options, axiosClient = axios) => {
30849
32489
  Ids: ids,
30850
32490
  VenueId: venueId,
30851
32491
  ProgrammeId: programmeId,
32492
+ ProviderId: providerId,
30852
32493
  SessionId: sessionId,
30853
32494
  SessionIds: sessionIds,
30854
32495
  ScheduleId: scheduleId,
@@ -30902,6 +32543,7 @@ const request = (config, options, axiosClient = axios) => {
30902
32543
  ids,
30903
32544
  venueId,
30904
32545
  programmeId,
32546
+ providerId,
30905
32547
  sessionId,
30906
32548
  sessionIds,
30907
32549
  scheduleId,
@@ -30946,6 +32588,7 @@ const request = (config, options, axiosClient = axios) => {
30946
32588
  Ids: ids,
30947
32589
  VenueId: venueId,
30948
32590
  ProgrammeId: programmeId,
32591
+ ProviderId: providerId,
30949
32592
  SessionId: sessionId,
30950
32593
  SessionIds: sessionIds,
30951
32594
  ScheduleId: scheduleId,
@@ -30999,6 +32642,7 @@ const request = (config, options, axiosClient = axios) => {
30999
32642
  ids,
31000
32643
  venueId,
31001
32644
  programmeId,
32645
+ providerId,
31002
32646
  sessionId,
31003
32647
  sessionIds,
31004
32648
  scheduleId,
@@ -31043,6 +32687,7 @@ const request = (config, options, axiosClient = axios) => {
31043
32687
  Ids: ids,
31044
32688
  VenueId: venueId,
31045
32689
  ProgrammeId: programmeId,
32690
+ ProviderId: providerId,
31046
32691
  SessionId: sessionId,
31047
32692
  SessionIds: sessionIds,
31048
32693
  ScheduleId: scheduleId,
@@ -31096,6 +32741,7 @@ const request = (config, options, axiosClient = axios) => {
31096
32741
  ids,
31097
32742
  venueId,
31098
32743
  programmeId,
32744
+ providerId,
31099
32745
  sessionId,
31100
32746
  sessionIds,
31101
32747
  scheduleId,
@@ -31140,6 +32786,7 @@ const request = (config, options, axiosClient = axios) => {
31140
32786
  Ids: ids,
31141
32787
  VenueId: venueId,
31142
32788
  ProgrammeId: programmeId,
32789
+ ProviderId: providerId,
31143
32790
  SessionId: sessionId,
31144
32791
  SessionIds: sessionIds,
31145
32792
  ScheduleId: scheduleId,
@@ -43825,6 +45472,8 @@ const request = (config, options, axiosClient = axios) => {
43825
45472
  dashboardRequest,
43826
45473
  programmeIds,
43827
45474
  venueTypeIds,
45475
+ providerId,
45476
+ providerIds,
43828
45477
  pageNumber,
43829
45478
  take,
43830
45479
  skip,
@@ -43863,6 +45512,8 @@ const request = (config, options, axiosClient = axios) => {
43863
45512
  DashboardRequest: dashboardRequest,
43864
45513
  ProgrammeIds: programmeIds,
43865
45514
  VenueTypeIds: venueTypeIds,
45515
+ ProviderId: providerId,
45516
+ ProviderIds: providerIds,
43866
45517
  PageNumber: pageNumber,
43867
45518
  Take: take,
43868
45519
  Skip: skip,
@@ -43973,6 +45624,8 @@ const request = (config, options, axiosClient = axios) => {
43973
45624
  dashboardRequest,
43974
45625
  programmeIds,
43975
45626
  venueTypeIds,
45627
+ providerId,
45628
+ providerIds,
43976
45629
  pageNumber,
43977
45630
  take,
43978
45631
  skip,
@@ -44011,6 +45664,8 @@ const request = (config, options, axiosClient = axios) => {
44011
45664
  DashboardRequest: dashboardRequest,
44012
45665
  ProgrammeIds: programmeIds,
44013
45666
  VenueTypeIds: venueTypeIds,
45667
+ ProviderId: providerId,
45668
+ ProviderIds: providerIds,
44014
45669
  PageNumber: pageNumber,
44015
45670
  Take: take,
44016
45671
  Skip: skip,
@@ -44058,6 +45713,8 @@ const request = (config, options, axiosClient = axios) => {
44058
45713
  dashboardRequest,
44059
45714
  programmeIds,
44060
45715
  venueTypeIds,
45716
+ providerId,
45717
+ providerIds,
44061
45718
  pageNumber,
44062
45719
  take,
44063
45720
  skip,
@@ -44096,6 +45753,8 @@ const request = (config, options, axiosClient = axios) => {
44096
45753
  DashboardRequest: dashboardRequest,
44097
45754
  ProgrammeIds: programmeIds,
44098
45755
  VenueTypeIds: venueTypeIds,
45756
+ ProviderId: providerId,
45757
+ ProviderIds: providerIds,
44099
45758
  PageNumber: pageNumber,
44100
45759
  Take: take,
44101
45760
  Skip: skip,
@@ -44143,6 +45802,8 @@ const request = (config, options, axiosClient = axios) => {
44143
45802
  dashboardRequest,
44144
45803
  programmeIds,
44145
45804
  venueTypeIds,
45805
+ providerId,
45806
+ providerIds,
44146
45807
  pageNumber,
44147
45808
  take,
44148
45809
  skip,
@@ -44181,6 +45842,8 @@ const request = (config, options, axiosClient = axios) => {
44181
45842
  DashboardRequest: dashboardRequest,
44182
45843
  ProgrammeIds: programmeIds,
44183
45844
  VenueTypeIds: venueTypeIds,
45845
+ ProviderId: providerId,
45846
+ ProviderIds: providerIds,
44184
45847
  PageNumber: pageNumber,
44185
45848
  Take: take,
44186
45849
  Skip: skip,
@@ -44228,6 +45891,8 @@ const request = (config, options, axiosClient = axios) => {
44228
45891
  dashboardRequest,
44229
45892
  programmeIds,
44230
45893
  venueTypeIds,
45894
+ providerId,
45895
+ providerIds,
44231
45896
  pageNumber,
44232
45897
  take,
44233
45898
  skip,
@@ -44266,6 +45931,8 @@ const request = (config, options, axiosClient = axios) => {
44266
45931
  DashboardRequest: dashboardRequest,
44267
45932
  ProgrammeIds: programmeIds,
44268
45933
  VenueTypeIds: venueTypeIds,
45934
+ ProviderId: providerId,
45935
+ ProviderIds: providerIds,
44269
45936
  PageNumber: pageNumber,
44270
45937
  Take: take,
44271
45938
  Skip: skip,
@@ -47959,6 +49626,7 @@ const request = (config, options, axiosClient = axios) => {
47959
49626
  dealActivities;
47960
49627
  deals;
47961
49628
  discountCodeUses;
49629
+ dotdigital;
47962
49630
  emailReminderSchedules;
47963
49631
  emailSettings;
47964
49632
  endUserIdentitySecureToken;
@@ -47974,6 +49642,10 @@ const request = (config, options, axiosClient = axios) => {
47974
49642
  imageLibraryImage;
47975
49643
  images;
47976
49644
  imageUploadHistory;
49645
+ integrationDotdigitalFieldMap;
49646
+ integrationDotdigitalLog;
49647
+ integrationDotDigitalSettings;
49648
+ integrationQueue;
47977
49649
  leasing;
47978
49650
  locationsReport;
47979
49651
  loqatePlaces;
@@ -48094,6 +49766,7 @@ const request = (config, options, axiosClient = axios) => {
48094
49766
  this.dealActivities = new DealActivitiesService(this.request);
48095
49767
  this.deals = new DealsService(this.request);
48096
49768
  this.discountCodeUses = new DiscountCodeUsesService(this.request);
49769
+ this.dotdigital = new DotdigitalService(this.request);
48097
49770
  this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
48098
49771
  this.emailSettings = new EmailSettingsService(this.request);
48099
49772
  this.endUserIdentitySecureToken = new EndUserIdentitySecureTokenService(this.request);
@@ -48109,6 +49782,10 @@ const request = (config, options, axiosClient = axios) => {
48109
49782
  this.imageLibraryImage = new ImageLibraryImageService(this.request);
48110
49783
  this.images = new ImagesService(this.request);
48111
49784
  this.imageUploadHistory = new ImageUploadHistoryService(this.request);
49785
+ this.integrationDotdigitalFieldMap = new IntegrationDotdigitalFieldMapService(this.request);
49786
+ this.integrationDotdigitalLog = new IntegrationDotdigitalLogService(this.request);
49787
+ this.integrationDotDigitalSettings = new IntegrationDotDigitalSettingsService(this.request);
49788
+ this.integrationQueue = new IntegrationQueueService(this.request);
48112
49789
  this.leasing = new LeasingService(this.request);
48113
49790
  this.locationsReport = new LocationsReportService(this.request);
48114
49791
  this.loqatePlaces = new LoqatePlacesService(this.request);
@@ -48335,7 +50012,23 @@ const request = (config, options, axiosClient = axios) => {
48335
50012
  DealType2["MULTI_PARTICIPANT"] = "MultiParticipant";
48336
50013
  DealType2["DISCOUNT_CODE"] = "DiscountCode";
48337
50014
  return DealType2;
48338
- })(DealType || {});var EventTiming = /* @__PURE__ */ ((EventTiming2) => {
50015
+ })(DealType || {});var DotdigitalCanonicalField = /* @__PURE__ */ ((DotdigitalCanonicalField2) => {
50016
+ DotdigitalCanonicalField2["EMAIL"] = "Email";
50017
+ DotdigitalCanonicalField2["FIRST_NAME"] = "FirstName";
50018
+ DotdigitalCanonicalField2["LAST_NAME"] = "LastName";
50019
+ DotdigitalCanonicalField2["FULL_NAME"] = "FullName";
50020
+ DotdigitalCanonicalField2["GENDER"] = "Gender";
50021
+ DotdigitalCanonicalField2["POSTCODE"] = "Postcode";
50022
+ DotdigitalCanonicalField2["MARKETING_OPT_IN"] = "MarketingOptIn";
50023
+ return DotdigitalCanonicalField2;
50024
+ })(DotdigitalCanonicalField || {});var DotdigitalSourceType = /* @__PURE__ */ ((DotdigitalSourceType2) => {
50025
+ DotdigitalSourceType2["CUSTOMER_COLUMN"] = "CustomerColumn";
50026
+ DotdigitalSourceType2["ORDER_COLUMN"] = "OrderColumn";
50027
+ DotdigitalSourceType2["CUSTOMER_CUSTOM_FIELD"] = "CustomerCustomField";
50028
+ DotdigitalSourceType2["ORDER_CUSTOM_FIELD"] = "OrderCustomField";
50029
+ DotdigitalSourceType2["STATIC"] = "Static";
50030
+ return DotdigitalSourceType2;
50031
+ })(DotdigitalSourceType || {});var EventTiming = /* @__PURE__ */ ((EventTiming2) => {
48339
50032
  EventTiming2["UPCOMING"] = "Upcoming";
48340
50033
  EventTiming2["PAST"] = "Past";
48341
50034
  return EventTiming2;
@@ -48424,7 +50117,15 @@ const request = (config, options, axiosClient = axios) => {
48424
50117
  HttpStatusCode2["NOT_EXTENDED"] = "NotExtended";
48425
50118
  HttpStatusCode2["NETWORK_AUTHENTICATION_REQUIRED"] = "NetworkAuthenticationRequired";
48426
50119
  return HttpStatusCode2;
48427
- })(HttpStatusCode || {});var InviteStatus = /* @__PURE__ */ ((InviteStatus2) => {
50120
+ })(HttpStatusCode || {});var IntegrationDotdigitalLogStatus = /* @__PURE__ */ ((IntegrationDotdigitalLogStatus2) => {
50121
+ IntegrationDotdigitalLogStatus2["QUEUED"] = "Queued";
50122
+ IntegrationDotdigitalLogStatus2["SENT"] = "Sent";
50123
+ IntegrationDotdigitalLogStatus2["FAILED"] = "Failed";
50124
+ return IntegrationDotdigitalLogStatus2;
50125
+ })(IntegrationDotdigitalLogStatus || {});var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
50126
+ IntegrationType2["DOTDIGITAL_UPSERT_CONTACT"] = "DotdigitalUpsertContact";
50127
+ return IntegrationType2;
50128
+ })(IntegrationType || {});var InviteStatus = /* @__PURE__ */ ((InviteStatus2) => {
48428
50129
  InviteStatus2["PENDING"] = "Pending";
48429
50130
  InviteStatus2["COMPLETE"] = "Complete";
48430
50131
  return InviteStatus2;
@@ -48633,4 +50334,4 @@ const request = (config, options, axiosClient = axios) => {
48633
50334
  WalletTransactionType2["REFUND"] = "Refund";
48634
50335
  WalletTransactionType2["ADJUSTMENT"] = "Adjustment";
48635
50336
  return WalletTransactionType2;
48636
- })(WalletTransactionType || {});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,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,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,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService};
50337
+ })(WalletTransactionType || {});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,CustomFieldDataType,CustomFieldValueEntityType,CustomFieldsService,CustomerCancellationOption,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,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,WalletTrackingLevel,WalletTransactionType,WalletTransactionsService,WalletsService};