reach-api-sdk 1.0.210 → 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.
- package/dist/reach-sdk.d.ts +2228 -169
- package/dist/reach-sdk.js +2618 -935
- package/package.json +1 -1
- package/src/apiClient.ts +15 -0
- package/src/definition/swagger.yaml +6733 -1147
- package/src/index.ts +28 -0
- package/src/models/AddressBookItem.ts +26 -0
- package/src/models/AddressBooksRequest.ts +22 -0
- package/src/models/DotdigitalCanonicalField.ts +17 -0
- package/src/models/DotdigitalSourceType.ts +15 -0
- package/src/models/IntegrationDotdigitalFieldMap.ts +55 -0
- package/src/models/IntegrationDotdigitalFieldMapPage.ts +12 -0
- package/src/models/IntegrationDotdigitalFieldMapPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalFieldMapPost.ts +14 -0
- package/src/models/IntegrationDotdigitalLog.ts +65 -0
- package/src/models/IntegrationDotdigitalLogPage.ts +12 -0
- package/src/models/IntegrationDotdigitalLogPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalLogPost.ts +14 -0
- package/src/models/IntegrationDotdigitalLogStatus.ts +13 -0
- package/src/models/IntegrationDotdigitalSettings.ts +66 -0
- package/src/models/IntegrationDotdigitalSettingsCreate.ts +38 -0
- package/src/models/IntegrationDotdigitalSettingsPage.ts +12 -0
- package/src/models/IntegrationDotdigitalSettingsPatch.ts +18 -0
- package/src/models/IntegrationDotdigitalSettingsPost.ts +14 -0
- package/src/models/IntegrationQueue.ts +57 -0
- package/src/models/IntegrationQueuePage.ts +12 -0
- package/src/models/IntegrationQueuePatch.ts +18 -0
- package/src/models/IntegrationQueuePost.ts +14 -0
- package/src/models/IntegrationType.ts +11 -0
- package/src/models/OrderItemReport.ts +4 -0
- package/src/services/CourseSessionsService.ts +30 -0
- package/src/services/DotdigitalService.ts +39 -0
- package/src/services/IntegrationDotDigitalSettingsService.ts +708 -0
- package/src/services/IntegrationDotdigitalFieldMapService.ts +662 -0
- package/src/services/IntegrationDotdigitalLogService.ts +662 -0
- package/src/services/IntegrationQueueService.ts +739 -0
- package/src/services/PublicCalendarService.ts +6 -0
- package/src/services/PublicScheduledSessionsService.ts +12 -0
- package/src/services/PublicSessionsService.ts +6 -0
- package/src/services/PublicVenuesService.ts +48 -0
- package/src/services/ScheduledSessionsService.ts +30 -0
- 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,
|
|
@@ -7748,6 +7758,30 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7748
7758
|
}
|
|
7749
7759
|
});
|
|
7750
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
|
+
}
|
|
7751
7785
|
}class EmailReminderSchedulesService {
|
|
7752
7786
|
constructor(httpRequest) {
|
|
7753
7787
|
this.httpRequest = httpRequest;
|
|
@@ -11569,61 +11603,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11569
11603
|
}
|
|
11570
11604
|
});
|
|
11571
11605
|
}
|
|
11572
|
-
}class
|
|
11606
|
+
}class IntegrationDotdigitalFieldMapService {
|
|
11573
11607
|
constructor(httpRequest) {
|
|
11574
11608
|
this.httpRequest = httpRequest;
|
|
11575
11609
|
}
|
|
11576
|
-
/**
|
|
11577
|
-
* Refreshes a lease and updates any changes />.
|
|
11578
|
-
* @returns Order OK
|
|
11579
|
-
* @throws ApiError
|
|
11580
|
-
*/
|
|
11581
|
-
refresh({
|
|
11582
|
-
orderId,
|
|
11583
|
-
requestBody
|
|
11584
|
-
}) {
|
|
11585
|
-
return this.httpRequest.request({
|
|
11586
|
-
method: "PATCH",
|
|
11587
|
-
url: "/api/leases/{orderId}/refresh/v2-temporary-route",
|
|
11588
|
-
path: {
|
|
11589
|
-
orderId
|
|
11590
|
-
},
|
|
11591
|
-
body: requestBody,
|
|
11592
|
-
mediaType: "application/json",
|
|
11593
|
-
errors: {
|
|
11594
|
-
400: `Bad Request`,
|
|
11595
|
-
422: `Unprocessable Content`,
|
|
11596
|
-
500: `Internal Server Error`
|
|
11597
|
-
}
|
|
11598
|
-
});
|
|
11599
|
-
}
|
|
11600
|
-
/**
|
|
11601
|
-
* Converts a leased order into a booked order and creates stripes payment intent secret..
|
|
11602
|
-
* @returns Order OK
|
|
11603
|
-
* @throws ApiError
|
|
11604
|
-
*/
|
|
11605
|
-
convertToOrder({
|
|
11606
|
-
orderId,
|
|
11607
|
-
requestBody
|
|
11608
|
-
}) {
|
|
11609
|
-
return this.httpRequest.request({
|
|
11610
|
-
method: "PATCH",
|
|
11611
|
-
url: "/api/leases/{orderId}/convert-to-order",
|
|
11612
|
-
path: {
|
|
11613
|
-
orderId
|
|
11614
|
-
},
|
|
11615
|
-
body: requestBody,
|
|
11616
|
-
mediaType: "application/json",
|
|
11617
|
-
errors: {
|
|
11618
|
-
400: `Bad Request`,
|
|
11619
|
-
422: `Unprocessable Content`,
|
|
11620
|
-
500: `Internal Server Error`
|
|
11621
|
-
}
|
|
11622
|
-
});
|
|
11623
|
-
}
|
|
11624
11610
|
/**
|
|
11625
11611
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
11626
|
-
* @returns
|
|
11612
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
11627
11613
|
* @throws ApiError
|
|
11628
11614
|
*/
|
|
11629
11615
|
post({
|
|
@@ -11631,7 +11617,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11631
11617
|
}) {
|
|
11632
11618
|
return this.httpRequest.request({
|
|
11633
11619
|
method: "POST",
|
|
11634
|
-
url: "/api/
|
|
11620
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route",
|
|
11635
11621
|
body: requestBody,
|
|
11636
11622
|
mediaType: "application/json",
|
|
11637
11623
|
errors: {
|
|
@@ -11643,7 +11629,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11643
11629
|
}
|
|
11644
11630
|
/**
|
|
11645
11631
|
* Patches the resource.
|
|
11646
|
-
* @returns
|
|
11632
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
11647
11633
|
* @throws ApiError
|
|
11648
11634
|
*/
|
|
11649
11635
|
patch({
|
|
@@ -11651,7 +11637,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11651
11637
|
}) {
|
|
11652
11638
|
return this.httpRequest.request({
|
|
11653
11639
|
method: "PATCH",
|
|
11654
|
-
url: "/api/
|
|
11640
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route",
|
|
11655
11641
|
body: requestBody,
|
|
11656
11642
|
mediaType: "application/json",
|
|
11657
11643
|
errors: {
|
|
@@ -11663,7 +11649,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11663
11649
|
}
|
|
11664
11650
|
/**
|
|
11665
11651
|
* Inserts a list of resources.
|
|
11666
|
-
* @returns
|
|
11652
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
11667
11653
|
* @throws ApiError
|
|
11668
11654
|
*/
|
|
11669
11655
|
postList({
|
|
@@ -11671,7 +11657,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11671
11657
|
}) {
|
|
11672
11658
|
return this.httpRequest.request({
|
|
11673
11659
|
method: "POST",
|
|
11674
|
-
url: "/api/
|
|
11660
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route/list",
|
|
11675
11661
|
body: requestBody,
|
|
11676
11662
|
mediaType: "application/json",
|
|
11677
11663
|
errors: {
|
|
@@ -11683,7 +11669,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11683
11669
|
}
|
|
11684
11670
|
/**
|
|
11685
11671
|
* Patches the resource.
|
|
11686
|
-
* @returns
|
|
11672
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
11687
11673
|
* @throws ApiError
|
|
11688
11674
|
*/
|
|
11689
11675
|
patchWithReferences({
|
|
@@ -11691,7 +11677,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11691
11677
|
}) {
|
|
11692
11678
|
return this.httpRequest.request({
|
|
11693
11679
|
method: "PATCH",
|
|
11694
|
-
url: "/api/
|
|
11680
|
+
url: "/api/integration-dotdigital-field-map/v2-temporary-route/with-references",
|
|
11695
11681
|
body: requestBody,
|
|
11696
11682
|
mediaType: "application/json",
|
|
11697
11683
|
errors: {
|
|
@@ -11711,7 +11697,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11711
11697
|
}) {
|
|
11712
11698
|
return this.httpRequest.request({
|
|
11713
11699
|
method: "DELETE",
|
|
11714
|
-
url: "/api/
|
|
11700
|
+
url: "/api/integration-dotdigital-field-map",
|
|
11715
11701
|
body: requestBody,
|
|
11716
11702
|
mediaType: "application/json",
|
|
11717
11703
|
errors: {
|
|
@@ -11723,28 +11709,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11723
11709
|
}
|
|
11724
11710
|
/**
|
|
11725
11711
|
* Gets a list of resources.
|
|
11726
|
-
* @returns
|
|
11712
|
+
* @returns IntegrationDotdigitalFieldMapPage OK
|
|
11727
11713
|
* @throws ApiError
|
|
11728
11714
|
*/
|
|
11729
11715
|
getPage({
|
|
11730
|
-
wildcard,
|
|
11731
|
-
accessCode,
|
|
11732
|
-
customerName,
|
|
11733
|
-
email,
|
|
11734
|
-
providerId,
|
|
11735
|
-
venueId,
|
|
11736
|
-
programmeId,
|
|
11737
|
-
customerId,
|
|
11738
|
-
orderIds,
|
|
11739
|
-
sessionId,
|
|
11740
|
-
facilityId,
|
|
11741
|
-
courseId,
|
|
11742
|
-
orderStage,
|
|
11743
|
-
isBookedOrPendingPayment,
|
|
11744
|
-
orderStages,
|
|
11745
|
-
orderDateGte,
|
|
11746
|
-
orderDateLte,
|
|
11747
|
-
endUserIdentityId,
|
|
11748
11716
|
pageNumber,
|
|
11749
11717
|
take,
|
|
11750
11718
|
skip,
|
|
@@ -11759,26 +11727,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11759
11727
|
}) {
|
|
11760
11728
|
return this.httpRequest.request({
|
|
11761
11729
|
method: "GET",
|
|
11762
|
-
url: "/api/
|
|
11730
|
+
url: "/api/integration-dotdigital-field-map",
|
|
11763
11731
|
query: {
|
|
11764
|
-
Wildcard: wildcard,
|
|
11765
|
-
AccessCode: accessCode,
|
|
11766
|
-
CustomerName: customerName,
|
|
11767
|
-
Email: email,
|
|
11768
|
-
ProviderId: providerId,
|
|
11769
|
-
VenueId: venueId,
|
|
11770
|
-
ProgrammeId: programmeId,
|
|
11771
|
-
CustomerId: customerId,
|
|
11772
|
-
OrderIds: orderIds,
|
|
11773
|
-
SessionId: sessionId,
|
|
11774
|
-
FacilityId: facilityId,
|
|
11775
|
-
CourseId: courseId,
|
|
11776
|
-
OrderStage: orderStage,
|
|
11777
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
11778
|
-
OrderStages: orderStages,
|
|
11779
|
-
OrderDateGTE: orderDateGte,
|
|
11780
|
-
OrderDateLTE: orderDateLte,
|
|
11781
|
-
EndUserIdentityId: endUserIdentityId,
|
|
11782
11732
|
PageNumber: pageNumber,
|
|
11783
11733
|
Take: take,
|
|
11784
11734
|
Skip: skip,
|
|
@@ -11808,7 +11758,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11808
11758
|
}) {
|
|
11809
11759
|
return this.httpRequest.request({
|
|
11810
11760
|
method: "DELETE",
|
|
11811
|
-
url: "/api/
|
|
11761
|
+
url: "/api/integration-dotdigital-field-map/{id}",
|
|
11812
11762
|
path: {
|
|
11813
11763
|
id
|
|
11814
11764
|
},
|
|
@@ -11821,7 +11771,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11821
11771
|
}
|
|
11822
11772
|
/**
|
|
11823
11773
|
* Gets the resource by its Id.
|
|
11824
|
-
* @returns
|
|
11774
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
11825
11775
|
* @throws ApiError
|
|
11826
11776
|
*/
|
|
11827
11777
|
getObject({
|
|
@@ -11829,7 +11779,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11829
11779
|
}) {
|
|
11830
11780
|
return this.httpRequest.request({
|
|
11831
11781
|
method: "GET",
|
|
11832
|
-
url: "/api/
|
|
11782
|
+
url: "/api/integration-dotdigital-field-map/{id}",
|
|
11833
11783
|
path: {
|
|
11834
11784
|
id
|
|
11835
11785
|
},
|
|
@@ -11850,7 +11800,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11850
11800
|
}) {
|
|
11851
11801
|
return this.httpRequest.request({
|
|
11852
11802
|
method: "GET",
|
|
11853
|
-
url: "/api/
|
|
11803
|
+
url: "/api/integration-dotdigital-field-map/{id}/deletable",
|
|
11854
11804
|
path: {
|
|
11855
11805
|
id
|
|
11856
11806
|
},
|
|
@@ -11867,24 +11817,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11867
11817
|
* @throws ApiError
|
|
11868
11818
|
*/
|
|
11869
11819
|
exists({
|
|
11870
|
-
wildcard,
|
|
11871
|
-
accessCode,
|
|
11872
|
-
customerName,
|
|
11873
|
-
email,
|
|
11874
|
-
providerId,
|
|
11875
|
-
venueId,
|
|
11876
|
-
programmeId,
|
|
11877
|
-
customerId,
|
|
11878
|
-
orderIds,
|
|
11879
|
-
sessionId,
|
|
11880
|
-
facilityId,
|
|
11881
|
-
courseId,
|
|
11882
|
-
orderStage,
|
|
11883
|
-
isBookedOrPendingPayment,
|
|
11884
|
-
orderStages,
|
|
11885
|
-
orderDateGte,
|
|
11886
|
-
orderDateLte,
|
|
11887
|
-
endUserIdentityId,
|
|
11888
11820
|
pageNumber,
|
|
11889
11821
|
take,
|
|
11890
11822
|
skip,
|
|
@@ -11899,26 +11831,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11899
11831
|
}) {
|
|
11900
11832
|
return this.httpRequest.request({
|
|
11901
11833
|
method: "GET",
|
|
11902
|
-
url: "/api/
|
|
11834
|
+
url: "/api/integration-dotdigital-field-map/exists",
|
|
11903
11835
|
query: {
|
|
11904
|
-
Wildcard: wildcard,
|
|
11905
|
-
AccessCode: accessCode,
|
|
11906
|
-
CustomerName: customerName,
|
|
11907
|
-
Email: email,
|
|
11908
|
-
ProviderId: providerId,
|
|
11909
|
-
VenueId: venueId,
|
|
11910
|
-
ProgrammeId: programmeId,
|
|
11911
|
-
CustomerId: customerId,
|
|
11912
|
-
OrderIds: orderIds,
|
|
11913
|
-
SessionId: sessionId,
|
|
11914
|
-
FacilityId: facilityId,
|
|
11915
|
-
CourseId: courseId,
|
|
11916
|
-
OrderStage: orderStage,
|
|
11917
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
11918
|
-
OrderStages: orderStages,
|
|
11919
|
-
OrderDateGTE: orderDateGte,
|
|
11920
|
-
OrderDateLTE: orderDateLte,
|
|
11921
|
-
EndUserIdentityId: endUserIdentityId,
|
|
11922
11836
|
PageNumber: pageNumber,
|
|
11923
11837
|
Take: take,
|
|
11924
11838
|
Skip: skip,
|
|
@@ -11944,24 +11858,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11944
11858
|
* @throws ApiError
|
|
11945
11859
|
*/
|
|
11946
11860
|
count({
|
|
11947
|
-
wildcard,
|
|
11948
|
-
accessCode,
|
|
11949
|
-
customerName,
|
|
11950
|
-
email,
|
|
11951
|
-
providerId,
|
|
11952
|
-
venueId,
|
|
11953
|
-
programmeId,
|
|
11954
|
-
customerId,
|
|
11955
|
-
orderIds,
|
|
11956
|
-
sessionId,
|
|
11957
|
-
facilityId,
|
|
11958
|
-
courseId,
|
|
11959
|
-
orderStage,
|
|
11960
|
-
isBookedOrPendingPayment,
|
|
11961
|
-
orderStages,
|
|
11962
|
-
orderDateGte,
|
|
11963
|
-
orderDateLte,
|
|
11964
|
-
endUserIdentityId,
|
|
11965
11861
|
pageNumber,
|
|
11966
11862
|
take,
|
|
11967
11863
|
skip,
|
|
@@ -11976,26 +11872,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
11976
11872
|
}) {
|
|
11977
11873
|
return this.httpRequest.request({
|
|
11978
11874
|
method: "GET",
|
|
11979
|
-
url: "/api/
|
|
11875
|
+
url: "/api/integration-dotdigital-field-map/count",
|
|
11980
11876
|
query: {
|
|
11981
|
-
Wildcard: wildcard,
|
|
11982
|
-
AccessCode: accessCode,
|
|
11983
|
-
CustomerName: customerName,
|
|
11984
|
-
Email: email,
|
|
11985
|
-
ProviderId: providerId,
|
|
11986
|
-
VenueId: venueId,
|
|
11987
|
-
ProgrammeId: programmeId,
|
|
11988
|
-
CustomerId: customerId,
|
|
11989
|
-
OrderIds: orderIds,
|
|
11990
|
-
SessionId: sessionId,
|
|
11991
|
-
FacilityId: facilityId,
|
|
11992
|
-
CourseId: courseId,
|
|
11993
|
-
OrderStage: orderStage,
|
|
11994
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
11995
|
-
OrderStages: orderStages,
|
|
11996
|
-
OrderDateGTE: orderDateGte,
|
|
11997
|
-
OrderDateLTE: orderDateLte,
|
|
11998
|
-
EndUserIdentityId: endUserIdentityId,
|
|
11999
11877
|
PageNumber: pageNumber,
|
|
12000
11878
|
Take: take,
|
|
12001
11879
|
Skip: skip,
|
|
@@ -12017,28 +11895,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12017
11895
|
}
|
|
12018
11896
|
/**
|
|
12019
11897
|
* Gets a list of resources unpaged and without references.
|
|
12020
|
-
* @returns
|
|
11898
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12021
11899
|
* @throws ApiError
|
|
12022
11900
|
*/
|
|
12023
11901
|
getListWithoutReferences({
|
|
12024
|
-
wildcard,
|
|
12025
|
-
accessCode,
|
|
12026
|
-
customerName,
|
|
12027
|
-
email,
|
|
12028
|
-
providerId,
|
|
12029
|
-
venueId,
|
|
12030
|
-
programmeId,
|
|
12031
|
-
customerId,
|
|
12032
|
-
orderIds,
|
|
12033
|
-
sessionId,
|
|
12034
|
-
facilityId,
|
|
12035
|
-
courseId,
|
|
12036
|
-
orderStage,
|
|
12037
|
-
isBookedOrPendingPayment,
|
|
12038
|
-
orderStages,
|
|
12039
|
-
orderDateGte,
|
|
12040
|
-
orderDateLte,
|
|
12041
|
-
endUserIdentityId,
|
|
12042
11902
|
pageNumber,
|
|
12043
11903
|
take,
|
|
12044
11904
|
skip,
|
|
@@ -12053,26 +11913,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12053
11913
|
}) {
|
|
12054
11914
|
return this.httpRequest.request({
|
|
12055
11915
|
method: "GET",
|
|
12056
|
-
url: "/api/
|
|
11916
|
+
url: "/api/integration-dotdigital-field-map/without-references",
|
|
12057
11917
|
query: {
|
|
12058
|
-
Wildcard: wildcard,
|
|
12059
|
-
AccessCode: accessCode,
|
|
12060
|
-
CustomerName: customerName,
|
|
12061
|
-
Email: email,
|
|
12062
|
-
ProviderId: providerId,
|
|
12063
|
-
VenueId: venueId,
|
|
12064
|
-
ProgrammeId: programmeId,
|
|
12065
|
-
CustomerId: customerId,
|
|
12066
|
-
OrderIds: orderIds,
|
|
12067
|
-
SessionId: sessionId,
|
|
12068
|
-
FacilityId: facilityId,
|
|
12069
|
-
CourseId: courseId,
|
|
12070
|
-
OrderStage: orderStage,
|
|
12071
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
12072
|
-
OrderStages: orderStages,
|
|
12073
|
-
OrderDateGTE: orderDateGte,
|
|
12074
|
-
OrderDateLTE: orderDateLte,
|
|
12075
|
-
EndUserIdentityId: endUserIdentityId,
|
|
12076
11918
|
PageNumber: pageNumber,
|
|
12077
11919
|
Take: take,
|
|
12078
11920
|
Skip: skip,
|
|
@@ -12094,28 +11936,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12094
11936
|
}
|
|
12095
11937
|
/**
|
|
12096
11938
|
* Gets a list of resources.
|
|
12097
|
-
* @returns
|
|
11939
|
+
* @returns IntegrationDotdigitalFieldMap OK
|
|
12098
11940
|
* @throws ApiError
|
|
12099
11941
|
*/
|
|
12100
11942
|
getListIdName({
|
|
12101
|
-
wildcard,
|
|
12102
|
-
accessCode,
|
|
12103
|
-
customerName,
|
|
12104
|
-
email,
|
|
12105
|
-
providerId,
|
|
12106
|
-
venueId,
|
|
12107
|
-
programmeId,
|
|
12108
|
-
customerId,
|
|
12109
|
-
orderIds,
|
|
12110
|
-
sessionId,
|
|
12111
|
-
facilityId,
|
|
12112
|
-
courseId,
|
|
12113
|
-
orderStage,
|
|
12114
|
-
isBookedOrPendingPayment,
|
|
12115
|
-
orderStages,
|
|
12116
|
-
orderDateGte,
|
|
12117
|
-
orderDateLte,
|
|
12118
|
-
endUserIdentityId,
|
|
12119
11943
|
pageNumber,
|
|
12120
11944
|
take,
|
|
12121
11945
|
skip,
|
|
@@ -12130,26 +11954,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12130
11954
|
}) {
|
|
12131
11955
|
return this.httpRequest.request({
|
|
12132
11956
|
method: "GET",
|
|
12133
|
-
url: "/api/
|
|
11957
|
+
url: "/api/integration-dotdigital-field-map/id-name",
|
|
12134
11958
|
query: {
|
|
12135
|
-
Wildcard: wildcard,
|
|
12136
|
-
AccessCode: accessCode,
|
|
12137
|
-
CustomerName: customerName,
|
|
12138
|
-
Email: email,
|
|
12139
|
-
ProviderId: providerId,
|
|
12140
|
-
VenueId: venueId,
|
|
12141
|
-
ProgrammeId: programmeId,
|
|
12142
|
-
CustomerId: customerId,
|
|
12143
|
-
OrderIds: orderIds,
|
|
12144
|
-
SessionId: sessionId,
|
|
12145
|
-
FacilityId: facilityId,
|
|
12146
|
-
CourseId: courseId,
|
|
12147
|
-
OrderStage: orderStage,
|
|
12148
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
12149
|
-
OrderStages: orderStages,
|
|
12150
|
-
OrderDateGTE: orderDateGte,
|
|
12151
|
-
OrderDateLTE: orderDateLte,
|
|
12152
|
-
EndUserIdentityId: endUserIdentityId,
|
|
12153
11959
|
PageNumber: pageNumber,
|
|
12154
11960
|
Take: take,
|
|
12155
11961
|
Skip: skip,
|
|
@@ -12169,111 +11975,13 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12169
11975
|
}
|
|
12170
11976
|
});
|
|
12171
11977
|
}
|
|
12172
|
-
}class
|
|
11978
|
+
}class IntegrationDotdigitalLogService {
|
|
12173
11979
|
constructor(httpRequest) {
|
|
12174
11980
|
this.httpRequest = httpRequest;
|
|
12175
11981
|
}
|
|
12176
|
-
/**
|
|
12177
|
-
* Exports the performance list to a csv format.
|
|
12178
|
-
* Endpoint has AllowAnonymous attr, however the jwt is validated in the method body (in support of authenticated file downloads.
|
|
12179
|
-
* @returns any OK
|
|
12180
|
-
* @throws ApiError
|
|
12181
|
-
*/
|
|
12182
|
-
exportToCsv({
|
|
12183
|
-
userId,
|
|
12184
|
-
archived,
|
|
12185
|
-
programmeId,
|
|
12186
|
-
pageNumber,
|
|
12187
|
-
take,
|
|
12188
|
-
skip,
|
|
12189
|
-
limitListRequests,
|
|
12190
|
-
tenantId,
|
|
12191
|
-
modifiedById,
|
|
12192
|
-
modifiedByIds,
|
|
12193
|
-
dateCreatedGte,
|
|
12194
|
-
dateCreatedLte,
|
|
12195
|
-
isLive,
|
|
12196
|
-
sortOrderDirection,
|
|
12197
|
-
formData
|
|
12198
|
-
}) {
|
|
12199
|
-
return this.httpRequest.request({
|
|
12200
|
-
method: "POST",
|
|
12201
|
-
url: "/api/locations-report/export/csv",
|
|
12202
|
-
query: {
|
|
12203
|
-
UserId: userId,
|
|
12204
|
-
Archived: archived,
|
|
12205
|
-
ProgrammeId: programmeId,
|
|
12206
|
-
PageNumber: pageNumber,
|
|
12207
|
-
Take: take,
|
|
12208
|
-
Skip: skip,
|
|
12209
|
-
LimitListRequests: limitListRequests,
|
|
12210
|
-
TenantId: tenantId,
|
|
12211
|
-
ModifiedById: modifiedById,
|
|
12212
|
-
ModifiedByIds: modifiedByIds,
|
|
12213
|
-
DateCreatedGTE: dateCreatedGte,
|
|
12214
|
-
DateCreatedLTE: dateCreatedLte,
|
|
12215
|
-
IsLive: isLive,
|
|
12216
|
-
SortOrderDirection: sortOrderDirection
|
|
12217
|
-
},
|
|
12218
|
-
formData,
|
|
12219
|
-
mediaType: "multipart/form-data",
|
|
12220
|
-
errors: {
|
|
12221
|
-
400: `Bad Request`,
|
|
12222
|
-
422: `Unprocessable Content`,
|
|
12223
|
-
500: `Internal Server Error`
|
|
12224
|
-
}
|
|
12225
|
-
});
|
|
12226
|
-
}
|
|
12227
|
-
/**
|
|
12228
|
-
* Get summary for locations.
|
|
12229
|
-
* @returns LocationReportSummary OK
|
|
12230
|
-
* @throws ApiError
|
|
12231
|
-
*/
|
|
12232
|
-
getSummary({
|
|
12233
|
-
userId,
|
|
12234
|
-
archived,
|
|
12235
|
-
programmeId,
|
|
12236
|
-
pageNumber,
|
|
12237
|
-
take,
|
|
12238
|
-
skip,
|
|
12239
|
-
limitListRequests,
|
|
12240
|
-
tenantId,
|
|
12241
|
-
modifiedById,
|
|
12242
|
-
modifiedByIds,
|
|
12243
|
-
dateCreatedGte,
|
|
12244
|
-
dateCreatedLte,
|
|
12245
|
-
isLive,
|
|
12246
|
-
sortOrderDirection
|
|
12247
|
-
}) {
|
|
12248
|
-
return this.httpRequest.request({
|
|
12249
|
-
method: "GET",
|
|
12250
|
-
url: "/api/locations-report/summary",
|
|
12251
|
-
query: {
|
|
12252
|
-
UserId: userId,
|
|
12253
|
-
Archived: archived,
|
|
12254
|
-
ProgrammeId: programmeId,
|
|
12255
|
-
PageNumber: pageNumber,
|
|
12256
|
-
Take: take,
|
|
12257
|
-
Skip: skip,
|
|
12258
|
-
LimitListRequests: limitListRequests,
|
|
12259
|
-
TenantId: tenantId,
|
|
12260
|
-
ModifiedById: modifiedById,
|
|
12261
|
-
ModifiedByIds: modifiedByIds,
|
|
12262
|
-
DateCreatedGTE: dateCreatedGte,
|
|
12263
|
-
DateCreatedLTE: dateCreatedLte,
|
|
12264
|
-
IsLive: isLive,
|
|
12265
|
-
SortOrderDirection: sortOrderDirection
|
|
12266
|
-
},
|
|
12267
|
-
errors: {
|
|
12268
|
-
400: `Bad Request`,
|
|
12269
|
-
422: `Unprocessable Content`,
|
|
12270
|
-
500: `Internal Server Error`
|
|
12271
|
-
}
|
|
12272
|
-
});
|
|
12273
|
-
}
|
|
12274
11982
|
/**
|
|
12275
11983
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
12276
|
-
* @returns
|
|
11984
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12277
11985
|
* @throws ApiError
|
|
12278
11986
|
*/
|
|
12279
11987
|
post({
|
|
@@ -12281,7 +11989,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12281
11989
|
}) {
|
|
12282
11990
|
return this.httpRequest.request({
|
|
12283
11991
|
method: "POST",
|
|
12284
|
-
url: "/api/
|
|
11992
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route",
|
|
12285
11993
|
body: requestBody,
|
|
12286
11994
|
mediaType: "application/json",
|
|
12287
11995
|
errors: {
|
|
@@ -12293,7 +12001,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12293
12001
|
}
|
|
12294
12002
|
/**
|
|
12295
12003
|
* Patches the resource.
|
|
12296
|
-
* @returns
|
|
12004
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12297
12005
|
* @throws ApiError
|
|
12298
12006
|
*/
|
|
12299
12007
|
patch({
|
|
@@ -12301,7 +12009,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12301
12009
|
}) {
|
|
12302
12010
|
return this.httpRequest.request({
|
|
12303
12011
|
method: "PATCH",
|
|
12304
|
-
url: "/api/
|
|
12012
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route",
|
|
12305
12013
|
body: requestBody,
|
|
12306
12014
|
mediaType: "application/json",
|
|
12307
12015
|
errors: {
|
|
@@ -12313,7 +12021,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12313
12021
|
}
|
|
12314
12022
|
/**
|
|
12315
12023
|
* Inserts a list of resources.
|
|
12316
|
-
* @returns
|
|
12024
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12317
12025
|
* @throws ApiError
|
|
12318
12026
|
*/
|
|
12319
12027
|
postList({
|
|
@@ -12321,7 +12029,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12321
12029
|
}) {
|
|
12322
12030
|
return this.httpRequest.request({
|
|
12323
12031
|
method: "POST",
|
|
12324
|
-
url: "/api/
|
|
12032
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route/list",
|
|
12325
12033
|
body: requestBody,
|
|
12326
12034
|
mediaType: "application/json",
|
|
12327
12035
|
errors: {
|
|
@@ -12333,7 +12041,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12333
12041
|
}
|
|
12334
12042
|
/**
|
|
12335
12043
|
* Patches the resource.
|
|
12336
|
-
* @returns
|
|
12044
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12337
12045
|
* @throws ApiError
|
|
12338
12046
|
*/
|
|
12339
12047
|
patchWithReferences({
|
|
@@ -12341,7 +12049,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12341
12049
|
}) {
|
|
12342
12050
|
return this.httpRequest.request({
|
|
12343
12051
|
method: "PATCH",
|
|
12344
|
-
url: "/api/
|
|
12052
|
+
url: "/api/integration-dotdigital-log/v2-temporary-route/with-references",
|
|
12345
12053
|
body: requestBody,
|
|
12346
12054
|
mediaType: "application/json",
|
|
12347
12055
|
errors: {
|
|
@@ -12361,7 +12069,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12361
12069
|
}) {
|
|
12362
12070
|
return this.httpRequest.request({
|
|
12363
12071
|
method: "DELETE",
|
|
12364
|
-
url: "/api/
|
|
12072
|
+
url: "/api/integration-dotdigital-log",
|
|
12365
12073
|
body: requestBody,
|
|
12366
12074
|
mediaType: "application/json",
|
|
12367
12075
|
errors: {
|
|
@@ -12373,13 +12081,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12373
12081
|
}
|
|
12374
12082
|
/**
|
|
12375
12083
|
* Gets a list of resources.
|
|
12376
|
-
* @returns
|
|
12084
|
+
* @returns IntegrationDotdigitalLogPage OK
|
|
12377
12085
|
* @throws ApiError
|
|
12378
12086
|
*/
|
|
12379
12087
|
getPage({
|
|
12380
|
-
userId,
|
|
12381
|
-
archived,
|
|
12382
|
-
programmeId,
|
|
12383
12088
|
pageNumber,
|
|
12384
12089
|
take,
|
|
12385
12090
|
skip,
|
|
@@ -12394,11 +12099,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12394
12099
|
}) {
|
|
12395
12100
|
return this.httpRequest.request({
|
|
12396
12101
|
method: "GET",
|
|
12397
|
-
url: "/api/
|
|
12102
|
+
url: "/api/integration-dotdigital-log",
|
|
12398
12103
|
query: {
|
|
12399
|
-
UserId: userId,
|
|
12400
|
-
Archived: archived,
|
|
12401
|
-
ProgrammeId: programmeId,
|
|
12402
12104
|
PageNumber: pageNumber,
|
|
12403
12105
|
Take: take,
|
|
12404
12106
|
Skip: skip,
|
|
@@ -12428,7 +12130,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12428
12130
|
}) {
|
|
12429
12131
|
return this.httpRequest.request({
|
|
12430
12132
|
method: "DELETE",
|
|
12431
|
-
url: "/api/
|
|
12133
|
+
url: "/api/integration-dotdigital-log/{id}",
|
|
12432
12134
|
path: {
|
|
12433
12135
|
id
|
|
12434
12136
|
},
|
|
@@ -12441,7 +12143,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12441
12143
|
}
|
|
12442
12144
|
/**
|
|
12443
12145
|
* Gets the resource by its Id.
|
|
12444
|
-
* @returns
|
|
12146
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12445
12147
|
* @throws ApiError
|
|
12446
12148
|
*/
|
|
12447
12149
|
getObject({
|
|
@@ -12449,7 +12151,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12449
12151
|
}) {
|
|
12450
12152
|
return this.httpRequest.request({
|
|
12451
12153
|
method: "GET",
|
|
12452
|
-
url: "/api/
|
|
12154
|
+
url: "/api/integration-dotdigital-log/{id}",
|
|
12453
12155
|
path: {
|
|
12454
12156
|
id
|
|
12455
12157
|
},
|
|
@@ -12470,7 +12172,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12470
12172
|
}) {
|
|
12471
12173
|
return this.httpRequest.request({
|
|
12472
12174
|
method: "GET",
|
|
12473
|
-
url: "/api/
|
|
12175
|
+
url: "/api/integration-dotdigital-log/{id}/deletable",
|
|
12474
12176
|
path: {
|
|
12475
12177
|
id
|
|
12476
12178
|
},
|
|
@@ -12487,9 +12189,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12487
12189
|
* @throws ApiError
|
|
12488
12190
|
*/
|
|
12489
12191
|
exists({
|
|
12490
|
-
userId,
|
|
12491
|
-
archived,
|
|
12492
|
-
programmeId,
|
|
12493
12192
|
pageNumber,
|
|
12494
12193
|
take,
|
|
12495
12194
|
skip,
|
|
@@ -12504,11 +12203,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12504
12203
|
}) {
|
|
12505
12204
|
return this.httpRequest.request({
|
|
12506
12205
|
method: "GET",
|
|
12507
|
-
url: "/api/
|
|
12206
|
+
url: "/api/integration-dotdigital-log/exists",
|
|
12508
12207
|
query: {
|
|
12509
|
-
UserId: userId,
|
|
12510
|
-
Archived: archived,
|
|
12511
|
-
ProgrammeId: programmeId,
|
|
12512
12208
|
PageNumber: pageNumber,
|
|
12513
12209
|
Take: take,
|
|
12514
12210
|
Skip: skip,
|
|
@@ -12534,9 +12230,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12534
12230
|
* @throws ApiError
|
|
12535
12231
|
*/
|
|
12536
12232
|
count({
|
|
12537
|
-
userId,
|
|
12538
|
-
archived,
|
|
12539
|
-
programmeId,
|
|
12540
12233
|
pageNumber,
|
|
12541
12234
|
take,
|
|
12542
12235
|
skip,
|
|
@@ -12551,11 +12244,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12551
12244
|
}) {
|
|
12552
12245
|
return this.httpRequest.request({
|
|
12553
12246
|
method: "GET",
|
|
12554
|
-
url: "/api/
|
|
12247
|
+
url: "/api/integration-dotdigital-log/count",
|
|
12555
12248
|
query: {
|
|
12556
|
-
UserId: userId,
|
|
12557
|
-
Archived: archived,
|
|
12558
|
-
ProgrammeId: programmeId,
|
|
12559
12249
|
PageNumber: pageNumber,
|
|
12560
12250
|
Take: take,
|
|
12561
12251
|
Skip: skip,
|
|
@@ -12577,13 +12267,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12577
12267
|
}
|
|
12578
12268
|
/**
|
|
12579
12269
|
* Gets a list of resources unpaged and without references.
|
|
12580
|
-
* @returns
|
|
12270
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12581
12271
|
* @throws ApiError
|
|
12582
12272
|
*/
|
|
12583
12273
|
getListWithoutReferences({
|
|
12584
|
-
userId,
|
|
12585
|
-
archived,
|
|
12586
|
-
programmeId,
|
|
12587
12274
|
pageNumber,
|
|
12588
12275
|
take,
|
|
12589
12276
|
skip,
|
|
@@ -12598,11 +12285,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12598
12285
|
}) {
|
|
12599
12286
|
return this.httpRequest.request({
|
|
12600
12287
|
method: "GET",
|
|
12601
|
-
url: "/api/
|
|
12288
|
+
url: "/api/integration-dotdigital-log/without-references",
|
|
12602
12289
|
query: {
|
|
12603
|
-
UserId: userId,
|
|
12604
|
-
Archived: archived,
|
|
12605
|
-
ProgrammeId: programmeId,
|
|
12606
12290
|
PageNumber: pageNumber,
|
|
12607
12291
|
Take: take,
|
|
12608
12292
|
Skip: skip,
|
|
@@ -12624,13 +12308,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12624
12308
|
}
|
|
12625
12309
|
/**
|
|
12626
12310
|
* Gets a list of resources.
|
|
12627
|
-
* @returns
|
|
12311
|
+
* @returns IntegrationDotdigitalLog OK
|
|
12628
12312
|
* @throws ApiError
|
|
12629
12313
|
*/
|
|
12630
12314
|
getListIdName({
|
|
12631
|
-
userId,
|
|
12632
|
-
archived,
|
|
12633
|
-
programmeId,
|
|
12634
12315
|
pageNumber,
|
|
12635
12316
|
take,
|
|
12636
12317
|
skip,
|
|
@@ -12645,11 +12326,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12645
12326
|
}) {
|
|
12646
12327
|
return this.httpRequest.request({
|
|
12647
12328
|
method: "GET",
|
|
12648
|
-
url: "/api/
|
|
12329
|
+
url: "/api/integration-dotdigital-log/id-name",
|
|
12649
12330
|
query: {
|
|
12650
|
-
UserId: userId,
|
|
12651
|
-
Archived: archived,
|
|
12652
|
-
ProgrammeId: programmeId,
|
|
12653
12331
|
PageNumber: pageNumber,
|
|
12654
12332
|
Take: take,
|
|
12655
12333
|
Skip: skip,
|
|
@@ -12669,49 +12347,24 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12669
12347
|
}
|
|
12670
12348
|
});
|
|
12671
12349
|
}
|
|
12672
|
-
}class
|
|
12350
|
+
}class IntegrationDotDigitalSettingsService {
|
|
12673
12351
|
constructor(httpRequest) {
|
|
12674
12352
|
this.httpRequest = httpRequest;
|
|
12675
12353
|
}
|
|
12676
12354
|
/**
|
|
12677
|
-
*
|
|
12678
|
-
*
|
|
12679
|
-
* @
|
|
12680
|
-
*/
|
|
12681
|
-
getPrediction({
|
|
12682
|
-
searchText,
|
|
12683
|
-
countryCode,
|
|
12684
|
-
container
|
|
12685
|
-
}) {
|
|
12686
|
-
return this.httpRequest.request({
|
|
12687
|
-
method: "GET",
|
|
12688
|
-
url: "/api/external/loqate/places/autocomplete",
|
|
12689
|
-
query: {
|
|
12690
|
-
searchText,
|
|
12691
|
-
countryCode,
|
|
12692
|
-
container
|
|
12693
|
-
},
|
|
12694
|
-
errors: {
|
|
12695
|
-
400: `Bad Request`,
|
|
12696
|
-
422: `Unprocessable Content`,
|
|
12697
|
-
500: `Internal Server Error`
|
|
12698
|
-
}
|
|
12699
|
-
});
|
|
12700
|
-
}
|
|
12701
|
-
/**
|
|
12702
|
-
* GetPlace.
|
|
12703
|
-
* @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
|
|
12704
12358
|
* @throws ApiError
|
|
12705
12359
|
*/
|
|
12706
|
-
|
|
12707
|
-
|
|
12360
|
+
upsert({
|
|
12361
|
+
requestBody
|
|
12708
12362
|
}) {
|
|
12709
12363
|
return this.httpRequest.request({
|
|
12710
|
-
method: "
|
|
12711
|
-
url: "/api/
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
},
|
|
12364
|
+
method: "POST",
|
|
12365
|
+
url: "/api/integration-dotdigital/upsert",
|
|
12366
|
+
body: requestBody,
|
|
12367
|
+
mediaType: "application/json",
|
|
12715
12368
|
errors: {
|
|
12716
12369
|
400: `Bad Request`,
|
|
12717
12370
|
422: `Unprocessable Content`,
|
|
@@ -12719,19 +12372,15 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12719
12372
|
}
|
|
12720
12373
|
});
|
|
12721
12374
|
}
|
|
12722
|
-
}class NotificationQueueService {
|
|
12723
|
-
constructor(httpRequest) {
|
|
12724
|
-
this.httpRequest = httpRequest;
|
|
12725
|
-
}
|
|
12726
12375
|
/**
|
|
12727
|
-
*
|
|
12728
|
-
* @returns
|
|
12376
|
+
* Gets the tenant's address books from Dotdigital using stored settings.
|
|
12377
|
+
* @returns AddressBookItem OK
|
|
12729
12378
|
* @throws ApiError
|
|
12730
12379
|
*/
|
|
12731
|
-
|
|
12380
|
+
getAddressBooks() {
|
|
12732
12381
|
return this.httpRequest.request({
|
|
12733
12382
|
method: "GET",
|
|
12734
|
-
url: "/api/
|
|
12383
|
+
url: "/api/integration-dotdigital/address-books",
|
|
12735
12384
|
errors: {
|
|
12736
12385
|
400: `Bad Request`,
|
|
12737
12386
|
422: `Unprocessable Content`,
|
|
@@ -12741,7 +12390,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12741
12390
|
}
|
|
12742
12391
|
/**
|
|
12743
12392
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
12744
|
-
* @returns
|
|
12393
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
12745
12394
|
* @throws ApiError
|
|
12746
12395
|
*/
|
|
12747
12396
|
post({
|
|
@@ -12749,7 +12398,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12749
12398
|
}) {
|
|
12750
12399
|
return this.httpRequest.request({
|
|
12751
12400
|
method: "POST",
|
|
12752
|
-
url: "/api/
|
|
12401
|
+
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
12753
12402
|
body: requestBody,
|
|
12754
12403
|
mediaType: "application/json",
|
|
12755
12404
|
errors: {
|
|
@@ -12761,7 +12410,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12761
12410
|
}
|
|
12762
12411
|
/**
|
|
12763
12412
|
* Patches the resource.
|
|
12764
|
-
* @returns
|
|
12413
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
12765
12414
|
* @throws ApiError
|
|
12766
12415
|
*/
|
|
12767
12416
|
patch({
|
|
@@ -12769,7 +12418,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12769
12418
|
}) {
|
|
12770
12419
|
return this.httpRequest.request({
|
|
12771
12420
|
method: "PATCH",
|
|
12772
|
-
url: "/api/
|
|
12421
|
+
url: "/api/integration-dotdigital/v2-temporary-route",
|
|
12773
12422
|
body: requestBody,
|
|
12774
12423
|
mediaType: "application/json",
|
|
12775
12424
|
errors: {
|
|
@@ -12781,7 +12430,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12781
12430
|
}
|
|
12782
12431
|
/**
|
|
12783
12432
|
* Inserts a list of resources.
|
|
12784
|
-
* @returns
|
|
12433
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
12785
12434
|
* @throws ApiError
|
|
12786
12435
|
*/
|
|
12787
12436
|
postList({
|
|
@@ -12789,7 +12438,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12789
12438
|
}) {
|
|
12790
12439
|
return this.httpRequest.request({
|
|
12791
12440
|
method: "POST",
|
|
12792
|
-
url: "/api/
|
|
12441
|
+
url: "/api/integration-dotdigital/v2-temporary-route/list",
|
|
12793
12442
|
body: requestBody,
|
|
12794
12443
|
mediaType: "application/json",
|
|
12795
12444
|
errors: {
|
|
@@ -12801,7 +12450,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12801
12450
|
}
|
|
12802
12451
|
/**
|
|
12803
12452
|
* Patches the resource.
|
|
12804
|
-
* @returns
|
|
12453
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
12805
12454
|
* @throws ApiError
|
|
12806
12455
|
*/
|
|
12807
12456
|
patchWithReferences({
|
|
@@ -12809,7 +12458,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12809
12458
|
}) {
|
|
12810
12459
|
return this.httpRequest.request({
|
|
12811
12460
|
method: "PATCH",
|
|
12812
|
-
url: "/api/
|
|
12461
|
+
url: "/api/integration-dotdigital/v2-temporary-route/with-references",
|
|
12813
12462
|
body: requestBody,
|
|
12814
12463
|
mediaType: "application/json",
|
|
12815
12464
|
errors: {
|
|
@@ -12829,7 +12478,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12829
12478
|
}) {
|
|
12830
12479
|
return this.httpRequest.request({
|
|
12831
12480
|
method: "DELETE",
|
|
12832
|
-
url: "/api/
|
|
12481
|
+
url: "/api/integration-dotdigital",
|
|
12833
12482
|
body: requestBody,
|
|
12834
12483
|
mediaType: "application/json",
|
|
12835
12484
|
errors: {
|
|
@@ -12841,12 +12490,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12841
12490
|
}
|
|
12842
12491
|
/**
|
|
12843
12492
|
* Gets a list of resources.
|
|
12844
|
-
* @returns
|
|
12493
|
+
* @returns IntegrationDotdigitalSettingsPage OK
|
|
12845
12494
|
* @throws ApiError
|
|
12846
12495
|
*/
|
|
12847
12496
|
getPage({
|
|
12848
|
-
processed,
|
|
12849
|
-
errored,
|
|
12850
12497
|
pageNumber,
|
|
12851
12498
|
take,
|
|
12852
12499
|
skip,
|
|
@@ -12861,10 +12508,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12861
12508
|
}) {
|
|
12862
12509
|
return this.httpRequest.request({
|
|
12863
12510
|
method: "GET",
|
|
12864
|
-
url: "/api/
|
|
12511
|
+
url: "/api/integration-dotdigital",
|
|
12865
12512
|
query: {
|
|
12866
|
-
Processed: processed,
|
|
12867
|
-
Errored: errored,
|
|
12868
12513
|
PageNumber: pageNumber,
|
|
12869
12514
|
Take: take,
|
|
12870
12515
|
Skip: skip,
|
|
@@ -12894,7 +12539,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12894
12539
|
}) {
|
|
12895
12540
|
return this.httpRequest.request({
|
|
12896
12541
|
method: "DELETE",
|
|
12897
|
-
url: "/api/
|
|
12542
|
+
url: "/api/integration-dotdigital/{id}",
|
|
12898
12543
|
path: {
|
|
12899
12544
|
id
|
|
12900
12545
|
},
|
|
@@ -12907,7 +12552,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12907
12552
|
}
|
|
12908
12553
|
/**
|
|
12909
12554
|
* Gets the resource by its Id.
|
|
12910
|
-
* @returns
|
|
12555
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
12911
12556
|
* @throws ApiError
|
|
12912
12557
|
*/
|
|
12913
12558
|
getObject({
|
|
@@ -12915,7 +12560,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12915
12560
|
}) {
|
|
12916
12561
|
return this.httpRequest.request({
|
|
12917
12562
|
method: "GET",
|
|
12918
|
-
url: "/api/
|
|
12563
|
+
url: "/api/integration-dotdigital/{id}",
|
|
12919
12564
|
path: {
|
|
12920
12565
|
id
|
|
12921
12566
|
},
|
|
@@ -12936,7 +12581,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12936
12581
|
}) {
|
|
12937
12582
|
return this.httpRequest.request({
|
|
12938
12583
|
method: "GET",
|
|
12939
|
-
url: "/api/
|
|
12584
|
+
url: "/api/integration-dotdigital/{id}/deletable",
|
|
12940
12585
|
path: {
|
|
12941
12586
|
id
|
|
12942
12587
|
},
|
|
@@ -12953,8 +12598,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12953
12598
|
* @throws ApiError
|
|
12954
12599
|
*/
|
|
12955
12600
|
exists({
|
|
12956
|
-
processed,
|
|
12957
|
-
errored,
|
|
12958
12601
|
pageNumber,
|
|
12959
12602
|
take,
|
|
12960
12603
|
skip,
|
|
@@ -12969,10 +12612,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12969
12612
|
}) {
|
|
12970
12613
|
return this.httpRequest.request({
|
|
12971
12614
|
method: "GET",
|
|
12972
|
-
url: "/api/
|
|
12615
|
+
url: "/api/integration-dotdigital/exists",
|
|
12973
12616
|
query: {
|
|
12974
|
-
Processed: processed,
|
|
12975
|
-
Errored: errored,
|
|
12976
12617
|
PageNumber: pageNumber,
|
|
12977
12618
|
Take: take,
|
|
12978
12619
|
Skip: skip,
|
|
@@ -12998,8 +12639,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
12998
12639
|
* @throws ApiError
|
|
12999
12640
|
*/
|
|
13000
12641
|
count({
|
|
13001
|
-
processed,
|
|
13002
|
-
errored,
|
|
13003
12642
|
pageNumber,
|
|
13004
12643
|
take,
|
|
13005
12644
|
skip,
|
|
@@ -13014,10 +12653,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13014
12653
|
}) {
|
|
13015
12654
|
return this.httpRequest.request({
|
|
13016
12655
|
method: "GET",
|
|
13017
|
-
url: "/api/
|
|
12656
|
+
url: "/api/integration-dotdigital/count",
|
|
13018
12657
|
query: {
|
|
13019
|
-
Processed: processed,
|
|
13020
|
-
Errored: errored,
|
|
13021
12658
|
PageNumber: pageNumber,
|
|
13022
12659
|
Take: take,
|
|
13023
12660
|
Skip: skip,
|
|
@@ -13039,12 +12676,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13039
12676
|
}
|
|
13040
12677
|
/**
|
|
13041
12678
|
* Gets a list of resources unpaged and without references.
|
|
13042
|
-
* @returns
|
|
12679
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
13043
12680
|
* @throws ApiError
|
|
13044
12681
|
*/
|
|
13045
12682
|
getListWithoutReferences({
|
|
13046
|
-
processed,
|
|
13047
|
-
errored,
|
|
13048
12683
|
pageNumber,
|
|
13049
12684
|
take,
|
|
13050
12685
|
skip,
|
|
@@ -13059,10 +12694,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13059
12694
|
}) {
|
|
13060
12695
|
return this.httpRequest.request({
|
|
13061
12696
|
method: "GET",
|
|
13062
|
-
url: "/api/
|
|
12697
|
+
url: "/api/integration-dotdigital/without-references",
|
|
13063
12698
|
query: {
|
|
13064
|
-
Processed: processed,
|
|
13065
|
-
Errored: errored,
|
|
13066
12699
|
PageNumber: pageNumber,
|
|
13067
12700
|
Take: take,
|
|
13068
12701
|
Skip: skip,
|
|
@@ -13084,12 +12717,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13084
12717
|
}
|
|
13085
12718
|
/**
|
|
13086
12719
|
* Gets a list of resources.
|
|
13087
|
-
* @returns
|
|
12720
|
+
* @returns IntegrationDotdigitalSettings OK
|
|
13088
12721
|
* @throws ApiError
|
|
13089
12722
|
*/
|
|
13090
12723
|
getListIdName({
|
|
13091
|
-
processed,
|
|
13092
|
-
errored,
|
|
13093
12724
|
pageNumber,
|
|
13094
12725
|
take,
|
|
13095
12726
|
skip,
|
|
@@ -13104,10 +12735,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13104
12735
|
}) {
|
|
13105
12736
|
return this.httpRequest.request({
|
|
13106
12737
|
method: "GET",
|
|
13107
|
-
url: "/api/
|
|
12738
|
+
url: "/api/integration-dotdigital/id-name",
|
|
13108
12739
|
query: {
|
|
13109
|
-
Processed: processed,
|
|
13110
|
-
Errored: errored,
|
|
13111
12740
|
PageNumber: pageNumber,
|
|
13112
12741
|
Take: take,
|
|
13113
12742
|
Skip: skip,
|
|
@@ -13127,13 +12756,29 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13127
12756
|
}
|
|
13128
12757
|
});
|
|
13129
12758
|
}
|
|
13130
|
-
}class
|
|
12759
|
+
}class IntegrationQueueService {
|
|
13131
12760
|
constructor(httpRequest) {
|
|
13132
12761
|
this.httpRequest = httpRequest;
|
|
13133
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
|
+
}
|
|
13134
12779
|
/**
|
|
13135
12780
|
* Inserts a new resource. The Id will be automatically generated and will be ignored if provided.
|
|
13136
|
-
* @returns
|
|
12781
|
+
* @returns IntegrationQueue OK
|
|
13137
12782
|
* @throws ApiError
|
|
13138
12783
|
*/
|
|
13139
12784
|
post({
|
|
@@ -13141,7 +12786,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13141
12786
|
}) {
|
|
13142
12787
|
return this.httpRequest.request({
|
|
13143
12788
|
method: "POST",
|
|
13144
|
-
url: "/api/
|
|
12789
|
+
url: "/api/integration-queue/v2-temporary-route",
|
|
13145
12790
|
body: requestBody,
|
|
13146
12791
|
mediaType: "application/json",
|
|
13147
12792
|
errors: {
|
|
@@ -13153,7 +12798,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13153
12798
|
}
|
|
13154
12799
|
/**
|
|
13155
12800
|
* Patches the resource.
|
|
13156
|
-
* @returns
|
|
12801
|
+
* @returns IntegrationQueue OK
|
|
13157
12802
|
* @throws ApiError
|
|
13158
12803
|
*/
|
|
13159
12804
|
patch({
|
|
@@ -13161,7 +12806,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13161
12806
|
}) {
|
|
13162
12807
|
return this.httpRequest.request({
|
|
13163
12808
|
method: "PATCH",
|
|
13164
|
-
url: "/api/
|
|
12809
|
+
url: "/api/integration-queue/v2-temporary-route",
|
|
13165
12810
|
body: requestBody,
|
|
13166
12811
|
mediaType: "application/json",
|
|
13167
12812
|
errors: {
|
|
@@ -13173,7 +12818,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13173
12818
|
}
|
|
13174
12819
|
/**
|
|
13175
12820
|
* Inserts a list of resources.
|
|
13176
|
-
* @returns
|
|
12821
|
+
* @returns IntegrationQueue OK
|
|
13177
12822
|
* @throws ApiError
|
|
13178
12823
|
*/
|
|
13179
12824
|
postList({
|
|
@@ -13181,7 +12826,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13181
12826
|
}) {
|
|
13182
12827
|
return this.httpRequest.request({
|
|
13183
12828
|
method: "POST",
|
|
13184
|
-
url: "/api/
|
|
12829
|
+
url: "/api/integration-queue/v2-temporary-route/list",
|
|
13185
12830
|
body: requestBody,
|
|
13186
12831
|
mediaType: "application/json",
|
|
13187
12832
|
errors: {
|
|
@@ -13193,7 +12838,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13193
12838
|
}
|
|
13194
12839
|
/**
|
|
13195
12840
|
* Patches the resource.
|
|
13196
|
-
* @returns
|
|
12841
|
+
* @returns IntegrationQueue OK
|
|
13197
12842
|
* @throws ApiError
|
|
13198
12843
|
*/
|
|
13199
12844
|
patchWithReferences({
|
|
@@ -13201,7 +12846,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13201
12846
|
}) {
|
|
13202
12847
|
return this.httpRequest.request({
|
|
13203
12848
|
method: "PATCH",
|
|
13204
|
-
url: "/api/
|
|
12849
|
+
url: "/api/integration-queue/v2-temporary-route/with-references",
|
|
13205
12850
|
body: requestBody,
|
|
13206
12851
|
mediaType: "application/json",
|
|
13207
12852
|
errors: {
|
|
@@ -13221,7 +12866,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13221
12866
|
}) {
|
|
13222
12867
|
return this.httpRequest.request({
|
|
13223
12868
|
method: "DELETE",
|
|
13224
|
-
url: "/api/
|
|
12869
|
+
url: "/api/integration-queue",
|
|
13225
12870
|
body: requestBody,
|
|
13226
12871
|
mediaType: "application/json",
|
|
13227
12872
|
errors: {
|
|
@@ -13233,25 +12878,12 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13233
12878
|
}
|
|
13234
12879
|
/**
|
|
13235
12880
|
* Gets a list of resources.
|
|
13236
|
-
* @returns
|
|
12881
|
+
* @returns IntegrationQueuePage OK
|
|
13237
12882
|
* @throws ApiError
|
|
13238
12883
|
*/
|
|
13239
12884
|
getPage({
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
cancellation,
|
|
13243
|
-
reschedule,
|
|
13244
|
-
waitlistActivity,
|
|
13245
|
-
waitlistOpportunity,
|
|
13246
|
-
capacityReached,
|
|
13247
|
-
capacity75Percent,
|
|
13248
|
-
stripeConnected,
|
|
13249
|
-
stripeDisconnected,
|
|
13250
|
-
activityScheduleUpdated,
|
|
13251
|
-
activityPriceUpdated,
|
|
13252
|
-
newActivity,
|
|
13253
|
-
paymentReceived,
|
|
13254
|
-
postCompletionSurveyCompleted,
|
|
12885
|
+
processed,
|
|
12886
|
+
errored,
|
|
13255
12887
|
pageNumber,
|
|
13256
12888
|
take,
|
|
13257
12889
|
skip,
|
|
@@ -13266,23 +12898,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13266
12898
|
}) {
|
|
13267
12899
|
return this.httpRequest.request({
|
|
13268
12900
|
method: "GET",
|
|
13269
|
-
url: "/api/
|
|
12901
|
+
url: "/api/integration-queue",
|
|
13270
12902
|
query: {
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
Cancellation: cancellation,
|
|
13274
|
-
Reschedule: reschedule,
|
|
13275
|
-
WaitlistActivity: waitlistActivity,
|
|
13276
|
-
WaitlistOpportunity: waitlistOpportunity,
|
|
13277
|
-
CapacityReached: capacityReached,
|
|
13278
|
-
Capacity75Percent: capacity75Percent,
|
|
13279
|
-
StripeConnected: stripeConnected,
|
|
13280
|
-
StripeDisconnected: stripeDisconnected,
|
|
13281
|
-
ActivityScheduleUpdated: activityScheduleUpdated,
|
|
13282
|
-
ActivityPriceUpdated: activityPriceUpdated,
|
|
13283
|
-
NewActivity: newActivity,
|
|
13284
|
-
PaymentReceived: paymentReceived,
|
|
13285
|
-
PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
|
|
12903
|
+
Processed: processed,
|
|
12904
|
+
Errored: errored,
|
|
13286
12905
|
PageNumber: pageNumber,
|
|
13287
12906
|
Take: take,
|
|
13288
12907
|
Skip: skip,
|
|
@@ -13312,7 +12931,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13312
12931
|
}) {
|
|
13313
12932
|
return this.httpRequest.request({
|
|
13314
12933
|
method: "DELETE",
|
|
13315
|
-
url: "/api/
|
|
12934
|
+
url: "/api/integration-queue/{id}",
|
|
13316
12935
|
path: {
|
|
13317
12936
|
id
|
|
13318
12937
|
},
|
|
@@ -13325,7 +12944,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13325
12944
|
}
|
|
13326
12945
|
/**
|
|
13327
12946
|
* Gets the resource by its Id.
|
|
13328
|
-
* @returns
|
|
12947
|
+
* @returns IntegrationQueue OK
|
|
13329
12948
|
* @throws ApiError
|
|
13330
12949
|
*/
|
|
13331
12950
|
getObject({
|
|
@@ -13333,7 +12952,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13333
12952
|
}) {
|
|
13334
12953
|
return this.httpRequest.request({
|
|
13335
12954
|
method: "GET",
|
|
13336
|
-
url: "/api/
|
|
12955
|
+
url: "/api/integration-queue/{id}",
|
|
13337
12956
|
path: {
|
|
13338
12957
|
id
|
|
13339
12958
|
},
|
|
@@ -13354,7 +12973,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13354
12973
|
}) {
|
|
13355
12974
|
return this.httpRequest.request({
|
|
13356
12975
|
method: "GET",
|
|
13357
|
-
url: "/api/
|
|
12976
|
+
url: "/api/integration-queue/{id}/deletable",
|
|
13358
12977
|
path: {
|
|
13359
12978
|
id
|
|
13360
12979
|
},
|
|
@@ -13371,21 +12990,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13371
12990
|
* @throws ApiError
|
|
13372
12991
|
*/
|
|
13373
12992
|
exists({
|
|
13374
|
-
|
|
13375
|
-
|
|
13376
|
-
cancellation,
|
|
13377
|
-
reschedule,
|
|
13378
|
-
waitlistActivity,
|
|
13379
|
-
waitlistOpportunity,
|
|
13380
|
-
capacityReached,
|
|
13381
|
-
capacity75Percent,
|
|
13382
|
-
stripeConnected,
|
|
13383
|
-
stripeDisconnected,
|
|
13384
|
-
activityScheduleUpdated,
|
|
13385
|
-
activityPriceUpdated,
|
|
13386
|
-
newActivity,
|
|
13387
|
-
paymentReceived,
|
|
13388
|
-
postCompletionSurveyCompleted,
|
|
12993
|
+
processed,
|
|
12994
|
+
errored,
|
|
13389
12995
|
pageNumber,
|
|
13390
12996
|
take,
|
|
13391
12997
|
skip,
|
|
@@ -13400,23 +13006,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13400
13006
|
}) {
|
|
13401
13007
|
return this.httpRequest.request({
|
|
13402
13008
|
method: "GET",
|
|
13403
|
-
url: "/api/
|
|
13009
|
+
url: "/api/integration-queue/exists",
|
|
13404
13010
|
query: {
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
Cancellation: cancellation,
|
|
13408
|
-
Reschedule: reschedule,
|
|
13409
|
-
WaitlistActivity: waitlistActivity,
|
|
13410
|
-
WaitlistOpportunity: waitlistOpportunity,
|
|
13411
|
-
CapacityReached: capacityReached,
|
|
13412
|
-
Capacity75Percent: capacity75Percent,
|
|
13413
|
-
StripeConnected: stripeConnected,
|
|
13414
|
-
StripeDisconnected: stripeDisconnected,
|
|
13415
|
-
ActivityScheduleUpdated: activityScheduleUpdated,
|
|
13416
|
-
ActivityPriceUpdated: activityPriceUpdated,
|
|
13417
|
-
NewActivity: newActivity,
|
|
13418
|
-
PaymentReceived: paymentReceived,
|
|
13419
|
-
PostCompletionSurveyCompleted: postCompletionSurveyCompleted,
|
|
13011
|
+
Processed: processed,
|
|
13012
|
+
Errored: errored,
|
|
13420
13013
|
PageNumber: pageNumber,
|
|
13421
13014
|
Take: take,
|
|
13422
13015
|
Skip: skip,
|
|
@@ -13442,21 +13035,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13442
13035
|
* @throws ApiError
|
|
13443
13036
|
*/
|
|
13444
13037
|
count({
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
cancellation,
|
|
13448
|
-
reschedule,
|
|
13449
|
-
waitlistActivity,
|
|
13450
|
-
waitlistOpportunity,
|
|
13451
|
-
capacityReached,
|
|
13452
|
-
capacity75Percent,
|
|
13453
|
-
stripeConnected,
|
|
13454
|
-
stripeDisconnected,
|
|
13455
|
-
activityScheduleUpdated,
|
|
13456
|
-
activityPriceUpdated,
|
|
13457
|
-
newActivity,
|
|
13458
|
-
paymentReceived,
|
|
13459
|
-
postCompletionSurveyCompleted,
|
|
13038
|
+
processed,
|
|
13039
|
+
errored,
|
|
13460
13040
|
pageNumber,
|
|
13461
13041
|
take,
|
|
13462
13042
|
skip,
|
|
@@ -13471,23 +13051,2038 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13471
13051
|
}) {
|
|
13472
13052
|
return this.httpRequest.request({
|
|
13473
13053
|
method: "GET",
|
|
13474
|
-
url: "/api/
|
|
13054
|
+
url: "/api/integration-queue/count",
|
|
13475
13055
|
query: {
|
|
13476
|
-
|
|
13477
|
-
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
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,
|
|
13491
15086
|
PageNumber: pageNumber,
|
|
13492
15087
|
Take: take,
|
|
13493
15088
|
Skip: skip,
|
|
@@ -21167,7 +22762,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
21167
22762
|
xTenantSubdomain,
|
|
21168
22763
|
startDateTimeGte,
|
|
21169
22764
|
venueId,
|
|
21170
|
-
programmeId
|
|
22765
|
+
programmeId,
|
|
22766
|
+
providerId
|
|
21171
22767
|
}) {
|
|
21172
22768
|
return this.httpRequest.request({
|
|
21173
22769
|
method: "GET",
|
|
@@ -21178,7 +22774,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
21178
22774
|
query: {
|
|
21179
22775
|
StartDateTimeGTE: startDateTimeGte,
|
|
21180
22776
|
VenueId: venueId,
|
|
21181
|
-
ProgrammeId: programmeId
|
|
22777
|
+
ProgrammeId: programmeId,
|
|
22778
|
+
ProviderId: providerId
|
|
21182
22779
|
},
|
|
21183
22780
|
errors: {
|
|
21184
22781
|
400: `Bad Request`,
|
|
@@ -25372,6 +26969,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25372
26969
|
ids,
|
|
25373
26970
|
venueId,
|
|
25374
26971
|
programmeId,
|
|
26972
|
+
providerId,
|
|
25375
26973
|
sessionId,
|
|
25376
26974
|
sessionIds,
|
|
25377
26975
|
scheduleId,
|
|
@@ -25419,6 +27017,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25419
27017
|
Ids: ids,
|
|
25420
27018
|
VenueId: venueId,
|
|
25421
27019
|
ProgrammeId: programmeId,
|
|
27020
|
+
ProviderId: providerId,
|
|
25422
27021
|
SessionId: sessionId,
|
|
25423
27022
|
SessionIds: sessionIds,
|
|
25424
27023
|
ScheduleId: scheduleId,
|
|
@@ -25569,6 +27168,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25569
27168
|
ids,
|
|
25570
27169
|
venueId,
|
|
25571
27170
|
programmeId,
|
|
27171
|
+
providerId,
|
|
25572
27172
|
sessionId,
|
|
25573
27173
|
sessionIds,
|
|
25574
27174
|
scheduleId,
|
|
@@ -25616,344 +27216,347 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
25616
27216
|
Ids: ids,
|
|
25617
27217
|
VenueId: venueId,
|
|
25618
27218
|
ProgrammeId: programmeId,
|
|
25619
|
-
|
|
25620
|
-
|
|
25621
|
-
|
|
25622
|
-
|
|
25623
|
-
|
|
25624
|
-
|
|
25625
|
-
|
|
25626
|
-
|
|
25627
|
-
|
|
25628
|
-
|
|
25629
|
-
|
|
25630
|
-
|
|
25631
|
-
|
|
25632
|
-
|
|
25633
|
-
|
|
25634
|
-
|
|
25635
|
-
|
|
25636
|
-
|
|
25637
|
-
|
|
25638
|
-
|
|
25639
|
-
|
|
25640
|
-
|
|
25641
|
-
|
|
25642
|
-
|
|
25643
|
-
|
|
25644
|
-
|
|
25645
|
-
|
|
25646
|
-
|
|
25647
|
-
|
|
25648
|
-
|
|
25649
|
-
|
|
25650
|
-
|
|
25651
|
-
|
|
25652
|
-
|
|
25653
|
-
|
|
25654
|
-
|
|
25655
|
-
|
|
25656
|
-
|
|
25657
|
-
|
|
25658
|
-
|
|
25659
|
-
|
|
25660
|
-
|
|
25661
|
-
|
|
25662
|
-
|
|
25663
|
-
}
|
|
25664
|
-
|
|
25665
|
-
|
|
25666
|
-
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
* @
|
|
25670
|
-
|
|
25671
|
-
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
|
|
25680
|
-
|
|
25681
|
-
|
|
25682
|
-
|
|
25683
|
-
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
*
|
|
25694
|
-
* @
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
* @
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25736
|
-
|
|
25737
|
-
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25741
|
-
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
|
|
25746
|
-
|
|
25747
|
-
|
|
25748
|
-
|
|
25749
|
-
|
|
25750
|
-
|
|
25751
|
-
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
25762
|
-
|
|
25763
|
-
|
|
25764
|
-
|
|
25765
|
-
|
|
25766
|
-
|
|
25767
|
-
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
|
|
25776
|
-
|
|
25777
|
-
|
|
25778
|
-
|
|
25779
|
-
|
|
25780
|
-
|
|
25781
|
-
|
|
25782
|
-
|
|
25783
|
-
|
|
25784
|
-
|
|
25785
|
-
|
|
25786
|
-
|
|
25787
|
-
|
|
25788
|
-
|
|
25789
|
-
|
|
25790
|
-
|
|
25791
|
-
|
|
25792
|
-
|
|
25793
|
-
|
|
25794
|
-
|
|
25795
|
-
|
|
25796
|
-
|
|
25797
|
-
|
|
25798
|
-
|
|
25799
|
-
|
|
25800
|
-
|
|
25801
|
-
|
|
25802
|
-
|
|
25803
|
-
|
|
25804
|
-
|
|
25805
|
-
|
|
25806
|
-
|
|
25807
|
-
|
|
25808
|
-
|
|
25809
|
-
|
|
25810
|
-
|
|
25811
|
-
|
|
25812
|
-
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
|
|
25816
|
-
|
|
25817
|
-
|
|
25818
|
-
|
|
25819
|
-
|
|
25820
|
-
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
|
|
25826
|
-
*
|
|
25827
|
-
* @
|
|
25828
|
-
|
|
25829
|
-
|
|
25830
|
-
|
|
25831
|
-
|
|
25832
|
-
|
|
25833
|
-
|
|
25834
|
-
|
|
25835
|
-
|
|
25836
|
-
|
|
25837
|
-
|
|
25838
|
-
|
|
25839
|
-
|
|
25840
|
-
|
|
25841
|
-
|
|
25842
|
-
|
|
25843
|
-
|
|
25844
|
-
|
|
25845
|
-
|
|
25846
|
-
|
|
25847
|
-
|
|
25848
|
-
|
|
25849
|
-
|
|
25850
|
-
*
|
|
25851
|
-
* @
|
|
25852
|
-
|
|
25853
|
-
|
|
25854
|
-
|
|
25855
|
-
|
|
25856
|
-
|
|
25857
|
-
|
|
25858
|
-
|
|
25859
|
-
|
|
25860
|
-
|
|
25861
|
-
|
|
25862
|
-
|
|
25863
|
-
|
|
25864
|
-
|
|
25865
|
-
|
|
25866
|
-
|
|
25867
|
-
|
|
25868
|
-
|
|
25869
|
-
|
|
25870
|
-
|
|
25871
|
-
|
|
25872
|
-
|
|
25873
|
-
|
|
25874
|
-
|
|
25875
|
-
|
|
25876
|
-
|
|
25877
|
-
*
|
|
25878
|
-
* @
|
|
25879
|
-
|
|
25880
|
-
|
|
25881
|
-
|
|
25882
|
-
|
|
25883
|
-
|
|
25884
|
-
|
|
25885
|
-
|
|
25886
|
-
|
|
25887
|
-
|
|
25888
|
-
|
|
25889
|
-
|
|
25890
|
-
|
|
25891
|
-
|
|
25892
|
-
|
|
25893
|
-
|
|
25894
|
-
|
|
25895
|
-
|
|
25896
|
-
|
|
25897
|
-
|
|
25898
|
-
|
|
25899
|
-
|
|
25900
|
-
|
|
25901
|
-
|
|
25902
|
-
*
|
|
25903
|
-
* @
|
|
25904
|
-
|
|
25905
|
-
|
|
25906
|
-
|
|
25907
|
-
|
|
25908
|
-
|
|
25909
|
-
|
|
25910
|
-
|
|
25911
|
-
|
|
25912
|
-
|
|
25913
|
-
|
|
25914
|
-
|
|
25915
|
-
|
|
25916
|
-
|
|
25917
|
-
|
|
25918
|
-
|
|
25919
|
-
|
|
25920
|
-
|
|
25921
|
-
|
|
25922
|
-
|
|
25923
|
-
|
|
25924
|
-
|
|
25925
|
-
|
|
25926
|
-
|
|
25927
|
-
|
|
25928
|
-
|
|
25929
|
-
|
|
25930
|
-
|
|
25931
|
-
|
|
25932
|
-
|
|
25933
|
-
|
|
25934
|
-
|
|
25935
|
-
|
|
25936
|
-
|
|
25937
|
-
|
|
25938
|
-
|
|
25939
|
-
|
|
25940
|
-
|
|
25941
|
-
|
|
25942
|
-
|
|
25943
|
-
|
|
25944
|
-
|
|
25945
|
-
|
|
25946
|
-
|
|
25947
|
-
|
|
25948
|
-
|
|
25949
|
-
|
|
25950
|
-
|
|
25951
|
-
|
|
25952
|
-
|
|
25953
|
-
|
|
25954
|
-
|
|
25955
|
-
|
|
25956
|
-
|
|
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,
|
|
25957
27560
|
SessionId: sessionId,
|
|
25958
27561
|
SessionIds: sessionIds,
|
|
25959
27562
|
ScheduleId: scheduleId,
|
|
@@ -27813,6 +29416,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27813
29416
|
dashboardRequest,
|
|
27814
29417
|
programmeIds,
|
|
27815
29418
|
venueTypeIds,
|
|
29419
|
+
providerId,
|
|
29420
|
+
providerIds,
|
|
27816
29421
|
pageNumber,
|
|
27817
29422
|
take,
|
|
27818
29423
|
skip,
|
|
@@ -27854,6 +29459,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27854
29459
|
DashboardRequest: dashboardRequest,
|
|
27855
29460
|
ProgrammeIds: programmeIds,
|
|
27856
29461
|
VenueTypeIds: venueTypeIds,
|
|
29462
|
+
ProviderId: providerId,
|
|
29463
|
+
ProviderIds: providerIds,
|
|
27857
29464
|
PageNumber: pageNumber,
|
|
27858
29465
|
Take: take,
|
|
27859
29466
|
Skip: skip,
|
|
@@ -27925,6 +29532,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27925
29532
|
dashboardRequest,
|
|
27926
29533
|
programmeIds,
|
|
27927
29534
|
venueTypeIds,
|
|
29535
|
+
providerId,
|
|
29536
|
+
providerIds,
|
|
27928
29537
|
pageNumber,
|
|
27929
29538
|
take,
|
|
27930
29539
|
skip,
|
|
@@ -27963,6 +29572,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
27963
29572
|
DashboardRequest: dashboardRequest,
|
|
27964
29573
|
ProgrammeIds: programmeIds,
|
|
27965
29574
|
VenueTypeIds: venueTypeIds,
|
|
29575
|
+
ProviderId: providerId,
|
|
29576
|
+
ProviderIds: providerIds,
|
|
27966
29577
|
PageNumber: pageNumber,
|
|
27967
29578
|
Take: take,
|
|
27968
29579
|
Skip: skip,
|
|
@@ -28010,6 +29621,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
28010
29621
|
dashboardRequest,
|
|
28011
29622
|
programmeIds,
|
|
28012
29623
|
venueTypeIds,
|
|
29624
|
+
providerId,
|
|
29625
|
+
providerIds,
|
|
28013
29626
|
pageNumber,
|
|
28014
29627
|
take,
|
|
28015
29628
|
skip,
|
|
@@ -28048,6 +29661,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
28048
29661
|
DashboardRequest: dashboardRequest,
|
|
28049
29662
|
ProgrammeIds: programmeIds,
|
|
28050
29663
|
VenueTypeIds: venueTypeIds,
|
|
29664
|
+
ProviderId: providerId,
|
|
29665
|
+
ProviderIds: providerIds,
|
|
28051
29666
|
PageNumber: pageNumber,
|
|
28052
29667
|
Take: take,
|
|
28053
29668
|
Skip: skip,
|
|
@@ -28193,6 +29808,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
28193
29808
|
dashboardRequest,
|
|
28194
29809
|
programmeIds,
|
|
28195
29810
|
venueTypeIds,
|
|
29811
|
+
providerId,
|
|
29812
|
+
providerIds,
|
|
28196
29813
|
pageNumber,
|
|
28197
29814
|
take,
|
|
28198
29815
|
skip,
|
|
@@ -28234,6 +29851,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
28234
29851
|
DashboardRequest: dashboardRequest,
|
|
28235
29852
|
ProgrammeIds: programmeIds,
|
|
28236
29853
|
VenueTypeIds: venueTypeIds,
|
|
29854
|
+
ProviderId: providerId,
|
|
29855
|
+
ProviderIds: providerIds,
|
|
28237
29856
|
PageNumber: pageNumber,
|
|
28238
29857
|
Take: take,
|
|
28239
29858
|
Skip: skip,
|
|
@@ -30663,6 +32282,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30663
32282
|
ids,
|
|
30664
32283
|
venueId,
|
|
30665
32284
|
programmeId,
|
|
32285
|
+
providerId,
|
|
30666
32286
|
sessionId,
|
|
30667
32287
|
sessionIds,
|
|
30668
32288
|
scheduleId,
|
|
@@ -30707,6 +32327,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30707
32327
|
Ids: ids,
|
|
30708
32328
|
VenueId: venueId,
|
|
30709
32329
|
ProgrammeId: programmeId,
|
|
32330
|
+
ProviderId: providerId,
|
|
30710
32331
|
SessionId: sessionId,
|
|
30711
32332
|
SessionIds: sessionIds,
|
|
30712
32333
|
ScheduleId: scheduleId,
|
|
@@ -30823,6 +32444,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30823
32444
|
ids,
|
|
30824
32445
|
venueId,
|
|
30825
32446
|
programmeId,
|
|
32447
|
+
providerId,
|
|
30826
32448
|
sessionId,
|
|
30827
32449
|
sessionIds,
|
|
30828
32450
|
scheduleId,
|
|
@@ -30867,6 +32489,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30867
32489
|
Ids: ids,
|
|
30868
32490
|
VenueId: venueId,
|
|
30869
32491
|
ProgrammeId: programmeId,
|
|
32492
|
+
ProviderId: providerId,
|
|
30870
32493
|
SessionId: sessionId,
|
|
30871
32494
|
SessionIds: sessionIds,
|
|
30872
32495
|
ScheduleId: scheduleId,
|
|
@@ -30920,6 +32543,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30920
32543
|
ids,
|
|
30921
32544
|
venueId,
|
|
30922
32545
|
programmeId,
|
|
32546
|
+
providerId,
|
|
30923
32547
|
sessionId,
|
|
30924
32548
|
sessionIds,
|
|
30925
32549
|
scheduleId,
|
|
@@ -30964,6 +32588,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
30964
32588
|
Ids: ids,
|
|
30965
32589
|
VenueId: venueId,
|
|
30966
32590
|
ProgrammeId: programmeId,
|
|
32591
|
+
ProviderId: providerId,
|
|
30967
32592
|
SessionId: sessionId,
|
|
30968
32593
|
SessionIds: sessionIds,
|
|
30969
32594
|
ScheduleId: scheduleId,
|
|
@@ -31017,6 +32642,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31017
32642
|
ids,
|
|
31018
32643
|
venueId,
|
|
31019
32644
|
programmeId,
|
|
32645
|
+
providerId,
|
|
31020
32646
|
sessionId,
|
|
31021
32647
|
sessionIds,
|
|
31022
32648
|
scheduleId,
|
|
@@ -31061,6 +32687,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31061
32687
|
Ids: ids,
|
|
31062
32688
|
VenueId: venueId,
|
|
31063
32689
|
ProgrammeId: programmeId,
|
|
32690
|
+
ProviderId: providerId,
|
|
31064
32691
|
SessionId: sessionId,
|
|
31065
32692
|
SessionIds: sessionIds,
|
|
31066
32693
|
ScheduleId: scheduleId,
|
|
@@ -31114,6 +32741,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31114
32741
|
ids,
|
|
31115
32742
|
venueId,
|
|
31116
32743
|
programmeId,
|
|
32744
|
+
providerId,
|
|
31117
32745
|
sessionId,
|
|
31118
32746
|
sessionIds,
|
|
31119
32747
|
scheduleId,
|
|
@@ -31158,6 +32786,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
31158
32786
|
Ids: ids,
|
|
31159
32787
|
VenueId: venueId,
|
|
31160
32788
|
ProgrammeId: programmeId,
|
|
32789
|
+
ProviderId: providerId,
|
|
31161
32790
|
SessionId: sessionId,
|
|
31162
32791
|
SessionIds: sessionIds,
|
|
31163
32792
|
ScheduleId: scheduleId,
|
|
@@ -43843,6 +45472,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
43843
45472
|
dashboardRequest,
|
|
43844
45473
|
programmeIds,
|
|
43845
45474
|
venueTypeIds,
|
|
45475
|
+
providerId,
|
|
45476
|
+
providerIds,
|
|
43846
45477
|
pageNumber,
|
|
43847
45478
|
take,
|
|
43848
45479
|
skip,
|
|
@@ -43881,6 +45512,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
43881
45512
|
DashboardRequest: dashboardRequest,
|
|
43882
45513
|
ProgrammeIds: programmeIds,
|
|
43883
45514
|
VenueTypeIds: venueTypeIds,
|
|
45515
|
+
ProviderId: providerId,
|
|
45516
|
+
ProviderIds: providerIds,
|
|
43884
45517
|
PageNumber: pageNumber,
|
|
43885
45518
|
Take: take,
|
|
43886
45519
|
Skip: skip,
|
|
@@ -43991,6 +45624,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
43991
45624
|
dashboardRequest,
|
|
43992
45625
|
programmeIds,
|
|
43993
45626
|
venueTypeIds,
|
|
45627
|
+
providerId,
|
|
45628
|
+
providerIds,
|
|
43994
45629
|
pageNumber,
|
|
43995
45630
|
take,
|
|
43996
45631
|
skip,
|
|
@@ -44029,6 +45664,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44029
45664
|
DashboardRequest: dashboardRequest,
|
|
44030
45665
|
ProgrammeIds: programmeIds,
|
|
44031
45666
|
VenueTypeIds: venueTypeIds,
|
|
45667
|
+
ProviderId: providerId,
|
|
45668
|
+
ProviderIds: providerIds,
|
|
44032
45669
|
PageNumber: pageNumber,
|
|
44033
45670
|
Take: take,
|
|
44034
45671
|
Skip: skip,
|
|
@@ -44076,6 +45713,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44076
45713
|
dashboardRequest,
|
|
44077
45714
|
programmeIds,
|
|
44078
45715
|
venueTypeIds,
|
|
45716
|
+
providerId,
|
|
45717
|
+
providerIds,
|
|
44079
45718
|
pageNumber,
|
|
44080
45719
|
take,
|
|
44081
45720
|
skip,
|
|
@@ -44114,6 +45753,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44114
45753
|
DashboardRequest: dashboardRequest,
|
|
44115
45754
|
ProgrammeIds: programmeIds,
|
|
44116
45755
|
VenueTypeIds: venueTypeIds,
|
|
45756
|
+
ProviderId: providerId,
|
|
45757
|
+
ProviderIds: providerIds,
|
|
44117
45758
|
PageNumber: pageNumber,
|
|
44118
45759
|
Take: take,
|
|
44119
45760
|
Skip: skip,
|
|
@@ -44161,6 +45802,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44161
45802
|
dashboardRequest,
|
|
44162
45803
|
programmeIds,
|
|
44163
45804
|
venueTypeIds,
|
|
45805
|
+
providerId,
|
|
45806
|
+
providerIds,
|
|
44164
45807
|
pageNumber,
|
|
44165
45808
|
take,
|
|
44166
45809
|
skip,
|
|
@@ -44199,6 +45842,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44199
45842
|
DashboardRequest: dashboardRequest,
|
|
44200
45843
|
ProgrammeIds: programmeIds,
|
|
44201
45844
|
VenueTypeIds: venueTypeIds,
|
|
45845
|
+
ProviderId: providerId,
|
|
45846
|
+
ProviderIds: providerIds,
|
|
44202
45847
|
PageNumber: pageNumber,
|
|
44203
45848
|
Take: take,
|
|
44204
45849
|
Skip: skip,
|
|
@@ -44246,6 +45891,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44246
45891
|
dashboardRequest,
|
|
44247
45892
|
programmeIds,
|
|
44248
45893
|
venueTypeIds,
|
|
45894
|
+
providerId,
|
|
45895
|
+
providerIds,
|
|
44249
45896
|
pageNumber,
|
|
44250
45897
|
take,
|
|
44251
45898
|
skip,
|
|
@@ -44284,6 +45931,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
44284
45931
|
DashboardRequest: dashboardRequest,
|
|
44285
45932
|
ProgrammeIds: programmeIds,
|
|
44286
45933
|
VenueTypeIds: venueTypeIds,
|
|
45934
|
+
ProviderId: providerId,
|
|
45935
|
+
ProviderIds: providerIds,
|
|
44287
45936
|
PageNumber: pageNumber,
|
|
44288
45937
|
Take: take,
|
|
44289
45938
|
Skip: skip,
|
|
@@ -47977,6 +49626,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
47977
49626
|
dealActivities;
|
|
47978
49627
|
deals;
|
|
47979
49628
|
discountCodeUses;
|
|
49629
|
+
dotdigital;
|
|
47980
49630
|
emailReminderSchedules;
|
|
47981
49631
|
emailSettings;
|
|
47982
49632
|
endUserIdentitySecureToken;
|
|
@@ -47992,6 +49642,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
47992
49642
|
imageLibraryImage;
|
|
47993
49643
|
images;
|
|
47994
49644
|
imageUploadHistory;
|
|
49645
|
+
integrationDotdigitalFieldMap;
|
|
49646
|
+
integrationDotdigitalLog;
|
|
49647
|
+
integrationDotDigitalSettings;
|
|
49648
|
+
integrationQueue;
|
|
47995
49649
|
leasing;
|
|
47996
49650
|
locationsReport;
|
|
47997
49651
|
loqatePlaces;
|
|
@@ -48112,6 +49766,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
48112
49766
|
this.dealActivities = new DealActivitiesService(this.request);
|
|
48113
49767
|
this.deals = new DealsService(this.request);
|
|
48114
49768
|
this.discountCodeUses = new DiscountCodeUsesService(this.request);
|
|
49769
|
+
this.dotdigital = new DotdigitalService(this.request);
|
|
48115
49770
|
this.emailReminderSchedules = new EmailReminderSchedulesService(this.request);
|
|
48116
49771
|
this.emailSettings = new EmailSettingsService(this.request);
|
|
48117
49772
|
this.endUserIdentitySecureToken = new EndUserIdentitySecureTokenService(this.request);
|
|
@@ -48127,6 +49782,10 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
48127
49782
|
this.imageLibraryImage = new ImageLibraryImageService(this.request);
|
|
48128
49783
|
this.images = new ImagesService(this.request);
|
|
48129
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);
|
|
48130
49789
|
this.leasing = new LeasingService(this.request);
|
|
48131
49790
|
this.locationsReport = new LocationsReportService(this.request);
|
|
48132
49791
|
this.loqatePlaces = new LoqatePlacesService(this.request);
|
|
@@ -48353,7 +50012,23 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
48353
50012
|
DealType2["MULTI_PARTICIPANT"] = "MultiParticipant";
|
|
48354
50013
|
DealType2["DISCOUNT_CODE"] = "DiscountCode";
|
|
48355
50014
|
return DealType2;
|
|
48356
|
-
})(DealType || {});var
|
|
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) => {
|
|
48357
50032
|
EventTiming2["UPCOMING"] = "Upcoming";
|
|
48358
50033
|
EventTiming2["PAST"] = "Past";
|
|
48359
50034
|
return EventTiming2;
|
|
@@ -48442,7 +50117,15 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
48442
50117
|
HttpStatusCode2["NOT_EXTENDED"] = "NotExtended";
|
|
48443
50118
|
HttpStatusCode2["NETWORK_AUTHENTICATION_REQUIRED"] = "NetworkAuthenticationRequired";
|
|
48444
50119
|
return HttpStatusCode2;
|
|
48445
|
-
})(HttpStatusCode || {});var
|
|
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) => {
|
|
48446
50129
|
InviteStatus2["PENDING"] = "Pending";
|
|
48447
50130
|
InviteStatus2["COMPLETE"] = "Complete";
|
|
48448
50131
|
return InviteStatus2;
|
|
@@ -48651,4 +50334,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
48651
50334
|
WalletTransactionType2["REFUND"] = "Refund";
|
|
48652
50335
|
WalletTransactionType2["ADJUSTMENT"] = "Adjustment";
|
|
48653
50336
|
return WalletTransactionType2;
|
|
48654
|
-
})(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};
|