@connectedxm/client 0.5.13 → 0.5.15
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 +99 -6
- package/dist/index.d.ts +99 -6
- package/dist/index.js +293 -4
- package/dist/index.mjs +272 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -201,6 +201,7 @@ __export(src_exports, {
|
|
|
201
201
|
GetLevel: () => GetLevel,
|
|
202
202
|
GetLevelSponsors: () => GetLevelSponsors,
|
|
203
203
|
GetLevels: () => GetLevels,
|
|
204
|
+
GetListingRegistrationPurchaseSections: () => GetListingRegistrationPurchaseSections,
|
|
204
205
|
GetOrganization: () => GetOrganization,
|
|
205
206
|
GetOrganizationExplore: () => GetOrganizationExplore,
|
|
206
207
|
GetOrganizationPage: () => GetOrganizationPage,
|
|
@@ -220,9 +221,12 @@ __export(src_exports, {
|
|
|
220
221
|
GetSelfEventListingAnnouncements: () => GetSelfEventListingAnnouncements,
|
|
221
222
|
GetSelfEventListingCoHosts: () => GetSelfEventListingCoHosts,
|
|
222
223
|
GetSelfEventListingEmail: () => GetSelfEventListingEmail,
|
|
224
|
+
GetSelfEventListingPurchase: () => GetSelfEventListingPurchase,
|
|
225
|
+
GetSelfEventListingPurchases: () => GetSelfEventListingPurchases,
|
|
223
226
|
GetSelfEventListingQuestions: () => GetSelfEventListingQuestions,
|
|
224
227
|
GetSelfEventListingRegistration: () => GetSelfEventListingRegistration,
|
|
225
228
|
GetSelfEventListingRegistrations: () => GetSelfEventListingRegistrations,
|
|
229
|
+
GetSelfEventListingReport: () => GetSelfEventListingReport,
|
|
226
230
|
GetSelfEventListings: () => GetSelfEventListings,
|
|
227
231
|
GetSelfEventRegistration: () => GetSelfEventRegistration,
|
|
228
232
|
GetSelfEventRegistrationCheckout: () => GetSelfEventRegistrationCheckout,
|
|
@@ -269,10 +273,14 @@ __export(src_exports, {
|
|
|
269
273
|
LISTING_ANNOUNCEMENT_QUERY_KEY: () => LISTING_ANNOUNCEMENT_QUERY_KEY,
|
|
270
274
|
LISTING_CO_HOSTS_QUERY_KEY: () => LISTING_CO_HOSTS_QUERY_KEY,
|
|
271
275
|
LISTING_EMAIL_QUERY_KEY: () => LISTING_EMAIL_QUERY_KEY,
|
|
276
|
+
LISTING_PURCHASES_QUERY_KEY: () => LISTING_PURCHASES_QUERY_KEY,
|
|
277
|
+
LISTING_PURCHASE_QUERY_KEY: () => LISTING_PURCHASE_QUERY_KEY,
|
|
272
278
|
LISTING_QUERY_KEY: () => LISTING_QUERY_KEY,
|
|
273
279
|
LISTING_QUESTIONS_QUERY_KEY: () => LISTING_QUESTIONS_QUERY_KEY,
|
|
274
280
|
LISTING_REGISTRATIONS_QUERY_KEY: () => LISTING_REGISTRATIONS_QUERY_KEY,
|
|
281
|
+
LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY: () => LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
275
282
|
LISTING_REGISTRATION_QUERY_KEY: () => LISTING_REGISTRATION_QUERY_KEY,
|
|
283
|
+
LISTING_REPORT_QUERY_KEY: () => LISTING_REPORT_QUERY_KEY,
|
|
276
284
|
LeaveGroup: () => LeaveGroup,
|
|
277
285
|
LeaveSelfChatChannel: () => LeaveSelfChatChannel,
|
|
278
286
|
LikeActivity: () => LikeActivity,
|
|
@@ -393,7 +401,9 @@ __export(src_exports, {
|
|
|
393
401
|
SET_LEVEL_SPONSORS_QUERY_DATA: () => SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
394
402
|
SET_LISTING_ANNOUNCEMENT_QUERY_KEY: () => SET_LISTING_ANNOUNCEMENT_QUERY_KEY,
|
|
395
403
|
SET_LISTING_EMAIL_QUERY_DATA: () => SET_LISTING_EMAIL_QUERY_DATA,
|
|
404
|
+
SET_LISTING_PURCHASE_QUERY_KEY: () => SET_LISTING_PURCHASE_QUERY_KEY,
|
|
396
405
|
SET_LISTING_QUERY_DATA: () => SET_LISTING_QUERY_DATA,
|
|
406
|
+
SET_LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
397
407
|
SET_LISTING_REGISTRATION_QUERY_KEY: () => SET_LISTING_REGISTRATION_QUERY_KEY,
|
|
398
408
|
SET_ORGANIZATION_PAGE_QUERY_DATA: () => SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
399
409
|
SET_PUSH_DEVICE_QUERY_DATA: () => SET_PUSH_DEVICE_QUERY_DATA,
|
|
@@ -422,12 +432,14 @@ __export(src_exports, {
|
|
|
422
432
|
TicketEventAccessLevel: () => TicketEventAccessLevel,
|
|
423
433
|
TicketVisibility: () => TicketVisibility,
|
|
424
434
|
TransferPurchase: () => TransferPurchase,
|
|
435
|
+
UndoCheckinListingRegistrationPurchase: () => UndoCheckinListingRegistrationPurchase,
|
|
425
436
|
UnfollowAccount: () => UnfollowAccount,
|
|
426
437
|
UnlikeActivity: () => UnlikeActivity,
|
|
427
438
|
UpdateGroup: () => UpdateGroup,
|
|
428
439
|
UpdateListing: () => UpdateListing,
|
|
429
440
|
UpdateListingEmail: () => UpdateListingEmail,
|
|
430
441
|
UpdateListingQuestion: () => UpdateListingQuestion,
|
|
442
|
+
UpdateListingRegistrationPurchaseResponses: () => UpdateListingRegistrationPurchaseResponses,
|
|
431
443
|
UpdateListingSession: () => UpdateListingSession,
|
|
432
444
|
UpdateListingSpeaker: () => UpdateListingSpeaker,
|
|
433
445
|
UpdateSelf: () => UpdateSelf,
|
|
@@ -438,6 +450,7 @@ __export(src_exports, {
|
|
|
438
450
|
UpdateSelfNotificationPreferences: () => UpdateSelfNotificationPreferences,
|
|
439
451
|
UpdateSelfPushDevice: () => UpdateSelfPushDevice,
|
|
440
452
|
UpdateSubscriptionPaymentMethod: () => UpdateSubscriptionPaymentMethod,
|
|
453
|
+
UploadFile: () => UploadFile,
|
|
441
454
|
isListing: () => isListing,
|
|
442
455
|
isManagedCoupon: () => isManagedCoupon,
|
|
443
456
|
isRegistrationQuestion: () => isRegistrationQuestion,
|
|
@@ -586,6 +599,7 @@ __export(src_exports, {
|
|
|
586
599
|
useGetLevel: () => useGetLevel,
|
|
587
600
|
useGetLevelSponsors: () => useGetLevelSponsors,
|
|
588
601
|
useGetLevels: () => useGetLevels,
|
|
602
|
+
useGetListingRegistrationPurchaseSections: () => useGetListingRegistrationPurchaseSections,
|
|
589
603
|
useGetOrganization: () => useGetOrganization,
|
|
590
604
|
useGetOrganizationExplore: () => useGetOrganizationExplore,
|
|
591
605
|
useGetOrganizationPage: () => useGetOrganizationPage,
|
|
@@ -605,8 +619,11 @@ __export(src_exports, {
|
|
|
605
619
|
useGetSelfEventListingAnnouncements: () => useGetSelfEventListingAnnouncements,
|
|
606
620
|
useGetSelfEventListingCoHosts: () => useGetSelfEventListingCoHosts,
|
|
607
621
|
useGetSelfEventListingEmail: () => useGetSelfEventListingEmail,
|
|
622
|
+
useGetSelfEventListingPurchase: () => useGetSelfEventListingPurchase,
|
|
623
|
+
useGetSelfEventListingPurchases: () => useGetSelfEventListingPurchases,
|
|
608
624
|
useGetSelfEventListingQuestions: () => useGetSelfEventListingQuestions,
|
|
609
625
|
useGetSelfEventListingRegistration: () => useGetSelfEventListingRegistration,
|
|
626
|
+
useGetSelfEventListingReport: () => useGetSelfEventListingReport,
|
|
610
627
|
useGetSelfEventListings: () => useGetSelfEventListings,
|
|
611
628
|
useGetSelfEventListingsRegistrations: () => useGetSelfEventListingsRegistrations,
|
|
612
629
|
useGetSelfEventRegistration: () => useGetSelfEventRegistration,
|
|
@@ -666,12 +683,14 @@ __export(src_exports, {
|
|
|
666
683
|
useSelfUpdateGroupMembership: () => useSelfUpdateGroupMembership,
|
|
667
684
|
useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
|
|
668
685
|
useTransferPurchase: () => useTransferPurchase,
|
|
686
|
+
useUndoCheckinListingRegistrationPurchase: () => useUndoCheckinListingRegistrationPurchase,
|
|
669
687
|
useUnfollowAccount: () => useUnfollowAccount,
|
|
670
688
|
useUnlikeActivity: () => useUnlikeActivity,
|
|
671
689
|
useUpdateGroup: () => useUpdateGroup,
|
|
672
690
|
useUpdateListing: () => useUpdateListing,
|
|
673
691
|
useUpdateListingEmail: () => useUpdateListingEmail,
|
|
674
692
|
useUpdateListingQuestion: () => useUpdateListingQuestion,
|
|
693
|
+
useUpdateListingRegistrationPurchaseResponses: () => useUpdateListingRegistrationPurchaseResponses,
|
|
675
694
|
useUpdateListingSession: () => useUpdateListingSession,
|
|
676
695
|
useUpdateListingSpeaker: () => useUpdateListingSpeaker,
|
|
677
696
|
useUpdateSelf: () => useUpdateSelf,
|
|
@@ -681,7 +700,8 @@ __export(src_exports, {
|
|
|
681
700
|
useUpdateSelfLead: () => useUpdateSelfLead,
|
|
682
701
|
useUpdateSelfNotificationPreferences: () => useUpdateSelfNotificationPreferences,
|
|
683
702
|
useUpdateSelfPushDevice: () => useUpdateSelfPushDevice,
|
|
684
|
-
useUpdateSubscriptionPaymentMethod: () => useUpdateSubscriptionPaymentMethod
|
|
703
|
+
useUpdateSubscriptionPaymentMethod: () => useUpdateSubscriptionPaymentMethod,
|
|
704
|
+
useUploadFile: () => useUploadFile
|
|
685
705
|
});
|
|
686
706
|
module.exports = __toCommonJS(src_exports);
|
|
687
707
|
|
|
@@ -905,7 +925,7 @@ var isTypeTicket = (ticket) => {
|
|
|
905
925
|
return ticket.visibility !== void 0;
|
|
906
926
|
};
|
|
907
927
|
var isTypePurchase = (purchase) => {
|
|
908
|
-
return purchase.
|
|
928
|
+
return purchase.updatedAt !== void 0;
|
|
909
929
|
};
|
|
910
930
|
var isTypeTransfer = (transfer) => {
|
|
911
931
|
return transfer.createdAt !== void 0;
|
|
@@ -5782,7 +5802,7 @@ var useGetSelfEventListingsRegistrations = (eventId, status, params = {}, option
|
|
|
5782
5802
|
};
|
|
5783
5803
|
|
|
5784
5804
|
// src/queries/listings/useGetListingRegistration.ts
|
|
5785
|
-
var LISTING_REGISTRATION_QUERY_KEY = (eventId, registrationId) => [LISTING_REGISTRATIONS_QUERY_KEY(eventId), registrationId];
|
|
5805
|
+
var LISTING_REGISTRATION_QUERY_KEY = (eventId, registrationId) => [...LISTING_REGISTRATIONS_QUERY_KEY(eventId), registrationId];
|
|
5786
5806
|
var SET_LISTING_REGISTRATION_QUERY_KEY = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
5787
5807
|
client.setQueryData(
|
|
5788
5808
|
[
|
|
@@ -5814,6 +5834,78 @@ var useGetSelfEventListingRegistration = (eventId = "", registrationId = "", opt
|
|
|
5814
5834
|
);
|
|
5815
5835
|
};
|
|
5816
5836
|
|
|
5837
|
+
// src/queries/listings/useGetListingPurchases.ts
|
|
5838
|
+
var LISTING_PURCHASES_QUERY_KEY = (eventId, checkedIn) => [
|
|
5839
|
+
...LISTING_QUERY_KEY(eventId),
|
|
5840
|
+
"PURCHASES",
|
|
5841
|
+
typeof checkedIn !== "undefined" ? checkedIn : "ALL"
|
|
5842
|
+
];
|
|
5843
|
+
var GetSelfEventListingPurchases = async ({
|
|
5844
|
+
eventId,
|
|
5845
|
+
checkedIn,
|
|
5846
|
+
pageParam,
|
|
5847
|
+
pageSize,
|
|
5848
|
+
orderBy,
|
|
5849
|
+
search,
|
|
5850
|
+
clientApiParams
|
|
5851
|
+
}) => {
|
|
5852
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5853
|
+
const { data } = await clientApi.get(`/listings/${eventId}/purchases`, {
|
|
5854
|
+
params: {
|
|
5855
|
+
page: pageParam || void 0,
|
|
5856
|
+
pageSize: pageSize || void 0,
|
|
5857
|
+
orderBy: orderBy || void 0,
|
|
5858
|
+
search: search || void 0,
|
|
5859
|
+
checkedIn
|
|
5860
|
+
}
|
|
5861
|
+
});
|
|
5862
|
+
return data;
|
|
5863
|
+
};
|
|
5864
|
+
var useGetSelfEventListingPurchases = (eventId, checkedIn, params = {}, options = {}) => {
|
|
5865
|
+
return useConnectedInfiniteQuery(
|
|
5866
|
+
LISTING_PURCHASES_QUERY_KEY(eventId, checkedIn),
|
|
5867
|
+
(params2) => GetSelfEventListingPurchases({ eventId, checkedIn, ...params2 }),
|
|
5868
|
+
params,
|
|
5869
|
+
{
|
|
5870
|
+
...options,
|
|
5871
|
+
enabled: !!eventId && (options?.enabled ?? true)
|
|
5872
|
+
}
|
|
5873
|
+
);
|
|
5874
|
+
};
|
|
5875
|
+
|
|
5876
|
+
// src/queries/listings/useGetListingPurchase.ts
|
|
5877
|
+
var LISTING_PURCHASE_QUERY_KEY = (eventId, purchaseId) => [...LISTING_PURCHASES_QUERY_KEY(eventId), purchaseId];
|
|
5878
|
+
var SET_LISTING_PURCHASE_QUERY_KEY = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
5879
|
+
client.setQueryData(
|
|
5880
|
+
[
|
|
5881
|
+
...LISTING_PURCHASE_QUERY_KEY(...keyParams),
|
|
5882
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
5883
|
+
],
|
|
5884
|
+
response
|
|
5885
|
+
);
|
|
5886
|
+
};
|
|
5887
|
+
var GetSelfEventListingPurchase = async ({
|
|
5888
|
+
eventId,
|
|
5889
|
+
purchaseId,
|
|
5890
|
+
clientApiParams
|
|
5891
|
+
}) => {
|
|
5892
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5893
|
+
const { data } = await clientApi.get(
|
|
5894
|
+
`/listings/${eventId}/purchases/${purchaseId}`
|
|
5895
|
+
);
|
|
5896
|
+
return data;
|
|
5897
|
+
};
|
|
5898
|
+
var useGetSelfEventListingPurchase = (eventId = "", purchaseId = "", options = {}) => {
|
|
5899
|
+
return useConnectedSingleQuery(
|
|
5900
|
+
LISTING_PURCHASE_QUERY_KEY(eventId, purchaseId),
|
|
5901
|
+
(params) => GetSelfEventListingPurchase({ eventId, purchaseId, ...params }),
|
|
5902
|
+
{
|
|
5903
|
+
...options,
|
|
5904
|
+
enabled: !!eventId && !!purchaseId
|
|
5905
|
+
}
|
|
5906
|
+
);
|
|
5907
|
+
};
|
|
5908
|
+
|
|
5817
5909
|
// src/queries/listings/useGetListingCoHosts.ts
|
|
5818
5910
|
var LISTING_CO_HOSTS_QUERY_KEY = (eventId) => [
|
|
5819
5911
|
...LISTING_QUERY_KEY(eventId),
|
|
@@ -5850,6 +5942,79 @@ var useGetSelfEventListingCoHosts = (eventId, params = {}, options = {}) => {
|
|
|
5850
5942
|
);
|
|
5851
5943
|
};
|
|
5852
5944
|
|
|
5945
|
+
// src/queries/listings/useGetListingReport.ts
|
|
5946
|
+
var LISTING_REPORT_QUERY_KEY = (eventId) => [
|
|
5947
|
+
...LISTING_QUERY_KEY(eventId),
|
|
5948
|
+
"REPORT"
|
|
5949
|
+
];
|
|
5950
|
+
var GetSelfEventListingReport = async ({
|
|
5951
|
+
eventId,
|
|
5952
|
+
clientApiParams
|
|
5953
|
+
}) => {
|
|
5954
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5955
|
+
const { data } = await clientApi.get(`/listings/${eventId}/report`);
|
|
5956
|
+
return data;
|
|
5957
|
+
};
|
|
5958
|
+
var useGetSelfEventListingReport = (eventId, options = {}) => {
|
|
5959
|
+
return useConnectedSingleQuery(
|
|
5960
|
+
LISTING_REPORT_QUERY_KEY(eventId),
|
|
5961
|
+
(params) => GetSelfEventListingReport({ eventId, ...params }),
|
|
5962
|
+
{
|
|
5963
|
+
...options,
|
|
5964
|
+
enabled: !!eventId && (options?.enabled ?? true)
|
|
5965
|
+
}
|
|
5966
|
+
);
|
|
5967
|
+
};
|
|
5968
|
+
|
|
5969
|
+
// src/queries/listings/useGetListingRegistrationPurchaseSections.ts
|
|
5970
|
+
var LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY = (eventId, registrationId, purchaseId) => [
|
|
5971
|
+
...LISTING_REGISTRATION_QUERY_KEY(eventId, registrationId),
|
|
5972
|
+
purchaseId,
|
|
5973
|
+
"SECTIONS"
|
|
5974
|
+
];
|
|
5975
|
+
var SET_LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
5976
|
+
client.setQueryData(
|
|
5977
|
+
[
|
|
5978
|
+
...LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY(...keyParams),
|
|
5979
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
5980
|
+
],
|
|
5981
|
+
response
|
|
5982
|
+
);
|
|
5983
|
+
};
|
|
5984
|
+
var GetListingRegistrationPurchaseSections = async ({
|
|
5985
|
+
eventId,
|
|
5986
|
+
registrationId,
|
|
5987
|
+
purchaseId,
|
|
5988
|
+
clientApiParams
|
|
5989
|
+
}) => {
|
|
5990
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5991
|
+
const { data } = await clientApi.get(
|
|
5992
|
+
`/listings/${eventId}/registrations/${registrationId}/purchases/${purchaseId}`,
|
|
5993
|
+
{}
|
|
5994
|
+
);
|
|
5995
|
+
return data;
|
|
5996
|
+
};
|
|
5997
|
+
var useGetListingRegistrationPurchaseSections = (eventId, registrationId, purchaseId, options = {}) => {
|
|
5998
|
+
return useConnectedSingleQuery_default(
|
|
5999
|
+
LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY(
|
|
6000
|
+
eventId,
|
|
6001
|
+
registrationId,
|
|
6002
|
+
purchaseId
|
|
6003
|
+
),
|
|
6004
|
+
(params) => GetListingRegistrationPurchaseSections({
|
|
6005
|
+
eventId,
|
|
6006
|
+
registrationId,
|
|
6007
|
+
purchaseId,
|
|
6008
|
+
...params
|
|
6009
|
+
}),
|
|
6010
|
+
{
|
|
6011
|
+
retry: false,
|
|
6012
|
+
...options,
|
|
6013
|
+
enabled: !!eventId && !!registrationId && !!purchaseId && (options?.enabled ?? true)
|
|
6014
|
+
}
|
|
6015
|
+
);
|
|
6016
|
+
};
|
|
6017
|
+
|
|
5853
6018
|
// src/queries/interests/useGetInterests.ts
|
|
5854
6019
|
var INTERESTS_QUERY_KEY = () => ["INTERESTS"];
|
|
5855
6020
|
var SET_INTERESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
@@ -8367,6 +8532,12 @@ var CheckinListingRegistrationPurchase = async ({
|
|
|
8367
8532
|
queryClient.invalidateQueries({
|
|
8368
8533
|
queryKey: LISTING_REGISTRATION_QUERY_KEY(eventId, registrationId)
|
|
8369
8534
|
});
|
|
8535
|
+
queryClient.invalidateQueries({
|
|
8536
|
+
queryKey: LISTING_PURCHASES_QUERY_KEY(eventId)
|
|
8537
|
+
});
|
|
8538
|
+
queryClient.invalidateQueries({
|
|
8539
|
+
queryKey: LISTING_PURCHASE_QUERY_KEY(eventId, purchaseId)
|
|
8540
|
+
});
|
|
8370
8541
|
}
|
|
8371
8542
|
return data;
|
|
8372
8543
|
};
|
|
@@ -8374,6 +8545,38 @@ var useCheckinListingRegistrationPurchase = (options = {}) => {
|
|
|
8374
8545
|
return useConnectedMutation_default(CheckinListingRegistrationPurchase, options);
|
|
8375
8546
|
};
|
|
8376
8547
|
|
|
8548
|
+
// src/mutations/listings/useUndoCheckinListingRegistrationPurchase.ts
|
|
8549
|
+
var UndoCheckinListingRegistrationPurchase = async ({
|
|
8550
|
+
eventId,
|
|
8551
|
+
registrationId,
|
|
8552
|
+
purchaseId,
|
|
8553
|
+
clientApiParams,
|
|
8554
|
+
queryClient
|
|
8555
|
+
}) => {
|
|
8556
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
8557
|
+
const { data } = await clientApi.delete(
|
|
8558
|
+
`/listings/${eventId}/registrations/${registrationId}/purchases/${purchaseId}`
|
|
8559
|
+
);
|
|
8560
|
+
if (queryClient && data.status === "ok") {
|
|
8561
|
+
queryClient.invalidateQueries({
|
|
8562
|
+
queryKey: LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
8563
|
+
});
|
|
8564
|
+
queryClient.invalidateQueries({
|
|
8565
|
+
queryKey: LISTING_REGISTRATION_QUERY_KEY(eventId, registrationId)
|
|
8566
|
+
});
|
|
8567
|
+
queryClient.invalidateQueries({
|
|
8568
|
+
queryKey: LISTING_PURCHASES_QUERY_KEY(eventId)
|
|
8569
|
+
});
|
|
8570
|
+
queryClient.invalidateQueries({
|
|
8571
|
+
queryKey: LISTING_PURCHASE_QUERY_KEY(eventId, purchaseId)
|
|
8572
|
+
});
|
|
8573
|
+
}
|
|
8574
|
+
return data;
|
|
8575
|
+
};
|
|
8576
|
+
var useUndoCheckinListingRegistrationPurchase = (options = {}) => {
|
|
8577
|
+
return useConnectedMutation_default(UndoCheckinListingRegistrationPurchase, options);
|
|
8578
|
+
};
|
|
8579
|
+
|
|
8377
8580
|
// src/mutations/listings/useUpdateListing.ts
|
|
8378
8581
|
var UpdateListing = async ({
|
|
8379
8582
|
eventId,
|
|
@@ -8551,6 +8754,72 @@ var RemoveListingCoHost = async ({
|
|
|
8551
8754
|
var useRemoveListingCoHost = (options = {}) => {
|
|
8552
8755
|
return useConnectedMutation_default(RemoveListingCoHost, options);
|
|
8553
8756
|
};
|
|
8757
|
+
|
|
8758
|
+
// src/mutations/listings/useUpdateListingRegistrationPurchaseResponses.ts
|
|
8759
|
+
var UpdateListingRegistrationPurchaseResponses = async ({
|
|
8760
|
+
eventId,
|
|
8761
|
+
registrationId,
|
|
8762
|
+
purchaseId,
|
|
8763
|
+
questions,
|
|
8764
|
+
clientApiParams,
|
|
8765
|
+
queryClient
|
|
8766
|
+
}) => {
|
|
8767
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
8768
|
+
const { data } = await clientApi.put(
|
|
8769
|
+
`/listings/${eventId}/registrations/${registrationId}/purchases/${purchaseId}`,
|
|
8770
|
+
{
|
|
8771
|
+
questions
|
|
8772
|
+
}
|
|
8773
|
+
);
|
|
8774
|
+
if (queryClient && data.status === "ok") {
|
|
8775
|
+
queryClient.invalidateQueries({
|
|
8776
|
+
queryKey: LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY(
|
|
8777
|
+
eventId,
|
|
8778
|
+
registrationId,
|
|
8779
|
+
purchaseId
|
|
8780
|
+
)
|
|
8781
|
+
});
|
|
8782
|
+
queryClient.invalidateQueries({
|
|
8783
|
+
queryKey: LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
8784
|
+
});
|
|
8785
|
+
queryClient.invalidateQueries({
|
|
8786
|
+
queryKey: LISTING_REGISTRATION_QUERY_KEY(eventId, registrationId)
|
|
8787
|
+
});
|
|
8788
|
+
queryClient.invalidateQueries({
|
|
8789
|
+
queryKey: LISTING_PURCHASES_QUERY_KEY(eventId)
|
|
8790
|
+
});
|
|
8791
|
+
queryClient.invalidateQueries({
|
|
8792
|
+
queryKey: LISTING_PURCHASE_QUERY_KEY(eventId, purchaseId)
|
|
8793
|
+
});
|
|
8794
|
+
queryClient.invalidateQueries({
|
|
8795
|
+
queryKey: LISTING_REPORT_QUERY_KEY(eventId)
|
|
8796
|
+
});
|
|
8797
|
+
}
|
|
8798
|
+
return data;
|
|
8799
|
+
};
|
|
8800
|
+
var useUpdateListingRegistrationPurchaseResponses = (options = {}) => {
|
|
8801
|
+
return useConnectedMutation_default(UpdateListingRegistrationPurchaseResponses, options);
|
|
8802
|
+
};
|
|
8803
|
+
|
|
8804
|
+
// src/mutations/storage/useUploadFile.ts
|
|
8805
|
+
var UploadFile = async ({
|
|
8806
|
+
clientApiParams,
|
|
8807
|
+
dataUri,
|
|
8808
|
+
name
|
|
8809
|
+
}) => {
|
|
8810
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
8811
|
+
const { data } = await clientApi.post(
|
|
8812
|
+
`/storage/files`,
|
|
8813
|
+
{
|
|
8814
|
+
dataUri,
|
|
8815
|
+
name
|
|
8816
|
+
}
|
|
8817
|
+
);
|
|
8818
|
+
return data;
|
|
8819
|
+
};
|
|
8820
|
+
var useUploadFile = (options = {}) => {
|
|
8821
|
+
return useConnectedMutation_default(UploadFile, options);
|
|
8822
|
+
};
|
|
8554
8823
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8555
8824
|
0 && (module.exports = {
|
|
8556
8825
|
ACCOUNTS_QUERY_KEY,
|
|
@@ -8724,6 +8993,7 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8724
8993
|
GetLevel,
|
|
8725
8994
|
GetLevelSponsors,
|
|
8726
8995
|
GetLevels,
|
|
8996
|
+
GetListingRegistrationPurchaseSections,
|
|
8727
8997
|
GetOrganization,
|
|
8728
8998
|
GetOrganizationExplore,
|
|
8729
8999
|
GetOrganizationPage,
|
|
@@ -8743,9 +9013,12 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8743
9013
|
GetSelfEventListingAnnouncements,
|
|
8744
9014
|
GetSelfEventListingCoHosts,
|
|
8745
9015
|
GetSelfEventListingEmail,
|
|
9016
|
+
GetSelfEventListingPurchase,
|
|
9017
|
+
GetSelfEventListingPurchases,
|
|
8746
9018
|
GetSelfEventListingQuestions,
|
|
8747
9019
|
GetSelfEventListingRegistration,
|
|
8748
9020
|
GetSelfEventListingRegistrations,
|
|
9021
|
+
GetSelfEventListingReport,
|
|
8749
9022
|
GetSelfEventListings,
|
|
8750
9023
|
GetSelfEventRegistration,
|
|
8751
9024
|
GetSelfEventRegistrationCheckout,
|
|
@@ -8792,10 +9065,14 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8792
9065
|
LISTING_ANNOUNCEMENT_QUERY_KEY,
|
|
8793
9066
|
LISTING_CO_HOSTS_QUERY_KEY,
|
|
8794
9067
|
LISTING_EMAIL_QUERY_KEY,
|
|
9068
|
+
LISTING_PURCHASES_QUERY_KEY,
|
|
9069
|
+
LISTING_PURCHASE_QUERY_KEY,
|
|
8795
9070
|
LISTING_QUERY_KEY,
|
|
8796
9071
|
LISTING_QUESTIONS_QUERY_KEY,
|
|
8797
9072
|
LISTING_REGISTRATIONS_QUERY_KEY,
|
|
9073
|
+
LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
8798
9074
|
LISTING_REGISTRATION_QUERY_KEY,
|
|
9075
|
+
LISTING_REPORT_QUERY_KEY,
|
|
8799
9076
|
LeaveGroup,
|
|
8800
9077
|
LeaveSelfChatChannel,
|
|
8801
9078
|
LikeActivity,
|
|
@@ -8916,7 +9193,9 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8916
9193
|
SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
8917
9194
|
SET_LISTING_ANNOUNCEMENT_QUERY_KEY,
|
|
8918
9195
|
SET_LISTING_EMAIL_QUERY_DATA,
|
|
9196
|
+
SET_LISTING_PURCHASE_QUERY_KEY,
|
|
8919
9197
|
SET_LISTING_QUERY_DATA,
|
|
9198
|
+
SET_LISTING_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
8920
9199
|
SET_LISTING_REGISTRATION_QUERY_KEY,
|
|
8921
9200
|
SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
8922
9201
|
SET_PUSH_DEVICE_QUERY_DATA,
|
|
@@ -8945,12 +9224,14 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8945
9224
|
TicketEventAccessLevel,
|
|
8946
9225
|
TicketVisibility,
|
|
8947
9226
|
TransferPurchase,
|
|
9227
|
+
UndoCheckinListingRegistrationPurchase,
|
|
8948
9228
|
UnfollowAccount,
|
|
8949
9229
|
UnlikeActivity,
|
|
8950
9230
|
UpdateGroup,
|
|
8951
9231
|
UpdateListing,
|
|
8952
9232
|
UpdateListingEmail,
|
|
8953
9233
|
UpdateListingQuestion,
|
|
9234
|
+
UpdateListingRegistrationPurchaseResponses,
|
|
8954
9235
|
UpdateListingSession,
|
|
8955
9236
|
UpdateListingSpeaker,
|
|
8956
9237
|
UpdateSelf,
|
|
@@ -8961,6 +9242,7 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
8961
9242
|
UpdateSelfNotificationPreferences,
|
|
8962
9243
|
UpdateSelfPushDevice,
|
|
8963
9244
|
UpdateSubscriptionPaymentMethod,
|
|
9245
|
+
UploadFile,
|
|
8964
9246
|
isListing,
|
|
8965
9247
|
isManagedCoupon,
|
|
8966
9248
|
isRegistrationQuestion,
|
|
@@ -9109,6 +9391,7 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
9109
9391
|
useGetLevel,
|
|
9110
9392
|
useGetLevelSponsors,
|
|
9111
9393
|
useGetLevels,
|
|
9394
|
+
useGetListingRegistrationPurchaseSections,
|
|
9112
9395
|
useGetOrganization,
|
|
9113
9396
|
useGetOrganizationExplore,
|
|
9114
9397
|
useGetOrganizationPage,
|
|
@@ -9128,8 +9411,11 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
9128
9411
|
useGetSelfEventListingAnnouncements,
|
|
9129
9412
|
useGetSelfEventListingCoHosts,
|
|
9130
9413
|
useGetSelfEventListingEmail,
|
|
9414
|
+
useGetSelfEventListingPurchase,
|
|
9415
|
+
useGetSelfEventListingPurchases,
|
|
9131
9416
|
useGetSelfEventListingQuestions,
|
|
9132
9417
|
useGetSelfEventListingRegistration,
|
|
9418
|
+
useGetSelfEventListingReport,
|
|
9133
9419
|
useGetSelfEventListings,
|
|
9134
9420
|
useGetSelfEventListingsRegistrations,
|
|
9135
9421
|
useGetSelfEventRegistration,
|
|
@@ -9189,12 +9475,14 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
9189
9475
|
useSelfUpdateGroupMembership,
|
|
9190
9476
|
useSubmitSelfEventRegistration,
|
|
9191
9477
|
useTransferPurchase,
|
|
9478
|
+
useUndoCheckinListingRegistrationPurchase,
|
|
9192
9479
|
useUnfollowAccount,
|
|
9193
9480
|
useUnlikeActivity,
|
|
9194
9481
|
useUpdateGroup,
|
|
9195
9482
|
useUpdateListing,
|
|
9196
9483
|
useUpdateListingEmail,
|
|
9197
9484
|
useUpdateListingQuestion,
|
|
9485
|
+
useUpdateListingRegistrationPurchaseResponses,
|
|
9198
9486
|
useUpdateListingSession,
|
|
9199
9487
|
useUpdateListingSpeaker,
|
|
9200
9488
|
useUpdateSelf,
|
|
@@ -9204,5 +9492,6 @@ var useRemoveListingCoHost = (options = {}) => {
|
|
|
9204
9492
|
useUpdateSelfLead,
|
|
9205
9493
|
useUpdateSelfNotificationPreferences,
|
|
9206
9494
|
useUpdateSelfPushDevice,
|
|
9207
|
-
useUpdateSubscriptionPaymentMethod
|
|
9495
|
+
useUpdateSubscriptionPaymentMethod,
|
|
9496
|
+
useUploadFile
|
|
9208
9497
|
});
|