@connectedxm/client 0.3.6 → 0.4.2
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 +386 -215
- package/dist/index.d.ts +386 -215
- package/dist/index.js +1225 -835
- package/dist/index.mjs +1155 -797
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,14 +41,13 @@ __export(src_exports, {
|
|
|
41
41
|
ACTIVITY_COMMENTS_QUERY_KEY: () => ACTIVITY_COMMENTS_QUERY_KEY,
|
|
42
42
|
ACTIVITY_QUERY_KEY: () => ACTIVITY_QUERY_KEY,
|
|
43
43
|
ADVERTISEMENT_QUERY_KEY: () => ADVERTISEMENT_QUERY_KEY,
|
|
44
|
+
AcceptCommunityInvitation: () => AcceptCommunityInvitation,
|
|
45
|
+
AcceptCommunityRequest: () => AcceptCommunityRequest,
|
|
44
46
|
AcceptTransfer: () => AcceptTransfer,
|
|
45
47
|
AccountType: () => AccountType,
|
|
46
|
-
|
|
48
|
+
AddListingSponsor: () => AddListingSponsor,
|
|
47
49
|
AddSelfChatChannelMember: () => AddSelfChatChannelMember,
|
|
48
50
|
AddSelfDelegate: () => AddSelfDelegate,
|
|
49
|
-
AddSelfEventListingSession: () => AddSelfEventListingSession,
|
|
50
|
-
AddSelfEventListingSpeaker: () => AddSelfEventListingSpeaker,
|
|
51
|
-
AddSelfEventListingSponsor: () => AddSelfEventListingSponsor,
|
|
52
51
|
AddSelfEventRegistrationPurchase: () => AddSelfEventRegistrationPurchase,
|
|
53
52
|
AddSelfEventRegistrationPurchaseAddOn: () => AddSelfEventRegistrationPurchaseAddOn,
|
|
54
53
|
AddSelfEventSession: () => AddSelfEventSession,
|
|
@@ -59,10 +58,12 @@ __export(src_exports, {
|
|
|
59
58
|
COMMUNITY_ACTIVITIES_QUERY_KEY: () => COMMUNITY_ACTIVITIES_QUERY_KEY,
|
|
60
59
|
COMMUNITY_ANNOUNCEMENTS_QUERY_KEY: () => COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
|
|
61
60
|
COMMUNITY_EVENTS_QUERY_KEY: () => COMMUNITY_EVENTS_QUERY_KEY,
|
|
61
|
+
COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY: () => COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
|
|
62
62
|
COMMUNITY_MEDIA_QUERY_KEY: () => COMMUNITY_MEDIA_QUERY_KEY,
|
|
63
63
|
COMMUNITY_MEMBERS_QUERY_KEY: () => COMMUNITY_MEMBERS_QUERY_KEY,
|
|
64
|
-
COMMUNITY_MODERATORS_QUERY_KEY: () => COMMUNITY_MODERATORS_QUERY_KEY,
|
|
65
64
|
COMMUNITY_QUERY_KEY: () => COMMUNITY_QUERY_KEY,
|
|
65
|
+
COMMUNITY_REQUESTS_QUERY_KEY: () => COMMUNITY_REQUESTS_QUERY_KEY,
|
|
66
|
+
COMMUNITY_REQUEST_QUERY_KEY: () => COMMUNITY_REQUEST_QUERY_KEY,
|
|
66
67
|
COMMUNITY_SPONSORS_QUERY_KEY: () => COMMUNITY_SPONSORS_QUERY_KEY,
|
|
67
68
|
CONTENTS_QUERY_KEY: () => CONTENTS_QUERY_KEY,
|
|
68
69
|
CONTENT_ACTIVITIES_QUERY_KEY: () => CONTENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -76,27 +77,39 @@ __export(src_exports, {
|
|
|
76
77
|
CancelTransfer: () => CancelTransfer,
|
|
77
78
|
CaptureInvoicePayment: () => CaptureInvoicePayment,
|
|
78
79
|
CaptureSelfEventRegistrationPayment: () => CaptureSelfEventRegistrationPayment,
|
|
80
|
+
CheckinListingRegistration: () => CheckinListingRegistration,
|
|
79
81
|
CommunityAccess: () => CommunityAccess,
|
|
80
82
|
CommunityMembershipRole: () => CommunityMembershipRole,
|
|
83
|
+
CommunityRequestStatus: () => CommunityRequestStatus,
|
|
81
84
|
CompleteEventActivation: () => CompleteEventActivation,
|
|
82
85
|
ConnectedXMProvider: () => ConnectedXMProvider,
|
|
83
86
|
ContentTypeFormat: () => ContentTypeFormat,
|
|
84
87
|
CouponType: () => CouponType,
|
|
88
|
+
CreateCommunity: () => CreateCommunity,
|
|
85
89
|
CreateCommunityAnnouncement: () => CreateCommunityAnnouncement,
|
|
90
|
+
CreateCommunityInvitations: () => CreateCommunityInvitations,
|
|
91
|
+
CreateCommunityRequest: () => CreateCommunityRequest,
|
|
86
92
|
CreateEventLead: () => CreateEventLead,
|
|
93
|
+
CreateListing: () => CreateListing,
|
|
94
|
+
CreateListingSession: () => CreateListingSession,
|
|
95
|
+
CreateListingSpeaker: () => CreateListingSpeaker,
|
|
87
96
|
CreateSelfChatChannel: () => CreateSelfChatChannel,
|
|
88
97
|
CreateSelfChatChannelMessage: () => CreateSelfChatChannelMessage,
|
|
89
|
-
CreateSelfEventListing: () => CreateSelfEventListing,
|
|
90
98
|
CreateSubscription: () => CreateSubscription,
|
|
91
99
|
CreateSupportTicket: () => CreateSupportTicket,
|
|
92
100
|
CreateTeamAccount: () => CreateTeamAccount,
|
|
93
101
|
Currency: () => Currency,
|
|
102
|
+
DeactivateCommunity: () => DeactivateCommunity,
|
|
94
103
|
DeleteActivity: () => DeleteActivity,
|
|
104
|
+
DeleteCommunityInvitation: () => DeleteCommunityInvitation,
|
|
105
|
+
DeleteListingSession: () => DeleteListingSession,
|
|
106
|
+
DeleteListingSpeaker: () => DeleteListingSpeaker,
|
|
95
107
|
DeleteReshare: () => DeleteReshare,
|
|
96
108
|
DeleteSelf: () => DeleteSelf,
|
|
97
109
|
DeleteSelfChatChannel: () => DeleteSelfChatChannel,
|
|
98
110
|
DeleteSelfChatChannelMessage: () => DeleteSelfChatChannelMessage,
|
|
99
111
|
DeleteSelfPushDevice: () => DeleteSelfPushDevice,
|
|
112
|
+
DemoteCommunityModerator: () => DemoteCommunityModerator,
|
|
100
113
|
EVENTS_FEATURED_QUERY_KEY: () => EVENTS_FEATURED_QUERY_KEY,
|
|
101
114
|
EVENTS_QUERY_KEY: () => EVENTS_QUERY_KEY,
|
|
102
115
|
EVENT_ACTIVITIES_QUERY_KEY: () => EVENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -138,9 +151,11 @@ __export(src_exports, {
|
|
|
138
151
|
GetCommunityActivities: () => GetCommunityActivities,
|
|
139
152
|
GetCommunityAnnouncements: () => GetCommunityAnnouncements,
|
|
140
153
|
GetCommunityEvents: () => GetCommunityEvents,
|
|
154
|
+
GetCommunityInvitableAccounts: () => GetCommunityInvitableAccounts,
|
|
141
155
|
GetCommunityMedia: () => GetCommunityMedia,
|
|
142
156
|
GetCommunityMembers: () => GetCommunityMembers,
|
|
143
|
-
|
|
157
|
+
GetCommunityRequest: () => GetCommunityRequest,
|
|
158
|
+
GetCommunityRequests: () => GetCommunityRequests,
|
|
144
159
|
GetCommunitySponsors: () => GetCommunitySponsors,
|
|
145
160
|
GetContent: () => GetContent,
|
|
146
161
|
GetContentActivities: () => GetContentActivities,
|
|
@@ -196,6 +211,7 @@ __export(src_exports, {
|
|
|
196
211
|
GetSelfEventRegistrationPurchaseAddOns: () => GetSelfEventRegistrationPurchaseAddOns,
|
|
197
212
|
GetSelfEventRegistrationPurchaseReservationSections: () => GetSelfEventRegistrationPurchaseReservationSections,
|
|
198
213
|
GetSelfEventRegistrationPurchaseSections: () => GetSelfEventRegistrationPurchaseSections,
|
|
214
|
+
GetSelfEventRegistrationStatus: () => GetSelfEventRegistrationStatus,
|
|
199
215
|
GetSelfEventSessions: () => GetSelfEventSessions,
|
|
200
216
|
GetSelfEvents: () => GetSelfEvents,
|
|
201
217
|
GetSelfFeed: () => GetSelfFeed,
|
|
@@ -219,9 +235,14 @@ __export(src_exports, {
|
|
|
219
235
|
INVOICE_QUERY_KEY: () => INVOICE_QUERY_KEY,
|
|
220
236
|
ImageType: () => ImageType,
|
|
221
237
|
InvoiceStatus: () => InvoiceStatus,
|
|
238
|
+
JoinCommunity: () => JoinCommunity,
|
|
222
239
|
LEVELS_QUERY_KEY: () => LEVELS_QUERY_KEY,
|
|
223
240
|
LEVEL_QUERY_KEY: () => LEVEL_QUERY_KEY,
|
|
224
241
|
LEVEL_SPONSORS_QUERY_KEY: () => LEVEL_SPONSORS_QUERY_KEY,
|
|
242
|
+
LISTINGS_QUERY_KEY: () => LISTINGS_QUERY_KEY,
|
|
243
|
+
LISTING_QUERY_KEY: () => LISTING_QUERY_KEY,
|
|
244
|
+
LISTING_REGISTRATIONS_QUERY_KEY: () => LISTING_REGISTRATIONS_QUERY_KEY,
|
|
245
|
+
LeaveCommunity: () => LeaveCommunity,
|
|
225
246
|
LeaveSelfChatChannel: () => LeaveSelfChatChannel,
|
|
226
247
|
LikeActivity: () => LikeActivity,
|
|
227
248
|
MergeInfinitePages: () => MergeInfinitePages,
|
|
@@ -231,17 +252,18 @@ __export(src_exports, {
|
|
|
231
252
|
ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY: () => ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
|
|
232
253
|
ORGANIZATION_QUERY_KEY: () => ORGANIZATION_QUERY_KEY,
|
|
233
254
|
ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY: () => ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
|
|
255
|
+
PromoteCommunityMember: () => PromoteCommunityMember,
|
|
234
256
|
PushDeviceAppType: () => PushDeviceAppType,
|
|
235
257
|
PushService: () => PushService,
|
|
236
258
|
RegisterCancelledEventRegistration: () => RegisterCancelledEventRegistration,
|
|
237
259
|
RegistrationQuestionType: () => RegistrationQuestionType,
|
|
238
260
|
RegistrationStatus: () => RegistrationStatus,
|
|
261
|
+
RejectCommunityInvitation: () => RejectCommunityInvitation,
|
|
262
|
+
RejectCommunityRequest: () => RejectCommunityRequest,
|
|
239
263
|
RejectTransfer: () => RejectTransfer,
|
|
240
|
-
|
|
264
|
+
RemoveCommunityMember: () => RemoveCommunityMember,
|
|
265
|
+
RemoveListingSponsor: () => RemoveListingSponsor,
|
|
241
266
|
RemoveSelfDelegate: () => RemoveSelfDelegate,
|
|
242
|
-
RemoveSelfEventListingSession: () => RemoveSelfEventListingSession,
|
|
243
|
-
RemoveSelfEventListingSpeaker: () => RemoveSelfEventListingSpeaker,
|
|
244
|
-
RemoveSelfEventListingSponsor: () => RemoveSelfEventListingSponsor,
|
|
245
267
|
RemoveSelfEventRegistrationCoupon: () => RemoveSelfEventRegistrationCoupon,
|
|
246
268
|
RemoveSelfEventRegistrationPurchase: () => RemoveSelfEventRegistrationPurchase,
|
|
247
269
|
RemoveSelfEventRegistrationPurchaseAddOn: () => RemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -258,15 +280,13 @@ __export(src_exports, {
|
|
|
258
280
|
SELF_DELEGATES_QUERY_KEY: () => SELF_DELEGATES_QUERY_KEY,
|
|
259
281
|
SELF_DELEGATE_OF_QUERY_KEY: () => SELF_DELEGATE_OF_QUERY_KEY,
|
|
260
282
|
SELF_EVENTS_QUERY_KEY: () => SELF_EVENTS_QUERY_KEY,
|
|
261
|
-
SELF_EVENT_LISTINGS_QUERY_KEY: () => SELF_EVENT_LISTINGS_QUERY_KEY,
|
|
262
|
-
SELF_EVENT_LISTING_QUERY_KEY: () => SELF_EVENT_LISTING_QUERY_KEY,
|
|
263
|
-
SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY: () => SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY,
|
|
264
283
|
SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY: () => SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY,
|
|
265
284
|
SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY,
|
|
266
285
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
267
286
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
268
287
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
269
288
|
SELF_EVENT_REGISTRATION_QUERY_KEY: () => SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
289
|
+
SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
|
|
270
290
|
SELF_EVENT_SESSIONS_QUERY_KEY: () => SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
271
291
|
SELF_FEED_QUERY_KEY: () => SELF_FEED_QUERY_KEY,
|
|
272
292
|
SELF_INTERESTS_QUERY_KEY: () => SELF_INTERESTS_QUERY_KEY,
|
|
@@ -303,8 +323,9 @@ __export(src_exports, {
|
|
|
303
323
|
SET_COMMUNITY_EVENTS_QUERY_DATA: () => SET_COMMUNITY_EVENTS_QUERY_DATA,
|
|
304
324
|
SET_COMMUNITY_MEDIA_QUERY_DATA: () => SET_COMMUNITY_MEDIA_QUERY_DATA,
|
|
305
325
|
SET_COMMUNITY_MEMBERS_QUERY_DATA: () => SET_COMMUNITY_MEMBERS_QUERY_DATA,
|
|
306
|
-
SET_COMMUNITY_MODERATORS_QUERY_DATA: () => SET_COMMUNITY_MODERATORS_QUERY_DATA,
|
|
307
326
|
SET_COMMUNITY_QUERY_DATA: () => SET_COMMUNITY_QUERY_DATA,
|
|
327
|
+
SET_COMMUNITY_REQUESTS_QUERY_DATA: () => SET_COMMUNITY_REQUESTS_QUERY_DATA,
|
|
328
|
+
SET_COMMUNITY_REQUEST_QUERY_DATA: () => SET_COMMUNITY_REQUEST_QUERY_DATA,
|
|
308
329
|
SET_COMMUNITY_SPONSORS_QUERY_DATA: () => SET_COMMUNITY_SPONSORS_QUERY_DATA,
|
|
309
330
|
SET_CONTENTS_QUERY_DATA: () => SET_CONTENTS_QUERY_DATA,
|
|
310
331
|
SET_CONTENT_ACTIVITIES_QUERY_DATA: () => SET_CONTENT_ACTIVITIES_QUERY_DATA,
|
|
@@ -333,6 +354,7 @@ __export(src_exports, {
|
|
|
333
354
|
SET_LEVELS_QUERY_DATA: () => SET_LEVELS_QUERY_DATA,
|
|
334
355
|
SET_LEVEL_QUERY_DATA: () => SET_LEVEL_QUERY_DATA,
|
|
335
356
|
SET_LEVEL_SPONSORS_QUERY_DATA: () => SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
357
|
+
SET_LISTING_QUERY_DATA: () => SET_LISTING_QUERY_DATA,
|
|
336
358
|
SET_ORGANIZATION_PAGE_QUERY_DATA: () => SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
337
359
|
SET_PUSH_DEVICE_QUERY_DATA: () => SET_PUSH_DEVICE_QUERY_DATA,
|
|
338
360
|
SET_SELF_CHAT_CHANNELS_QUERY_DATA: () => SET_SELF_CHAT_CHANNELS_QUERY_DATA,
|
|
@@ -340,12 +362,12 @@ __export(src_exports, {
|
|
|
340
362
|
SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
|
|
341
363
|
SET_SELF_CHAT_CHANNEL_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_QUERY_DATA,
|
|
342
364
|
SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA: () => SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
|
|
343
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA: () => SET_SELF_EVENT_LISTING_QUERY_DATA,
|
|
344
365
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
|
|
345
366
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
346
367
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
347
368
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
348
369
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
|
|
370
|
+
SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
|
|
349
371
|
SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
|
|
350
372
|
SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
|
|
351
373
|
SET_SERIES_LIST_QUERY_DATA: () => SET_SERIES_LIST_QUERY_DATA,
|
|
@@ -356,10 +378,7 @@ __export(src_exports, {
|
|
|
356
378
|
SPONSOR_QUERY_KEY: () => SPONSOR_QUERY_KEY,
|
|
357
379
|
SelectSelfEventRegistrationCoupon: () => SelectSelfEventRegistrationCoupon,
|
|
358
380
|
SelectSelfEventRegistrationPurchaseReservation: () => SelectSelfEventRegistrationPurchaseReservation,
|
|
359
|
-
SelfCheckinRegistration: () => SelfCheckinRegistration,
|
|
360
381
|
SelfCreateActivity: () => SelfCreateActivity,
|
|
361
|
-
SelfJoinCommunity: () => SelfJoinCommunity,
|
|
362
|
-
SelfLeaveCommunity: () => SelfLeaveCommunity,
|
|
363
382
|
SelfUpdateCommunityMembership: () => SelfUpdateCommunityMembership,
|
|
364
383
|
SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
|
|
365
384
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
@@ -370,11 +389,11 @@ __export(src_exports, {
|
|
|
370
389
|
UnfollowAccount: () => UnfollowAccount,
|
|
371
390
|
UnlikeActivity: () => UnlikeActivity,
|
|
372
391
|
UpdateCommunity: () => UpdateCommunity,
|
|
392
|
+
UpdateListing: () => UpdateListing,
|
|
393
|
+
UpdateListingSession: () => UpdateListingSession,
|
|
394
|
+
UpdateListingSpeaker: () => UpdateListingSpeaker,
|
|
373
395
|
UpdateSelf: () => UpdateSelf,
|
|
374
396
|
UpdateSelfChatChannelNotifications: () => UpdateSelfChatChannelNotifications,
|
|
375
|
-
UpdateSelfEventListing: () => UpdateSelfEventListing,
|
|
376
|
-
UpdateSelfEventListingSession: () => UpdateSelfEventListingSession,
|
|
377
|
-
UpdateSelfEventListingSpeaker: () => UpdateSelfEventListingSpeaker,
|
|
378
397
|
UpdateSelfEventRegistrationQuestionResponse: () => UpdateSelfEventRegistrationQuestionResponse,
|
|
379
398
|
UpdateSelfImage: () => UpdateSelfImage,
|
|
380
399
|
UpdateSelfLead: () => UpdateSelfLead,
|
|
@@ -420,13 +439,12 @@ __export(src_exports, {
|
|
|
420
439
|
isTypeTrack: () => isTypeTrack,
|
|
421
440
|
isTypeTransfer: () => isTypeTransfer,
|
|
422
441
|
setFirstPageData: () => setFirstPageData,
|
|
442
|
+
useAcceptCommunityInvitation: () => useAcceptCommunityInvitation,
|
|
443
|
+
useAcceptCommunityRequest: () => useAcceptCommunityRequest,
|
|
423
444
|
useAcceptTransfer: () => useAcceptTransfer,
|
|
424
|
-
|
|
445
|
+
useAddListingSponsor: () => useAddListingSponsor,
|
|
425
446
|
useAddSelfChatChannelMember: () => useAddSelfChatChannelMember,
|
|
426
447
|
useAddSelfDelegate: () => useAddSelfDelegate,
|
|
427
|
-
useAddSelfEventListingSession: () => useAddSelfEventListingSession,
|
|
428
|
-
useAddSelfEventListingSpeaker: () => useAddSelfEventListingSpeaker,
|
|
429
|
-
useAddSelfEventListingSponsor: () => useAddSelfEventListingSponsor,
|
|
430
448
|
useAddSelfEventRegistrationPurchase: () => useAddSelfEventRegistrationPurchase,
|
|
431
449
|
useAddSelfEventRegistrationPurchaseAddOn: () => useAddSelfEventRegistrationPurchaseAddOn,
|
|
432
450
|
useAddSelfEventSession: () => useAddSelfEventSession,
|
|
@@ -435,25 +453,36 @@ __export(src_exports, {
|
|
|
435
453
|
useCancelTransfer: () => useCancelTransfer,
|
|
436
454
|
useCaptureInvoicePayment: () => useCaptureInvoicePayment,
|
|
437
455
|
useCaptureSelfEventRegistrationPayment: () => useCaptureSelfEventRegistrationPayment,
|
|
456
|
+
useCheckinListingRegistration: () => useCheckinListingRegistration,
|
|
438
457
|
useCompleteEventActivation: () => useCompleteEventActivation,
|
|
439
458
|
useConnectedInfiniteQuery: () => useConnectedInfiniteQuery,
|
|
440
459
|
useConnectedMutation: () => useConnectedMutation,
|
|
441
460
|
useConnectedSingleQuery: () => useConnectedSingleQuery,
|
|
442
461
|
useConnectedXM: () => useConnectedXM,
|
|
462
|
+
useCreateCommunity: () => useCreateCommunity,
|
|
443
463
|
useCreateCommunityAnnouncement: () => useCreateCommunityAnnouncement,
|
|
464
|
+
useCreateCommunityInvitations: () => useCreateCommunityInvitations,
|
|
465
|
+
useCreateCommunityRequest: () => useCreateCommunityRequest,
|
|
444
466
|
useCreateEventLead: () => useCreateEventLead,
|
|
467
|
+
useCreateListing: () => useCreateListing,
|
|
468
|
+
useCreateListingSession: () => useCreateListingSession,
|
|
469
|
+
useCreateListingSpeaker: () => useCreateListingSpeaker,
|
|
445
470
|
useCreateSelfChatChannel: () => useCreateSelfChatChannel,
|
|
446
471
|
useCreateSelfChatChannelMessage: () => useCreateSelfChatChannelMessage,
|
|
447
|
-
useCreateSelfEventListing: () => useCreateSelfEventListing,
|
|
448
472
|
useCreateSubscription: () => useCreateSubscription,
|
|
449
473
|
useCreateSupportTicket: () => useCreateSupportTicket,
|
|
450
474
|
useCreateTeamAccount: () => useCreateTeamAccount,
|
|
475
|
+
useDeactivateCommunity: () => useDeactivateCommunity,
|
|
451
476
|
useDeleteActivity: () => useDeleteActivity,
|
|
477
|
+
useDeleteCommunityInvitation: () => useDeleteCommunityInvitation,
|
|
478
|
+
useDeleteListingSession: () => useDeleteListingSession,
|
|
479
|
+
useDeleteListingSpeaker: () => useDeleteListingSpeaker,
|
|
452
480
|
useDeleteReshare: () => useDeleteReshare,
|
|
453
481
|
useDeleteSelf: () => useDeleteSelf,
|
|
454
482
|
useDeleteSelfChatChannel: () => useDeleteSelfChatChannel,
|
|
455
483
|
useDeleteSelfChatChannelMessage: () => useDeleteSelfChatChannelMessage,
|
|
456
484
|
useDeleteSelfPushDevice: () => useDeleteSelfPushDevice,
|
|
485
|
+
useDemoteCommunityModerator: () => useDemoteCommunityModerator,
|
|
457
486
|
useFollowAccount: () => useFollowAccount,
|
|
458
487
|
useGetAccount: () => useGetAccount,
|
|
459
488
|
useGetAccountActivities: () => useGetAccountActivities,
|
|
@@ -472,9 +501,11 @@ __export(src_exports, {
|
|
|
472
501
|
useGetCommunityActivities: () => useGetCommunityActivities,
|
|
473
502
|
useGetCommunityAnnouncements: () => useGetCommunityAnnouncements,
|
|
474
503
|
useGetCommunityEvents: () => useGetCommunityEvents,
|
|
504
|
+
useGetCommunityInvitableAccounts: () => useGetCommunityInvitableAccounts,
|
|
475
505
|
useGetCommunityMedia: () => useGetCommunityMedia,
|
|
476
506
|
useGetCommunityMembers: () => useGetCommunityMembers,
|
|
477
|
-
|
|
507
|
+
useGetCommunityRequest: () => useGetCommunityRequest,
|
|
508
|
+
useGetCommunityRequests: () => useGetCommunityRequests,
|
|
478
509
|
useGetCommunitySponsors: () => useGetCommunitySponsors,
|
|
479
510
|
useGetContent: () => useGetContent,
|
|
480
511
|
useGetContentActivities: () => useGetContentActivities,
|
|
@@ -529,6 +560,7 @@ __export(src_exports, {
|
|
|
529
560
|
useGetSelfEventRegistrationPurchaseAddOns: () => useGetSelfEventRegistrationPurchaseAddOns,
|
|
530
561
|
useGetSelfEventRegistrationPurchaseReservationSections: () => useGetSelfEventRegistrationPurchaseReservationSections,
|
|
531
562
|
useGetSelfEventRegistrationPurchaseSections: () => useGetSelfEventRegistrationPurchaseSections,
|
|
563
|
+
useGetSelfEventRegistrationStatus: () => useGetSelfEventRegistrationStatus,
|
|
532
564
|
useGetSelfEventSessions: () => useGetSelfEventSessions,
|
|
533
565
|
useGetSelfEvents: () => useGetSelfEvents,
|
|
534
566
|
useGetSelfFeed: () => useGetSelfFeed,
|
|
@@ -549,15 +581,18 @@ __export(src_exports, {
|
|
|
549
581
|
useGetSeriesList: () => useGetSeriesList,
|
|
550
582
|
useGetSponsor: () => useGetSponsor,
|
|
551
583
|
useGetSponsors: () => useGetSponsors,
|
|
584
|
+
useJoinCommunity: () => useJoinCommunity,
|
|
585
|
+
useLeaveCommunity: () => useLeaveCommunity,
|
|
552
586
|
useLeaveSelfChatChannel: () => useLeaveSelfChatChannel,
|
|
553
587
|
useLikeActivity: () => useLikeActivity,
|
|
588
|
+
usePromoteCommunityMember: () => usePromoteCommunityMember,
|
|
554
589
|
useRegisterCancelledEventRegistration: () => useRegisterCancelledEventRegistration,
|
|
590
|
+
useRejectCommunityInvitation: () => useRejectCommunityInvitation,
|
|
591
|
+
useRejectCommunityRequest: () => useRejectCommunityRequest,
|
|
555
592
|
useRejectTransfer: () => useRejectTransfer,
|
|
556
|
-
|
|
593
|
+
useRemoveCommunityMember: () => useRemoveCommunityMember,
|
|
594
|
+
useRemoveListingSponsor: () => useRemoveListingSponsor,
|
|
557
595
|
useRemoveSelfDelegate: () => useRemoveSelfDelegate,
|
|
558
|
-
useRemoveSelfEventListingSession: () => useRemoveSelfEventListingSession,
|
|
559
|
-
useRemoveSelfEventListingSpeaker: () => useRemoveSelfEventListingSpeaker,
|
|
560
|
-
useRemoveSelfEventListingSponsor: () => useRemoveSelfEventListingSponsor,
|
|
561
596
|
useRemoveSelfEventRegistrationCoupon: () => useRemoveSelfEventRegistrationCoupon,
|
|
562
597
|
useRemoveSelfEventRegistrationPurchase: () => useRemoveSelfEventRegistrationPurchase,
|
|
563
598
|
useRemoveSelfEventRegistrationPurchaseAddOn: () => useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -565,21 +600,18 @@ __export(src_exports, {
|
|
|
565
600
|
useReshareActivity: () => useReshareActivity,
|
|
566
601
|
useSelectSelfEventRegistrationCoupon: () => useSelectSelfEventRegistrationCoupon,
|
|
567
602
|
useSelectSelfEventRegistrationPurchaseReservation: () => useSelectSelfEventRegistrationPurchaseReservation,
|
|
568
|
-
useSelfCheckinRegistration: () => useSelfCheckinRegistration,
|
|
569
603
|
useSelfCreateActivity: () => useSelfCreateActivity,
|
|
570
|
-
useSelfJoinCommunity: () => useSelfJoinCommunity,
|
|
571
|
-
useSelfLeaveCommunity: () => useSelfLeaveCommunity,
|
|
572
604
|
useSelfUpdateCommunityMembership: () => useSelfUpdateCommunityMembership,
|
|
573
605
|
useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
|
|
574
606
|
useTransferPurchase: () => useTransferPurchase,
|
|
575
607
|
useUnfollowAccount: () => useUnfollowAccount,
|
|
576
608
|
useUnlikeActivity: () => useUnlikeActivity,
|
|
577
609
|
useUpdateCommunity: () => useUpdateCommunity,
|
|
610
|
+
useUpdateListing: () => useUpdateListing,
|
|
611
|
+
useUpdateListingSession: () => useUpdateListingSession,
|
|
612
|
+
useUpdateListingSpeaker: () => useUpdateListingSpeaker,
|
|
578
613
|
useUpdateSelf: () => useUpdateSelf,
|
|
579
614
|
useUpdateSelfChatChannelNotifications: () => useUpdateSelfChatChannelNotifications,
|
|
580
|
-
useUpdateSelfEventListing: () => useUpdateSelfEventListing,
|
|
581
|
-
useUpdateSelfEventListingSession: () => useUpdateSelfEventListingSession,
|
|
582
|
-
useUpdateSelfEventListingSpeaker: () => useUpdateSelfEventListingSpeaker,
|
|
583
615
|
useUpdateSelfEventRegistrationQuestionResponse: () => useUpdateSelfEventRegistrationQuestionResponse,
|
|
584
616
|
useUpdateSelfImage: () => useUpdateSelfImage,
|
|
585
617
|
useUpdateSelfLead: () => useUpdateSelfLead,
|
|
@@ -763,6 +795,8 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
763
795
|
NotificationType2["RESHARE"] = "RESHARE";
|
|
764
796
|
NotificationType2["EVENT"] = "EVENT";
|
|
765
797
|
NotificationType2["ACTIVITY"] = "ACTIVITY";
|
|
798
|
+
NotificationType2["GROUP_INVITATION"] = "GROUP_INVITATION";
|
|
799
|
+
NotificationType2["GROUP_REQUEST_ACCEPTED"] = "GROUP_REQUEST_ACCEPTED";
|
|
766
800
|
return NotificationType2;
|
|
767
801
|
})(NotificationType || {});
|
|
768
802
|
var isTypeNotification = (notification) => {
|
|
@@ -891,6 +925,12 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
|
891
925
|
InvoiceStatus2["void"] = "void";
|
|
892
926
|
return InvoiceStatus2;
|
|
893
927
|
})(InvoiceStatus || {});
|
|
928
|
+
var CommunityRequestStatus = /* @__PURE__ */ ((CommunityRequestStatus2) => {
|
|
929
|
+
CommunityRequestStatus2["requested"] = "requested";
|
|
930
|
+
CommunityRequestStatus2["invited"] = "invited";
|
|
931
|
+
CommunityRequestStatus2["rejected"] = "rejected";
|
|
932
|
+
return CommunityRequestStatus2;
|
|
933
|
+
})(CommunityRequestStatus || {});
|
|
894
934
|
|
|
895
935
|
// src/utilities/AppendInfiniteQuery.ts
|
|
896
936
|
var import_immer = require("immer");
|
|
@@ -958,7 +998,7 @@ var useConnectedSingleQuery = (queryKeys, queryFn, options = {}) => {
|
|
|
958
998
|
onNotFound(error, queryKeys, options.shouldRedirect || false);
|
|
959
999
|
return false;
|
|
960
1000
|
}
|
|
961
|
-
if (error.response?.status === 403) {
|
|
1001
|
+
if (error.response?.status === 403 || error.response?.status === 453) {
|
|
962
1002
|
if (onModuleForbidden)
|
|
963
1003
|
onModuleForbidden(error, queryKeys, options.shouldRedirect || false);
|
|
964
1004
|
return false;
|
|
@@ -1098,7 +1138,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
1098
1138
|
onNotFound(error, queryKeys, options.shouldRedirect || false);
|
|
1099
1139
|
return false;
|
|
1100
1140
|
}
|
|
1101
|
-
if (error.response?.status === 403) {
|
|
1141
|
+
if (error.response?.status === 403 || error.response?.status === 453) {
|
|
1102
1142
|
if (onModuleForbidden)
|
|
1103
1143
|
onModuleForbidden(error, queryKeys, options.shouldRedirect || false);
|
|
1104
1144
|
return false;
|
|
@@ -2066,10 +2106,13 @@ var useGetCommunityEvents = (communityId = "", past = false, params = {}, option
|
|
|
2066
2106
|
};
|
|
2067
2107
|
|
|
2068
2108
|
// src/queries/communities/useGetCommunityMembers.ts
|
|
2069
|
-
var COMMUNITY_MEMBERS_QUERY_KEY = (communityId) =>
|
|
2070
|
-
...COMMUNITY_QUERY_KEY(communityId),
|
|
2071
|
-
|
|
2072
|
-
|
|
2109
|
+
var COMMUNITY_MEMBERS_QUERY_KEY = (communityId, role) => {
|
|
2110
|
+
const keys = [...COMMUNITY_QUERY_KEY(communityId), "MEMBERS"];
|
|
2111
|
+
if (role) {
|
|
2112
|
+
keys.push(role);
|
|
2113
|
+
}
|
|
2114
|
+
return keys;
|
|
2115
|
+
};
|
|
2073
2116
|
var SET_COMMUNITY_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2074
2117
|
client.setQueryData(
|
|
2075
2118
|
[
|
|
@@ -2084,6 +2127,7 @@ var GetCommunityMembers = async ({
|
|
|
2084
2127
|
pageSize,
|
|
2085
2128
|
orderBy,
|
|
2086
2129
|
search,
|
|
2130
|
+
role,
|
|
2087
2131
|
communityId,
|
|
2088
2132
|
clientApiParams
|
|
2089
2133
|
}) => {
|
|
@@ -2093,60 +2137,16 @@ var GetCommunityMembers = async ({
|
|
|
2093
2137
|
page: pageParam || void 0,
|
|
2094
2138
|
pageSize: pageSize || void 0,
|
|
2095
2139
|
orderBy: orderBy || void 0,
|
|
2096
|
-
search: search || void 0
|
|
2140
|
+
search: search || void 0,
|
|
2141
|
+
role: role || void 0
|
|
2097
2142
|
}
|
|
2098
2143
|
});
|
|
2099
2144
|
return data;
|
|
2100
2145
|
};
|
|
2101
|
-
var useGetCommunityMembers = (communityId = "", params = {}, options = {}) => {
|
|
2102
|
-
return useConnectedInfiniteQuery(
|
|
2103
|
-
COMMUNITY_MEMBERS_QUERY_KEY(communityId),
|
|
2104
|
-
(params2) => GetCommunityMembers({ communityId, ...params2 }),
|
|
2105
|
-
params,
|
|
2106
|
-
{
|
|
2107
|
-
...options,
|
|
2108
|
-
enabled: !!communityId && (options?.enabled ?? true)
|
|
2109
|
-
}
|
|
2110
|
-
);
|
|
2111
|
-
};
|
|
2112
|
-
|
|
2113
|
-
// src/queries/communities/useGetCommunityModerators.ts
|
|
2114
|
-
var COMMUNITY_MODERATORS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "MODERATORS"];
|
|
2115
|
-
var SET_COMMUNITY_MODERATORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2116
|
-
client.setQueryData(
|
|
2117
|
-
[
|
|
2118
|
-
...COMMUNITY_MODERATORS_QUERY_KEY(...keyParams),
|
|
2119
|
-
...GetBaseInfiniteQueryKeys(...baseKeys)
|
|
2120
|
-
],
|
|
2121
|
-
setFirstPageData(response)
|
|
2122
|
-
);
|
|
2123
|
-
};
|
|
2124
|
-
var GetCommunityModerators = async ({
|
|
2125
|
-
pageParam,
|
|
2126
|
-
pageSize,
|
|
2127
|
-
orderBy,
|
|
2128
|
-
search,
|
|
2129
|
-
communityId,
|
|
2130
|
-
clientApiParams
|
|
2131
|
-
}) => {
|
|
2132
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
2133
|
-
const { data } = await clientApi.get(
|
|
2134
|
-
`/communities/${communityId}/moderators`,
|
|
2135
|
-
{
|
|
2136
|
-
params: {
|
|
2137
|
-
page: pageParam || void 0,
|
|
2138
|
-
pageSize: pageSize || void 0,
|
|
2139
|
-
orderBy: orderBy || void 0,
|
|
2140
|
-
search: search || void 0
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2143
|
-
);
|
|
2144
|
-
return data;
|
|
2145
|
-
};
|
|
2146
|
-
var useGetCommunityModerators = (communityId = "", params = {}, options = {}) => {
|
|
2146
|
+
var useGetCommunityMembers = (communityId = "", role, params = {}, options = {}) => {
|
|
2147
2147
|
return useConnectedInfiniteQuery(
|
|
2148
|
-
|
|
2149
|
-
(params2) =>
|
|
2148
|
+
COMMUNITY_MEMBERS_QUERY_KEY(communityId, role),
|
|
2149
|
+
(params2) => GetCommunityMembers({ communityId, role, ...params2 }),
|
|
2150
2150
|
params,
|
|
2151
2151
|
{
|
|
2152
2152
|
...options,
|
|
@@ -2281,6 +2281,137 @@ var useGetCommunitySponsors = (communityId = "", params = {}, options = {}) => {
|
|
|
2281
2281
|
);
|
|
2282
2282
|
};
|
|
2283
2283
|
|
|
2284
|
+
// src/queries/communities/useGetCommunityRequests.ts
|
|
2285
|
+
var COMMUNITY_REQUESTS_QUERY_KEY = (communityId, status) => {
|
|
2286
|
+
const keys = [...COMMUNITY_QUERY_KEY(communityId), "REQUESTS"];
|
|
2287
|
+
if (status) {
|
|
2288
|
+
keys.push(status);
|
|
2289
|
+
}
|
|
2290
|
+
return keys;
|
|
2291
|
+
};
|
|
2292
|
+
var SET_COMMUNITY_REQUESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2293
|
+
client.setQueryData(
|
|
2294
|
+
[
|
|
2295
|
+
...COMMUNITY_REQUESTS_QUERY_KEY(...keyParams),
|
|
2296
|
+
...GetBaseInfiniteQueryKeys(...baseKeys)
|
|
2297
|
+
],
|
|
2298
|
+
setFirstPageData(response)
|
|
2299
|
+
);
|
|
2300
|
+
};
|
|
2301
|
+
var GetCommunityRequests = async ({
|
|
2302
|
+
pageParam,
|
|
2303
|
+
pageSize,
|
|
2304
|
+
orderBy,
|
|
2305
|
+
search,
|
|
2306
|
+
status,
|
|
2307
|
+
communityId,
|
|
2308
|
+
queryClient,
|
|
2309
|
+
clientApiParams,
|
|
2310
|
+
locale
|
|
2311
|
+
}) => {
|
|
2312
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
2313
|
+
const { data } = await clientApi.get(`/communities/${communityId}/requests`, {
|
|
2314
|
+
params: {
|
|
2315
|
+
page: pageParam || void 0,
|
|
2316
|
+
pageSize: pageSize || void 0,
|
|
2317
|
+
orderBy: orderBy || void 0,
|
|
2318
|
+
search: search || void 0,
|
|
2319
|
+
status: status || void 0
|
|
2320
|
+
}
|
|
2321
|
+
});
|
|
2322
|
+
if (queryClient && data.status === "ok") {
|
|
2323
|
+
CacheIndividualQueries(
|
|
2324
|
+
data,
|
|
2325
|
+
queryClient,
|
|
2326
|
+
(communityId2) => COMMUNITY_REQUEST_QUERY_KEY(communityId2, data.data.id),
|
|
2327
|
+
locale
|
|
2328
|
+
);
|
|
2329
|
+
}
|
|
2330
|
+
return data;
|
|
2331
|
+
};
|
|
2332
|
+
var useGetCommunityRequests = (communityId = "", status, params = {}, options = {}) => {
|
|
2333
|
+
return useConnectedInfiniteQuery(
|
|
2334
|
+
COMMUNITY_REQUESTS_QUERY_KEY(communityId, status),
|
|
2335
|
+
(params2) => GetCommunityRequests({ communityId, status, ...params2 }),
|
|
2336
|
+
params,
|
|
2337
|
+
{
|
|
2338
|
+
...options,
|
|
2339
|
+
enabled: !!communityId && (options?.enabled ?? true)
|
|
2340
|
+
}
|
|
2341
|
+
);
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
// src/queries/communities/useGetCommunityRequest.ts
|
|
2345
|
+
var COMMUNITY_REQUEST_QUERY_KEY = (communityId, requestId) => [
|
|
2346
|
+
...COMMUNITY_REQUESTS_QUERY_KEY(communityId),
|
|
2347
|
+
"REQUESTS",
|
|
2348
|
+
requestId
|
|
2349
|
+
];
|
|
2350
|
+
var SET_COMMUNITY_REQUEST_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
|
|
2351
|
+
client.setQueryData(
|
|
2352
|
+
[
|
|
2353
|
+
...COMMUNITY_REQUEST_QUERY_KEY(...keyParams),
|
|
2354
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
2355
|
+
],
|
|
2356
|
+
response,
|
|
2357
|
+
options
|
|
2358
|
+
);
|
|
2359
|
+
};
|
|
2360
|
+
var GetCommunityRequest = async ({
|
|
2361
|
+
communityId,
|
|
2362
|
+
requestId,
|
|
2363
|
+
clientApiParams
|
|
2364
|
+
}) => {
|
|
2365
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
2366
|
+
const { data } = await clientApi.get(
|
|
2367
|
+
`/communities/${communityId}/requests/${requestId}`
|
|
2368
|
+
);
|
|
2369
|
+
return data;
|
|
2370
|
+
};
|
|
2371
|
+
var useGetCommunityRequest = (communityId = "", requestId = "", options = {}) => {
|
|
2372
|
+
return useConnectedSingleQuery(
|
|
2373
|
+
COMMUNITY_REQUEST_QUERY_KEY(communityId, requestId),
|
|
2374
|
+
(params) => GetCommunityRequest({ communityId, requestId, ...params }),
|
|
2375
|
+
{
|
|
2376
|
+
...options,
|
|
2377
|
+
enabled: !!communityId && !!requestId && (options?.enabled ?? true)
|
|
2378
|
+
}
|
|
2379
|
+
);
|
|
2380
|
+
};
|
|
2381
|
+
|
|
2382
|
+
// src/queries/communities/useGetCommunityInvitableAccounts.ts
|
|
2383
|
+
var COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "INVITABLE_ACCOUNTS"];
|
|
2384
|
+
var GetCommunityInvitableAccounts = async ({
|
|
2385
|
+
pageParam,
|
|
2386
|
+
pageSize,
|
|
2387
|
+
orderBy,
|
|
2388
|
+
search,
|
|
2389
|
+
communityId,
|
|
2390
|
+
clientApiParams
|
|
2391
|
+
}) => {
|
|
2392
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
2393
|
+
const { data } = await clientApi.get(`/communities/${communityId}/invites`, {
|
|
2394
|
+
params: {
|
|
2395
|
+
page: pageParam || void 0,
|
|
2396
|
+
pageSize: pageSize || void 0,
|
|
2397
|
+
orderBy: orderBy || void 0,
|
|
2398
|
+
search: search || void 0
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
return data;
|
|
2402
|
+
};
|
|
2403
|
+
var useGetCommunityInvitableAccounts = (communityId = "", params = {}, options = {}) => {
|
|
2404
|
+
return useConnectedInfiniteQuery(
|
|
2405
|
+
COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId),
|
|
2406
|
+
(params2) => GetCommunityInvitableAccounts({ communityId, ...params2 }),
|
|
2407
|
+
params,
|
|
2408
|
+
{
|
|
2409
|
+
...options,
|
|
2410
|
+
enabled: !!communityId && (options?.enabled ?? true)
|
|
2411
|
+
}
|
|
2412
|
+
);
|
|
2413
|
+
};
|
|
2414
|
+
|
|
2284
2415
|
// src/queries/contents/useGetContents.ts
|
|
2285
2416
|
var CONTENTS_QUERY_KEY = () => ["CONTENTS"];
|
|
2286
2417
|
var SET_CONTENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
@@ -3921,6 +4052,42 @@ var useGetSelfEventRegistrationPurchaseReservationSections = (eventId, registrat
|
|
|
3921
4052
|
);
|
|
3922
4053
|
};
|
|
3923
4054
|
|
|
4055
|
+
// src/queries/self/registration/useGetSelfEventRegistrationStatus.ts
|
|
4056
|
+
var SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY = (eventId) => [...SELF_QUERY_KEY(), "EVENT_REGISTRATION_STATUS", eventId];
|
|
4057
|
+
var SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
4058
|
+
client.setQueryData(
|
|
4059
|
+
[
|
|
4060
|
+
...SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(...keyParams),
|
|
4061
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
4062
|
+
],
|
|
4063
|
+
response
|
|
4064
|
+
);
|
|
4065
|
+
};
|
|
4066
|
+
var GetSelfEventRegistrationStatus = async ({
|
|
4067
|
+
eventId,
|
|
4068
|
+
clientApiParams
|
|
4069
|
+
}) => {
|
|
4070
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
4071
|
+
const { data } = await clientApi.get(
|
|
4072
|
+
`/self/events/${eventId}/registration/status`,
|
|
4073
|
+
{}
|
|
4074
|
+
);
|
|
4075
|
+
return data;
|
|
4076
|
+
};
|
|
4077
|
+
var useGetSelfEventRegistrationStatus = (eventId, selfId, options = {}) => {
|
|
4078
|
+
return useConnectedSingleQuery_default(
|
|
4079
|
+
SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId),
|
|
4080
|
+
(params) => GetSelfEventRegistrationStatus({
|
|
4081
|
+
eventId,
|
|
4082
|
+
...params
|
|
4083
|
+
}),
|
|
4084
|
+
{
|
|
4085
|
+
...options,
|
|
4086
|
+
enabled: !!eventId && !!selfId && (options?.enabled ?? true)
|
|
4087
|
+
}
|
|
4088
|
+
);
|
|
4089
|
+
};
|
|
4090
|
+
|
|
3924
4091
|
// src/queries/self/subscriptions/useGetSelfSubscriptions.ts
|
|
3925
4092
|
var SELF_SUBSCRIPTIONS_QUERY_KEY = (status) => {
|
|
3926
4093
|
const key = [...SELF_QUERY_KEY(), "SUBSCRIPTIONS"];
|
|
@@ -4247,13 +4414,13 @@ var useGetSelfDelegates = (params = {}, options = {}) => {
|
|
|
4247
4414
|
);
|
|
4248
4415
|
};
|
|
4249
4416
|
|
|
4250
|
-
// src/queries/self/
|
|
4251
|
-
var
|
|
4417
|
+
// src/queries/self/useGetSelfEvents.ts
|
|
4418
|
+
var SELF_EVENTS_QUERY_KEY = (past) => [
|
|
4252
4419
|
...SELF_QUERY_KEY(),
|
|
4253
|
-
"
|
|
4420
|
+
"EVENTS",
|
|
4254
4421
|
past ? "PAST" : "UPCOMING"
|
|
4255
4422
|
];
|
|
4256
|
-
var
|
|
4423
|
+
var GetSelfEvents = async ({
|
|
4257
4424
|
pageParam,
|
|
4258
4425
|
pageSize,
|
|
4259
4426
|
orderBy,
|
|
@@ -4264,209 +4431,86 @@ var GetSelfEventListings = async ({
|
|
|
4264
4431
|
locale
|
|
4265
4432
|
}) => {
|
|
4266
4433
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4267
|
-
const { data } = await clientApi.get(`/self/events
|
|
4434
|
+
const { data } = await clientApi.get(`/self/events`, {
|
|
4268
4435
|
params: {
|
|
4269
4436
|
page: pageParam || void 0,
|
|
4270
4437
|
pageSize: pageSize || void 0,
|
|
4271
4438
|
orderBy: orderBy || void 0,
|
|
4272
4439
|
search: search || void 0,
|
|
4273
|
-
past:
|
|
4440
|
+
past: past || false
|
|
4274
4441
|
}
|
|
4275
4442
|
});
|
|
4276
4443
|
if (queryClient && data.status === "ok") {
|
|
4277
4444
|
CacheIndividualQueries(
|
|
4278
4445
|
data,
|
|
4279
4446
|
queryClient,
|
|
4280
|
-
(eventId) =>
|
|
4447
|
+
(eventId) => EVENT_QUERY_KEY(eventId),
|
|
4281
4448
|
locale
|
|
4282
4449
|
);
|
|
4283
4450
|
}
|
|
4284
4451
|
return data;
|
|
4285
4452
|
};
|
|
4286
|
-
var
|
|
4453
|
+
var useGetSelfEvents = (past = false, params = {}, options = {}) => {
|
|
4287
4454
|
return useConnectedInfiniteQuery(
|
|
4288
|
-
|
|
4289
|
-
(params2) =>
|
|
4455
|
+
SELF_EVENTS_QUERY_KEY(past),
|
|
4456
|
+
(params2) => GetSelfEvents({ ...params2, past }),
|
|
4290
4457
|
params,
|
|
4291
4458
|
{
|
|
4292
|
-
...options
|
|
4293
|
-
enabled: options.enabled ?? true
|
|
4459
|
+
...options
|
|
4294
4460
|
}
|
|
4295
4461
|
);
|
|
4296
4462
|
};
|
|
4297
4463
|
|
|
4298
|
-
// src/queries/self/
|
|
4299
|
-
var
|
|
4300
|
-
...
|
|
4301
|
-
eventId
|
|
4302
|
-
];
|
|
4303
|
-
var SET_SELF_EVENT_LISTING_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
4304
|
-
client.setQueryData(
|
|
4305
|
-
[
|
|
4306
|
-
...SELF_EVENT_LISTING_QUERY_KEY(...keyParams),
|
|
4307
|
-
...GetBaseSingleQueryKeys(...baseKeys)
|
|
4308
|
-
],
|
|
4309
|
-
response
|
|
4310
|
-
);
|
|
4311
|
-
};
|
|
4312
|
-
var GetSelfEventListing = async ({
|
|
4464
|
+
// src/queries/self/useGetSelfEventSessions.ts
|
|
4465
|
+
var SELF_EVENT_SESSIONS_QUERY_KEY = (eventId) => [
|
|
4466
|
+
...SELF_EVENTS_QUERY_KEY(false),
|
|
4313
4467
|
eventId,
|
|
4314
|
-
|
|
4315
|
-
}) => {
|
|
4316
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4317
|
-
const { data } = await clientApi.get(`self/events/listings/${eventId}`);
|
|
4318
|
-
return data;
|
|
4319
|
-
};
|
|
4320
|
-
var useGetSelfEventListing = (eventId, options = {}) => {
|
|
4321
|
-
return useConnectedSingleQuery(
|
|
4322
|
-
SELF_EVENT_LISTING_QUERY_KEY(eventId),
|
|
4323
|
-
(params) => GetSelfEventListing({ eventId, ...params }),
|
|
4324
|
-
{
|
|
4325
|
-
...options,
|
|
4326
|
-
enabled: !!eventId && (options?.enabled ?? true)
|
|
4327
|
-
}
|
|
4328
|
-
);
|
|
4329
|
-
};
|
|
4330
|
-
|
|
4331
|
-
// src/queries/self/useGetSelfEventListingRegistrations.ts
|
|
4332
|
-
var SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY = (eventId, status) => [
|
|
4333
|
-
...SELF_EVENT_LISTING_QUERY_KEY(eventId),
|
|
4334
|
-
"REGISTRATIONS",
|
|
4335
|
-
status ?? "ALL"
|
|
4468
|
+
"SESSIONS"
|
|
4336
4469
|
];
|
|
4337
|
-
var
|
|
4470
|
+
var GetSelfEventSessions = async ({
|
|
4338
4471
|
eventId,
|
|
4339
4472
|
pageParam,
|
|
4340
4473
|
pageSize,
|
|
4341
4474
|
orderBy,
|
|
4342
4475
|
search,
|
|
4343
|
-
|
|
4344
|
-
clientApiParams
|
|
4476
|
+
queryClient,
|
|
4477
|
+
clientApiParams,
|
|
4478
|
+
locale
|
|
4345
4479
|
}) => {
|
|
4346
4480
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4347
|
-
const { data } = await clientApi.get(
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
search: search || void 0,
|
|
4355
|
-
status: status || void 0
|
|
4356
|
-
}
|
|
4481
|
+
const { data } = await clientApi.get(`/self/events/${eventId}/sessions`, {
|
|
4482
|
+
params: {
|
|
4483
|
+
eventId: eventId || void 0,
|
|
4484
|
+
page: pageParam || void 0,
|
|
4485
|
+
pageSize: pageSize || void 0,
|
|
4486
|
+
orderBy: orderBy || void 0,
|
|
4487
|
+
search: search || void 0
|
|
4357
4488
|
}
|
|
4358
|
-
);
|
|
4489
|
+
});
|
|
4490
|
+
if (queryClient && data.status === "ok") {
|
|
4491
|
+
CacheIndividualQueries(
|
|
4492
|
+
data,
|
|
4493
|
+
queryClient,
|
|
4494
|
+
(sessionId) => EVENT_SESSION_QUERY_KEY(eventId, sessionId),
|
|
4495
|
+
locale
|
|
4496
|
+
);
|
|
4497
|
+
}
|
|
4359
4498
|
return data;
|
|
4360
4499
|
};
|
|
4361
|
-
var
|
|
4500
|
+
var useGetSelfEventSessions = (eventId, params = {}, options = {}) => {
|
|
4362
4501
|
return useConnectedInfiniteQuery(
|
|
4363
|
-
|
|
4364
|
-
(params2) =>
|
|
4502
|
+
SELF_EVENT_SESSIONS_QUERY_KEY(eventId),
|
|
4503
|
+
(params2) => GetSelfEventSessions({ eventId, ...params2 }),
|
|
4365
4504
|
params,
|
|
4366
4505
|
{
|
|
4367
4506
|
...options,
|
|
4368
|
-
enabled: !!eventId && (options
|
|
4507
|
+
enabled: !!eventId && (options.enabled ?? true)
|
|
4369
4508
|
}
|
|
4370
4509
|
);
|
|
4371
4510
|
};
|
|
4372
4511
|
|
|
4373
|
-
// src/queries/self/
|
|
4374
|
-
var
|
|
4375
|
-
...SELF_QUERY_KEY(),
|
|
4376
|
-
"EVENTS",
|
|
4377
|
-
past ? "PAST" : "UPCOMING"
|
|
4378
|
-
];
|
|
4379
|
-
var GetSelfEvents = async ({
|
|
4380
|
-
pageParam,
|
|
4381
|
-
pageSize,
|
|
4382
|
-
orderBy,
|
|
4383
|
-
search,
|
|
4384
|
-
past,
|
|
4385
|
-
queryClient,
|
|
4386
|
-
clientApiParams,
|
|
4387
|
-
locale
|
|
4388
|
-
}) => {
|
|
4389
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4390
|
-
const { data } = await clientApi.get(`/self/events`, {
|
|
4391
|
-
params: {
|
|
4392
|
-
page: pageParam || void 0,
|
|
4393
|
-
pageSize: pageSize || void 0,
|
|
4394
|
-
orderBy: orderBy || void 0,
|
|
4395
|
-
search: search || void 0,
|
|
4396
|
-
past: past || false
|
|
4397
|
-
}
|
|
4398
|
-
});
|
|
4399
|
-
if (queryClient && data.status === "ok") {
|
|
4400
|
-
CacheIndividualQueries(
|
|
4401
|
-
data,
|
|
4402
|
-
queryClient,
|
|
4403
|
-
(eventId) => EVENT_QUERY_KEY(eventId),
|
|
4404
|
-
locale
|
|
4405
|
-
);
|
|
4406
|
-
}
|
|
4407
|
-
return data;
|
|
4408
|
-
};
|
|
4409
|
-
var useGetSelfEvents = (past = false, params = {}, options = {}) => {
|
|
4410
|
-
return useConnectedInfiniteQuery(
|
|
4411
|
-
SELF_EVENTS_QUERY_KEY(past),
|
|
4412
|
-
(params2) => GetSelfEvents({ ...params2, past }),
|
|
4413
|
-
params,
|
|
4414
|
-
{
|
|
4415
|
-
...options
|
|
4416
|
-
}
|
|
4417
|
-
);
|
|
4418
|
-
};
|
|
4419
|
-
|
|
4420
|
-
// src/queries/self/useGetSelfEventSessions.ts
|
|
4421
|
-
var SELF_EVENT_SESSIONS_QUERY_KEY = (eventId) => [
|
|
4422
|
-
...SELF_EVENTS_QUERY_KEY(false),
|
|
4423
|
-
eventId,
|
|
4424
|
-
"SESSIONS"
|
|
4425
|
-
];
|
|
4426
|
-
var GetSelfEventSessions = async ({
|
|
4427
|
-
eventId,
|
|
4428
|
-
pageParam,
|
|
4429
|
-
pageSize,
|
|
4430
|
-
orderBy,
|
|
4431
|
-
search,
|
|
4432
|
-
queryClient,
|
|
4433
|
-
clientApiParams,
|
|
4434
|
-
locale
|
|
4435
|
-
}) => {
|
|
4436
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4437
|
-
const { data } = await clientApi.get(`/self/events/${eventId}/sessions`, {
|
|
4438
|
-
params: {
|
|
4439
|
-
eventId: eventId || void 0,
|
|
4440
|
-
page: pageParam || void 0,
|
|
4441
|
-
pageSize: pageSize || void 0,
|
|
4442
|
-
orderBy: orderBy || void 0,
|
|
4443
|
-
search: search || void 0
|
|
4444
|
-
}
|
|
4445
|
-
});
|
|
4446
|
-
if (queryClient && data.status === "ok") {
|
|
4447
|
-
CacheIndividualQueries(
|
|
4448
|
-
data,
|
|
4449
|
-
queryClient,
|
|
4450
|
-
(sessionId) => EVENT_SESSION_QUERY_KEY(eventId, sessionId),
|
|
4451
|
-
locale
|
|
4452
|
-
);
|
|
4453
|
-
}
|
|
4454
|
-
return data;
|
|
4455
|
-
};
|
|
4456
|
-
var useGetSelfEventSessions = (eventId, params = {}, options = {}) => {
|
|
4457
|
-
return useConnectedInfiniteQuery(
|
|
4458
|
-
SELF_EVENT_SESSIONS_QUERY_KEY(eventId),
|
|
4459
|
-
(params2) => GetSelfEventSessions({ eventId, ...params2 }),
|
|
4460
|
-
params,
|
|
4461
|
-
{
|
|
4462
|
-
...options,
|
|
4463
|
-
enabled: !!eventId && (options.enabled ?? true)
|
|
4464
|
-
}
|
|
4465
|
-
);
|
|
4466
|
-
};
|
|
4467
|
-
|
|
4468
|
-
// src/queries/self/useGetSelfFeed.ts
|
|
4469
|
-
var SELF_FEED_QUERY_KEY = () => [
|
|
4512
|
+
// src/queries/self/useGetSelfFeed.ts
|
|
4513
|
+
var SELF_FEED_QUERY_KEY = () => [
|
|
4470
4514
|
...SELF_QUERY_KEY(),
|
|
4471
4515
|
"FEED"
|
|
4472
4516
|
];
|
|
@@ -5110,6 +5154,122 @@ var useGetInvoice = (invoiceId = "", options = {}) => {
|
|
|
5110
5154
|
);
|
|
5111
5155
|
};
|
|
5112
5156
|
|
|
5157
|
+
// src/queries/listings/useGetListings.ts
|
|
5158
|
+
var LISTINGS_QUERY_KEY = (past) => [
|
|
5159
|
+
...SELF_QUERY_KEY(),
|
|
5160
|
+
"EVENT_LISTINGS",
|
|
5161
|
+
past ? "PAST" : "UPCOMING"
|
|
5162
|
+
];
|
|
5163
|
+
var GetSelfEventListings = async ({
|
|
5164
|
+
pageParam,
|
|
5165
|
+
pageSize,
|
|
5166
|
+
orderBy,
|
|
5167
|
+
search,
|
|
5168
|
+
past,
|
|
5169
|
+
queryClient,
|
|
5170
|
+
clientApiParams,
|
|
5171
|
+
locale
|
|
5172
|
+
}) => {
|
|
5173
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5174
|
+
const { data } = await clientApi.get(`/listings`, {
|
|
5175
|
+
params: {
|
|
5176
|
+
page: pageParam || void 0,
|
|
5177
|
+
pageSize: pageSize || void 0,
|
|
5178
|
+
orderBy: orderBy || void 0,
|
|
5179
|
+
search: search || void 0,
|
|
5180
|
+
past: typeof past == "boolean" ? past : void 0
|
|
5181
|
+
}
|
|
5182
|
+
});
|
|
5183
|
+
if (queryClient && data.status === "ok") {
|
|
5184
|
+
CacheIndividualQueries(
|
|
5185
|
+
data,
|
|
5186
|
+
queryClient,
|
|
5187
|
+
(eventId) => LISTING_QUERY_KEY(eventId),
|
|
5188
|
+
locale
|
|
5189
|
+
);
|
|
5190
|
+
}
|
|
5191
|
+
return data;
|
|
5192
|
+
};
|
|
5193
|
+
var useGetSelfEventListings = (past = false, params = {}, options = {}) => {
|
|
5194
|
+
return useConnectedInfiniteQuery(
|
|
5195
|
+
LISTINGS_QUERY_KEY(past),
|
|
5196
|
+
(params2) => GetSelfEventListings({ past, ...params2 }),
|
|
5197
|
+
params,
|
|
5198
|
+
{
|
|
5199
|
+
...options,
|
|
5200
|
+
enabled: options.enabled ?? true
|
|
5201
|
+
}
|
|
5202
|
+
);
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5205
|
+
// src/queries/listings/useGetListing.ts
|
|
5206
|
+
var LISTING_QUERY_KEY = (eventId) => [
|
|
5207
|
+
...LISTINGS_QUERY_KEY(false),
|
|
5208
|
+
eventId
|
|
5209
|
+
];
|
|
5210
|
+
var SET_LISTING_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
5211
|
+
client.setQueryData(
|
|
5212
|
+
[
|
|
5213
|
+
...LISTING_QUERY_KEY(...keyParams),
|
|
5214
|
+
...GetBaseSingleQueryKeys(...baseKeys)
|
|
5215
|
+
],
|
|
5216
|
+
response
|
|
5217
|
+
);
|
|
5218
|
+
};
|
|
5219
|
+
var GetSelfEventListing = async ({
|
|
5220
|
+
eventId,
|
|
5221
|
+
clientApiParams
|
|
5222
|
+
}) => {
|
|
5223
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5224
|
+
const { data } = await clientApi.get(`/listings/${eventId}`);
|
|
5225
|
+
return data;
|
|
5226
|
+
};
|
|
5227
|
+
var useGetSelfEventListing = (eventId, options = {}) => {
|
|
5228
|
+
return useConnectedSingleQuery(
|
|
5229
|
+
LISTING_QUERY_KEY(eventId),
|
|
5230
|
+
(params) => GetSelfEventListing({ eventId, ...params }),
|
|
5231
|
+
{
|
|
5232
|
+
...options,
|
|
5233
|
+
enabled: !!eventId && (options?.enabled ?? true)
|
|
5234
|
+
}
|
|
5235
|
+
);
|
|
5236
|
+
};
|
|
5237
|
+
|
|
5238
|
+
// src/queries/listings/useGetListingRegistrations.ts
|
|
5239
|
+
var LISTING_REGISTRATIONS_QUERY_KEY = (eventId, status) => [...LISTING_QUERY_KEY(eventId), "REGISTRATIONS", status ?? "ALL"];
|
|
5240
|
+
var GetSelfEventListingRegistrations = async ({
|
|
5241
|
+
eventId,
|
|
5242
|
+
pageParam,
|
|
5243
|
+
pageSize,
|
|
5244
|
+
orderBy,
|
|
5245
|
+
search,
|
|
5246
|
+
status,
|
|
5247
|
+
clientApiParams
|
|
5248
|
+
}) => {
|
|
5249
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
5250
|
+
const { data } = await clientApi.get(`/listings/${eventId}/registrations`, {
|
|
5251
|
+
params: {
|
|
5252
|
+
page: pageParam || void 0,
|
|
5253
|
+
pageSize: pageSize || void 0,
|
|
5254
|
+
orderBy: orderBy || void 0,
|
|
5255
|
+
search: search || void 0,
|
|
5256
|
+
status: status || void 0
|
|
5257
|
+
}
|
|
5258
|
+
});
|
|
5259
|
+
return data;
|
|
5260
|
+
};
|
|
5261
|
+
var useGetSelfEventListingsRegistrations = (eventId, status, params = {}, options = {}) => {
|
|
5262
|
+
return useConnectedInfiniteQuery(
|
|
5263
|
+
LISTING_REGISTRATIONS_QUERY_KEY(eventId, status),
|
|
5264
|
+
(params2) => GetSelfEventListingRegistrations({ eventId, status, ...params2 }),
|
|
5265
|
+
params,
|
|
5266
|
+
{
|
|
5267
|
+
...options,
|
|
5268
|
+
enabled: !!eventId && (options?.enabled ?? true)
|
|
5269
|
+
}
|
|
5270
|
+
);
|
|
5271
|
+
};
|
|
5272
|
+
|
|
5113
5273
|
// src/mutations/useConnectedMutation.ts
|
|
5114
5274
|
var import_react_query4 = require("@tanstack/react-query");
|
|
5115
5275
|
var useConnectedMutation = (mutation, options) => {
|
|
@@ -5370,190 +5530,65 @@ var useUnlikeActivity = (options = {}) => {
|
|
|
5370
5530
|
return useConnectedMutation_default(UnlikeActivity, options);
|
|
5371
5531
|
};
|
|
5372
5532
|
|
|
5373
|
-
// src/mutations/
|
|
5374
|
-
var
|
|
5375
|
-
communityId,
|
|
5533
|
+
// src/mutations/events/useCompleteEventActivation.ts
|
|
5534
|
+
var CompleteEventActivation = async ({
|
|
5376
5535
|
eventId,
|
|
5536
|
+
activationId,
|
|
5537
|
+
code,
|
|
5377
5538
|
clientApiParams,
|
|
5378
5539
|
queryClient
|
|
5379
5540
|
}) => {
|
|
5380
5541
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5381
5542
|
const { data } = await clientApi.post(
|
|
5382
|
-
`/
|
|
5543
|
+
`/events/${eventId}/activations/${activationId}`,
|
|
5544
|
+
{
|
|
5545
|
+
code: code || void 0
|
|
5546
|
+
}
|
|
5383
5547
|
);
|
|
5384
|
-
if (queryClient) {
|
|
5385
|
-
queryClient.invalidateQueries({
|
|
5386
|
-
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
5387
|
-
});
|
|
5388
|
-
queryClient.invalidateQueries({
|
|
5389
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
5390
|
-
});
|
|
5391
|
-
queryClient.invalidateQueries({
|
|
5392
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
5393
|
-
});
|
|
5548
|
+
if (queryClient && data.status === "ok") {
|
|
5394
5549
|
}
|
|
5395
5550
|
return data;
|
|
5396
5551
|
};
|
|
5397
|
-
var
|
|
5398
|
-
return useConnectedMutation_default(
|
|
5552
|
+
var useCompleteEventActivation = (options = {}) => {
|
|
5553
|
+
return useConnectedMutation_default(CompleteEventActivation, options);
|
|
5399
5554
|
};
|
|
5400
5555
|
|
|
5401
|
-
// src/mutations/
|
|
5402
|
-
var
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
email,
|
|
5407
|
-
push,
|
|
5556
|
+
// src/mutations/events/useCreateEventLead.ts
|
|
5557
|
+
var CreateEventLead = async ({
|
|
5558
|
+
eventId,
|
|
5559
|
+
purchaseId,
|
|
5560
|
+
note,
|
|
5408
5561
|
clientApiParams,
|
|
5409
5562
|
queryClient
|
|
5410
5563
|
}) => {
|
|
5411
5564
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5412
5565
|
const { data } = await clientApi.post(
|
|
5413
|
-
`/
|
|
5566
|
+
`/events/${eventId}/leads/${purchaseId}`,
|
|
5414
5567
|
{
|
|
5415
|
-
|
|
5416
|
-
html,
|
|
5417
|
-
email,
|
|
5418
|
-
push
|
|
5568
|
+
note: note || void 0
|
|
5419
5569
|
}
|
|
5420
5570
|
);
|
|
5421
5571
|
if (queryClient && data.status === "ok") {
|
|
5422
|
-
AppendInfiniteQuery(
|
|
5423
|
-
queryClient,
|
|
5424
|
-
[
|
|
5425
|
-
...COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId),
|
|
5426
|
-
...GetBaseInfiniteQueryKeys(clientApiParams.locale)
|
|
5427
|
-
],
|
|
5428
|
-
data.data
|
|
5429
|
-
);
|
|
5430
5572
|
}
|
|
5431
5573
|
return data;
|
|
5432
5574
|
};
|
|
5433
|
-
var
|
|
5434
|
-
return useConnectedMutation(
|
|
5575
|
+
var useCreateEventLead = (options = {}) => {
|
|
5576
|
+
return useConnectedMutation(CreateEventLead, options);
|
|
5435
5577
|
};
|
|
5436
5578
|
|
|
5437
|
-
// src/mutations/
|
|
5438
|
-
var
|
|
5439
|
-
|
|
5440
|
-
|
|
5579
|
+
// src/mutations/invoices/useCaptureInvoicePayment.ts
|
|
5580
|
+
var CaptureInvoicePayment = async ({
|
|
5581
|
+
invoiceId,
|
|
5582
|
+
intentId,
|
|
5441
5583
|
clientApiParams,
|
|
5442
5584
|
queryClient
|
|
5443
5585
|
}) => {
|
|
5444
5586
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5445
|
-
const { data } = await clientApi.
|
|
5446
|
-
`/
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
5451
|
-
});
|
|
5452
|
-
queryClient.invalidateQueries({
|
|
5453
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
5454
|
-
});
|
|
5455
|
-
queryClient.invalidateQueries({
|
|
5456
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
5457
|
-
});
|
|
5458
|
-
}
|
|
5459
|
-
return data;
|
|
5460
|
-
};
|
|
5461
|
-
var useRemoveCommunityEvent = (options = {}) => {
|
|
5462
|
-
return useConnectedMutation_default(RemoveCommunityEvent, options);
|
|
5463
|
-
};
|
|
5464
|
-
|
|
5465
|
-
// src/mutations/communityModerator/useUpdateCommunity.ts
|
|
5466
|
-
var UpdateCommunity = async ({
|
|
5467
|
-
communityId,
|
|
5468
|
-
description,
|
|
5469
|
-
externalUrl,
|
|
5470
|
-
base64,
|
|
5471
|
-
clientApiParams,
|
|
5472
|
-
queryClient
|
|
5473
|
-
}) => {
|
|
5474
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5475
|
-
const { data } = await clientApi.put(
|
|
5476
|
-
`/communityModerator/${communityId}`,
|
|
5477
|
-
{
|
|
5478
|
-
description: description || void 0,
|
|
5479
|
-
externalUrl: externalUrl || void 0,
|
|
5480
|
-
buffer: base64 ? base64 : void 0
|
|
5481
|
-
}
|
|
5482
|
-
);
|
|
5483
|
-
if (queryClient && data.status === "ok") {
|
|
5484
|
-
SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.slug], data, [
|
|
5485
|
-
clientApiParams.locale
|
|
5486
|
-
]);
|
|
5487
|
-
queryClient.invalidateQueries({
|
|
5488
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
5489
|
-
});
|
|
5490
|
-
queryClient.invalidateQueries({ queryKey: COMMUNITIES_QUERY_KEY() });
|
|
5491
|
-
}
|
|
5492
|
-
return data;
|
|
5493
|
-
};
|
|
5494
|
-
var useUpdateCommunity = (options = {}) => {
|
|
5495
|
-
return useConnectedMutation(UpdateCommunity, options);
|
|
5496
|
-
};
|
|
5497
|
-
|
|
5498
|
-
// src/mutations/events/useCompleteEventActivation.ts
|
|
5499
|
-
var CompleteEventActivation = async ({
|
|
5500
|
-
eventId,
|
|
5501
|
-
activationId,
|
|
5502
|
-
code,
|
|
5503
|
-
clientApiParams,
|
|
5504
|
-
queryClient
|
|
5505
|
-
}) => {
|
|
5506
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5507
|
-
const { data } = await clientApi.post(
|
|
5508
|
-
`/events/${eventId}/activations/${activationId}`,
|
|
5509
|
-
{
|
|
5510
|
-
code: code || void 0
|
|
5511
|
-
}
|
|
5512
|
-
);
|
|
5513
|
-
if (queryClient && data.status === "ok") {
|
|
5514
|
-
}
|
|
5515
|
-
return data;
|
|
5516
|
-
};
|
|
5517
|
-
var useCompleteEventActivation = (options = {}) => {
|
|
5518
|
-
return useConnectedMutation_default(CompleteEventActivation, options);
|
|
5519
|
-
};
|
|
5520
|
-
|
|
5521
|
-
// src/mutations/events/useCreateEventLead.ts
|
|
5522
|
-
var CreateEventLead = async ({
|
|
5523
|
-
eventId,
|
|
5524
|
-
purchaseId,
|
|
5525
|
-
note,
|
|
5526
|
-
clientApiParams,
|
|
5527
|
-
queryClient
|
|
5528
|
-
}) => {
|
|
5529
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5530
|
-
const { data } = await clientApi.post(
|
|
5531
|
-
`/events/${eventId}/leads/${purchaseId}`,
|
|
5532
|
-
{
|
|
5533
|
-
note: note || void 0
|
|
5534
|
-
}
|
|
5535
|
-
);
|
|
5536
|
-
if (queryClient && data.status === "ok") {
|
|
5537
|
-
}
|
|
5538
|
-
return data;
|
|
5539
|
-
};
|
|
5540
|
-
var useCreateEventLead = (options = {}) => {
|
|
5541
|
-
return useConnectedMutation(CreateEventLead, options);
|
|
5542
|
-
};
|
|
5543
|
-
|
|
5544
|
-
// src/mutations/invoices/useCaptureInvoicePayment.ts
|
|
5545
|
-
var CaptureInvoicePayment = async ({
|
|
5546
|
-
invoiceId,
|
|
5547
|
-
intentId,
|
|
5548
|
-
clientApiParams,
|
|
5549
|
-
queryClient
|
|
5550
|
-
}) => {
|
|
5551
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5552
|
-
const { data } = await clientApi.post(
|
|
5553
|
-
`/invoices/${invoiceId}/capture`,
|
|
5554
|
-
{
|
|
5555
|
-
intentId
|
|
5556
|
-
}
|
|
5587
|
+
const { data } = await clientApi.post(
|
|
5588
|
+
`/invoices/${invoiceId}/capture`,
|
|
5589
|
+
{
|
|
5590
|
+
intentId
|
|
5591
|
+
}
|
|
5557
5592
|
);
|
|
5558
5593
|
if (queryClient && data.status === "ok") {
|
|
5559
5594
|
SET_INVOICE_QUERY_DATA(queryClient, [invoiceId], data, [
|
|
@@ -5823,6 +5858,9 @@ var CaptureSelfEventRegistrationPayment = async ({
|
|
|
5823
5858
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
5824
5859
|
clientApiParams.locale
|
|
5825
5860
|
]);
|
|
5861
|
+
queryClient.invalidateQueries({
|
|
5862
|
+
queryKey: SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId)
|
|
5863
|
+
});
|
|
5826
5864
|
}
|
|
5827
5865
|
return data;
|
|
5828
5866
|
};
|
|
@@ -5956,6 +5994,9 @@ var SubmitSelfEventRegistration = async ({
|
|
|
5956
5994
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
5957
5995
|
clientApiParams.locale
|
|
5958
5996
|
]);
|
|
5997
|
+
queryClient.invalidateQueries({
|
|
5998
|
+
queryKey: SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId)
|
|
5999
|
+
});
|
|
5959
6000
|
}
|
|
5960
6001
|
return data;
|
|
5961
6002
|
};
|
|
@@ -6381,84 +6422,6 @@ var useAddSelfDelegate = (options = {}) => {
|
|
|
6381
6422
|
return useConnectedMutation_default(AddSelfDelegate, options);
|
|
6382
6423
|
};
|
|
6383
6424
|
|
|
6384
|
-
// src/mutations/self/useAddSelfEventListingSession.ts
|
|
6385
|
-
var AddSelfEventListingSession = async ({
|
|
6386
|
-
eventId,
|
|
6387
|
-
session,
|
|
6388
|
-
clientApiParams,
|
|
6389
|
-
queryClient
|
|
6390
|
-
}) => {
|
|
6391
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6392
|
-
const { data } = await clientApi.post(
|
|
6393
|
-
`/self/events/listings/${eventId}/sessions`,
|
|
6394
|
-
{
|
|
6395
|
-
session
|
|
6396
|
-
}
|
|
6397
|
-
);
|
|
6398
|
-
if (queryClient && data.status === "ok") {
|
|
6399
|
-
queryClient.invalidateQueries({
|
|
6400
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
6401
|
-
});
|
|
6402
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6403
|
-
}
|
|
6404
|
-
return data;
|
|
6405
|
-
};
|
|
6406
|
-
var useAddSelfEventListingSession = (options = {}) => {
|
|
6407
|
-
return useConnectedMutation_default(AddSelfEventListingSession, options);
|
|
6408
|
-
};
|
|
6409
|
-
|
|
6410
|
-
// src/mutations/self/useAddSelfEventListingSpeaker.ts
|
|
6411
|
-
var AddSelfEventListingSpeaker = async ({
|
|
6412
|
-
eventId,
|
|
6413
|
-
speaker,
|
|
6414
|
-
clientApiParams,
|
|
6415
|
-
queryClient
|
|
6416
|
-
}) => {
|
|
6417
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6418
|
-
const { data } = await clientApi.post(
|
|
6419
|
-
`/self/events/listings/${eventId}/speakers`,
|
|
6420
|
-
{
|
|
6421
|
-
speaker
|
|
6422
|
-
}
|
|
6423
|
-
);
|
|
6424
|
-
if (queryClient && data.status === "ok") {
|
|
6425
|
-
queryClient.invalidateQueries({
|
|
6426
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
6427
|
-
});
|
|
6428
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6429
|
-
}
|
|
6430
|
-
return data;
|
|
6431
|
-
};
|
|
6432
|
-
var useAddSelfEventListingSpeaker = (options = {}) => {
|
|
6433
|
-
return useConnectedMutation_default(AddSelfEventListingSpeaker, options);
|
|
6434
|
-
};
|
|
6435
|
-
|
|
6436
|
-
// src/mutations/self/useAddSelfEventListingSponsor.ts
|
|
6437
|
-
var AddSelfEventListingSponsor = async ({
|
|
6438
|
-
eventId,
|
|
6439
|
-
sponsor,
|
|
6440
|
-
clientApiParams,
|
|
6441
|
-
queryClient
|
|
6442
|
-
}) => {
|
|
6443
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6444
|
-
const { data } = await clientApi.post(
|
|
6445
|
-
`/self/events/listings/${eventId}/sponsors`,
|
|
6446
|
-
{
|
|
6447
|
-
sponsorId: sponsor.id
|
|
6448
|
-
}
|
|
6449
|
-
);
|
|
6450
|
-
if (queryClient && data.status === "ok") {
|
|
6451
|
-
queryClient.invalidateQueries({
|
|
6452
|
-
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
6453
|
-
});
|
|
6454
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6455
|
-
}
|
|
6456
|
-
return data;
|
|
6457
|
-
};
|
|
6458
|
-
var useAddSelfEventListingSponsor = (options = {}) => {
|
|
6459
|
-
return useConnectedMutation_default(AddSelfEventListingSponsor, options);
|
|
6460
|
-
};
|
|
6461
|
-
|
|
6462
6425
|
// src/mutations/self/useAddSelfEventSession.ts
|
|
6463
6426
|
var AddSelfEventSession = async ({
|
|
6464
6427
|
eventId,
|
|
@@ -6481,66 +6444,6 @@ var useAddSelfEventSession = (options = {}) => {
|
|
|
6481
6444
|
return useConnectedMutation_default(AddSelfEventSession, options);
|
|
6482
6445
|
};
|
|
6483
6446
|
|
|
6484
|
-
// src/mutations/self/useCreateSelfEventListing.ts
|
|
6485
|
-
var CreateSelfEventListing = async ({
|
|
6486
|
-
event,
|
|
6487
|
-
base64,
|
|
6488
|
-
communityId,
|
|
6489
|
-
sponsorIds,
|
|
6490
|
-
speakers,
|
|
6491
|
-
sessions,
|
|
6492
|
-
clientApiParams,
|
|
6493
|
-
queryClient
|
|
6494
|
-
}) => {
|
|
6495
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6496
|
-
let data;
|
|
6497
|
-
if (communityId) {
|
|
6498
|
-
data = (await clientApi.post(
|
|
6499
|
-
`/communityModerator/${communityId}/events`,
|
|
6500
|
-
{
|
|
6501
|
-
event,
|
|
6502
|
-
image: base64 ? base64 : void 0,
|
|
6503
|
-
communityId: communityId || void 0,
|
|
6504
|
-
sponsorIds: sponsorIds || void 0,
|
|
6505
|
-
speakers,
|
|
6506
|
-
sessions
|
|
6507
|
-
}
|
|
6508
|
-
)).data;
|
|
6509
|
-
} else {
|
|
6510
|
-
data = (await clientApi.post(
|
|
6511
|
-
`/self/events/listings`,
|
|
6512
|
-
{
|
|
6513
|
-
event,
|
|
6514
|
-
image: base64 ? base64 : void 0,
|
|
6515
|
-
sponsorIds: sponsorIds || void 0,
|
|
6516
|
-
speakers,
|
|
6517
|
-
sessions
|
|
6518
|
-
}
|
|
6519
|
-
)).data;
|
|
6520
|
-
}
|
|
6521
|
-
if (queryClient && data.status === "ok") {
|
|
6522
|
-
queryClient.invalidateQueries({
|
|
6523
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
6524
|
-
});
|
|
6525
|
-
queryClient.invalidateQueries({
|
|
6526
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
6527
|
-
});
|
|
6528
|
-
if (communityId) {
|
|
6529
|
-
queryClient.invalidateQueries({
|
|
6530
|
-
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
6531
|
-
});
|
|
6532
|
-
}
|
|
6533
|
-
queryClient.setQueryData(
|
|
6534
|
-
[...EVENT_QUERY_KEY(data.data.id), clientApiParams.locale],
|
|
6535
|
-
data
|
|
6536
|
-
);
|
|
6537
|
-
}
|
|
6538
|
-
return data;
|
|
6539
|
-
};
|
|
6540
|
-
var useCreateSelfEventListing = (options = {}) => {
|
|
6541
|
-
return useConnectedMutation_default(CreateSelfEventListing, options);
|
|
6542
|
-
};
|
|
6543
|
-
|
|
6544
6447
|
// src/mutations/self/useDeleteSelf.ts
|
|
6545
6448
|
var DeleteSelf = async ({
|
|
6546
6449
|
clientApiParams,
|
|
@@ -6618,75 +6521,6 @@ var useRemoveSelfDelegate = (options = {}) => {
|
|
|
6618
6521
|
return useConnectedMutation_default(RemoveSelfDelegate, options);
|
|
6619
6522
|
};
|
|
6620
6523
|
|
|
6621
|
-
// src/mutations/self/useRemoveSelfEventListingSession.ts
|
|
6622
|
-
var RemoveSelfEventListingSession = async ({
|
|
6623
|
-
eventId,
|
|
6624
|
-
sessionId,
|
|
6625
|
-
clientApiParams,
|
|
6626
|
-
queryClient
|
|
6627
|
-
}) => {
|
|
6628
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6629
|
-
const { data } = await clientApi.delete(
|
|
6630
|
-
`/self/events/listings/${eventId}/sessions/${sessionId}`
|
|
6631
|
-
);
|
|
6632
|
-
if (queryClient && data.status === "ok") {
|
|
6633
|
-
queryClient.invalidateQueries({
|
|
6634
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
6635
|
-
});
|
|
6636
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6637
|
-
}
|
|
6638
|
-
return data;
|
|
6639
|
-
};
|
|
6640
|
-
var useRemoveSelfEventListingSession = (options = {}) => {
|
|
6641
|
-
return useConnectedMutation_default(RemoveSelfEventListingSession, options);
|
|
6642
|
-
};
|
|
6643
|
-
|
|
6644
|
-
// src/mutations/self/useRemoveSelfEventListingSpeaker.ts
|
|
6645
|
-
var RemoveSelfEventListingSpeaker = async ({
|
|
6646
|
-
eventId,
|
|
6647
|
-
speakerId,
|
|
6648
|
-
clientApiParams,
|
|
6649
|
-
queryClient
|
|
6650
|
-
}) => {
|
|
6651
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6652
|
-
const { data } = await clientApi.delete(
|
|
6653
|
-
`/self/events/listings/${eventId}/speakers/${speakerId}`
|
|
6654
|
-
);
|
|
6655
|
-
if (queryClient && data.status === "ok") {
|
|
6656
|
-
queryClient.invalidateQueries({
|
|
6657
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
6658
|
-
});
|
|
6659
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6660
|
-
}
|
|
6661
|
-
return data;
|
|
6662
|
-
};
|
|
6663
|
-
var useRemoveSelfEventListingSpeaker = (options = {}) => {
|
|
6664
|
-
return useConnectedMutation_default(RemoveSelfEventListingSpeaker, options);
|
|
6665
|
-
};
|
|
6666
|
-
|
|
6667
|
-
// src/mutations/self/useRemoveSelfEventListingSponsor.ts
|
|
6668
|
-
var RemoveSelfEventListingSponsor = async ({
|
|
6669
|
-
eventId,
|
|
6670
|
-
sponsorId,
|
|
6671
|
-
clientApiParams,
|
|
6672
|
-
queryClient
|
|
6673
|
-
}) => {
|
|
6674
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6675
|
-
const { data } = await clientApi.delete(
|
|
6676
|
-
`/self/events/listings/${eventId}/sponsors/${sponsorId}`
|
|
6677
|
-
);
|
|
6678
|
-
if (queryClient && data.status === "ok") {
|
|
6679
|
-
queryClient.invalidateQueries({
|
|
6680
|
-
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
6681
|
-
});
|
|
6682
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6683
|
-
}
|
|
6684
|
-
return data;
|
|
6685
|
-
};
|
|
6686
|
-
var useRemoveSelfEventListingSponsor = (options = {}) => {
|
|
6687
|
-
return useConnectedMutation_default(RemoveSelfEventListingSponsor, options);
|
|
6688
|
-
};
|
|
6689
|
-
|
|
6690
6524
|
// src/mutations/self/useRemoveSelfEventSession.ts
|
|
6691
6525
|
var RemoveSelfEventSession = async ({
|
|
6692
6526
|
eventId,
|
|
@@ -6709,31 +6543,6 @@ var useRemoveSelfEventSession = (options = {}) => {
|
|
|
6709
6543
|
return useConnectedMutation_default(RemoveSelfEventSession, options);
|
|
6710
6544
|
};
|
|
6711
6545
|
|
|
6712
|
-
// src/mutations/self/useSelfCheckinRegistration.tsx
|
|
6713
|
-
var SelfCheckinRegistration = async ({
|
|
6714
|
-
eventId,
|
|
6715
|
-
registrationId,
|
|
6716
|
-
clientApiParams,
|
|
6717
|
-
queryClient
|
|
6718
|
-
}) => {
|
|
6719
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6720
|
-
const { data } = await clientApi.post(
|
|
6721
|
-
`/self/events/listings/${eventId}/registrations/${registrationId}`
|
|
6722
|
-
);
|
|
6723
|
-
if (queryClient && data.status === "ok") {
|
|
6724
|
-
queryClient.invalidateQueries({
|
|
6725
|
-
queryKey: SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
6726
|
-
});
|
|
6727
|
-
queryClient.invalidateQueries({
|
|
6728
|
-
queryKey: SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
6729
|
-
});
|
|
6730
|
-
}
|
|
6731
|
-
return data;
|
|
6732
|
-
};
|
|
6733
|
-
var useSelfCheckinRegistration = (options = {}) => {
|
|
6734
|
-
return useConnectedMutation_default(SelfCheckinRegistration, options);
|
|
6735
|
-
};
|
|
6736
|
-
|
|
6737
6546
|
// src/mutations/activities/optimistic/UpdateComments.ts
|
|
6738
6547
|
var import_immer5 = require("immer");
|
|
6739
6548
|
var UpdateCommentsSingle = (increment, queryClient, KEY) => {
|
|
@@ -6880,64 +6689,6 @@ var useDeleteActivity = (options = {}) => {
|
|
|
6880
6689
|
return useConnectedMutation_default(DeleteActivity, options);
|
|
6881
6690
|
};
|
|
6882
6691
|
|
|
6883
|
-
// src/mutations/self/useSelfJoinCommunity.ts
|
|
6884
|
-
var SelfJoinCommunity = async ({
|
|
6885
|
-
communityId,
|
|
6886
|
-
clientApiParams,
|
|
6887
|
-
queryClient
|
|
6888
|
-
}) => {
|
|
6889
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6890
|
-
const { data } = await clientApi.post(`/self/communities/${communityId}`);
|
|
6891
|
-
if (queryClient && data.status === "ok") {
|
|
6892
|
-
queryClient.invalidateQueries({
|
|
6893
|
-
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
6894
|
-
});
|
|
6895
|
-
queryClient.invalidateQueries({
|
|
6896
|
-
queryKey: COMMUNITIES_QUERY_KEY()
|
|
6897
|
-
});
|
|
6898
|
-
queryClient.invalidateQueries({
|
|
6899
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
6900
|
-
});
|
|
6901
|
-
queryClient.invalidateQueries({
|
|
6902
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
6903
|
-
});
|
|
6904
|
-
}
|
|
6905
|
-
return data;
|
|
6906
|
-
};
|
|
6907
|
-
var useSelfJoinCommunity = (options = {}) => {
|
|
6908
|
-
return useConnectedMutation_default(SelfJoinCommunity, options);
|
|
6909
|
-
};
|
|
6910
|
-
|
|
6911
|
-
// src/mutations/self/useSelfLeaveCommunity.ts
|
|
6912
|
-
var SelfLeaveCommunity = async ({
|
|
6913
|
-
communityId,
|
|
6914
|
-
clientApiParams,
|
|
6915
|
-
queryClient
|
|
6916
|
-
}) => {
|
|
6917
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6918
|
-
const { data } = await clientApi.delete(
|
|
6919
|
-
`/self/communities/${communityId}`
|
|
6920
|
-
);
|
|
6921
|
-
if (queryClient && data.status === "ok") {
|
|
6922
|
-
queryClient.invalidateQueries({
|
|
6923
|
-
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
6924
|
-
});
|
|
6925
|
-
queryClient.invalidateQueries({
|
|
6926
|
-
queryKey: COMMUNITIES_QUERY_KEY()
|
|
6927
|
-
});
|
|
6928
|
-
queryClient.invalidateQueries({
|
|
6929
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
6930
|
-
});
|
|
6931
|
-
queryClient.invalidateQueries({
|
|
6932
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
6933
|
-
});
|
|
6934
|
-
}
|
|
6935
|
-
return data;
|
|
6936
|
-
};
|
|
6937
|
-
var useSelfLeaveCommunity = (options = {}) => {
|
|
6938
|
-
return useConnectedMutation_default(SelfLeaveCommunity, options);
|
|
6939
|
-
};
|
|
6940
|
-
|
|
6941
6692
|
// src/mutations/self/useSelfUpdateCommunityMembership.ts
|
|
6942
6693
|
var SelfUpdateCommunityMembership = async ({
|
|
6943
6694
|
communityId,
|
|
@@ -6990,102 +6741,6 @@ var useUpdateSelf = (options = {}) => {
|
|
|
6990
6741
|
return useConnectedMutation_default(UpdateSelf, options);
|
|
6991
6742
|
};
|
|
6992
6743
|
|
|
6993
|
-
// src/mutations/self/useUpdateSelfEventListing.ts
|
|
6994
|
-
var UpdateSelfEventListing = async ({
|
|
6995
|
-
eventId,
|
|
6996
|
-
event,
|
|
6997
|
-
base64,
|
|
6998
|
-
clientApiParams,
|
|
6999
|
-
queryClient
|
|
7000
|
-
}) => {
|
|
7001
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
7002
|
-
const { data } = await clientApi.put(
|
|
7003
|
-
`/self/events/listings/${eventId}`,
|
|
7004
|
-
{
|
|
7005
|
-
event,
|
|
7006
|
-
image: base64 ?? void 0
|
|
7007
|
-
}
|
|
7008
|
-
);
|
|
7009
|
-
if (queryClient && data.status === "ok") {
|
|
7010
|
-
SET_EVENT_QUERY_DATA(queryClient, [eventId], data, [
|
|
7011
|
-
clientApiParams.locale
|
|
7012
|
-
]);
|
|
7013
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data, [
|
|
7014
|
-
clientApiParams.locale
|
|
7015
|
-
]);
|
|
7016
|
-
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
7017
|
-
queryClient.invalidateQueries({
|
|
7018
|
-
queryKey: SELF_EVENT_LISTING_QUERY_KEY(eventId)
|
|
7019
|
-
});
|
|
7020
|
-
queryClient.invalidateQueries({
|
|
7021
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
7022
|
-
});
|
|
7023
|
-
queryClient.invalidateQueries({
|
|
7024
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
7025
|
-
});
|
|
7026
|
-
}
|
|
7027
|
-
return data;
|
|
7028
|
-
};
|
|
7029
|
-
var useUpdateSelfEventListing = (options = {}) => {
|
|
7030
|
-
return useConnectedMutation_default(UpdateSelfEventListing, options);
|
|
7031
|
-
};
|
|
7032
|
-
|
|
7033
|
-
// src/mutations/self/useUpdateSelfEventListingSession.ts
|
|
7034
|
-
var UpdateSelfEventListingSession = async ({
|
|
7035
|
-
eventId,
|
|
7036
|
-
session,
|
|
7037
|
-
sessionId,
|
|
7038
|
-
clientApiParams,
|
|
7039
|
-
queryClient
|
|
7040
|
-
}) => {
|
|
7041
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
7042
|
-
const { data } = await clientApi.put(
|
|
7043
|
-
`/self/events/listings/${eventId}/sessions/${sessionId}`,
|
|
7044
|
-
{
|
|
7045
|
-
session
|
|
7046
|
-
}
|
|
7047
|
-
);
|
|
7048
|
-
if (queryClient && data.status === "ok") {
|
|
7049
|
-
queryClient.invalidateQueries({
|
|
7050
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
7051
|
-
});
|
|
7052
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7053
|
-
}
|
|
7054
|
-
return data;
|
|
7055
|
-
};
|
|
7056
|
-
var useUpdateSelfEventListingSession = (options = {}) => {
|
|
7057
|
-
return useConnectedMutation_default(UpdateSelfEventListingSession, options);
|
|
7058
|
-
};
|
|
7059
|
-
|
|
7060
|
-
// src/mutations/self/useUpdateSelfEventListingSpeaker.ts
|
|
7061
|
-
var UpdateSelfEventListingSpeaker = async ({
|
|
7062
|
-
eventId,
|
|
7063
|
-
speaker,
|
|
7064
|
-
speakerId,
|
|
7065
|
-
buffer,
|
|
7066
|
-
clientApiParams,
|
|
7067
|
-
queryClient
|
|
7068
|
-
}) => {
|
|
7069
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
7070
|
-
const { data } = await clientApi.put(
|
|
7071
|
-
`/self/events/listings/${eventId}/speakers/${speakerId}`,
|
|
7072
|
-
{
|
|
7073
|
-
speaker,
|
|
7074
|
-
buffer: buffer || void 0
|
|
7075
|
-
}
|
|
7076
|
-
);
|
|
7077
|
-
if (queryClient && data.status === "ok") {
|
|
7078
|
-
queryClient.invalidateQueries({
|
|
7079
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
7080
|
-
});
|
|
7081
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7082
|
-
}
|
|
7083
|
-
return data;
|
|
7084
|
-
};
|
|
7085
|
-
var useUpdateSelfEventListingSpeaker = (options = {}) => {
|
|
7086
|
-
return useConnectedMutation_default(UpdateSelfEventListingSpeaker, options);
|
|
7087
|
-
};
|
|
7088
|
-
|
|
7089
6744
|
// src/mutations/self/useUpdateSelfImage.ts
|
|
7090
6745
|
var UpdateSelfImage = async ({
|
|
7091
6746
|
base64,
|
|
@@ -7227,6 +6882,709 @@ var CreateTeamAccount = async ({
|
|
|
7227
6882
|
var useCreateTeamAccount = (options = {}) => {
|
|
7228
6883
|
return useConnectedMutation_default(CreateTeamAccount, options);
|
|
7229
6884
|
};
|
|
6885
|
+
|
|
6886
|
+
// src/mutations/communities/useAcceptCommunityInvitation.ts
|
|
6887
|
+
var AcceptCommunityInvitation = async ({
|
|
6888
|
+
communityId,
|
|
6889
|
+
requestId,
|
|
6890
|
+
clientApiParams,
|
|
6891
|
+
queryClient
|
|
6892
|
+
}) => {
|
|
6893
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6894
|
+
const { data } = await clientApi.post(
|
|
6895
|
+
`/communities/${communityId}/invites/${requestId}`
|
|
6896
|
+
);
|
|
6897
|
+
if (queryClient && data.status === "ok") {
|
|
6898
|
+
queryClient.invalidateQueries({
|
|
6899
|
+
queryKey: SELF_NOTIFICATIONS_QUERY_KEY("")
|
|
6900
|
+
});
|
|
6901
|
+
queryClient.invalidateQueries({
|
|
6902
|
+
queryKey: SELF_NOTIFICATION_COUNT_QUERY_KEY("")
|
|
6903
|
+
});
|
|
6904
|
+
}
|
|
6905
|
+
return data;
|
|
6906
|
+
};
|
|
6907
|
+
var useAcceptCommunityInvitation = (options = {}) => {
|
|
6908
|
+
return useConnectedMutation_default(AcceptCommunityInvitation, options);
|
|
6909
|
+
};
|
|
6910
|
+
|
|
6911
|
+
// src/mutations/communities/useAcceptCommunityRequest.ts
|
|
6912
|
+
var AcceptCommunityRequest = async ({
|
|
6913
|
+
communityId,
|
|
6914
|
+
requestId,
|
|
6915
|
+
clientApiParams,
|
|
6916
|
+
queryClient
|
|
6917
|
+
}) => {
|
|
6918
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6919
|
+
const { data } = await clientApi.post(
|
|
6920
|
+
`/communities/${communityId}/requests/${requestId}`
|
|
6921
|
+
);
|
|
6922
|
+
if (queryClient && data.status === "ok") {
|
|
6923
|
+
queryClient.invalidateQueries({
|
|
6924
|
+
queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
|
|
6925
|
+
});
|
|
6926
|
+
}
|
|
6927
|
+
return data;
|
|
6928
|
+
};
|
|
6929
|
+
var useAcceptCommunityRequest = (options = {}) => {
|
|
6930
|
+
return useConnectedMutation_default(AcceptCommunityRequest, options);
|
|
6931
|
+
};
|
|
6932
|
+
|
|
6933
|
+
// src/mutations/communities/useCreateCommunity.ts
|
|
6934
|
+
var CreateCommunity = async ({
|
|
6935
|
+
community,
|
|
6936
|
+
imageDataUri,
|
|
6937
|
+
clientApiParams,
|
|
6938
|
+
queryClient
|
|
6939
|
+
}) => {
|
|
6940
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6941
|
+
const { data } = await clientApi.post(
|
|
6942
|
+
`/communities`,
|
|
6943
|
+
{
|
|
6944
|
+
community,
|
|
6945
|
+
imageDataUri
|
|
6946
|
+
}
|
|
6947
|
+
);
|
|
6948
|
+
if (queryClient && data.status === "ok") {
|
|
6949
|
+
SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
|
|
6950
|
+
queryClient.invalidateQueries({
|
|
6951
|
+
queryKey: COMMUNITIES_QUERY_KEY()
|
|
6952
|
+
});
|
|
6953
|
+
}
|
|
6954
|
+
return data;
|
|
6955
|
+
};
|
|
6956
|
+
var useCreateCommunity = (options = {}) => {
|
|
6957
|
+
return useConnectedMutation_default(CreateCommunity, options);
|
|
6958
|
+
};
|
|
6959
|
+
|
|
6960
|
+
// src/mutations/communities/useCreateCommunityInvitations.ts
|
|
6961
|
+
var CreateCommunityInvitations = async ({
|
|
6962
|
+
communityId,
|
|
6963
|
+
accountIds,
|
|
6964
|
+
clientApiParams,
|
|
6965
|
+
queryClient
|
|
6966
|
+
}) => {
|
|
6967
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6968
|
+
const { data } = await clientApi.post(
|
|
6969
|
+
`/communities/${communityId}/invites`,
|
|
6970
|
+
{
|
|
6971
|
+
accountIds
|
|
6972
|
+
}
|
|
6973
|
+
);
|
|
6974
|
+
if (queryClient && data.message === "ok") {
|
|
6975
|
+
queryClient.invalidateQueries({
|
|
6976
|
+
queryKey: COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId)
|
|
6977
|
+
});
|
|
6978
|
+
}
|
|
6979
|
+
return data;
|
|
6980
|
+
};
|
|
6981
|
+
var useCreateCommunityInvitations = (options = {}) => {
|
|
6982
|
+
return useConnectedMutation_default(CreateCommunityInvitations, options);
|
|
6983
|
+
};
|
|
6984
|
+
|
|
6985
|
+
// src/mutations/communities/useCreateCommunityRequest.ts
|
|
6986
|
+
var CreateCommunityRequest = async ({
|
|
6987
|
+
communityId,
|
|
6988
|
+
clientApiParams
|
|
6989
|
+
}) => {
|
|
6990
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
6991
|
+
const { data } = await clientApi.post(
|
|
6992
|
+
`/communities/${communityId}/requests`
|
|
6993
|
+
);
|
|
6994
|
+
return data;
|
|
6995
|
+
};
|
|
6996
|
+
var useCreateCommunityRequest = (options = {}) => {
|
|
6997
|
+
return useConnectedMutation_default(CreateCommunityRequest, options);
|
|
6998
|
+
};
|
|
6999
|
+
|
|
7000
|
+
// src/mutations/communities/useDeactivateCommunity.ts
|
|
7001
|
+
var DeactivateCommunity = async ({
|
|
7002
|
+
communityId,
|
|
7003
|
+
community,
|
|
7004
|
+
imageDataUri,
|
|
7005
|
+
clientApiParams,
|
|
7006
|
+
queryClient
|
|
7007
|
+
}) => {
|
|
7008
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7009
|
+
const { data } = await clientApi.post(
|
|
7010
|
+
`/communities/${communityId}`,
|
|
7011
|
+
{
|
|
7012
|
+
community,
|
|
7013
|
+
imageDataUri
|
|
7014
|
+
}
|
|
7015
|
+
);
|
|
7016
|
+
if (queryClient && data.status === "ok") {
|
|
7017
|
+
queryClient.invalidateQueries({
|
|
7018
|
+
queryKey: COMMUNITIES_QUERY_KEY()
|
|
7019
|
+
});
|
|
7020
|
+
}
|
|
7021
|
+
return data;
|
|
7022
|
+
};
|
|
7023
|
+
var useDeactivateCommunity = (options = {}) => {
|
|
7024
|
+
return useConnectedMutation_default(DeactivateCommunity, options);
|
|
7025
|
+
};
|
|
7026
|
+
|
|
7027
|
+
// src/mutations/communities/useDeleteCommunityInvitation.ts
|
|
7028
|
+
var DeleteCommunityInvitation = async ({
|
|
7029
|
+
communityId,
|
|
7030
|
+
requestId,
|
|
7031
|
+
clientApiParams,
|
|
7032
|
+
queryClient
|
|
7033
|
+
}) => {
|
|
7034
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7035
|
+
const { data } = await clientApi.delete(
|
|
7036
|
+
`/communities/${communityId}/invites/${requestId}`
|
|
7037
|
+
);
|
|
7038
|
+
if (queryClient && data.status === "ok") {
|
|
7039
|
+
queryClient.invalidateQueries({
|
|
7040
|
+
queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
|
|
7041
|
+
});
|
|
7042
|
+
}
|
|
7043
|
+
return data;
|
|
7044
|
+
};
|
|
7045
|
+
var useDeleteCommunityInvitation = (options = {}) => {
|
|
7046
|
+
return useConnectedMutation_default(DeleteCommunityInvitation, options);
|
|
7047
|
+
};
|
|
7048
|
+
|
|
7049
|
+
// src/mutations/communities/useJoinCommunity.ts
|
|
7050
|
+
var JoinCommunity = async ({
|
|
7051
|
+
communityId,
|
|
7052
|
+
clientApiParams,
|
|
7053
|
+
queryClient
|
|
7054
|
+
}) => {
|
|
7055
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7056
|
+
const { data } = await clientApi.post(`/communities/${communityId}/join`);
|
|
7057
|
+
if (queryClient && data.status === "ok") {
|
|
7058
|
+
queryClient.invalidateQueries({
|
|
7059
|
+
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
7060
|
+
});
|
|
7061
|
+
queryClient.invalidateQueries({
|
|
7062
|
+
queryKey: COMMUNITIES_QUERY_KEY()
|
|
7063
|
+
});
|
|
7064
|
+
queryClient.invalidateQueries({
|
|
7065
|
+
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
7066
|
+
});
|
|
7067
|
+
queryClient.invalidateQueries({
|
|
7068
|
+
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
7069
|
+
});
|
|
7070
|
+
}
|
|
7071
|
+
return data;
|
|
7072
|
+
};
|
|
7073
|
+
var useJoinCommunity = (options = {}) => {
|
|
7074
|
+
return useConnectedMutation_default(JoinCommunity, options);
|
|
7075
|
+
};
|
|
7076
|
+
|
|
7077
|
+
// src/mutations/communities/useLeaveCommunity.ts
|
|
7078
|
+
var LeaveCommunity = async ({
|
|
7079
|
+
communityId,
|
|
7080
|
+
clientApiParams,
|
|
7081
|
+
queryClient
|
|
7082
|
+
}) => {
|
|
7083
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7084
|
+
const { data } = await clientApi.post(
|
|
7085
|
+
`/communities/${communityId}/leave`
|
|
7086
|
+
);
|
|
7087
|
+
if (queryClient && data.status === "ok") {
|
|
7088
|
+
queryClient.invalidateQueries({
|
|
7089
|
+
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
7090
|
+
});
|
|
7091
|
+
queryClient.invalidateQueries({
|
|
7092
|
+
queryKey: COMMUNITIES_QUERY_KEY()
|
|
7093
|
+
});
|
|
7094
|
+
queryClient.invalidateQueries({
|
|
7095
|
+
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
7096
|
+
});
|
|
7097
|
+
queryClient.invalidateQueries({
|
|
7098
|
+
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
7099
|
+
});
|
|
7100
|
+
}
|
|
7101
|
+
return data;
|
|
7102
|
+
};
|
|
7103
|
+
var useLeaveCommunity = (options = {}) => {
|
|
7104
|
+
return useConnectedMutation_default(LeaveCommunity, options);
|
|
7105
|
+
};
|
|
7106
|
+
|
|
7107
|
+
// src/mutations/communities/useRejectCommunityRequest.ts
|
|
7108
|
+
var RejectCommunityRequest = async ({
|
|
7109
|
+
communityId,
|
|
7110
|
+
requestId,
|
|
7111
|
+
clientApiParams,
|
|
7112
|
+
queryClient
|
|
7113
|
+
}) => {
|
|
7114
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7115
|
+
const { data } = await clientApi.delete(`/communities/${communityId}/requests/${requestId}`);
|
|
7116
|
+
if (queryClient && data.status === "ok") {
|
|
7117
|
+
SET_COMMUNITY_REQUEST_QUERY_DATA(
|
|
7118
|
+
queryClient,
|
|
7119
|
+
[communityId, data.data.id],
|
|
7120
|
+
data
|
|
7121
|
+
);
|
|
7122
|
+
queryClient.invalidateQueries({
|
|
7123
|
+
queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
|
|
7124
|
+
});
|
|
7125
|
+
}
|
|
7126
|
+
return data;
|
|
7127
|
+
};
|
|
7128
|
+
var useRejectCommunityRequest = (options = {}) => {
|
|
7129
|
+
return useConnectedMutation_default(RejectCommunityRequest, options);
|
|
7130
|
+
};
|
|
7131
|
+
|
|
7132
|
+
// src/mutations/communities/useRemoveCommunityMember.ts
|
|
7133
|
+
var RemoveCommunityMember = async ({
|
|
7134
|
+
communityId,
|
|
7135
|
+
accountId,
|
|
7136
|
+
clientApiParams,
|
|
7137
|
+
queryClient
|
|
7138
|
+
}) => {
|
|
7139
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7140
|
+
const { data } = await clientApi.delete(
|
|
7141
|
+
`/communities/${communityId}/members/${accountId}`
|
|
7142
|
+
);
|
|
7143
|
+
if (queryClient && data.status === "ok") {
|
|
7144
|
+
queryClient.invalidateQueries({
|
|
7145
|
+
queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
|
|
7146
|
+
});
|
|
7147
|
+
}
|
|
7148
|
+
return data;
|
|
7149
|
+
};
|
|
7150
|
+
var useRemoveCommunityMember = (options = {}) => {
|
|
7151
|
+
return useConnectedMutation_default(RemoveCommunityMember, options);
|
|
7152
|
+
};
|
|
7153
|
+
|
|
7154
|
+
// src/mutations/communities/useUpdateCommunity.ts
|
|
7155
|
+
var UpdateCommunity = async ({
|
|
7156
|
+
communityId,
|
|
7157
|
+
community,
|
|
7158
|
+
imageDataUri,
|
|
7159
|
+
clientApiParams,
|
|
7160
|
+
queryClient
|
|
7161
|
+
}) => {
|
|
7162
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7163
|
+
const { data } = await clientApi.put(
|
|
7164
|
+
`/communities/${communityId}`,
|
|
7165
|
+
{
|
|
7166
|
+
community,
|
|
7167
|
+
imageDataUri
|
|
7168
|
+
}
|
|
7169
|
+
);
|
|
7170
|
+
if (queryClient && data.status === "ok") {
|
|
7171
|
+
SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
|
|
7172
|
+
queryClient.invalidateQueries({
|
|
7173
|
+
queryKey: COMMUNITIES_QUERY_KEY()
|
|
7174
|
+
});
|
|
7175
|
+
}
|
|
7176
|
+
return data;
|
|
7177
|
+
};
|
|
7178
|
+
var useUpdateCommunity = (options = {}) => {
|
|
7179
|
+
return useConnectedMutation_default(UpdateCommunity, options);
|
|
7180
|
+
};
|
|
7181
|
+
|
|
7182
|
+
// src/mutations/communities/useDemoteCommunityModerator.ts
|
|
7183
|
+
var DemoteCommunityModerator = async ({
|
|
7184
|
+
communityId,
|
|
7185
|
+
accountId,
|
|
7186
|
+
clientApiParams,
|
|
7187
|
+
queryClient
|
|
7188
|
+
}) => {
|
|
7189
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7190
|
+
const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/demote`);
|
|
7191
|
+
if (queryClient && data.status === "ok") {
|
|
7192
|
+
queryClient.invalidateQueries({
|
|
7193
|
+
queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
|
|
7194
|
+
});
|
|
7195
|
+
}
|
|
7196
|
+
return data;
|
|
7197
|
+
};
|
|
7198
|
+
var useDemoteCommunityModerator = (options = {}) => {
|
|
7199
|
+
return useConnectedMutation_default(DemoteCommunityModerator, options);
|
|
7200
|
+
};
|
|
7201
|
+
|
|
7202
|
+
// src/mutations/communities/usePromoteCommunityMember.ts
|
|
7203
|
+
var PromoteCommunityMember = async ({
|
|
7204
|
+
communityId,
|
|
7205
|
+
accountId,
|
|
7206
|
+
clientApiParams,
|
|
7207
|
+
queryClient
|
|
7208
|
+
}) => {
|
|
7209
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7210
|
+
const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/promote`);
|
|
7211
|
+
if (queryClient && data.status === "ok") {
|
|
7212
|
+
queryClient.invalidateQueries({
|
|
7213
|
+
queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
|
|
7214
|
+
});
|
|
7215
|
+
}
|
|
7216
|
+
return data;
|
|
7217
|
+
};
|
|
7218
|
+
var usePromoteCommunityMember = (options = {}) => {
|
|
7219
|
+
return useConnectedMutation_default(PromoteCommunityMember, options);
|
|
7220
|
+
};
|
|
7221
|
+
|
|
7222
|
+
// src/mutations/communities/useCreateCommunityAnnouncement.ts
|
|
7223
|
+
var CreateCommunityAnnouncement = async ({
|
|
7224
|
+
communityId,
|
|
7225
|
+
title,
|
|
7226
|
+
html,
|
|
7227
|
+
email,
|
|
7228
|
+
push,
|
|
7229
|
+
clientApiParams,
|
|
7230
|
+
queryClient
|
|
7231
|
+
}) => {
|
|
7232
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7233
|
+
const { data } = await clientApi.post(
|
|
7234
|
+
`/communities/${communityId}/announcements`,
|
|
7235
|
+
{
|
|
7236
|
+
title,
|
|
7237
|
+
html,
|
|
7238
|
+
email,
|
|
7239
|
+
push
|
|
7240
|
+
}
|
|
7241
|
+
);
|
|
7242
|
+
if (queryClient && data.status === "ok") {
|
|
7243
|
+
queryClient.invalidateQueries({
|
|
7244
|
+
queryKey: COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId)
|
|
7245
|
+
});
|
|
7246
|
+
}
|
|
7247
|
+
return data;
|
|
7248
|
+
};
|
|
7249
|
+
var useCreateCommunityAnnouncement = (options = {}) => {
|
|
7250
|
+
return useConnectedMutation_default(CreateCommunityAnnouncement, options);
|
|
7251
|
+
};
|
|
7252
|
+
|
|
7253
|
+
// src/mutations/communities/useRejectCommunityInvitation.ts
|
|
7254
|
+
var RejectCommunityInvitation = async ({
|
|
7255
|
+
communityId,
|
|
7256
|
+
requestId,
|
|
7257
|
+
clientApiParams,
|
|
7258
|
+
queryClient
|
|
7259
|
+
}) => {
|
|
7260
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7261
|
+
const { data } = await clientApi.put(
|
|
7262
|
+
`/communities/${communityId}/invites/${requestId}`
|
|
7263
|
+
);
|
|
7264
|
+
if (queryClient && data.status === "ok") {
|
|
7265
|
+
SET_COMMUNITY_REQUEST_QUERY_DATA(
|
|
7266
|
+
queryClient,
|
|
7267
|
+
[communityId, data.data.id],
|
|
7268
|
+
data
|
|
7269
|
+
);
|
|
7270
|
+
queryClient.invalidateQueries({
|
|
7271
|
+
queryKey: SELF_NOTIFICATIONS_QUERY_KEY("")
|
|
7272
|
+
});
|
|
7273
|
+
queryClient.invalidateQueries({
|
|
7274
|
+
queryKey: SELF_NOTIFICATION_COUNT_QUERY_KEY("")
|
|
7275
|
+
});
|
|
7276
|
+
}
|
|
7277
|
+
return data;
|
|
7278
|
+
};
|
|
7279
|
+
var useRejectCommunityInvitation = (options = {}) => {
|
|
7280
|
+
return useConnectedMutation_default(RejectCommunityInvitation, options);
|
|
7281
|
+
};
|
|
7282
|
+
|
|
7283
|
+
// src/mutations/listings/useCreateListingSession.ts
|
|
7284
|
+
var CreateListingSession = async ({
|
|
7285
|
+
eventId,
|
|
7286
|
+
session,
|
|
7287
|
+
imageDataUri,
|
|
7288
|
+
clientApiParams,
|
|
7289
|
+
queryClient
|
|
7290
|
+
}) => {
|
|
7291
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7292
|
+
const { data } = await clientApi.post(
|
|
7293
|
+
`/listings/${eventId}/sessions`,
|
|
7294
|
+
{
|
|
7295
|
+
session,
|
|
7296
|
+
imageDataUri
|
|
7297
|
+
}
|
|
7298
|
+
);
|
|
7299
|
+
if (queryClient && data.status === "ok") {
|
|
7300
|
+
queryClient.invalidateQueries({
|
|
7301
|
+
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
7302
|
+
});
|
|
7303
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7304
|
+
}
|
|
7305
|
+
return data;
|
|
7306
|
+
};
|
|
7307
|
+
var useCreateListingSession = (options = {}) => {
|
|
7308
|
+
return useConnectedMutation_default(CreateListingSession, options);
|
|
7309
|
+
};
|
|
7310
|
+
|
|
7311
|
+
// src/mutations/listings/useCreateListingSpeaker.ts
|
|
7312
|
+
var CreateListingSpeaker = async ({
|
|
7313
|
+
eventId,
|
|
7314
|
+
speaker,
|
|
7315
|
+
imageDataUri,
|
|
7316
|
+
clientApiParams,
|
|
7317
|
+
queryClient
|
|
7318
|
+
}) => {
|
|
7319
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7320
|
+
const { data } = await clientApi.post(
|
|
7321
|
+
`/listings/${eventId}/speakers`,
|
|
7322
|
+
{
|
|
7323
|
+
speaker,
|
|
7324
|
+
imageDataUri
|
|
7325
|
+
}
|
|
7326
|
+
);
|
|
7327
|
+
if (queryClient && data.status === "ok") {
|
|
7328
|
+
queryClient.invalidateQueries({
|
|
7329
|
+
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
7330
|
+
});
|
|
7331
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7332
|
+
}
|
|
7333
|
+
return data;
|
|
7334
|
+
};
|
|
7335
|
+
var useCreateListingSpeaker = (options = {}) => {
|
|
7336
|
+
return useConnectedMutation_default(CreateListingSpeaker, options);
|
|
7337
|
+
};
|
|
7338
|
+
|
|
7339
|
+
// src/mutations/listings/useAddListingSponsor.ts
|
|
7340
|
+
var AddListingSponsor = async ({
|
|
7341
|
+
eventId,
|
|
7342
|
+
sponsor,
|
|
7343
|
+
clientApiParams,
|
|
7344
|
+
queryClient
|
|
7345
|
+
}) => {
|
|
7346
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7347
|
+
const { data } = await clientApi.post(
|
|
7348
|
+
`/listings/${eventId}/sponsors`,
|
|
7349
|
+
{
|
|
7350
|
+
sponsorId: sponsor.id
|
|
7351
|
+
}
|
|
7352
|
+
);
|
|
7353
|
+
if (queryClient && data.status === "ok") {
|
|
7354
|
+
queryClient.invalidateQueries({
|
|
7355
|
+
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
7356
|
+
});
|
|
7357
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7358
|
+
}
|
|
7359
|
+
return data;
|
|
7360
|
+
};
|
|
7361
|
+
var useAddListingSponsor = (options = {}) => {
|
|
7362
|
+
return useConnectedMutation_default(AddListingSponsor, options);
|
|
7363
|
+
};
|
|
7364
|
+
|
|
7365
|
+
// src/mutations/listings/useCreateListing.ts
|
|
7366
|
+
var CreateListing = async ({
|
|
7367
|
+
event,
|
|
7368
|
+
imageDataUri,
|
|
7369
|
+
communityId,
|
|
7370
|
+
sponsorIds,
|
|
7371
|
+
speakers,
|
|
7372
|
+
sessions,
|
|
7373
|
+
clientApiParams,
|
|
7374
|
+
queryClient
|
|
7375
|
+
}) => {
|
|
7376
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7377
|
+
const { data } = await clientApi.post(
|
|
7378
|
+
`/listings`,
|
|
7379
|
+
{
|
|
7380
|
+
event,
|
|
7381
|
+
image: imageDataUri ? imageDataUri : void 0,
|
|
7382
|
+
communityId: communityId || void 0,
|
|
7383
|
+
sponsorIds: sponsorIds || void 0,
|
|
7384
|
+
speakers,
|
|
7385
|
+
sessions
|
|
7386
|
+
}
|
|
7387
|
+
);
|
|
7388
|
+
if (queryClient && data.status === "ok") {
|
|
7389
|
+
queryClient.invalidateQueries({
|
|
7390
|
+
queryKey: LISTINGS_QUERY_KEY(false)
|
|
7391
|
+
});
|
|
7392
|
+
queryClient.invalidateQueries({
|
|
7393
|
+
queryKey: LISTINGS_QUERY_KEY(true)
|
|
7394
|
+
});
|
|
7395
|
+
if (communityId) {
|
|
7396
|
+
queryClient.invalidateQueries({
|
|
7397
|
+
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
7398
|
+
});
|
|
7399
|
+
}
|
|
7400
|
+
queryClient.setQueryData(
|
|
7401
|
+
[...EVENT_QUERY_KEY(data.data.id), clientApiParams.locale],
|
|
7402
|
+
data
|
|
7403
|
+
);
|
|
7404
|
+
}
|
|
7405
|
+
return data;
|
|
7406
|
+
};
|
|
7407
|
+
var useCreateListing = (options = {}) => {
|
|
7408
|
+
return useConnectedMutation_default(CreateListing, options);
|
|
7409
|
+
};
|
|
7410
|
+
|
|
7411
|
+
// src/mutations/listings/useDeleteListingSession.ts
|
|
7412
|
+
var DeleteListingSession = async ({
|
|
7413
|
+
eventId,
|
|
7414
|
+
sessionId,
|
|
7415
|
+
clientApiParams,
|
|
7416
|
+
queryClient
|
|
7417
|
+
}) => {
|
|
7418
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7419
|
+
const { data } = await clientApi.delete(
|
|
7420
|
+
`/listings/${eventId}/sessions/${sessionId}`
|
|
7421
|
+
);
|
|
7422
|
+
if (queryClient && data.status === "ok") {
|
|
7423
|
+
queryClient.invalidateQueries({
|
|
7424
|
+
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
7425
|
+
});
|
|
7426
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7427
|
+
}
|
|
7428
|
+
return data;
|
|
7429
|
+
};
|
|
7430
|
+
var useDeleteListingSession = (options = {}) => {
|
|
7431
|
+
return useConnectedMutation_default(DeleteListingSession, options);
|
|
7432
|
+
};
|
|
7433
|
+
|
|
7434
|
+
// src/mutations/listings/useDeleteListingSpeaker.ts
|
|
7435
|
+
var DeleteListingSpeaker = async ({
|
|
7436
|
+
eventId,
|
|
7437
|
+
speakerId,
|
|
7438
|
+
clientApiParams,
|
|
7439
|
+
queryClient
|
|
7440
|
+
}) => {
|
|
7441
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7442
|
+
const { data } = await clientApi.delete(
|
|
7443
|
+
`/listings/${eventId}/speakers/${speakerId}`
|
|
7444
|
+
);
|
|
7445
|
+
if (queryClient && data.status === "ok") {
|
|
7446
|
+
queryClient.invalidateQueries({
|
|
7447
|
+
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
7448
|
+
});
|
|
7449
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7450
|
+
}
|
|
7451
|
+
return data;
|
|
7452
|
+
};
|
|
7453
|
+
var useDeleteListingSpeaker = (options = {}) => {
|
|
7454
|
+
return useConnectedMutation_default(DeleteListingSpeaker, options);
|
|
7455
|
+
};
|
|
7456
|
+
|
|
7457
|
+
// src/mutations/listings/useRemoveListingSponsor.ts
|
|
7458
|
+
var RemoveListingSponsor = async ({
|
|
7459
|
+
eventId,
|
|
7460
|
+
sponsorId,
|
|
7461
|
+
clientApiParams,
|
|
7462
|
+
queryClient
|
|
7463
|
+
}) => {
|
|
7464
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7465
|
+
const { data } = await clientApi.delete(
|
|
7466
|
+
`/listings/${eventId}/sponsors/${sponsorId}`
|
|
7467
|
+
);
|
|
7468
|
+
if (queryClient && data.status === "ok") {
|
|
7469
|
+
queryClient.invalidateQueries({
|
|
7470
|
+
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
7471
|
+
});
|
|
7472
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7473
|
+
}
|
|
7474
|
+
return data;
|
|
7475
|
+
};
|
|
7476
|
+
var useRemoveListingSponsor = (options = {}) => {
|
|
7477
|
+
return useConnectedMutation_default(RemoveListingSponsor, options);
|
|
7478
|
+
};
|
|
7479
|
+
|
|
7480
|
+
// src/mutations/listings/useCheckinListingRegistration.ts
|
|
7481
|
+
var CheckinListingRegistration = async ({
|
|
7482
|
+
eventId,
|
|
7483
|
+
registrationId,
|
|
7484
|
+
clientApiParams,
|
|
7485
|
+
queryClient
|
|
7486
|
+
}) => {
|
|
7487
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7488
|
+
const { data } = await clientApi.post(
|
|
7489
|
+
`/listings/${eventId}/registrations/${registrationId}`
|
|
7490
|
+
);
|
|
7491
|
+
if (queryClient && data.status === "ok") {
|
|
7492
|
+
queryClient.invalidateQueries({
|
|
7493
|
+
queryKey: LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
7494
|
+
});
|
|
7495
|
+
}
|
|
7496
|
+
return data;
|
|
7497
|
+
};
|
|
7498
|
+
var useCheckinListingRegistration = (options = {}) => {
|
|
7499
|
+
return useConnectedMutation_default(CheckinListingRegistration, options);
|
|
7500
|
+
};
|
|
7501
|
+
|
|
7502
|
+
// src/mutations/listings/useUpdateListing.ts
|
|
7503
|
+
var UpdateListing = async ({
|
|
7504
|
+
eventId,
|
|
7505
|
+
event,
|
|
7506
|
+
base64,
|
|
7507
|
+
clientApiParams,
|
|
7508
|
+
queryClient
|
|
7509
|
+
}) => {
|
|
7510
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7511
|
+
const { data } = await clientApi.put(
|
|
7512
|
+
`/listings/${eventId}`,
|
|
7513
|
+
{
|
|
7514
|
+
event,
|
|
7515
|
+
image: base64 ?? void 0
|
|
7516
|
+
}
|
|
7517
|
+
);
|
|
7518
|
+
if (queryClient && data.status === "ok") {
|
|
7519
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data, [
|
|
7520
|
+
clientApiParams.locale
|
|
7521
|
+
]);
|
|
7522
|
+
queryClient.invalidateQueries({ queryKey: EVENTS_QUERY_KEY() });
|
|
7523
|
+
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
7524
|
+
}
|
|
7525
|
+
return data;
|
|
7526
|
+
};
|
|
7527
|
+
var useUpdateListing = (options = {}) => {
|
|
7528
|
+
return useConnectedMutation_default(UpdateListing, options);
|
|
7529
|
+
};
|
|
7530
|
+
|
|
7531
|
+
// src/mutations/listings/useUpdateListingSession.ts
|
|
7532
|
+
var UpdateListingSession = async ({
|
|
7533
|
+
eventId,
|
|
7534
|
+
session,
|
|
7535
|
+
sessionId,
|
|
7536
|
+
imageDataUri,
|
|
7537
|
+
clientApiParams,
|
|
7538
|
+
queryClient
|
|
7539
|
+
}) => {
|
|
7540
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7541
|
+
const { data } = await clientApi.put(
|
|
7542
|
+
`/listings/${eventId}/sessions/${sessionId}`,
|
|
7543
|
+
{
|
|
7544
|
+
session,
|
|
7545
|
+
imageDataUri
|
|
7546
|
+
}
|
|
7547
|
+
);
|
|
7548
|
+
if (queryClient && data.status === "ok") {
|
|
7549
|
+
queryClient.invalidateQueries({
|
|
7550
|
+
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
7551
|
+
});
|
|
7552
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7553
|
+
}
|
|
7554
|
+
return data;
|
|
7555
|
+
};
|
|
7556
|
+
var useUpdateListingSession = (options = {}) => {
|
|
7557
|
+
return useConnectedMutation_default(UpdateListingSession, options);
|
|
7558
|
+
};
|
|
7559
|
+
|
|
7560
|
+
// src/mutations/listings/useUpdateListingSpeaker.ts
|
|
7561
|
+
var UpdateListingSpeaker = async ({
|
|
7562
|
+
eventId,
|
|
7563
|
+
speaker,
|
|
7564
|
+
speakerId,
|
|
7565
|
+
imageDataUri,
|
|
7566
|
+
clientApiParams,
|
|
7567
|
+
queryClient
|
|
7568
|
+
}) => {
|
|
7569
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
7570
|
+
const { data } = await clientApi.put(
|
|
7571
|
+
`/listings/${eventId}/speakers/${speakerId}`,
|
|
7572
|
+
{
|
|
7573
|
+
speaker,
|
|
7574
|
+
imageDataUri
|
|
7575
|
+
}
|
|
7576
|
+
);
|
|
7577
|
+
if (queryClient && data.status === "ok") {
|
|
7578
|
+
queryClient.invalidateQueries({
|
|
7579
|
+
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
7580
|
+
});
|
|
7581
|
+
SET_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7582
|
+
}
|
|
7583
|
+
return data;
|
|
7584
|
+
};
|
|
7585
|
+
var useUpdateListingSpeaker = (options = {}) => {
|
|
7586
|
+
return useConnectedMutation_default(UpdateListingSpeaker, options);
|
|
7587
|
+
};
|
|
7230
7588
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7231
7589
|
0 && (module.exports = {
|
|
7232
7590
|
ACCOUNTS_QUERY_KEY,
|
|
@@ -7240,14 +7598,13 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7240
7598
|
ACTIVITY_COMMENTS_QUERY_KEY,
|
|
7241
7599
|
ACTIVITY_QUERY_KEY,
|
|
7242
7600
|
ADVERTISEMENT_QUERY_KEY,
|
|
7601
|
+
AcceptCommunityInvitation,
|
|
7602
|
+
AcceptCommunityRequest,
|
|
7243
7603
|
AcceptTransfer,
|
|
7244
7604
|
AccountType,
|
|
7245
|
-
|
|
7605
|
+
AddListingSponsor,
|
|
7246
7606
|
AddSelfChatChannelMember,
|
|
7247
7607
|
AddSelfDelegate,
|
|
7248
|
-
AddSelfEventListingSession,
|
|
7249
|
-
AddSelfEventListingSpeaker,
|
|
7250
|
-
AddSelfEventListingSponsor,
|
|
7251
7608
|
AddSelfEventRegistrationPurchase,
|
|
7252
7609
|
AddSelfEventRegistrationPurchaseAddOn,
|
|
7253
7610
|
AddSelfEventSession,
|
|
@@ -7258,10 +7615,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7258
7615
|
COMMUNITY_ACTIVITIES_QUERY_KEY,
|
|
7259
7616
|
COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
|
|
7260
7617
|
COMMUNITY_EVENTS_QUERY_KEY,
|
|
7618
|
+
COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
|
|
7261
7619
|
COMMUNITY_MEDIA_QUERY_KEY,
|
|
7262
7620
|
COMMUNITY_MEMBERS_QUERY_KEY,
|
|
7263
|
-
COMMUNITY_MODERATORS_QUERY_KEY,
|
|
7264
7621
|
COMMUNITY_QUERY_KEY,
|
|
7622
|
+
COMMUNITY_REQUESTS_QUERY_KEY,
|
|
7623
|
+
COMMUNITY_REQUEST_QUERY_KEY,
|
|
7265
7624
|
COMMUNITY_SPONSORS_QUERY_KEY,
|
|
7266
7625
|
CONTENTS_QUERY_KEY,
|
|
7267
7626
|
CONTENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -7275,27 +7634,39 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7275
7634
|
CancelTransfer,
|
|
7276
7635
|
CaptureInvoicePayment,
|
|
7277
7636
|
CaptureSelfEventRegistrationPayment,
|
|
7637
|
+
CheckinListingRegistration,
|
|
7278
7638
|
CommunityAccess,
|
|
7279
7639
|
CommunityMembershipRole,
|
|
7640
|
+
CommunityRequestStatus,
|
|
7280
7641
|
CompleteEventActivation,
|
|
7281
7642
|
ConnectedXMProvider,
|
|
7282
7643
|
ContentTypeFormat,
|
|
7283
7644
|
CouponType,
|
|
7645
|
+
CreateCommunity,
|
|
7284
7646
|
CreateCommunityAnnouncement,
|
|
7647
|
+
CreateCommunityInvitations,
|
|
7648
|
+
CreateCommunityRequest,
|
|
7285
7649
|
CreateEventLead,
|
|
7650
|
+
CreateListing,
|
|
7651
|
+
CreateListingSession,
|
|
7652
|
+
CreateListingSpeaker,
|
|
7286
7653
|
CreateSelfChatChannel,
|
|
7287
7654
|
CreateSelfChatChannelMessage,
|
|
7288
|
-
CreateSelfEventListing,
|
|
7289
7655
|
CreateSubscription,
|
|
7290
7656
|
CreateSupportTicket,
|
|
7291
7657
|
CreateTeamAccount,
|
|
7292
7658
|
Currency,
|
|
7659
|
+
DeactivateCommunity,
|
|
7293
7660
|
DeleteActivity,
|
|
7661
|
+
DeleteCommunityInvitation,
|
|
7662
|
+
DeleteListingSession,
|
|
7663
|
+
DeleteListingSpeaker,
|
|
7294
7664
|
DeleteReshare,
|
|
7295
7665
|
DeleteSelf,
|
|
7296
7666
|
DeleteSelfChatChannel,
|
|
7297
7667
|
DeleteSelfChatChannelMessage,
|
|
7298
7668
|
DeleteSelfPushDevice,
|
|
7669
|
+
DemoteCommunityModerator,
|
|
7299
7670
|
EVENTS_FEATURED_QUERY_KEY,
|
|
7300
7671
|
EVENTS_QUERY_KEY,
|
|
7301
7672
|
EVENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -7337,9 +7708,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7337
7708
|
GetCommunityActivities,
|
|
7338
7709
|
GetCommunityAnnouncements,
|
|
7339
7710
|
GetCommunityEvents,
|
|
7711
|
+
GetCommunityInvitableAccounts,
|
|
7340
7712
|
GetCommunityMedia,
|
|
7341
7713
|
GetCommunityMembers,
|
|
7342
|
-
|
|
7714
|
+
GetCommunityRequest,
|
|
7715
|
+
GetCommunityRequests,
|
|
7343
7716
|
GetCommunitySponsors,
|
|
7344
7717
|
GetContent,
|
|
7345
7718
|
GetContentActivities,
|
|
@@ -7395,6 +7768,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7395
7768
|
GetSelfEventRegistrationPurchaseAddOns,
|
|
7396
7769
|
GetSelfEventRegistrationPurchaseReservationSections,
|
|
7397
7770
|
GetSelfEventRegistrationPurchaseSections,
|
|
7771
|
+
GetSelfEventRegistrationStatus,
|
|
7398
7772
|
GetSelfEventSessions,
|
|
7399
7773
|
GetSelfEvents,
|
|
7400
7774
|
GetSelfFeed,
|
|
@@ -7418,9 +7792,14 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7418
7792
|
INVOICE_QUERY_KEY,
|
|
7419
7793
|
ImageType,
|
|
7420
7794
|
InvoiceStatus,
|
|
7795
|
+
JoinCommunity,
|
|
7421
7796
|
LEVELS_QUERY_KEY,
|
|
7422
7797
|
LEVEL_QUERY_KEY,
|
|
7423
7798
|
LEVEL_SPONSORS_QUERY_KEY,
|
|
7799
|
+
LISTINGS_QUERY_KEY,
|
|
7800
|
+
LISTING_QUERY_KEY,
|
|
7801
|
+
LISTING_REGISTRATIONS_QUERY_KEY,
|
|
7802
|
+
LeaveCommunity,
|
|
7424
7803
|
LeaveSelfChatChannel,
|
|
7425
7804
|
LikeActivity,
|
|
7426
7805
|
MergeInfinitePages,
|
|
@@ -7430,17 +7809,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7430
7809
|
ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
|
|
7431
7810
|
ORGANIZATION_QUERY_KEY,
|
|
7432
7811
|
ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
|
|
7812
|
+
PromoteCommunityMember,
|
|
7433
7813
|
PushDeviceAppType,
|
|
7434
7814
|
PushService,
|
|
7435
7815
|
RegisterCancelledEventRegistration,
|
|
7436
7816
|
RegistrationQuestionType,
|
|
7437
7817
|
RegistrationStatus,
|
|
7818
|
+
RejectCommunityInvitation,
|
|
7819
|
+
RejectCommunityRequest,
|
|
7438
7820
|
RejectTransfer,
|
|
7439
|
-
|
|
7821
|
+
RemoveCommunityMember,
|
|
7822
|
+
RemoveListingSponsor,
|
|
7440
7823
|
RemoveSelfDelegate,
|
|
7441
|
-
RemoveSelfEventListingSession,
|
|
7442
|
-
RemoveSelfEventListingSpeaker,
|
|
7443
|
-
RemoveSelfEventListingSponsor,
|
|
7444
7824
|
RemoveSelfEventRegistrationCoupon,
|
|
7445
7825
|
RemoveSelfEventRegistrationPurchase,
|
|
7446
7826
|
RemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -7457,15 +7837,13 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7457
7837
|
SELF_DELEGATES_QUERY_KEY,
|
|
7458
7838
|
SELF_DELEGATE_OF_QUERY_KEY,
|
|
7459
7839
|
SELF_EVENTS_QUERY_KEY,
|
|
7460
|
-
SELF_EVENT_LISTINGS_QUERY_KEY,
|
|
7461
|
-
SELF_EVENT_LISTING_QUERY_KEY,
|
|
7462
|
-
SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY,
|
|
7463
7840
|
SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY,
|
|
7464
7841
|
SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY,
|
|
7465
7842
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
7466
7843
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
7467
7844
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
7468
7845
|
SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
7846
|
+
SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
|
|
7469
7847
|
SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
7470
7848
|
SELF_FEED_QUERY_KEY,
|
|
7471
7849
|
SELF_INTERESTS_QUERY_KEY,
|
|
@@ -7502,8 +7880,9 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7502
7880
|
SET_COMMUNITY_EVENTS_QUERY_DATA,
|
|
7503
7881
|
SET_COMMUNITY_MEDIA_QUERY_DATA,
|
|
7504
7882
|
SET_COMMUNITY_MEMBERS_QUERY_DATA,
|
|
7505
|
-
SET_COMMUNITY_MODERATORS_QUERY_DATA,
|
|
7506
7883
|
SET_COMMUNITY_QUERY_DATA,
|
|
7884
|
+
SET_COMMUNITY_REQUESTS_QUERY_DATA,
|
|
7885
|
+
SET_COMMUNITY_REQUEST_QUERY_DATA,
|
|
7507
7886
|
SET_COMMUNITY_SPONSORS_QUERY_DATA,
|
|
7508
7887
|
SET_CONTENTS_QUERY_DATA,
|
|
7509
7888
|
SET_CONTENT_ACTIVITIES_QUERY_DATA,
|
|
@@ -7532,6 +7911,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7532
7911
|
SET_LEVELS_QUERY_DATA,
|
|
7533
7912
|
SET_LEVEL_QUERY_DATA,
|
|
7534
7913
|
SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
7914
|
+
SET_LISTING_QUERY_DATA,
|
|
7535
7915
|
SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
7536
7916
|
SET_PUSH_DEVICE_QUERY_DATA,
|
|
7537
7917
|
SET_SELF_CHAT_CHANNELS_QUERY_DATA,
|
|
@@ -7539,12 +7919,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7539
7919
|
SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
|
|
7540
7920
|
SET_SELF_CHAT_CHANNEL_QUERY_DATA,
|
|
7541
7921
|
SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
|
|
7542
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA,
|
|
7543
7922
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
|
|
7544
7923
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
7545
7924
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
7546
7925
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
7547
7926
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
|
|
7927
|
+
SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
|
|
7548
7928
|
SET_SELF_QUERY_DATA,
|
|
7549
7929
|
SET_SERIES_EVENTS_QUERY_DATA,
|
|
7550
7930
|
SET_SERIES_LIST_QUERY_DATA,
|
|
@@ -7555,10 +7935,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7555
7935
|
SPONSOR_QUERY_KEY,
|
|
7556
7936
|
SelectSelfEventRegistrationCoupon,
|
|
7557
7937
|
SelectSelfEventRegistrationPurchaseReservation,
|
|
7558
|
-
SelfCheckinRegistration,
|
|
7559
7938
|
SelfCreateActivity,
|
|
7560
|
-
SelfJoinCommunity,
|
|
7561
|
-
SelfLeaveCommunity,
|
|
7562
7939
|
SelfUpdateCommunityMembership,
|
|
7563
7940
|
SubmitSelfEventRegistration,
|
|
7564
7941
|
SubscriptionStatus,
|
|
@@ -7569,11 +7946,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7569
7946
|
UnfollowAccount,
|
|
7570
7947
|
UnlikeActivity,
|
|
7571
7948
|
UpdateCommunity,
|
|
7949
|
+
UpdateListing,
|
|
7950
|
+
UpdateListingSession,
|
|
7951
|
+
UpdateListingSpeaker,
|
|
7572
7952
|
UpdateSelf,
|
|
7573
7953
|
UpdateSelfChatChannelNotifications,
|
|
7574
|
-
UpdateSelfEventListing,
|
|
7575
|
-
UpdateSelfEventListingSession,
|
|
7576
|
-
UpdateSelfEventListingSpeaker,
|
|
7577
7954
|
UpdateSelfEventRegistrationQuestionResponse,
|
|
7578
7955
|
UpdateSelfImage,
|
|
7579
7956
|
UpdateSelfLead,
|
|
@@ -7619,13 +7996,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7619
7996
|
isTypeTrack,
|
|
7620
7997
|
isTypeTransfer,
|
|
7621
7998
|
setFirstPageData,
|
|
7999
|
+
useAcceptCommunityInvitation,
|
|
8000
|
+
useAcceptCommunityRequest,
|
|
7622
8001
|
useAcceptTransfer,
|
|
7623
|
-
|
|
8002
|
+
useAddListingSponsor,
|
|
7624
8003
|
useAddSelfChatChannelMember,
|
|
7625
8004
|
useAddSelfDelegate,
|
|
7626
|
-
useAddSelfEventListingSession,
|
|
7627
|
-
useAddSelfEventListingSpeaker,
|
|
7628
|
-
useAddSelfEventListingSponsor,
|
|
7629
8005
|
useAddSelfEventRegistrationPurchase,
|
|
7630
8006
|
useAddSelfEventRegistrationPurchaseAddOn,
|
|
7631
8007
|
useAddSelfEventSession,
|
|
@@ -7634,25 +8010,36 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7634
8010
|
useCancelTransfer,
|
|
7635
8011
|
useCaptureInvoicePayment,
|
|
7636
8012
|
useCaptureSelfEventRegistrationPayment,
|
|
8013
|
+
useCheckinListingRegistration,
|
|
7637
8014
|
useCompleteEventActivation,
|
|
7638
8015
|
useConnectedInfiniteQuery,
|
|
7639
8016
|
useConnectedMutation,
|
|
7640
8017
|
useConnectedSingleQuery,
|
|
7641
8018
|
useConnectedXM,
|
|
8019
|
+
useCreateCommunity,
|
|
7642
8020
|
useCreateCommunityAnnouncement,
|
|
8021
|
+
useCreateCommunityInvitations,
|
|
8022
|
+
useCreateCommunityRequest,
|
|
7643
8023
|
useCreateEventLead,
|
|
8024
|
+
useCreateListing,
|
|
8025
|
+
useCreateListingSession,
|
|
8026
|
+
useCreateListingSpeaker,
|
|
7644
8027
|
useCreateSelfChatChannel,
|
|
7645
8028
|
useCreateSelfChatChannelMessage,
|
|
7646
|
-
useCreateSelfEventListing,
|
|
7647
8029
|
useCreateSubscription,
|
|
7648
8030
|
useCreateSupportTicket,
|
|
7649
8031
|
useCreateTeamAccount,
|
|
8032
|
+
useDeactivateCommunity,
|
|
7650
8033
|
useDeleteActivity,
|
|
8034
|
+
useDeleteCommunityInvitation,
|
|
8035
|
+
useDeleteListingSession,
|
|
8036
|
+
useDeleteListingSpeaker,
|
|
7651
8037
|
useDeleteReshare,
|
|
7652
8038
|
useDeleteSelf,
|
|
7653
8039
|
useDeleteSelfChatChannel,
|
|
7654
8040
|
useDeleteSelfChatChannelMessage,
|
|
7655
8041
|
useDeleteSelfPushDevice,
|
|
8042
|
+
useDemoteCommunityModerator,
|
|
7656
8043
|
useFollowAccount,
|
|
7657
8044
|
useGetAccount,
|
|
7658
8045
|
useGetAccountActivities,
|
|
@@ -7671,9 +8058,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7671
8058
|
useGetCommunityActivities,
|
|
7672
8059
|
useGetCommunityAnnouncements,
|
|
7673
8060
|
useGetCommunityEvents,
|
|
8061
|
+
useGetCommunityInvitableAccounts,
|
|
7674
8062
|
useGetCommunityMedia,
|
|
7675
8063
|
useGetCommunityMembers,
|
|
7676
|
-
|
|
8064
|
+
useGetCommunityRequest,
|
|
8065
|
+
useGetCommunityRequests,
|
|
7677
8066
|
useGetCommunitySponsors,
|
|
7678
8067
|
useGetContent,
|
|
7679
8068
|
useGetContentActivities,
|
|
@@ -7728,6 +8117,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7728
8117
|
useGetSelfEventRegistrationPurchaseAddOns,
|
|
7729
8118
|
useGetSelfEventRegistrationPurchaseReservationSections,
|
|
7730
8119
|
useGetSelfEventRegistrationPurchaseSections,
|
|
8120
|
+
useGetSelfEventRegistrationStatus,
|
|
7731
8121
|
useGetSelfEventSessions,
|
|
7732
8122
|
useGetSelfEvents,
|
|
7733
8123
|
useGetSelfFeed,
|
|
@@ -7748,15 +8138,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7748
8138
|
useGetSeriesList,
|
|
7749
8139
|
useGetSponsor,
|
|
7750
8140
|
useGetSponsors,
|
|
8141
|
+
useJoinCommunity,
|
|
8142
|
+
useLeaveCommunity,
|
|
7751
8143
|
useLeaveSelfChatChannel,
|
|
7752
8144
|
useLikeActivity,
|
|
8145
|
+
usePromoteCommunityMember,
|
|
7753
8146
|
useRegisterCancelledEventRegistration,
|
|
8147
|
+
useRejectCommunityInvitation,
|
|
8148
|
+
useRejectCommunityRequest,
|
|
7754
8149
|
useRejectTransfer,
|
|
7755
|
-
|
|
8150
|
+
useRemoveCommunityMember,
|
|
8151
|
+
useRemoveListingSponsor,
|
|
7756
8152
|
useRemoveSelfDelegate,
|
|
7757
|
-
useRemoveSelfEventListingSession,
|
|
7758
|
-
useRemoveSelfEventListingSpeaker,
|
|
7759
|
-
useRemoveSelfEventListingSponsor,
|
|
7760
8153
|
useRemoveSelfEventRegistrationCoupon,
|
|
7761
8154
|
useRemoveSelfEventRegistrationPurchase,
|
|
7762
8155
|
useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -7764,21 +8157,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7764
8157
|
useReshareActivity,
|
|
7765
8158
|
useSelectSelfEventRegistrationCoupon,
|
|
7766
8159
|
useSelectSelfEventRegistrationPurchaseReservation,
|
|
7767
|
-
useSelfCheckinRegistration,
|
|
7768
8160
|
useSelfCreateActivity,
|
|
7769
|
-
useSelfJoinCommunity,
|
|
7770
|
-
useSelfLeaveCommunity,
|
|
7771
8161
|
useSelfUpdateCommunityMembership,
|
|
7772
8162
|
useSubmitSelfEventRegistration,
|
|
7773
8163
|
useTransferPurchase,
|
|
7774
8164
|
useUnfollowAccount,
|
|
7775
8165
|
useUnlikeActivity,
|
|
7776
8166
|
useUpdateCommunity,
|
|
8167
|
+
useUpdateListing,
|
|
8168
|
+
useUpdateListingSession,
|
|
8169
|
+
useUpdateListingSpeaker,
|
|
7777
8170
|
useUpdateSelf,
|
|
7778
8171
|
useUpdateSelfChatChannelNotifications,
|
|
7779
|
-
useUpdateSelfEventListing,
|
|
7780
|
-
useUpdateSelfEventListingSession,
|
|
7781
|
-
useUpdateSelfEventListingSpeaker,
|
|
7782
8172
|
useUpdateSelfEventRegistrationQuestionResponse,
|
|
7783
8173
|
useUpdateSelfImage,
|
|
7784
8174
|
useUpdateSelfLead,
|