@connectedxm/client 0.4.11 → 0.5.0

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.js CHANGED
@@ -33,17 +33,17 @@ __export(src_exports, {
33
33
  ACCOUNTS_QUERY_KEY: () => ACCOUNTS_QUERY_KEY,
34
34
  ACCOUNT_ACTIVITIES_QUERY_KEY: () => ACCOUNT_ACTIVITIES_QUERY_KEY,
35
35
  ACCOUNT_BY_SHARE_CODE_QUERY_KEY: () => ACCOUNT_BY_SHARE_CODE_QUERY_KEY,
36
- ACCOUNT_COMMUNITIES_QUERY_KEY: () => ACCOUNT_COMMUNITIES_QUERY_KEY,
37
36
  ACCOUNT_FOLLOWERS_QUERY_KEY: () => ACCOUNT_FOLLOWERS_QUERY_KEY,
38
37
  ACCOUNT_FOLLOWINGS_QUERY_KEY: () => ACCOUNT_FOLLOWINGS_QUERY_KEY,
38
+ ACCOUNT_GROUPS_QUERY_KEY: () => ACCOUNT_GROUPS_QUERY_KEY,
39
39
  ACCOUNT_QUERY_KEY: () => ACCOUNT_QUERY_KEY,
40
40
  ACTIVITIES_QUERY_KEY: () => ACTIVITIES_QUERY_KEY,
41
41
  ACTIVITY_COMMENTS_QUERY_KEY: () => ACTIVITY_COMMENTS_QUERY_KEY,
42
42
  ACTIVITY_QUERY_KEY: () => ACTIVITY_QUERY_KEY,
43
43
  ADD_SELF_RELATIONSHIP: () => ADD_SELF_RELATIONSHIP,
44
44
  ADVERTISEMENT_QUERY_KEY: () => ADVERTISEMENT_QUERY_KEY,
45
- AcceptCommunityInvitation: () => AcceptCommunityInvitation,
46
- AcceptCommunityRequest: () => AcceptCommunityRequest,
45
+ AcceptGroupInvitation: () => AcceptGroupInvitation,
46
+ AcceptGroupRequest: () => AcceptGroupRequest,
47
47
  AcceptTransfer: () => AcceptTransfer,
48
48
  AccountType: () => AccountType,
49
49
  AddListingSponsor: () => AddListingSponsor,
@@ -52,20 +52,10 @@ __export(src_exports, {
52
52
  AddSelfEventRegistrationPurchase: () => AddSelfEventRegistrationPurchase,
53
53
  AddSelfEventRegistrationPurchaseAddOn: () => AddSelfEventRegistrationPurchaseAddOn,
54
54
  AddSelfEventSession: () => AddSelfEventSession,
55
+ AddSelfInterests: () => AddSelfInterests,
55
56
  AdvertisementType: () => AdvertisementType,
56
57
  AppendInfiniteQuery: () => AppendInfiniteQuery,
57
58
  BENEFITS_QUERY_KEY: () => BENEFITS_QUERY_KEY,
58
- COMMUNITIES_QUERY_KEY: () => COMMUNITIES_QUERY_KEY,
59
- COMMUNITY_ACTIVITIES_QUERY_KEY: () => COMMUNITY_ACTIVITIES_QUERY_KEY,
60
- COMMUNITY_ANNOUNCEMENTS_QUERY_KEY: () => COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
61
- COMMUNITY_EVENTS_QUERY_KEY: () => COMMUNITY_EVENTS_QUERY_KEY,
62
- COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY: () => COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
63
- COMMUNITY_MEDIA_QUERY_KEY: () => COMMUNITY_MEDIA_QUERY_KEY,
64
- COMMUNITY_MEMBERS_QUERY_KEY: () => COMMUNITY_MEMBERS_QUERY_KEY,
65
- COMMUNITY_QUERY_KEY: () => COMMUNITY_QUERY_KEY,
66
- COMMUNITY_REQUESTS_QUERY_KEY: () => COMMUNITY_REQUESTS_QUERY_KEY,
67
- COMMUNITY_REQUEST_QUERY_KEY: () => COMMUNITY_REQUEST_QUERY_KEY,
68
- COMMUNITY_SPONSORS_QUERY_KEY: () => COMMUNITY_SPONSORS_QUERY_KEY,
69
59
  CONTENTS_QUERY_KEY: () => CONTENTS_QUERY_KEY,
70
60
  CONTENT_ACTIVITIES_QUERY_KEY: () => CONTENT_ACTIVITIES_QUERY_KEY,
71
61
  CONTENT_QUERY_KEY: () => CONTENT_QUERY_KEY,
@@ -79,18 +69,15 @@ __export(src_exports, {
79
69
  CaptureInvoicePayment: () => CaptureInvoicePayment,
80
70
  CaptureSelfEventRegistrationPayment: () => CaptureSelfEventRegistrationPayment,
81
71
  CheckinListingRegistrationPurchase: () => CheckinListingRegistrationPurchase,
82
- CommunityAccess: () => CommunityAccess,
83
- CommunityMembershipRole: () => CommunityMembershipRole,
84
- CommunityRequestStatus: () => CommunityRequestStatus,
85
72
  CompleteEventActivation: () => CompleteEventActivation,
86
73
  ConnectedXMProvider: () => ConnectedXMProvider,
87
74
  ContentTypeFormat: () => ContentTypeFormat,
88
75
  CouponType: () => CouponType,
89
- CreateCommunity: () => CreateCommunity,
90
- CreateCommunityAnnouncement: () => CreateCommunityAnnouncement,
91
- CreateCommunityInvitations: () => CreateCommunityInvitations,
92
- CreateCommunityRequest: () => CreateCommunityRequest,
93
76
  CreateEventLead: () => CreateEventLead,
77
+ CreateGroup: () => CreateGroup,
78
+ CreateGroupAnnouncement: () => CreateGroupAnnouncement,
79
+ CreateGroupInvitations: () => CreateGroupInvitations,
80
+ CreateGroupRequest: () => CreateGroupRequest,
94
81
  CreateListing: () => CreateListing,
95
82
  CreateListingAnnouncement: () => CreateListingAnnouncement,
96
83
  CreateListingQuestion: () => CreateListingQuestion,
@@ -102,9 +89,9 @@ __export(src_exports, {
102
89
  CreateSupportTicket: () => CreateSupportTicket,
103
90
  CreateTeamAccount: () => CreateTeamAccount,
104
91
  Currency: () => Currency,
105
- DeactivateCommunity: () => DeactivateCommunity,
92
+ DeactivateGroup: () => DeactivateGroup,
106
93
  DeleteActivity: () => DeleteActivity,
107
- DeleteCommunityInvitation: () => DeleteCommunityInvitation,
94
+ DeleteGroupInvitation: () => DeleteGroupInvitation,
108
95
  DeleteListing: () => DeleteListing,
109
96
  DeleteListingQuestion: () => DeleteListingQuestion,
110
97
  DeleteListingSession: () => DeleteListingSession,
@@ -114,7 +101,7 @@ __export(src_exports, {
114
101
  DeleteSelfChatChannel: () => DeleteSelfChatChannel,
115
102
  DeleteSelfChatChannelMessage: () => DeleteSelfChatChannelMessage,
116
103
  DeleteSelfPushDevice: () => DeleteSelfPushDevice,
117
- DemoteCommunityModerator: () => DemoteCommunityModerator,
104
+ DemoteGroupModerator: () => DemoteGroupModerator,
118
105
  EVENTS_FEATURED_QUERY_KEY: () => EVENTS_FEATURED_QUERY_KEY,
119
106
  EVENTS_QUERY_KEY: () => EVENTS_QUERY_KEY,
120
107
  EVENT_ACTIVITIES_QUERY_KEY: () => EVENT_ACTIVITIES_QUERY_KEY,
@@ -137,12 +124,23 @@ __export(src_exports, {
137
124
  EventSource: () => EventSource,
138
125
  EventType: () => EventType,
139
126
  FollowAccount: () => FollowAccount,
127
+ GROUPS_QUERY_KEY: () => GROUPS_QUERY_KEY,
128
+ GROUP_ACTIVITIES_QUERY_KEY: () => GROUP_ACTIVITIES_QUERY_KEY,
129
+ GROUP_ANNOUNCEMENTS_QUERY_KEY: () => GROUP_ANNOUNCEMENTS_QUERY_KEY,
130
+ GROUP_EVENTS_QUERY_KEY: () => GROUP_EVENTS_QUERY_KEY,
131
+ GROUP_INVITABLE_ACCOUNTS_QUERY_KEY: () => GROUP_INVITABLE_ACCOUNTS_QUERY_KEY,
132
+ GROUP_MEDIA_QUERY_KEY: () => GROUP_MEDIA_QUERY_KEY,
133
+ GROUP_MEMBERS_QUERY_KEY: () => GROUP_MEMBERS_QUERY_KEY,
134
+ GROUP_QUERY_KEY: () => GROUP_QUERY_KEY,
135
+ GROUP_REQUESTS_QUERY_KEY: () => GROUP_REQUESTS_QUERY_KEY,
136
+ GROUP_REQUEST_QUERY_KEY: () => GROUP_REQUEST_QUERY_KEY,
137
+ GROUP_SPONSORS_QUERY_KEY: () => GROUP_SPONSORS_QUERY_KEY,
140
138
  GetAccount: () => GetAccount,
141
139
  GetAccountActivities: () => GetAccountActivities,
142
140
  GetAccountByShareCode: () => GetAccountByShareCode,
143
- GetAccountCommunities: () => GetAccountCommunities,
144
141
  GetAccountFollowers: () => GetAccountFollowers,
145
142
  GetAccountFollowings: () => GetAccountFollowings,
143
+ GetAccountGroups: () => GetAccountGroups,
146
144
  GetAccounts: () => GetAccounts,
147
145
  GetActivities: () => GetActivities,
148
146
  GetActivity: () => GetActivity,
@@ -152,17 +150,6 @@ __export(src_exports, {
152
150
  GetBaseSingleQueryKeys: () => GetBaseSingleQueryKeys,
153
151
  GetBenefits: () => GetBenefits,
154
152
  GetClientAPI: () => GetClientAPI,
155
- GetCommunities: () => GetCommunities,
156
- GetCommunity: () => GetCommunity,
157
- GetCommunityActivities: () => GetCommunityActivities,
158
- GetCommunityAnnouncements: () => GetCommunityAnnouncements,
159
- GetCommunityEvents: () => GetCommunityEvents,
160
- GetCommunityInvitableAccounts: () => GetCommunityInvitableAccounts,
161
- GetCommunityMedia: () => GetCommunityMedia,
162
- GetCommunityMembers: () => GetCommunityMembers,
163
- GetCommunityRequest: () => GetCommunityRequest,
164
- GetCommunityRequests: () => GetCommunityRequests,
165
- GetCommunitySponsors: () => GetCommunitySponsors,
166
153
  GetContent: () => GetContent,
167
154
  GetContentActivities: () => GetContentActivities,
168
155
  GetContentType: () => GetContentType,
@@ -188,6 +175,17 @@ __export(src_exports, {
188
175
  GetEventTickets: () => GetEventTickets,
189
176
  GetEvents: () => GetEvents,
190
177
  GetFeaturedEvents: () => GetFeaturedEvents,
178
+ GetGroup: () => GetGroup,
179
+ GetGroupActivities: () => GetGroupActivities,
180
+ GetGroupAnnouncements: () => GetGroupAnnouncements,
181
+ GetGroupEvents: () => GetGroupEvents,
182
+ GetGroupInvitableAccounts: () => GetGroupInvitableAccounts,
183
+ GetGroupMedia: () => GetGroupMedia,
184
+ GetGroupMembers: () => GetGroupMembers,
185
+ GetGroupRequest: () => GetGroupRequest,
186
+ GetGroupRequests: () => GetGroupRequests,
187
+ GetGroupSponsors: () => GetGroupSponsors,
188
+ GetGroups: () => GetGroups,
191
189
  GetInterests: () => GetInterests,
192
190
  GetInvoice: () => GetInvoice,
193
191
  GetLevel: () => GetLevel,
@@ -205,8 +203,6 @@ __export(src_exports, {
205
203
  GetSelfChatChannelMembers: () => GetSelfChatChannelMembers,
206
204
  GetSelfChatChannelMessages: () => GetSelfChatChannelMessages,
207
205
  GetSelfChatChannels: () => GetSelfChatChannels,
208
- GetSelfCommunityMembership: () => GetSelfCommunityMembership,
209
- GetSelfCommunityMemberships: () => GetSelfCommunityMemberships,
210
206
  GetSelfDelegateOf: () => GetSelfDelegateOf,
211
207
  GetSelfDelegates: () => GetSelfDelegates,
212
208
  GetSelfEventListing: () => GetSelfEventListing,
@@ -227,6 +223,8 @@ __export(src_exports, {
227
223
  GetSelfEventSessions: () => GetSelfEventSessions,
228
224
  GetSelfEvents: () => GetSelfEvents,
229
225
  GetSelfFeed: () => GetSelfFeed,
226
+ GetSelfGroupMembership: () => GetSelfGroupMembership,
227
+ GetSelfGroupMemberships: () => GetSelfGroupMemberships,
230
228
  GetSelfInterests: () => GetSelfInterests,
231
229
  GetSelfNewNotificationsCount: () => GetSelfNewNotificationsCount,
232
230
  GetSelfNotificationPreferences: () => GetSelfNotificationPreferences,
@@ -243,13 +241,14 @@ __export(src_exports, {
243
241
  GetSeries: () => GetSeries,
244
242
  GetSeriesEvents: () => GetSeriesEvents,
245
243
  GetSeriesList: () => GetSeriesList,
246
- GetSponsor: () => GetSponsor,
247
- GetSponsors: () => GetSponsors,
244
+ GroupAccess: () => GroupAccess,
245
+ GroupMembershipRole: () => GroupMembershipRole,
246
+ GroupRequestStatus: () => GroupRequestStatus,
248
247
  INTERESTS_QUERY_KEY: () => INTERESTS_QUERY_KEY,
249
248
  INVOICE_QUERY_KEY: () => INVOICE_QUERY_KEY,
250
249
  ImageType: () => ImageType,
251
250
  InvoiceStatus: () => InvoiceStatus,
252
- JoinCommunity: () => JoinCommunity,
251
+ JoinGroup: () => JoinGroup,
253
252
  LEVELS_QUERY_KEY: () => LEVELS_QUERY_KEY,
254
253
  LEVEL_QUERY_KEY: () => LEVEL_QUERY_KEY,
255
254
  LEVEL_SPONSORS_QUERY_KEY: () => LEVEL_SPONSORS_QUERY_KEY,
@@ -261,7 +260,7 @@ __export(src_exports, {
261
260
  LISTING_QUESTIONS_QUERY_KEY: () => LISTING_QUESTIONS_QUERY_KEY,
262
261
  LISTING_REGISTRATIONS_QUERY_KEY: () => LISTING_REGISTRATIONS_QUERY_KEY,
263
262
  LISTING_REGISTRATION_QUERY_KEY: () => LISTING_REGISTRATION_QUERY_KEY,
264
- LeaveCommunity: () => LeaveCommunity,
263
+ LeaveGroup: () => LeaveGroup,
265
264
  LeaveSelfChatChannel: () => LeaveSelfChatChannel,
266
265
  LikeActivity: () => LikeActivity,
267
266
  MergeInfinitePages: () => MergeInfinitePages,
@@ -271,17 +270,17 @@ __export(src_exports, {
271
270
  ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY: () => ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
272
271
  ORGANIZATION_QUERY_KEY: () => ORGANIZATION_QUERY_KEY,
273
272
  ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY: () => ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
274
- PromoteCommunityMember: () => PromoteCommunityMember,
273
+ PromoteGroupMember: () => PromoteGroupMember,
275
274
  PushDeviceAppType: () => PushDeviceAppType,
276
275
  PushService: () => PushService,
277
276
  REMOVE_SELF_RELATIONSHIP: () => REMOVE_SELF_RELATIONSHIP,
278
277
  RegisterCancelledEventRegistration: () => RegisterCancelledEventRegistration,
279
278
  RegistrationQuestionType: () => RegistrationQuestionType,
280
279
  RegistrationStatus: () => RegistrationStatus,
281
- RejectCommunityInvitation: () => RejectCommunityInvitation,
282
- RejectCommunityRequest: () => RejectCommunityRequest,
280
+ RejectGroupInvitation: () => RejectGroupInvitation,
281
+ RejectGroupRequest: () => RejectGroupRequest,
283
282
  RejectTransfer: () => RejectTransfer,
284
- RemoveCommunityMember: () => RemoveCommunityMember,
283
+ RemoveGroupMember: () => RemoveGroupMember,
285
284
  RemoveListingSponsor: () => RemoveListingSponsor,
286
285
  RemoveSelfDelegate: () => RemoveSelfDelegate,
287
286
  RemoveSelfEventRegistrationCoupon: () => RemoveSelfEventRegistrationCoupon,
@@ -295,8 +294,6 @@ __export(src_exports, {
295
294
  SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY: () => SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY,
296
295
  SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY: () => SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY,
297
296
  SELF_CHAT_CHANNEL_QUERY_KEY: () => SELF_CHAT_CHANNEL_QUERY_KEY,
298
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY: () => SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY,
299
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY: () => SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY,
300
297
  SELF_DELEGATES_QUERY_KEY: () => SELF_DELEGATES_QUERY_KEY,
301
298
  SELF_DELEGATE_OF_QUERY_KEY: () => SELF_DELEGATE_OF_QUERY_KEY,
302
299
  SELF_EVENTS_QUERY_KEY: () => SELF_EVENTS_QUERY_KEY,
@@ -309,6 +306,8 @@ __export(src_exports, {
309
306
  SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
310
307
  SELF_EVENT_SESSIONS_QUERY_KEY: () => SELF_EVENT_SESSIONS_QUERY_KEY,
311
308
  SELF_FEED_QUERY_KEY: () => SELF_FEED_QUERY_KEY,
309
+ SELF_GROUP_MEMBERSHIPS_QUERY_KEY: () => SELF_GROUP_MEMBERSHIPS_QUERY_KEY,
310
+ SELF_GROUP_MEMBERSHIP_QUERY_KEY: () => SELF_GROUP_MEMBERSHIP_QUERY_KEY,
312
311
  SELF_INTERESTS_QUERY_KEY: () => SELF_INTERESTS_QUERY_KEY,
313
312
  SELF_NOTIFICATIONS_QUERY_KEY: () => SELF_NOTIFICATIONS_QUERY_KEY,
314
313
  SELF_NOTIFICATION_COUNT_QUERY_KEY: () => SELF_NOTIFICATION_COUNT_QUERY_KEY,
@@ -329,25 +328,15 @@ __export(src_exports, {
329
328
  SET_ACCOUNTS_QUERY_DATA: () => SET_ACCOUNTS_QUERY_DATA,
330
329
  SET_ACCOUNT_ACTIVITIES_QUERY_DATA: () => SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
331
330
  SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA: () => SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA,
332
- SET_ACCOUNT_COMMUNITIES_QUERY_DATA: () => SET_ACCOUNT_COMMUNITIES_QUERY_DATA,
333
331
  SET_ACCOUNT_FOLLOWERS_QUERY_DATA: () => SET_ACCOUNT_FOLLOWERS_QUERY_DATA,
334
332
  SET_ACCOUNT_FOLLOWINGS_QUERY_DATA: () => SET_ACCOUNT_FOLLOWINGS_QUERY_DATA,
333
+ SET_ACCOUNT_GROUPS_QUERY_DATA: () => SET_ACCOUNT_GROUPS_QUERY_DATA,
335
334
  SET_ACCOUNT_QUERY_DATA: () => SET_ACCOUNT_QUERY_DATA,
336
335
  SET_ACTIVITIES_QUERY_DATA: () => SET_ACTIVITIES_QUERY_DATA,
337
336
  SET_ACTIVITY_COMMENTS_QUERY_DATA: () => SET_ACTIVITY_COMMENTS_QUERY_DATA,
338
337
  SET_ACTIVITY_QUERY_DATA: () => SET_ACTIVITY_QUERY_DATA,
339
338
  SET_ADVERTISEMENT_QUERY_DATA: () => SET_ADVERTISEMENT_QUERY_DATA,
340
339
  SET_BENEFITS_QUERY_DATA: () => SET_BENEFITS_QUERY_DATA,
341
- SET_COMMUNITIES_QUERY_DATA: () => SET_COMMUNITIES_QUERY_DATA,
342
- SET_COMMUNITY_ACTIVITIES_QUERY_DATA: () => SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
343
- SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA: () => SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
344
- SET_COMMUNITY_EVENTS_QUERY_DATA: () => SET_COMMUNITY_EVENTS_QUERY_DATA,
345
- SET_COMMUNITY_MEDIA_QUERY_DATA: () => SET_COMMUNITY_MEDIA_QUERY_DATA,
346
- SET_COMMUNITY_MEMBERS_QUERY_DATA: () => SET_COMMUNITY_MEMBERS_QUERY_DATA,
347
- SET_COMMUNITY_QUERY_DATA: () => SET_COMMUNITY_QUERY_DATA,
348
- SET_COMMUNITY_REQUESTS_QUERY_DATA: () => SET_COMMUNITY_REQUESTS_QUERY_DATA,
349
- SET_COMMUNITY_REQUEST_QUERY_DATA: () => SET_COMMUNITY_REQUEST_QUERY_DATA,
350
- SET_COMMUNITY_SPONSORS_QUERY_DATA: () => SET_COMMUNITY_SPONSORS_QUERY_DATA,
351
340
  SET_CONTENTS_QUERY_DATA: () => SET_CONTENTS_QUERY_DATA,
352
341
  SET_CONTENT_ACTIVITIES_QUERY_DATA: () => SET_CONTENT_ACTIVITIES_QUERY_DATA,
353
342
  SET_CONTENT_QUERY_DATA: () => SET_CONTENT_QUERY_DATA,
@@ -371,6 +360,16 @@ __export(src_exports, {
371
360
  SET_EVENT_SPEAKER_QUERY_DATA: () => SET_EVENT_SPEAKER_QUERY_DATA,
372
361
  SET_EVENT_SPONSORS_QUERY_DATA: () => SET_EVENT_SPONSORS_QUERY_DATA,
373
362
  SET_EVENT_TICKETS_QUERY_DATA: () => SET_EVENT_TICKETS_QUERY_DATA,
363
+ SET_GROUPS_QUERY_DATA: () => SET_GROUPS_QUERY_DATA,
364
+ SET_GROUP_ACTIVITIES_QUERY_DATA: () => SET_GROUP_ACTIVITIES_QUERY_DATA,
365
+ SET_GROUP_ANNOUNCEMENTS_QUERY_DATA: () => SET_GROUP_ANNOUNCEMENTS_QUERY_DATA,
366
+ SET_GROUP_EVENTS_QUERY_DATA: () => SET_GROUP_EVENTS_QUERY_DATA,
367
+ SET_GROUP_MEDIA_QUERY_DATA: () => SET_GROUP_MEDIA_QUERY_DATA,
368
+ SET_GROUP_MEMBERS_QUERY_DATA: () => SET_GROUP_MEMBERS_QUERY_DATA,
369
+ SET_GROUP_QUERY_DATA: () => SET_GROUP_QUERY_DATA,
370
+ SET_GROUP_REQUESTS_QUERY_DATA: () => SET_GROUP_REQUESTS_QUERY_DATA,
371
+ SET_GROUP_REQUEST_QUERY_DATA: () => SET_GROUP_REQUEST_QUERY_DATA,
372
+ SET_GROUP_SPONSORS_QUERY_DATA: () => SET_GROUP_SPONSORS_QUERY_DATA,
374
373
  SET_INTERESTS_QUERY_DATA: () => SET_INTERESTS_QUERY_DATA,
375
374
  SET_INVOICE_QUERY_DATA: () => SET_INVOICE_QUERY_DATA,
376
375
  SET_LEVELS_QUERY_DATA: () => SET_LEVELS_QUERY_DATA,
@@ -386,25 +385,21 @@ __export(src_exports, {
386
385
  SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA,
387
386
  SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
388
387
  SET_SELF_CHAT_CHANNEL_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_QUERY_DATA,
389
- SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA: () => SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
390
388
  SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
391
389
  SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
392
390
  SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
393
391
  SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
394
392
  SET_SELF_EVENT_REGISTRATION_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
395
393
  SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
394
+ SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA: () => SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
396
395
  SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
397
396
  SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
398
397
  SET_SERIES_LIST_QUERY_DATA: () => SET_SERIES_LIST_QUERY_DATA,
399
398
  SET_SERIES_QUERY_DATA: () => SET_SERIES_QUERY_DATA,
400
- SET_SPONSORS_QUERY_DATA: () => SET_SPONSORS_QUERY_DATA,
401
- SET_SPONSOR_QUERY_DATA: () => SET_SPONSOR_QUERY_DATA,
402
- SPONSORS_QUERY_KEY: () => SPONSORS_QUERY_KEY,
403
- SPONSOR_QUERY_KEY: () => SPONSOR_QUERY_KEY,
404
399
  SelectSelfEventRegistrationCoupon: () => SelectSelfEventRegistrationCoupon,
405
400
  SelectSelfEventRegistrationPurchaseReservation: () => SelectSelfEventRegistrationPurchaseReservation,
406
401
  SelfCreateActivity: () => SelfCreateActivity,
407
- SelfUpdateCommunityMembership: () => SelfUpdateCommunityMembership,
402
+ SelfUpdateGroupMembership: () => SelfUpdateGroupMembership,
408
403
  SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
409
404
  SubscriptionStatus: () => SubscriptionStatus,
410
405
  SupportTicketType: () => SupportTicketType,
@@ -413,7 +408,7 @@ __export(src_exports, {
413
408
  TransferPurchase: () => TransferPurchase,
414
409
  UnfollowAccount: () => UnfollowAccount,
415
410
  UnlikeActivity: () => UnlikeActivity,
416
- UpdateCommunity: () => UpdateCommunity,
411
+ UpdateGroup: () => UpdateGroup,
417
412
  UpdateListing: () => UpdateListing,
418
413
  UpdateListingEmail: () => UpdateListingEmail,
419
414
  UpdateListingQuestion: () => UpdateListingQuestion,
@@ -437,8 +432,6 @@ __export(src_exports, {
437
432
  isTypeAdvertisement: () => isTypeAdvertisement,
438
433
  isTypeAnnouncement: () => isTypeAnnouncement,
439
434
  isTypeBenefit: () => isTypeBenefit,
440
- isTypeCommunity: () => isTypeCommunity,
441
- isTypeCommunityMembership: () => isTypeCommunityMembership,
442
435
  isTypeContent: () => isTypeContent,
443
436
  isTypeContentType: () => isTypeContentType,
444
437
  isTypeCoupon: () => isTypeCoupon,
@@ -448,6 +441,8 @@ __export(src_exports, {
448
441
  isTypeEventPage: () => isTypeEventPage,
449
442
  isTypeFaq: () => isTypeFaq,
450
443
  isTypeFaqSection: () => isTypeFaqSection,
444
+ isTypeGroup: () => isTypeGroup,
445
+ isTypeGroupMembership: () => isTypeGroupMembership,
451
446
  isTypeImage: () => isTypeImage,
452
447
  isTypeInstance: () => isTypeInstance,
453
448
  isTypeIntegrations: () => isTypeIntegrations,
@@ -467,8 +462,8 @@ __export(src_exports, {
467
462
  isTypeTransfer: () => isTypeTransfer,
468
463
  isUUID: () => isUUID,
469
464
  setFirstPageData: () => setFirstPageData,
470
- useAcceptCommunityInvitation: () => useAcceptCommunityInvitation,
471
- useAcceptCommunityRequest: () => useAcceptCommunityRequest,
465
+ useAcceptGroupInvitation: () => useAcceptGroupInvitation,
466
+ useAcceptGroupRequest: () => useAcceptGroupRequest,
472
467
  useAcceptTransfer: () => useAcceptTransfer,
473
468
  useAddListingSponsor: () => useAddListingSponsor,
474
469
  useAddSelfChatChannelMember: () => useAddSelfChatChannelMember,
@@ -476,6 +471,7 @@ __export(src_exports, {
476
471
  useAddSelfEventRegistrationPurchase: () => useAddSelfEventRegistrationPurchase,
477
472
  useAddSelfEventRegistrationPurchaseAddOn: () => useAddSelfEventRegistrationPurchaseAddOn,
478
473
  useAddSelfEventSession: () => useAddSelfEventSession,
474
+ useAddSelfInterests: () => useAddSelfInterests,
479
475
  useCancelEventRegistration: () => useCancelEventRegistration,
480
476
  useCancelSubscription: () => useCancelSubscription,
481
477
  useCancelTransfer: () => useCancelTransfer,
@@ -487,11 +483,11 @@ __export(src_exports, {
487
483
  useConnectedMutation: () => useConnectedMutation,
488
484
  useConnectedSingleQuery: () => useConnectedSingleQuery,
489
485
  useConnectedXM: () => useConnectedXM,
490
- useCreateCommunity: () => useCreateCommunity,
491
- useCreateCommunityAnnouncement: () => useCreateCommunityAnnouncement,
492
- useCreateCommunityInvitations: () => useCreateCommunityInvitations,
493
- useCreateCommunityRequest: () => useCreateCommunityRequest,
494
486
  useCreateEventLead: () => useCreateEventLead,
487
+ useCreateGroup: () => useCreateGroup,
488
+ useCreateGroupAnnouncement: () => useCreateGroupAnnouncement,
489
+ useCreateGroupInvitations: () => useCreateGroupInvitations,
490
+ useCreateGroupRequest: () => useCreateGroupRequest,
495
491
  useCreateListing: () => useCreateListing,
496
492
  useCreateListingAnnouncement: () => useCreateListingAnnouncement,
497
493
  useCreateListingQuestion: () => useCreateListingQuestion,
@@ -502,9 +498,9 @@ __export(src_exports, {
502
498
  useCreateSubscription: () => useCreateSubscription,
503
499
  useCreateSupportTicket: () => useCreateSupportTicket,
504
500
  useCreateTeamAccount: () => useCreateTeamAccount,
505
- useDeactivateCommunity: () => useDeactivateCommunity,
501
+ useDeactivateGroup: () => useDeactivateGroup,
506
502
  useDeleteActivity: () => useDeleteActivity,
507
- useDeleteCommunityInvitation: () => useDeleteCommunityInvitation,
503
+ useDeleteGroupInvitation: () => useDeleteGroupInvitation,
508
504
  useDeleteListing: () => useDeleteListing,
509
505
  useDeleteListingQuestion: () => useDeleteListingQuestion,
510
506
  useDeleteListingSession: () => useDeleteListingSession,
@@ -514,31 +510,20 @@ __export(src_exports, {
514
510
  useDeleteSelfChatChannel: () => useDeleteSelfChatChannel,
515
511
  useDeleteSelfChatChannelMessage: () => useDeleteSelfChatChannelMessage,
516
512
  useDeleteSelfPushDevice: () => useDeleteSelfPushDevice,
517
- useDemoteCommunityModerator: () => useDemoteCommunityModerator,
513
+ useDemoteGroupModerator: () => useDemoteGroupModerator,
518
514
  useFollowAccount: () => useFollowAccount,
519
515
  useGetAccount: () => useGetAccount,
520
516
  useGetAccountActivities: () => useGetAccountActivities,
521
517
  useGetAccountByShareCode: () => useGetAccountByShareCode,
522
- useGetAccountCommunities: () => useGetAccountCommunities,
523
518
  useGetAccountFollowers: () => useGetAccountFollowers,
524
519
  useGetAccountFollowings: () => useGetAccountFollowings,
520
+ useGetAccountGroups: () => useGetAccountGroups,
525
521
  useGetAccounts: () => useGetAccounts,
526
522
  useGetActivities: () => useGetActivities,
527
523
  useGetActivity: () => useGetActivity,
528
524
  useGetActivityComments: () => useGetActivityComments,
529
525
  useGetAdvertisement: () => useGetAdvertisement,
530
526
  useGetBenefits: () => useGetBenefits,
531
- useGetCommunities: () => useGetCommunities,
532
- useGetCommunity: () => useGetCommunity,
533
- useGetCommunityActivities: () => useGetCommunityActivities,
534
- useGetCommunityAnnouncements: () => useGetCommunityAnnouncements,
535
- useGetCommunityEvents: () => useGetCommunityEvents,
536
- useGetCommunityInvitableAccounts: () => useGetCommunityInvitableAccounts,
537
- useGetCommunityMedia: () => useGetCommunityMedia,
538
- useGetCommunityMembers: () => useGetCommunityMembers,
539
- useGetCommunityRequest: () => useGetCommunityRequest,
540
- useGetCommunityRequests: () => useGetCommunityRequests,
541
- useGetCommunitySponsors: () => useGetCommunitySponsors,
542
527
  useGetContent: () => useGetContent,
543
528
  useGetContentActivities: () => useGetContentActivities,
544
529
  useGetContentType: () => useGetContentType,
@@ -563,6 +548,17 @@ __export(src_exports, {
563
548
  useGetEventTickets: () => useGetEventTickets,
564
549
  useGetEvents: () => useGetEvents,
565
550
  useGetFeaturedEvents: () => useGetFeaturedEvents,
551
+ useGetGroup: () => useGetGroup,
552
+ useGetGroupActivities: () => useGetGroupActivities,
553
+ useGetGroupAnnouncements: () => useGetGroupAnnouncements,
554
+ useGetGroupEvents: () => useGetGroupEvents,
555
+ useGetGroupInvitableAccounts: () => useGetGroupInvitableAccounts,
556
+ useGetGroupMedia: () => useGetGroupMedia,
557
+ useGetGroupMembers: () => useGetGroupMembers,
558
+ useGetGroupRequest: () => useGetGroupRequest,
559
+ useGetGroupRequests: () => useGetGroupRequests,
560
+ useGetGroupSponsors: () => useGetGroupSponsors,
561
+ useGetGroups: () => useGetGroups,
566
562
  useGetInterests: () => useGetInterests,
567
563
  useGetInvoice: () => useGetInvoice,
568
564
  useGetLevel: () => useGetLevel,
@@ -580,8 +576,6 @@ __export(src_exports, {
580
576
  useGetSelfChatChannelMembers: () => useGetSelfChatChannelMembers,
581
577
  useGetSelfChatChannelMessages: () => useGetSelfChatChannelMessages,
582
578
  useGetSelfChatChannels: () => useGetSelfChatChannels,
583
- useGetSelfCommunityMembership: () => useGetSelfCommunityMembership,
584
- useGetSelfCommunityMemberships: () => useGetSelfCommunityMemberships,
585
579
  useGetSelfDelegateOf: () => useGetSelfDelegateOf,
586
580
  useGetSelfDelegates: () => useGetSelfDelegates,
587
581
  useGetSelfEventListing: () => useGetSelfEventListing,
@@ -602,6 +596,8 @@ __export(src_exports, {
602
596
  useGetSelfEventSessions: () => useGetSelfEventSessions,
603
597
  useGetSelfEvents: () => useGetSelfEvents,
604
598
  useGetSelfFeed: () => useGetSelfFeed,
599
+ useGetSelfGroupMembership: () => useGetSelfGroupMembership,
600
+ useGetSelfGroupMemberships: () => useGetSelfGroupMemberships,
605
601
  useGetSelfInterests: () => useGetSelfInterests,
606
602
  useGetSelfNewNotificationsCount: () => useGetSelfNewNotificationsCount,
607
603
  useGetSelfNotificationPreferences: () => useGetSelfNotificationPreferences,
@@ -618,22 +614,20 @@ __export(src_exports, {
618
614
  useGetSeries: () => useGetSeries,
619
615
  useGetSeriesEvents: () => useGetSeriesEvents,
620
616
  useGetSeriesList: () => useGetSeriesList,
621
- useGetSponsor: () => useGetSponsor,
622
- useGetSponsors: () => useGetSponsors,
623
617
  useIsAccountFollowing: () => useIsAccountFollowing,
624
618
  useIsChannelSubscribed: () => useIsChannelSubscribed,
625
- useIsCommunityMember: () => useIsCommunityMember,
626
619
  useIsEventRegistered: () => useIsEventRegistered,
627
- useJoinCommunity: () => useJoinCommunity,
628
- useLeaveCommunity: () => useLeaveCommunity,
620
+ useIsGroupMember: () => useIsGroupMember,
621
+ useJoinGroup: () => useJoinGroup,
622
+ useLeaveGroup: () => useLeaveGroup,
629
623
  useLeaveSelfChatChannel: () => useLeaveSelfChatChannel,
630
624
  useLikeActivity: () => useLikeActivity,
631
- usePromoteCommunityMember: () => usePromoteCommunityMember,
625
+ usePromoteGroupMember: () => usePromoteGroupMember,
632
626
  useRegisterCancelledEventRegistration: () => useRegisterCancelledEventRegistration,
633
- useRejectCommunityInvitation: () => useRejectCommunityInvitation,
634
- useRejectCommunityRequest: () => useRejectCommunityRequest,
627
+ useRejectGroupInvitation: () => useRejectGroupInvitation,
628
+ useRejectGroupRequest: () => useRejectGroupRequest,
635
629
  useRejectTransfer: () => useRejectTransfer,
636
- useRemoveCommunityMember: () => useRemoveCommunityMember,
630
+ useRemoveGroupMember: () => useRemoveGroupMember,
637
631
  useRemoveListingSponsor: () => useRemoveListingSponsor,
638
632
  useRemoveSelfDelegate: () => useRemoveSelfDelegate,
639
633
  useRemoveSelfEventRegistrationCoupon: () => useRemoveSelfEventRegistrationCoupon,
@@ -644,12 +638,12 @@ __export(src_exports, {
644
638
  useSelectSelfEventRegistrationCoupon: () => useSelectSelfEventRegistrationCoupon,
645
639
  useSelectSelfEventRegistrationPurchaseReservation: () => useSelectSelfEventRegistrationPurchaseReservation,
646
640
  useSelfCreateActivity: () => useSelfCreateActivity,
647
- useSelfUpdateCommunityMembership: () => useSelfUpdateCommunityMembership,
641
+ useSelfUpdateGroupMembership: () => useSelfUpdateGroupMembership,
648
642
  useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
649
643
  useTransferPurchase: () => useTransferPurchase,
650
644
  useUnfollowAccount: () => useUnfollowAccount,
651
645
  useUnlikeActivity: () => useUnlikeActivity,
652
- useUpdateCommunity: () => useUpdateCommunity,
646
+ useUpdateGroup: () => useUpdateGroup,
653
647
  useUpdateListing: () => useUpdateListing,
654
648
  useUpdateListingEmail: () => useUpdateListingEmail,
655
649
  useUpdateListingQuestion: () => useUpdateListingQuestion,
@@ -745,15 +739,15 @@ var useIsAccountFollowing = (accountId) => {
745
739
  return relationships?.data.accounts[accountId] || false;
746
740
  };
747
741
 
748
- // src/hooks/useIsCommunityMember.ts
749
- var useIsCommunityMember = (communityId, role) => {
742
+ // src/hooks/useIsGroupMember.ts
743
+ var useIsGroupMember = (groupId, role) => {
750
744
  const { data: relationships } = useGetSelfRelationships();
751
- if (!communityId)
745
+ if (!groupId)
752
746
  return false;
753
- if (!isUUID(communityId)) {
754
- throw new Error("Invalid communityId. Did you pass in the slug?");
747
+ if (!isUUID(groupId)) {
748
+ throw new Error("Invalid groupId. Did you pass in the slug?");
755
749
  }
756
- const _role = relationships?.data.communities[communityId];
750
+ const _role = relationships?.data.groups[groupId];
757
751
  if (role) {
758
752
  return _role === role;
759
753
  } else {
@@ -833,13 +827,13 @@ var isSelf = (account) => {
833
827
  var isTypeActivity = (activity) => {
834
828
  return activity._count !== void 0;
835
829
  };
836
- var CommunityAccess = /* @__PURE__ */ ((CommunityAccess2) => {
837
- CommunityAccess2["public"] = "public";
838
- CommunityAccess2["private"] = "private";
839
- return CommunityAccess2;
840
- })(CommunityAccess || {});
841
- var isTypeCommunity = (community) => {
842
- return community._count !== void 0;
830
+ var GroupAccess = /* @__PURE__ */ ((GroupAccess2) => {
831
+ GroupAccess2["public"] = "public";
832
+ GroupAccess2["private"] = "private";
833
+ return GroupAccess2;
834
+ })(GroupAccess || {});
835
+ var isTypeGroup = (group) => {
836
+ return group._count !== void 0;
843
837
  };
844
838
  var EventSource = /* @__PURE__ */ ((EventSource2) => {
845
839
  EventSource2["admin"] = "admin";
@@ -973,13 +967,13 @@ var isTypeAdvertisement = (advertisement) => {
973
967
  var isTypeTeamMember = (teamMember) => {
974
968
  return teamMember.email !== void 0;
975
969
  };
976
- var CommunityMembershipRole = /* @__PURE__ */ ((CommunityMembershipRole2) => {
977
- CommunityMembershipRole2["member"] = "member";
978
- CommunityMembershipRole2["moderator"] = "moderator";
979
- return CommunityMembershipRole2;
980
- })(CommunityMembershipRole || {});
981
- var isTypeCommunityMembership = (communityMembership) => {
982
- return communityMembership.createdAt !== void 0;
970
+ var GroupMembershipRole = /* @__PURE__ */ ((GroupMembershipRole2) => {
971
+ GroupMembershipRole2["member"] = "member";
972
+ GroupMembershipRole2["moderator"] = "moderator";
973
+ return GroupMembershipRole2;
974
+ })(GroupMembershipRole || {});
975
+ var isTypeGroupMembership = (groupMembership) => {
976
+ return groupMembership.createdAt !== void 0;
983
977
  };
984
978
  var ContentTypeFormat = /* @__PURE__ */ ((ContentTypeFormat2) => {
985
979
  ContentTypeFormat2["article"] = "article";
@@ -1036,12 +1030,12 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
1036
1030
  InvoiceStatus2["void"] = "void";
1037
1031
  return InvoiceStatus2;
1038
1032
  })(InvoiceStatus || {});
1039
- var CommunityRequestStatus = /* @__PURE__ */ ((CommunityRequestStatus2) => {
1040
- CommunityRequestStatus2["requested"] = "requested";
1041
- CommunityRequestStatus2["invited"] = "invited";
1042
- CommunityRequestStatus2["rejected"] = "rejected";
1043
- return CommunityRequestStatus2;
1044
- })(CommunityRequestStatus || {});
1033
+ var GroupRequestStatus = /* @__PURE__ */ ((GroupRequestStatus2) => {
1034
+ GroupRequestStatus2["requested"] = "requested";
1035
+ GroupRequestStatus2["invited"] = "invited";
1036
+ GroupRequestStatus2["rejected"] = "rejected";
1037
+ return GroupRequestStatus2;
1038
+ })(GroupRequestStatus || {});
1045
1039
  var EventEmailType = /* @__PURE__ */ ((EventEmailType2) => {
1046
1040
  EventEmailType2["confirmation"] = "confirmation";
1047
1041
  EventEmailType2["cancellation"] = "cancellation";
@@ -1309,7 +1303,13 @@ var GetClientAPI = async (params) => {
1309
1303
  };
1310
1304
 
1311
1305
  // src/queries/accounts/useGetAccounts.ts
1312
- var ACCOUNTS_QUERY_KEY = () => ["ACCOUNTS"];
1306
+ var ACCOUNTS_QUERY_KEY = (accountType) => {
1307
+ const keys = ["ACCOUNTS"];
1308
+ if (accountType) {
1309
+ keys.push(accountType);
1310
+ }
1311
+ return keys;
1312
+ };
1313
1313
  var SET_ACCOUNTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1314
1314
  client.setQueryData(
1315
1315
  [
@@ -1323,6 +1323,7 @@ var GetAccounts = async ({
1323
1323
  pageSize,
1324
1324
  orderBy,
1325
1325
  search,
1326
+ accountType,
1326
1327
  queryClient,
1327
1328
  clientApiParams,
1328
1329
  locale
@@ -1330,6 +1331,7 @@ var GetAccounts = async ({
1330
1331
  const clientApi = await GetClientAPI(clientApiParams);
1331
1332
  const { data } = await clientApi.get(`/accounts`, {
1332
1333
  params: {
1334
+ accountType: accountType || void 0,
1333
1335
  pageSize: pageSize || void 0,
1334
1336
  orderBy: orderBy || void 0,
1335
1337
  search: search || void 0
@@ -1345,10 +1347,10 @@ var GetAccounts = async ({
1345
1347
  }
1346
1348
  return data;
1347
1349
  };
1348
- var useGetAccounts = (params = {}, options = {}) => {
1350
+ var useGetAccounts = (accountType, params = {}, options = {}) => {
1349
1351
  return useConnectedInfiniteQuery(
1350
- ACCOUNTS_QUERY_KEY(),
1351
- (params2) => GetAccounts({ ...params2 }),
1352
+ ACCOUNTS_QUERY_KEY(accountType),
1353
+ (params2) => GetAccounts({ ...params2, accountType }),
1352
1354
  params,
1353
1355
  {
1354
1356
  ...options
@@ -1558,112 +1560,109 @@ var useGetAccountByShareCode = (shareCode = "", options = {}) => {
1558
1560
  );
1559
1561
  };
1560
1562
 
1561
- // src/queries/communities/useGetCommunities.ts
1562
- var COMMUNITIES_QUERY_KEY = () => ["COMMUNITIES"];
1563
- var SET_COMMUNITIES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1563
+ // src/queries/groups/useGetGroups.ts
1564
+ var GROUPS_QUERY_KEY = () => ["GROUPS"];
1565
+ var SET_GROUPS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1564
1566
  client.setQueryData(
1565
1567
  [
1566
- ...COMMUNITIES_QUERY_KEY(...keyParams),
1568
+ ...GROUPS_QUERY_KEY(...keyParams),
1567
1569
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1568
1570
  ],
1569
1571
  setFirstPageData(response)
1570
1572
  );
1571
1573
  };
1572
- var GetCommunities = async ({
1574
+ var GetGroups = async ({
1573
1575
  pageParam,
1574
1576
  pageSize,
1575
1577
  orderBy,
1576
1578
  search,
1577
- privateCommunities,
1579
+ privateGroups,
1578
1580
  queryClient,
1579
1581
  clientApiParams,
1580
1582
  locale
1581
1583
  }) => {
1582
- if (privateCommunities) {
1584
+ if (privateGroups) {
1583
1585
  return {
1584
1586
  status: "ok",
1585
- message: "Communities retreived",
1587
+ message: "Groups retreived",
1586
1588
  data: []
1587
1589
  };
1588
1590
  }
1589
1591
  const clientApi = await GetClientAPI(clientApiParams);
1590
- const { data } = await clientApi.get(`/communities`, {
1592
+ const { data } = await clientApi.get(`/groups`, {
1591
1593
  params: {
1592
1594
  page: pageParam || void 0,
1593
1595
  pageSize: pageSize || void 0,
1594
1596
  orderBy: orderBy || void 0,
1595
1597
  search: search || void 0,
1596
- privateCommunities: privateCommunities || void 0
1598
+ privateGroups: privateGroups || void 0
1597
1599
  }
1598
1600
  });
1599
1601
  if (queryClient && data.status === "ok") {
1600
1602
  CacheIndividualQueries(
1601
1603
  data,
1602
1604
  queryClient,
1603
- (communityId) => COMMUNITY_QUERY_KEY(communityId),
1605
+ (groupId) => GROUP_QUERY_KEY(groupId),
1604
1606
  locale
1605
1607
  );
1606
1608
  }
1607
1609
  return data;
1608
1610
  };
1609
- var useGetCommunities = (params = {}, options = {}) => {
1611
+ var useGetGroups = (params = {}, options = {}) => {
1610
1612
  return useConnectedInfiniteQuery(
1611
- COMMUNITIES_QUERY_KEY(),
1612
- (params2) => GetCommunities({ ...params2 }),
1613
+ GROUPS_QUERY_KEY(),
1614
+ (params2) => GetGroups({ ...params2 }),
1613
1615
  params,
1614
1616
  options
1615
1617
  );
1616
1618
  };
1617
1619
 
1618
- // src/queries/communities/useGetCommunity.ts
1619
- var COMMUNITY_QUERY_KEY = (communityId) => [
1620
- ...COMMUNITIES_QUERY_KEY(),
1621
- communityId
1620
+ // src/queries/groups/useGetGroup.ts
1621
+ var GROUP_QUERY_KEY = (groupId) => [
1622
+ ...GROUPS_QUERY_KEY(),
1623
+ groupId
1622
1624
  ];
1623
- var SET_COMMUNITY_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
1625
+ var SET_GROUP_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
1624
1626
  client.setQueryData(
1625
- [
1626
- ...COMMUNITY_QUERY_KEY(...keyParams),
1627
- ...GetBaseSingleQueryKeys(...baseKeys)
1628
- ],
1627
+ [...GROUP_QUERY_KEY(...keyParams), ...GetBaseSingleQueryKeys(...baseKeys)],
1629
1628
  response,
1630
1629
  options
1631
1630
  );
1632
1631
  };
1633
- var GetCommunity = async ({
1634
- communityId,
1632
+ var GetGroup = async ({
1633
+ groupId,
1635
1634
  clientApiParams
1636
1635
  }) => {
1637
1636
  const clientApi = await GetClientAPI(clientApiParams);
1638
- const { data } = await clientApi.get(`/communities/${communityId}`);
1637
+ const { data } = await clientApi.get(`/groups/${groupId}`);
1639
1638
  return data;
1640
1639
  };
1641
- var useGetCommunity = (communityId = "", options = {}) => {
1640
+ var useGetGroup = (groupId = "", options = {}) => {
1642
1641
  return useConnectedSingleQuery(
1643
- COMMUNITY_QUERY_KEY(communityId),
1644
- (params) => GetCommunity({ communityId, ...params }),
1642
+ GROUP_QUERY_KEY(groupId),
1643
+ (params) => GetGroup({ groupId, ...params }),
1645
1644
  {
1646
1645
  ...options,
1647
- enabled: !!communityId && (options?.enabled ?? true)
1646
+ enabled: !!groupId && (options?.enabled ?? true)
1648
1647
  }
1649
1648
  );
1650
1649
  };
1651
1650
 
1652
- // src/queries/accounts/useGetAccountCommunities.ts
1653
- var ACCOUNT_COMMUNITIES_QUERY_KEY = (accountId) => [
1651
+ // src/queries/accounts/useGetAccountGroups.ts
1652
+ var ACCOUNT_GROUPS_QUERY_KEY = (accountId) => [
1654
1653
  ...ACCOUNT_QUERY_KEY(accountId),
1655
- "COMMUNITIES"
1654
+ "GROUPS"
1656
1655
  ];
1657
- var SET_ACCOUNT_COMMUNITIES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1656
+ var SET_ACCOUNT_GROUPS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1658
1657
  client.setQueryData(
1659
1658
  [
1660
- ...ACCOUNT_COMMUNITIES_QUERY_KEY(...keyParams),
1659
+ ...ACCOUNT_GROUPS_QUERY_KEY(...keyParams),
1661
1660
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1662
1661
  ],
1663
1662
  setFirstPageData(response)
1664
1663
  );
1665
1664
  };
1666
- var GetAccountCommunities = async ({
1665
+ var GetAccountGroups = async ({
1667
1666
  pageParam,
1668
1667
  pageSize,
1669
1668
  orderBy,
@@ -1674,7 +1673,7 @@ var GetAccountCommunities = async ({
1674
1673
  locale
1675
1674
  }) => {
1676
1675
  const clientApi = await GetClientAPI(clientApiParams);
1677
- const { data } = await clientApi.get(`/accounts/${accountId}/communities`, {
1676
+ const { data } = await clientApi.get(`/accounts/${accountId}/groups`, {
1678
1677
  params: {
1679
1678
  page: pageParam || void 0,
1680
1679
  pageSize: pageSize || void 0,
@@ -1686,16 +1685,16 @@ var GetAccountCommunities = async ({
1686
1685
  CacheIndividualQueries(
1687
1686
  data,
1688
1687
  queryClient,
1689
- (communityId) => COMMUNITY_QUERY_KEY(communityId),
1688
+ (groupId) => GROUP_QUERY_KEY(groupId),
1690
1689
  locale
1691
1690
  );
1692
1691
  }
1693
1692
  return data;
1694
1693
  };
1695
- var useGetAccountCommunities = (accountId = "", params = {}, options = {}) => {
1694
+ var useGetAccountGroups = (accountId = "", params = {}, options = {}) => {
1696
1695
  return useConnectedInfiniteQuery(
1697
- ACCOUNT_COMMUNITIES_QUERY_KEY(accountId),
1698
- (params2) => GetAccountCommunities({ accountId, ...params2 }),
1696
+ ACCOUNT_GROUPS_QUERY_KEY(accountId),
1697
+ (params2) => GetAccountGroups({ accountId, ...params2 }),
1699
1698
  params,
1700
1699
  {
1701
1700
  ...options,
@@ -1940,39 +1939,39 @@ var useGetBenefits = (params = {}, options = {}) => {
1940
1939
  );
1941
1940
  };
1942
1941
 
1943
- // src/queries/communities/useGetCommunityActivities.ts
1944
- var COMMUNITY_ACTIVITIES_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "ACTIVITIES"];
1945
- var SET_COMMUNITY_ACTIVITIES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1942
+ // src/queries/groups/useGetGroupActivities.ts
1943
+ var GROUP_ACTIVITIES_QUERY_KEY = (groupId) => [
1944
+ ...GROUP_QUERY_KEY(groupId),
1945
+ "ACTIVITIES"
1946
+ ];
1947
+ var SET_GROUP_ACTIVITIES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1946
1948
  client.setQueryData(
1947
1949
  [
1948
- ...COMMUNITY_ACTIVITIES_QUERY_KEY(...keyParams),
1950
+ ...GROUP_ACTIVITIES_QUERY_KEY(...keyParams),
1949
1951
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1950
1952
  ],
1951
1953
  setFirstPageData(response)
1952
1954
  );
1953
1955
  };
1954
- var GetCommunityActivities = async ({
1956
+ var GetGroupActivities = async ({
1955
1957
  pageParam,
1956
1958
  pageSize,
1957
1959
  orderBy,
1958
1960
  search,
1959
- communityId,
1961
+ groupId,
1960
1962
  queryClient,
1961
1963
  clientApiParams,
1962
1964
  locale
1963
1965
  }) => {
1964
1966
  const clientApi = await GetClientAPI(clientApiParams);
1965
- const { data } = await clientApi.get(
1966
- `/communities/${communityId}/activities`,
1967
- {
1968
- params: {
1969
- page: pageParam || void 0,
1970
- pageSize: pageSize || void 0,
1971
- orderBy: orderBy || void 0,
1972
- search: search || void 0
1973
- }
1967
+ const { data } = await clientApi.get(`/groups/${groupId}/activities`, {
1968
+ params: {
1969
+ page: pageParam || void 0,
1970
+ pageSize: pageSize || void 0,
1971
+ orderBy: orderBy || void 0,
1972
+ search: search || void 0
1974
1973
  }
1975
- );
1974
+ });
1976
1975
  if (queryClient && data.status === "ok") {
1977
1976
  CacheIndividualQueries(
1978
1977
  data,
@@ -1983,31 +1982,34 @@ var GetCommunityActivities = async ({
1983
1982
  }
1984
1983
  return data;
1985
1984
  };
1986
- var useGetCommunityActivities = (communityId = "", params = {}, options = {}) => {
1985
+ var useGetGroupActivities = (groupId = "", params = {}, options = {}) => {
1987
1986
  return useConnectedInfiniteQuery(
1988
- COMMUNITY_ACTIVITIES_QUERY_KEY(communityId),
1989
- (params2) => GetCommunityActivities({ communityId, ...params2 }),
1987
+ GROUP_ACTIVITIES_QUERY_KEY(groupId),
1988
+ (params2) => GetGroupActivities({ groupId, ...params2 }),
1990
1989
  params,
1991
1990
  {
1992
1991
  ...options,
1993
- enabled: !!communityId && (options?.enabled ?? true)
1992
+ enabled: !!groupId && (options?.enabled ?? true)
1994
1993
  }
1995
1994
  );
1996
1995
  };
1997
1996
 
1998
- // src/queries/communities/useGetCommunityAnnouncements.ts
1999
- var COMMUNITY_ANNOUNCEMENTS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "ANNOUNCEMENTS"];
2000
- var SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1997
+ // src/queries/groups/useGetGroupAnnouncements.ts
1998
+ var GROUP_ANNOUNCEMENTS_QUERY_KEY = (groupId) => [
1999
+ ...GROUP_QUERY_KEY(groupId),
2000
+ "ANNOUNCEMENTS"
2001
+ ];
2002
+ var SET_GROUP_ANNOUNCEMENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2001
2003
  client.setQueryData(
2002
2004
  [
2003
- ...COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(...keyParams),
2005
+ ...GROUP_ANNOUNCEMENTS_QUERY_KEY(...keyParams),
2004
2006
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2005
2007
  ],
2006
2008
  setFirstPageData(response)
2007
2009
  );
2008
2010
  };
2009
- var GetCommunityAnnouncements = async ({
2010
- communityId,
2011
+ var GetGroupAnnouncements = async ({
2012
+ groupId,
2011
2013
  pageParam,
2012
2014
  pageSize,
2013
2015
  orderBy,
@@ -2015,44 +2017,41 @@ var GetCommunityAnnouncements = async ({
2015
2017
  clientApiParams
2016
2018
  }) => {
2017
2019
  const clientApi = await GetClientAPI(clientApiParams);
2018
- const { data } = await clientApi.get(
2019
- `/communities/${communityId}/announcements`,
2020
- {
2021
- params: {
2022
- page: pageParam || void 0,
2023
- pageSize: pageSize || void 0,
2024
- orderBy: orderBy || void 0,
2025
- search: search || void 0
2026
- }
2020
+ const { data } = await clientApi.get(`/groups/${groupId}/announcements`, {
2021
+ params: {
2022
+ page: pageParam || void 0,
2023
+ pageSize: pageSize || void 0,
2024
+ orderBy: orderBy || void 0,
2025
+ search: search || void 0
2027
2026
  }
2028
- );
2027
+ });
2029
2028
  return data;
2030
2029
  };
2031
- var useGetCommunityAnnouncements = (communityId = "", params = {}, options = {}) => {
2030
+ var useGetGroupAnnouncements = (groupId = "", params = {}, options = {}) => {
2032
2031
  return useConnectedInfiniteQuery(
2033
- COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId),
2034
- (params2) => GetCommunityAnnouncements({ communityId, ...params2 }),
2032
+ GROUP_ANNOUNCEMENTS_QUERY_KEY(groupId),
2033
+ (params2) => GetGroupAnnouncements({ groupId, ...params2 }),
2035
2034
  params,
2036
2035
  {
2037
2036
  ...options,
2038
- enabled: !!communityId && (options?.enabled ?? true)
2037
+ enabled: !!groupId && (options?.enabled ?? true)
2039
2038
  }
2040
2039
  );
2041
2040
  };
2042
2041
 
2043
- // src/queries/communities/useGetCommunityMedia.ts
2044
- var COMMUNITY_MEDIA_QUERY_KEY = (communityId, type) => [...COMMUNITY_QUERY_KEY(communityId), "MEDIA", type || "all"];
2045
- var SET_COMMUNITY_MEDIA_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2042
+ // src/queries/groups/useGetGroupMedia.ts
2043
+ var GROUP_MEDIA_QUERY_KEY = (groupId, type) => [...GROUP_QUERY_KEY(groupId), "MEDIA", type || "all"];
2044
+ var SET_GROUP_MEDIA_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2046
2045
  client.setQueryData(
2047
2046
  [
2048
- ...COMMUNITY_MEDIA_QUERY_KEY(...keyParams),
2047
+ ...GROUP_MEDIA_QUERY_KEY(...keyParams),
2049
2048
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2050
2049
  ],
2051
2050
  setFirstPageData(response)
2052
2051
  );
2053
2052
  };
2054
- var GetCommunityMedia = async ({
2055
- communityId,
2053
+ var GetGroupMedia = async ({
2054
+ groupId,
2056
2055
  type,
2057
2056
  pageParam,
2058
2057
  pageSize,
@@ -2061,7 +2060,7 @@ var GetCommunityMedia = async ({
2061
2060
  clientApiParams
2062
2061
  }) => {
2063
2062
  const clientApi = await GetClientAPI(clientApiParams);
2064
- const { data } = await clientApi.get(`/communities/${communityId}/media`, {
2063
+ const { data } = await clientApi.get(`/groups/${groupId}/media`, {
2065
2064
  params: {
2066
2065
  type: type || void 0,
2067
2066
  page: pageParam || void 0,
@@ -2072,14 +2071,14 @@ var GetCommunityMedia = async ({
2072
2071
  });
2073
2072
  return data;
2074
2073
  };
2075
- var useGetCommunityMedia = (communityId = "", type, params = {}, options = {}) => {
2074
+ var useGetGroupMedia = (groupId = "", type, params = {}, options = {}) => {
2076
2075
  return useConnectedInfiniteQuery(
2077
- COMMUNITY_MEDIA_QUERY_KEY(communityId, type),
2078
- (params2) => GetCommunityMedia({ communityId, type, ...params2 }),
2076
+ GROUP_MEDIA_QUERY_KEY(groupId, type),
2077
+ (params2) => GetGroupMedia({ groupId, type, ...params2 }),
2079
2078
  params,
2080
2079
  {
2081
2080
  ...options,
2082
- enabled: !!communityId && (options?.enabled ?? true)
2081
+ enabled: !!groupId && (options?.enabled ?? true)
2083
2082
  }
2084
2083
  );
2085
2084
  };
@@ -2170,34 +2169,34 @@ var useGetEvent = (eventId = "", options = {}) => {
2170
2169
  );
2171
2170
  };
2172
2171
 
2173
- // src/queries/communities/useGetCommunityEvents.ts
2174
- var COMMUNITY_EVENTS_QUERY_KEY = (communityId, past) => [
2175
- ...COMMUNITY_QUERY_KEY(communityId),
2172
+ // src/queries/groups/useGetGroupEvents.ts
2173
+ var GROUP_EVENTS_QUERY_KEY = (groupId, past) => [
2174
+ ...GROUP_QUERY_KEY(groupId),
2176
2175
  "EVENTS",
2177
2176
  past ? "PAST" : "UPCOMING"
2178
2177
  ];
2179
- var SET_COMMUNITY_EVENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2178
+ var SET_GROUP_EVENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2180
2179
  client.setQueryData(
2181
2180
  [
2182
- ...COMMUNITY_EVENTS_QUERY_KEY(...keyParams),
2181
+ ...GROUP_EVENTS_QUERY_KEY(...keyParams),
2183
2182
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2184
2183
  ],
2185
2184
  setFirstPageData(response)
2186
2185
  );
2187
2186
  };
2188
- var GetCommunityEvents = async ({
2187
+ var GetGroupEvents = async ({
2189
2188
  pageParam,
2190
2189
  pageSize,
2191
2190
  orderBy,
2192
2191
  search,
2193
- communityId,
2192
+ groupId,
2194
2193
  past,
2195
2194
  queryClient,
2196
2195
  clientApiParams,
2197
2196
  locale
2198
2197
  }) => {
2199
2198
  const clientApi = await GetClientAPI(clientApiParams);
2200
- const { data } = await clientApi.get(`/communities/${communityId}/events`, {
2199
+ const { data } = await clientApi.get(`/groups/${groupId}/events`, {
2201
2200
  params: {
2202
2201
  page: pageParam || void 0,
2203
2202
  pageSize: pageSize || void 0,
@@ -2216,46 +2215,46 @@ var GetCommunityEvents = async ({
2216
2215
  }
2217
2216
  return data;
2218
2217
  };
2219
- var useGetCommunityEvents = (communityId = "", past = false, params = {}, options = {}) => {
2218
+ var useGetGroupEvents = (groupId = "", past = false, params = {}, options = {}) => {
2220
2219
  return useConnectedInfiniteQuery(
2221
- COMMUNITY_EVENTS_QUERY_KEY(communityId, past),
2222
- (params2) => GetCommunityEvents({ communityId, past, ...params2 }),
2220
+ GROUP_EVENTS_QUERY_KEY(groupId, past),
2221
+ (params2) => GetGroupEvents({ groupId, past, ...params2 }),
2223
2222
  params,
2224
2223
  {
2225
2224
  ...options,
2226
- enabled: !!communityId && (options?.enabled ?? true)
2225
+ enabled: !!groupId && (options?.enabled ?? true)
2227
2226
  }
2228
2227
  );
2229
2228
  };
2230
2229
 
2231
- // src/queries/communities/useGetCommunityMembers.ts
2232
- var COMMUNITY_MEMBERS_QUERY_KEY = (communityId, role) => {
2233
- const keys = [...COMMUNITY_QUERY_KEY(communityId), "MEMBERS"];
2230
+ // src/queries/groups/useGetGroupMembers.ts
2231
+ var GROUP_MEMBERS_QUERY_KEY = (groupId, role) => {
2232
+ const keys = [...GROUP_QUERY_KEY(groupId), "MEMBERS"];
2234
2233
  if (role) {
2235
2234
  keys.push(role);
2236
2235
  }
2237
2236
  return keys;
2238
2237
  };
2239
- var SET_COMMUNITY_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2238
+ var SET_GROUP_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2240
2239
  client.setQueryData(
2241
2240
  [
2242
- ...COMMUNITY_MEMBERS_QUERY_KEY(...keyParams),
2241
+ ...GROUP_MEMBERS_QUERY_KEY(...keyParams),
2243
2242
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2244
2243
  ],
2245
2244
  setFirstPageData(response)
2246
2245
  );
2247
2246
  };
2248
- var GetCommunityMembers = async ({
2247
+ var GetGroupMembers = async ({
2249
2248
  pageParam,
2250
2249
  pageSize,
2251
2250
  orderBy,
2252
2251
  search,
2253
2252
  role,
2254
- communityId,
2253
+ groupId,
2255
2254
  clientApiParams
2256
2255
  }) => {
2257
2256
  const clientApi = await GetClientAPI(clientApiParams);
2258
- const { data } = await clientApi.get(`/communities/${communityId}/members`, {
2257
+ const { data } = await clientApi.get(`/groups/${groupId}/members`, {
2259
2258
  params: {
2260
2259
  page: pageParam || void 0,
2261
2260
  pageSize: pageSize || void 0,
@@ -2266,115 +2265,44 @@ var GetCommunityMembers = async ({
2266
2265
  });
2267
2266
  return data;
2268
2267
  };
2269
- var useGetCommunityMembers = (communityId = "", role, params = {}, options = {}) => {
2270
- return useConnectedInfiniteQuery(
2271
- COMMUNITY_MEMBERS_QUERY_KEY(communityId, role),
2272
- (params2) => GetCommunityMembers({ communityId, role, ...params2 }),
2273
- params,
2274
- {
2275
- ...options,
2276
- enabled: !!communityId && (options?.enabled ?? true)
2277
- }
2278
- );
2279
- };
2280
-
2281
- // src/queries/sponsors/useGetSponsors.ts
2282
- var SPONSORS_QUERY_KEY = () => ["SPONSORS"];
2283
- var SET_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2284
- client.setQueryData(
2285
- [
2286
- ...SPONSORS_QUERY_KEY(...keyParams),
2287
- ...GetBaseInfiniteQueryKeys(...baseKeys)
2288
- ],
2289
- setFirstPageData(response)
2290
- );
2291
- };
2292
- var GetSponsors = async ({
2293
- pageParam,
2294
- pageSize,
2295
- orderBy,
2296
- search,
2297
- clientApiParams
2298
- }) => {
2299
- const clientApi = await GetClientAPI(clientApiParams);
2300
- const { data } = await clientApi.get(`/sponsors`, {
2301
- params: {
2302
- page: pageParam || void 0,
2303
- pageSize: pageSize || void 0,
2304
- orderBy: orderBy || void 0,
2305
- search: search || void 0
2306
- }
2307
- });
2308
- return data;
2309
- };
2310
- var useGetSponsors = (params = {}, options = {}) => {
2268
+ var useGetGroupMembers = (groupId = "", role, params = {}, options = {}) => {
2311
2269
  return useConnectedInfiniteQuery(
2312
- SPONSORS_QUERY_KEY(),
2313
- (params2) => GetSponsors({ ...params2 }),
2270
+ GROUP_MEMBERS_QUERY_KEY(groupId, role),
2271
+ (params2) => GetGroupMembers({ groupId, role, ...params2 }),
2314
2272
  params,
2315
- options
2316
- );
2317
- };
2318
-
2319
- // src/queries/sponsors/useGetSponsor.ts
2320
- var SPONSOR_QUERY_KEY = (sponsorId) => [
2321
- ...SPONSORS_QUERY_KEY(),
2322
- sponsorId
2323
- ];
2324
- var SET_SPONSOR_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2325
- client.setQueryData(
2326
- [
2327
- ...SPONSOR_QUERY_KEY(...keyParams),
2328
- ...GetBaseSingleQueryKeys(...baseKeys)
2329
- ],
2330
- response
2331
- );
2332
- };
2333
- var GetSponsor = async ({
2334
- accountId,
2335
- clientApiParams
2336
- }) => {
2337
- const clientApi = await GetClientAPI(clientApiParams);
2338
- const { data } = await clientApi.get(`/sponsors/${accountId}`);
2339
- return data;
2340
- };
2341
- var useGetSponsor = (accountId = "", options = {}) => {
2342
- return useConnectedSingleQuery_default(
2343
- SPONSOR_QUERY_KEY(accountId),
2344
- (params) => GetSponsor({ accountId, ...params }),
2345
2273
  {
2346
2274
  ...options,
2347
- enabled: !!accountId && (options?.enabled ?? true)
2275
+ enabled: !!groupId && (options?.enabled ?? true)
2348
2276
  }
2349
2277
  );
2350
2278
  };
2351
2279
 
2352
- // src/queries/communities/useGetCommunitySponsors.ts
2353
- var COMMUNITY_SPONSORS_QUERY_KEY = (communityId) => [
2354
- ...COMMUNITY_QUERY_KEY(communityId),
2280
+ // src/queries/groups/useGetGroupSponsors.ts
2281
+ var GROUP_SPONSORS_QUERY_KEY = (groupId) => [
2282
+ ...GROUP_QUERY_KEY(groupId),
2355
2283
  "SPONSORS"
2356
2284
  ];
2357
- var SET_COMMUNITY_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2285
+ var SET_GROUP_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2358
2286
  client.setQueryData(
2359
2287
  [
2360
- ...COMMUNITY_SPONSORS_QUERY_KEY(...keyParams),
2288
+ ...GROUP_SPONSORS_QUERY_KEY(...keyParams),
2361
2289
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2362
2290
  ],
2363
2291
  setFirstPageData(response)
2364
2292
  );
2365
2293
  };
2366
- var GetCommunitySponsors = async ({
2294
+ var GetGroupSponsors = async ({
2367
2295
  pageParam,
2368
2296
  pageSize,
2369
2297
  orderBy,
2370
2298
  search,
2371
- communityId,
2299
+ groupId,
2372
2300
  queryClient,
2373
2301
  clientApiParams,
2374
2302
  locale
2375
2303
  }) => {
2376
2304
  const clientApi = await GetClientAPI(clientApiParams);
2377
- const { data } = await clientApi.get(`/communities/${communityId}/sponsors`, {
2305
+ const { data } = await clientApi.get(`/groups/${groupId}/sponsors`, {
2378
2306
  params: {
2379
2307
  page: pageParam || void 0,
2380
2308
  pageSize: pageSize || void 0,
@@ -2386,54 +2314,54 @@ var GetCommunitySponsors = async ({
2386
2314
  CacheIndividualQueries(
2387
2315
  data,
2388
2316
  queryClient,
2389
- (eventId) => SPONSOR_QUERY_KEY(eventId),
2317
+ (accountId) => ACCOUNT_QUERY_KEY(accountId),
2390
2318
  locale
2391
2319
  );
2392
2320
  }
2393
2321
  return data;
2394
2322
  };
2395
- var useGetCommunitySponsors = (communityId = "", params = {}, options = {}) => {
2323
+ var useGetGroupSponsors = (groupId = "", params = {}, options = {}) => {
2396
2324
  return useConnectedInfiniteQuery(
2397
- COMMUNITY_SPONSORS_QUERY_KEY(communityId),
2398
- (params2) => GetCommunitySponsors({ communityId, ...params2 }),
2325
+ GROUP_SPONSORS_QUERY_KEY(groupId),
2326
+ (params2) => GetGroupSponsors({ groupId, ...params2 }),
2399
2327
  params,
2400
2328
  {
2401
2329
  ...options,
2402
- enabled: !!communityId && (options?.enabled ?? true)
2330
+ enabled: !!groupId && (options?.enabled ?? true)
2403
2331
  }
2404
2332
  );
2405
2333
  };
2406
2334
 
2407
- // src/queries/communities/useGetCommunityRequests.ts
2408
- var COMMUNITY_REQUESTS_QUERY_KEY = (communityId, status) => {
2409
- const keys = [...COMMUNITY_QUERY_KEY(communityId), "REQUESTS"];
2335
+ // src/queries/groups/useGetGroupRequests.ts
2336
+ var GROUP_REQUESTS_QUERY_KEY = (groupId, status) => {
2337
+ const keys = [...GROUP_QUERY_KEY(groupId), "REQUESTS"];
2410
2338
  if (status) {
2411
2339
  keys.push(status);
2412
2340
  }
2413
2341
  return keys;
2414
2342
  };
2415
- var SET_COMMUNITY_REQUESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2343
+ var SET_GROUP_REQUESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2416
2344
  client.setQueryData(
2417
2345
  [
2418
- ...COMMUNITY_REQUESTS_QUERY_KEY(...keyParams),
2346
+ ...GROUP_REQUESTS_QUERY_KEY(...keyParams),
2419
2347
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2420
2348
  ],
2421
2349
  setFirstPageData(response)
2422
2350
  );
2423
2351
  };
2424
- var GetCommunityRequests = async ({
2352
+ var GetGroupRequests = async ({
2425
2353
  pageParam,
2426
2354
  pageSize,
2427
2355
  orderBy,
2428
2356
  search,
2429
2357
  status,
2430
- communityId,
2358
+ groupId,
2431
2359
  queryClient,
2432
2360
  clientApiParams,
2433
2361
  locale
2434
2362
  }) => {
2435
2363
  const clientApi = await GetClientAPI(clientApiParams);
2436
- const { data } = await clientApi.get(`/communities/${communityId}/requests`, {
2364
+ const { data } = await clientApi.get(`/groups/${groupId}/requests`, {
2437
2365
  params: {
2438
2366
  page: pageParam || void 0,
2439
2367
  pageSize: pageSize || void 0,
@@ -2446,74 +2374,70 @@ var GetCommunityRequests = async ({
2446
2374
  CacheIndividualQueries(
2447
2375
  data,
2448
2376
  queryClient,
2449
- (communityId2) => COMMUNITY_REQUEST_QUERY_KEY(communityId2, data.data.id),
2377
+ (groupId2) => GROUP_REQUEST_QUERY_KEY(groupId2, data.data.id),
2450
2378
  locale
2451
2379
  );
2452
2380
  }
2453
2381
  return data;
2454
2382
  };
2455
- var useGetCommunityRequests = (communityId = "", status, params = {}, options = {}) => {
2383
+ var useGetGroupRequests = (groupId = "", status, params = {}, options = {}) => {
2456
2384
  return useConnectedInfiniteQuery(
2457
- COMMUNITY_REQUESTS_QUERY_KEY(communityId, status),
2458
- (params2) => GetCommunityRequests({ communityId, status, ...params2 }),
2385
+ GROUP_REQUESTS_QUERY_KEY(groupId, status),
2386
+ (params2) => GetGroupRequests({ groupId, status, ...params2 }),
2459
2387
  params,
2460
2388
  {
2461
2389
  ...options,
2462
- enabled: !!communityId && (options?.enabled ?? true)
2390
+ enabled: !!groupId && (options?.enabled ?? true)
2463
2391
  }
2464
2392
  );
2465
2393
  };
2466
2394
 
2467
- // src/queries/communities/useGetCommunityRequest.ts
2468
- var COMMUNITY_REQUEST_QUERY_KEY = (communityId, requestId) => [
2469
- ...COMMUNITY_REQUESTS_QUERY_KEY(communityId),
2470
- "REQUESTS",
2471
- requestId
2472
- ];
2473
- var SET_COMMUNITY_REQUEST_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
2395
+ // src/queries/groups/useGetGroupRequest.ts
2396
+ var GROUP_REQUEST_QUERY_KEY = (groupId, requestId) => [...GROUP_REQUESTS_QUERY_KEY(groupId), "REQUESTS", requestId];
2397
+ var SET_GROUP_REQUEST_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
2474
2398
  client.setQueryData(
2475
2399
  [
2476
- ...COMMUNITY_REQUEST_QUERY_KEY(...keyParams),
2400
+ ...GROUP_REQUEST_QUERY_KEY(...keyParams),
2477
2401
  ...GetBaseSingleQueryKeys(...baseKeys)
2478
2402
  ],
2479
2403
  response,
2480
2404
  options
2481
2405
  );
2482
2406
  };
2483
- var GetCommunityRequest = async ({
2484
- communityId,
2407
+ var GetGroupRequest = async ({
2408
+ groupId,
2485
2409
  requestId,
2486
2410
  clientApiParams
2487
2411
  }) => {
2488
2412
  const clientApi = await GetClientAPI(clientApiParams);
2489
2413
  const { data } = await clientApi.get(
2490
- `/communities/${communityId}/requests/${requestId}`
2414
+ `/groups/${groupId}/requests/${requestId}`
2491
2415
  );
2492
2416
  return data;
2493
2417
  };
2494
- var useGetCommunityRequest = (communityId = "", requestId = "", options = {}) => {
2418
+ var useGetGroupRequest = (groupId = "", requestId = "", options = {}) => {
2495
2419
  return useConnectedSingleQuery(
2496
- COMMUNITY_REQUEST_QUERY_KEY(communityId, requestId),
2497
- (params) => GetCommunityRequest({ communityId, requestId, ...params }),
2420
+ GROUP_REQUEST_QUERY_KEY(groupId, requestId),
2421
+ (params) => GetGroupRequest({ groupId, requestId, ...params }),
2498
2422
  {
2499
2423
  ...options,
2500
- enabled: !!communityId && !!requestId && (options?.enabled ?? true)
2424
+ enabled: !!groupId && !!requestId && (options?.enabled ?? true)
2501
2425
  }
2502
2426
  );
2503
2427
  };
2504
2428
 
2505
- // src/queries/communities/useGetCommunityInvitableAccounts.ts
2506
- var COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "INVITABLE_ACCOUNTS"];
2507
- var GetCommunityInvitableAccounts = async ({
2429
+ // src/queries/groups/useGetGroupInvitableAccounts.ts
2430
+ var GROUP_INVITABLE_ACCOUNTS_QUERY_KEY = (groupId) => [...GROUP_QUERY_KEY(groupId), "INVITABLE_ACCOUNTS"];
2431
+ var GetGroupInvitableAccounts = async ({
2508
2432
  pageParam,
2509
2433
  pageSize,
2510
2434
  orderBy,
2511
2435
  search,
2512
- communityId,
2436
+ groupId,
2513
2437
  clientApiParams
2514
2438
  }) => {
2515
2439
  const clientApi = await GetClientAPI(clientApiParams);
2516
- const { data } = await clientApi.get(`/communities/${communityId}/invites`, {
2440
+ const { data } = await clientApi.get(`/groups/${groupId}/invites`, {
2517
2441
  params: {
2518
2442
  page: pageParam || void 0,
2519
2443
  pageSize: pageSize || void 0,
@@ -2523,14 +2447,14 @@ var GetCommunityInvitableAccounts = async ({
2523
2447
  });
2524
2448
  return data;
2525
2449
  };
2526
- var useGetCommunityInvitableAccounts = (communityId = "", params = {}, options = {}) => {
2450
+ var useGetGroupInvitableAccounts = (groupId = "", params = {}, options = {}) => {
2527
2451
  return useConnectedInfiniteQuery(
2528
- COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId),
2529
- (params2) => GetCommunityInvitableAccounts({ communityId, ...params2 }),
2452
+ GROUP_INVITABLE_ACCOUNTS_QUERY_KEY(groupId),
2453
+ (params2) => GetGroupInvitableAccounts({ groupId, ...params2 }),
2530
2454
  params,
2531
2455
  {
2532
2456
  ...options,
2533
- enabled: !!communityId && (options?.enabled ?? true)
2457
+ enabled: !!groupId && (options?.enabled ?? true)
2534
2458
  }
2535
2459
  );
2536
2460
  };
@@ -3483,7 +3407,7 @@ var GetEventSponsors = async ({
3483
3407
  CacheIndividualQueries(
3484
3408
  data,
3485
3409
  queryClient,
3486
- (sponsorId) => SPONSOR_QUERY_KEY(sponsorId),
3410
+ (sponsorId) => ACCOUNT_QUERY_KEY(sponsorId),
3487
3411
  locale
3488
3412
  );
3489
3413
  }
@@ -4345,9 +4269,12 @@ var ADD_SELF_RELATIONSHIP = (client, baseKeys = ["en"], type, id, value = true)
4345
4269
  [...SELF_RELATIONSHIPS_QUERY_KEY(), ...GetBaseSingleQueryKeys(...baseKeys)],
4346
4270
  (prev) => ({
4347
4271
  ...prev,
4348
- [type]: {
4349
- ...prev?.[type],
4350
- [id]: value
4272
+ data: {
4273
+ ...prev?.data,
4274
+ [type]: {
4275
+ ...prev?.data?.[type],
4276
+ [id]: value
4277
+ }
4351
4278
  }
4352
4279
  })
4353
4280
  );
@@ -4357,9 +4284,12 @@ var REMOVE_SELF_RELATIONSHIP = (client, baseKeys = ["en"], type, id, value = fal
4357
4284
  [...SELF_RELATIONSHIPS_QUERY_KEY(), ...GetBaseSingleQueryKeys(...baseKeys)],
4358
4285
  (prev) => ({
4359
4286
  ...prev,
4360
- [type]: {
4361
- ...prev?.[type],
4362
- [id]: value
4287
+ data: {
4288
+ ...prev?.data,
4289
+ [type]: {
4290
+ ...prev?.data?.[type],
4291
+ [id]: value
4292
+ }
4363
4293
  }
4364
4294
  })
4365
4295
  );
@@ -4458,12 +4388,12 @@ var useGetSelfAnnouncement = (announcementId, options = {}) => {
4458
4388
  );
4459
4389
  };
4460
4390
 
4461
- // src/queries/self/useGetSelfCommunityMemberships.ts
4462
- var SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY = () => [
4391
+ // src/queries/self/useGetSelfGroupMemberships.ts
4392
+ var SELF_GROUP_MEMBERSHIPS_QUERY_KEY = () => [
4463
4393
  ...SELF_QUERY_KEY(),
4464
- "COMMUNITY_MEMBERSHIPS"
4394
+ "GROUP_MEMBERSHIPS"
4465
4395
  ];
4466
- var GetSelfCommunityMemberships = async ({
4396
+ var GetSelfGroupMemberships = async ({
4467
4397
  pageParam,
4468
4398
  pageSize,
4469
4399
  orderBy,
@@ -4471,7 +4401,7 @@ var GetSelfCommunityMemberships = async ({
4471
4401
  clientApiParams
4472
4402
  }) => {
4473
4403
  const clientApi = await GetClientAPI(clientApiParams);
4474
- const { data } = await clientApi.get(`/self/communities`, {
4404
+ const { data } = await clientApi.get(`/self/groups`, {
4475
4405
  params: {
4476
4406
  page: pageParam || void 0,
4477
4407
  pageSize: pageSize || void 0,
@@ -4481,11 +4411,11 @@ var GetSelfCommunityMemberships = async ({
4481
4411
  });
4482
4412
  return data;
4483
4413
  };
4484
- var useGetSelfCommunityMemberships = (params = {}, options = {}) => {
4414
+ var useGetSelfGroupMemberships = (params = {}, options = {}) => {
4485
4415
  const { authenticated } = useConnectedXM();
4486
4416
  return useConnectedInfiniteQuery(
4487
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY(),
4488
- (params2) => GetSelfCommunityMemberships({ ...params2 }),
4417
+ SELF_GROUP_MEMBERSHIPS_QUERY_KEY(),
4418
+ (params2) => GetSelfGroupMemberships({ ...params2 }),
4489
4419
  params,
4490
4420
  {
4491
4421
  ...options,
@@ -4494,35 +4424,36 @@ var useGetSelfCommunityMemberships = (params = {}, options = {}) => {
4494
4424
  );
4495
4425
  };
4496
4426
 
4497
- // src/queries/self/useGetSelfCommunityMembership.ts
4498
- var SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY = (communityId) => [...SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY(), communityId];
4499
- var SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
4427
+ // src/queries/self/useGetSelfGroupMembership.ts
4428
+ var SELF_GROUP_MEMBERSHIP_QUERY_KEY = (groupId) => [
4429
+ ...SELF_GROUP_MEMBERSHIPS_QUERY_KEY(),
4430
+ groupId
4431
+ ];
4432
+ var SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
4500
4433
  client.setQueryData(
4501
4434
  [
4502
- ...SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(...keyParams),
4435
+ ...SELF_GROUP_MEMBERSHIP_QUERY_KEY(...keyParams),
4503
4436
  ...GetBaseSingleQueryKeys(...baseKeys)
4504
4437
  ],
4505
4438
  response
4506
4439
  );
4507
4440
  };
4508
- var GetSelfCommunityMembership = async ({
4509
- communityId,
4441
+ var GetSelfGroupMembership = async ({
4442
+ groupId,
4510
4443
  clientApiParams
4511
4444
  }) => {
4512
4445
  const clientApi = await GetClientAPI(clientApiParams);
4513
- const { data } = await clientApi.get(
4514
- `/self/communities/${communityId}/membership`
4515
- );
4446
+ const { data } = await clientApi.get(`/self/groups/${groupId}/membership`);
4516
4447
  return data;
4517
4448
  };
4518
- var useGetSelfCommunityMembership = (communityId, options = {}) => {
4449
+ var useGetSelfGroupMembership = (groupId, options = {}) => {
4519
4450
  const { authenticated } = useConnectedXM();
4520
4451
  return useConnectedSingleQuery(
4521
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId),
4522
- (params) => GetSelfCommunityMembership({ communityId, ...params }),
4452
+ SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId),
4453
+ (params) => GetSelfGroupMembership({ groupId, ...params }),
4523
4454
  {
4524
4455
  ...options,
4525
- enabled: !!authenticated && !!communityId && (options?.enabled ?? true)
4456
+ enabled: !!authenticated && !!groupId && (options?.enabled ?? true)
4526
4457
  }
4527
4458
  );
4528
4459
  };
@@ -5345,7 +5276,7 @@ var GetLevelSponsors = async ({
5345
5276
  CacheIndividualQueries(
5346
5277
  data,
5347
5278
  queryClient,
5348
- (sponsorId) => SPONSOR_QUERY_KEY(sponsorId),
5279
+ (sponsorId) => ACCOUNT_QUERY_KEY(sponsorId),
5349
5280
  locale
5350
5281
  );
5351
5282
  }
@@ -7119,12 +7050,12 @@ var SelfCreateActivity = async ({
7119
7050
  data.data
7120
7051
  );
7121
7052
  }
7122
- if (activity.communityId) {
7053
+ if (activity.groupId) {
7123
7054
  nested = true;
7124
7055
  AppendInfiniteQuery(
7125
7056
  queryClient,
7126
7057
  [
7127
- ...COMMUNITY_ACTIVITIES_QUERY_KEY(activity.communityId),
7058
+ ...GROUP_ACTIVITIES_QUERY_KEY(activity.groupId),
7128
7059
  ...GetBaseInfiniteQueryKeys(clientApiParams.locale)
7129
7060
  ],
7130
7061
  data.data
@@ -7166,19 +7097,16 @@ var useDeleteActivity = (options = {}) => {
7166
7097
  return useConnectedMutation_default(DeleteActivity, options);
7167
7098
  };
7168
7099
 
7169
- // src/mutations/self/useSelfUpdateCommunityMembership.ts
7170
- var SelfUpdateCommunityMembership = async ({
7171
- communityId,
7100
+ // src/mutations/self/useSelfUpdateGroupMembership.ts
7101
+ var SelfUpdateGroupMembership = async ({
7102
+ groupId,
7172
7103
  membership,
7173
7104
  clientApiParams,
7174
7105
  queryClient
7175
7106
  }) => {
7176
7107
  if (queryClient) {
7177
7108
  queryClient.setQueryData(
7178
- [
7179
- ...SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId),
7180
- clientApiParams.locale
7181
- ],
7109
+ [...SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId), clientApiParams.locale],
7182
7110
  (data2) => {
7183
7111
  return {
7184
7112
  ...data2,
@@ -7191,11 +7119,14 @@ var SelfUpdateCommunityMembership = async ({
7191
7119
  );
7192
7120
  }
7193
7121
  const clientApi = await GetClientAPI(clientApiParams);
7194
- const { data } = await clientApi.put(`/self/communities/${communityId}`, membership);
7122
+ const { data } = await clientApi.put(
7123
+ `/self/groups/${groupId}`,
7124
+ membership
7125
+ );
7195
7126
  return data;
7196
7127
  };
7197
- var useSelfUpdateCommunityMembership = (options = {}) => {
7198
- return useConnectedMutation_default(SelfUpdateCommunityMembership, options);
7128
+ var useSelfUpdateGroupMembership = (options = {}) => {
7129
+ return useConnectedMutation_default(SelfUpdateGroupMembership, options);
7199
7130
  };
7200
7131
 
7201
7132
  // src/mutations/self/useUpdateSelf.ts
@@ -7314,6 +7245,28 @@ var useUpdateSelfPushDevice = (options = {}) => {
7314
7245
  return useConnectedMutation_default(UpdateSelfPushDevice, options);
7315
7246
  };
7316
7247
 
7248
+ // src/mutations/self/useAddSelfInterests.ts
7249
+ var AddSelfInterests = async ({
7250
+ interestIds,
7251
+ clientApiParams,
7252
+ queryClient
7253
+ }) => {
7254
+ const clientApi = await GetClientAPI(clientApiParams);
7255
+ const { data } = await clientApi.post(
7256
+ "/self/interests",
7257
+ { interestIds }
7258
+ );
7259
+ if (queryClient && data.status === "ok") {
7260
+ queryClient.invalidateQueries({
7261
+ queryKey: SELF_INTERESTS_QUERY_KEY()
7262
+ });
7263
+ }
7264
+ return data;
7265
+ };
7266
+ var useAddSelfInterests = (options = {}) => {
7267
+ return useConnectedMutation_default(AddSelfInterests, options);
7268
+ };
7269
+
7317
7270
  // src/mutations/supportTicket/useCreateSupportTicket.ts
7318
7271
  var CreateSupportTicket = async ({
7319
7272
  type,
@@ -7360,16 +7313,16 @@ var useCreateTeamAccount = (options = {}) => {
7360
7313
  return useConnectedMutation_default(CreateTeamAccount, options);
7361
7314
  };
7362
7315
 
7363
- // src/mutations/communities/useAcceptCommunityInvitation.ts
7364
- var AcceptCommunityInvitation = async ({
7365
- communityId,
7316
+ // src/mutations/groups/useAcceptGroupInvitation.ts
7317
+ var AcceptGroupInvitation = async ({
7318
+ groupId,
7366
7319
  requestId,
7367
7320
  clientApiParams,
7368
7321
  queryClient
7369
7322
  }) => {
7370
7323
  const clientApi = await GetClientAPI(clientApiParams);
7371
7324
  const { data } = await clientApi.post(
7372
- `/communities/${communityId}/invites/${requestId}`
7325
+ `/groups/${groupId}/invites/${requestId}`
7373
7326
  );
7374
7327
  if (queryClient && data.status === "ok") {
7375
7328
  queryClient.invalidateQueries({
@@ -7381,344 +7334,345 @@ var AcceptCommunityInvitation = async ({
7381
7334
  }
7382
7335
  return data;
7383
7336
  };
7384
- var useAcceptCommunityInvitation = (options = {}) => {
7385
- return useConnectedMutation_default(AcceptCommunityInvitation, options);
7337
+ var useAcceptGroupInvitation = (options = {}) => {
7338
+ return useConnectedMutation_default(AcceptGroupInvitation, options);
7386
7339
  };
7387
7340
 
7388
- // src/mutations/communities/useAcceptCommunityRequest.ts
7389
- var AcceptCommunityRequest = async ({
7390
- communityId,
7341
+ // src/mutations/groups/useAcceptGroupRequest.ts
7342
+ var AcceptGroupRequest = async ({
7343
+ groupId,
7391
7344
  requestId,
7392
7345
  clientApiParams,
7393
7346
  queryClient
7394
7347
  }) => {
7395
7348
  const clientApi = await GetClientAPI(clientApiParams);
7396
7349
  const { data } = await clientApi.post(
7397
- `/communities/${communityId}/requests/${requestId}`
7350
+ `/groups/${groupId}/requests/${requestId}`
7398
7351
  );
7399
7352
  if (queryClient && data.status === "ok") {
7400
7353
  queryClient.invalidateQueries({
7401
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7354
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7402
7355
  });
7403
7356
  }
7404
7357
  return data;
7405
7358
  };
7406
- var useAcceptCommunityRequest = (options = {}) => {
7407
- return useConnectedMutation_default(AcceptCommunityRequest, options);
7359
+ var useAcceptGroupRequest = (options = {}) => {
7360
+ return useConnectedMutation_default(AcceptGroupRequest, options);
7408
7361
  };
7409
7362
 
7410
- // src/mutations/communities/useCreateCommunity.ts
7411
- var CreateCommunity = async ({
7412
- community,
7363
+ // src/mutations/groups/useCreateGroup.ts
7364
+ var CreateGroup = async ({
7365
+ group,
7413
7366
  imageDataUri,
7414
7367
  clientApiParams,
7415
7368
  queryClient
7416
7369
  }) => {
7417
7370
  const clientApi = await GetClientAPI(clientApiParams);
7418
- const { data } = await clientApi.post(
7419
- `/communities`,
7420
- {
7421
- community,
7422
- imageDataUri
7423
- }
7424
- );
7371
+ const { data } = await clientApi.post(`/groups`, {
7372
+ group,
7373
+ imageDataUri
7374
+ });
7425
7375
  if (queryClient && data.status === "ok") {
7426
- SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
7376
+ SET_GROUP_QUERY_DATA(queryClient, [data.data.id], data);
7427
7377
  queryClient.invalidateQueries({
7428
- queryKey: COMMUNITIES_QUERY_KEY()
7378
+ queryKey: GROUPS_QUERY_KEY()
7429
7379
  });
7430
7380
  ADD_SELF_RELATIONSHIP(
7431
7381
  queryClient,
7432
7382
  [clientApiParams.locale],
7433
- "communities",
7383
+ "groups",
7434
7384
  data.data.id,
7435
7385
  "moderator"
7436
7386
  );
7437
7387
  }
7438
7388
  return data;
7439
7389
  };
7440
- var useCreateCommunity = (options = {}) => {
7441
- return useConnectedMutation_default(CreateCommunity, options);
7390
+ var useCreateGroup = (options = {}) => {
7391
+ return useConnectedMutation_default(CreateGroup, options);
7442
7392
  };
7443
7393
 
7444
- // src/mutations/communities/useCreateCommunityInvitations.ts
7445
- var CreateCommunityInvitations = async ({
7446
- communityId,
7394
+ // src/mutations/groups/useCreateGroupInvitations.ts
7395
+ var CreateGroupInvitations = async ({
7396
+ groupId,
7447
7397
  accountIds,
7448
7398
  clientApiParams,
7449
7399
  queryClient
7450
7400
  }) => {
7451
7401
  const clientApi = await GetClientAPI(clientApiParams);
7452
7402
  const { data } = await clientApi.post(
7453
- `/communities/${communityId}/invites`,
7403
+ `/groups/${groupId}/invites`,
7454
7404
  {
7455
7405
  accountIds
7456
7406
  }
7457
7407
  );
7458
7408
  if (queryClient && data.message === "ok") {
7459
7409
  queryClient.invalidateQueries({
7460
- queryKey: COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId)
7410
+ queryKey: GROUP_INVITABLE_ACCOUNTS_QUERY_KEY(groupId)
7461
7411
  });
7462
7412
  }
7463
7413
  return data;
7464
7414
  };
7465
- var useCreateCommunityInvitations = (options = {}) => {
7466
- return useConnectedMutation_default(CreateCommunityInvitations, options);
7415
+ var useCreateGroupInvitations = (options = {}) => {
7416
+ return useConnectedMutation_default(CreateGroupInvitations, options);
7467
7417
  };
7468
7418
 
7469
- // src/mutations/communities/useCreateCommunityRequest.ts
7470
- var CreateCommunityRequest = async ({
7471
- communityId,
7419
+ // src/mutations/groups/useCreateGroupRequest.ts
7420
+ var CreateGroupRequest = async ({
7421
+ groupId,
7472
7422
  clientApiParams
7473
7423
  }) => {
7474
7424
  const clientApi = await GetClientAPI(clientApiParams);
7475
7425
  const { data } = await clientApi.post(
7476
- `/communities/${communityId}/requests`
7426
+ `/groups/${groupId}/requests`
7477
7427
  );
7478
7428
  return data;
7479
7429
  };
7480
- var useCreateCommunityRequest = (options = {}) => {
7481
- return useConnectedMutation_default(CreateCommunityRequest, options);
7430
+ var useCreateGroupRequest = (options = {}) => {
7431
+ return useConnectedMutation_default(CreateGroupRequest, options);
7482
7432
  };
7483
7433
 
7484
- // src/mutations/communities/useDeactivateCommunity.ts
7485
- var DeactivateCommunity = async ({
7486
- communityId,
7487
- community,
7434
+ // src/mutations/groups/useDeactivateGroup.ts
7435
+ var DeactivateGroup = async ({
7436
+ groupId,
7437
+ group,
7488
7438
  imageDataUri,
7489
7439
  clientApiParams,
7490
7440
  queryClient
7491
7441
  }) => {
7492
7442
  const clientApi = await GetClientAPI(clientApiParams);
7493
7443
  const { data } = await clientApi.post(
7494
- `/communities/${communityId}`,
7444
+ `/groups/${groupId}`,
7495
7445
  {
7496
- community,
7446
+ group,
7497
7447
  imageDataUri
7498
7448
  }
7499
7449
  );
7500
7450
  if (queryClient && data.status === "ok") {
7501
7451
  queryClient.invalidateQueries({
7502
- queryKey: COMMUNITIES_QUERY_KEY()
7452
+ queryKey: GROUPS_QUERY_KEY()
7503
7453
  });
7504
7454
  }
7505
7455
  return data;
7506
7456
  };
7507
- var useDeactivateCommunity = (options = {}) => {
7508
- return useConnectedMutation_default(DeactivateCommunity, options);
7457
+ var useDeactivateGroup = (options = {}) => {
7458
+ return useConnectedMutation_default(DeactivateGroup, options);
7509
7459
  };
7510
7460
 
7511
- // src/mutations/communities/useDeleteCommunityInvitation.ts
7512
- var DeleteCommunityInvitation = async ({
7513
- communityId,
7461
+ // src/mutations/groups/useDeleteGroupInvitation.ts
7462
+ var DeleteGroupInvitation = async ({
7463
+ groupId,
7514
7464
  requestId,
7515
7465
  clientApiParams,
7516
7466
  queryClient
7517
7467
  }) => {
7518
7468
  const clientApi = await GetClientAPI(clientApiParams);
7519
7469
  const { data } = await clientApi.delete(
7520
- `/communities/${communityId}/invites/${requestId}`
7470
+ `/groups/${groupId}/invites/${requestId}`
7521
7471
  );
7522
7472
  if (queryClient && data.status === "ok") {
7523
7473
  queryClient.invalidateQueries({
7524
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7474
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7525
7475
  });
7526
7476
  }
7527
7477
  return data;
7528
7478
  };
7529
- var useDeleteCommunityInvitation = (options = {}) => {
7530
- return useConnectedMutation_default(DeleteCommunityInvitation, options);
7479
+ var useDeleteGroupInvitation = (options = {}) => {
7480
+ return useConnectedMutation_default(DeleteGroupInvitation, options);
7531
7481
  };
7532
7482
 
7533
- // src/mutations/communities/useJoinCommunity.ts
7534
- var JoinCommunity = async ({
7535
- communityId,
7483
+ // src/mutations/groups/useJoinGroup.ts
7484
+ var JoinGroup = async ({
7485
+ groupId,
7536
7486
  clientApiParams,
7537
7487
  queryClient
7538
7488
  }) => {
7539
7489
  const clientApi = await GetClientAPI(clientApiParams);
7540
- const { data } = await clientApi.post(`/communities/${communityId}/join`);
7490
+ const { data } = await clientApi.post(
7491
+ `/groups/${groupId}/join`
7492
+ );
7541
7493
  if (queryClient && data.status === "ok") {
7542
7494
  queryClient.invalidateQueries({
7543
- queryKey: COMMUNITY_QUERY_KEY(communityId)
7495
+ queryKey: GROUP_QUERY_KEY(groupId)
7544
7496
  });
7545
7497
  queryClient.invalidateQueries({
7546
- queryKey: COMMUNITIES_QUERY_KEY()
7498
+ queryKey: GROUPS_QUERY_KEY()
7547
7499
  });
7548
7500
  queryClient.invalidateQueries({
7549
- queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
7501
+ queryKey: SELF_GROUP_MEMBERSHIPS_QUERY_KEY()
7550
7502
  });
7551
7503
  queryClient.invalidateQueries({
7552
- queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
7504
+ queryKey: SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId)
7553
7505
  });
7554
7506
  ADD_SELF_RELATIONSHIP(
7555
7507
  queryClient,
7556
7508
  [clientApiParams.locale],
7557
- "communities",
7558
- communityId,
7509
+ "groups",
7510
+ groupId,
7559
7511
  "member"
7560
7512
  );
7561
7513
  }
7562
7514
  return data;
7563
7515
  };
7564
- var useJoinCommunity = (options = {}) => {
7565
- return useConnectedMutation_default(JoinCommunity, options);
7516
+ var useJoinGroup = (options = {}) => {
7517
+ return useConnectedMutation_default(JoinGroup, options);
7566
7518
  };
7567
7519
 
7568
- // src/mutations/communities/useLeaveCommunity.ts
7569
- var LeaveCommunity = async ({
7570
- communityId,
7520
+ // src/mutations/groups/useLeaveGroup.ts
7521
+ var LeaveGroup = async ({
7522
+ groupId,
7571
7523
  clientApiParams,
7572
7524
  queryClient
7573
7525
  }) => {
7574
7526
  const clientApi = await GetClientAPI(clientApiParams);
7575
7527
  const { data } = await clientApi.post(
7576
- `/communities/${communityId}/leave`
7528
+ `/groups/${groupId}/leave`
7577
7529
  );
7578
7530
  if (queryClient && data.status === "ok") {
7579
7531
  queryClient.invalidateQueries({
7580
- queryKey: COMMUNITY_QUERY_KEY(communityId)
7532
+ queryKey: GROUP_QUERY_KEY(groupId)
7581
7533
  });
7582
7534
  queryClient.invalidateQueries({
7583
- queryKey: COMMUNITIES_QUERY_KEY()
7535
+ queryKey: GROUPS_QUERY_KEY()
7584
7536
  });
7585
7537
  queryClient.invalidateQueries({
7586
- queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
7538
+ queryKey: SELF_GROUP_MEMBERSHIPS_QUERY_KEY()
7587
7539
  });
7588
7540
  queryClient.invalidateQueries({
7589
- queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
7541
+ queryKey: SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId)
7590
7542
  });
7591
7543
  REMOVE_SELF_RELATIONSHIP(
7592
7544
  queryClient,
7593
7545
  [clientApiParams.locale],
7594
- "communities",
7595
- communityId
7546
+ "groups",
7547
+ groupId
7596
7548
  );
7597
7549
  }
7598
7550
  return data;
7599
7551
  };
7600
- var useLeaveCommunity = (options = {}) => {
7601
- return useConnectedMutation_default(LeaveCommunity, options);
7552
+ var useLeaveGroup = (options = {}) => {
7553
+ return useConnectedMutation_default(LeaveGroup, options);
7602
7554
  };
7603
7555
 
7604
- // src/mutations/communities/useRejectCommunityRequest.ts
7605
- var RejectCommunityRequest = async ({
7606
- communityId,
7556
+ // src/mutations/groups/useRejectGroupRequest.ts
7557
+ var RejectGroupRequest = async ({
7558
+ groupId,
7607
7559
  requestId,
7608
7560
  clientApiParams,
7609
7561
  queryClient
7610
7562
  }) => {
7611
7563
  const clientApi = await GetClientAPI(clientApiParams);
7612
- const { data } = await clientApi.delete(`/communities/${communityId}/requests/${requestId}`);
7564
+ const { data } = await clientApi.delete(
7565
+ `/groups/${groupId}/requests/${requestId}`
7566
+ );
7613
7567
  if (queryClient && data.status === "ok") {
7614
- SET_COMMUNITY_REQUEST_QUERY_DATA(
7615
- queryClient,
7616
- [communityId, data.data.id],
7617
- data
7618
- );
7568
+ SET_GROUP_REQUEST_QUERY_DATA(queryClient, [groupId, data.data.id], data);
7619
7569
  queryClient.invalidateQueries({
7620
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7570
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7621
7571
  });
7622
7572
  }
7623
7573
  return data;
7624
7574
  };
7625
- var useRejectCommunityRequest = (options = {}) => {
7626
- return useConnectedMutation_default(RejectCommunityRequest, options);
7575
+ var useRejectGroupRequest = (options = {}) => {
7576
+ return useConnectedMutation_default(RejectGroupRequest, options);
7627
7577
  };
7628
7578
 
7629
- // src/mutations/communities/useRemoveCommunityMember.ts
7630
- var RemoveCommunityMember = async ({
7631
- communityId,
7579
+ // src/mutations/groups/useRemoveGroupMember.ts
7580
+ var RemoveGroupMember = async ({
7581
+ groupId,
7632
7582
  accountId,
7633
7583
  clientApiParams,
7634
7584
  queryClient
7635
7585
  }) => {
7636
7586
  const clientApi = await GetClientAPI(clientApiParams);
7637
7587
  const { data } = await clientApi.delete(
7638
- `/communities/${communityId}/members/${accountId}`
7588
+ `/groups/${groupId}/members/${accountId}`
7639
7589
  );
7640
7590
  if (queryClient && data.status === "ok") {
7641
7591
  queryClient.invalidateQueries({
7642
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7592
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7643
7593
  });
7644
7594
  }
7645
7595
  return data;
7646
7596
  };
7647
- var useRemoveCommunityMember = (options = {}) => {
7648
- return useConnectedMutation_default(RemoveCommunityMember, options);
7597
+ var useRemoveGroupMember = (options = {}) => {
7598
+ return useConnectedMutation_default(RemoveGroupMember, options);
7649
7599
  };
7650
7600
 
7651
- // src/mutations/communities/useUpdateCommunity.ts
7652
- var UpdateCommunity = async ({
7653
- communityId,
7654
- community,
7601
+ // src/mutations/groups/useUpdateGroup.ts
7602
+ var UpdateGroup = async ({
7603
+ groupId,
7604
+ group,
7655
7605
  imageDataUri,
7656
7606
  clientApiParams,
7657
7607
  queryClient
7658
7608
  }) => {
7659
7609
  const clientApi = await GetClientAPI(clientApiParams);
7660
7610
  const { data } = await clientApi.put(
7661
- `/communities/${communityId}`,
7611
+ `/groups/${groupId}`,
7662
7612
  {
7663
- community,
7613
+ group,
7664
7614
  imageDataUri
7665
7615
  }
7666
7616
  );
7667
7617
  if (queryClient && data.status === "ok") {
7668
- SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
7618
+ SET_GROUP_QUERY_DATA(queryClient, [data.data.id], data);
7669
7619
  queryClient.invalidateQueries({
7670
- queryKey: COMMUNITIES_QUERY_KEY()
7620
+ queryKey: GROUPS_QUERY_KEY()
7671
7621
  });
7672
7622
  }
7673
7623
  return data;
7674
7624
  };
7675
- var useUpdateCommunity = (options = {}) => {
7676
- return useConnectedMutation_default(UpdateCommunity, options);
7625
+ var useUpdateGroup = (options = {}) => {
7626
+ return useConnectedMutation_default(UpdateGroup, options);
7677
7627
  };
7678
7628
 
7679
- // src/mutations/communities/useDemoteCommunityModerator.ts
7680
- var DemoteCommunityModerator = async ({
7681
- communityId,
7629
+ // src/mutations/groups/useDemoteGroupModerator.ts
7630
+ var DemoteGroupModerator = async ({
7631
+ groupId,
7682
7632
  accountId,
7683
7633
  clientApiParams,
7684
7634
  queryClient
7685
7635
  }) => {
7686
7636
  const clientApi = await GetClientAPI(clientApiParams);
7687
- const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/demote`);
7637
+ const { data } = await clientApi.post(
7638
+ `/groups/${groupId}/members/${accountId}/demote`
7639
+ );
7688
7640
  if (queryClient && data.status === "ok") {
7689
7641
  queryClient.invalidateQueries({
7690
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7642
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7691
7643
  });
7692
7644
  }
7693
7645
  return data;
7694
7646
  };
7695
- var useDemoteCommunityModerator = (options = {}) => {
7696
- return useConnectedMutation_default(DemoteCommunityModerator, options);
7647
+ var useDemoteGroupModerator = (options = {}) => {
7648
+ return useConnectedMutation_default(DemoteGroupModerator, options);
7697
7649
  };
7698
7650
 
7699
- // src/mutations/communities/usePromoteCommunityMember.ts
7700
- var PromoteCommunityMember = async ({
7701
- communityId,
7651
+ // src/mutations/groups/usePromoteGroupMember.ts
7652
+ var PromoteGroupMember = async ({
7653
+ groupId,
7702
7654
  accountId,
7703
7655
  clientApiParams,
7704
7656
  queryClient
7705
7657
  }) => {
7706
7658
  const clientApi = await GetClientAPI(clientApiParams);
7707
- const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/promote`);
7659
+ const { data } = await clientApi.post(
7660
+ `/groups/${groupId}/members/${accountId}/promote`
7661
+ );
7708
7662
  if (queryClient && data.status === "ok") {
7709
7663
  queryClient.invalidateQueries({
7710
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7664
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7711
7665
  });
7712
7666
  }
7713
7667
  return data;
7714
7668
  };
7715
- var usePromoteCommunityMember = (options = {}) => {
7716
- return useConnectedMutation_default(PromoteCommunityMember, options);
7669
+ var usePromoteGroupMember = (options = {}) => {
7670
+ return useConnectedMutation_default(PromoteGroupMember, options);
7717
7671
  };
7718
7672
 
7719
- // src/mutations/communities/useCreateCommunityAnnouncement.ts
7720
- var CreateCommunityAnnouncement = async ({
7721
- communityId,
7673
+ // src/mutations/groups/useCreateGroupAnnouncement.ts
7674
+ var CreateGroupAnnouncement = async ({
7675
+ groupId,
7722
7676
  title,
7723
7677
  html,
7724
7678
  email,
@@ -7728,7 +7682,7 @@ var CreateCommunityAnnouncement = async ({
7728
7682
  }) => {
7729
7683
  const clientApi = await GetClientAPI(clientApiParams);
7730
7684
  const { data } = await clientApi.post(
7731
- `/communities/${communityId}/announcements`,
7685
+ `/groups/${groupId}/announcements`,
7732
7686
  {
7733
7687
  title,
7734
7688
  html,
@@ -7738,32 +7692,28 @@ var CreateCommunityAnnouncement = async ({
7738
7692
  );
7739
7693
  if (queryClient && data.status === "ok") {
7740
7694
  queryClient.invalidateQueries({
7741
- queryKey: COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId)
7695
+ queryKey: GROUP_ANNOUNCEMENTS_QUERY_KEY(groupId)
7742
7696
  });
7743
7697
  }
7744
7698
  return data;
7745
7699
  };
7746
- var useCreateCommunityAnnouncement = (options = {}) => {
7747
- return useConnectedMutation_default(CreateCommunityAnnouncement, options);
7700
+ var useCreateGroupAnnouncement = (options = {}) => {
7701
+ return useConnectedMutation_default(CreateGroupAnnouncement, options);
7748
7702
  };
7749
7703
 
7750
- // src/mutations/communities/useRejectCommunityInvitation.ts
7751
- var RejectCommunityInvitation = async ({
7752
- communityId,
7704
+ // src/mutations/groups/useRejectGroupInvitation.ts
7705
+ var RejectGroupInvitation = async ({
7706
+ groupId,
7753
7707
  requestId,
7754
7708
  clientApiParams,
7755
7709
  queryClient
7756
7710
  }) => {
7757
7711
  const clientApi = await GetClientAPI(clientApiParams);
7758
7712
  const { data } = await clientApi.put(
7759
- `/communities/${communityId}/invites/${requestId}`
7713
+ `/groups/${groupId}/invites/${requestId}`
7760
7714
  );
7761
7715
  if (queryClient && data.status === "ok") {
7762
- SET_COMMUNITY_REQUEST_QUERY_DATA(
7763
- queryClient,
7764
- [communityId, data.data.id],
7765
- data
7766
- );
7716
+ SET_GROUP_REQUEST_QUERY_DATA(queryClient, [groupId, data.data.id], data);
7767
7717
  queryClient.invalidateQueries({
7768
7718
  queryKey: SELF_NOTIFICATIONS_QUERY_KEY("")
7769
7719
  });
@@ -7773,8 +7723,8 @@ var RejectCommunityInvitation = async ({
7773
7723
  }
7774
7724
  return data;
7775
7725
  };
7776
- var useRejectCommunityInvitation = (options = {}) => {
7777
- return useConnectedMutation_default(RejectCommunityInvitation, options);
7726
+ var useRejectGroupInvitation = (options = {}) => {
7727
+ return useConnectedMutation_default(RejectGroupInvitation, options);
7778
7728
  };
7779
7729
 
7780
7730
  // src/mutations/listings/useCreateListingSession.ts
@@ -7896,7 +7846,7 @@ var useAddListingSponsor = (options = {}) => {
7896
7846
  var CreateListing = async ({
7897
7847
  event,
7898
7848
  imageDataUri,
7899
- communityId,
7849
+ groupId,
7900
7850
  sponsorIds,
7901
7851
  speakers,
7902
7852
  sessions,
@@ -7909,7 +7859,7 @@ var CreateListing = async ({
7909
7859
  {
7910
7860
  event,
7911
7861
  image: imageDataUri ? imageDataUri : void 0,
7912
- communityId: communityId || void 0,
7862
+ groupId: groupId || void 0,
7913
7863
  sponsorIds: sponsorIds || void 0,
7914
7864
  speakers,
7915
7865
  sessions
@@ -7922,9 +7872,9 @@ var CreateListing = async ({
7922
7872
  queryClient.invalidateQueries({
7923
7873
  queryKey: LISTINGS_QUERY_KEY(true)
7924
7874
  });
7925
- if (communityId) {
7875
+ if (groupId) {
7926
7876
  queryClient.invalidateQueries({
7927
- queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
7877
+ queryKey: GROUP_EVENTS_QUERY_KEY(groupId)
7928
7878
  });
7929
7879
  }
7930
7880
  queryClient.setQueryData(
@@ -8239,17 +8189,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8239
8189
  ACCOUNTS_QUERY_KEY,
8240
8190
  ACCOUNT_ACTIVITIES_QUERY_KEY,
8241
8191
  ACCOUNT_BY_SHARE_CODE_QUERY_KEY,
8242
- ACCOUNT_COMMUNITIES_QUERY_KEY,
8243
8192
  ACCOUNT_FOLLOWERS_QUERY_KEY,
8244
8193
  ACCOUNT_FOLLOWINGS_QUERY_KEY,
8194
+ ACCOUNT_GROUPS_QUERY_KEY,
8245
8195
  ACCOUNT_QUERY_KEY,
8246
8196
  ACTIVITIES_QUERY_KEY,
8247
8197
  ACTIVITY_COMMENTS_QUERY_KEY,
8248
8198
  ACTIVITY_QUERY_KEY,
8249
8199
  ADD_SELF_RELATIONSHIP,
8250
8200
  ADVERTISEMENT_QUERY_KEY,
8251
- AcceptCommunityInvitation,
8252
- AcceptCommunityRequest,
8201
+ AcceptGroupInvitation,
8202
+ AcceptGroupRequest,
8253
8203
  AcceptTransfer,
8254
8204
  AccountType,
8255
8205
  AddListingSponsor,
@@ -8258,20 +8208,10 @@ var useUpdateListingSpeaker = (options = {}) => {
8258
8208
  AddSelfEventRegistrationPurchase,
8259
8209
  AddSelfEventRegistrationPurchaseAddOn,
8260
8210
  AddSelfEventSession,
8211
+ AddSelfInterests,
8261
8212
  AdvertisementType,
8262
8213
  AppendInfiniteQuery,
8263
8214
  BENEFITS_QUERY_KEY,
8264
- COMMUNITIES_QUERY_KEY,
8265
- COMMUNITY_ACTIVITIES_QUERY_KEY,
8266
- COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
8267
- COMMUNITY_EVENTS_QUERY_KEY,
8268
- COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
8269
- COMMUNITY_MEDIA_QUERY_KEY,
8270
- COMMUNITY_MEMBERS_QUERY_KEY,
8271
- COMMUNITY_QUERY_KEY,
8272
- COMMUNITY_REQUESTS_QUERY_KEY,
8273
- COMMUNITY_REQUEST_QUERY_KEY,
8274
- COMMUNITY_SPONSORS_QUERY_KEY,
8275
8215
  CONTENTS_QUERY_KEY,
8276
8216
  CONTENT_ACTIVITIES_QUERY_KEY,
8277
8217
  CONTENT_QUERY_KEY,
@@ -8285,18 +8225,15 @@ var useUpdateListingSpeaker = (options = {}) => {
8285
8225
  CaptureInvoicePayment,
8286
8226
  CaptureSelfEventRegistrationPayment,
8287
8227
  CheckinListingRegistrationPurchase,
8288
- CommunityAccess,
8289
- CommunityMembershipRole,
8290
- CommunityRequestStatus,
8291
8228
  CompleteEventActivation,
8292
8229
  ConnectedXMProvider,
8293
8230
  ContentTypeFormat,
8294
8231
  CouponType,
8295
- CreateCommunity,
8296
- CreateCommunityAnnouncement,
8297
- CreateCommunityInvitations,
8298
- CreateCommunityRequest,
8299
8232
  CreateEventLead,
8233
+ CreateGroup,
8234
+ CreateGroupAnnouncement,
8235
+ CreateGroupInvitations,
8236
+ CreateGroupRequest,
8300
8237
  CreateListing,
8301
8238
  CreateListingAnnouncement,
8302
8239
  CreateListingQuestion,
@@ -8308,9 +8245,9 @@ var useUpdateListingSpeaker = (options = {}) => {
8308
8245
  CreateSupportTicket,
8309
8246
  CreateTeamAccount,
8310
8247
  Currency,
8311
- DeactivateCommunity,
8248
+ DeactivateGroup,
8312
8249
  DeleteActivity,
8313
- DeleteCommunityInvitation,
8250
+ DeleteGroupInvitation,
8314
8251
  DeleteListing,
8315
8252
  DeleteListingQuestion,
8316
8253
  DeleteListingSession,
@@ -8320,7 +8257,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8320
8257
  DeleteSelfChatChannel,
8321
8258
  DeleteSelfChatChannelMessage,
8322
8259
  DeleteSelfPushDevice,
8323
- DemoteCommunityModerator,
8260
+ DemoteGroupModerator,
8324
8261
  EVENTS_FEATURED_QUERY_KEY,
8325
8262
  EVENTS_QUERY_KEY,
8326
8263
  EVENT_ACTIVITIES_QUERY_KEY,
@@ -8343,12 +8280,23 @@ var useUpdateListingSpeaker = (options = {}) => {
8343
8280
  EventSource,
8344
8281
  EventType,
8345
8282
  FollowAccount,
8283
+ GROUPS_QUERY_KEY,
8284
+ GROUP_ACTIVITIES_QUERY_KEY,
8285
+ GROUP_ANNOUNCEMENTS_QUERY_KEY,
8286
+ GROUP_EVENTS_QUERY_KEY,
8287
+ GROUP_INVITABLE_ACCOUNTS_QUERY_KEY,
8288
+ GROUP_MEDIA_QUERY_KEY,
8289
+ GROUP_MEMBERS_QUERY_KEY,
8290
+ GROUP_QUERY_KEY,
8291
+ GROUP_REQUESTS_QUERY_KEY,
8292
+ GROUP_REQUEST_QUERY_KEY,
8293
+ GROUP_SPONSORS_QUERY_KEY,
8346
8294
  GetAccount,
8347
8295
  GetAccountActivities,
8348
8296
  GetAccountByShareCode,
8349
- GetAccountCommunities,
8350
8297
  GetAccountFollowers,
8351
8298
  GetAccountFollowings,
8299
+ GetAccountGroups,
8352
8300
  GetAccounts,
8353
8301
  GetActivities,
8354
8302
  GetActivity,
@@ -8358,17 +8306,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8358
8306
  GetBaseSingleQueryKeys,
8359
8307
  GetBenefits,
8360
8308
  GetClientAPI,
8361
- GetCommunities,
8362
- GetCommunity,
8363
- GetCommunityActivities,
8364
- GetCommunityAnnouncements,
8365
- GetCommunityEvents,
8366
- GetCommunityInvitableAccounts,
8367
- GetCommunityMedia,
8368
- GetCommunityMembers,
8369
- GetCommunityRequest,
8370
- GetCommunityRequests,
8371
- GetCommunitySponsors,
8372
8309
  GetContent,
8373
8310
  GetContentActivities,
8374
8311
  GetContentType,
@@ -8394,6 +8331,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8394
8331
  GetEventTickets,
8395
8332
  GetEvents,
8396
8333
  GetFeaturedEvents,
8334
+ GetGroup,
8335
+ GetGroupActivities,
8336
+ GetGroupAnnouncements,
8337
+ GetGroupEvents,
8338
+ GetGroupInvitableAccounts,
8339
+ GetGroupMedia,
8340
+ GetGroupMembers,
8341
+ GetGroupRequest,
8342
+ GetGroupRequests,
8343
+ GetGroupSponsors,
8344
+ GetGroups,
8397
8345
  GetInterests,
8398
8346
  GetInvoice,
8399
8347
  GetLevel,
@@ -8411,8 +8359,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8411
8359
  GetSelfChatChannelMembers,
8412
8360
  GetSelfChatChannelMessages,
8413
8361
  GetSelfChatChannels,
8414
- GetSelfCommunityMembership,
8415
- GetSelfCommunityMemberships,
8416
8362
  GetSelfDelegateOf,
8417
8363
  GetSelfDelegates,
8418
8364
  GetSelfEventListing,
@@ -8433,6 +8379,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8433
8379
  GetSelfEventSessions,
8434
8380
  GetSelfEvents,
8435
8381
  GetSelfFeed,
8382
+ GetSelfGroupMembership,
8383
+ GetSelfGroupMemberships,
8436
8384
  GetSelfInterests,
8437
8385
  GetSelfNewNotificationsCount,
8438
8386
  GetSelfNotificationPreferences,
@@ -8449,13 +8397,14 @@ var useUpdateListingSpeaker = (options = {}) => {
8449
8397
  GetSeries,
8450
8398
  GetSeriesEvents,
8451
8399
  GetSeriesList,
8452
- GetSponsor,
8453
- GetSponsors,
8400
+ GroupAccess,
8401
+ GroupMembershipRole,
8402
+ GroupRequestStatus,
8454
8403
  INTERESTS_QUERY_KEY,
8455
8404
  INVOICE_QUERY_KEY,
8456
8405
  ImageType,
8457
8406
  InvoiceStatus,
8458
- JoinCommunity,
8407
+ JoinGroup,
8459
8408
  LEVELS_QUERY_KEY,
8460
8409
  LEVEL_QUERY_KEY,
8461
8410
  LEVEL_SPONSORS_QUERY_KEY,
@@ -8467,7 +8416,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8467
8416
  LISTING_QUESTIONS_QUERY_KEY,
8468
8417
  LISTING_REGISTRATIONS_QUERY_KEY,
8469
8418
  LISTING_REGISTRATION_QUERY_KEY,
8470
- LeaveCommunity,
8419
+ LeaveGroup,
8471
8420
  LeaveSelfChatChannel,
8472
8421
  LikeActivity,
8473
8422
  MergeInfinitePages,
@@ -8477,17 +8426,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8477
8426
  ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
8478
8427
  ORGANIZATION_QUERY_KEY,
8479
8428
  ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
8480
- PromoteCommunityMember,
8429
+ PromoteGroupMember,
8481
8430
  PushDeviceAppType,
8482
8431
  PushService,
8483
8432
  REMOVE_SELF_RELATIONSHIP,
8484
8433
  RegisterCancelledEventRegistration,
8485
8434
  RegistrationQuestionType,
8486
8435
  RegistrationStatus,
8487
- RejectCommunityInvitation,
8488
- RejectCommunityRequest,
8436
+ RejectGroupInvitation,
8437
+ RejectGroupRequest,
8489
8438
  RejectTransfer,
8490
- RemoveCommunityMember,
8439
+ RemoveGroupMember,
8491
8440
  RemoveListingSponsor,
8492
8441
  RemoveSelfDelegate,
8493
8442
  RemoveSelfEventRegistrationCoupon,
@@ -8501,8 +8450,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8501
8450
  SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY,
8502
8451
  SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY,
8503
8452
  SELF_CHAT_CHANNEL_QUERY_KEY,
8504
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY,
8505
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY,
8506
8453
  SELF_DELEGATES_QUERY_KEY,
8507
8454
  SELF_DELEGATE_OF_QUERY_KEY,
8508
8455
  SELF_EVENTS_QUERY_KEY,
@@ -8515,6 +8462,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8515
8462
  SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
8516
8463
  SELF_EVENT_SESSIONS_QUERY_KEY,
8517
8464
  SELF_FEED_QUERY_KEY,
8465
+ SELF_GROUP_MEMBERSHIPS_QUERY_KEY,
8466
+ SELF_GROUP_MEMBERSHIP_QUERY_KEY,
8518
8467
  SELF_INTERESTS_QUERY_KEY,
8519
8468
  SELF_NOTIFICATIONS_QUERY_KEY,
8520
8469
  SELF_NOTIFICATION_COUNT_QUERY_KEY,
@@ -8535,25 +8484,15 @@ var useUpdateListingSpeaker = (options = {}) => {
8535
8484
  SET_ACCOUNTS_QUERY_DATA,
8536
8485
  SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
8537
8486
  SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA,
8538
- SET_ACCOUNT_COMMUNITIES_QUERY_DATA,
8539
8487
  SET_ACCOUNT_FOLLOWERS_QUERY_DATA,
8540
8488
  SET_ACCOUNT_FOLLOWINGS_QUERY_DATA,
8489
+ SET_ACCOUNT_GROUPS_QUERY_DATA,
8541
8490
  SET_ACCOUNT_QUERY_DATA,
8542
8491
  SET_ACTIVITIES_QUERY_DATA,
8543
8492
  SET_ACTIVITY_COMMENTS_QUERY_DATA,
8544
8493
  SET_ACTIVITY_QUERY_DATA,
8545
8494
  SET_ADVERTISEMENT_QUERY_DATA,
8546
8495
  SET_BENEFITS_QUERY_DATA,
8547
- SET_COMMUNITIES_QUERY_DATA,
8548
- SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
8549
- SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
8550
- SET_COMMUNITY_EVENTS_QUERY_DATA,
8551
- SET_COMMUNITY_MEDIA_QUERY_DATA,
8552
- SET_COMMUNITY_MEMBERS_QUERY_DATA,
8553
- SET_COMMUNITY_QUERY_DATA,
8554
- SET_COMMUNITY_REQUESTS_QUERY_DATA,
8555
- SET_COMMUNITY_REQUEST_QUERY_DATA,
8556
- SET_COMMUNITY_SPONSORS_QUERY_DATA,
8557
8496
  SET_CONTENTS_QUERY_DATA,
8558
8497
  SET_CONTENT_ACTIVITIES_QUERY_DATA,
8559
8498
  SET_CONTENT_QUERY_DATA,
@@ -8577,6 +8516,16 @@ var useUpdateListingSpeaker = (options = {}) => {
8577
8516
  SET_EVENT_SPEAKER_QUERY_DATA,
8578
8517
  SET_EVENT_SPONSORS_QUERY_DATA,
8579
8518
  SET_EVENT_TICKETS_QUERY_DATA,
8519
+ SET_GROUPS_QUERY_DATA,
8520
+ SET_GROUP_ACTIVITIES_QUERY_DATA,
8521
+ SET_GROUP_ANNOUNCEMENTS_QUERY_DATA,
8522
+ SET_GROUP_EVENTS_QUERY_DATA,
8523
+ SET_GROUP_MEDIA_QUERY_DATA,
8524
+ SET_GROUP_MEMBERS_QUERY_DATA,
8525
+ SET_GROUP_QUERY_DATA,
8526
+ SET_GROUP_REQUESTS_QUERY_DATA,
8527
+ SET_GROUP_REQUEST_QUERY_DATA,
8528
+ SET_GROUP_SPONSORS_QUERY_DATA,
8580
8529
  SET_INTERESTS_QUERY_DATA,
8581
8530
  SET_INVOICE_QUERY_DATA,
8582
8531
  SET_LEVELS_QUERY_DATA,
@@ -8592,25 +8541,21 @@ var useUpdateListingSpeaker = (options = {}) => {
8592
8541
  SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA,
8593
8542
  SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
8594
8543
  SET_SELF_CHAT_CHANNEL_QUERY_DATA,
8595
- SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
8596
8544
  SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
8597
8545
  SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
8598
8546
  SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
8599
8547
  SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
8600
8548
  SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
8601
8549
  SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
8550
+ SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
8602
8551
  SET_SELF_QUERY_DATA,
8603
8552
  SET_SERIES_EVENTS_QUERY_DATA,
8604
8553
  SET_SERIES_LIST_QUERY_DATA,
8605
8554
  SET_SERIES_QUERY_DATA,
8606
- SET_SPONSORS_QUERY_DATA,
8607
- SET_SPONSOR_QUERY_DATA,
8608
- SPONSORS_QUERY_KEY,
8609
- SPONSOR_QUERY_KEY,
8610
8555
  SelectSelfEventRegistrationCoupon,
8611
8556
  SelectSelfEventRegistrationPurchaseReservation,
8612
8557
  SelfCreateActivity,
8613
- SelfUpdateCommunityMembership,
8558
+ SelfUpdateGroupMembership,
8614
8559
  SubmitSelfEventRegistration,
8615
8560
  SubscriptionStatus,
8616
8561
  SupportTicketType,
@@ -8619,7 +8564,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8619
8564
  TransferPurchase,
8620
8565
  UnfollowAccount,
8621
8566
  UnlikeActivity,
8622
- UpdateCommunity,
8567
+ UpdateGroup,
8623
8568
  UpdateListing,
8624
8569
  UpdateListingEmail,
8625
8570
  UpdateListingQuestion,
@@ -8643,8 +8588,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8643
8588
  isTypeAdvertisement,
8644
8589
  isTypeAnnouncement,
8645
8590
  isTypeBenefit,
8646
- isTypeCommunity,
8647
- isTypeCommunityMembership,
8648
8591
  isTypeContent,
8649
8592
  isTypeContentType,
8650
8593
  isTypeCoupon,
@@ -8654,6 +8597,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8654
8597
  isTypeEventPage,
8655
8598
  isTypeFaq,
8656
8599
  isTypeFaqSection,
8600
+ isTypeGroup,
8601
+ isTypeGroupMembership,
8657
8602
  isTypeImage,
8658
8603
  isTypeInstance,
8659
8604
  isTypeIntegrations,
@@ -8673,8 +8618,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8673
8618
  isTypeTransfer,
8674
8619
  isUUID,
8675
8620
  setFirstPageData,
8676
- useAcceptCommunityInvitation,
8677
- useAcceptCommunityRequest,
8621
+ useAcceptGroupInvitation,
8622
+ useAcceptGroupRequest,
8678
8623
  useAcceptTransfer,
8679
8624
  useAddListingSponsor,
8680
8625
  useAddSelfChatChannelMember,
@@ -8682,6 +8627,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8682
8627
  useAddSelfEventRegistrationPurchase,
8683
8628
  useAddSelfEventRegistrationPurchaseAddOn,
8684
8629
  useAddSelfEventSession,
8630
+ useAddSelfInterests,
8685
8631
  useCancelEventRegistration,
8686
8632
  useCancelSubscription,
8687
8633
  useCancelTransfer,
@@ -8693,11 +8639,11 @@ var useUpdateListingSpeaker = (options = {}) => {
8693
8639
  useConnectedMutation,
8694
8640
  useConnectedSingleQuery,
8695
8641
  useConnectedXM,
8696
- useCreateCommunity,
8697
- useCreateCommunityAnnouncement,
8698
- useCreateCommunityInvitations,
8699
- useCreateCommunityRequest,
8700
8642
  useCreateEventLead,
8643
+ useCreateGroup,
8644
+ useCreateGroupAnnouncement,
8645
+ useCreateGroupInvitations,
8646
+ useCreateGroupRequest,
8701
8647
  useCreateListing,
8702
8648
  useCreateListingAnnouncement,
8703
8649
  useCreateListingQuestion,
@@ -8708,9 +8654,9 @@ var useUpdateListingSpeaker = (options = {}) => {
8708
8654
  useCreateSubscription,
8709
8655
  useCreateSupportTicket,
8710
8656
  useCreateTeamAccount,
8711
- useDeactivateCommunity,
8657
+ useDeactivateGroup,
8712
8658
  useDeleteActivity,
8713
- useDeleteCommunityInvitation,
8659
+ useDeleteGroupInvitation,
8714
8660
  useDeleteListing,
8715
8661
  useDeleteListingQuestion,
8716
8662
  useDeleteListingSession,
@@ -8720,31 +8666,20 @@ var useUpdateListingSpeaker = (options = {}) => {
8720
8666
  useDeleteSelfChatChannel,
8721
8667
  useDeleteSelfChatChannelMessage,
8722
8668
  useDeleteSelfPushDevice,
8723
- useDemoteCommunityModerator,
8669
+ useDemoteGroupModerator,
8724
8670
  useFollowAccount,
8725
8671
  useGetAccount,
8726
8672
  useGetAccountActivities,
8727
8673
  useGetAccountByShareCode,
8728
- useGetAccountCommunities,
8729
8674
  useGetAccountFollowers,
8730
8675
  useGetAccountFollowings,
8676
+ useGetAccountGroups,
8731
8677
  useGetAccounts,
8732
8678
  useGetActivities,
8733
8679
  useGetActivity,
8734
8680
  useGetActivityComments,
8735
8681
  useGetAdvertisement,
8736
8682
  useGetBenefits,
8737
- useGetCommunities,
8738
- useGetCommunity,
8739
- useGetCommunityActivities,
8740
- useGetCommunityAnnouncements,
8741
- useGetCommunityEvents,
8742
- useGetCommunityInvitableAccounts,
8743
- useGetCommunityMedia,
8744
- useGetCommunityMembers,
8745
- useGetCommunityRequest,
8746
- useGetCommunityRequests,
8747
- useGetCommunitySponsors,
8748
8683
  useGetContent,
8749
8684
  useGetContentActivities,
8750
8685
  useGetContentType,
@@ -8769,6 +8704,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8769
8704
  useGetEventTickets,
8770
8705
  useGetEvents,
8771
8706
  useGetFeaturedEvents,
8707
+ useGetGroup,
8708
+ useGetGroupActivities,
8709
+ useGetGroupAnnouncements,
8710
+ useGetGroupEvents,
8711
+ useGetGroupInvitableAccounts,
8712
+ useGetGroupMedia,
8713
+ useGetGroupMembers,
8714
+ useGetGroupRequest,
8715
+ useGetGroupRequests,
8716
+ useGetGroupSponsors,
8717
+ useGetGroups,
8772
8718
  useGetInterests,
8773
8719
  useGetInvoice,
8774
8720
  useGetLevel,
@@ -8786,8 +8732,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8786
8732
  useGetSelfChatChannelMembers,
8787
8733
  useGetSelfChatChannelMessages,
8788
8734
  useGetSelfChatChannels,
8789
- useGetSelfCommunityMembership,
8790
- useGetSelfCommunityMemberships,
8791
8735
  useGetSelfDelegateOf,
8792
8736
  useGetSelfDelegates,
8793
8737
  useGetSelfEventListing,
@@ -8808,6 +8752,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8808
8752
  useGetSelfEventSessions,
8809
8753
  useGetSelfEvents,
8810
8754
  useGetSelfFeed,
8755
+ useGetSelfGroupMembership,
8756
+ useGetSelfGroupMemberships,
8811
8757
  useGetSelfInterests,
8812
8758
  useGetSelfNewNotificationsCount,
8813
8759
  useGetSelfNotificationPreferences,
@@ -8824,22 +8770,20 @@ var useUpdateListingSpeaker = (options = {}) => {
8824
8770
  useGetSeries,
8825
8771
  useGetSeriesEvents,
8826
8772
  useGetSeriesList,
8827
- useGetSponsor,
8828
- useGetSponsors,
8829
8773
  useIsAccountFollowing,
8830
8774
  useIsChannelSubscribed,
8831
- useIsCommunityMember,
8832
8775
  useIsEventRegistered,
8833
- useJoinCommunity,
8834
- useLeaveCommunity,
8776
+ useIsGroupMember,
8777
+ useJoinGroup,
8778
+ useLeaveGroup,
8835
8779
  useLeaveSelfChatChannel,
8836
8780
  useLikeActivity,
8837
- usePromoteCommunityMember,
8781
+ usePromoteGroupMember,
8838
8782
  useRegisterCancelledEventRegistration,
8839
- useRejectCommunityInvitation,
8840
- useRejectCommunityRequest,
8783
+ useRejectGroupInvitation,
8784
+ useRejectGroupRequest,
8841
8785
  useRejectTransfer,
8842
- useRemoveCommunityMember,
8786
+ useRemoveGroupMember,
8843
8787
  useRemoveListingSponsor,
8844
8788
  useRemoveSelfDelegate,
8845
8789
  useRemoveSelfEventRegistrationCoupon,
@@ -8850,12 +8794,12 @@ var useUpdateListingSpeaker = (options = {}) => {
8850
8794
  useSelectSelfEventRegistrationCoupon,
8851
8795
  useSelectSelfEventRegistrationPurchaseReservation,
8852
8796
  useSelfCreateActivity,
8853
- useSelfUpdateCommunityMembership,
8797
+ useSelfUpdateGroupMembership,
8854
8798
  useSubmitSelfEventRegistration,
8855
8799
  useTransferPurchase,
8856
8800
  useUnfollowAccount,
8857
8801
  useUnlikeActivity,
8858
- useUpdateCommunity,
8802
+ useUpdateGroup,
8859
8803
  useUpdateListing,
8860
8804
  useUpdateListingEmail,
8861
8805
  useUpdateListingQuestion,