@connectedxm/client 0.3.5 → 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 +395 -215
- package/dist/index.d.ts +395 -215
- package/dist/index.js +1260 -818
- package/dist/index.mjs +1186 -780
- 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,9 +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
|
+
COMMUNITY_MEDIA_QUERY_KEY: () => COMMUNITY_MEDIA_QUERY_KEY,
|
|
62
63
|
COMMUNITY_MEMBERS_QUERY_KEY: () => COMMUNITY_MEMBERS_QUERY_KEY,
|
|
63
|
-
COMMUNITY_MODERATORS_QUERY_KEY: () => COMMUNITY_MODERATORS_QUERY_KEY,
|
|
64
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,
|
|
65
67
|
COMMUNITY_SPONSORS_QUERY_KEY: () => COMMUNITY_SPONSORS_QUERY_KEY,
|
|
66
68
|
CONTENTS_QUERY_KEY: () => CONTENTS_QUERY_KEY,
|
|
67
69
|
CONTENT_ACTIVITIES_QUERY_KEY: () => CONTENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -75,27 +77,39 @@ __export(src_exports, {
|
|
|
75
77
|
CancelTransfer: () => CancelTransfer,
|
|
76
78
|
CaptureInvoicePayment: () => CaptureInvoicePayment,
|
|
77
79
|
CaptureSelfEventRegistrationPayment: () => CaptureSelfEventRegistrationPayment,
|
|
80
|
+
CheckinListingRegistration: () => CheckinListingRegistration,
|
|
78
81
|
CommunityAccess: () => CommunityAccess,
|
|
79
82
|
CommunityMembershipRole: () => CommunityMembershipRole,
|
|
83
|
+
CommunityRequestStatus: () => CommunityRequestStatus,
|
|
80
84
|
CompleteEventActivation: () => CompleteEventActivation,
|
|
81
85
|
ConnectedXMProvider: () => ConnectedXMProvider,
|
|
82
86
|
ContentTypeFormat: () => ContentTypeFormat,
|
|
83
87
|
CouponType: () => CouponType,
|
|
88
|
+
CreateCommunity: () => CreateCommunity,
|
|
84
89
|
CreateCommunityAnnouncement: () => CreateCommunityAnnouncement,
|
|
90
|
+
CreateCommunityInvitations: () => CreateCommunityInvitations,
|
|
91
|
+
CreateCommunityRequest: () => CreateCommunityRequest,
|
|
85
92
|
CreateEventLead: () => CreateEventLead,
|
|
93
|
+
CreateListing: () => CreateListing,
|
|
94
|
+
CreateListingSession: () => CreateListingSession,
|
|
95
|
+
CreateListingSpeaker: () => CreateListingSpeaker,
|
|
86
96
|
CreateSelfChatChannel: () => CreateSelfChatChannel,
|
|
87
97
|
CreateSelfChatChannelMessage: () => CreateSelfChatChannelMessage,
|
|
88
|
-
CreateSelfEventListing: () => CreateSelfEventListing,
|
|
89
98
|
CreateSubscription: () => CreateSubscription,
|
|
90
99
|
CreateSupportTicket: () => CreateSupportTicket,
|
|
91
100
|
CreateTeamAccount: () => CreateTeamAccount,
|
|
92
101
|
Currency: () => Currency,
|
|
102
|
+
DeactivateCommunity: () => DeactivateCommunity,
|
|
93
103
|
DeleteActivity: () => DeleteActivity,
|
|
104
|
+
DeleteCommunityInvitation: () => DeleteCommunityInvitation,
|
|
105
|
+
DeleteListingSession: () => DeleteListingSession,
|
|
106
|
+
DeleteListingSpeaker: () => DeleteListingSpeaker,
|
|
94
107
|
DeleteReshare: () => DeleteReshare,
|
|
95
108
|
DeleteSelf: () => DeleteSelf,
|
|
96
109
|
DeleteSelfChatChannel: () => DeleteSelfChatChannel,
|
|
97
110
|
DeleteSelfChatChannelMessage: () => DeleteSelfChatChannelMessage,
|
|
98
111
|
DeleteSelfPushDevice: () => DeleteSelfPushDevice,
|
|
112
|
+
DemoteCommunityModerator: () => DemoteCommunityModerator,
|
|
99
113
|
EVENTS_FEATURED_QUERY_KEY: () => EVENTS_FEATURED_QUERY_KEY,
|
|
100
114
|
EVENTS_QUERY_KEY: () => EVENTS_QUERY_KEY,
|
|
101
115
|
EVENT_ACTIVITIES_QUERY_KEY: () => EVENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -137,8 +151,11 @@ __export(src_exports, {
|
|
|
137
151
|
GetCommunityActivities: () => GetCommunityActivities,
|
|
138
152
|
GetCommunityAnnouncements: () => GetCommunityAnnouncements,
|
|
139
153
|
GetCommunityEvents: () => GetCommunityEvents,
|
|
154
|
+
GetCommunityInvitableAccounts: () => GetCommunityInvitableAccounts,
|
|
155
|
+
GetCommunityMedia: () => GetCommunityMedia,
|
|
140
156
|
GetCommunityMembers: () => GetCommunityMembers,
|
|
141
|
-
|
|
157
|
+
GetCommunityRequest: () => GetCommunityRequest,
|
|
158
|
+
GetCommunityRequests: () => GetCommunityRequests,
|
|
142
159
|
GetCommunitySponsors: () => GetCommunitySponsors,
|
|
143
160
|
GetContent: () => GetContent,
|
|
144
161
|
GetContentActivities: () => GetContentActivities,
|
|
@@ -194,6 +211,7 @@ __export(src_exports, {
|
|
|
194
211
|
GetSelfEventRegistrationPurchaseAddOns: () => GetSelfEventRegistrationPurchaseAddOns,
|
|
195
212
|
GetSelfEventRegistrationPurchaseReservationSections: () => GetSelfEventRegistrationPurchaseReservationSections,
|
|
196
213
|
GetSelfEventRegistrationPurchaseSections: () => GetSelfEventRegistrationPurchaseSections,
|
|
214
|
+
GetSelfEventRegistrationStatus: () => GetSelfEventRegistrationStatus,
|
|
197
215
|
GetSelfEventSessions: () => GetSelfEventSessions,
|
|
198
216
|
GetSelfEvents: () => GetSelfEvents,
|
|
199
217
|
GetSelfFeed: () => GetSelfFeed,
|
|
@@ -217,9 +235,14 @@ __export(src_exports, {
|
|
|
217
235
|
INVOICE_QUERY_KEY: () => INVOICE_QUERY_KEY,
|
|
218
236
|
ImageType: () => ImageType,
|
|
219
237
|
InvoiceStatus: () => InvoiceStatus,
|
|
238
|
+
JoinCommunity: () => JoinCommunity,
|
|
220
239
|
LEVELS_QUERY_KEY: () => LEVELS_QUERY_KEY,
|
|
221
240
|
LEVEL_QUERY_KEY: () => LEVEL_QUERY_KEY,
|
|
222
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,
|
|
223
246
|
LeaveSelfChatChannel: () => LeaveSelfChatChannel,
|
|
224
247
|
LikeActivity: () => LikeActivity,
|
|
225
248
|
MergeInfinitePages: () => MergeInfinitePages,
|
|
@@ -229,17 +252,18 @@ __export(src_exports, {
|
|
|
229
252
|
ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY: () => ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
|
|
230
253
|
ORGANIZATION_QUERY_KEY: () => ORGANIZATION_QUERY_KEY,
|
|
231
254
|
ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY: () => ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
|
|
255
|
+
PromoteCommunityMember: () => PromoteCommunityMember,
|
|
232
256
|
PushDeviceAppType: () => PushDeviceAppType,
|
|
233
257
|
PushService: () => PushService,
|
|
234
258
|
RegisterCancelledEventRegistration: () => RegisterCancelledEventRegistration,
|
|
235
259
|
RegistrationQuestionType: () => RegistrationQuestionType,
|
|
236
260
|
RegistrationStatus: () => RegistrationStatus,
|
|
261
|
+
RejectCommunityInvitation: () => RejectCommunityInvitation,
|
|
262
|
+
RejectCommunityRequest: () => RejectCommunityRequest,
|
|
237
263
|
RejectTransfer: () => RejectTransfer,
|
|
238
|
-
|
|
264
|
+
RemoveCommunityMember: () => RemoveCommunityMember,
|
|
265
|
+
RemoveListingSponsor: () => RemoveListingSponsor,
|
|
239
266
|
RemoveSelfDelegate: () => RemoveSelfDelegate,
|
|
240
|
-
RemoveSelfEventListingSession: () => RemoveSelfEventListingSession,
|
|
241
|
-
RemoveSelfEventListingSpeaker: () => RemoveSelfEventListingSpeaker,
|
|
242
|
-
RemoveSelfEventListingSponsor: () => RemoveSelfEventListingSponsor,
|
|
243
267
|
RemoveSelfEventRegistrationCoupon: () => RemoveSelfEventRegistrationCoupon,
|
|
244
268
|
RemoveSelfEventRegistrationPurchase: () => RemoveSelfEventRegistrationPurchase,
|
|
245
269
|
RemoveSelfEventRegistrationPurchaseAddOn: () => RemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -256,15 +280,13 @@ __export(src_exports, {
|
|
|
256
280
|
SELF_DELEGATES_QUERY_KEY: () => SELF_DELEGATES_QUERY_KEY,
|
|
257
281
|
SELF_DELEGATE_OF_QUERY_KEY: () => SELF_DELEGATE_OF_QUERY_KEY,
|
|
258
282
|
SELF_EVENTS_QUERY_KEY: () => SELF_EVENTS_QUERY_KEY,
|
|
259
|
-
SELF_EVENT_LISTINGS_QUERY_KEY: () => SELF_EVENT_LISTINGS_QUERY_KEY,
|
|
260
|
-
SELF_EVENT_LISTING_QUERY_KEY: () => SELF_EVENT_LISTING_QUERY_KEY,
|
|
261
|
-
SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY: () => SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY,
|
|
262
283
|
SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY: () => SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY,
|
|
263
284
|
SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY,
|
|
264
285
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
265
286
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
266
287
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
267
288
|
SELF_EVENT_REGISTRATION_QUERY_KEY: () => SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
289
|
+
SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
|
|
268
290
|
SELF_EVENT_SESSIONS_QUERY_KEY: () => SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
269
291
|
SELF_FEED_QUERY_KEY: () => SELF_FEED_QUERY_KEY,
|
|
270
292
|
SELF_INTERESTS_QUERY_KEY: () => SELF_INTERESTS_QUERY_KEY,
|
|
@@ -299,9 +321,11 @@ __export(src_exports, {
|
|
|
299
321
|
SET_COMMUNITY_ACTIVITIES_QUERY_DATA: () => SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
|
|
300
322
|
SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA: () => SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
|
|
301
323
|
SET_COMMUNITY_EVENTS_QUERY_DATA: () => SET_COMMUNITY_EVENTS_QUERY_DATA,
|
|
324
|
+
SET_COMMUNITY_MEDIA_QUERY_DATA: () => SET_COMMUNITY_MEDIA_QUERY_DATA,
|
|
302
325
|
SET_COMMUNITY_MEMBERS_QUERY_DATA: () => SET_COMMUNITY_MEMBERS_QUERY_DATA,
|
|
303
|
-
SET_COMMUNITY_MODERATORS_QUERY_DATA: () => SET_COMMUNITY_MODERATORS_QUERY_DATA,
|
|
304
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,
|
|
305
329
|
SET_COMMUNITY_SPONSORS_QUERY_DATA: () => SET_COMMUNITY_SPONSORS_QUERY_DATA,
|
|
306
330
|
SET_CONTENTS_QUERY_DATA: () => SET_CONTENTS_QUERY_DATA,
|
|
307
331
|
SET_CONTENT_ACTIVITIES_QUERY_DATA: () => SET_CONTENT_ACTIVITIES_QUERY_DATA,
|
|
@@ -330,6 +354,7 @@ __export(src_exports, {
|
|
|
330
354
|
SET_LEVELS_QUERY_DATA: () => SET_LEVELS_QUERY_DATA,
|
|
331
355
|
SET_LEVEL_QUERY_DATA: () => SET_LEVEL_QUERY_DATA,
|
|
332
356
|
SET_LEVEL_SPONSORS_QUERY_DATA: () => SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
357
|
+
SET_LISTING_QUERY_DATA: () => SET_LISTING_QUERY_DATA,
|
|
333
358
|
SET_ORGANIZATION_PAGE_QUERY_DATA: () => SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
334
359
|
SET_PUSH_DEVICE_QUERY_DATA: () => SET_PUSH_DEVICE_QUERY_DATA,
|
|
335
360
|
SET_SELF_CHAT_CHANNELS_QUERY_DATA: () => SET_SELF_CHAT_CHANNELS_QUERY_DATA,
|
|
@@ -337,12 +362,12 @@ __export(src_exports, {
|
|
|
337
362
|
SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
|
|
338
363
|
SET_SELF_CHAT_CHANNEL_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_QUERY_DATA,
|
|
339
364
|
SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA: () => SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
|
|
340
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA: () => SET_SELF_EVENT_LISTING_QUERY_DATA,
|
|
341
365
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
|
|
342
366
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
343
367
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
344
368
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
345
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,
|
|
346
371
|
SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
|
|
347
372
|
SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
|
|
348
373
|
SET_SERIES_LIST_QUERY_DATA: () => SET_SERIES_LIST_QUERY_DATA,
|
|
@@ -353,10 +378,7 @@ __export(src_exports, {
|
|
|
353
378
|
SPONSOR_QUERY_KEY: () => SPONSOR_QUERY_KEY,
|
|
354
379
|
SelectSelfEventRegistrationCoupon: () => SelectSelfEventRegistrationCoupon,
|
|
355
380
|
SelectSelfEventRegistrationPurchaseReservation: () => SelectSelfEventRegistrationPurchaseReservation,
|
|
356
|
-
SelfCheckinRegistration: () => SelfCheckinRegistration,
|
|
357
381
|
SelfCreateActivity: () => SelfCreateActivity,
|
|
358
|
-
SelfJoinCommunity: () => SelfJoinCommunity,
|
|
359
|
-
SelfLeaveCommunity: () => SelfLeaveCommunity,
|
|
360
382
|
SelfUpdateCommunityMembership: () => SelfUpdateCommunityMembership,
|
|
361
383
|
SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
|
|
362
384
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
@@ -367,11 +389,11 @@ __export(src_exports, {
|
|
|
367
389
|
UnfollowAccount: () => UnfollowAccount,
|
|
368
390
|
UnlikeActivity: () => UnlikeActivity,
|
|
369
391
|
UpdateCommunity: () => UpdateCommunity,
|
|
392
|
+
UpdateListing: () => UpdateListing,
|
|
393
|
+
UpdateListingSession: () => UpdateListingSession,
|
|
394
|
+
UpdateListingSpeaker: () => UpdateListingSpeaker,
|
|
370
395
|
UpdateSelf: () => UpdateSelf,
|
|
371
396
|
UpdateSelfChatChannelNotifications: () => UpdateSelfChatChannelNotifications,
|
|
372
|
-
UpdateSelfEventListing: () => UpdateSelfEventListing,
|
|
373
|
-
UpdateSelfEventListingSession: () => UpdateSelfEventListingSession,
|
|
374
|
-
UpdateSelfEventListingSpeaker: () => UpdateSelfEventListingSpeaker,
|
|
375
397
|
UpdateSelfEventRegistrationQuestionResponse: () => UpdateSelfEventRegistrationQuestionResponse,
|
|
376
398
|
UpdateSelfImage: () => UpdateSelfImage,
|
|
377
399
|
UpdateSelfLead: () => UpdateSelfLead,
|
|
@@ -417,13 +439,12 @@ __export(src_exports, {
|
|
|
417
439
|
isTypeTrack: () => isTypeTrack,
|
|
418
440
|
isTypeTransfer: () => isTypeTransfer,
|
|
419
441
|
setFirstPageData: () => setFirstPageData,
|
|
442
|
+
useAcceptCommunityInvitation: () => useAcceptCommunityInvitation,
|
|
443
|
+
useAcceptCommunityRequest: () => useAcceptCommunityRequest,
|
|
420
444
|
useAcceptTransfer: () => useAcceptTransfer,
|
|
421
|
-
|
|
445
|
+
useAddListingSponsor: () => useAddListingSponsor,
|
|
422
446
|
useAddSelfChatChannelMember: () => useAddSelfChatChannelMember,
|
|
423
447
|
useAddSelfDelegate: () => useAddSelfDelegate,
|
|
424
|
-
useAddSelfEventListingSession: () => useAddSelfEventListingSession,
|
|
425
|
-
useAddSelfEventListingSpeaker: () => useAddSelfEventListingSpeaker,
|
|
426
|
-
useAddSelfEventListingSponsor: () => useAddSelfEventListingSponsor,
|
|
427
448
|
useAddSelfEventRegistrationPurchase: () => useAddSelfEventRegistrationPurchase,
|
|
428
449
|
useAddSelfEventRegistrationPurchaseAddOn: () => useAddSelfEventRegistrationPurchaseAddOn,
|
|
429
450
|
useAddSelfEventSession: () => useAddSelfEventSession,
|
|
@@ -432,25 +453,36 @@ __export(src_exports, {
|
|
|
432
453
|
useCancelTransfer: () => useCancelTransfer,
|
|
433
454
|
useCaptureInvoicePayment: () => useCaptureInvoicePayment,
|
|
434
455
|
useCaptureSelfEventRegistrationPayment: () => useCaptureSelfEventRegistrationPayment,
|
|
456
|
+
useCheckinListingRegistration: () => useCheckinListingRegistration,
|
|
435
457
|
useCompleteEventActivation: () => useCompleteEventActivation,
|
|
436
458
|
useConnectedInfiniteQuery: () => useConnectedInfiniteQuery,
|
|
437
459
|
useConnectedMutation: () => useConnectedMutation,
|
|
438
460
|
useConnectedSingleQuery: () => useConnectedSingleQuery,
|
|
439
461
|
useConnectedXM: () => useConnectedXM,
|
|
462
|
+
useCreateCommunity: () => useCreateCommunity,
|
|
440
463
|
useCreateCommunityAnnouncement: () => useCreateCommunityAnnouncement,
|
|
464
|
+
useCreateCommunityInvitations: () => useCreateCommunityInvitations,
|
|
465
|
+
useCreateCommunityRequest: () => useCreateCommunityRequest,
|
|
441
466
|
useCreateEventLead: () => useCreateEventLead,
|
|
467
|
+
useCreateListing: () => useCreateListing,
|
|
468
|
+
useCreateListingSession: () => useCreateListingSession,
|
|
469
|
+
useCreateListingSpeaker: () => useCreateListingSpeaker,
|
|
442
470
|
useCreateSelfChatChannel: () => useCreateSelfChatChannel,
|
|
443
471
|
useCreateSelfChatChannelMessage: () => useCreateSelfChatChannelMessage,
|
|
444
|
-
useCreateSelfEventListing: () => useCreateSelfEventListing,
|
|
445
472
|
useCreateSubscription: () => useCreateSubscription,
|
|
446
473
|
useCreateSupportTicket: () => useCreateSupportTicket,
|
|
447
474
|
useCreateTeamAccount: () => useCreateTeamAccount,
|
|
475
|
+
useDeactivateCommunity: () => useDeactivateCommunity,
|
|
448
476
|
useDeleteActivity: () => useDeleteActivity,
|
|
477
|
+
useDeleteCommunityInvitation: () => useDeleteCommunityInvitation,
|
|
478
|
+
useDeleteListingSession: () => useDeleteListingSession,
|
|
479
|
+
useDeleteListingSpeaker: () => useDeleteListingSpeaker,
|
|
449
480
|
useDeleteReshare: () => useDeleteReshare,
|
|
450
481
|
useDeleteSelf: () => useDeleteSelf,
|
|
451
482
|
useDeleteSelfChatChannel: () => useDeleteSelfChatChannel,
|
|
452
483
|
useDeleteSelfChatChannelMessage: () => useDeleteSelfChatChannelMessage,
|
|
453
484
|
useDeleteSelfPushDevice: () => useDeleteSelfPushDevice,
|
|
485
|
+
useDemoteCommunityModerator: () => useDemoteCommunityModerator,
|
|
454
486
|
useFollowAccount: () => useFollowAccount,
|
|
455
487
|
useGetAccount: () => useGetAccount,
|
|
456
488
|
useGetAccountActivities: () => useGetAccountActivities,
|
|
@@ -469,8 +501,11 @@ __export(src_exports, {
|
|
|
469
501
|
useGetCommunityActivities: () => useGetCommunityActivities,
|
|
470
502
|
useGetCommunityAnnouncements: () => useGetCommunityAnnouncements,
|
|
471
503
|
useGetCommunityEvents: () => useGetCommunityEvents,
|
|
504
|
+
useGetCommunityInvitableAccounts: () => useGetCommunityInvitableAccounts,
|
|
505
|
+
useGetCommunityMedia: () => useGetCommunityMedia,
|
|
472
506
|
useGetCommunityMembers: () => useGetCommunityMembers,
|
|
473
|
-
|
|
507
|
+
useGetCommunityRequest: () => useGetCommunityRequest,
|
|
508
|
+
useGetCommunityRequests: () => useGetCommunityRequests,
|
|
474
509
|
useGetCommunitySponsors: () => useGetCommunitySponsors,
|
|
475
510
|
useGetContent: () => useGetContent,
|
|
476
511
|
useGetContentActivities: () => useGetContentActivities,
|
|
@@ -525,6 +560,7 @@ __export(src_exports, {
|
|
|
525
560
|
useGetSelfEventRegistrationPurchaseAddOns: () => useGetSelfEventRegistrationPurchaseAddOns,
|
|
526
561
|
useGetSelfEventRegistrationPurchaseReservationSections: () => useGetSelfEventRegistrationPurchaseReservationSections,
|
|
527
562
|
useGetSelfEventRegistrationPurchaseSections: () => useGetSelfEventRegistrationPurchaseSections,
|
|
563
|
+
useGetSelfEventRegistrationStatus: () => useGetSelfEventRegistrationStatus,
|
|
528
564
|
useGetSelfEventSessions: () => useGetSelfEventSessions,
|
|
529
565
|
useGetSelfEvents: () => useGetSelfEvents,
|
|
530
566
|
useGetSelfFeed: () => useGetSelfFeed,
|
|
@@ -545,15 +581,18 @@ __export(src_exports, {
|
|
|
545
581
|
useGetSeriesList: () => useGetSeriesList,
|
|
546
582
|
useGetSponsor: () => useGetSponsor,
|
|
547
583
|
useGetSponsors: () => useGetSponsors,
|
|
584
|
+
useJoinCommunity: () => useJoinCommunity,
|
|
585
|
+
useLeaveCommunity: () => useLeaveCommunity,
|
|
548
586
|
useLeaveSelfChatChannel: () => useLeaveSelfChatChannel,
|
|
549
587
|
useLikeActivity: () => useLikeActivity,
|
|
588
|
+
usePromoteCommunityMember: () => usePromoteCommunityMember,
|
|
550
589
|
useRegisterCancelledEventRegistration: () => useRegisterCancelledEventRegistration,
|
|
590
|
+
useRejectCommunityInvitation: () => useRejectCommunityInvitation,
|
|
591
|
+
useRejectCommunityRequest: () => useRejectCommunityRequest,
|
|
551
592
|
useRejectTransfer: () => useRejectTransfer,
|
|
552
|
-
|
|
593
|
+
useRemoveCommunityMember: () => useRemoveCommunityMember,
|
|
594
|
+
useRemoveListingSponsor: () => useRemoveListingSponsor,
|
|
553
595
|
useRemoveSelfDelegate: () => useRemoveSelfDelegate,
|
|
554
|
-
useRemoveSelfEventListingSession: () => useRemoveSelfEventListingSession,
|
|
555
|
-
useRemoveSelfEventListingSpeaker: () => useRemoveSelfEventListingSpeaker,
|
|
556
|
-
useRemoveSelfEventListingSponsor: () => useRemoveSelfEventListingSponsor,
|
|
557
596
|
useRemoveSelfEventRegistrationCoupon: () => useRemoveSelfEventRegistrationCoupon,
|
|
558
597
|
useRemoveSelfEventRegistrationPurchase: () => useRemoveSelfEventRegistrationPurchase,
|
|
559
598
|
useRemoveSelfEventRegistrationPurchaseAddOn: () => useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -561,21 +600,18 @@ __export(src_exports, {
|
|
|
561
600
|
useReshareActivity: () => useReshareActivity,
|
|
562
601
|
useSelectSelfEventRegistrationCoupon: () => useSelectSelfEventRegistrationCoupon,
|
|
563
602
|
useSelectSelfEventRegistrationPurchaseReservation: () => useSelectSelfEventRegistrationPurchaseReservation,
|
|
564
|
-
useSelfCheckinRegistration: () => useSelfCheckinRegistration,
|
|
565
603
|
useSelfCreateActivity: () => useSelfCreateActivity,
|
|
566
|
-
useSelfJoinCommunity: () => useSelfJoinCommunity,
|
|
567
|
-
useSelfLeaveCommunity: () => useSelfLeaveCommunity,
|
|
568
604
|
useSelfUpdateCommunityMembership: () => useSelfUpdateCommunityMembership,
|
|
569
605
|
useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
|
|
570
606
|
useTransferPurchase: () => useTransferPurchase,
|
|
571
607
|
useUnfollowAccount: () => useUnfollowAccount,
|
|
572
608
|
useUnlikeActivity: () => useUnlikeActivity,
|
|
573
609
|
useUpdateCommunity: () => useUpdateCommunity,
|
|
610
|
+
useUpdateListing: () => useUpdateListing,
|
|
611
|
+
useUpdateListingSession: () => useUpdateListingSession,
|
|
612
|
+
useUpdateListingSpeaker: () => useUpdateListingSpeaker,
|
|
574
613
|
useUpdateSelf: () => useUpdateSelf,
|
|
575
614
|
useUpdateSelfChatChannelNotifications: () => useUpdateSelfChatChannelNotifications,
|
|
576
|
-
useUpdateSelfEventListing: () => useUpdateSelfEventListing,
|
|
577
|
-
useUpdateSelfEventListingSession: () => useUpdateSelfEventListingSession,
|
|
578
|
-
useUpdateSelfEventListingSpeaker: () => useUpdateSelfEventListingSpeaker,
|
|
579
615
|
useUpdateSelfEventRegistrationQuestionResponse: () => useUpdateSelfEventRegistrationQuestionResponse,
|
|
580
616
|
useUpdateSelfImage: () => useUpdateSelfImage,
|
|
581
617
|
useUpdateSelfLead: () => useUpdateSelfLead,
|
|
@@ -759,6 +795,8 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
759
795
|
NotificationType2["RESHARE"] = "RESHARE";
|
|
760
796
|
NotificationType2["EVENT"] = "EVENT";
|
|
761
797
|
NotificationType2["ACTIVITY"] = "ACTIVITY";
|
|
798
|
+
NotificationType2["GROUP_INVITATION"] = "GROUP_INVITATION";
|
|
799
|
+
NotificationType2["GROUP_REQUEST_ACCEPTED"] = "GROUP_REQUEST_ACCEPTED";
|
|
762
800
|
return NotificationType2;
|
|
763
801
|
})(NotificationType || {});
|
|
764
802
|
var isTypeNotification = (notification) => {
|
|
@@ -887,6 +925,12 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
|
887
925
|
InvoiceStatus2["void"] = "void";
|
|
888
926
|
return InvoiceStatus2;
|
|
889
927
|
})(InvoiceStatus || {});
|
|
928
|
+
var CommunityRequestStatus = /* @__PURE__ */ ((CommunityRequestStatus2) => {
|
|
929
|
+
CommunityRequestStatus2["requested"] = "requested";
|
|
930
|
+
CommunityRequestStatus2["invited"] = "invited";
|
|
931
|
+
CommunityRequestStatus2["rejected"] = "rejected";
|
|
932
|
+
return CommunityRequestStatus2;
|
|
933
|
+
})(CommunityRequestStatus || {});
|
|
890
934
|
|
|
891
935
|
// src/utilities/AppendInfiniteQuery.ts
|
|
892
936
|
var import_immer = require("immer");
|
|
@@ -954,7 +998,7 @@ var useConnectedSingleQuery = (queryKeys, queryFn, options = {}) => {
|
|
|
954
998
|
onNotFound(error, queryKeys, options.shouldRedirect || false);
|
|
955
999
|
return false;
|
|
956
1000
|
}
|
|
957
|
-
if (error.response?.status === 403) {
|
|
1001
|
+
if (error.response?.status === 403 || error.response?.status === 453) {
|
|
958
1002
|
if (onModuleForbidden)
|
|
959
1003
|
onModuleForbidden(error, queryKeys, options.shouldRedirect || false);
|
|
960
1004
|
return false;
|
|
@@ -1094,7 +1138,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
1094
1138
|
onNotFound(error, queryKeys, options.shouldRedirect || false);
|
|
1095
1139
|
return false;
|
|
1096
1140
|
}
|
|
1097
|
-
if (error.response?.status === 403) {
|
|
1141
|
+
if (error.response?.status === 403 || error.response?.status === 453) {
|
|
1098
1142
|
if (onModuleForbidden)
|
|
1099
1143
|
onModuleForbidden(error, queryKeys, options.shouldRedirect || false);
|
|
1100
1144
|
return false;
|
|
@@ -1873,6 +1917,50 @@ var useGetCommunityAnnouncements = (communityId = "", params = {}, options = {})
|
|
|
1873
1917
|
);
|
|
1874
1918
|
};
|
|
1875
1919
|
|
|
1920
|
+
// src/queries/communities/useGetCommunityMedia.ts
|
|
1921
|
+
var COMMUNITY_MEDIA_QUERY_KEY = (communityId, type) => [...COMMUNITY_QUERY_KEY(communityId), "MEDIA", type || "all"];
|
|
1922
|
+
var SET_COMMUNITY_MEDIA_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
1923
|
+
client.setQueryData(
|
|
1924
|
+
[
|
|
1925
|
+
...COMMUNITY_MEDIA_QUERY_KEY(...keyParams),
|
|
1926
|
+
...GetBaseInfiniteQueryKeys(...baseKeys)
|
|
1927
|
+
],
|
|
1928
|
+
setFirstPageData(response)
|
|
1929
|
+
);
|
|
1930
|
+
};
|
|
1931
|
+
var GetCommunityMedia = async ({
|
|
1932
|
+
communityId,
|
|
1933
|
+
type,
|
|
1934
|
+
pageParam,
|
|
1935
|
+
pageSize,
|
|
1936
|
+
orderBy,
|
|
1937
|
+
search,
|
|
1938
|
+
clientApiParams
|
|
1939
|
+
}) => {
|
|
1940
|
+
const clientApi = await GetClientAPI(clientApiParams);
|
|
1941
|
+
const { data } = await clientApi.get(`/communities/${communityId}/media`, {
|
|
1942
|
+
params: {
|
|
1943
|
+
type: type || void 0,
|
|
1944
|
+
page: pageParam || void 0,
|
|
1945
|
+
pageSize: pageSize || void 0,
|
|
1946
|
+
orderBy: orderBy || void 0,
|
|
1947
|
+
search: search || void 0
|
|
1948
|
+
}
|
|
1949
|
+
});
|
|
1950
|
+
return data;
|
|
1951
|
+
};
|
|
1952
|
+
var useGetCommunityMedia = (communityId = "", type, params = {}, options = {}) => {
|
|
1953
|
+
return useConnectedInfiniteQuery(
|
|
1954
|
+
COMMUNITY_MEDIA_QUERY_KEY(communityId, type),
|
|
1955
|
+
(params2) => GetCommunityMedia({ communityId, type, ...params2 }),
|
|
1956
|
+
params,
|
|
1957
|
+
{
|
|
1958
|
+
...options,
|
|
1959
|
+
enabled: !!communityId && (options?.enabled ?? true)
|
|
1960
|
+
}
|
|
1961
|
+
);
|
|
1962
|
+
};
|
|
1963
|
+
|
|
1876
1964
|
// src/queries/events/useGetEvents.ts
|
|
1877
1965
|
var EVENTS_QUERY_KEY = (past) => {
|
|
1878
1966
|
const keys = ["EVENTS"];
|
|
@@ -2018,10 +2106,13 @@ var useGetCommunityEvents = (communityId = "", past = false, params = {}, option
|
|
|
2018
2106
|
};
|
|
2019
2107
|
|
|
2020
2108
|
// src/queries/communities/useGetCommunityMembers.ts
|
|
2021
|
-
var COMMUNITY_MEMBERS_QUERY_KEY = (communityId) =>
|
|
2022
|
-
...COMMUNITY_QUERY_KEY(communityId),
|
|
2023
|
-
|
|
2024
|
-
|
|
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
|
+
};
|
|
2025
2116
|
var SET_COMMUNITY_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2026
2117
|
client.setQueryData(
|
|
2027
2118
|
[
|
|
@@ -2036,6 +2127,7 @@ var GetCommunityMembers = async ({
|
|
|
2036
2127
|
pageSize,
|
|
2037
2128
|
orderBy,
|
|
2038
2129
|
search,
|
|
2130
|
+
role,
|
|
2039
2131
|
communityId,
|
|
2040
2132
|
clientApiParams
|
|
2041
2133
|
}) => {
|
|
@@ -2045,60 +2137,16 @@ var GetCommunityMembers = async ({
|
|
|
2045
2137
|
page: pageParam || void 0,
|
|
2046
2138
|
pageSize: pageSize || void 0,
|
|
2047
2139
|
orderBy: orderBy || void 0,
|
|
2048
|
-
search: search || void 0
|
|
2140
|
+
search: search || void 0,
|
|
2141
|
+
role: role || void 0
|
|
2049
2142
|
}
|
|
2050
2143
|
});
|
|
2051
2144
|
return data;
|
|
2052
2145
|
};
|
|
2053
|
-
var useGetCommunityMembers = (communityId = "", params = {}, options = {}) => {
|
|
2054
|
-
return useConnectedInfiniteQuery(
|
|
2055
|
-
COMMUNITY_MEMBERS_QUERY_KEY(communityId),
|
|
2056
|
-
(params2) => GetCommunityMembers({ communityId, ...params2 }),
|
|
2057
|
-
params,
|
|
2058
|
-
{
|
|
2059
|
-
...options,
|
|
2060
|
-
enabled: !!communityId && (options?.enabled ?? true)
|
|
2061
|
-
}
|
|
2062
|
-
);
|
|
2063
|
-
};
|
|
2064
|
-
|
|
2065
|
-
// src/queries/communities/useGetCommunityModerators.ts
|
|
2066
|
-
var COMMUNITY_MODERATORS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "MODERATORS"];
|
|
2067
|
-
var SET_COMMUNITY_MODERATORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
2068
|
-
client.setQueryData(
|
|
2069
|
-
[
|
|
2070
|
-
...COMMUNITY_MODERATORS_QUERY_KEY(...keyParams),
|
|
2071
|
-
...GetBaseInfiniteQueryKeys(...baseKeys)
|
|
2072
|
-
],
|
|
2073
|
-
setFirstPageData(response)
|
|
2074
|
-
);
|
|
2075
|
-
};
|
|
2076
|
-
var GetCommunityModerators = async ({
|
|
2077
|
-
pageParam,
|
|
2078
|
-
pageSize,
|
|
2079
|
-
orderBy,
|
|
2080
|
-
search,
|
|
2081
|
-
communityId,
|
|
2082
|
-
clientApiParams
|
|
2083
|
-
}) => {
|
|
2084
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
2085
|
-
const { data } = await clientApi.get(
|
|
2086
|
-
`/communities/${communityId}/moderators`,
|
|
2087
|
-
{
|
|
2088
|
-
params: {
|
|
2089
|
-
page: pageParam || void 0,
|
|
2090
|
-
pageSize: pageSize || void 0,
|
|
2091
|
-
orderBy: orderBy || void 0,
|
|
2092
|
-
search: search || void 0
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
);
|
|
2096
|
-
return data;
|
|
2097
|
-
};
|
|
2098
|
-
var useGetCommunityModerators = (communityId = "", params = {}, options = {}) => {
|
|
2146
|
+
var useGetCommunityMembers = (communityId = "", role, params = {}, options = {}) => {
|
|
2099
2147
|
return useConnectedInfiniteQuery(
|
|
2100
|
-
|
|
2101
|
-
(params2) =>
|
|
2148
|
+
COMMUNITY_MEMBERS_QUERY_KEY(communityId, role),
|
|
2149
|
+
(params2) => GetCommunityMembers({ communityId, role, ...params2 }),
|
|
2102
2150
|
params,
|
|
2103
2151
|
{
|
|
2104
2152
|
...options,
|
|
@@ -2233,6 +2281,137 @@ var useGetCommunitySponsors = (communityId = "", params = {}, options = {}) => {
|
|
|
2233
2281
|
);
|
|
2234
2282
|
};
|
|
2235
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
|
+
|
|
2236
2415
|
// src/queries/contents/useGetContents.ts
|
|
2237
2416
|
var CONTENTS_QUERY_KEY = () => ["CONTENTS"];
|
|
2238
2417
|
var SET_CONTENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
@@ -3873,6 +4052,42 @@ var useGetSelfEventRegistrationPurchaseReservationSections = (eventId, registrat
|
|
|
3873
4052
|
);
|
|
3874
4053
|
};
|
|
3875
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
|
+
|
|
3876
4091
|
// src/queries/self/subscriptions/useGetSelfSubscriptions.ts
|
|
3877
4092
|
var SELF_SUBSCRIPTIONS_QUERY_KEY = (status) => {
|
|
3878
4093
|
const key = [...SELF_QUERY_KEY(), "SUBSCRIPTIONS"];
|
|
@@ -4199,13 +4414,13 @@ var useGetSelfDelegates = (params = {}, options = {}) => {
|
|
|
4199
4414
|
);
|
|
4200
4415
|
};
|
|
4201
4416
|
|
|
4202
|
-
// src/queries/self/
|
|
4203
|
-
var
|
|
4417
|
+
// src/queries/self/useGetSelfEvents.ts
|
|
4418
|
+
var SELF_EVENTS_QUERY_KEY = (past) => [
|
|
4204
4419
|
...SELF_QUERY_KEY(),
|
|
4205
|
-
"
|
|
4420
|
+
"EVENTS",
|
|
4206
4421
|
past ? "PAST" : "UPCOMING"
|
|
4207
4422
|
];
|
|
4208
|
-
var
|
|
4423
|
+
var GetSelfEvents = async ({
|
|
4209
4424
|
pageParam,
|
|
4210
4425
|
pageSize,
|
|
4211
4426
|
orderBy,
|
|
@@ -4216,174 +4431,51 @@ var GetSelfEventListings = async ({
|
|
|
4216
4431
|
locale
|
|
4217
4432
|
}) => {
|
|
4218
4433
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4219
|
-
const { data } = await clientApi.get(`/self/events
|
|
4434
|
+
const { data } = await clientApi.get(`/self/events`, {
|
|
4220
4435
|
params: {
|
|
4221
4436
|
page: pageParam || void 0,
|
|
4222
4437
|
pageSize: pageSize || void 0,
|
|
4223
4438
|
orderBy: orderBy || void 0,
|
|
4224
4439
|
search: search || void 0,
|
|
4225
|
-
past:
|
|
4440
|
+
past: past || false
|
|
4226
4441
|
}
|
|
4227
4442
|
});
|
|
4228
4443
|
if (queryClient && data.status === "ok") {
|
|
4229
4444
|
CacheIndividualQueries(
|
|
4230
4445
|
data,
|
|
4231
4446
|
queryClient,
|
|
4232
|
-
(eventId) =>
|
|
4447
|
+
(eventId) => EVENT_QUERY_KEY(eventId),
|
|
4233
4448
|
locale
|
|
4234
4449
|
);
|
|
4235
4450
|
}
|
|
4236
4451
|
return data;
|
|
4237
4452
|
};
|
|
4238
|
-
var
|
|
4453
|
+
var useGetSelfEvents = (past = false, params = {}, options = {}) => {
|
|
4239
4454
|
return useConnectedInfiniteQuery(
|
|
4240
|
-
|
|
4241
|
-
(params2) =>
|
|
4455
|
+
SELF_EVENTS_QUERY_KEY(past),
|
|
4456
|
+
(params2) => GetSelfEvents({ ...params2, past }),
|
|
4242
4457
|
params,
|
|
4243
4458
|
{
|
|
4244
|
-
...options
|
|
4245
|
-
enabled: options.enabled ?? true
|
|
4459
|
+
...options
|
|
4246
4460
|
}
|
|
4247
4461
|
);
|
|
4248
4462
|
};
|
|
4249
4463
|
|
|
4250
|
-
// src/queries/self/
|
|
4251
|
-
var
|
|
4252
|
-
...
|
|
4253
|
-
eventId
|
|
4254
|
-
];
|
|
4255
|
-
var SET_SELF_EVENT_LISTING_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
|
|
4256
|
-
client.setQueryData(
|
|
4257
|
-
[
|
|
4258
|
-
...SELF_EVENT_LISTING_QUERY_KEY(...keyParams),
|
|
4259
|
-
...GetBaseSingleQueryKeys(...baseKeys)
|
|
4260
|
-
],
|
|
4261
|
-
response
|
|
4262
|
-
);
|
|
4263
|
-
};
|
|
4264
|
-
var GetSelfEventListing = async ({
|
|
4464
|
+
// src/queries/self/useGetSelfEventSessions.ts
|
|
4465
|
+
var SELF_EVENT_SESSIONS_QUERY_KEY = (eventId) => [
|
|
4466
|
+
...SELF_EVENTS_QUERY_KEY(false),
|
|
4265
4467
|
eventId,
|
|
4266
|
-
|
|
4267
|
-
}) => {
|
|
4268
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4269
|
-
const { data } = await clientApi.get(`self/events/listings/${eventId}`);
|
|
4270
|
-
return data;
|
|
4271
|
-
};
|
|
4272
|
-
var useGetSelfEventListing = (eventId, options = {}) => {
|
|
4273
|
-
return useConnectedSingleQuery(
|
|
4274
|
-
SELF_EVENT_LISTING_QUERY_KEY(eventId),
|
|
4275
|
-
(params) => GetSelfEventListing({ eventId, ...params }),
|
|
4276
|
-
{
|
|
4277
|
-
...options,
|
|
4278
|
-
enabled: !!eventId && (options?.enabled ?? true)
|
|
4279
|
-
}
|
|
4280
|
-
);
|
|
4281
|
-
};
|
|
4282
|
-
|
|
4283
|
-
// src/queries/self/useGetSelfEventListingRegistrations.ts
|
|
4284
|
-
var SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY = (eventId, status) => [
|
|
4285
|
-
...SELF_EVENT_LISTING_QUERY_KEY(eventId),
|
|
4286
|
-
"REGISTRATIONS",
|
|
4287
|
-
status ?? "ALL"
|
|
4468
|
+
"SESSIONS"
|
|
4288
4469
|
];
|
|
4289
|
-
var
|
|
4470
|
+
var GetSelfEventSessions = async ({
|
|
4290
4471
|
eventId,
|
|
4291
4472
|
pageParam,
|
|
4292
4473
|
pageSize,
|
|
4293
4474
|
orderBy,
|
|
4294
4475
|
search,
|
|
4295
|
-
|
|
4296
|
-
clientApiParams
|
|
4297
|
-
|
|
4298
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4299
|
-
const { data } = await clientApi.get(
|
|
4300
|
-
`/self/events/listings/${eventId}/registrations`,
|
|
4301
|
-
{
|
|
4302
|
-
params: {
|
|
4303
|
-
page: pageParam || void 0,
|
|
4304
|
-
pageSize: pageSize || void 0,
|
|
4305
|
-
orderBy: orderBy || void 0,
|
|
4306
|
-
search: search || void 0,
|
|
4307
|
-
status: status || void 0
|
|
4308
|
-
}
|
|
4309
|
-
}
|
|
4310
|
-
);
|
|
4311
|
-
return data;
|
|
4312
|
-
};
|
|
4313
|
-
var useGetSelfEventListingsRegistrations = (eventId, status, params = {}, options = {}) => {
|
|
4314
|
-
return useConnectedInfiniteQuery(
|
|
4315
|
-
SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY(eventId, status),
|
|
4316
|
-
(params2) => GetSelfEventListingRegistrations({ eventId, status, ...params2 }),
|
|
4317
|
-
params,
|
|
4318
|
-
{
|
|
4319
|
-
...options,
|
|
4320
|
-
enabled: !!eventId && (options?.enabled ?? true)
|
|
4321
|
-
}
|
|
4322
|
-
);
|
|
4323
|
-
};
|
|
4324
|
-
|
|
4325
|
-
// src/queries/self/useGetSelfEvents.ts
|
|
4326
|
-
var SELF_EVENTS_QUERY_KEY = (past) => [
|
|
4327
|
-
...SELF_QUERY_KEY(),
|
|
4328
|
-
"EVENTS",
|
|
4329
|
-
past ? "PAST" : "UPCOMING"
|
|
4330
|
-
];
|
|
4331
|
-
var GetSelfEvents = async ({
|
|
4332
|
-
pageParam,
|
|
4333
|
-
pageSize,
|
|
4334
|
-
orderBy,
|
|
4335
|
-
search,
|
|
4336
|
-
past,
|
|
4337
|
-
queryClient,
|
|
4338
|
-
clientApiParams,
|
|
4339
|
-
locale
|
|
4340
|
-
}) => {
|
|
4341
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
4342
|
-
const { data } = await clientApi.get(`/self/events`, {
|
|
4343
|
-
params: {
|
|
4344
|
-
page: pageParam || void 0,
|
|
4345
|
-
pageSize: pageSize || void 0,
|
|
4346
|
-
orderBy: orderBy || void 0,
|
|
4347
|
-
search: search || void 0,
|
|
4348
|
-
past: past || false
|
|
4349
|
-
}
|
|
4350
|
-
});
|
|
4351
|
-
if (queryClient && data.status === "ok") {
|
|
4352
|
-
CacheIndividualQueries(
|
|
4353
|
-
data,
|
|
4354
|
-
queryClient,
|
|
4355
|
-
(eventId) => EVENT_QUERY_KEY(eventId),
|
|
4356
|
-
locale
|
|
4357
|
-
);
|
|
4358
|
-
}
|
|
4359
|
-
return data;
|
|
4360
|
-
};
|
|
4361
|
-
var useGetSelfEvents = (past = false, params = {}, options = {}) => {
|
|
4362
|
-
return useConnectedInfiniteQuery(
|
|
4363
|
-
SELF_EVENTS_QUERY_KEY(past),
|
|
4364
|
-
(params2) => GetSelfEvents({ ...params2, past }),
|
|
4365
|
-
params,
|
|
4366
|
-
{
|
|
4367
|
-
...options
|
|
4368
|
-
}
|
|
4369
|
-
);
|
|
4370
|
-
};
|
|
4371
|
-
|
|
4372
|
-
// src/queries/self/useGetSelfEventSessions.ts
|
|
4373
|
-
var SELF_EVENT_SESSIONS_QUERY_KEY = (eventId) => [
|
|
4374
|
-
...SELF_EVENTS_QUERY_KEY(false),
|
|
4375
|
-
eventId,
|
|
4376
|
-
"SESSIONS"
|
|
4377
|
-
];
|
|
4378
|
-
var GetSelfEventSessions = async ({
|
|
4379
|
-
eventId,
|
|
4380
|
-
pageParam,
|
|
4381
|
-
pageSize,
|
|
4382
|
-
orderBy,
|
|
4383
|
-
search,
|
|
4384
|
-
queryClient,
|
|
4385
|
-
clientApiParams,
|
|
4386
|
-
locale
|
|
4476
|
+
queryClient,
|
|
4477
|
+
clientApiParams,
|
|
4478
|
+
locale
|
|
4387
4479
|
}) => {
|
|
4388
4480
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
4389
4481
|
const { data } = await clientApi.get(`/self/events/${eventId}/sessions`, {
|
|
@@ -5062,6 +5154,122 @@ var useGetInvoice = (invoiceId = "", options = {}) => {
|
|
|
5062
5154
|
);
|
|
5063
5155
|
};
|
|
5064
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
|
+
|
|
5065
5273
|
// src/mutations/useConnectedMutation.ts
|
|
5066
5274
|
var import_react_query4 = require("@tanstack/react-query");
|
|
5067
5275
|
var useConnectedMutation = (mutation, options) => {
|
|
@@ -5322,200 +5530,75 @@ var useUnlikeActivity = (options = {}) => {
|
|
|
5322
5530
|
return useConnectedMutation_default(UnlikeActivity, options);
|
|
5323
5531
|
};
|
|
5324
5532
|
|
|
5325
|
-
// src/mutations/
|
|
5326
|
-
var
|
|
5327
|
-
communityId,
|
|
5533
|
+
// src/mutations/events/useCompleteEventActivation.ts
|
|
5534
|
+
var CompleteEventActivation = async ({
|
|
5328
5535
|
eventId,
|
|
5536
|
+
activationId,
|
|
5537
|
+
code,
|
|
5329
5538
|
clientApiParams,
|
|
5330
5539
|
queryClient
|
|
5331
5540
|
}) => {
|
|
5332
5541
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5333
5542
|
const { data } = await clientApi.post(
|
|
5334
|
-
`/
|
|
5543
|
+
`/events/${eventId}/activations/${activationId}`,
|
|
5544
|
+
{
|
|
5545
|
+
code: code || void 0
|
|
5546
|
+
}
|
|
5335
5547
|
);
|
|
5336
|
-
if (queryClient) {
|
|
5337
|
-
queryClient.invalidateQueries({
|
|
5338
|
-
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
5339
|
-
});
|
|
5340
|
-
queryClient.invalidateQueries({
|
|
5341
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
5342
|
-
});
|
|
5343
|
-
queryClient.invalidateQueries({
|
|
5344
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
5345
|
-
});
|
|
5548
|
+
if (queryClient && data.status === "ok") {
|
|
5346
5549
|
}
|
|
5347
5550
|
return data;
|
|
5348
5551
|
};
|
|
5349
|
-
var
|
|
5350
|
-
return useConnectedMutation_default(
|
|
5552
|
+
var useCompleteEventActivation = (options = {}) => {
|
|
5553
|
+
return useConnectedMutation_default(CompleteEventActivation, options);
|
|
5351
5554
|
};
|
|
5352
5555
|
|
|
5353
|
-
// src/mutations/
|
|
5354
|
-
var
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
email,
|
|
5359
|
-
push,
|
|
5556
|
+
// src/mutations/events/useCreateEventLead.ts
|
|
5557
|
+
var CreateEventLead = async ({
|
|
5558
|
+
eventId,
|
|
5559
|
+
purchaseId,
|
|
5560
|
+
note,
|
|
5360
5561
|
clientApiParams,
|
|
5361
5562
|
queryClient
|
|
5362
5563
|
}) => {
|
|
5363
5564
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5364
5565
|
const { data } = await clientApi.post(
|
|
5365
|
-
`/
|
|
5566
|
+
`/events/${eventId}/leads/${purchaseId}`,
|
|
5366
5567
|
{
|
|
5367
|
-
|
|
5368
|
-
html,
|
|
5369
|
-
email,
|
|
5370
|
-
push
|
|
5568
|
+
note: note || void 0
|
|
5371
5569
|
}
|
|
5372
5570
|
);
|
|
5373
5571
|
if (queryClient && data.status === "ok") {
|
|
5374
|
-
AppendInfiniteQuery(
|
|
5375
|
-
queryClient,
|
|
5376
|
-
[
|
|
5377
|
-
...COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId),
|
|
5378
|
-
...GetBaseInfiniteQueryKeys(clientApiParams.locale)
|
|
5379
|
-
],
|
|
5380
|
-
data.data
|
|
5381
|
-
);
|
|
5382
5572
|
}
|
|
5383
5573
|
return data;
|
|
5384
5574
|
};
|
|
5385
|
-
var
|
|
5386
|
-
return useConnectedMutation(
|
|
5575
|
+
var useCreateEventLead = (options = {}) => {
|
|
5576
|
+
return useConnectedMutation(CreateEventLead, options);
|
|
5387
5577
|
};
|
|
5388
5578
|
|
|
5389
|
-
// src/mutations/
|
|
5390
|
-
var
|
|
5391
|
-
|
|
5392
|
-
|
|
5579
|
+
// src/mutations/invoices/useCaptureInvoicePayment.ts
|
|
5580
|
+
var CaptureInvoicePayment = async ({
|
|
5581
|
+
invoiceId,
|
|
5582
|
+
intentId,
|
|
5393
5583
|
clientApiParams,
|
|
5394
5584
|
queryClient
|
|
5395
5585
|
}) => {
|
|
5396
5586
|
const clientApi = await GetClientAPI(clientApiParams);
|
|
5397
|
-
const { data } = await clientApi.
|
|
5398
|
-
`/
|
|
5587
|
+
const { data } = await clientApi.post(
|
|
5588
|
+
`/invoices/${invoiceId}/capture`,
|
|
5589
|
+
{
|
|
5590
|
+
intentId
|
|
5591
|
+
}
|
|
5399
5592
|
);
|
|
5400
5593
|
if (queryClient && data.status === "ok") {
|
|
5401
|
-
queryClient
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
queryClient.invalidateQueries({
|
|
5405
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
5406
|
-
});
|
|
5407
|
-
queryClient.invalidateQueries({
|
|
5408
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
5409
|
-
});
|
|
5594
|
+
SET_INVOICE_QUERY_DATA(queryClient, [invoiceId], data, [
|
|
5595
|
+
clientApiParams.locale
|
|
5596
|
+
]);
|
|
5410
5597
|
}
|
|
5411
5598
|
return data;
|
|
5412
5599
|
};
|
|
5413
|
-
var
|
|
5414
|
-
return useConnectedMutation_default(
|
|
5415
|
-
};
|
|
5416
|
-
|
|
5417
|
-
// src/mutations/communityModerator/useUpdateCommunity.ts
|
|
5418
|
-
var UpdateCommunity = async ({
|
|
5419
|
-
communityId,
|
|
5420
|
-
description,
|
|
5421
|
-
externalUrl,
|
|
5422
|
-
base64,
|
|
5423
|
-
clientApiParams,
|
|
5424
|
-
queryClient
|
|
5425
|
-
}) => {
|
|
5426
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5427
|
-
const { data } = await clientApi.put(
|
|
5428
|
-
`/communityModerator/${communityId}`,
|
|
5429
|
-
{
|
|
5430
|
-
description: description || void 0,
|
|
5431
|
-
externalUrl: externalUrl || void 0,
|
|
5432
|
-
buffer: base64 ? base64 : void 0
|
|
5433
|
-
}
|
|
5434
|
-
);
|
|
5435
|
-
if (queryClient && data.status === "ok") {
|
|
5436
|
-
SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.slug], data, [
|
|
5437
|
-
clientApiParams.locale
|
|
5438
|
-
]);
|
|
5439
|
-
queryClient.invalidateQueries({
|
|
5440
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
5441
|
-
});
|
|
5442
|
-
queryClient.invalidateQueries({ queryKey: COMMUNITIES_QUERY_KEY() });
|
|
5443
|
-
}
|
|
5444
|
-
return data;
|
|
5445
|
-
};
|
|
5446
|
-
var useUpdateCommunity = (options = {}) => {
|
|
5447
|
-
return useConnectedMutation(UpdateCommunity, options);
|
|
5448
|
-
};
|
|
5449
|
-
|
|
5450
|
-
// src/mutations/events/useCompleteEventActivation.ts
|
|
5451
|
-
var CompleteEventActivation = async ({
|
|
5452
|
-
eventId,
|
|
5453
|
-
activationId,
|
|
5454
|
-
code,
|
|
5455
|
-
clientApiParams,
|
|
5456
|
-
queryClient
|
|
5457
|
-
}) => {
|
|
5458
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5459
|
-
const { data } = await clientApi.post(
|
|
5460
|
-
`/events/${eventId}/activations/${activationId}`,
|
|
5461
|
-
{
|
|
5462
|
-
code: code || void 0
|
|
5463
|
-
}
|
|
5464
|
-
);
|
|
5465
|
-
if (queryClient && data.status === "ok") {
|
|
5466
|
-
}
|
|
5467
|
-
return data;
|
|
5468
|
-
};
|
|
5469
|
-
var useCompleteEventActivation = (options = {}) => {
|
|
5470
|
-
return useConnectedMutation_default(CompleteEventActivation, options);
|
|
5471
|
-
};
|
|
5472
|
-
|
|
5473
|
-
// src/mutations/events/useCreateEventLead.ts
|
|
5474
|
-
var CreateEventLead = async ({
|
|
5475
|
-
eventId,
|
|
5476
|
-
purchaseId,
|
|
5477
|
-
note,
|
|
5478
|
-
clientApiParams,
|
|
5479
|
-
queryClient
|
|
5480
|
-
}) => {
|
|
5481
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5482
|
-
const { data } = await clientApi.post(
|
|
5483
|
-
`/events/${eventId}/leads/${purchaseId}`,
|
|
5484
|
-
{
|
|
5485
|
-
note: note || void 0
|
|
5486
|
-
}
|
|
5487
|
-
);
|
|
5488
|
-
if (queryClient && data.status === "ok") {
|
|
5489
|
-
}
|
|
5490
|
-
return data;
|
|
5491
|
-
};
|
|
5492
|
-
var useCreateEventLead = (options = {}) => {
|
|
5493
|
-
return useConnectedMutation(CreateEventLead, options);
|
|
5494
|
-
};
|
|
5495
|
-
|
|
5496
|
-
// src/mutations/invoices/useCaptureInvoicePayment.ts
|
|
5497
|
-
var CaptureInvoicePayment = async ({
|
|
5498
|
-
invoiceId,
|
|
5499
|
-
intentId,
|
|
5500
|
-
clientApiParams,
|
|
5501
|
-
queryClient
|
|
5502
|
-
}) => {
|
|
5503
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
5504
|
-
const { data } = await clientApi.post(
|
|
5505
|
-
`/invoices/${invoiceId}/capture`,
|
|
5506
|
-
{
|
|
5507
|
-
intentId
|
|
5508
|
-
}
|
|
5509
|
-
);
|
|
5510
|
-
if (queryClient && data.status === "ok") {
|
|
5511
|
-
SET_INVOICE_QUERY_DATA(queryClient, [invoiceId], data, [
|
|
5512
|
-
clientApiParams.locale
|
|
5513
|
-
]);
|
|
5514
|
-
}
|
|
5515
|
-
return data;
|
|
5516
|
-
};
|
|
5517
|
-
var useCaptureInvoicePayment = (options = {}) => {
|
|
5518
|
-
return useConnectedMutation_default(CaptureInvoicePayment, options);
|
|
5600
|
+
var useCaptureInvoicePayment = (options = {}) => {
|
|
5601
|
+
return useConnectedMutation_default(CaptureInvoicePayment, options);
|
|
5519
5602
|
};
|
|
5520
5603
|
|
|
5521
5604
|
// src/mutations/self/chat/useAddSelfChatChannelMember.ts
|
|
@@ -5775,6 +5858,9 @@ var CaptureSelfEventRegistrationPayment = async ({
|
|
|
5775
5858
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
5776
5859
|
clientApiParams.locale
|
|
5777
5860
|
]);
|
|
5861
|
+
queryClient.invalidateQueries({
|
|
5862
|
+
queryKey: SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId)
|
|
5863
|
+
});
|
|
5778
5864
|
}
|
|
5779
5865
|
return data;
|
|
5780
5866
|
};
|
|
@@ -5908,6 +5994,9 @@ var SubmitSelfEventRegistration = async ({
|
|
|
5908
5994
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA(queryClient, [eventId], data, [
|
|
5909
5995
|
clientApiParams.locale
|
|
5910
5996
|
]);
|
|
5997
|
+
queryClient.invalidateQueries({
|
|
5998
|
+
queryKey: SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY(eventId)
|
|
5999
|
+
});
|
|
5911
6000
|
}
|
|
5912
6001
|
return data;
|
|
5913
6002
|
};
|
|
@@ -6333,84 +6422,6 @@ var useAddSelfDelegate = (options = {}) => {
|
|
|
6333
6422
|
return useConnectedMutation_default(AddSelfDelegate, options);
|
|
6334
6423
|
};
|
|
6335
6424
|
|
|
6336
|
-
// src/mutations/self/useAddSelfEventListingSession.ts
|
|
6337
|
-
var AddSelfEventListingSession = async ({
|
|
6338
|
-
eventId,
|
|
6339
|
-
session,
|
|
6340
|
-
clientApiParams,
|
|
6341
|
-
queryClient
|
|
6342
|
-
}) => {
|
|
6343
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6344
|
-
const { data } = await clientApi.post(
|
|
6345
|
-
`/self/events/listings/${eventId}/sessions`,
|
|
6346
|
-
{
|
|
6347
|
-
session
|
|
6348
|
-
}
|
|
6349
|
-
);
|
|
6350
|
-
if (queryClient && data.status === "ok") {
|
|
6351
|
-
queryClient.invalidateQueries({
|
|
6352
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
6353
|
-
});
|
|
6354
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6355
|
-
}
|
|
6356
|
-
return data;
|
|
6357
|
-
};
|
|
6358
|
-
var useAddSelfEventListingSession = (options = {}) => {
|
|
6359
|
-
return useConnectedMutation_default(AddSelfEventListingSession, options);
|
|
6360
|
-
};
|
|
6361
|
-
|
|
6362
|
-
// src/mutations/self/useAddSelfEventListingSpeaker.ts
|
|
6363
|
-
var AddSelfEventListingSpeaker = async ({
|
|
6364
|
-
eventId,
|
|
6365
|
-
speaker,
|
|
6366
|
-
clientApiParams,
|
|
6367
|
-
queryClient
|
|
6368
|
-
}) => {
|
|
6369
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6370
|
-
const { data } = await clientApi.post(
|
|
6371
|
-
`/self/events/listings/${eventId}/speakers`,
|
|
6372
|
-
{
|
|
6373
|
-
speaker
|
|
6374
|
-
}
|
|
6375
|
-
);
|
|
6376
|
-
if (queryClient && data.status === "ok") {
|
|
6377
|
-
queryClient.invalidateQueries({
|
|
6378
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
6379
|
-
});
|
|
6380
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6381
|
-
}
|
|
6382
|
-
return data;
|
|
6383
|
-
};
|
|
6384
|
-
var useAddSelfEventListingSpeaker = (options = {}) => {
|
|
6385
|
-
return useConnectedMutation_default(AddSelfEventListingSpeaker, options);
|
|
6386
|
-
};
|
|
6387
|
-
|
|
6388
|
-
// src/mutations/self/useAddSelfEventListingSponsor.ts
|
|
6389
|
-
var AddSelfEventListingSponsor = async ({
|
|
6390
|
-
eventId,
|
|
6391
|
-
sponsor,
|
|
6392
|
-
clientApiParams,
|
|
6393
|
-
queryClient
|
|
6394
|
-
}) => {
|
|
6395
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6396
|
-
const { data } = await clientApi.post(
|
|
6397
|
-
`/self/events/listings/${eventId}/sponsors`,
|
|
6398
|
-
{
|
|
6399
|
-
sponsorId: sponsor.id
|
|
6400
|
-
}
|
|
6401
|
-
);
|
|
6402
|
-
if (queryClient && data.status === "ok") {
|
|
6403
|
-
queryClient.invalidateQueries({
|
|
6404
|
-
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
6405
|
-
});
|
|
6406
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6407
|
-
}
|
|
6408
|
-
return data;
|
|
6409
|
-
};
|
|
6410
|
-
var useAddSelfEventListingSponsor = (options = {}) => {
|
|
6411
|
-
return useConnectedMutation_default(AddSelfEventListingSponsor, options);
|
|
6412
|
-
};
|
|
6413
|
-
|
|
6414
6425
|
// src/mutations/self/useAddSelfEventSession.ts
|
|
6415
6426
|
var AddSelfEventSession = async ({
|
|
6416
6427
|
eventId,
|
|
@@ -6433,66 +6444,6 @@ var useAddSelfEventSession = (options = {}) => {
|
|
|
6433
6444
|
return useConnectedMutation_default(AddSelfEventSession, options);
|
|
6434
6445
|
};
|
|
6435
6446
|
|
|
6436
|
-
// src/mutations/self/useCreateSelfEventListing.ts
|
|
6437
|
-
var CreateSelfEventListing = async ({
|
|
6438
|
-
event,
|
|
6439
|
-
base64,
|
|
6440
|
-
communityId,
|
|
6441
|
-
sponsorIds,
|
|
6442
|
-
speakers,
|
|
6443
|
-
sessions,
|
|
6444
|
-
clientApiParams,
|
|
6445
|
-
queryClient
|
|
6446
|
-
}) => {
|
|
6447
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6448
|
-
let data;
|
|
6449
|
-
if (communityId) {
|
|
6450
|
-
data = (await clientApi.post(
|
|
6451
|
-
`/communityModerator/${communityId}/events`,
|
|
6452
|
-
{
|
|
6453
|
-
event,
|
|
6454
|
-
image: base64 ? base64 : void 0,
|
|
6455
|
-
communityId: communityId || void 0,
|
|
6456
|
-
sponsorIds: sponsorIds || void 0,
|
|
6457
|
-
speakers,
|
|
6458
|
-
sessions
|
|
6459
|
-
}
|
|
6460
|
-
)).data;
|
|
6461
|
-
} else {
|
|
6462
|
-
data = (await clientApi.post(
|
|
6463
|
-
`/self/events/listings`,
|
|
6464
|
-
{
|
|
6465
|
-
event,
|
|
6466
|
-
image: base64 ? base64 : void 0,
|
|
6467
|
-
sponsorIds: sponsorIds || void 0,
|
|
6468
|
-
speakers,
|
|
6469
|
-
sessions
|
|
6470
|
-
}
|
|
6471
|
-
)).data;
|
|
6472
|
-
}
|
|
6473
|
-
if (queryClient && data.status === "ok") {
|
|
6474
|
-
queryClient.invalidateQueries({
|
|
6475
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
6476
|
-
});
|
|
6477
|
-
queryClient.invalidateQueries({
|
|
6478
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
6479
|
-
});
|
|
6480
|
-
if (communityId) {
|
|
6481
|
-
queryClient.invalidateQueries({
|
|
6482
|
-
queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
|
|
6483
|
-
});
|
|
6484
|
-
}
|
|
6485
|
-
queryClient.setQueryData(
|
|
6486
|
-
[...EVENT_QUERY_KEY(data.data.id), clientApiParams.locale],
|
|
6487
|
-
data
|
|
6488
|
-
);
|
|
6489
|
-
}
|
|
6490
|
-
return data;
|
|
6491
|
-
};
|
|
6492
|
-
var useCreateSelfEventListing = (options = {}) => {
|
|
6493
|
-
return useConnectedMutation_default(CreateSelfEventListing, options);
|
|
6494
|
-
};
|
|
6495
|
-
|
|
6496
6447
|
// src/mutations/self/useDeleteSelf.ts
|
|
6497
6448
|
var DeleteSelf = async ({
|
|
6498
6449
|
clientApiParams,
|
|
@@ -6570,75 +6521,6 @@ var useRemoveSelfDelegate = (options = {}) => {
|
|
|
6570
6521
|
return useConnectedMutation_default(RemoveSelfDelegate, options);
|
|
6571
6522
|
};
|
|
6572
6523
|
|
|
6573
|
-
// src/mutations/self/useRemoveSelfEventListingSession.ts
|
|
6574
|
-
var RemoveSelfEventListingSession = async ({
|
|
6575
|
-
eventId,
|
|
6576
|
-
sessionId,
|
|
6577
|
-
clientApiParams,
|
|
6578
|
-
queryClient
|
|
6579
|
-
}) => {
|
|
6580
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6581
|
-
const { data } = await clientApi.delete(
|
|
6582
|
-
`/self/events/listings/${eventId}/sessions/${sessionId}`
|
|
6583
|
-
);
|
|
6584
|
-
if (queryClient && data.status === "ok") {
|
|
6585
|
-
queryClient.invalidateQueries({
|
|
6586
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
6587
|
-
});
|
|
6588
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6589
|
-
}
|
|
6590
|
-
return data;
|
|
6591
|
-
};
|
|
6592
|
-
var useRemoveSelfEventListingSession = (options = {}) => {
|
|
6593
|
-
return useConnectedMutation_default(RemoveSelfEventListingSession, options);
|
|
6594
|
-
};
|
|
6595
|
-
|
|
6596
|
-
// src/mutations/self/useRemoveSelfEventListingSpeaker.ts
|
|
6597
|
-
var RemoveSelfEventListingSpeaker = async ({
|
|
6598
|
-
eventId,
|
|
6599
|
-
speakerId,
|
|
6600
|
-
clientApiParams,
|
|
6601
|
-
queryClient
|
|
6602
|
-
}) => {
|
|
6603
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6604
|
-
const { data } = await clientApi.delete(
|
|
6605
|
-
`/self/events/listings/${eventId}/speakers/${speakerId}`
|
|
6606
|
-
);
|
|
6607
|
-
if (queryClient && data.status === "ok") {
|
|
6608
|
-
queryClient.invalidateQueries({
|
|
6609
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
6610
|
-
});
|
|
6611
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6612
|
-
}
|
|
6613
|
-
return data;
|
|
6614
|
-
};
|
|
6615
|
-
var useRemoveSelfEventListingSpeaker = (options = {}) => {
|
|
6616
|
-
return useConnectedMutation_default(RemoveSelfEventListingSpeaker, options);
|
|
6617
|
-
};
|
|
6618
|
-
|
|
6619
|
-
// src/mutations/self/useRemoveSelfEventListingSponsor.ts
|
|
6620
|
-
var RemoveSelfEventListingSponsor = async ({
|
|
6621
|
-
eventId,
|
|
6622
|
-
sponsorId,
|
|
6623
|
-
clientApiParams,
|
|
6624
|
-
queryClient
|
|
6625
|
-
}) => {
|
|
6626
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6627
|
-
const { data } = await clientApi.delete(
|
|
6628
|
-
`/self/events/listings/${eventId}/sponsors/${sponsorId}`
|
|
6629
|
-
);
|
|
6630
|
-
if (queryClient && data.status === "ok") {
|
|
6631
|
-
queryClient.invalidateQueries({
|
|
6632
|
-
queryKey: EVENT_SPONSORS_QUERY_KEY(eventId)
|
|
6633
|
-
});
|
|
6634
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
6635
|
-
}
|
|
6636
|
-
return data;
|
|
6637
|
-
};
|
|
6638
|
-
var useRemoveSelfEventListingSponsor = (options = {}) => {
|
|
6639
|
-
return useConnectedMutation_default(RemoveSelfEventListingSponsor, options);
|
|
6640
|
-
};
|
|
6641
|
-
|
|
6642
6524
|
// src/mutations/self/useRemoveSelfEventSession.ts
|
|
6643
6525
|
var RemoveSelfEventSession = async ({
|
|
6644
6526
|
eventId,
|
|
@@ -6661,31 +6543,6 @@ var useRemoveSelfEventSession = (options = {}) => {
|
|
|
6661
6543
|
return useConnectedMutation_default(RemoveSelfEventSession, options);
|
|
6662
6544
|
};
|
|
6663
6545
|
|
|
6664
|
-
// src/mutations/self/useSelfCheckinRegistration.tsx
|
|
6665
|
-
var SelfCheckinRegistration = async ({
|
|
6666
|
-
eventId,
|
|
6667
|
-
registrationId,
|
|
6668
|
-
clientApiParams,
|
|
6669
|
-
queryClient
|
|
6670
|
-
}) => {
|
|
6671
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6672
|
-
const { data } = await clientApi.post(
|
|
6673
|
-
`/self/events/listings/${eventId}/registrations/${registrationId}`
|
|
6674
|
-
);
|
|
6675
|
-
if (queryClient && data.status === "ok") {
|
|
6676
|
-
queryClient.invalidateQueries({
|
|
6677
|
-
queryKey: SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
6678
|
-
});
|
|
6679
|
-
queryClient.invalidateQueries({
|
|
6680
|
-
queryKey: SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY(eventId)
|
|
6681
|
-
});
|
|
6682
|
-
}
|
|
6683
|
-
return data;
|
|
6684
|
-
};
|
|
6685
|
-
var useSelfCheckinRegistration = (options = {}) => {
|
|
6686
|
-
return useConnectedMutation_default(SelfCheckinRegistration, options);
|
|
6687
|
-
};
|
|
6688
|
-
|
|
6689
6546
|
// src/mutations/activities/optimistic/UpdateComments.ts
|
|
6690
6547
|
var import_immer5 = require("immer");
|
|
6691
6548
|
var UpdateCommentsSingle = (increment, queryClient, KEY) => {
|
|
@@ -6832,64 +6689,6 @@ var useDeleteActivity = (options = {}) => {
|
|
|
6832
6689
|
return useConnectedMutation_default(DeleteActivity, options);
|
|
6833
6690
|
};
|
|
6834
6691
|
|
|
6835
|
-
// src/mutations/self/useSelfJoinCommunity.ts
|
|
6836
|
-
var SelfJoinCommunity = async ({
|
|
6837
|
-
communityId,
|
|
6838
|
-
clientApiParams,
|
|
6839
|
-
queryClient
|
|
6840
|
-
}) => {
|
|
6841
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6842
|
-
const { data } = await clientApi.post(`/self/communities/${communityId}`);
|
|
6843
|
-
if (queryClient && data.status === "ok") {
|
|
6844
|
-
queryClient.invalidateQueries({
|
|
6845
|
-
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
6846
|
-
});
|
|
6847
|
-
queryClient.invalidateQueries({
|
|
6848
|
-
queryKey: COMMUNITIES_QUERY_KEY()
|
|
6849
|
-
});
|
|
6850
|
-
queryClient.invalidateQueries({
|
|
6851
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
6852
|
-
});
|
|
6853
|
-
queryClient.invalidateQueries({
|
|
6854
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
6855
|
-
});
|
|
6856
|
-
}
|
|
6857
|
-
return data;
|
|
6858
|
-
};
|
|
6859
|
-
var useSelfJoinCommunity = (options = {}) => {
|
|
6860
|
-
return useConnectedMutation_default(SelfJoinCommunity, options);
|
|
6861
|
-
};
|
|
6862
|
-
|
|
6863
|
-
// src/mutations/self/useSelfLeaveCommunity.ts
|
|
6864
|
-
var SelfLeaveCommunity = async ({
|
|
6865
|
-
communityId,
|
|
6866
|
-
clientApiParams,
|
|
6867
|
-
queryClient
|
|
6868
|
-
}) => {
|
|
6869
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6870
|
-
const { data } = await clientApi.delete(
|
|
6871
|
-
`/self/communities/${communityId}`
|
|
6872
|
-
);
|
|
6873
|
-
if (queryClient && data.status === "ok") {
|
|
6874
|
-
queryClient.invalidateQueries({
|
|
6875
|
-
queryKey: COMMUNITY_QUERY_KEY(communityId)
|
|
6876
|
-
});
|
|
6877
|
-
queryClient.invalidateQueries({
|
|
6878
|
-
queryKey: COMMUNITIES_QUERY_KEY()
|
|
6879
|
-
});
|
|
6880
|
-
queryClient.invalidateQueries({
|
|
6881
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
|
|
6882
|
-
});
|
|
6883
|
-
queryClient.invalidateQueries({
|
|
6884
|
-
queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
|
|
6885
|
-
});
|
|
6886
|
-
}
|
|
6887
|
-
return data;
|
|
6888
|
-
};
|
|
6889
|
-
var useSelfLeaveCommunity = (options = {}) => {
|
|
6890
|
-
return useConnectedMutation_default(SelfLeaveCommunity, options);
|
|
6891
|
-
};
|
|
6892
|
-
|
|
6893
6692
|
// src/mutations/self/useSelfUpdateCommunityMembership.ts
|
|
6894
6693
|
var SelfUpdateCommunityMembership = async ({
|
|
6895
6694
|
communityId,
|
|
@@ -6942,102 +6741,6 @@ var useUpdateSelf = (options = {}) => {
|
|
|
6942
6741
|
return useConnectedMutation_default(UpdateSelf, options);
|
|
6943
6742
|
};
|
|
6944
6743
|
|
|
6945
|
-
// src/mutations/self/useUpdateSelfEventListing.ts
|
|
6946
|
-
var UpdateSelfEventListing = async ({
|
|
6947
|
-
eventId,
|
|
6948
|
-
event,
|
|
6949
|
-
base64,
|
|
6950
|
-
clientApiParams,
|
|
6951
|
-
queryClient
|
|
6952
|
-
}) => {
|
|
6953
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6954
|
-
const { data } = await clientApi.put(
|
|
6955
|
-
`/self/events/listings/${eventId}`,
|
|
6956
|
-
{
|
|
6957
|
-
event,
|
|
6958
|
-
image: base64 ?? void 0
|
|
6959
|
-
}
|
|
6960
|
-
);
|
|
6961
|
-
if (queryClient && data.status === "ok") {
|
|
6962
|
-
SET_EVENT_QUERY_DATA(queryClient, [eventId], data, [
|
|
6963
|
-
clientApiParams.locale
|
|
6964
|
-
]);
|
|
6965
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data, [
|
|
6966
|
-
clientApiParams.locale
|
|
6967
|
-
]);
|
|
6968
|
-
queryClient.invalidateQueries({ queryKey: EVENT_QUERY_KEY(eventId) });
|
|
6969
|
-
queryClient.invalidateQueries({
|
|
6970
|
-
queryKey: SELF_EVENT_LISTING_QUERY_KEY(eventId)
|
|
6971
|
-
});
|
|
6972
|
-
queryClient.invalidateQueries({
|
|
6973
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(false)
|
|
6974
|
-
});
|
|
6975
|
-
queryClient.invalidateQueries({
|
|
6976
|
-
queryKey: SELF_EVENT_LISTINGS_QUERY_KEY(true)
|
|
6977
|
-
});
|
|
6978
|
-
}
|
|
6979
|
-
return data;
|
|
6980
|
-
};
|
|
6981
|
-
var useUpdateSelfEventListing = (options = {}) => {
|
|
6982
|
-
return useConnectedMutation_default(UpdateSelfEventListing, options);
|
|
6983
|
-
};
|
|
6984
|
-
|
|
6985
|
-
// src/mutations/self/useUpdateSelfEventListingSession.ts
|
|
6986
|
-
var UpdateSelfEventListingSession = async ({
|
|
6987
|
-
eventId,
|
|
6988
|
-
session,
|
|
6989
|
-
sessionId,
|
|
6990
|
-
clientApiParams,
|
|
6991
|
-
queryClient
|
|
6992
|
-
}) => {
|
|
6993
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
6994
|
-
const { data } = await clientApi.put(
|
|
6995
|
-
`/self/events/listings/${eventId}/sessions/${sessionId}`,
|
|
6996
|
-
{
|
|
6997
|
-
session
|
|
6998
|
-
}
|
|
6999
|
-
);
|
|
7000
|
-
if (queryClient && data.status === "ok") {
|
|
7001
|
-
queryClient.invalidateQueries({
|
|
7002
|
-
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
7003
|
-
});
|
|
7004
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7005
|
-
}
|
|
7006
|
-
return data;
|
|
7007
|
-
};
|
|
7008
|
-
var useUpdateSelfEventListingSession = (options = {}) => {
|
|
7009
|
-
return useConnectedMutation_default(UpdateSelfEventListingSession, options);
|
|
7010
|
-
};
|
|
7011
|
-
|
|
7012
|
-
// src/mutations/self/useUpdateSelfEventListingSpeaker.ts
|
|
7013
|
-
var UpdateSelfEventListingSpeaker = async ({
|
|
7014
|
-
eventId,
|
|
7015
|
-
speaker,
|
|
7016
|
-
speakerId,
|
|
7017
|
-
buffer,
|
|
7018
|
-
clientApiParams,
|
|
7019
|
-
queryClient
|
|
7020
|
-
}) => {
|
|
7021
|
-
const clientApi = await GetClientAPI(clientApiParams);
|
|
7022
|
-
const { data } = await clientApi.put(
|
|
7023
|
-
`/self/events/listings/${eventId}/speakers/${speakerId}`,
|
|
7024
|
-
{
|
|
7025
|
-
speaker,
|
|
7026
|
-
buffer: buffer || void 0
|
|
7027
|
-
}
|
|
7028
|
-
);
|
|
7029
|
-
if (queryClient && data.status === "ok") {
|
|
7030
|
-
queryClient.invalidateQueries({
|
|
7031
|
-
queryKey: EVENT_SPEAKERS_QUERY_KEY(eventId)
|
|
7032
|
-
});
|
|
7033
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA(queryClient, [eventId], data);
|
|
7034
|
-
}
|
|
7035
|
-
return data;
|
|
7036
|
-
};
|
|
7037
|
-
var useUpdateSelfEventListingSpeaker = (options = {}) => {
|
|
7038
|
-
return useConnectedMutation_default(UpdateSelfEventListingSpeaker, options);
|
|
7039
|
-
};
|
|
7040
|
-
|
|
7041
6744
|
// src/mutations/self/useUpdateSelfImage.ts
|
|
7042
6745
|
var UpdateSelfImage = async ({
|
|
7043
6746
|
base64,
|
|
@@ -7179,6 +6882,709 @@ var CreateTeamAccount = async ({
|
|
|
7179
6882
|
var useCreateTeamAccount = (options = {}) => {
|
|
7180
6883
|
return useConnectedMutation_default(CreateTeamAccount, options);
|
|
7181
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
|
+
};
|
|
7182
7588
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7183
7589
|
0 && (module.exports = {
|
|
7184
7590
|
ACCOUNTS_QUERY_KEY,
|
|
@@ -7192,14 +7598,13 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7192
7598
|
ACTIVITY_COMMENTS_QUERY_KEY,
|
|
7193
7599
|
ACTIVITY_QUERY_KEY,
|
|
7194
7600
|
ADVERTISEMENT_QUERY_KEY,
|
|
7601
|
+
AcceptCommunityInvitation,
|
|
7602
|
+
AcceptCommunityRequest,
|
|
7195
7603
|
AcceptTransfer,
|
|
7196
7604
|
AccountType,
|
|
7197
|
-
|
|
7605
|
+
AddListingSponsor,
|
|
7198
7606
|
AddSelfChatChannelMember,
|
|
7199
7607
|
AddSelfDelegate,
|
|
7200
|
-
AddSelfEventListingSession,
|
|
7201
|
-
AddSelfEventListingSpeaker,
|
|
7202
|
-
AddSelfEventListingSponsor,
|
|
7203
7608
|
AddSelfEventRegistrationPurchase,
|
|
7204
7609
|
AddSelfEventRegistrationPurchaseAddOn,
|
|
7205
7610
|
AddSelfEventSession,
|
|
@@ -7210,9 +7615,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7210
7615
|
COMMUNITY_ACTIVITIES_QUERY_KEY,
|
|
7211
7616
|
COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
|
|
7212
7617
|
COMMUNITY_EVENTS_QUERY_KEY,
|
|
7618
|
+
COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
|
|
7619
|
+
COMMUNITY_MEDIA_QUERY_KEY,
|
|
7213
7620
|
COMMUNITY_MEMBERS_QUERY_KEY,
|
|
7214
|
-
COMMUNITY_MODERATORS_QUERY_KEY,
|
|
7215
7621
|
COMMUNITY_QUERY_KEY,
|
|
7622
|
+
COMMUNITY_REQUESTS_QUERY_KEY,
|
|
7623
|
+
COMMUNITY_REQUEST_QUERY_KEY,
|
|
7216
7624
|
COMMUNITY_SPONSORS_QUERY_KEY,
|
|
7217
7625
|
CONTENTS_QUERY_KEY,
|
|
7218
7626
|
CONTENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -7226,27 +7634,39 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7226
7634
|
CancelTransfer,
|
|
7227
7635
|
CaptureInvoicePayment,
|
|
7228
7636
|
CaptureSelfEventRegistrationPayment,
|
|
7637
|
+
CheckinListingRegistration,
|
|
7229
7638
|
CommunityAccess,
|
|
7230
7639
|
CommunityMembershipRole,
|
|
7640
|
+
CommunityRequestStatus,
|
|
7231
7641
|
CompleteEventActivation,
|
|
7232
7642
|
ConnectedXMProvider,
|
|
7233
7643
|
ContentTypeFormat,
|
|
7234
7644
|
CouponType,
|
|
7645
|
+
CreateCommunity,
|
|
7235
7646
|
CreateCommunityAnnouncement,
|
|
7647
|
+
CreateCommunityInvitations,
|
|
7648
|
+
CreateCommunityRequest,
|
|
7236
7649
|
CreateEventLead,
|
|
7650
|
+
CreateListing,
|
|
7651
|
+
CreateListingSession,
|
|
7652
|
+
CreateListingSpeaker,
|
|
7237
7653
|
CreateSelfChatChannel,
|
|
7238
7654
|
CreateSelfChatChannelMessage,
|
|
7239
|
-
CreateSelfEventListing,
|
|
7240
7655
|
CreateSubscription,
|
|
7241
7656
|
CreateSupportTicket,
|
|
7242
7657
|
CreateTeamAccount,
|
|
7243
7658
|
Currency,
|
|
7659
|
+
DeactivateCommunity,
|
|
7244
7660
|
DeleteActivity,
|
|
7661
|
+
DeleteCommunityInvitation,
|
|
7662
|
+
DeleteListingSession,
|
|
7663
|
+
DeleteListingSpeaker,
|
|
7245
7664
|
DeleteReshare,
|
|
7246
7665
|
DeleteSelf,
|
|
7247
7666
|
DeleteSelfChatChannel,
|
|
7248
7667
|
DeleteSelfChatChannelMessage,
|
|
7249
7668
|
DeleteSelfPushDevice,
|
|
7669
|
+
DemoteCommunityModerator,
|
|
7250
7670
|
EVENTS_FEATURED_QUERY_KEY,
|
|
7251
7671
|
EVENTS_QUERY_KEY,
|
|
7252
7672
|
EVENT_ACTIVITIES_QUERY_KEY,
|
|
@@ -7288,8 +7708,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7288
7708
|
GetCommunityActivities,
|
|
7289
7709
|
GetCommunityAnnouncements,
|
|
7290
7710
|
GetCommunityEvents,
|
|
7711
|
+
GetCommunityInvitableAccounts,
|
|
7712
|
+
GetCommunityMedia,
|
|
7291
7713
|
GetCommunityMembers,
|
|
7292
|
-
|
|
7714
|
+
GetCommunityRequest,
|
|
7715
|
+
GetCommunityRequests,
|
|
7293
7716
|
GetCommunitySponsors,
|
|
7294
7717
|
GetContent,
|
|
7295
7718
|
GetContentActivities,
|
|
@@ -7345,6 +7768,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7345
7768
|
GetSelfEventRegistrationPurchaseAddOns,
|
|
7346
7769
|
GetSelfEventRegistrationPurchaseReservationSections,
|
|
7347
7770
|
GetSelfEventRegistrationPurchaseSections,
|
|
7771
|
+
GetSelfEventRegistrationStatus,
|
|
7348
7772
|
GetSelfEventSessions,
|
|
7349
7773
|
GetSelfEvents,
|
|
7350
7774
|
GetSelfFeed,
|
|
@@ -7368,9 +7792,14 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7368
7792
|
INVOICE_QUERY_KEY,
|
|
7369
7793
|
ImageType,
|
|
7370
7794
|
InvoiceStatus,
|
|
7795
|
+
JoinCommunity,
|
|
7371
7796
|
LEVELS_QUERY_KEY,
|
|
7372
7797
|
LEVEL_QUERY_KEY,
|
|
7373
7798
|
LEVEL_SPONSORS_QUERY_KEY,
|
|
7799
|
+
LISTINGS_QUERY_KEY,
|
|
7800
|
+
LISTING_QUERY_KEY,
|
|
7801
|
+
LISTING_REGISTRATIONS_QUERY_KEY,
|
|
7802
|
+
LeaveCommunity,
|
|
7374
7803
|
LeaveSelfChatChannel,
|
|
7375
7804
|
LikeActivity,
|
|
7376
7805
|
MergeInfinitePages,
|
|
@@ -7380,17 +7809,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7380
7809
|
ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
|
|
7381
7810
|
ORGANIZATION_QUERY_KEY,
|
|
7382
7811
|
ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
|
|
7812
|
+
PromoteCommunityMember,
|
|
7383
7813
|
PushDeviceAppType,
|
|
7384
7814
|
PushService,
|
|
7385
7815
|
RegisterCancelledEventRegistration,
|
|
7386
7816
|
RegistrationQuestionType,
|
|
7387
7817
|
RegistrationStatus,
|
|
7818
|
+
RejectCommunityInvitation,
|
|
7819
|
+
RejectCommunityRequest,
|
|
7388
7820
|
RejectTransfer,
|
|
7389
|
-
|
|
7821
|
+
RemoveCommunityMember,
|
|
7822
|
+
RemoveListingSponsor,
|
|
7390
7823
|
RemoveSelfDelegate,
|
|
7391
|
-
RemoveSelfEventListingSession,
|
|
7392
|
-
RemoveSelfEventListingSpeaker,
|
|
7393
|
-
RemoveSelfEventListingSponsor,
|
|
7394
7824
|
RemoveSelfEventRegistrationCoupon,
|
|
7395
7825
|
RemoveSelfEventRegistrationPurchase,
|
|
7396
7826
|
RemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -7407,15 +7837,13 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7407
7837
|
SELF_DELEGATES_QUERY_KEY,
|
|
7408
7838
|
SELF_DELEGATE_OF_QUERY_KEY,
|
|
7409
7839
|
SELF_EVENTS_QUERY_KEY,
|
|
7410
|
-
SELF_EVENT_LISTINGS_QUERY_KEY,
|
|
7411
|
-
SELF_EVENT_LISTING_QUERY_KEY,
|
|
7412
|
-
SELF_EVENT_LISTING_REGISTRATIONS_QUERY_KEY,
|
|
7413
7840
|
SELF_EVENT_REGISTRATION_CHECKOUT_QUERY_KEY,
|
|
7414
7841
|
SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_KEY,
|
|
7415
7842
|
SELF_EVENT_REGISTRATION_PURCHASE_QUERY_KEY,
|
|
7416
7843
|
SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_KEY,
|
|
7417
7844
|
SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_KEY,
|
|
7418
7845
|
SELF_EVENT_REGISTRATION_QUERY_KEY,
|
|
7846
|
+
SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
|
|
7419
7847
|
SELF_EVENT_SESSIONS_QUERY_KEY,
|
|
7420
7848
|
SELF_FEED_QUERY_KEY,
|
|
7421
7849
|
SELF_INTERESTS_QUERY_KEY,
|
|
@@ -7450,9 +7878,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7450
7878
|
SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
|
|
7451
7879
|
SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
|
|
7452
7880
|
SET_COMMUNITY_EVENTS_QUERY_DATA,
|
|
7881
|
+
SET_COMMUNITY_MEDIA_QUERY_DATA,
|
|
7453
7882
|
SET_COMMUNITY_MEMBERS_QUERY_DATA,
|
|
7454
|
-
SET_COMMUNITY_MODERATORS_QUERY_DATA,
|
|
7455
7883
|
SET_COMMUNITY_QUERY_DATA,
|
|
7884
|
+
SET_COMMUNITY_REQUESTS_QUERY_DATA,
|
|
7885
|
+
SET_COMMUNITY_REQUEST_QUERY_DATA,
|
|
7456
7886
|
SET_COMMUNITY_SPONSORS_QUERY_DATA,
|
|
7457
7887
|
SET_CONTENTS_QUERY_DATA,
|
|
7458
7888
|
SET_CONTENT_ACTIVITIES_QUERY_DATA,
|
|
@@ -7481,6 +7911,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7481
7911
|
SET_LEVELS_QUERY_DATA,
|
|
7482
7912
|
SET_LEVEL_QUERY_DATA,
|
|
7483
7913
|
SET_LEVEL_SPONSORS_QUERY_DATA,
|
|
7914
|
+
SET_LISTING_QUERY_DATA,
|
|
7484
7915
|
SET_ORGANIZATION_PAGE_QUERY_DATA,
|
|
7485
7916
|
SET_PUSH_DEVICE_QUERY_DATA,
|
|
7486
7917
|
SET_SELF_CHAT_CHANNELS_QUERY_DATA,
|
|
@@ -7488,12 +7919,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7488
7919
|
SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
|
|
7489
7920
|
SET_SELF_CHAT_CHANNEL_QUERY_DATA,
|
|
7490
7921
|
SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
|
|
7491
|
-
SET_SELF_EVENT_LISTING_QUERY_DATA,
|
|
7492
7922
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
|
|
7493
7923
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
|
|
7494
7924
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
|
|
7495
7925
|
SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
|
|
7496
7926
|
SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
|
|
7927
|
+
SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
|
|
7497
7928
|
SET_SELF_QUERY_DATA,
|
|
7498
7929
|
SET_SERIES_EVENTS_QUERY_DATA,
|
|
7499
7930
|
SET_SERIES_LIST_QUERY_DATA,
|
|
@@ -7504,10 +7935,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7504
7935
|
SPONSOR_QUERY_KEY,
|
|
7505
7936
|
SelectSelfEventRegistrationCoupon,
|
|
7506
7937
|
SelectSelfEventRegistrationPurchaseReservation,
|
|
7507
|
-
SelfCheckinRegistration,
|
|
7508
7938
|
SelfCreateActivity,
|
|
7509
|
-
SelfJoinCommunity,
|
|
7510
|
-
SelfLeaveCommunity,
|
|
7511
7939
|
SelfUpdateCommunityMembership,
|
|
7512
7940
|
SubmitSelfEventRegistration,
|
|
7513
7941
|
SubscriptionStatus,
|
|
@@ -7518,11 +7946,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7518
7946
|
UnfollowAccount,
|
|
7519
7947
|
UnlikeActivity,
|
|
7520
7948
|
UpdateCommunity,
|
|
7949
|
+
UpdateListing,
|
|
7950
|
+
UpdateListingSession,
|
|
7951
|
+
UpdateListingSpeaker,
|
|
7521
7952
|
UpdateSelf,
|
|
7522
7953
|
UpdateSelfChatChannelNotifications,
|
|
7523
|
-
UpdateSelfEventListing,
|
|
7524
|
-
UpdateSelfEventListingSession,
|
|
7525
|
-
UpdateSelfEventListingSpeaker,
|
|
7526
7954
|
UpdateSelfEventRegistrationQuestionResponse,
|
|
7527
7955
|
UpdateSelfImage,
|
|
7528
7956
|
UpdateSelfLead,
|
|
@@ -7568,13 +7996,12 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7568
7996
|
isTypeTrack,
|
|
7569
7997
|
isTypeTransfer,
|
|
7570
7998
|
setFirstPageData,
|
|
7999
|
+
useAcceptCommunityInvitation,
|
|
8000
|
+
useAcceptCommunityRequest,
|
|
7571
8001
|
useAcceptTransfer,
|
|
7572
|
-
|
|
8002
|
+
useAddListingSponsor,
|
|
7573
8003
|
useAddSelfChatChannelMember,
|
|
7574
8004
|
useAddSelfDelegate,
|
|
7575
|
-
useAddSelfEventListingSession,
|
|
7576
|
-
useAddSelfEventListingSpeaker,
|
|
7577
|
-
useAddSelfEventListingSponsor,
|
|
7578
8005
|
useAddSelfEventRegistrationPurchase,
|
|
7579
8006
|
useAddSelfEventRegistrationPurchaseAddOn,
|
|
7580
8007
|
useAddSelfEventSession,
|
|
@@ -7583,25 +8010,36 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7583
8010
|
useCancelTransfer,
|
|
7584
8011
|
useCaptureInvoicePayment,
|
|
7585
8012
|
useCaptureSelfEventRegistrationPayment,
|
|
8013
|
+
useCheckinListingRegistration,
|
|
7586
8014
|
useCompleteEventActivation,
|
|
7587
8015
|
useConnectedInfiniteQuery,
|
|
7588
8016
|
useConnectedMutation,
|
|
7589
8017
|
useConnectedSingleQuery,
|
|
7590
8018
|
useConnectedXM,
|
|
8019
|
+
useCreateCommunity,
|
|
7591
8020
|
useCreateCommunityAnnouncement,
|
|
8021
|
+
useCreateCommunityInvitations,
|
|
8022
|
+
useCreateCommunityRequest,
|
|
7592
8023
|
useCreateEventLead,
|
|
8024
|
+
useCreateListing,
|
|
8025
|
+
useCreateListingSession,
|
|
8026
|
+
useCreateListingSpeaker,
|
|
7593
8027
|
useCreateSelfChatChannel,
|
|
7594
8028
|
useCreateSelfChatChannelMessage,
|
|
7595
|
-
useCreateSelfEventListing,
|
|
7596
8029
|
useCreateSubscription,
|
|
7597
8030
|
useCreateSupportTicket,
|
|
7598
8031
|
useCreateTeamAccount,
|
|
8032
|
+
useDeactivateCommunity,
|
|
7599
8033
|
useDeleteActivity,
|
|
8034
|
+
useDeleteCommunityInvitation,
|
|
8035
|
+
useDeleteListingSession,
|
|
8036
|
+
useDeleteListingSpeaker,
|
|
7600
8037
|
useDeleteReshare,
|
|
7601
8038
|
useDeleteSelf,
|
|
7602
8039
|
useDeleteSelfChatChannel,
|
|
7603
8040
|
useDeleteSelfChatChannelMessage,
|
|
7604
8041
|
useDeleteSelfPushDevice,
|
|
8042
|
+
useDemoteCommunityModerator,
|
|
7605
8043
|
useFollowAccount,
|
|
7606
8044
|
useGetAccount,
|
|
7607
8045
|
useGetAccountActivities,
|
|
@@ -7620,8 +8058,11 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7620
8058
|
useGetCommunityActivities,
|
|
7621
8059
|
useGetCommunityAnnouncements,
|
|
7622
8060
|
useGetCommunityEvents,
|
|
8061
|
+
useGetCommunityInvitableAccounts,
|
|
8062
|
+
useGetCommunityMedia,
|
|
7623
8063
|
useGetCommunityMembers,
|
|
7624
|
-
|
|
8064
|
+
useGetCommunityRequest,
|
|
8065
|
+
useGetCommunityRequests,
|
|
7625
8066
|
useGetCommunitySponsors,
|
|
7626
8067
|
useGetContent,
|
|
7627
8068
|
useGetContentActivities,
|
|
@@ -7676,6 +8117,7 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7676
8117
|
useGetSelfEventRegistrationPurchaseAddOns,
|
|
7677
8118
|
useGetSelfEventRegistrationPurchaseReservationSections,
|
|
7678
8119
|
useGetSelfEventRegistrationPurchaseSections,
|
|
8120
|
+
useGetSelfEventRegistrationStatus,
|
|
7679
8121
|
useGetSelfEventSessions,
|
|
7680
8122
|
useGetSelfEvents,
|
|
7681
8123
|
useGetSelfFeed,
|
|
@@ -7696,15 +8138,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7696
8138
|
useGetSeriesList,
|
|
7697
8139
|
useGetSponsor,
|
|
7698
8140
|
useGetSponsors,
|
|
8141
|
+
useJoinCommunity,
|
|
8142
|
+
useLeaveCommunity,
|
|
7699
8143
|
useLeaveSelfChatChannel,
|
|
7700
8144
|
useLikeActivity,
|
|
8145
|
+
usePromoteCommunityMember,
|
|
7701
8146
|
useRegisterCancelledEventRegistration,
|
|
8147
|
+
useRejectCommunityInvitation,
|
|
8148
|
+
useRejectCommunityRequest,
|
|
7702
8149
|
useRejectTransfer,
|
|
7703
|
-
|
|
8150
|
+
useRemoveCommunityMember,
|
|
8151
|
+
useRemoveListingSponsor,
|
|
7704
8152
|
useRemoveSelfDelegate,
|
|
7705
|
-
useRemoveSelfEventListingSession,
|
|
7706
|
-
useRemoveSelfEventListingSpeaker,
|
|
7707
|
-
useRemoveSelfEventListingSponsor,
|
|
7708
8153
|
useRemoveSelfEventRegistrationCoupon,
|
|
7709
8154
|
useRemoveSelfEventRegistrationPurchase,
|
|
7710
8155
|
useRemoveSelfEventRegistrationPurchaseAddOn,
|
|
@@ -7712,21 +8157,18 @@ var useCreateTeamAccount = (options = {}) => {
|
|
|
7712
8157
|
useReshareActivity,
|
|
7713
8158
|
useSelectSelfEventRegistrationCoupon,
|
|
7714
8159
|
useSelectSelfEventRegistrationPurchaseReservation,
|
|
7715
|
-
useSelfCheckinRegistration,
|
|
7716
8160
|
useSelfCreateActivity,
|
|
7717
|
-
useSelfJoinCommunity,
|
|
7718
|
-
useSelfLeaveCommunity,
|
|
7719
8161
|
useSelfUpdateCommunityMembership,
|
|
7720
8162
|
useSubmitSelfEventRegistration,
|
|
7721
8163
|
useTransferPurchase,
|
|
7722
8164
|
useUnfollowAccount,
|
|
7723
8165
|
useUnlikeActivity,
|
|
7724
8166
|
useUpdateCommunity,
|
|
8167
|
+
useUpdateListing,
|
|
8168
|
+
useUpdateListingSession,
|
|
8169
|
+
useUpdateListingSpeaker,
|
|
7725
8170
|
useUpdateSelf,
|
|
7726
8171
|
useUpdateSelfChatChannelNotifications,
|
|
7727
|
-
useUpdateSelfEventListing,
|
|
7728
|
-
useUpdateSelfEventListingSession,
|
|
7729
|
-
useUpdateSelfEventListingSpeaker,
|
|
7730
8172
|
useUpdateSelfEventRegistrationQuestionResponse,
|
|
7731
8173
|
useUpdateSelfImage,
|
|
7732
8174
|
useUpdateSelfLead,
|