reach-api-sdk 1.0.190 → 1.0.191
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 +296 -205
- package/dist/reach-sdk.js +216 -182
- package/package.json +1 -1
- package/src/definition/swagger.yaml +624 -507
- package/src/index.ts +2 -0
- package/src/models/EndUserIdentity.ts +30 -0
- package/src/models/EndUserIdentitySecureToken.ts +2 -0
- package/src/models/EventTiming.ts +12 -0
- package/src/services/DealsService.ts +24 -0
- package/src/services/EndUserIdentitySecureTokenService.ts +4 -4
- package/src/services/OrderItemsService.ts +49 -0
- package/src/services/PublicOrderItemsService.ts +189 -168
- package/src/services/PublicOrdersService.ts +227 -231
package/dist/reach-sdk.js
CHANGED
|
@@ -5762,6 +5762,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5762
5762
|
ids,
|
|
5763
5763
|
target,
|
|
5764
5764
|
type,
|
|
5765
|
+
types,
|
|
5765
5766
|
discountCode,
|
|
5766
5767
|
pageNumber,
|
|
5767
5768
|
take,
|
|
@@ -5783,6 +5784,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5783
5784
|
Ids: ids,
|
|
5784
5785
|
Target: target,
|
|
5785
5786
|
Type: type,
|
|
5787
|
+
Types: types,
|
|
5786
5788
|
DiscountCode: discountCode,
|
|
5787
5789
|
PageNumber: pageNumber,
|
|
5788
5790
|
Take: take,
|
|
@@ -5876,6 +5878,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5876
5878
|
ids,
|
|
5877
5879
|
target,
|
|
5878
5880
|
type,
|
|
5881
|
+
types,
|
|
5879
5882
|
discountCode,
|
|
5880
5883
|
pageNumber,
|
|
5881
5884
|
take,
|
|
@@ -5897,6 +5900,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5897
5900
|
Ids: ids,
|
|
5898
5901
|
Target: target,
|
|
5899
5902
|
Type: type,
|
|
5903
|
+
Types: types,
|
|
5900
5904
|
DiscountCode: discountCode,
|
|
5901
5905
|
PageNumber: pageNumber,
|
|
5902
5906
|
Take: take,
|
|
@@ -5927,6 +5931,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5927
5931
|
ids,
|
|
5928
5932
|
target,
|
|
5929
5933
|
type,
|
|
5934
|
+
types,
|
|
5930
5935
|
discountCode,
|
|
5931
5936
|
pageNumber,
|
|
5932
5937
|
take,
|
|
@@ -5948,6 +5953,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5948
5953
|
Ids: ids,
|
|
5949
5954
|
Target: target,
|
|
5950
5955
|
Type: type,
|
|
5956
|
+
Types: types,
|
|
5951
5957
|
DiscountCode: discountCode,
|
|
5952
5958
|
PageNumber: pageNumber,
|
|
5953
5959
|
Take: take,
|
|
@@ -5978,6 +5984,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5978
5984
|
ids,
|
|
5979
5985
|
target,
|
|
5980
5986
|
type,
|
|
5987
|
+
types,
|
|
5981
5988
|
discountCode,
|
|
5982
5989
|
pageNumber,
|
|
5983
5990
|
take,
|
|
@@ -5999,6 +6006,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
5999
6006
|
Ids: ids,
|
|
6000
6007
|
Target: target,
|
|
6001
6008
|
Type: type,
|
|
6009
|
+
Types: types,
|
|
6002
6010
|
DiscountCode: discountCode,
|
|
6003
6011
|
PageNumber: pageNumber,
|
|
6004
6012
|
Take: take,
|
|
@@ -7146,7 +7154,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7146
7154
|
}) {
|
|
7147
7155
|
return this.httpRequest.request({
|
|
7148
7156
|
method: "GET",
|
|
7149
|
-
url: "/api/end-user-identity-secure-tokens/{id}",
|
|
7157
|
+
url: "/api/public/end-user-identity-secure-tokens/{id}",
|
|
7150
7158
|
path: {
|
|
7151
7159
|
id
|
|
7152
7160
|
},
|
|
@@ -7167,7 +7175,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7167
7175
|
}) {
|
|
7168
7176
|
return this.httpRequest.request({
|
|
7169
7177
|
method: "POST",
|
|
7170
|
-
url: "/api/end-user-identity-secure-tokens/resolve",
|
|
7178
|
+
url: "/api/public/end-user-identity-secure-tokens/resolve",
|
|
7171
7179
|
body: requestBody,
|
|
7172
7180
|
mediaType: "application/json",
|
|
7173
7181
|
errors: {
|
|
@@ -7198,7 +7206,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7198
7206
|
}) {
|
|
7199
7207
|
return this.httpRequest.request({
|
|
7200
7208
|
method: "GET",
|
|
7201
|
-
url: "/api/end-user-identity-secure-tokens",
|
|
7209
|
+
url: "/api/public/end-user-identity-secure-tokens",
|
|
7202
7210
|
query: {
|
|
7203
7211
|
Token: token,
|
|
7204
7212
|
PageNumber: pageNumber,
|
|
@@ -7228,7 +7236,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
7228
7236
|
backfillTokens() {
|
|
7229
7237
|
return this.httpRequest.request({
|
|
7230
7238
|
method: "GET",
|
|
7231
|
-
url: "/api/end-user-identity-secure-tokens/back-fill",
|
|
7239
|
+
url: "/api/public/end-user-identity-secure-tokens/back-fill",
|
|
7232
7240
|
errors: {
|
|
7233
7241
|
400: `Bad Request`,
|
|
7234
7242
|
422: `Unprocessable Content`,
|
|
@@ -13775,6 +13783,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13775
13783
|
status,
|
|
13776
13784
|
statuses,
|
|
13777
13785
|
parentOrderItemId,
|
|
13786
|
+
orderByOpportunityStartdate,
|
|
13787
|
+
eventTiming,
|
|
13778
13788
|
pageNumber,
|
|
13779
13789
|
take,
|
|
13780
13790
|
skip,
|
|
@@ -13799,6 +13809,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13799
13809
|
Status: status,
|
|
13800
13810
|
Statuses: statuses,
|
|
13801
13811
|
ParentOrderItemId: parentOrderItemId,
|
|
13812
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
13813
|
+
EventTiming: eventTiming,
|
|
13802
13814
|
PageNumber: pageNumber,
|
|
13803
13815
|
Take: take,
|
|
13804
13816
|
Skip: skip,
|
|
@@ -13895,6 +13907,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13895
13907
|
status,
|
|
13896
13908
|
statuses,
|
|
13897
13909
|
parentOrderItemId,
|
|
13910
|
+
orderByOpportunityStartdate,
|
|
13911
|
+
eventTiming,
|
|
13898
13912
|
pageNumber,
|
|
13899
13913
|
take,
|
|
13900
13914
|
skip,
|
|
@@ -13919,6 +13933,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13919
13933
|
Status: status,
|
|
13920
13934
|
Statuses: statuses,
|
|
13921
13935
|
ParentOrderItemId: parentOrderItemId,
|
|
13936
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
13937
|
+
EventTiming: eventTiming,
|
|
13922
13938
|
PageNumber: pageNumber,
|
|
13923
13939
|
Take: take,
|
|
13924
13940
|
Skip: skip,
|
|
@@ -13952,6 +13968,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13952
13968
|
status,
|
|
13953
13969
|
statuses,
|
|
13954
13970
|
parentOrderItemId,
|
|
13971
|
+
orderByOpportunityStartdate,
|
|
13972
|
+
eventTiming,
|
|
13955
13973
|
pageNumber,
|
|
13956
13974
|
take,
|
|
13957
13975
|
skip,
|
|
@@ -13976,6 +13994,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
13976
13994
|
Status: status,
|
|
13977
13995
|
Statuses: statuses,
|
|
13978
13996
|
ParentOrderItemId: parentOrderItemId,
|
|
13997
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
13998
|
+
EventTiming: eventTiming,
|
|
13979
13999
|
PageNumber: pageNumber,
|
|
13980
14000
|
Take: take,
|
|
13981
14001
|
Skip: skip,
|
|
@@ -14009,6 +14029,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
14009
14029
|
status,
|
|
14010
14030
|
statuses,
|
|
14011
14031
|
parentOrderItemId,
|
|
14032
|
+
orderByOpportunityStartdate,
|
|
14033
|
+
eventTiming,
|
|
14012
14034
|
pageNumber,
|
|
14013
14035
|
take,
|
|
14014
14036
|
skip,
|
|
@@ -14033,6 +14055,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
14033
14055
|
Status: status,
|
|
14034
14056
|
Statuses: statuses,
|
|
14035
14057
|
ParentOrderItemId: parentOrderItemId,
|
|
14058
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
14059
|
+
EventTiming: eventTiming,
|
|
14036
14060
|
PageNumber: pageNumber,
|
|
14037
14061
|
Take: take,
|
|
14038
14062
|
Skip: skip,
|
|
@@ -20407,6 +20431,94 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20407
20431
|
constructor(httpRequest) {
|
|
20408
20432
|
this.httpRequest = httpRequest;
|
|
20409
20433
|
}
|
|
20434
|
+
/**
|
|
20435
|
+
* @returns OrderItemPage OK
|
|
20436
|
+
* @throws ApiError
|
|
20437
|
+
*/
|
|
20438
|
+
getPage({
|
|
20439
|
+
xTenantSubdomain,
|
|
20440
|
+
ids,
|
|
20441
|
+
orderId,
|
|
20442
|
+
scheduledSessionId,
|
|
20443
|
+
slotId,
|
|
20444
|
+
courseId,
|
|
20445
|
+
status,
|
|
20446
|
+
statuses,
|
|
20447
|
+
parentOrderItemId,
|
|
20448
|
+
orderByOpportunityStartdate,
|
|
20449
|
+
eventTiming,
|
|
20450
|
+
pageNumber,
|
|
20451
|
+
take,
|
|
20452
|
+
skip,
|
|
20453
|
+
limitListRequests,
|
|
20454
|
+
tenantId,
|
|
20455
|
+
modifiedById,
|
|
20456
|
+
modifiedByIds,
|
|
20457
|
+
dateCreatedGte,
|
|
20458
|
+
dateCreatedLte,
|
|
20459
|
+
isLive,
|
|
20460
|
+
sortOrderDirection
|
|
20461
|
+
}) {
|
|
20462
|
+
return this.httpRequest.request({
|
|
20463
|
+
method: "GET",
|
|
20464
|
+
url: "/api/public/order-items",
|
|
20465
|
+
headers: {
|
|
20466
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
20467
|
+
},
|
|
20468
|
+
query: {
|
|
20469
|
+
Ids: ids,
|
|
20470
|
+
OrderId: orderId,
|
|
20471
|
+
ScheduledSessionId: scheduledSessionId,
|
|
20472
|
+
SlotId: slotId,
|
|
20473
|
+
CourseId: courseId,
|
|
20474
|
+
Status: status,
|
|
20475
|
+
Statuses: statuses,
|
|
20476
|
+
ParentOrderItemId: parentOrderItemId,
|
|
20477
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
20478
|
+
EventTiming: eventTiming,
|
|
20479
|
+
PageNumber: pageNumber,
|
|
20480
|
+
Take: take,
|
|
20481
|
+
Skip: skip,
|
|
20482
|
+
LimitListRequests: limitListRequests,
|
|
20483
|
+
TenantId: tenantId,
|
|
20484
|
+
ModifiedById: modifiedById,
|
|
20485
|
+
ModifiedByIds: modifiedByIds,
|
|
20486
|
+
DateCreatedGTE: dateCreatedGte,
|
|
20487
|
+
DateCreatedLTE: dateCreatedLte,
|
|
20488
|
+
IsLive: isLive,
|
|
20489
|
+
SortOrderDirection: sortOrderDirection
|
|
20490
|
+
},
|
|
20491
|
+
errors: {
|
|
20492
|
+
400: `Bad Request`,
|
|
20493
|
+
422: `Unprocessable Content`,
|
|
20494
|
+
500: `Internal Server Error`
|
|
20495
|
+
}
|
|
20496
|
+
});
|
|
20497
|
+
}
|
|
20498
|
+
/**
|
|
20499
|
+
* Deletes the resource.
|
|
20500
|
+
* @returns any OK
|
|
20501
|
+
* @throws ApiError
|
|
20502
|
+
*/
|
|
20503
|
+
deleteByObject({
|
|
20504
|
+
xTenantSubdomain,
|
|
20505
|
+
requestBody
|
|
20506
|
+
}) {
|
|
20507
|
+
return this.httpRequest.request({
|
|
20508
|
+
method: "DELETE",
|
|
20509
|
+
url: "/api/public/order-items",
|
|
20510
|
+
headers: {
|
|
20511
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
20512
|
+
},
|
|
20513
|
+
body: requestBody,
|
|
20514
|
+
mediaType: "application/json",
|
|
20515
|
+
errors: {
|
|
20516
|
+
400: `Bad Request`,
|
|
20517
|
+
422: `Unprocessable Content`,
|
|
20518
|
+
500: `Internal Server Error`
|
|
20519
|
+
}
|
|
20520
|
+
});
|
|
20521
|
+
}
|
|
20410
20522
|
/**
|
|
20411
20523
|
* Reschedules the order item to another scheduled session.
|
|
20412
20524
|
* @returns OrderItem OK
|
|
@@ -20511,18 +20623,19 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20511
20623
|
* @returns any OK
|
|
20512
20624
|
* @throws ApiError
|
|
20513
20625
|
*/
|
|
20514
|
-
|
|
20515
|
-
|
|
20516
|
-
|
|
20626
|
+
deleteById({
|
|
20627
|
+
id,
|
|
20628
|
+
xTenantSubdomain
|
|
20517
20629
|
}) {
|
|
20518
20630
|
return this.httpRequest.request({
|
|
20519
20631
|
method: "DELETE",
|
|
20520
|
-
url: "/api/public/order-items",
|
|
20632
|
+
url: "/api/public/order-items/{id}",
|
|
20633
|
+
path: {
|
|
20634
|
+
id
|
|
20635
|
+
},
|
|
20521
20636
|
headers: {
|
|
20522
20637
|
x_tenant_subdomain: xTenantSubdomain
|
|
20523
20638
|
},
|
|
20524
|
-
body: requestBody,
|
|
20525
|
-
mediaType: "application/json",
|
|
20526
20639
|
errors: {
|
|
20527
20640
|
400: `Bad Request`,
|
|
20528
20641
|
422: `Unprocessable Content`,
|
|
@@ -20531,11 +20644,36 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20531
20644
|
});
|
|
20532
20645
|
}
|
|
20533
20646
|
/**
|
|
20534
|
-
* Gets
|
|
20535
|
-
* @returns
|
|
20647
|
+
* Gets the resource by its Id.
|
|
20648
|
+
* @returns OrderItem OK
|
|
20536
20649
|
* @throws ApiError
|
|
20537
20650
|
*/
|
|
20538
|
-
|
|
20651
|
+
getObject({
|
|
20652
|
+
id,
|
|
20653
|
+
xTenantSubdomain
|
|
20654
|
+
}) {
|
|
20655
|
+
return this.httpRequest.request({
|
|
20656
|
+
method: "GET",
|
|
20657
|
+
url: "/api/public/order-items/{id}",
|
|
20658
|
+
path: {
|
|
20659
|
+
id
|
|
20660
|
+
},
|
|
20661
|
+
headers: {
|
|
20662
|
+
x_tenant_subdomain: xTenantSubdomain
|
|
20663
|
+
},
|
|
20664
|
+
errors: {
|
|
20665
|
+
400: `Bad Request`,
|
|
20666
|
+
422: `Unprocessable Content`,
|
|
20667
|
+
500: `Internal Server Error`
|
|
20668
|
+
}
|
|
20669
|
+
});
|
|
20670
|
+
}
|
|
20671
|
+
/**
|
|
20672
|
+
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
20673
|
+
* @returns boolean OK
|
|
20674
|
+
* @throws ApiError
|
|
20675
|
+
*/
|
|
20676
|
+
exists({
|
|
20539
20677
|
xTenantSubdomain,
|
|
20540
20678
|
ids,
|
|
20541
20679
|
orderId,
|
|
@@ -20545,6 +20683,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20545
20683
|
status,
|
|
20546
20684
|
statuses,
|
|
20547
20685
|
parentOrderItemId,
|
|
20686
|
+
orderByOpportunityStartdate,
|
|
20687
|
+
eventTiming,
|
|
20548
20688
|
pageNumber,
|
|
20549
20689
|
take,
|
|
20550
20690
|
skip,
|
|
@@ -20559,7 +20699,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20559
20699
|
}) {
|
|
20560
20700
|
return this.httpRequest.request({
|
|
20561
20701
|
method: "GET",
|
|
20562
|
-
url: "/api/public/order-items",
|
|
20702
|
+
url: "/api/public/order-items/exists",
|
|
20563
20703
|
headers: {
|
|
20564
20704
|
x_tenant_subdomain: xTenantSubdomain
|
|
20565
20705
|
},
|
|
@@ -20572,6 +20712,8 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20572
20712
|
Status: status,
|
|
20573
20713
|
Statuses: statuses,
|
|
20574
20714
|
ParentOrderItemId: parentOrderItemId,
|
|
20715
|
+
OrderByOpportunityStartdate: orderByOpportunityStartdate,
|
|
20716
|
+
EventTiming: eventTiming,
|
|
20575
20717
|
PageNumber: pageNumber,
|
|
20576
20718
|
Take: take,
|
|
20577
20719
|
Skip: skip,
|
|
@@ -20591,18 +20733,21 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20591
20733
|
}
|
|
20592
20734
|
});
|
|
20593
20735
|
}
|
|
20736
|
+
}class PublicOrdersService {
|
|
20737
|
+
constructor(httpRequest) {
|
|
20738
|
+
this.httpRequest = httpRequest;
|
|
20739
|
+
}
|
|
20594
20740
|
/**
|
|
20595
|
-
*
|
|
20596
|
-
* @returns any OK
|
|
20741
|
+
* @returns Order OK
|
|
20597
20742
|
* @throws ApiError
|
|
20598
20743
|
*/
|
|
20599
|
-
|
|
20744
|
+
getObject({
|
|
20600
20745
|
id,
|
|
20601
20746
|
xTenantSubdomain
|
|
20602
20747
|
}) {
|
|
20603
20748
|
return this.httpRequest.request({
|
|
20604
|
-
method: "
|
|
20605
|
-
url: "/api/public/
|
|
20749
|
+
method: "GET",
|
|
20750
|
+
url: "/api/public/orders/{id}",
|
|
20606
20751
|
path: {
|
|
20607
20752
|
id
|
|
20608
20753
|
},
|
|
@@ -20617,17 +20762,17 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20617
20762
|
});
|
|
20618
20763
|
}
|
|
20619
20764
|
/**
|
|
20620
|
-
*
|
|
20621
|
-
* @returns
|
|
20765
|
+
* Deletes the resource.
|
|
20766
|
+
* @returns any OK
|
|
20622
20767
|
* @throws ApiError
|
|
20623
20768
|
*/
|
|
20624
|
-
|
|
20769
|
+
deleteById({
|
|
20625
20770
|
id,
|
|
20626
20771
|
xTenantSubdomain
|
|
20627
20772
|
}) {
|
|
20628
20773
|
return this.httpRequest.request({
|
|
20629
|
-
method: "
|
|
20630
|
-
url: "/api/public/
|
|
20774
|
+
method: "DELETE",
|
|
20775
|
+
url: "/api/public/orders/{id}",
|
|
20631
20776
|
path: {
|
|
20632
20777
|
id
|
|
20633
20778
|
},
|
|
@@ -20642,20 +20787,28 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20642
20787
|
});
|
|
20643
20788
|
}
|
|
20644
20789
|
/**
|
|
20645
|
-
*
|
|
20646
|
-
* @returns boolean OK
|
|
20790
|
+
* @returns OrderPage OK
|
|
20647
20791
|
* @throws ApiError
|
|
20648
20792
|
*/
|
|
20649
|
-
|
|
20793
|
+
getPage({
|
|
20650
20794
|
xTenantSubdomain,
|
|
20651
|
-
|
|
20652
|
-
|
|
20653
|
-
|
|
20654
|
-
|
|
20795
|
+
wildcard,
|
|
20796
|
+
accessCode,
|
|
20797
|
+
customerName,
|
|
20798
|
+
email,
|
|
20799
|
+
providerId,
|
|
20800
|
+
venueId,
|
|
20801
|
+
programmeId,
|
|
20802
|
+
customerId,
|
|
20803
|
+
orderIds,
|
|
20804
|
+
sessionId,
|
|
20805
|
+
facilityId,
|
|
20655
20806
|
courseId,
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20807
|
+
orderStage,
|
|
20808
|
+
isBookedOrPendingPayment,
|
|
20809
|
+
orderStages,
|
|
20810
|
+
orderDateGte,
|
|
20811
|
+
orderDateLte,
|
|
20659
20812
|
pageNumber,
|
|
20660
20813
|
take,
|
|
20661
20814
|
skip,
|
|
@@ -20670,19 +20823,28 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20670
20823
|
}) {
|
|
20671
20824
|
return this.httpRequest.request({
|
|
20672
20825
|
method: "GET",
|
|
20673
|
-
url: "/api/public/
|
|
20826
|
+
url: "/api/public/orders",
|
|
20674
20827
|
headers: {
|
|
20675
20828
|
x_tenant_subdomain: xTenantSubdomain
|
|
20676
20829
|
},
|
|
20677
20830
|
query: {
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
|
|
20831
|
+
Wildcard: wildcard,
|
|
20832
|
+
AccessCode: accessCode,
|
|
20833
|
+
CustomerName: customerName,
|
|
20834
|
+
Email: email,
|
|
20835
|
+
ProviderId: providerId,
|
|
20836
|
+
VenueId: venueId,
|
|
20837
|
+
ProgrammeId: programmeId,
|
|
20838
|
+
CustomerId: customerId,
|
|
20839
|
+
OrderIds: orderIds,
|
|
20840
|
+
SessionId: sessionId,
|
|
20841
|
+
FacilityId: facilityId,
|
|
20682
20842
|
CourseId: courseId,
|
|
20683
|
-
|
|
20684
|
-
|
|
20685
|
-
|
|
20843
|
+
OrderStage: orderStage,
|
|
20844
|
+
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
20845
|
+
OrderStages: orderStages,
|
|
20846
|
+
OrderDateGTE: orderDateGte,
|
|
20847
|
+
OrderDateLTE: orderDateLte,
|
|
20686
20848
|
PageNumber: pageNumber,
|
|
20687
20849
|
Take: take,
|
|
20688
20850
|
Skip: skip,
|
|
@@ -20702,52 +20864,23 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20702
20864
|
}
|
|
20703
20865
|
});
|
|
20704
20866
|
}
|
|
20705
|
-
}class PublicOrdersService {
|
|
20706
|
-
constructor(httpRequest) {
|
|
20707
|
-
this.httpRequest = httpRequest;
|
|
20708
|
-
}
|
|
20709
|
-
/**
|
|
20710
|
-
* @returns Order OK
|
|
20711
|
-
* @throws ApiError
|
|
20712
|
-
*/
|
|
20713
|
-
getObject({
|
|
20714
|
-
id,
|
|
20715
|
-
xTenantSubdomain
|
|
20716
|
-
}) {
|
|
20717
|
-
return this.httpRequest.request({
|
|
20718
|
-
method: "GET",
|
|
20719
|
-
url: "/api/public/orders/{id}",
|
|
20720
|
-
path: {
|
|
20721
|
-
id
|
|
20722
|
-
},
|
|
20723
|
-
headers: {
|
|
20724
|
-
x_tenant_subdomain: xTenantSubdomain
|
|
20725
|
-
},
|
|
20726
|
-
errors: {
|
|
20727
|
-
400: `Bad Request`,
|
|
20728
|
-
422: `Unprocessable Content`,
|
|
20729
|
-
500: `Internal Server Error`
|
|
20730
|
-
}
|
|
20731
|
-
});
|
|
20732
|
-
}
|
|
20733
20867
|
/**
|
|
20734
20868
|
* Deletes the resource.
|
|
20735
20869
|
* @returns any OK
|
|
20736
20870
|
* @throws ApiError
|
|
20737
20871
|
*/
|
|
20738
|
-
|
|
20739
|
-
|
|
20740
|
-
|
|
20872
|
+
deleteByObject({
|
|
20873
|
+
xTenantSubdomain,
|
|
20874
|
+
requestBody
|
|
20741
20875
|
}) {
|
|
20742
20876
|
return this.httpRequest.request({
|
|
20743
20877
|
method: "DELETE",
|
|
20744
|
-
url: "/api/public/orders
|
|
20745
|
-
path: {
|
|
20746
|
-
id
|
|
20747
|
-
},
|
|
20878
|
+
url: "/api/public/orders",
|
|
20748
20879
|
headers: {
|
|
20749
20880
|
x_tenant_subdomain: xTenantSubdomain
|
|
20750
20881
|
},
|
|
20882
|
+
body: requestBody,
|
|
20883
|
+
mediaType: "application/json",
|
|
20751
20884
|
errors: {
|
|
20752
20885
|
400: `Bad Request`,
|
|
20753
20886
|
422: `Unprocessable Content`,
|
|
@@ -20932,109 +21065,6 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
20932
21065
|
}
|
|
20933
21066
|
});
|
|
20934
21067
|
}
|
|
20935
|
-
/**
|
|
20936
|
-
* Deletes the resource.
|
|
20937
|
-
* @returns any OK
|
|
20938
|
-
* @throws ApiError
|
|
20939
|
-
*/
|
|
20940
|
-
deleteByObject({
|
|
20941
|
-
xTenantSubdomain,
|
|
20942
|
-
requestBody
|
|
20943
|
-
}) {
|
|
20944
|
-
return this.httpRequest.request({
|
|
20945
|
-
method: "DELETE",
|
|
20946
|
-
url: "/api/public/orders",
|
|
20947
|
-
headers: {
|
|
20948
|
-
x_tenant_subdomain: xTenantSubdomain
|
|
20949
|
-
},
|
|
20950
|
-
body: requestBody,
|
|
20951
|
-
mediaType: "application/json",
|
|
20952
|
-
errors: {
|
|
20953
|
-
400: `Bad Request`,
|
|
20954
|
-
422: `Unprocessable Content`,
|
|
20955
|
-
500: `Internal Server Error`
|
|
20956
|
-
}
|
|
20957
|
-
});
|
|
20958
|
-
}
|
|
20959
|
-
/**
|
|
20960
|
-
* Gets a list of resources.
|
|
20961
|
-
* @returns OrderPage OK
|
|
20962
|
-
* @throws ApiError
|
|
20963
|
-
*/
|
|
20964
|
-
getPage({
|
|
20965
|
-
xTenantSubdomain,
|
|
20966
|
-
wildcard,
|
|
20967
|
-
accessCode,
|
|
20968
|
-
customerName,
|
|
20969
|
-
email,
|
|
20970
|
-
providerId,
|
|
20971
|
-
venueId,
|
|
20972
|
-
programmeId,
|
|
20973
|
-
customerId,
|
|
20974
|
-
orderIds,
|
|
20975
|
-
sessionId,
|
|
20976
|
-
facilityId,
|
|
20977
|
-
courseId,
|
|
20978
|
-
orderStage,
|
|
20979
|
-
isBookedOrPendingPayment,
|
|
20980
|
-
orderStages,
|
|
20981
|
-
orderDateGte,
|
|
20982
|
-
orderDateLte,
|
|
20983
|
-
pageNumber,
|
|
20984
|
-
take,
|
|
20985
|
-
skip,
|
|
20986
|
-
limitListRequests,
|
|
20987
|
-
tenantId,
|
|
20988
|
-
modifiedById,
|
|
20989
|
-
modifiedByIds,
|
|
20990
|
-
dateCreatedGte,
|
|
20991
|
-
dateCreatedLte,
|
|
20992
|
-
isLive,
|
|
20993
|
-
sortOrderDirection
|
|
20994
|
-
}) {
|
|
20995
|
-
return this.httpRequest.request({
|
|
20996
|
-
method: "GET",
|
|
20997
|
-
url: "/api/public/orders",
|
|
20998
|
-
headers: {
|
|
20999
|
-
x_tenant_subdomain: xTenantSubdomain
|
|
21000
|
-
},
|
|
21001
|
-
query: {
|
|
21002
|
-
Wildcard: wildcard,
|
|
21003
|
-
AccessCode: accessCode,
|
|
21004
|
-
CustomerName: customerName,
|
|
21005
|
-
Email: email,
|
|
21006
|
-
ProviderId: providerId,
|
|
21007
|
-
VenueId: venueId,
|
|
21008
|
-
ProgrammeId: programmeId,
|
|
21009
|
-
CustomerId: customerId,
|
|
21010
|
-
OrderIds: orderIds,
|
|
21011
|
-
SessionId: sessionId,
|
|
21012
|
-
FacilityId: facilityId,
|
|
21013
|
-
CourseId: courseId,
|
|
21014
|
-
OrderStage: orderStage,
|
|
21015
|
-
IsBookedOrPendingPayment: isBookedOrPendingPayment,
|
|
21016
|
-
OrderStages: orderStages,
|
|
21017
|
-
OrderDateGTE: orderDateGte,
|
|
21018
|
-
OrderDateLTE: orderDateLte,
|
|
21019
|
-
PageNumber: pageNumber,
|
|
21020
|
-
Take: take,
|
|
21021
|
-
Skip: skip,
|
|
21022
|
-
LimitListRequests: limitListRequests,
|
|
21023
|
-
TenantId: tenantId,
|
|
21024
|
-
ModifiedById: modifiedById,
|
|
21025
|
-
ModifiedByIds: modifiedByIds,
|
|
21026
|
-
DateCreatedGTE: dateCreatedGte,
|
|
21027
|
-
DateCreatedLTE: dateCreatedLte,
|
|
21028
|
-
IsLive: isLive,
|
|
21029
|
-
SortOrderDirection: sortOrderDirection
|
|
21030
|
-
},
|
|
21031
|
-
errors: {
|
|
21032
|
-
400: `Bad Request`,
|
|
21033
|
-
422: `Unprocessable Content`,
|
|
21034
|
-
500: `Internal Server Error`
|
|
21035
|
-
}
|
|
21036
|
-
});
|
|
21037
|
-
}
|
|
21038
21068
|
/**
|
|
21039
21069
|
* Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
21040
21070
|
* @returns boolean OK
|
|
@@ -41156,7 +41186,11 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
41156
41186
|
DealType2["MULTI_PARTICIPANT"] = "MultiParticipant";
|
|
41157
41187
|
DealType2["DISCOUNT_CODE"] = "DiscountCode";
|
|
41158
41188
|
return DealType2;
|
|
41159
|
-
})(DealType || {});var
|
|
41189
|
+
})(DealType || {});var EventTiming = /* @__PURE__ */ ((EventTiming2) => {
|
|
41190
|
+
EventTiming2["UPCOMING"] = "Upcoming";
|
|
41191
|
+
EventTiming2["PAST"] = "Past";
|
|
41192
|
+
return EventTiming2;
|
|
41193
|
+
})(EventTiming || {});var FacilityIndividualsType = /* @__PURE__ */ ((FacilityIndividualsType2) => {
|
|
41160
41194
|
FacilityIndividualsType2["COURT"] = "Court";
|
|
41161
41195
|
FacilityIndividualsType2["PITCH"] = "Pitch";
|
|
41162
41196
|
FacilityIndividualsType2["NET"] = "Net";
|
|
@@ -41427,4 +41461,4 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
41427
41461
|
TenantTier2["ENTERPRISE"] = "Enterprise";
|
|
41428
41462
|
TenantTier2["PRO"] = "Pro";
|
|
41429
41463
|
return TenantTier2;
|
|
41430
|
-
})(TenantTier || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,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,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|
|
41464
|
+
})(TenantTier || {});export{ActivityPerformanceService,ActivityService,ActivityType,AdvanceBooking,AmenityService,AmenityType,ApiClient,ApiError,AppUserRole,ApplicationRole,AttendeesService,AvailabilityIndicator,BadEnglandReportService,BaseHttpRequest,BookingService,BookingStatus,CancelError,CancelablePromise,CancellationPoliciesService,ChatService,CheckoutPlatform,ContactOnConfirmation,CountryService,CourseBookingCutoff,CourseSearchSortBy,CourseSessionSchedulesService,CourseSessionsService,CourseStatus,CoursesService,CustomDateRange,CustomerCancellationOption,CustomerType,CustomersService,DayOfWeek,DealActivitiesService,DealDiscountType,DealTarget,DealType,DealsService,DiscountCodeUsesService,EmailReminderSchedulesService,EmailSettingsService,EndUserIdentitySecureTokenService,EnglandGolfReportService,EventTiming,FacilitiesService,FacilityIndividualsService,FacilityIndividualsType,FieldPermission,FilestackService,Gender,GenericActivityService,GeocodeService,HelpersService,HereAutocompleteLookupService,HttpStatusCode,ImageLibraryCategoryService,ImageLibraryImageService,ImageUploadHistoryService,ImagesService,InviteStatus,LeasingService,LocationsReportService,LoqatePlacesService,NotificationQueueService,NotificationSettingsService,NotificationType,OffersService,OpenAPI,OpenactiveFeedIntermediateService,OpenactiveFeedItemService,OpportunityRegisterService,OpportunityRegisterStatus,OpportunityType,OrderItemReportService,OrderItemStatus,OrderItemsService,OrderSource,OrderStage,OrdersService,OrgCourseUtilisationService,OrganisationApplicationFeeHandling,OrganisationAvailableChannel,OrganisationRefundPolicy,OrganisationTaxMode,OrganisationType,PaymentMethod,PaymentPoliciesService,PaymentPolicySplitType,PaymentsService,PeriodsOfWeek,PermissionsService,PlacesService,PlatformPayoutsService,Prepayment,ProgrammesService,ProviderTypesService,ProvidersService,PublicBookingService,PublicCoursesService,PublicCustomersService,PublicFacilitiesService,PublicFilestackWebhookService,PublicGenericActivityService,PublicHealthCheckService,PublicLeasingService,PublicNetworksService,PublicOpportunityRegisterService,PublicOrderItemsService,PublicOrderTokensService,PublicOrdersService,PublicProgrammesService,PublicProvidersService,PublicScheduledSessionsService,PublicSessionsService,PublicSlotsService,PublicStripeWebhookService,PublicSurveyCompletionLogsService,PublicSurveyQuestionsService,PublicSurveysService,PublicTenantsService,PublicVenuesService,PublicWaitlistActivityService,PublicWaitlistOpportunityService,ReachEntity,ReachOperation,RecentOrderActivityReportService,RefundSource,RefundStatus,RegisterReportService,RescheduleLogService,ScheduleStatus,ScheduledSessionSearchSortBy,ScheduledSessionsSchedulesService,ScheduledSessionsService,SearchSortOrderDirection,SessionType,SessionsService,SlotAvailabilityStatus,SlotOffersService,SlotScheduleOffersService,SlotSchedulesService,SlotStatus,SlotsService,StripeAccountLinkedEntityType,StripeAccountService,StripeStatus,SurfacesService,SurveyAnswersService,SurveyCompletionLogService,SurveyQuestionType,SurveyQuestionsService,SurveyQuestionsTarget,SurveyReportExtendedService,SurveyResponseMode,SurveyType,SurveysService,TemplateDetailsService,TemplateFieldPermissionsService,TemplateOffersService,TemplatesService,TenantTier,TenantWebsiteSettingsService,TenantsService,TimezoneService,TotalRevenueReportService,UnsplashService,UserPermissionsService,UserProgrammesService,UserProvidersService,UsersService,VenueManagersService,VenuePerformanceService,VenuesReportService,VenuesService,WaitlistActivityReportService,WaitlistActivityService,WaitlistOpportunityReportService,WaitlistOpportunityService};
|