@connectedxm/client 7.5.9 → 7.6.1
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.ts +5 -1
- package/dist/index.js +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -450,6 +450,7 @@ interface Event extends BaseEvent {
|
|
|
450
450
|
}
|
|
451
451
|
declare const isTypeEvent: (event: BaseEvent | Event) => event is Event;
|
|
452
452
|
interface RegistrationEventDetails extends BaseEvent {
|
|
453
|
+
externalMeetingUrl: string | null;
|
|
453
454
|
reservationDescription: string | null;
|
|
454
455
|
externalUrl: string | null;
|
|
455
456
|
registration: boolean;
|
|
@@ -582,6 +583,7 @@ interface RegistrationFollowup extends BaseRegistrationFollowup {
|
|
|
582
583
|
}
|
|
583
584
|
interface EventListing extends Event {
|
|
584
585
|
visible: boolean;
|
|
586
|
+
externalMeetingUrl: string | null;
|
|
585
587
|
newActivityCreatorEmailNotification: boolean;
|
|
586
588
|
newActivityCreatorPushNotification: boolean;
|
|
587
589
|
registrationLimit: number;
|
|
@@ -3739,6 +3741,7 @@ interface CreateListingInput {
|
|
|
3739
3741
|
zip?: string;
|
|
3740
3742
|
country?: string;
|
|
3741
3743
|
externalUrl?: string;
|
|
3744
|
+
externalMeetingUrl?: string;
|
|
3742
3745
|
registration?: boolean;
|
|
3743
3746
|
registrationLimit?: number | null;
|
|
3744
3747
|
groupOnly?: boolean;
|
|
@@ -3841,6 +3844,7 @@ interface UpdateListingValues {
|
|
|
3841
3844
|
zip?: string | null;
|
|
3842
3845
|
country?: string | null;
|
|
3843
3846
|
externalUrl?: string | null;
|
|
3847
|
+
externalMeetingUrl?: string | null;
|
|
3844
3848
|
registration?: boolean;
|
|
3845
3849
|
publicRegistrants?: boolean;
|
|
3846
3850
|
registrationLimit?: number | null;
|
|
@@ -5554,7 +5558,7 @@ interface GetSelfEventAttendeePassAddOnsIntentProps extends SingleQueryParams {
|
|
|
5554
5558
|
addressId: string;
|
|
5555
5559
|
}
|
|
5556
5560
|
declare const GetSelfEventAttendeePassAddOnsIntent: ({ eventId, passId, addOnIds, addressId, clientApiParams, }: GetSelfEventAttendeePassAddOnsIntentProps) => Promise<ConnectedXMResponse<PaymentIntent>>;
|
|
5557
|
-
declare const useGetSelfEventAttendeePassAddOnsIntent: (eventId: string, passId: string, addressId: string, addOnIds: string[], options?: SingleQueryOptions<ReturnType<typeof GetSelfEventAttendeePassAddOnsIntent>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<PaymentIntent>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
|
|
5561
|
+
declare const useGetSelfEventAttendeePassAddOnsIntent: (eventId: string | undefined, passId: string | undefined, addressId: string | undefined, addOnIds: string[], options?: SingleQueryOptions<ReturnType<typeof GetSelfEventAttendeePassAddOnsIntent>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<PaymentIntent>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
|
|
5558
5562
|
|
|
5559
5563
|
declare const SELF_EVENT_REGISTRATION_COUPON_QUERY_KEY: (eventId: string, couponId: string) => QueryKey;
|
|
5560
5564
|
declare const SET_SELF_EVENT_REGISTRATION_COUPON_QUERY_DATA: (client: QueryClient, keyParams: Parameters<typeof SELF_EVENT_REGISTRATION_COUPON_QUERY_KEY>, response: Awaited<ReturnType<typeof GetSelfEventAttendeeCoupon>>, baseKeys?: Parameters<typeof GetBaseSingleQueryKeys>) => void;
|
package/dist/index.js
CHANGED
|
@@ -920,7 +920,7 @@ var useGetBookingIntent = (bookingId = "", addressId = "", options = {}) => {
|
|
|
920
920
|
retry: false,
|
|
921
921
|
retryOnMount: false,
|
|
922
922
|
...options,
|
|
923
|
-
enabled: !!authenticated && !!bookingId &&
|
|
923
|
+
enabled: !!authenticated && !!bookingId && (options?.enabled ?? true)
|
|
924
924
|
}
|
|
925
925
|
);
|
|
926
926
|
};
|
|
@@ -2736,7 +2736,7 @@ var useGetEventSessionPassIntent = (eventId = "", sessionId = "", passId = "", a
|
|
|
2736
2736
|
retry: false,
|
|
2737
2737
|
retryOnMount: false,
|
|
2738
2738
|
...options,
|
|
2739
|
-
enabled: !!authenticated && !!eventId && !!sessionId && !!passId &&
|
|
2739
|
+
enabled: !!authenticated && !!eventId && !!sessionId && !!passId && (options?.enabled ?? true)
|
|
2740
2740
|
}
|
|
2741
2741
|
);
|
|
2742
2742
|
};
|
|
@@ -3663,7 +3663,7 @@ var useGetInvoiceIntent = (invoiceId = "", addressId = "", options = {}) => {
|
|
|
3663
3663
|
retry: false,
|
|
3664
3664
|
retryOnMount: false,
|
|
3665
3665
|
...options,
|
|
3666
|
-
enabled: !!authenticated && !!invoiceId &&
|
|
3666
|
+
enabled: !!authenticated && !!invoiceId && (options?.enabled ?? true)
|
|
3667
3667
|
}
|
|
3668
3668
|
);
|
|
3669
3669
|
};
|
|
@@ -5044,7 +5044,7 @@ var useGetSelfEventTicketCouponIntent = (eventId = "", ticketId = "", quantity =
|
|
|
5044
5044
|
retry: false,
|
|
5045
5045
|
retryOnMount: false,
|
|
5046
5046
|
...options,
|
|
5047
|
-
enabled: !!authenticated && !!eventId && !!ticketId && !!quantity &&
|
|
5047
|
+
enabled: !!authenticated && !!eventId && !!ticketId && !!quantity && (options?.enabled ?? true)
|
|
5048
5048
|
}
|
|
5049
5049
|
);
|
|
5050
5050
|
};
|
|
@@ -5088,7 +5088,7 @@ var useGetSelfEventRegistrationIntent = (eventId = "", addressId = "", split = f
|
|
|
5088
5088
|
retry: false,
|
|
5089
5089
|
retryOnMount: false,
|
|
5090
5090
|
...options,
|
|
5091
|
-
enabled: !!authenticated && !!eventId &&
|
|
5091
|
+
enabled: !!authenticated && !!eventId && (options?.enabled ?? true)
|
|
5092
5092
|
}
|
|
5093
5093
|
);
|
|
5094
5094
|
};
|
|
@@ -5284,7 +5284,7 @@ var GetSelfEventAttendeePassAddOnsIntent = async ({
|
|
|
5284
5284
|
);
|
|
5285
5285
|
return data;
|
|
5286
5286
|
};
|
|
5287
|
-
var useGetSelfEventAttendeePassAddOnsIntent = (eventId, passId, addressId, addOnIds, options = {}) => {
|
|
5287
|
+
var useGetSelfEventAttendeePassAddOnsIntent = (eventId = "", passId = "", addressId = "", addOnIds, options = {}) => {
|
|
5288
5288
|
const { authenticated } = useConnected();
|
|
5289
5289
|
return useConnectedSingleQuery_default(
|
|
5290
5290
|
SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_INTENT_QUERY_KEY(
|
|
@@ -5305,7 +5305,7 @@ var useGetSelfEventAttendeePassAddOnsIntent = (eventId, passId, addressId, addOn
|
|
|
5305
5305
|
retry: false,
|
|
5306
5306
|
retryOnMount: false,
|
|
5307
5307
|
...options,
|
|
5308
|
-
enabled: !!authenticated && !!eventId && !!passId && !!
|
|
5308
|
+
enabled: !!authenticated && !!eventId && !!passId && !!addOnIds && (options?.enabled ?? true)
|
|
5309
5309
|
}
|
|
5310
5310
|
);
|
|
5311
5311
|
};
|
|
@@ -6597,7 +6597,7 @@ var useGetSeriesRegistrationIntent = (seriesId = "", addressId = "", options = {
|
|
|
6597
6597
|
retry: false,
|
|
6598
6598
|
retryOnMount: false,
|
|
6599
6599
|
...options,
|
|
6600
|
-
enabled: !!authenticated && !!seriesId &&
|
|
6600
|
+
enabled: !!authenticated && !!seriesId && (options?.enabled ?? true)
|
|
6601
6601
|
}
|
|
6602
6602
|
);
|
|
6603
6603
|
};
|