@connectedxm/client 0.5.28 → 0.5.30
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/index.d.mts +20 -25
- package/dist/index.d.ts +20 -25
- package/dist/index.js +37 -113
- package/dist/index.mjs +35 -107
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3692,7 +3692,7 @@ var GetSelfEventRegistrationIntent = async ({
|
|
|
3692
3692
|
}) => {
|
|
3693
3693
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3694
3694
|
const { data } = await clientApi.get(
|
|
3695
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3695
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/intent`
|
|
3696
3696
|
);
|
|
3697
3697
|
return data;
|
|
3698
3698
|
};
|
|
@@ -3734,7 +3734,7 @@ var GetSelfEventRegistrationPayment = async ({
|
|
|
3734
3734
|
}) => {
|
|
3735
3735
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3736
3736
|
const { data } = await clientApi.get(
|
|
3737
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3737
|
+
`/self/events/${eventId}/registration/${registrationId}/payments/${paymentId}`,
|
|
3738
3738
|
{}
|
|
3739
3739
|
);
|
|
3740
3740
|
return data;
|
|
@@ -3783,7 +3783,7 @@ var GetSelfEventRegistrationPurchase = async ({
|
|
|
3783
3783
|
}) => {
|
|
3784
3784
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3785
3785
|
const { data } = await clientApi.get(
|
|
3786
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3786
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}`,
|
|
3787
3787
|
{}
|
|
3788
3788
|
);
|
|
3789
3789
|
return data;
|
|
@@ -3837,7 +3837,7 @@ var GetSelfEventRegistrationPurchaseSections = async ({
|
|
|
3837
3837
|
}) => {
|
|
3838
3838
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3839
3839
|
const { data } = await clientApi.get(
|
|
3840
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3840
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}`,
|
|
3841
3841
|
{}
|
|
3842
3842
|
);
|
|
3843
3843
|
return data;
|
|
@@ -3894,7 +3894,7 @@ var GetSelfEventRegistrationPurchaseAddOns = async ({
|
|
|
3894
3894
|
}) => {
|
|
3895
3895
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3896
3896
|
const { data } = await clientApi.get(
|
|
3897
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3897
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/addOns`,
|
|
3898
3898
|
{}
|
|
3899
3899
|
);
|
|
3900
3900
|
return data;
|
|
@@ -3950,7 +3950,7 @@ var GetSelfEventRegistrationPurchaseReservationSections = async ({
|
|
|
3950
3950
|
}) => {
|
|
3951
3951
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
3952
3952
|
const { data } = await clientApi.get(
|
|
3953
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
3953
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/reservationSections`,
|
|
3954
3954
|
{}
|
|
3955
3955
|
);
|
|
3956
3956
|
return data;
|
|
@@ -4037,7 +4037,7 @@ var GetSelfEventRegistrationPurchaseAddOnsIntent = async ({
|
|
|
4037
4037
|
}) => {
|
|
4038
4038
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4039
4039
|
const { data } = await clientApi.get(
|
|
4040
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
4040
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/addOns/intent`,
|
|
4041
4041
|
{
|
|
4042
4042
|
params: {
|
|
4043
4043
|
addOnIds: addOnIds ? addOnIds.join(",") : ""
|
|
@@ -4217,16 +4217,16 @@ var useGetSelfEventRegistrationCoupon = (eventId = "", registrationId = "", coup
|
|
|
4217
4217
|
);
|
|
4218
4218
|
};
|
|
4219
4219
|
|
|
4220
|
-
// src/queries/self/registration/
|
|
4220
|
+
// src/queries/self/registration/useGetSelfEventRegistrationCouponPurchases.ts
|
|
4221
4221
|
var SELF_EVENT_REGISTRATION_COUPON_REGISTRATIONS_QUERY_KEY = (eventId, registrationId, couponId) => [
|
|
4222
4222
|
...SELF_EVENT_REGISTRATION_COUPON_QUERY_KEY(
|
|
4223
4223
|
eventId,
|
|
4224
4224
|
registrationId,
|
|
4225
4225
|
couponId
|
|
4226
4226
|
),
|
|
4227
|
-
"
|
|
4227
|
+
"PURCHASES"
|
|
4228
4228
|
];
|
|
4229
|
-
var
|
|
4229
|
+
var GetSelfEventRegistrationCouponPurchases = async ({
|
|
4230
4230
|
eventId,
|
|
4231
4231
|
registrationId,
|
|
4232
4232
|
couponId,
|
|
@@ -4234,12 +4234,12 @@ var GetSelfEventRegistrationCouponRegistrations = async ({
|
|
|
4234
4234
|
}) => {
|
|
4235
4235
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4236
4236
|
const { data } = await clientApi.get(
|
|
4237
|
-
`/self/events/${eventId}/registration/${registrationId}/coupons/${couponId}/
|
|
4237
|
+
`/self/events/${eventId}/registration/${registrationId}/coupons/${couponId}/purchases`,
|
|
4238
4238
|
{}
|
|
4239
4239
|
);
|
|
4240
4240
|
return data;
|
|
4241
4241
|
};
|
|
4242
|
-
var
|
|
4242
|
+
var useGetSelfEventRegistrationCouponPurchases = (eventId = "", registrationId = "", couponId = "", params = {}, options = {}) => {
|
|
4243
4243
|
const { authenticated } = useConnectedXM();
|
|
4244
4244
|
return useConnectedInfiniteQuery(
|
|
4245
4245
|
SELF_EVENT_REGISTRATION_COUPON_REGISTRATIONS_QUERY_KEY(
|
|
@@ -4247,7 +4247,7 @@ var useGetSelfEventRegistrationCouponRegistrations = (eventId = "", registration
|
|
|
4247
4247
|
registrationId,
|
|
4248
4248
|
couponId
|
|
4249
4249
|
),
|
|
4250
|
-
(params2) =>
|
|
4250
|
+
(params2) => GetSelfEventRegistrationCouponPurchases({
|
|
4251
4251
|
eventId,
|
|
4252
4252
|
registrationId,
|
|
4253
4253
|
couponId,
|
|
@@ -6549,41 +6549,7 @@ var useUpdateSelfChatChannelNotifications = (options = {}) => {
|
|
|
6549
6549
|
return useConnectedMutation_default(UpdateSelfChatChannelNotifications, options);
|
|
6550
6550
|
};
|
|
6551
6551
|
|
|
6552
|
-
// src/mutations/self/events/registration/
|
|
6553
|
-
var RegisterCancelledEventRegistration = async ({
|
|
6554
|
-
eventId,
|
|
6555
|
-
registrationId,
|
|
6556
|
-
clientApiParams,
|
|
6557
|
-
queryClient
|
|
6558
|
-
}) => {
|
|
6559
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6560
|
-
const { data } = await clientApi.post(
|
|
6561
|
-
`/self/events/${eventId}/registration/${registrationId}/cancelled/register`
|
|
6562
|
-
);
|
|
6563
|
-
if (queryClient && data.status === "ok") {
|
|
6564
|
-
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
6565
|
-
clientApiParams.locale
|
|
6566
|
-
]);
|
|
6567
|
-
queryClient.invalidateQueries({
|
|
6568
|
-
queryKey: SELF_EVENTS_QUERY_KEY(false)
|
|
6569
|
-
});
|
|
6570
|
-
queryClient.invalidateQueries({
|
|
6571
|
-
queryKey: SELF_EVENTS_QUERY_KEY(true)
|
|
6572
|
-
});
|
|
6573
|
-
queryClient.invalidateQueries({
|
|
6574
|
-
queryKey: EVENT_QUERY_KEY(eventId)
|
|
6575
|
-
});
|
|
6576
|
-
queryClient.invalidateQueries({
|
|
6577
|
-
queryKey: EVENT_REGISTRANTS_QUERY_KEY(eventId)
|
|
6578
|
-
});
|
|
6579
|
-
}
|
|
6580
|
-
return data;
|
|
6581
|
-
};
|
|
6582
|
-
var useRegisterCancelledEventRegistration = (options = {}) => {
|
|
6583
|
-
return useConnectedMutation_default(RegisterCancelledEventRegistration, options);
|
|
6584
|
-
};
|
|
6585
|
-
|
|
6586
|
-
// src/mutations/self/events/registration/draft/useApplySelfEventRegistrationCoupon.ts
|
|
6552
|
+
// src/mutations/self/events/registration/cart/useApplySelfEventRegistrationCoupon.ts
|
|
6587
6553
|
var SelectSelfEventRegistrationCoupon = async ({
|
|
6588
6554
|
eventId,
|
|
6589
6555
|
registrationId,
|
|
@@ -6593,7 +6559,7 @@ var SelectSelfEventRegistrationCoupon = async ({
|
|
|
6593
6559
|
}) => {
|
|
6594
6560
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6595
6561
|
const { data } = await clientApi.post(
|
|
6596
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6562
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/coupon`,
|
|
6597
6563
|
{
|
|
6598
6564
|
couponId
|
|
6599
6565
|
}
|
|
@@ -6627,7 +6593,7 @@ var useSelectSelfEventRegistrationCoupon = (options = {}) => {
|
|
|
6627
6593
|
return useConnectedMutation_default(SelectSelfEventRegistrationCoupon, options);
|
|
6628
6594
|
};
|
|
6629
6595
|
|
|
6630
|
-
// src/mutations/self/events/registration/
|
|
6596
|
+
// src/mutations/self/events/registration/cart/useRemoveSelfEventRegistrationCoupon.ts
|
|
6631
6597
|
var RemoveSelfEventRegistrationCoupon = async ({
|
|
6632
6598
|
eventId,
|
|
6633
6599
|
registrationId,
|
|
@@ -6636,7 +6602,7 @@ var RemoveSelfEventRegistrationCoupon = async ({
|
|
|
6636
6602
|
}) => {
|
|
6637
6603
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6638
6604
|
const { data } = await clientApi.delete(
|
|
6639
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6605
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/coupons`
|
|
6640
6606
|
);
|
|
6641
6607
|
if (queryClient && data.status === "ok") {
|
|
6642
6608
|
queryClient.removeQueries({
|
|
@@ -6667,7 +6633,7 @@ var useRemoveSelfEventRegistrationCoupon = (options = {}) => {
|
|
|
6667
6633
|
return useConnectedMutation_default(RemoveSelfEventRegistrationCoupon, options);
|
|
6668
6634
|
};
|
|
6669
6635
|
|
|
6670
|
-
// src/mutations/self/events/registration/
|
|
6636
|
+
// src/mutations/self/events/registration/cart/useRemoveSelfEventRegistrationPurchase.ts
|
|
6671
6637
|
var RemoveSelfEventRegistrationPurchase = async ({
|
|
6672
6638
|
eventId,
|
|
6673
6639
|
registrationId,
|
|
@@ -6677,7 +6643,7 @@ var RemoveSelfEventRegistrationPurchase = async ({
|
|
|
6677
6643
|
}) => {
|
|
6678
6644
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6679
6645
|
const { data } = await clientApi.delete(
|
|
6680
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6646
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}`
|
|
6681
6647
|
);
|
|
6682
6648
|
if (queryClient && data.status === "ok") {
|
|
6683
6649
|
queryClient.removeQueries({
|
|
@@ -6696,7 +6662,7 @@ var useRemoveSelfEventRegistrationPurchase = (options = {}) => {
|
|
|
6696
6662
|
return useConnectedMutation_default(RemoveSelfEventRegistrationPurchase, options);
|
|
6697
6663
|
};
|
|
6698
6664
|
|
|
6699
|
-
// src/mutations/self/events/registration/
|
|
6665
|
+
// src/mutations/self/events/registration/cart/useAddSelfEventRegistrationPurchase.ts
|
|
6700
6666
|
var AddSelfEventRegistrationPurchase = async ({
|
|
6701
6667
|
eventId,
|
|
6702
6668
|
registrationId,
|
|
@@ -6707,7 +6673,7 @@ var AddSelfEventRegistrationPurchase = async ({
|
|
|
6707
6673
|
}) => {
|
|
6708
6674
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6709
6675
|
const { data } = await clientApi.post(
|
|
6710
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6676
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases`,
|
|
6711
6677
|
{
|
|
6712
6678
|
ticketId,
|
|
6713
6679
|
quantity
|
|
@@ -6736,7 +6702,7 @@ var useAddSelfEventRegistrationPurchase = (options = {}) => {
|
|
|
6736
6702
|
return useConnectedMutation_default(AddSelfEventRegistrationPurchase, options);
|
|
6737
6703
|
};
|
|
6738
6704
|
|
|
6739
|
-
// src/mutations/self/events/registration/
|
|
6705
|
+
// src/mutations/self/events/registration/cart/useSubmitSelfEventRegistration.ts
|
|
6740
6706
|
var SubmitSelfEventRegistration = async ({
|
|
6741
6707
|
eventId,
|
|
6742
6708
|
registrationId,
|
|
@@ -6746,7 +6712,7 @@ var SubmitSelfEventRegistration = async ({
|
|
|
6746
6712
|
}) => {
|
|
6747
6713
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6748
6714
|
const { data } = await clientApi.post(
|
|
6749
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6715
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/submit`,
|
|
6750
6716
|
payment
|
|
6751
6717
|
);
|
|
6752
6718
|
if (queryClient && data.status === "ok") {
|
|
@@ -6769,7 +6735,7 @@ var useSubmitSelfEventRegistration = (options = {}) => {
|
|
|
6769
6735
|
return useConnectedMutation_default(SubmitSelfEventRegistration, options);
|
|
6770
6736
|
};
|
|
6771
6737
|
|
|
6772
|
-
// src/mutations/self/events/registration/
|
|
6738
|
+
// src/mutations/self/events/registration/cart/useUpdateSelfEventRegistrationPurchaseQuestionResponse.ts
|
|
6773
6739
|
import { produce as produce4 } from "immer";
|
|
6774
6740
|
var UpdateSelfEventRegistrationQuestionResponse = async ({
|
|
6775
6741
|
eventId,
|
|
@@ -6785,7 +6751,7 @@ var UpdateSelfEventRegistrationQuestionResponse = async ({
|
|
|
6785
6751
|
let data;
|
|
6786
6752
|
if (update) {
|
|
6787
6753
|
const response2 = await clientApi.put(
|
|
6788
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6754
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/questions/${questionId}`,
|
|
6789
6755
|
{
|
|
6790
6756
|
value
|
|
6791
6757
|
}
|
|
@@ -6793,7 +6759,7 @@ var UpdateSelfEventRegistrationQuestionResponse = async ({
|
|
|
6793
6759
|
data = response2.data;
|
|
6794
6760
|
} else {
|
|
6795
6761
|
const response2 = await clientApi.put(
|
|
6796
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6762
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/questions/${questionId}`,
|
|
6797
6763
|
{
|
|
6798
6764
|
value
|
|
6799
6765
|
}
|
|
@@ -6870,7 +6836,7 @@ var useUpdateSelfEventRegistrationQuestionResponse = (update, options = {}) => {
|
|
|
6870
6836
|
);
|
|
6871
6837
|
};
|
|
6872
6838
|
|
|
6873
|
-
// src/mutations/self/events/registration/
|
|
6839
|
+
// src/mutations/self/events/registration/cart/useAddSelfEventRegistrationPurchaseAddOn.ts
|
|
6874
6840
|
var AddSelfEventRegistrationPurchaseAddOn = async ({
|
|
6875
6841
|
eventId,
|
|
6876
6842
|
registrationId,
|
|
@@ -6881,7 +6847,7 @@ var AddSelfEventRegistrationPurchaseAddOn = async ({
|
|
|
6881
6847
|
}) => {
|
|
6882
6848
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6883
6849
|
const { data } = await clientApi.post(
|
|
6884
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6850
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/addOns/${addOnId}`
|
|
6885
6851
|
);
|
|
6886
6852
|
if (queryClient && data.status === "ok") {
|
|
6887
6853
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
@@ -6913,7 +6879,7 @@ var useAddSelfEventRegistrationPurchaseAddOn = (options = {}) => {
|
|
|
6913
6879
|
return useConnectedMutation_default(AddSelfEventRegistrationPurchaseAddOn, options);
|
|
6914
6880
|
};
|
|
6915
6881
|
|
|
6916
|
-
// src/mutations/self/events/registration/
|
|
6882
|
+
// src/mutations/self/events/registration/cart/useRemoveSelfEventRegistrationPurchaseAddOn.ts
|
|
6917
6883
|
var RemoveSelfEventRegistrationPurchaseAddOn = async ({
|
|
6918
6884
|
eventId,
|
|
6919
6885
|
registrationId,
|
|
@@ -6924,7 +6890,7 @@ var RemoveSelfEventRegistrationPurchaseAddOn = async ({
|
|
|
6924
6890
|
}) => {
|
|
6925
6891
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6926
6892
|
const { data } = await clientApi.delete(
|
|
6927
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6893
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/addOns/${addOnId}`
|
|
6928
6894
|
);
|
|
6929
6895
|
if (queryClient && data.status === "ok") {
|
|
6930
6896
|
queryClient.removeQueries({
|
|
@@ -6950,7 +6916,7 @@ var useRemoveSelfEventRegistrationPurchaseAddOn = (options = {}) => {
|
|
|
6950
6916
|
return useConnectedMutation_default(RemoveSelfEventRegistrationPurchaseAddOn, options);
|
|
6951
6917
|
};
|
|
6952
6918
|
|
|
6953
|
-
// src/mutations/self/events/registration/
|
|
6919
|
+
// src/mutations/self/events/registration/cart/useSelectSelfEventRegistrationPurchaseReservation.ts
|
|
6954
6920
|
var SelectSelfEventRegistrationPurchaseReservation = async ({
|
|
6955
6921
|
eventId,
|
|
6956
6922
|
registrationId,
|
|
@@ -6963,7 +6929,7 @@ var SelectSelfEventRegistrationPurchaseReservation = async ({
|
|
|
6963
6929
|
}) => {
|
|
6964
6930
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
6965
6931
|
const { data } = await clientApi.post(
|
|
6966
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
6932
|
+
`/self/events/${eventId}/registration/${registrationId}/cart/purchases/${purchaseId}/reservations/${locationId}`,
|
|
6967
6933
|
{
|
|
6968
6934
|
reservationStart,
|
|
6969
6935
|
reservationEnd
|
|
@@ -6993,40 +6959,6 @@ var useSelectSelfEventRegistrationPurchaseReservation = (options = {}) => {
|
|
|
6993
6959
|
return useConnectedMutation_default(SelectSelfEventRegistrationPurchaseReservation, options);
|
|
6994
6960
|
};
|
|
6995
6961
|
|
|
6996
|
-
// src/mutations/self/events/registration/registered/useCancelEventRegistration.ts
|
|
6997
|
-
var CancelEventRegistration = async ({
|
|
6998
|
-
eventId,
|
|
6999
|
-
registrationId,
|
|
7000
|
-
clientApiParams,
|
|
7001
|
-
queryClient
|
|
7002
|
-
}) => {
|
|
7003
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
7004
|
-
const { data } = await clientApi.delete(
|
|
7005
|
-
`/self/events/${eventId}/registration/${registrationId}/registered/cancel`
|
|
7006
|
-
);
|
|
7007
|
-
if (queryClient && data.status === "ok") {
|
|
7008
|
-
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
7009
|
-
clientApiParams.locale
|
|
7010
|
-
]);
|
|
7011
|
-
queryClient.invalidateQueries({
|
|
7012
|
-
queryKey: SELF_EVENTS_QUERY_KEY(false)
|
|
7013
|
-
});
|
|
7014
|
-
queryClient.invalidateQueries({
|
|
7015
|
-
queryKey: SELF_EVENTS_QUERY_KEY(true)
|
|
7016
|
-
});
|
|
7017
|
-
queryClient.invalidateQueries({
|
|
7018
|
-
queryKey: EVENT_QUERY_KEY(eventId)
|
|
7019
|
-
});
|
|
7020
|
-
queryClient.invalidateQueries({
|
|
7021
|
-
queryKey: EVENT_REGISTRANTS_QUERY_KEY(eventId)
|
|
7022
|
-
});
|
|
7023
|
-
}
|
|
7024
|
-
return data;
|
|
7025
|
-
};
|
|
7026
|
-
var useCancelEventRegistration = (options = {}) => {
|
|
7027
|
-
return useConnectedMutation_default(CancelEventRegistration, options);
|
|
7028
|
-
};
|
|
7029
|
-
|
|
7030
6962
|
// src/mutations/self/events/registration/registered/useCancelTransfer.ts
|
|
7031
6963
|
var CancelTransfer = async ({
|
|
7032
6964
|
transferId,
|
|
@@ -7104,7 +7036,7 @@ var AddFreePurchaseAddOns = async ({
|
|
|
7104
7036
|
}) => {
|
|
7105
7037
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
7106
7038
|
const { data } = await clientApi.post(
|
|
7107
|
-
`/self/events/${eventId}/registration/${registrationId}/
|
|
7039
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/addOns/free`,
|
|
7108
7040
|
{
|
|
7109
7041
|
addOnIds
|
|
7110
7042
|
}
|
|
@@ -8868,7 +8800,6 @@ export {
|
|
|
8868
8800
|
CONTENTS_QUERY_KEY,
|
|
8869
8801
|
CONTENT_QUERY_KEY,
|
|
8870
8802
|
CacheIndividualQueries,
|
|
8871
|
-
CancelEventRegistration,
|
|
8872
8803
|
CancelGroupInvitation,
|
|
8873
8804
|
CancelGroupRequest,
|
|
8874
8805
|
CancelSubscription,
|
|
@@ -9045,7 +8976,7 @@ export {
|
|
|
9045
8976
|
GetSelfEventListings,
|
|
9046
8977
|
GetSelfEventRegistration,
|
|
9047
8978
|
GetSelfEventRegistrationCoupon,
|
|
9048
|
-
|
|
8979
|
+
GetSelfEventRegistrationCouponPurchases,
|
|
9049
8980
|
GetSelfEventRegistrationCoupons,
|
|
9050
8981
|
GetSelfEventRegistrationIntent,
|
|
9051
8982
|
GetSelfEventRegistrationPayment,
|
|
@@ -9119,7 +9050,6 @@ export {
|
|
|
9119
9050
|
PushDeviceAppType,
|
|
9120
9051
|
PushService,
|
|
9121
9052
|
REMOVE_SELF_RELATIONSHIP,
|
|
9122
|
-
RegisterCancelledEventRegistration,
|
|
9123
9053
|
RegistrationQuestionType,
|
|
9124
9054
|
RegistrationStatus,
|
|
9125
9055
|
ReinviteGroupInvitation,
|
|
@@ -9341,7 +9271,6 @@ export {
|
|
|
9341
9271
|
useAddSelfEventRegistrationPurchaseAddOn,
|
|
9342
9272
|
useAddSelfEventSession,
|
|
9343
9273
|
useAddSelfInterests,
|
|
9344
|
-
useCancelEventRegistration,
|
|
9345
9274
|
useCancelGroupInvitation,
|
|
9346
9275
|
useCancelGroupRequest,
|
|
9347
9276
|
useCancelSubscription,
|
|
@@ -9476,7 +9405,7 @@ export {
|
|
|
9476
9405
|
useGetSelfEventListingsRegistrations,
|
|
9477
9406
|
useGetSelfEventRegistration,
|
|
9478
9407
|
useGetSelfEventRegistrationCoupon,
|
|
9479
|
-
|
|
9408
|
+
useGetSelfEventRegistrationCouponPurchases,
|
|
9480
9409
|
useGetSelfEventRegistrationCoupons,
|
|
9481
9410
|
useGetSelfEventRegistrationIntent,
|
|
9482
9411
|
useGetSelfEventRegistrationPayment,
|
|
@@ -9517,7 +9446,6 @@ export {
|
|
|
9517
9446
|
useLeaveSelfChatChannel,
|
|
9518
9447
|
useLikeActivity,
|
|
9519
9448
|
usePromoteGroupMember,
|
|
9520
|
-
useRegisterCancelledEventRegistration,
|
|
9521
9449
|
useReinviteGroupInvitation,
|
|
9522
9450
|
useRejectGroupInvitation,
|
|
9523
9451
|
useRejectGroupRequest,
|