@connectedxm/client 1.3.9 → 1.3.10
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 +131 -2
- package/dist/index.d.ts +131 -2
- package/dist/index.js +354 -0
- package/dist/index.mjs +329 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __export(src_exports, {
|
|
|
58
58
|
AddSelfDelegate: () => AddSelfDelegate,
|
|
59
59
|
AddSelfEventRegistrationPurchase: () => AddSelfEventRegistrationPurchase,
|
|
60
60
|
AddSelfEventRegistrationPurchaseAddOn: () => AddSelfEventRegistrationPurchaseAddOn,
|
|
61
|
+
AddSelfEventRegistrationPurchaseSession: () => AddSelfEventRegistrationPurchaseSession,
|
|
61
62
|
AddSelfEventSession: () => AddSelfEventSession,
|
|
62
63
|
AddSelfInterests: () => AddSelfInterests,
|
|
63
64
|
AddThreadMember: () => AddThreadMember,
|
|
@@ -313,6 +314,10 @@ __export(src_exports, {
|
|
|
313
314
|
GetSelfEventRegistrationPurchaseAddOnsIntent: () => GetSelfEventRegistrationPurchaseAddOnsIntent,
|
|
314
315
|
GetSelfEventRegistrationPurchaseReservationSections: () => GetSelfEventRegistrationPurchaseReservationSections,
|
|
315
316
|
GetSelfEventRegistrationPurchaseSections: () => GetSelfEventRegistrationPurchaseSections,
|
|
317
|
+
GetSelfEventRegistrationPurchaseSessionPass: () => GetSelfEventRegistrationPurchaseSessionPass,
|
|
318
|
+
GetSelfEventRegistrationPurchaseSessions: () => GetSelfEventRegistrationPurchaseSessions,
|
|
319
|
+
GetSelfEventRegistrationSessionPasses: () => GetSelfEventRegistrationSessionPasses,
|
|
320
|
+
GetSelfEventRegistrationSessionsIntent: () => GetSelfEventRegistrationSessionsIntent,
|
|
316
321
|
GetSelfEventSessions: () => GetSelfEventSessions,
|
|
317
322
|
GetSelfEventTicketCouponIntent: () => GetSelfEventTicketCouponIntent,
|
|
318
323
|
GetSelfEventTransfersLogs: () => GetSelfEventTransfersLogs,
|
|
@@ -421,6 +426,7 @@ __export(src_exports, {
|
|
|
421
426
|
RemoveSelfEventRegistrationCoupon: () => RemoveSelfEventRegistrationCoupon,
|
|
422
427
|
RemoveSelfEventRegistrationPurchase: () => RemoveSelfEventRegistrationPurchase,
|
|
423
428
|
RemoveSelfEventRegistrationPurchaseAddOn: () => RemoveSelfEventRegistrationPurchaseAddOn,
|
|
429
|
+
RemoveSelfEventRegistrationPurchaseSession: () => RemoveSelfEventRegistrationPurchaseSession,
|
|
424
430
|
RemoveSelfEventSession: () => RemoveSelfEventSession,
|
|
425
431
|
RemoveThreadMessageReaction: () => RemoveThreadMessageReaction,
|
|
426
432
|
ReshareActivity: () => ReshareActivity,
|
|
@@ -446,7 +452,11 @@ __export(src_exports, {
|
|
|
446
452
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
447
453
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
448
454
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
455
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY,
|
|
456
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY,
|
|
449
457
|
SELF_EVENT_REGISTRATION_QUERY_KEY: () => SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
458
|
+
SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY: () => SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY,
|
|
459
|
+
SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY: () => SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY,
|
|
450
460
|
SELF_EVENT_SESSIONS_QUERY_KEY: () => SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
451
461
|
SELF_EVENT_TICKET_COUPON_INTENT_QUERY_KEY: () => SELF_EVENT_TICKET_COUPON_INTENT_QUERY_KEY,
|
|
452
462
|
SELF_FEED_QUERY_KEY: () => SELF_FEED_QUERY_KEY,
|
|
@@ -556,7 +566,11 @@ __export(src_exports, {
|
|
|
556
566
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
557
567
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
558
568
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
569
|
+
SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_DATA,
|
|
570
|
+
SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_DATA,
|
|
559
571
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
|
|
572
|
+
SET_SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_DATA,
|
|
573
|
+
SET_SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_DATA,
|
|
560
574
|
SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA: () => SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
|
|
561
575
|
SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
|
|
562
576
|
SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
|
|
@@ -579,8 +593,10 @@ __export(src_exports, {
|
|
|
579
593
|
SelectSelfEventRegistrationPurchaseReservation: () => SelectSelfEventRegistrationPurchaseReservation,
|
|
580
594
|
SelfCreateActivity: () => SelfCreateActivity,
|
|
581
595
|
SelfUpdateGroupMembership: () => SelfUpdateGroupMembership,
|
|
596
|
+
SessionPassStatus: () => SessionPassStatus,
|
|
582
597
|
SetContentPublishSchedule: () => SetContentPublishSchedule,
|
|
583
598
|
SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
|
|
599
|
+
SubmitSelfEventRegistrationSessions: () => SubmitSelfEventRegistrationSessions,
|
|
584
600
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
585
601
|
SupportTicketType: () => SupportTicketType,
|
|
586
602
|
SupportedLocale: () => SupportedLocale,
|
|
@@ -621,6 +637,7 @@ __export(src_exports, {
|
|
|
621
637
|
UpdateSelf: () => UpdateSelf,
|
|
622
638
|
UpdateSelfChatChannelNotifications: () => UpdateSelfChatChannelNotifications,
|
|
623
639
|
UpdateSelfEventRegistrationPurchaseResponses: () => UpdateSelfEventRegistrationPurchaseResponses,
|
|
640
|
+
UpdateSelfEventRegistrationPurchaseSessionResponses: () => UpdateSelfEventRegistrationPurchaseSessionResponses,
|
|
624
641
|
UpdateSelfEventRegistrationQuestionResponse: () => UpdateSelfEventRegistrationQuestionResponse,
|
|
625
642
|
UpdateSelfImage: () => UpdateSelfImage,
|
|
626
643
|
UpdateSelfLead: () => UpdateSelfLead,
|
|
@@ -683,6 +700,7 @@ __export(src_exports, {
|
|
|
683
700
|
useAddSelfDelegate: () => useAddSelfDelegate,
|
|
684
701
|
useAddSelfEventRegistrationPurchase: () => useAddSelfEventRegistrationPurchase,
|
|
685
702
|
useAddSelfEventRegistrationPurchaseAddOn: () => useAddSelfEventRegistrationPurchaseAddOn,
|
|
703
|
+
useAddSelfEventRegistrationPurchaseSession: () => useAddSelfEventRegistrationPurchaseSession,
|
|
686
704
|
useAddSelfEventSession: () => useAddSelfEventSession,
|
|
687
705
|
useAddSelfInterests: () => useAddSelfInterests,
|
|
688
706
|
useAddThreadMember: () => useAddThreadMember,
|
|
@@ -869,6 +887,10 @@ __export(src_exports, {
|
|
|
869
887
|
useGetSelfEventRegistrationPurchaseAddOnsIntent: () => useGetSelfEventRegistrationPurchaseAddOnsIntent,
|
|
870
888
|
useGetSelfEventRegistrationPurchaseReservationSections: () => useGetSelfEventRegistrationPurchaseReservationSections,
|
|
871
889
|
useGetSelfEventRegistrationPurchaseSections: () => useGetSelfEventRegistrationPurchaseSections,
|
|
890
|
+
useGetSelfEventRegistrationPurchaseSessionPass: () => useGetSelfEventRegistrationPurchaseSessionPass,
|
|
891
|
+
useGetSelfEventRegistrationPurchaseSessions: () => useGetSelfEventRegistrationPurchaseSessions,
|
|
892
|
+
useGetSelfEventRegistrationSessionPasses: () => useGetSelfEventRegistrationSessionPasses,
|
|
893
|
+
useGetSelfEventRegistrationSessionsIntent: () => useGetSelfEventRegistrationSessionsIntent,
|
|
872
894
|
useGetSelfEventSessions: () => useGetSelfEventSessions,
|
|
873
895
|
useGetSelfEventTicketCouponIntent: () => useGetSelfEventTicketCouponIntent,
|
|
874
896
|
useGetSelfEventTransfersLogs: () => useGetSelfEventTransfersLogs,
|
|
@@ -927,6 +949,7 @@ __export(src_exports, {
|
|
|
927
949
|
useRemoveSelfEventRegistrationCoupon: () => useRemoveSelfEventRegistrationCoupon,
|
|
928
950
|
useRemoveSelfEventRegistrationPurchase: () => useRemoveSelfEventRegistrationPurchase,
|
|
929
951
|
useRemoveSelfEventRegistrationPurchaseAddOn: () => useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
952
|
+
useRemoveSelfEventRegistrationPurchaseSession: () => useRemoveSelfEventRegistrationPurchaseSession,
|
|
930
953
|
useRemoveSelfEventSession: () => useRemoveSelfEventSession,
|
|
931
954
|
useRemoveThreadMessageReaction: () => useRemoveThreadMessageReaction,
|
|
932
955
|
useReshareActivity: () => useReshareActivity,
|
|
@@ -936,6 +959,7 @@ __export(src_exports, {
|
|
|
936
959
|
useSelfUpdateGroupMembership: () => useSelfUpdateGroupMembership,
|
|
937
960
|
useSetContentPublishSchedule: () => useSetContentPublishSchedule,
|
|
938
961
|
useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
|
|
962
|
+
useSubmitSelfEventRegistrationSessions: () => useSubmitSelfEventRegistrationSessions,
|
|
939
963
|
useTransferPurchase: () => useTransferPurchase,
|
|
940
964
|
useUndoCheckinListingRegistrationPurchase: () => useUndoCheckinListingRegistrationPurchase,
|
|
941
965
|
useUnfollowAccount: () => useUnfollowAccount,
|
|
@@ -956,6 +980,7 @@ __export(src_exports, {
|
|
|
956
980
|
useUpdateSelf: () => useUpdateSelf,
|
|
957
981
|
useUpdateSelfChatChannelNotifications: () => useUpdateSelfChatChannelNotifications,
|
|
958
982
|
useUpdateSelfEventRegistrationPurchaseResponses: () => useUpdateSelfEventRegistrationPurchaseResponses,
|
|
983
|
+
useUpdateSelfEventRegistrationPurchaseSessionResponses: () => useUpdateSelfEventRegistrationPurchaseSessionResponses,
|
|
959
984
|
useUpdateSelfEventRegistrationQuestionResponse: () => useUpdateSelfEventRegistrationQuestionResponse,
|
|
960
985
|
useUpdateSelfImage: () => useUpdateSelfImage,
|
|
961
986
|
useUpdateSelfLead: () => useUpdateSelfLead,
|
|
@@ -1228,6 +1253,12 @@ var isTypeSpeaker = (speaker) => {
|
|
|
1228
1253
|
var isTypeSession = (session) => {
|
|
1229
1254
|
return session.longDescription !== void 0;
|
|
1230
1255
|
};
|
|
1256
|
+
var SessionPassStatus = /* @__PURE__ */ ((SessionPassStatus2) => {
|
|
1257
|
+
SessionPassStatus2["draft"] = "draft";
|
|
1258
|
+
SessionPassStatus2["ready"] = "ready";
|
|
1259
|
+
SessionPassStatus2["canceled"] = "canceled";
|
|
1260
|
+
return SessionPassStatus2;
|
|
1261
|
+
})(SessionPassStatus || {});
|
|
1231
1262
|
var isTypeEventPage = (page) => {
|
|
1232
1263
|
return page.html !== void 0;
|
|
1233
1264
|
};
|
|
@@ -6203,6 +6234,196 @@ var useGetSelfEventTransfersLogs = (eventId, params = {}, options = {}) => {
|
|
|
6203
6234
|
);
|
|
6204
6235
|
};
|
|
6205
6236
|
|
|
6237
|
+
// src/queries/self/registration/sessions/useGetSelfEventRegistrationPurchaseSessionPasses.ts
|
|
6238
|
+
var SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY = (eventId, registrationId, purchaseId) => {
|
|
6239
|
+
const key = [
|
|
6240
|
+
...SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY(
|
|
6241
|
+
eventId,
|
|
6242
|
+
registrationId,
|
|
6243
|
+
purchaseId
|
|
6244
|
+
),
|
|
6245
|
+
"SESSIONS"
|
|
6246
|
+
];
|
|
6247
|
+
return key;
|
|
6248
|
+
};
|
|
6249
|
+
var SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
6250
|
+
client.setQueryData(
|
|
6251
|
+
[
|
|
6252
|
+
...SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(...keyParams),
|
|
6253
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
6254
|
+
],
|
|
6255
|
+
response
|
|
6256
|
+
);
|
|
6257
|
+
};
|
|
6258
|
+
var GetSelfEventRegistrationPurchaseSessions = async ({
|
|
6259
|
+
eventId,
|
|
6260
|
+
registrationId,
|
|
6261
|
+
purchaseId,
|
|
6262
|
+
clientApiParams
|
|
6263
|
+
}) => {
|
|
6264
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6265
|
+
const { data } = await clientApi.get(
|
|
6266
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/sessions`
|
|
6267
|
+
);
|
|
6268
|
+
return data;
|
|
6269
|
+
};
|
|
6270
|
+
var useGetSelfEventRegistrationPurchaseSessions = (eventId, registrationId, purchaseId, options = {}) => {
|
|
6271
|
+
const { authenticated } = useConnectedXM();
|
|
6272
|
+
return useConnectedSingleQuery_default(
|
|
6273
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(
|
|
6274
|
+
eventId,
|
|
6275
|
+
registrationId,
|
|
6276
|
+
purchaseId
|
|
6277
|
+
),
|
|
6278
|
+
(params) => GetSelfEventRegistrationPurchaseSessions({
|
|
6279
|
+
eventId,
|
|
6280
|
+
registrationId,
|
|
6281
|
+
purchaseId,
|
|
6282
|
+
...params
|
|
6283
|
+
}),
|
|
6284
|
+
{
|
|
6285
|
+
...options,
|
|
6286
|
+
enabled: !!authenticated && !!eventId && !!registrationId && !!purchaseId && (options?.enabled ?? true)
|
|
6287
|
+
}
|
|
6288
|
+
);
|
|
6289
|
+
};
|
|
6290
|
+
|
|
6291
|
+
// src/queries/self/registration/sessions/useGetSelfEventRegistrationPurchaseSessionPass.ts
|
|
6292
|
+
var SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY = (eventId, registrationId, purchaseId, sessionPassId) => [
|
|
6293
|
+
...SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(
|
|
6294
|
+
eventId,
|
|
6295
|
+
registrationId,
|
|
6296
|
+
purchaseId
|
|
6297
|
+
),
|
|
6298
|
+
sessionPassId
|
|
6299
|
+
];
|
|
6300
|
+
var SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
6301
|
+
client.setQueryData(
|
|
6302
|
+
[
|
|
6303
|
+
...SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY(...keyParams),
|
|
6304
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
6305
|
+
],
|
|
6306
|
+
response
|
|
6307
|
+
);
|
|
6308
|
+
};
|
|
6309
|
+
var GetSelfEventRegistrationPurchaseSessionPass = async ({
|
|
6310
|
+
eventId,
|
|
6311
|
+
registrationId,
|
|
6312
|
+
purchaseId,
|
|
6313
|
+
sessionPassId,
|
|
6314
|
+
clientApiParams
|
|
6315
|
+
}) => {
|
|
6316
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6317
|
+
const { data } = await clientApi.get(
|
|
6318
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/sessions/${sessionPassId}`,
|
|
6319
|
+
{}
|
|
6320
|
+
);
|
|
6321
|
+
return data;
|
|
6322
|
+
};
|
|
6323
|
+
var useGetSelfEventRegistrationPurchaseSessionPass = (eventId, registrationId, purchaseId, sessionPassId, options = {}) => {
|
|
6324
|
+
const { authenticated } = useConnectedXM();
|
|
6325
|
+
return useConnectedSingleQuery_default(
|
|
6326
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY(
|
|
6327
|
+
eventId,
|
|
6328
|
+
registrationId,
|
|
6329
|
+
purchaseId,
|
|
6330
|
+
sessionPassId
|
|
6331
|
+
),
|
|
6332
|
+
(params) => GetSelfEventRegistrationPurchaseSessionPass({
|
|
6333
|
+
eventId,
|
|
6334
|
+
registrationId,
|
|
6335
|
+
purchaseId,
|
|
6336
|
+
sessionPassId,
|
|
6337
|
+
...params
|
|
6338
|
+
}),
|
|
6339
|
+
{
|
|
6340
|
+
...options,
|
|
6341
|
+
enabled: !!authenticated && !!eventId && !!registrationId && !!purchaseId && !!sessionPassId && (options?.enabled ?? true)
|
|
6342
|
+
}
|
|
6343
|
+
);
|
|
6344
|
+
};
|
|
6345
|
+
|
|
6346
|
+
// src/queries/self/registration/sessions/useGetSelfEventRegistrationSessionsIntent.ts
|
|
6347
|
+
var SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY = (eventId) => [
|
|
6348
|
+
...SELF_EVENT_REGISTRATION_QUERY_KEY(eventId),
|
|
6349
|
+
"SESSIONS_INTENT"
|
|
6350
|
+
];
|
|
6351
|
+
var SET_SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
6352
|
+
client.setQueryData(
|
|
6353
|
+
[
|
|
6354
|
+
...SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY(...keyParams),
|
|
6355
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
6356
|
+
],
|
|
6357
|
+
response
|
|
6358
|
+
);
|
|
6359
|
+
};
|
|
6360
|
+
var GetSelfEventRegistrationSessionsIntent = async ({
|
|
6361
|
+
eventId,
|
|
6362
|
+
registrationId,
|
|
6363
|
+
clientApiParams
|
|
6364
|
+
}) => {
|
|
6365
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6366
|
+
const { data } = await clientApi.get(
|
|
6367
|
+
`/self/events/${eventId}/registration/${registrationId}/sessions/intent`,
|
|
6368
|
+
{}
|
|
6369
|
+
);
|
|
6370
|
+
return data;
|
|
6371
|
+
};
|
|
6372
|
+
var useGetSelfEventRegistrationSessionsIntent = (eventId, registrationId, options = {}) => {
|
|
6373
|
+
const { authenticated } = useConnectedXM();
|
|
6374
|
+
return useConnectedSingleQuery_default(
|
|
6375
|
+
SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY(eventId),
|
|
6376
|
+
(params) => GetSelfEventRegistrationSessionsIntent({
|
|
6377
|
+
eventId,
|
|
6378
|
+
registrationId,
|
|
6379
|
+
...params
|
|
6380
|
+
}),
|
|
6381
|
+
{
|
|
6382
|
+
...options,
|
|
6383
|
+
enabled: !!authenticated && !!eventId && !!registrationId && (options?.enabled ?? true)
|
|
6384
|
+
}
|
|
6385
|
+
);
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
// src/queries/self/registration/sessions/useGetSelfEventRegistrationSessionPasses.ts
|
|
6389
|
+
var SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY = (eventId, sessionId) => [...SELF_EVENT_REGISTRATION_QUERY_KEY(eventId), sessionId];
|
|
6390
|
+
var SET_SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
6391
|
+
client.setQueryData(
|
|
6392
|
+
[
|
|
6393
|
+
...SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY(...keyParams),
|
|
6394
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
6395
|
+
],
|
|
6396
|
+
response
|
|
6397
|
+
);
|
|
6398
|
+
};
|
|
6399
|
+
var GetSelfEventRegistrationSessionPasses = async ({
|
|
6400
|
+
eventId,
|
|
6401
|
+
sessionId,
|
|
6402
|
+
clientApiParams
|
|
6403
|
+
}) => {
|
|
6404
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6405
|
+
const { data } = await clientApi.get(
|
|
6406
|
+
`/self/events/${eventId}/registration/sessions/${sessionId}/passes`,
|
|
6407
|
+
{}
|
|
6408
|
+
);
|
|
6409
|
+
return data;
|
|
6410
|
+
};
|
|
6411
|
+
var useGetSelfEventRegistrationSessionPasses = (eventId, sessionId, options = {}) => {
|
|
6412
|
+
const { authenticated } = useConnectedXM();
|
|
6413
|
+
return useConnectedSingleQuery_default(
|
|
6414
|
+
SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY(eventId, sessionId),
|
|
6415
|
+
(params) => GetSelfEventRegistrationSessionPasses({
|
|
6416
|
+
eventId,
|
|
6417
|
+
sessionId,
|
|
6418
|
+
...params
|
|
6419
|
+
}),
|
|
6420
|
+
{
|
|
6421
|
+
...options,
|
|
6422
|
+
enabled: !!authenticated && !!eventId && !!sessionId && (options?.enabled ?? true)
|
|
6423
|
+
}
|
|
6424
|
+
);
|
|
6425
|
+
};
|
|
6426
|
+
|
|
6206
6427
|
// src/queries/self/subscriptions/useGetSelfSubscriptions.ts
|
|
6207
6428
|
var SELF_SUBSCRIPTIONS_QUERY_KEY = (status) => {
|
|
6208
6429
|
const key = [...SELF_QUERY_KEY(), "SUBSCRIPTIONS"];
|
|
@@ -10150,6 +10371,114 @@ var useCancelPurchase = (options = {}) => {
|
|
|
10150
10371
|
return useConnectedMutation_default(CancelPurchase, options);
|
|
10151
10372
|
};
|
|
10152
10373
|
|
|
10374
|
+
// src/mutations/self/events/registration/sessions/useAddSelfEventRegistrationPurchaseSession.ts
|
|
10375
|
+
var AddSelfEventRegistrationPurchaseSession = async ({
|
|
10376
|
+
eventId,
|
|
10377
|
+
registrationId,
|
|
10378
|
+
purchaseId,
|
|
10379
|
+
sessionId,
|
|
10380
|
+
clientApiParams,
|
|
10381
|
+
queryClient
|
|
10382
|
+
}) => {
|
|
10383
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
10384
|
+
const { data } = await clientApi.post(
|
|
10385
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/sessions`,
|
|
10386
|
+
{
|
|
10387
|
+
sessionId
|
|
10388
|
+
}
|
|
10389
|
+
);
|
|
10390
|
+
if (queryClient && data.status === "ok") {
|
|
10391
|
+
queryClient.removeQueries({
|
|
10392
|
+
queryKey: SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY(eventId)
|
|
10393
|
+
});
|
|
10394
|
+
queryClient.invalidateQueries({
|
|
10395
|
+
queryKey: SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(
|
|
10396
|
+
eventId,
|
|
10397
|
+
registrationId,
|
|
10398
|
+
purchaseId
|
|
10399
|
+
)
|
|
10400
|
+
});
|
|
10401
|
+
}
|
|
10402
|
+
return data;
|
|
10403
|
+
};
|
|
10404
|
+
var useAddSelfEventRegistrationPurchaseSession = (options = {}) => {
|
|
10405
|
+
return useConnectedMutation_default(AddSelfEventRegistrationPurchaseSession, options);
|
|
10406
|
+
};
|
|
10407
|
+
|
|
10408
|
+
// src/mutations/self/events/registration/sessions/useRemoveSelfEventRegistrationPurchaseSession.ts
|
|
10409
|
+
var RemoveSelfEventRegistrationPurchaseSession = async ({
|
|
10410
|
+
eventId,
|
|
10411
|
+
registrationId,
|
|
10412
|
+
purchaseId,
|
|
10413
|
+
sessionPassId,
|
|
10414
|
+
clientApiParams,
|
|
10415
|
+
queryClient
|
|
10416
|
+
}) => {
|
|
10417
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
10418
|
+
const { data } = await clientApi.delete(
|
|
10419
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/sessions/${sessionPassId}`
|
|
10420
|
+
);
|
|
10421
|
+
if (queryClient && data.status === "ok") {
|
|
10422
|
+
queryClient.removeQueries({
|
|
10423
|
+
queryKey: SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY(eventId)
|
|
10424
|
+
});
|
|
10425
|
+
queryClient.removeQueries({
|
|
10426
|
+
queryKey: SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(
|
|
10427
|
+
eventId,
|
|
10428
|
+
registrationId,
|
|
10429
|
+
purchaseId
|
|
10430
|
+
)
|
|
10431
|
+
});
|
|
10432
|
+
queryClient.invalidateQueries({
|
|
10433
|
+
queryKey: SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY(
|
|
10434
|
+
eventId,
|
|
10435
|
+
registrationId,
|
|
10436
|
+
purchaseId
|
|
10437
|
+
)
|
|
10438
|
+
});
|
|
10439
|
+
}
|
|
10440
|
+
return data;
|
|
10441
|
+
};
|
|
10442
|
+
var useRemoveSelfEventRegistrationPurchaseSession = (options = {}) => {
|
|
10443
|
+
return useConnectedMutation_default(RemoveSelfEventRegistrationPurchaseSession, options);
|
|
10444
|
+
};
|
|
10445
|
+
|
|
10446
|
+
// src/mutations/self/events/registration/sessions/useSubmitSelfEventRegistrationSessions.ts
|
|
10447
|
+
var SubmitSelfEventRegistrationSessions = async ({
|
|
10448
|
+
eventId,
|
|
10449
|
+
registrationId,
|
|
10450
|
+
clientApiParams
|
|
10451
|
+
}) => {
|
|
10452
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
10453
|
+
const { data } = await clientApi.post(
|
|
10454
|
+
`/self/events/${eventId}/registration/${registrationId}/sessions/submit`
|
|
10455
|
+
);
|
|
10456
|
+
return data;
|
|
10457
|
+
};
|
|
10458
|
+
var useSubmitSelfEventRegistrationSessions = (options = {}) => {
|
|
10459
|
+
return useConnectedMutation_default(SubmitSelfEventRegistrationSessions, options);
|
|
10460
|
+
};
|
|
10461
|
+
|
|
10462
|
+
// src/mutations/self/events/registration/sessions/useUpdateSelfEventRegistrationPurchaseSessionResponses.ts
|
|
10463
|
+
var UpdateSelfEventRegistrationPurchaseSessionResponses = async ({
|
|
10464
|
+
eventId,
|
|
10465
|
+
registrationId,
|
|
10466
|
+
purchaseId,
|
|
10467
|
+
sessionPassId,
|
|
10468
|
+
responses,
|
|
10469
|
+
clientApiParams
|
|
10470
|
+
}) => {
|
|
10471
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
10472
|
+
const { data } = await clientApi.put(
|
|
10473
|
+
`/self/events/${eventId}/registration/${registrationId}/purchases/${purchaseId}/sessions/${sessionPassId}`,
|
|
10474
|
+
responses
|
|
10475
|
+
);
|
|
10476
|
+
return data;
|
|
10477
|
+
};
|
|
10478
|
+
var useUpdateSelfEventRegistrationPurchaseSessionResponses = (options = {}) => {
|
|
10479
|
+
return useConnectedMutation_default(UpdateSelfEventRegistrationPurchaseSessionResponses, options);
|
|
10480
|
+
};
|
|
10481
|
+
|
|
10153
10482
|
// src/mutations/self/subscriptions/useCancelSubscription.ts
|
|
10154
10483
|
var CancelSubscription = async ({
|
|
10155
10484
|
subscriptionId,
|
|
@@ -12275,6 +12604,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12275
12604
|
AddSelfDelegate,
|
|
12276
12605
|
AddSelfEventRegistrationPurchase,
|
|
12277
12606
|
AddSelfEventRegistrationPurchaseAddOn,
|
|
12607
|
+
AddSelfEventRegistrationPurchaseSession,
|
|
12278
12608
|
AddSelfEventSession,
|
|
12279
12609
|
AddSelfInterests,
|
|
12280
12610
|
AddThreadMember,
|
|
@@ -12530,6 +12860,10 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12530
12860
|
GetSelfEventRegistrationPurchaseAddOnsIntent,
|
|
12531
12861
|
GetSelfEventRegistrationPurchaseReservationSections,
|
|
12532
12862
|
GetSelfEventRegistrationPurchaseSections,
|
|
12863
|
+
GetSelfEventRegistrationPurchaseSessionPass,
|
|
12864
|
+
GetSelfEventRegistrationPurchaseSessions,
|
|
12865
|
+
GetSelfEventRegistrationSessionPasses,
|
|
12866
|
+
GetSelfEventRegistrationSessionsIntent,
|
|
12533
12867
|
GetSelfEventSessions,
|
|
12534
12868
|
GetSelfEventTicketCouponIntent,
|
|
12535
12869
|
GetSelfEventTransfersLogs,
|
|
@@ -12638,6 +12972,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12638
12972
|
RemoveSelfEventRegistrationCoupon,
|
|
12639
12973
|
RemoveSelfEventRegistrationPurchase,
|
|
12640
12974
|
RemoveSelfEventRegistrationPurchaseAddOn,
|
|
12975
|
+
RemoveSelfEventRegistrationPurchaseSession,
|
|
12641
12976
|
RemoveSelfEventSession,
|
|
12642
12977
|
RemoveThreadMessageReaction,
|
|
12643
12978
|
ReshareActivity,
|
|
@@ -12663,7 +12998,11 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12663
12998
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
12664
12999
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
12665
13000
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
13001
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_KEY,
|
|
13002
|
+
SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_KEY,
|
|
12666
13003
|
SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
13004
|
+
SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_KEY,
|
|
13005
|
+
SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_KEY,
|
|
12667
13006
|
SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
12668
13007
|
SELF_EVENT_TICKET_COUPON_INTENT_QUERY_KEY,
|
|
12669
13008
|
SELF_FEED_QUERY_KEY,
|
|
@@ -12773,7 +13112,11 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12773
13112
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
12774
13113
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
12775
13114
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
13115
|
+
SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSIONS_QUERY_DATA,
|
|
13116
|
+
SET_SELF_EVENT_REGISTRATION_PURCHASE_SESSION_QUERY_DATA,
|
|
12776
13117
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
|
|
13118
|
+
SET_SELF_EVENT_REGISTRATION_SESSIONS_INTENT_QUERY_DATA,
|
|
13119
|
+
SET_SELF_EVENT_REGISTRATION_SESSION_PASSES_QUERY_DATA,
|
|
12777
13120
|
SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
|
|
12778
13121
|
SET_SELF_QUERY_DATA,
|
|
12779
13122
|
SET_SERIES_EVENTS_QUERY_DATA,
|
|
@@ -12796,8 +13139,10 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12796
13139
|
SelectSelfEventRegistrationPurchaseReservation,
|
|
12797
13140
|
SelfCreateActivity,
|
|
12798
13141
|
SelfUpdateGroupMembership,
|
|
13142
|
+
SessionPassStatus,
|
|
12799
13143
|
SetContentPublishSchedule,
|
|
12800
13144
|
SubmitSelfEventRegistration,
|
|
13145
|
+
SubmitSelfEventRegistrationSessions,
|
|
12801
13146
|
SubscriptionStatus,
|
|
12802
13147
|
SupportTicketType,
|
|
12803
13148
|
SupportedLocale,
|
|
@@ -12838,6 +13183,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12838
13183
|
UpdateSelf,
|
|
12839
13184
|
UpdateSelfChatChannelNotifications,
|
|
12840
13185
|
UpdateSelfEventRegistrationPurchaseResponses,
|
|
13186
|
+
UpdateSelfEventRegistrationPurchaseSessionResponses,
|
|
12841
13187
|
UpdateSelfEventRegistrationQuestionResponse,
|
|
12842
13188
|
UpdateSelfImage,
|
|
12843
13189
|
UpdateSelfLead,
|
|
@@ -12900,6 +13246,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
12900
13246
|
useAddSelfDelegate,
|
|
12901
13247
|
useAddSelfEventRegistrationPurchase,
|
|
12902
13248
|
useAddSelfEventRegistrationPurchaseAddOn,
|
|
13249
|
+
useAddSelfEventRegistrationPurchaseSession,
|
|
12903
13250
|
useAddSelfEventSession,
|
|
12904
13251
|
useAddSelfInterests,
|
|
12905
13252
|
useAddThreadMember,
|
|
@@ -13086,6 +13433,10 @@ var useEnableIntegration = (options = {}) => {
|
|
|
13086
13433
|
useGetSelfEventRegistrationPurchaseAddOnsIntent,
|
|
13087
13434
|
useGetSelfEventRegistrationPurchaseReservationSections,
|
|
13088
13435
|
useGetSelfEventRegistrationPurchaseSections,
|
|
13436
|
+
useGetSelfEventRegistrationPurchaseSessionPass,
|
|
13437
|
+
useGetSelfEventRegistrationPurchaseSessions,
|
|
13438
|
+
useGetSelfEventRegistrationSessionPasses,
|
|
13439
|
+
useGetSelfEventRegistrationSessionsIntent,
|
|
13089
13440
|
useGetSelfEventSessions,
|
|
13090
13441
|
useGetSelfEventTicketCouponIntent,
|
|
13091
13442
|
useGetSelfEventTransfersLogs,
|
|
@@ -13144,6 +13495,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
13144
13495
|
useRemoveSelfEventRegistrationCoupon,
|
|
13145
13496
|
useRemoveSelfEventRegistrationPurchase,
|
|
13146
13497
|
useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
13498
|
+
useRemoveSelfEventRegistrationPurchaseSession,
|
|
13147
13499
|
useRemoveSelfEventSession,
|
|
13148
13500
|
useRemoveThreadMessageReaction,
|
|
13149
13501
|
useReshareActivity,
|
|
@@ -13153,6 +13505,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
13153
13505
|
useSelfUpdateGroupMembership,
|
|
13154
13506
|
useSetContentPublishSchedule,
|
|
13155
13507
|
useSubmitSelfEventRegistration,
|
|
13508
|
+
useSubmitSelfEventRegistrationSessions,
|
|
13156
13509
|
useTransferPurchase,
|
|
13157
13510
|
useUndoCheckinListingRegistrationPurchase,
|
|
13158
13511
|
useUnfollowAccount,
|
|
@@ -13173,6 +13526,7 @@ var useEnableIntegration = (options = {}) => {
|
|
|
13173
13526
|
useUpdateSelf,
|
|
13174
13527
|
useUpdateSelfChatChannelNotifications,
|
|
13175
13528
|
useUpdateSelfEventRegistrationPurchaseResponses,
|
|
13529
|
+
useUpdateSelfEventRegistrationPurchaseSessionResponses,
|
|
13176
13530
|
useUpdateSelfEventRegistrationQuestionResponse,
|
|
13177
13531
|
useUpdateSelfImage,
|
|
13178
13532
|
useUpdateSelfLead,
|