@connectedxm/client 1.0.20 → 1.0.21
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 +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -6
- package/dist/index.mjs +2 -6
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2579,7 +2579,7 @@ interface ResponseWithQuestion extends RegistrationQuestionResponse {
|
|
|
2579
2579
|
interface PurchaseWithResponseQuestions extends Purchase {
|
|
2580
2580
|
responses: ResponseWithQuestion[];
|
|
2581
2581
|
}
|
|
2582
|
-
declare const SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: (eventId: string, registrationId: string, purchaseId: string
|
|
2582
|
+
declare const SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: (eventId: string, registrationId: string, purchaseId: string) => QueryKey;
|
|
2583
2583
|
declare const SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY>, response: Awaited<ReturnType<typeof GetSelfEventRegistrationPurchase>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|
|
2584
2584
|
interface GetSelfEventRegistrationPurchaseProps extends SingleQueryParams {
|
|
2585
2585
|
eventId: string;
|
|
@@ -3681,12 +3681,11 @@ declare const useUpdateSelfEventRegistrationPurchaseResponses: (options?: Omit<M
|
|
|
3681
3681
|
|
|
3682
3682
|
interface TransferPurchaseParams extends MutationParams {
|
|
3683
3683
|
passId: string;
|
|
3684
|
-
purchaseId: string;
|
|
3685
3684
|
eventId: string;
|
|
3686
3685
|
registrationId: string;
|
|
3687
3686
|
receiverId: string;
|
|
3688
3687
|
}
|
|
3689
|
-
declare const TransferPurchase: ({ passId,
|
|
3688
|
+
declare const TransferPurchase: ({ passId, eventId, registrationId, receiverId, clientApiParams, queryClient, }: TransferPurchaseParams) => Promise<ConnectedXMResponse<null>>;
|
|
3690
3689
|
declare const useTransferPurchase: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof TransferPurchase>>, Omit<TransferPurchaseParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<null>, axios.AxiosError<ConnectedXMResponse<null>, any>, Omit<TransferPurchaseParams, "queryClient" | "clientApiParams">, unknown>;
|
|
3691
3690
|
|
|
3692
3691
|
interface CancelSubscriptionParams extends MutationParams {
|
package/dist/index.d.ts
CHANGED
|
@@ -2579,7 +2579,7 @@ interface ResponseWithQuestion extends RegistrationQuestionResponse {
|
|
|
2579
2579
|
interface PurchaseWithResponseQuestions extends Purchase {
|
|
2580
2580
|
responses: ResponseWithQuestion[];
|
|
2581
2581
|
}
|
|
2582
|
-
declare const SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: (eventId: string, registrationId: string, purchaseId: string
|
|
2582
|
+
declare const SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: (eventId: string, registrationId: string, purchaseId: string) => QueryKey;
|
|
2583
2583
|
declare const SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY>, response: Awaited<ReturnType<typeof GetSelfEventRegistrationPurchase>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|
|
2584
2584
|
interface GetSelfEventRegistrationPurchaseProps extends SingleQueryParams {
|
|
2585
2585
|
eventId: string;
|
|
@@ -3681,12 +3681,11 @@ declare const useUpdateSelfEventRegistrationPurchaseResponses: (options?: Omit<M
|
|
|
3681
3681
|
|
|
3682
3682
|
interface TransferPurchaseParams extends MutationParams {
|
|
3683
3683
|
passId: string;
|
|
3684
|
-
purchaseId: string;
|
|
3685
3684
|
eventId: string;
|
|
3686
3685
|
registrationId: string;
|
|
3687
3686
|
receiverId: string;
|
|
3688
3687
|
}
|
|
3689
|
-
declare const TransferPurchase: ({ passId,
|
|
3688
|
+
declare const TransferPurchase: ({ passId, eventId, registrationId, receiverId, clientApiParams, queryClient, }: TransferPurchaseParams) => Promise<ConnectedXMResponse<null>>;
|
|
3690
3689
|
declare const useTransferPurchase: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof TransferPurchase>>, Omit<TransferPurchaseParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<null>, axios.AxiosError<ConnectedXMResponse<null>, any>, Omit<TransferPurchaseParams, "queryClient" | "clientApiParams">, unknown>;
|
|
3691
3690
|
|
|
3692
3691
|
interface CancelSubscriptionParams extends MutationParams {
|
package/dist/index.js
CHANGED
|
@@ -5582,16 +5582,14 @@ var useGetSelfEventRegistrationPayment = (eventId, registrationId, paymentId, op
|
|
|
5582
5582
|
};
|
|
5583
5583
|
|
|
5584
5584
|
// src/queries/self/registration/useGetSelfEventRegistrationPurchase.ts
|
|
5585
|
-
var SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY = (eventId, registrationId, purchaseId
|
|
5585
|
+
var SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY = (eventId, registrationId, purchaseId) => [
|
|
5586
5586
|
...SELF_QUERY_KEY(),
|
|
5587
5587
|
"EVENT",
|
|
5588
5588
|
eventId,
|
|
5589
5589
|
"REGISTRATION",
|
|
5590
5590
|
registrationId,
|
|
5591
5591
|
"PURCHASE",
|
|
5592
|
-
purchaseId
|
|
5593
|
-
"PASSID",
|
|
5594
|
-
passId
|
|
5592
|
+
purchaseId
|
|
5595
5593
|
];
|
|
5596
5594
|
var SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
5597
5595
|
client.setQueryData(
|
|
@@ -10069,7 +10067,6 @@ var useUpdateSelfEventRegistrationPurchaseResponses = (options = {}) => {
|
|
|
10069
10067
|
// src/mutations/self/events/registration/registered/useTransferPurchase.ts
|
|
10070
10068
|
var TransferPurchase = async ({
|
|
10071
10069
|
passId,
|
|
10072
|
-
purchaseId,
|
|
10073
10070
|
eventId,
|
|
10074
10071
|
registrationId,
|
|
10075
10072
|
receiverId,
|
|
@@ -10088,7 +10085,6 @@ var TransferPurchase = async ({
|
|
|
10088
10085
|
queryKey: SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY(
|
|
10089
10086
|
eventId,
|
|
10090
10087
|
registrationId,
|
|
10091
|
-
purchaseId,
|
|
10092
10088
|
passId
|
|
10093
10089
|
)
|
|
10094
10090
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -4618,16 +4618,14 @@ var useGetSelfEventRegistrationPayment = (eventId, registrationId, paymentId, op
|
|
|
4618
4618
|
};
|
|
4619
4619
|
|
|
4620
4620
|
// src/queries/self/registration/useGetSelfEventRegistrationPurchase.ts
|
|
4621
|
-
var SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY = (eventId, registrationId, purchaseId
|
|
4621
|
+
var SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY = (eventId, registrationId, purchaseId) => [
|
|
4622
4622
|
...SELF_QUERY_KEY(),
|
|
4623
4623
|
"EVENT",
|
|
4624
4624
|
eventId,
|
|
4625
4625
|
"REGISTRATION",
|
|
4626
4626
|
registrationId,
|
|
4627
4627
|
"PURCHASE",
|
|
4628
|
-
purchaseId
|
|
4629
|
-
"PASSID",
|
|
4630
|
-
passId
|
|
4628
|
+
purchaseId
|
|
4631
4629
|
];
|
|
4632
4630
|
var SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
4633
4631
|
client.setQueryData(
|
|
@@ -9108,7 +9106,6 @@ var useUpdateSelfEventRegistrationPurchaseResponses = (options = {}) => {
|
|
|
9108
9106
|
// src/mutations/self/events/registration/registered/useTransferPurchase.ts
|
|
9109
9107
|
var TransferPurchase = async ({
|
|
9110
9108
|
passId,
|
|
9111
|
-
purchaseId,
|
|
9112
9109
|
eventId,
|
|
9113
9110
|
registrationId,
|
|
9114
9111
|
receiverId,
|
|
@@ -9127,7 +9124,6 @@ var TransferPurchase = async ({
|
|
|
9127
9124
|
queryKey: SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY(
|
|
9128
9125
|
eventId,
|
|
9129
9126
|
registrationId,
|
|
9130
|
-
purchaseId,
|
|
9131
9127
|
passId
|
|
9132
9128
|
)
|
|
9133
9129
|
});
|