@connectedxm/client 0.4.10 → 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,
@@ -133,15 +120,27 @@ __export(src_exports, {
133
120
  EVENT_SPEAKER_QUERY_KEY: () => EVENT_SPEAKER_QUERY_KEY,
134
121
  EVENT_SPONSORS_QUERY_KEY: () => EVENT_SPONSORS_QUERY_KEY,
135
122
  EVENT_TICKETS_QUERY_KEY: () => EVENT_TICKETS_QUERY_KEY,
123
+ EventEmailType: () => EventEmailType,
136
124
  EventSource: () => EventSource,
137
125
  EventType: () => EventType,
138
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,
139
138
  GetAccount: () => GetAccount,
140
139
  GetAccountActivities: () => GetAccountActivities,
141
140
  GetAccountByShareCode: () => GetAccountByShareCode,
142
- GetAccountCommunities: () => GetAccountCommunities,
143
141
  GetAccountFollowers: () => GetAccountFollowers,
144
142
  GetAccountFollowings: () => GetAccountFollowings,
143
+ GetAccountGroups: () => GetAccountGroups,
145
144
  GetAccounts: () => GetAccounts,
146
145
  GetActivities: () => GetActivities,
147
146
  GetActivity: () => GetActivity,
@@ -151,17 +150,6 @@ __export(src_exports, {
151
150
  GetBaseSingleQueryKeys: () => GetBaseSingleQueryKeys,
152
151
  GetBenefits: () => GetBenefits,
153
152
  GetClientAPI: () => GetClientAPI,
154
- GetCommunities: () => GetCommunities,
155
- GetCommunity: () => GetCommunity,
156
- GetCommunityActivities: () => GetCommunityActivities,
157
- GetCommunityAnnouncements: () => GetCommunityAnnouncements,
158
- GetCommunityEvents: () => GetCommunityEvents,
159
- GetCommunityInvitableAccounts: () => GetCommunityInvitableAccounts,
160
- GetCommunityMedia: () => GetCommunityMedia,
161
- GetCommunityMembers: () => GetCommunityMembers,
162
- GetCommunityRequest: () => GetCommunityRequest,
163
- GetCommunityRequests: () => GetCommunityRequests,
164
- GetCommunitySponsors: () => GetCommunitySponsors,
165
153
  GetContent: () => GetContent,
166
154
  GetContentActivities: () => GetContentActivities,
167
155
  GetContentType: () => GetContentType,
@@ -187,6 +175,17 @@ __export(src_exports, {
187
175
  GetEventTickets: () => GetEventTickets,
188
176
  GetEvents: () => GetEvents,
189
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,
190
189
  GetInterests: () => GetInterests,
191
190
  GetInvoice: () => GetInvoice,
192
191
  GetLevel: () => GetLevel,
@@ -204,13 +203,12 @@ __export(src_exports, {
204
203
  GetSelfChatChannelMembers: () => GetSelfChatChannelMembers,
205
204
  GetSelfChatChannelMessages: () => GetSelfChatChannelMessages,
206
205
  GetSelfChatChannels: () => GetSelfChatChannels,
207
- GetSelfCommunityMembership: () => GetSelfCommunityMembership,
208
- GetSelfCommunityMemberships: () => GetSelfCommunityMemberships,
209
206
  GetSelfDelegateOf: () => GetSelfDelegateOf,
210
207
  GetSelfDelegates: () => GetSelfDelegates,
211
208
  GetSelfEventListing: () => GetSelfEventListing,
212
209
  GetSelfEventListingAnnouncement: () => GetSelfEventListingAnnouncement,
213
210
  GetSelfEventListingAnnouncements: () => GetSelfEventListingAnnouncements,
211
+ GetSelfEventListingEmail: () => GetSelfEventListingEmail,
214
212
  GetSelfEventListingQuestions: () => GetSelfEventListingQuestions,
215
213
  GetSelfEventListingRegistration: () => GetSelfEventListingRegistration,
216
214
  GetSelfEventListingRegistrations: () => GetSelfEventListingRegistrations,
@@ -225,6 +223,8 @@ __export(src_exports, {
225
223
  GetSelfEventSessions: () => GetSelfEventSessions,
226
224
  GetSelfEvents: () => GetSelfEvents,
227
225
  GetSelfFeed: () => GetSelfFeed,
226
+ GetSelfGroupMembership: () => GetSelfGroupMembership,
227
+ GetSelfGroupMemberships: () => GetSelfGroupMemberships,
228
228
  GetSelfInterests: () => GetSelfInterests,
229
229
  GetSelfNewNotificationsCount: () => GetSelfNewNotificationsCount,
230
230
  GetSelfNotificationPreferences: () => GetSelfNotificationPreferences,
@@ -241,24 +241,26 @@ __export(src_exports, {
241
241
  GetSeries: () => GetSeries,
242
242
  GetSeriesEvents: () => GetSeriesEvents,
243
243
  GetSeriesList: () => GetSeriesList,
244
- GetSponsor: () => GetSponsor,
245
- GetSponsors: () => GetSponsors,
244
+ GroupAccess: () => GroupAccess,
245
+ GroupMembershipRole: () => GroupMembershipRole,
246
+ GroupRequestStatus: () => GroupRequestStatus,
246
247
  INTERESTS_QUERY_KEY: () => INTERESTS_QUERY_KEY,
247
248
  INVOICE_QUERY_KEY: () => INVOICE_QUERY_KEY,
248
249
  ImageType: () => ImageType,
249
250
  InvoiceStatus: () => InvoiceStatus,
250
- JoinCommunity: () => JoinCommunity,
251
+ JoinGroup: () => JoinGroup,
251
252
  LEVELS_QUERY_KEY: () => LEVELS_QUERY_KEY,
252
253
  LEVEL_QUERY_KEY: () => LEVEL_QUERY_KEY,
253
254
  LEVEL_SPONSORS_QUERY_KEY: () => LEVEL_SPONSORS_QUERY_KEY,
254
255
  LISTINGS_QUERY_KEY: () => LISTINGS_QUERY_KEY,
255
256
  LISTING_ANNOUNCEMENTS_QUERY_KEY: () => LISTING_ANNOUNCEMENTS_QUERY_KEY,
256
257
  LISTING_ANNOUNCEMENT_QUERY_KEY: () => LISTING_ANNOUNCEMENT_QUERY_KEY,
258
+ LISTING_EMAIL_QUERY_KEY: () => LISTING_EMAIL_QUERY_KEY,
257
259
  LISTING_QUERY_KEY: () => LISTING_QUERY_KEY,
258
260
  LISTING_QUESTIONS_QUERY_KEY: () => LISTING_QUESTIONS_QUERY_KEY,
259
261
  LISTING_REGISTRATIONS_QUERY_KEY: () => LISTING_REGISTRATIONS_QUERY_KEY,
260
262
  LISTING_REGISTRATION_QUERY_KEY: () => LISTING_REGISTRATION_QUERY_KEY,
261
- LeaveCommunity: () => LeaveCommunity,
263
+ LeaveGroup: () => LeaveGroup,
262
264
  LeaveSelfChatChannel: () => LeaveSelfChatChannel,
263
265
  LikeActivity: () => LikeActivity,
264
266
  MergeInfinitePages: () => MergeInfinitePages,
@@ -268,17 +270,17 @@ __export(src_exports, {
268
270
  ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY: () => ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
269
271
  ORGANIZATION_QUERY_KEY: () => ORGANIZATION_QUERY_KEY,
270
272
  ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY: () => ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
271
- PromoteCommunityMember: () => PromoteCommunityMember,
273
+ PromoteGroupMember: () => PromoteGroupMember,
272
274
  PushDeviceAppType: () => PushDeviceAppType,
273
275
  PushService: () => PushService,
274
276
  REMOVE_SELF_RELATIONSHIP: () => REMOVE_SELF_RELATIONSHIP,
275
277
  RegisterCancelledEventRegistration: () => RegisterCancelledEventRegistration,
276
278
  RegistrationQuestionType: () => RegistrationQuestionType,
277
279
  RegistrationStatus: () => RegistrationStatus,
278
- RejectCommunityInvitation: () => RejectCommunityInvitation,
279
- RejectCommunityRequest: () => RejectCommunityRequest,
280
+ RejectGroupInvitation: () => RejectGroupInvitation,
281
+ RejectGroupRequest: () => RejectGroupRequest,
280
282
  RejectTransfer: () => RejectTransfer,
281
- RemoveCommunityMember: () => RemoveCommunityMember,
283
+ RemoveGroupMember: () => RemoveGroupMember,
282
284
  RemoveListingSponsor: () => RemoveListingSponsor,
283
285
  RemoveSelfDelegate: () => RemoveSelfDelegate,
284
286
  RemoveSelfEventRegistrationCoupon: () => RemoveSelfEventRegistrationCoupon,
@@ -292,8 +294,6 @@ __export(src_exports, {
292
294
  SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY: () => SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY,
293
295
  SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY: () => SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY,
294
296
  SELF_CHAT_CHANNEL_QUERY_KEY: () => SELF_CHAT_CHANNEL_QUERY_KEY,
295
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY: () => SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY,
296
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY: () => SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY,
297
297
  SELF_DELEGATES_QUERY_KEY: () => SELF_DELEGATES_QUERY_KEY,
298
298
  SELF_DELEGATE_OF_QUERY_KEY: () => SELF_DELEGATE_OF_QUERY_KEY,
299
299
  SELF_EVENTS_QUERY_KEY: () => SELF_EVENTS_QUERY_KEY,
@@ -306,6 +306,8 @@ __export(src_exports, {
306
306
  SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY: () => SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
307
307
  SELF_EVENT_SESSIONS_QUERY_KEY: () => SELF_EVENT_SESSIONS_QUERY_KEY,
308
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,
309
311
  SELF_INTERESTS_QUERY_KEY: () => SELF_INTERESTS_QUERY_KEY,
310
312
  SELF_NOTIFICATIONS_QUERY_KEY: () => SELF_NOTIFICATIONS_QUERY_KEY,
311
313
  SELF_NOTIFICATION_COUNT_QUERY_KEY: () => SELF_NOTIFICATION_COUNT_QUERY_KEY,
@@ -326,25 +328,15 @@ __export(src_exports, {
326
328
  SET_ACCOUNTS_QUERY_DATA: () => SET_ACCOUNTS_QUERY_DATA,
327
329
  SET_ACCOUNT_ACTIVITIES_QUERY_DATA: () => SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
328
330
  SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA: () => SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA,
329
- SET_ACCOUNT_COMMUNITIES_QUERY_DATA: () => SET_ACCOUNT_COMMUNITIES_QUERY_DATA,
330
331
  SET_ACCOUNT_FOLLOWERS_QUERY_DATA: () => SET_ACCOUNT_FOLLOWERS_QUERY_DATA,
331
332
  SET_ACCOUNT_FOLLOWINGS_QUERY_DATA: () => SET_ACCOUNT_FOLLOWINGS_QUERY_DATA,
333
+ SET_ACCOUNT_GROUPS_QUERY_DATA: () => SET_ACCOUNT_GROUPS_QUERY_DATA,
332
334
  SET_ACCOUNT_QUERY_DATA: () => SET_ACCOUNT_QUERY_DATA,
333
335
  SET_ACTIVITIES_QUERY_DATA: () => SET_ACTIVITIES_QUERY_DATA,
334
336
  SET_ACTIVITY_COMMENTS_QUERY_DATA: () => SET_ACTIVITY_COMMENTS_QUERY_DATA,
335
337
  SET_ACTIVITY_QUERY_DATA: () => SET_ACTIVITY_QUERY_DATA,
336
338
  SET_ADVERTISEMENT_QUERY_DATA: () => SET_ADVERTISEMENT_QUERY_DATA,
337
339
  SET_BENEFITS_QUERY_DATA: () => SET_BENEFITS_QUERY_DATA,
338
- SET_COMMUNITIES_QUERY_DATA: () => SET_COMMUNITIES_QUERY_DATA,
339
- SET_COMMUNITY_ACTIVITIES_QUERY_DATA: () => SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
340
- SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA: () => SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
341
- SET_COMMUNITY_EVENTS_QUERY_DATA: () => SET_COMMUNITY_EVENTS_QUERY_DATA,
342
- SET_COMMUNITY_MEDIA_QUERY_DATA: () => SET_COMMUNITY_MEDIA_QUERY_DATA,
343
- SET_COMMUNITY_MEMBERS_QUERY_DATA: () => SET_COMMUNITY_MEMBERS_QUERY_DATA,
344
- SET_COMMUNITY_QUERY_DATA: () => SET_COMMUNITY_QUERY_DATA,
345
- SET_COMMUNITY_REQUESTS_QUERY_DATA: () => SET_COMMUNITY_REQUESTS_QUERY_DATA,
346
- SET_COMMUNITY_REQUEST_QUERY_DATA: () => SET_COMMUNITY_REQUEST_QUERY_DATA,
347
- SET_COMMUNITY_SPONSORS_QUERY_DATA: () => SET_COMMUNITY_SPONSORS_QUERY_DATA,
348
340
  SET_CONTENTS_QUERY_DATA: () => SET_CONTENTS_QUERY_DATA,
349
341
  SET_CONTENT_ACTIVITIES_QUERY_DATA: () => SET_CONTENT_ACTIVITIES_QUERY_DATA,
350
342
  SET_CONTENT_QUERY_DATA: () => SET_CONTENT_QUERY_DATA,
@@ -368,12 +360,23 @@ __export(src_exports, {
368
360
  SET_EVENT_SPEAKER_QUERY_DATA: () => SET_EVENT_SPEAKER_QUERY_DATA,
369
361
  SET_EVENT_SPONSORS_QUERY_DATA: () => SET_EVENT_SPONSORS_QUERY_DATA,
370
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,
371
373
  SET_INTERESTS_QUERY_DATA: () => SET_INTERESTS_QUERY_DATA,
372
374
  SET_INVOICE_QUERY_DATA: () => SET_INVOICE_QUERY_DATA,
373
375
  SET_LEVELS_QUERY_DATA: () => SET_LEVELS_QUERY_DATA,
374
376
  SET_LEVEL_QUERY_DATA: () => SET_LEVEL_QUERY_DATA,
375
377
  SET_LEVEL_SPONSORS_QUERY_DATA: () => SET_LEVEL_SPONSORS_QUERY_DATA,
376
378
  SET_LISTING_ANNOUNCEMENT_QUERY_KEY: () => SET_LISTING_ANNOUNCEMENT_QUERY_KEY,
379
+ SET_LISTING_EMAIL_QUERY_DATA: () => SET_LISTING_EMAIL_QUERY_DATA,
377
380
  SET_LISTING_QUERY_DATA: () => SET_LISTING_QUERY_DATA,
378
381
  SET_LISTING_REGISTRATION_QUERY_KEY: () => SET_LISTING_REGISTRATION_QUERY_KEY,
379
382
  SET_ORGANIZATION_PAGE_QUERY_DATA: () => SET_ORGANIZATION_PAGE_QUERY_DATA,
@@ -382,25 +385,21 @@ __export(src_exports, {
382
385
  SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA,
383
386
  SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
384
387
  SET_SELF_CHAT_CHANNEL_QUERY_DATA: () => SET_SELF_CHAT_CHANNEL_QUERY_DATA,
385
- SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA: () => SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
386
388
  SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
387
389
  SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
388
390
  SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
389
391
  SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
390
392
  SET_SELF_EVENT_REGISTRATION_QUERY_DATA: () => SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
391
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,
392
395
  SET_SELF_QUERY_DATA: () => SET_SELF_QUERY_DATA,
393
396
  SET_SERIES_EVENTS_QUERY_DATA: () => SET_SERIES_EVENTS_QUERY_DATA,
394
397
  SET_SERIES_LIST_QUERY_DATA: () => SET_SERIES_LIST_QUERY_DATA,
395
398
  SET_SERIES_QUERY_DATA: () => SET_SERIES_QUERY_DATA,
396
- SET_SPONSORS_QUERY_DATA: () => SET_SPONSORS_QUERY_DATA,
397
- SET_SPONSOR_QUERY_DATA: () => SET_SPONSOR_QUERY_DATA,
398
- SPONSORS_QUERY_KEY: () => SPONSORS_QUERY_KEY,
399
- SPONSOR_QUERY_KEY: () => SPONSOR_QUERY_KEY,
400
399
  SelectSelfEventRegistrationCoupon: () => SelectSelfEventRegistrationCoupon,
401
400
  SelectSelfEventRegistrationPurchaseReservation: () => SelectSelfEventRegistrationPurchaseReservation,
402
401
  SelfCreateActivity: () => SelfCreateActivity,
403
- SelfUpdateCommunityMembership: () => SelfUpdateCommunityMembership,
402
+ SelfUpdateGroupMembership: () => SelfUpdateGroupMembership,
404
403
  SubmitSelfEventRegistration: () => SubmitSelfEventRegistration,
405
404
  SubscriptionStatus: () => SubscriptionStatus,
406
405
  SupportTicketType: () => SupportTicketType,
@@ -409,8 +408,9 @@ __export(src_exports, {
409
408
  TransferPurchase: () => TransferPurchase,
410
409
  UnfollowAccount: () => UnfollowAccount,
411
410
  UnlikeActivity: () => UnlikeActivity,
412
- UpdateCommunity: () => UpdateCommunity,
411
+ UpdateGroup: () => UpdateGroup,
413
412
  UpdateListing: () => UpdateListing,
413
+ UpdateListingEmail: () => UpdateListingEmail,
414
414
  UpdateListingQuestion: () => UpdateListingQuestion,
415
415
  UpdateListingSession: () => UpdateListingSession,
416
416
  UpdateListingSpeaker: () => UpdateListingSpeaker,
@@ -432,8 +432,6 @@ __export(src_exports, {
432
432
  isTypeAdvertisement: () => isTypeAdvertisement,
433
433
  isTypeAnnouncement: () => isTypeAnnouncement,
434
434
  isTypeBenefit: () => isTypeBenefit,
435
- isTypeCommunity: () => isTypeCommunity,
436
- isTypeCommunityMembership: () => isTypeCommunityMembership,
437
435
  isTypeContent: () => isTypeContent,
438
436
  isTypeContentType: () => isTypeContentType,
439
437
  isTypeCoupon: () => isTypeCoupon,
@@ -443,6 +441,8 @@ __export(src_exports, {
443
441
  isTypeEventPage: () => isTypeEventPage,
444
442
  isTypeFaq: () => isTypeFaq,
445
443
  isTypeFaqSection: () => isTypeFaqSection,
444
+ isTypeGroup: () => isTypeGroup,
445
+ isTypeGroupMembership: () => isTypeGroupMembership,
446
446
  isTypeImage: () => isTypeImage,
447
447
  isTypeInstance: () => isTypeInstance,
448
448
  isTypeIntegrations: () => isTypeIntegrations,
@@ -462,8 +462,8 @@ __export(src_exports, {
462
462
  isTypeTransfer: () => isTypeTransfer,
463
463
  isUUID: () => isUUID,
464
464
  setFirstPageData: () => setFirstPageData,
465
- useAcceptCommunityInvitation: () => useAcceptCommunityInvitation,
466
- useAcceptCommunityRequest: () => useAcceptCommunityRequest,
465
+ useAcceptGroupInvitation: () => useAcceptGroupInvitation,
466
+ useAcceptGroupRequest: () => useAcceptGroupRequest,
467
467
  useAcceptTransfer: () => useAcceptTransfer,
468
468
  useAddListingSponsor: () => useAddListingSponsor,
469
469
  useAddSelfChatChannelMember: () => useAddSelfChatChannelMember,
@@ -471,6 +471,7 @@ __export(src_exports, {
471
471
  useAddSelfEventRegistrationPurchase: () => useAddSelfEventRegistrationPurchase,
472
472
  useAddSelfEventRegistrationPurchaseAddOn: () => useAddSelfEventRegistrationPurchaseAddOn,
473
473
  useAddSelfEventSession: () => useAddSelfEventSession,
474
+ useAddSelfInterests: () => useAddSelfInterests,
474
475
  useCancelEventRegistration: () => useCancelEventRegistration,
475
476
  useCancelSubscription: () => useCancelSubscription,
476
477
  useCancelTransfer: () => useCancelTransfer,
@@ -482,11 +483,11 @@ __export(src_exports, {
482
483
  useConnectedMutation: () => useConnectedMutation,
483
484
  useConnectedSingleQuery: () => useConnectedSingleQuery,
484
485
  useConnectedXM: () => useConnectedXM,
485
- useCreateCommunity: () => useCreateCommunity,
486
- useCreateCommunityAnnouncement: () => useCreateCommunityAnnouncement,
487
- useCreateCommunityInvitations: () => useCreateCommunityInvitations,
488
- useCreateCommunityRequest: () => useCreateCommunityRequest,
489
486
  useCreateEventLead: () => useCreateEventLead,
487
+ useCreateGroup: () => useCreateGroup,
488
+ useCreateGroupAnnouncement: () => useCreateGroupAnnouncement,
489
+ useCreateGroupInvitations: () => useCreateGroupInvitations,
490
+ useCreateGroupRequest: () => useCreateGroupRequest,
490
491
  useCreateListing: () => useCreateListing,
491
492
  useCreateListingAnnouncement: () => useCreateListingAnnouncement,
492
493
  useCreateListingQuestion: () => useCreateListingQuestion,
@@ -497,9 +498,9 @@ __export(src_exports, {
497
498
  useCreateSubscription: () => useCreateSubscription,
498
499
  useCreateSupportTicket: () => useCreateSupportTicket,
499
500
  useCreateTeamAccount: () => useCreateTeamAccount,
500
- useDeactivateCommunity: () => useDeactivateCommunity,
501
+ useDeactivateGroup: () => useDeactivateGroup,
501
502
  useDeleteActivity: () => useDeleteActivity,
502
- useDeleteCommunityInvitation: () => useDeleteCommunityInvitation,
503
+ useDeleteGroupInvitation: () => useDeleteGroupInvitation,
503
504
  useDeleteListing: () => useDeleteListing,
504
505
  useDeleteListingQuestion: () => useDeleteListingQuestion,
505
506
  useDeleteListingSession: () => useDeleteListingSession,
@@ -509,31 +510,20 @@ __export(src_exports, {
509
510
  useDeleteSelfChatChannel: () => useDeleteSelfChatChannel,
510
511
  useDeleteSelfChatChannelMessage: () => useDeleteSelfChatChannelMessage,
511
512
  useDeleteSelfPushDevice: () => useDeleteSelfPushDevice,
512
- useDemoteCommunityModerator: () => useDemoteCommunityModerator,
513
+ useDemoteGroupModerator: () => useDemoteGroupModerator,
513
514
  useFollowAccount: () => useFollowAccount,
514
515
  useGetAccount: () => useGetAccount,
515
516
  useGetAccountActivities: () => useGetAccountActivities,
516
517
  useGetAccountByShareCode: () => useGetAccountByShareCode,
517
- useGetAccountCommunities: () => useGetAccountCommunities,
518
518
  useGetAccountFollowers: () => useGetAccountFollowers,
519
519
  useGetAccountFollowings: () => useGetAccountFollowings,
520
+ useGetAccountGroups: () => useGetAccountGroups,
520
521
  useGetAccounts: () => useGetAccounts,
521
522
  useGetActivities: () => useGetActivities,
522
523
  useGetActivity: () => useGetActivity,
523
524
  useGetActivityComments: () => useGetActivityComments,
524
525
  useGetAdvertisement: () => useGetAdvertisement,
525
526
  useGetBenefits: () => useGetBenefits,
526
- useGetCommunities: () => useGetCommunities,
527
- useGetCommunity: () => useGetCommunity,
528
- useGetCommunityActivities: () => useGetCommunityActivities,
529
- useGetCommunityAnnouncements: () => useGetCommunityAnnouncements,
530
- useGetCommunityEvents: () => useGetCommunityEvents,
531
- useGetCommunityInvitableAccounts: () => useGetCommunityInvitableAccounts,
532
- useGetCommunityMedia: () => useGetCommunityMedia,
533
- useGetCommunityMembers: () => useGetCommunityMembers,
534
- useGetCommunityRequest: () => useGetCommunityRequest,
535
- useGetCommunityRequests: () => useGetCommunityRequests,
536
- useGetCommunitySponsors: () => useGetCommunitySponsors,
537
527
  useGetContent: () => useGetContent,
538
528
  useGetContentActivities: () => useGetContentActivities,
539
529
  useGetContentType: () => useGetContentType,
@@ -558,6 +548,17 @@ __export(src_exports, {
558
548
  useGetEventTickets: () => useGetEventTickets,
559
549
  useGetEvents: () => useGetEvents,
560
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,
561
562
  useGetInterests: () => useGetInterests,
562
563
  useGetInvoice: () => useGetInvoice,
563
564
  useGetLevel: () => useGetLevel,
@@ -575,13 +576,12 @@ __export(src_exports, {
575
576
  useGetSelfChatChannelMembers: () => useGetSelfChatChannelMembers,
576
577
  useGetSelfChatChannelMessages: () => useGetSelfChatChannelMessages,
577
578
  useGetSelfChatChannels: () => useGetSelfChatChannels,
578
- useGetSelfCommunityMembership: () => useGetSelfCommunityMembership,
579
- useGetSelfCommunityMemberships: () => useGetSelfCommunityMemberships,
580
579
  useGetSelfDelegateOf: () => useGetSelfDelegateOf,
581
580
  useGetSelfDelegates: () => useGetSelfDelegates,
582
581
  useGetSelfEventListing: () => useGetSelfEventListing,
583
582
  useGetSelfEventListingAnnouncement: () => useGetSelfEventListingAnnouncement,
584
583
  useGetSelfEventListingAnnouncements: () => useGetSelfEventListingAnnouncements,
584
+ useGetSelfEventListingEmail: () => useGetSelfEventListingEmail,
585
585
  useGetSelfEventListingQuestions: () => useGetSelfEventListingQuestions,
586
586
  useGetSelfEventListingRegistration: () => useGetSelfEventListingRegistration,
587
587
  useGetSelfEventListings: () => useGetSelfEventListings,
@@ -596,6 +596,8 @@ __export(src_exports, {
596
596
  useGetSelfEventSessions: () => useGetSelfEventSessions,
597
597
  useGetSelfEvents: () => useGetSelfEvents,
598
598
  useGetSelfFeed: () => useGetSelfFeed,
599
+ useGetSelfGroupMembership: () => useGetSelfGroupMembership,
600
+ useGetSelfGroupMemberships: () => useGetSelfGroupMemberships,
599
601
  useGetSelfInterests: () => useGetSelfInterests,
600
602
  useGetSelfNewNotificationsCount: () => useGetSelfNewNotificationsCount,
601
603
  useGetSelfNotificationPreferences: () => useGetSelfNotificationPreferences,
@@ -612,22 +614,20 @@ __export(src_exports, {
612
614
  useGetSeries: () => useGetSeries,
613
615
  useGetSeriesEvents: () => useGetSeriesEvents,
614
616
  useGetSeriesList: () => useGetSeriesList,
615
- useGetSponsor: () => useGetSponsor,
616
- useGetSponsors: () => useGetSponsors,
617
617
  useIsAccountFollowing: () => useIsAccountFollowing,
618
618
  useIsChannelSubscribed: () => useIsChannelSubscribed,
619
- useIsCommunityMember: () => useIsCommunityMember,
620
619
  useIsEventRegistered: () => useIsEventRegistered,
621
- useJoinCommunity: () => useJoinCommunity,
622
- useLeaveCommunity: () => useLeaveCommunity,
620
+ useIsGroupMember: () => useIsGroupMember,
621
+ useJoinGroup: () => useJoinGroup,
622
+ useLeaveGroup: () => useLeaveGroup,
623
623
  useLeaveSelfChatChannel: () => useLeaveSelfChatChannel,
624
624
  useLikeActivity: () => useLikeActivity,
625
- usePromoteCommunityMember: () => usePromoteCommunityMember,
625
+ usePromoteGroupMember: () => usePromoteGroupMember,
626
626
  useRegisterCancelledEventRegistration: () => useRegisterCancelledEventRegistration,
627
- useRejectCommunityInvitation: () => useRejectCommunityInvitation,
628
- useRejectCommunityRequest: () => useRejectCommunityRequest,
627
+ useRejectGroupInvitation: () => useRejectGroupInvitation,
628
+ useRejectGroupRequest: () => useRejectGroupRequest,
629
629
  useRejectTransfer: () => useRejectTransfer,
630
- useRemoveCommunityMember: () => useRemoveCommunityMember,
630
+ useRemoveGroupMember: () => useRemoveGroupMember,
631
631
  useRemoveListingSponsor: () => useRemoveListingSponsor,
632
632
  useRemoveSelfDelegate: () => useRemoveSelfDelegate,
633
633
  useRemoveSelfEventRegistrationCoupon: () => useRemoveSelfEventRegistrationCoupon,
@@ -638,13 +638,14 @@ __export(src_exports, {
638
638
  useSelectSelfEventRegistrationCoupon: () => useSelectSelfEventRegistrationCoupon,
639
639
  useSelectSelfEventRegistrationPurchaseReservation: () => useSelectSelfEventRegistrationPurchaseReservation,
640
640
  useSelfCreateActivity: () => useSelfCreateActivity,
641
- useSelfUpdateCommunityMembership: () => useSelfUpdateCommunityMembership,
641
+ useSelfUpdateGroupMembership: () => useSelfUpdateGroupMembership,
642
642
  useSubmitSelfEventRegistration: () => useSubmitSelfEventRegistration,
643
643
  useTransferPurchase: () => useTransferPurchase,
644
644
  useUnfollowAccount: () => useUnfollowAccount,
645
645
  useUnlikeActivity: () => useUnlikeActivity,
646
- useUpdateCommunity: () => useUpdateCommunity,
646
+ useUpdateGroup: () => useUpdateGroup,
647
647
  useUpdateListing: () => useUpdateListing,
648
+ useUpdateListingEmail: () => useUpdateListingEmail,
648
649
  useUpdateListingQuestion: () => useUpdateListingQuestion,
649
650
  useUpdateListingSession: () => useUpdateListingSession,
650
651
  useUpdateListingSpeaker: () => useUpdateListingSpeaker,
@@ -738,15 +739,15 @@ var useIsAccountFollowing = (accountId) => {
738
739
  return relationships?.data.accounts[accountId] || false;
739
740
  };
740
741
 
741
- // src/hooks/useIsCommunityMember.ts
742
- var useIsCommunityMember = (communityId, role) => {
742
+ // src/hooks/useIsGroupMember.ts
743
+ var useIsGroupMember = (groupId, role) => {
743
744
  const { data: relationships } = useGetSelfRelationships();
744
- if (!communityId)
745
+ if (!groupId)
745
746
  return false;
746
- if (!isUUID(communityId)) {
747
- 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?");
748
749
  }
749
- const _role = relationships?.data.communities[communityId];
750
+ const _role = relationships?.data.groups[groupId];
750
751
  if (role) {
751
752
  return _role === role;
752
753
  } else {
@@ -826,13 +827,13 @@ var isSelf = (account) => {
826
827
  var isTypeActivity = (activity) => {
827
828
  return activity._count !== void 0;
828
829
  };
829
- var CommunityAccess = /* @__PURE__ */ ((CommunityAccess2) => {
830
- CommunityAccess2["public"] = "public";
831
- CommunityAccess2["private"] = "private";
832
- return CommunityAccess2;
833
- })(CommunityAccess || {});
834
- var isTypeCommunity = (community) => {
835
- 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;
836
837
  };
837
838
  var EventSource = /* @__PURE__ */ ((EventSource2) => {
838
839
  EventSource2["admin"] = "admin";
@@ -966,13 +967,13 @@ var isTypeAdvertisement = (advertisement) => {
966
967
  var isTypeTeamMember = (teamMember) => {
967
968
  return teamMember.email !== void 0;
968
969
  };
969
- var CommunityMembershipRole = /* @__PURE__ */ ((CommunityMembershipRole2) => {
970
- CommunityMembershipRole2["member"] = "member";
971
- CommunityMembershipRole2["moderator"] = "moderator";
972
- return CommunityMembershipRole2;
973
- })(CommunityMembershipRole || {});
974
- var isTypeCommunityMembership = (communityMembership) => {
975
- 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;
976
977
  };
977
978
  var ContentTypeFormat = /* @__PURE__ */ ((ContentTypeFormat2) => {
978
979
  ContentTypeFormat2["article"] = "article";
@@ -1029,12 +1030,18 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
1029
1030
  InvoiceStatus2["void"] = "void";
1030
1031
  return InvoiceStatus2;
1031
1032
  })(InvoiceStatus || {});
1032
- var CommunityRequestStatus = /* @__PURE__ */ ((CommunityRequestStatus2) => {
1033
- CommunityRequestStatus2["requested"] = "requested";
1034
- CommunityRequestStatus2["invited"] = "invited";
1035
- CommunityRequestStatus2["rejected"] = "rejected";
1036
- return CommunityRequestStatus2;
1037
- })(CommunityRequestStatus || {});
1033
+ var GroupRequestStatus = /* @__PURE__ */ ((GroupRequestStatus2) => {
1034
+ GroupRequestStatus2["requested"] = "requested";
1035
+ GroupRequestStatus2["invited"] = "invited";
1036
+ GroupRequestStatus2["rejected"] = "rejected";
1037
+ return GroupRequestStatus2;
1038
+ })(GroupRequestStatus || {});
1039
+ var EventEmailType = /* @__PURE__ */ ((EventEmailType2) => {
1040
+ EventEmailType2["confirmation"] = "confirmation";
1041
+ EventEmailType2["cancellation"] = "cancellation";
1042
+ EventEmailType2["reminder"] = "reminder";
1043
+ return EventEmailType2;
1044
+ })(EventEmailType || {});
1038
1045
 
1039
1046
  // src/utilities/AppendInfiniteQuery.ts
1040
1047
  var import_immer = require("immer");
@@ -1296,7 +1303,13 @@ var GetClientAPI = async (params) => {
1296
1303
  };
1297
1304
 
1298
1305
  // src/queries/accounts/useGetAccounts.ts
1299
- 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
+ };
1300
1313
  var SET_ACCOUNTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1301
1314
  client.setQueryData(
1302
1315
  [
@@ -1310,6 +1323,7 @@ var GetAccounts = async ({
1310
1323
  pageSize,
1311
1324
  orderBy,
1312
1325
  search,
1326
+ accountType,
1313
1327
  queryClient,
1314
1328
  clientApiParams,
1315
1329
  locale
@@ -1317,6 +1331,7 @@ var GetAccounts = async ({
1317
1331
  const clientApi = await GetClientAPI(clientApiParams);
1318
1332
  const { data } = await clientApi.get(`/accounts`, {
1319
1333
  params: {
1334
+ accountType: accountType || void 0,
1320
1335
  pageSize: pageSize || void 0,
1321
1336
  orderBy: orderBy || void 0,
1322
1337
  search: search || void 0
@@ -1332,10 +1347,10 @@ var GetAccounts = async ({
1332
1347
  }
1333
1348
  return data;
1334
1349
  };
1335
- var useGetAccounts = (params = {}, options = {}) => {
1350
+ var useGetAccounts = (accountType, params = {}, options = {}) => {
1336
1351
  return useConnectedInfiniteQuery(
1337
- ACCOUNTS_QUERY_KEY(),
1338
- (params2) => GetAccounts({ ...params2 }),
1352
+ ACCOUNTS_QUERY_KEY(accountType),
1353
+ (params2) => GetAccounts({ ...params2, accountType }),
1339
1354
  params,
1340
1355
  {
1341
1356
  ...options
@@ -1545,112 +1560,109 @@ var useGetAccountByShareCode = (shareCode = "", options = {}) => {
1545
1560
  );
1546
1561
  };
1547
1562
 
1548
- // src/queries/communities/useGetCommunities.ts
1549
- var COMMUNITIES_QUERY_KEY = () => ["COMMUNITIES"];
1550
- 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"]) => {
1551
1566
  client.setQueryData(
1552
1567
  [
1553
- ...COMMUNITIES_QUERY_KEY(...keyParams),
1568
+ ...GROUPS_QUERY_KEY(...keyParams),
1554
1569
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1555
1570
  ],
1556
1571
  setFirstPageData(response)
1557
1572
  );
1558
1573
  };
1559
- var GetCommunities = async ({
1574
+ var GetGroups = async ({
1560
1575
  pageParam,
1561
1576
  pageSize,
1562
1577
  orderBy,
1563
1578
  search,
1564
- privateCommunities,
1579
+ privateGroups,
1565
1580
  queryClient,
1566
1581
  clientApiParams,
1567
1582
  locale
1568
1583
  }) => {
1569
- if (privateCommunities) {
1584
+ if (privateGroups) {
1570
1585
  return {
1571
1586
  status: "ok",
1572
- message: "Communities retreived",
1587
+ message: "Groups retreived",
1573
1588
  data: []
1574
1589
  };
1575
1590
  }
1576
1591
  const clientApi = await GetClientAPI(clientApiParams);
1577
- const { data } = await clientApi.get(`/communities`, {
1592
+ const { data } = await clientApi.get(`/groups`, {
1578
1593
  params: {
1579
1594
  page: pageParam || void 0,
1580
1595
  pageSize: pageSize || void 0,
1581
1596
  orderBy: orderBy || void 0,
1582
1597
  search: search || void 0,
1583
- privateCommunities: privateCommunities || void 0
1598
+ privateGroups: privateGroups || void 0
1584
1599
  }
1585
1600
  });
1586
1601
  if (queryClient && data.status === "ok") {
1587
1602
  CacheIndividualQueries(
1588
1603
  data,
1589
1604
  queryClient,
1590
- (communityId) => COMMUNITY_QUERY_KEY(communityId),
1605
+ (groupId) => GROUP_QUERY_KEY(groupId),
1591
1606
  locale
1592
1607
  );
1593
1608
  }
1594
1609
  return data;
1595
1610
  };
1596
- var useGetCommunities = (params = {}, options = {}) => {
1611
+ var useGetGroups = (params = {}, options = {}) => {
1597
1612
  return useConnectedInfiniteQuery(
1598
- COMMUNITIES_QUERY_KEY(),
1599
- (params2) => GetCommunities({ ...params2 }),
1613
+ GROUPS_QUERY_KEY(),
1614
+ (params2) => GetGroups({ ...params2 }),
1600
1615
  params,
1601
1616
  options
1602
1617
  );
1603
1618
  };
1604
1619
 
1605
- // src/queries/communities/useGetCommunity.ts
1606
- var COMMUNITY_QUERY_KEY = (communityId) => [
1607
- ...COMMUNITIES_QUERY_KEY(),
1608
- communityId
1620
+ // src/queries/groups/useGetGroup.ts
1621
+ var GROUP_QUERY_KEY = (groupId) => [
1622
+ ...GROUPS_QUERY_KEY(),
1623
+ groupId
1609
1624
  ];
1610
- var SET_COMMUNITY_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
1625
+ var SET_GROUP_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"], options) => {
1611
1626
  client.setQueryData(
1612
- [
1613
- ...COMMUNITY_QUERY_KEY(...keyParams),
1614
- ...GetBaseSingleQueryKeys(...baseKeys)
1615
- ],
1627
+ [...GROUP_QUERY_KEY(...keyParams), ...GetBaseSingleQueryKeys(...baseKeys)],
1616
1628
  response,
1617
1629
  options
1618
1630
  );
1619
1631
  };
1620
- var GetCommunity = async ({
1621
- communityId,
1632
+ var GetGroup = async ({
1633
+ groupId,
1622
1634
  clientApiParams
1623
1635
  }) => {
1624
1636
  const clientApi = await GetClientAPI(clientApiParams);
1625
- const { data } = await clientApi.get(`/communities/${communityId}`);
1637
+ const { data } = await clientApi.get(`/groups/${groupId}`);
1626
1638
  return data;
1627
1639
  };
1628
- var useGetCommunity = (communityId = "", options = {}) => {
1640
+ var useGetGroup = (groupId = "", options = {}) => {
1629
1641
  return useConnectedSingleQuery(
1630
- COMMUNITY_QUERY_KEY(communityId),
1631
- (params) => GetCommunity({ communityId, ...params }),
1642
+ GROUP_QUERY_KEY(groupId),
1643
+ (params) => GetGroup({ groupId, ...params }),
1632
1644
  {
1633
1645
  ...options,
1634
- enabled: !!communityId && (options?.enabled ?? true)
1646
+ enabled: !!groupId && (options?.enabled ?? true)
1635
1647
  }
1636
1648
  );
1637
1649
  };
1638
1650
 
1639
- // src/queries/accounts/useGetAccountCommunities.ts
1640
- var ACCOUNT_COMMUNITIES_QUERY_KEY = (accountId) => [
1651
+ // src/queries/accounts/useGetAccountGroups.ts
1652
+ var ACCOUNT_GROUPS_QUERY_KEY = (accountId) => [
1641
1653
  ...ACCOUNT_QUERY_KEY(accountId),
1642
- "COMMUNITIES"
1654
+ "GROUPS"
1643
1655
  ];
1644
- var SET_ACCOUNT_COMMUNITIES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1656
+ var SET_ACCOUNT_GROUPS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
1645
1657
  client.setQueryData(
1646
1658
  [
1647
- ...ACCOUNT_COMMUNITIES_QUERY_KEY(...keyParams),
1659
+ ...ACCOUNT_GROUPS_QUERY_KEY(...keyParams),
1648
1660
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1649
1661
  ],
1650
1662
  setFirstPageData(response)
1651
1663
  );
1652
1664
  };
1653
- var GetAccountCommunities = async ({
1665
+ var GetAccountGroups = async ({
1654
1666
  pageParam,
1655
1667
  pageSize,
1656
1668
  orderBy,
@@ -1661,7 +1673,7 @@ var GetAccountCommunities = async ({
1661
1673
  locale
1662
1674
  }) => {
1663
1675
  const clientApi = await GetClientAPI(clientApiParams);
1664
- const { data } = await clientApi.get(`/accounts/${accountId}/communities`, {
1676
+ const { data } = await clientApi.get(`/accounts/${accountId}/groups`, {
1665
1677
  params: {
1666
1678
  page: pageParam || void 0,
1667
1679
  pageSize: pageSize || void 0,
@@ -1673,16 +1685,16 @@ var GetAccountCommunities = async ({
1673
1685
  CacheIndividualQueries(
1674
1686
  data,
1675
1687
  queryClient,
1676
- (communityId) => COMMUNITY_QUERY_KEY(communityId),
1688
+ (groupId) => GROUP_QUERY_KEY(groupId),
1677
1689
  locale
1678
1690
  );
1679
1691
  }
1680
1692
  return data;
1681
1693
  };
1682
- var useGetAccountCommunities = (accountId = "", params = {}, options = {}) => {
1694
+ var useGetAccountGroups = (accountId = "", params = {}, options = {}) => {
1683
1695
  return useConnectedInfiniteQuery(
1684
- ACCOUNT_COMMUNITIES_QUERY_KEY(accountId),
1685
- (params2) => GetAccountCommunities({ accountId, ...params2 }),
1696
+ ACCOUNT_GROUPS_QUERY_KEY(accountId),
1697
+ (params2) => GetAccountGroups({ accountId, ...params2 }),
1686
1698
  params,
1687
1699
  {
1688
1700
  ...options,
@@ -1927,39 +1939,39 @@ var useGetBenefits = (params = {}, options = {}) => {
1927
1939
  );
1928
1940
  };
1929
1941
 
1930
- // src/queries/communities/useGetCommunityActivities.ts
1931
- var COMMUNITY_ACTIVITIES_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "ACTIVITIES"];
1932
- 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"]) => {
1933
1948
  client.setQueryData(
1934
1949
  [
1935
- ...COMMUNITY_ACTIVITIES_QUERY_KEY(...keyParams),
1950
+ ...GROUP_ACTIVITIES_QUERY_KEY(...keyParams),
1936
1951
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1937
1952
  ],
1938
1953
  setFirstPageData(response)
1939
1954
  );
1940
1955
  };
1941
- var GetCommunityActivities = async ({
1956
+ var GetGroupActivities = async ({
1942
1957
  pageParam,
1943
1958
  pageSize,
1944
1959
  orderBy,
1945
1960
  search,
1946
- communityId,
1961
+ groupId,
1947
1962
  queryClient,
1948
1963
  clientApiParams,
1949
1964
  locale
1950
1965
  }) => {
1951
1966
  const clientApi = await GetClientAPI(clientApiParams);
1952
- const { data } = await clientApi.get(
1953
- `/communities/${communityId}/activities`,
1954
- {
1955
- params: {
1956
- page: pageParam || void 0,
1957
- pageSize: pageSize || void 0,
1958
- orderBy: orderBy || void 0,
1959
- search: search || void 0
1960
- }
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
1961
1973
  }
1962
- );
1974
+ });
1963
1975
  if (queryClient && data.status === "ok") {
1964
1976
  CacheIndividualQueries(
1965
1977
  data,
@@ -1970,31 +1982,34 @@ var GetCommunityActivities = async ({
1970
1982
  }
1971
1983
  return data;
1972
1984
  };
1973
- var useGetCommunityActivities = (communityId = "", params = {}, options = {}) => {
1985
+ var useGetGroupActivities = (groupId = "", params = {}, options = {}) => {
1974
1986
  return useConnectedInfiniteQuery(
1975
- COMMUNITY_ACTIVITIES_QUERY_KEY(communityId),
1976
- (params2) => GetCommunityActivities({ communityId, ...params2 }),
1987
+ GROUP_ACTIVITIES_QUERY_KEY(groupId),
1988
+ (params2) => GetGroupActivities({ groupId, ...params2 }),
1977
1989
  params,
1978
1990
  {
1979
1991
  ...options,
1980
- enabled: !!communityId && (options?.enabled ?? true)
1992
+ enabled: !!groupId && (options?.enabled ?? true)
1981
1993
  }
1982
1994
  );
1983
1995
  };
1984
1996
 
1985
- // src/queries/communities/useGetCommunityAnnouncements.ts
1986
- var COMMUNITY_ANNOUNCEMENTS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "ANNOUNCEMENTS"];
1987
- 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"]) => {
1988
2003
  client.setQueryData(
1989
2004
  [
1990
- ...COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(...keyParams),
2005
+ ...GROUP_ANNOUNCEMENTS_QUERY_KEY(...keyParams),
1991
2006
  ...GetBaseInfiniteQueryKeys(...baseKeys)
1992
2007
  ],
1993
2008
  setFirstPageData(response)
1994
2009
  );
1995
2010
  };
1996
- var GetCommunityAnnouncements = async ({
1997
- communityId,
2011
+ var GetGroupAnnouncements = async ({
2012
+ groupId,
1998
2013
  pageParam,
1999
2014
  pageSize,
2000
2015
  orderBy,
@@ -2002,44 +2017,41 @@ var GetCommunityAnnouncements = async ({
2002
2017
  clientApiParams
2003
2018
  }) => {
2004
2019
  const clientApi = await GetClientAPI(clientApiParams);
2005
- const { data } = await clientApi.get(
2006
- `/communities/${communityId}/announcements`,
2007
- {
2008
- params: {
2009
- page: pageParam || void 0,
2010
- pageSize: pageSize || void 0,
2011
- orderBy: orderBy || void 0,
2012
- search: search || void 0
2013
- }
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
2014
2026
  }
2015
- );
2027
+ });
2016
2028
  return data;
2017
2029
  };
2018
- var useGetCommunityAnnouncements = (communityId = "", params = {}, options = {}) => {
2030
+ var useGetGroupAnnouncements = (groupId = "", params = {}, options = {}) => {
2019
2031
  return useConnectedInfiniteQuery(
2020
- COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId),
2021
- (params2) => GetCommunityAnnouncements({ communityId, ...params2 }),
2032
+ GROUP_ANNOUNCEMENTS_QUERY_KEY(groupId),
2033
+ (params2) => GetGroupAnnouncements({ groupId, ...params2 }),
2022
2034
  params,
2023
2035
  {
2024
2036
  ...options,
2025
- enabled: !!communityId && (options?.enabled ?? true)
2037
+ enabled: !!groupId && (options?.enabled ?? true)
2026
2038
  }
2027
2039
  );
2028
2040
  };
2029
2041
 
2030
- // src/queries/communities/useGetCommunityMedia.ts
2031
- var COMMUNITY_MEDIA_QUERY_KEY = (communityId, type) => [...COMMUNITY_QUERY_KEY(communityId), "MEDIA", type || "all"];
2032
- 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"]) => {
2033
2045
  client.setQueryData(
2034
2046
  [
2035
- ...COMMUNITY_MEDIA_QUERY_KEY(...keyParams),
2047
+ ...GROUP_MEDIA_QUERY_KEY(...keyParams),
2036
2048
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2037
2049
  ],
2038
2050
  setFirstPageData(response)
2039
2051
  );
2040
2052
  };
2041
- var GetCommunityMedia = async ({
2042
- communityId,
2053
+ var GetGroupMedia = async ({
2054
+ groupId,
2043
2055
  type,
2044
2056
  pageParam,
2045
2057
  pageSize,
@@ -2048,7 +2060,7 @@ var GetCommunityMedia = async ({
2048
2060
  clientApiParams
2049
2061
  }) => {
2050
2062
  const clientApi = await GetClientAPI(clientApiParams);
2051
- const { data } = await clientApi.get(`/communities/${communityId}/media`, {
2063
+ const { data } = await clientApi.get(`/groups/${groupId}/media`, {
2052
2064
  params: {
2053
2065
  type: type || void 0,
2054
2066
  page: pageParam || void 0,
@@ -2059,14 +2071,14 @@ var GetCommunityMedia = async ({
2059
2071
  });
2060
2072
  return data;
2061
2073
  };
2062
- var useGetCommunityMedia = (communityId = "", type, params = {}, options = {}) => {
2074
+ var useGetGroupMedia = (groupId = "", type, params = {}, options = {}) => {
2063
2075
  return useConnectedInfiniteQuery(
2064
- COMMUNITY_MEDIA_QUERY_KEY(communityId, type),
2065
- (params2) => GetCommunityMedia({ communityId, type, ...params2 }),
2076
+ GROUP_MEDIA_QUERY_KEY(groupId, type),
2077
+ (params2) => GetGroupMedia({ groupId, type, ...params2 }),
2066
2078
  params,
2067
2079
  {
2068
2080
  ...options,
2069
- enabled: !!communityId && (options?.enabled ?? true)
2081
+ enabled: !!groupId && (options?.enabled ?? true)
2070
2082
  }
2071
2083
  );
2072
2084
  };
@@ -2157,34 +2169,34 @@ var useGetEvent = (eventId = "", options = {}) => {
2157
2169
  );
2158
2170
  };
2159
2171
 
2160
- // src/queries/communities/useGetCommunityEvents.ts
2161
- var COMMUNITY_EVENTS_QUERY_KEY = (communityId, past) => [
2162
- ...COMMUNITY_QUERY_KEY(communityId),
2172
+ // src/queries/groups/useGetGroupEvents.ts
2173
+ var GROUP_EVENTS_QUERY_KEY = (groupId, past) => [
2174
+ ...GROUP_QUERY_KEY(groupId),
2163
2175
  "EVENTS",
2164
2176
  past ? "PAST" : "UPCOMING"
2165
2177
  ];
2166
- var SET_COMMUNITY_EVENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2178
+ var SET_GROUP_EVENTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2167
2179
  client.setQueryData(
2168
2180
  [
2169
- ...COMMUNITY_EVENTS_QUERY_KEY(...keyParams),
2181
+ ...GROUP_EVENTS_QUERY_KEY(...keyParams),
2170
2182
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2171
2183
  ],
2172
2184
  setFirstPageData(response)
2173
2185
  );
2174
2186
  };
2175
- var GetCommunityEvents = async ({
2187
+ var GetGroupEvents = async ({
2176
2188
  pageParam,
2177
2189
  pageSize,
2178
2190
  orderBy,
2179
2191
  search,
2180
- communityId,
2192
+ groupId,
2181
2193
  past,
2182
2194
  queryClient,
2183
2195
  clientApiParams,
2184
2196
  locale
2185
2197
  }) => {
2186
2198
  const clientApi = await GetClientAPI(clientApiParams);
2187
- const { data } = await clientApi.get(`/communities/${communityId}/events`, {
2199
+ const { data } = await clientApi.get(`/groups/${groupId}/events`, {
2188
2200
  params: {
2189
2201
  page: pageParam || void 0,
2190
2202
  pageSize: pageSize || void 0,
@@ -2203,46 +2215,46 @@ var GetCommunityEvents = async ({
2203
2215
  }
2204
2216
  return data;
2205
2217
  };
2206
- var useGetCommunityEvents = (communityId = "", past = false, params = {}, options = {}) => {
2218
+ var useGetGroupEvents = (groupId = "", past = false, params = {}, options = {}) => {
2207
2219
  return useConnectedInfiniteQuery(
2208
- COMMUNITY_EVENTS_QUERY_KEY(communityId, past),
2209
- (params2) => GetCommunityEvents({ communityId, past, ...params2 }),
2220
+ GROUP_EVENTS_QUERY_KEY(groupId, past),
2221
+ (params2) => GetGroupEvents({ groupId, past, ...params2 }),
2210
2222
  params,
2211
2223
  {
2212
2224
  ...options,
2213
- enabled: !!communityId && (options?.enabled ?? true)
2225
+ enabled: !!groupId && (options?.enabled ?? true)
2214
2226
  }
2215
2227
  );
2216
2228
  };
2217
2229
 
2218
- // src/queries/communities/useGetCommunityMembers.ts
2219
- var COMMUNITY_MEMBERS_QUERY_KEY = (communityId, role) => {
2220
- 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"];
2221
2233
  if (role) {
2222
2234
  keys.push(role);
2223
2235
  }
2224
2236
  return keys;
2225
2237
  };
2226
- var SET_COMMUNITY_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2238
+ var SET_GROUP_MEMBERS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2227
2239
  client.setQueryData(
2228
2240
  [
2229
- ...COMMUNITY_MEMBERS_QUERY_KEY(...keyParams),
2241
+ ...GROUP_MEMBERS_QUERY_KEY(...keyParams),
2230
2242
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2231
2243
  ],
2232
2244
  setFirstPageData(response)
2233
2245
  );
2234
2246
  };
2235
- var GetCommunityMembers = async ({
2247
+ var GetGroupMembers = async ({
2236
2248
  pageParam,
2237
2249
  pageSize,
2238
2250
  orderBy,
2239
2251
  search,
2240
2252
  role,
2241
- communityId,
2253
+ groupId,
2242
2254
  clientApiParams
2243
2255
  }) => {
2244
2256
  const clientApi = await GetClientAPI(clientApiParams);
2245
- const { data } = await clientApi.get(`/communities/${communityId}/members`, {
2257
+ const { data } = await clientApi.get(`/groups/${groupId}/members`, {
2246
2258
  params: {
2247
2259
  page: pageParam || void 0,
2248
2260
  pageSize: pageSize || void 0,
@@ -2253,115 +2265,44 @@ var GetCommunityMembers = async ({
2253
2265
  });
2254
2266
  return data;
2255
2267
  };
2256
- var useGetCommunityMembers = (communityId = "", role, params = {}, options = {}) => {
2268
+ var useGetGroupMembers = (groupId = "", role, params = {}, options = {}) => {
2257
2269
  return useConnectedInfiniteQuery(
2258
- COMMUNITY_MEMBERS_QUERY_KEY(communityId, role),
2259
- (params2) => GetCommunityMembers({ communityId, role, ...params2 }),
2270
+ GROUP_MEMBERS_QUERY_KEY(groupId, role),
2271
+ (params2) => GetGroupMembers({ groupId, role, ...params2 }),
2260
2272
  params,
2261
2273
  {
2262
2274
  ...options,
2263
- enabled: !!communityId && (options?.enabled ?? true)
2264
- }
2265
- );
2266
- };
2267
-
2268
- // src/queries/sponsors/useGetSponsors.ts
2269
- var SPONSORS_QUERY_KEY = () => ["SPONSORS"];
2270
- var SET_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2271
- client.setQueryData(
2272
- [
2273
- ...SPONSORS_QUERY_KEY(...keyParams),
2274
- ...GetBaseInfiniteQueryKeys(...baseKeys)
2275
- ],
2276
- setFirstPageData(response)
2277
- );
2278
- };
2279
- var GetSponsors = async ({
2280
- pageParam,
2281
- pageSize,
2282
- orderBy,
2283
- search,
2284
- clientApiParams
2285
- }) => {
2286
- const clientApi = await GetClientAPI(clientApiParams);
2287
- const { data } = await clientApi.get(`/sponsors`, {
2288
- params: {
2289
- page: pageParam || void 0,
2290
- pageSize: pageSize || void 0,
2291
- orderBy: orderBy || void 0,
2292
- search: search || void 0
2293
- }
2294
- });
2295
- return data;
2296
- };
2297
- var useGetSponsors = (params = {}, options = {}) => {
2298
- return useConnectedInfiniteQuery(
2299
- SPONSORS_QUERY_KEY(),
2300
- (params2) => GetSponsors({ ...params2 }),
2301
- params,
2302
- options
2303
- );
2304
- };
2305
-
2306
- // src/queries/sponsors/useGetSponsor.ts
2307
- var SPONSOR_QUERY_KEY = (sponsorId) => [
2308
- ...SPONSORS_QUERY_KEY(),
2309
- sponsorId
2310
- ];
2311
- var SET_SPONSOR_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2312
- client.setQueryData(
2313
- [
2314
- ...SPONSOR_QUERY_KEY(...keyParams),
2315
- ...GetBaseSingleQueryKeys(...baseKeys)
2316
- ],
2317
- response
2318
- );
2319
- };
2320
- var GetSponsor = async ({
2321
- accountId,
2322
- clientApiParams
2323
- }) => {
2324
- const clientApi = await GetClientAPI(clientApiParams);
2325
- const { data } = await clientApi.get(`/sponsors/${accountId}`);
2326
- return data;
2327
- };
2328
- var useGetSponsor = (accountId = "", options = {}) => {
2329
- return useConnectedSingleQuery_default(
2330
- SPONSOR_QUERY_KEY(accountId),
2331
- (params) => GetSponsor({ accountId, ...params }),
2332
- {
2333
- ...options,
2334
- enabled: !!accountId && (options?.enabled ?? true)
2275
+ enabled: !!groupId && (options?.enabled ?? true)
2335
2276
  }
2336
2277
  );
2337
2278
  };
2338
2279
 
2339
- // src/queries/communities/useGetCommunitySponsors.ts
2340
- var COMMUNITY_SPONSORS_QUERY_KEY = (communityId) => [
2341
- ...COMMUNITY_QUERY_KEY(communityId),
2280
+ // src/queries/groups/useGetGroupSponsors.ts
2281
+ var GROUP_SPONSORS_QUERY_KEY = (groupId) => [
2282
+ ...GROUP_QUERY_KEY(groupId),
2342
2283
  "SPONSORS"
2343
2284
  ];
2344
- var SET_COMMUNITY_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2285
+ var SET_GROUP_SPONSORS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2345
2286
  client.setQueryData(
2346
2287
  [
2347
- ...COMMUNITY_SPONSORS_QUERY_KEY(...keyParams),
2288
+ ...GROUP_SPONSORS_QUERY_KEY(...keyParams),
2348
2289
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2349
2290
  ],
2350
2291
  setFirstPageData(response)
2351
2292
  );
2352
2293
  };
2353
- var GetCommunitySponsors = async ({
2294
+ var GetGroupSponsors = async ({
2354
2295
  pageParam,
2355
2296
  pageSize,
2356
2297
  orderBy,
2357
2298
  search,
2358
- communityId,
2299
+ groupId,
2359
2300
  queryClient,
2360
2301
  clientApiParams,
2361
2302
  locale
2362
2303
  }) => {
2363
2304
  const clientApi = await GetClientAPI(clientApiParams);
2364
- const { data } = await clientApi.get(`/communities/${communityId}/sponsors`, {
2305
+ const { data } = await clientApi.get(`/groups/${groupId}/sponsors`, {
2365
2306
  params: {
2366
2307
  page: pageParam || void 0,
2367
2308
  pageSize: pageSize || void 0,
@@ -2373,54 +2314,54 @@ var GetCommunitySponsors = async ({
2373
2314
  CacheIndividualQueries(
2374
2315
  data,
2375
2316
  queryClient,
2376
- (eventId) => SPONSOR_QUERY_KEY(eventId),
2317
+ (accountId) => ACCOUNT_QUERY_KEY(accountId),
2377
2318
  locale
2378
2319
  );
2379
2320
  }
2380
2321
  return data;
2381
2322
  };
2382
- var useGetCommunitySponsors = (communityId = "", params = {}, options = {}) => {
2323
+ var useGetGroupSponsors = (groupId = "", params = {}, options = {}) => {
2383
2324
  return useConnectedInfiniteQuery(
2384
- COMMUNITY_SPONSORS_QUERY_KEY(communityId),
2385
- (params2) => GetCommunitySponsors({ communityId, ...params2 }),
2325
+ GROUP_SPONSORS_QUERY_KEY(groupId),
2326
+ (params2) => GetGroupSponsors({ groupId, ...params2 }),
2386
2327
  params,
2387
2328
  {
2388
2329
  ...options,
2389
- enabled: !!communityId && (options?.enabled ?? true)
2330
+ enabled: !!groupId && (options?.enabled ?? true)
2390
2331
  }
2391
2332
  );
2392
2333
  };
2393
2334
 
2394
- // src/queries/communities/useGetCommunityRequests.ts
2395
- var COMMUNITY_REQUESTS_QUERY_KEY = (communityId, status) => {
2396
- 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"];
2397
2338
  if (status) {
2398
2339
  keys.push(status);
2399
2340
  }
2400
2341
  return keys;
2401
2342
  };
2402
- var SET_COMMUNITY_REQUESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2343
+ var SET_GROUP_REQUESTS_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
2403
2344
  client.setQueryData(
2404
2345
  [
2405
- ...COMMUNITY_REQUESTS_QUERY_KEY(...keyParams),
2346
+ ...GROUP_REQUESTS_QUERY_KEY(...keyParams),
2406
2347
  ...GetBaseInfiniteQueryKeys(...baseKeys)
2407
2348
  ],
2408
2349
  setFirstPageData(response)
2409
2350
  );
2410
2351
  };
2411
- var GetCommunityRequests = async ({
2352
+ var GetGroupRequests = async ({
2412
2353
  pageParam,
2413
2354
  pageSize,
2414
2355
  orderBy,
2415
2356
  search,
2416
2357
  status,
2417
- communityId,
2358
+ groupId,
2418
2359
  queryClient,
2419
2360
  clientApiParams,
2420
2361
  locale
2421
2362
  }) => {
2422
2363
  const clientApi = await GetClientAPI(clientApiParams);
2423
- const { data } = await clientApi.get(`/communities/${communityId}/requests`, {
2364
+ const { data } = await clientApi.get(`/groups/${groupId}/requests`, {
2424
2365
  params: {
2425
2366
  page: pageParam || void 0,
2426
2367
  pageSize: pageSize || void 0,
@@ -2433,74 +2374,70 @@ var GetCommunityRequests = async ({
2433
2374
  CacheIndividualQueries(
2434
2375
  data,
2435
2376
  queryClient,
2436
- (communityId2) => COMMUNITY_REQUEST_QUERY_KEY(communityId2, data.data.id),
2377
+ (groupId2) => GROUP_REQUEST_QUERY_KEY(groupId2, data.data.id),
2437
2378
  locale
2438
2379
  );
2439
2380
  }
2440
2381
  return data;
2441
2382
  };
2442
- var useGetCommunityRequests = (communityId = "", status, params = {}, options = {}) => {
2383
+ var useGetGroupRequests = (groupId = "", status, params = {}, options = {}) => {
2443
2384
  return useConnectedInfiniteQuery(
2444
- COMMUNITY_REQUESTS_QUERY_KEY(communityId, status),
2445
- (params2) => GetCommunityRequests({ communityId, status, ...params2 }),
2385
+ GROUP_REQUESTS_QUERY_KEY(groupId, status),
2386
+ (params2) => GetGroupRequests({ groupId, status, ...params2 }),
2446
2387
  params,
2447
2388
  {
2448
2389
  ...options,
2449
- enabled: !!communityId && (options?.enabled ?? true)
2390
+ enabled: !!groupId && (options?.enabled ?? true)
2450
2391
  }
2451
2392
  );
2452
2393
  };
2453
2394
 
2454
- // src/queries/communities/useGetCommunityRequest.ts
2455
- var COMMUNITY_REQUEST_QUERY_KEY = (communityId, requestId) => [
2456
- ...COMMUNITY_REQUESTS_QUERY_KEY(communityId),
2457
- "REQUESTS",
2458
- requestId
2459
- ];
2460
- 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) => {
2461
2398
  client.setQueryData(
2462
2399
  [
2463
- ...COMMUNITY_REQUEST_QUERY_KEY(...keyParams),
2400
+ ...GROUP_REQUEST_QUERY_KEY(...keyParams),
2464
2401
  ...GetBaseSingleQueryKeys(...baseKeys)
2465
2402
  ],
2466
2403
  response,
2467
2404
  options
2468
2405
  );
2469
2406
  };
2470
- var GetCommunityRequest = async ({
2471
- communityId,
2407
+ var GetGroupRequest = async ({
2408
+ groupId,
2472
2409
  requestId,
2473
2410
  clientApiParams
2474
2411
  }) => {
2475
2412
  const clientApi = await GetClientAPI(clientApiParams);
2476
2413
  const { data } = await clientApi.get(
2477
- `/communities/${communityId}/requests/${requestId}`
2414
+ `/groups/${groupId}/requests/${requestId}`
2478
2415
  );
2479
2416
  return data;
2480
2417
  };
2481
- var useGetCommunityRequest = (communityId = "", requestId = "", options = {}) => {
2418
+ var useGetGroupRequest = (groupId = "", requestId = "", options = {}) => {
2482
2419
  return useConnectedSingleQuery(
2483
- COMMUNITY_REQUEST_QUERY_KEY(communityId, requestId),
2484
- (params) => GetCommunityRequest({ communityId, requestId, ...params }),
2420
+ GROUP_REQUEST_QUERY_KEY(groupId, requestId),
2421
+ (params) => GetGroupRequest({ groupId, requestId, ...params }),
2485
2422
  {
2486
2423
  ...options,
2487
- enabled: !!communityId && !!requestId && (options?.enabled ?? true)
2424
+ enabled: !!groupId && !!requestId && (options?.enabled ?? true)
2488
2425
  }
2489
2426
  );
2490
2427
  };
2491
2428
 
2492
- // src/queries/communities/useGetCommunityInvitableAccounts.ts
2493
- var COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY = (communityId) => [...COMMUNITY_QUERY_KEY(communityId), "INVITABLE_ACCOUNTS"];
2494
- 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 ({
2495
2432
  pageParam,
2496
2433
  pageSize,
2497
2434
  orderBy,
2498
2435
  search,
2499
- communityId,
2436
+ groupId,
2500
2437
  clientApiParams
2501
2438
  }) => {
2502
2439
  const clientApi = await GetClientAPI(clientApiParams);
2503
- const { data } = await clientApi.get(`/communities/${communityId}/invites`, {
2440
+ const { data } = await clientApi.get(`/groups/${groupId}/invites`, {
2504
2441
  params: {
2505
2442
  page: pageParam || void 0,
2506
2443
  pageSize: pageSize || void 0,
@@ -2510,14 +2447,14 @@ var GetCommunityInvitableAccounts = async ({
2510
2447
  });
2511
2448
  return data;
2512
2449
  };
2513
- var useGetCommunityInvitableAccounts = (communityId = "", params = {}, options = {}) => {
2450
+ var useGetGroupInvitableAccounts = (groupId = "", params = {}, options = {}) => {
2514
2451
  return useConnectedInfiniteQuery(
2515
- COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId),
2516
- (params2) => GetCommunityInvitableAccounts({ communityId, ...params2 }),
2452
+ GROUP_INVITABLE_ACCOUNTS_QUERY_KEY(groupId),
2453
+ (params2) => GetGroupInvitableAccounts({ groupId, ...params2 }),
2517
2454
  params,
2518
2455
  {
2519
2456
  ...options,
2520
- enabled: !!communityId && (options?.enabled ?? true)
2457
+ enabled: !!groupId && (options?.enabled ?? true)
2521
2458
  }
2522
2459
  );
2523
2460
  };
@@ -3470,7 +3407,7 @@ var GetEventSponsors = async ({
3470
3407
  CacheIndividualQueries(
3471
3408
  data,
3472
3409
  queryClient,
3473
- (sponsorId) => SPONSOR_QUERY_KEY(sponsorId),
3410
+ (sponsorId) => ACCOUNT_QUERY_KEY(sponsorId),
3474
3411
  locale
3475
3412
  );
3476
3413
  }
@@ -4332,9 +4269,12 @@ var ADD_SELF_RELATIONSHIP = (client, baseKeys = ["en"], type, id, value = true)
4332
4269
  [...SELF_RELATIONSHIPS_QUERY_KEY(), ...GetBaseSingleQueryKeys(...baseKeys)],
4333
4270
  (prev) => ({
4334
4271
  ...prev,
4335
- [type]: {
4336
- ...prev[type],
4337
- [id]: value
4272
+ data: {
4273
+ ...prev?.data,
4274
+ [type]: {
4275
+ ...prev?.data?.[type],
4276
+ [id]: value
4277
+ }
4338
4278
  }
4339
4279
  })
4340
4280
  );
@@ -4344,9 +4284,12 @@ var REMOVE_SELF_RELATIONSHIP = (client, baseKeys = ["en"], type, id, value = fal
4344
4284
  [...SELF_RELATIONSHIPS_QUERY_KEY(), ...GetBaseSingleQueryKeys(...baseKeys)],
4345
4285
  (prev) => ({
4346
4286
  ...prev,
4347
- [type]: {
4348
- ...prev[type],
4349
- [id]: value
4287
+ data: {
4288
+ ...prev?.data,
4289
+ [type]: {
4290
+ ...prev?.data?.[type],
4291
+ [id]: value
4292
+ }
4350
4293
  }
4351
4294
  })
4352
4295
  );
@@ -4445,12 +4388,12 @@ var useGetSelfAnnouncement = (announcementId, options = {}) => {
4445
4388
  );
4446
4389
  };
4447
4390
 
4448
- // src/queries/self/useGetSelfCommunityMemberships.ts
4449
- var SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY = () => [
4391
+ // src/queries/self/useGetSelfGroupMemberships.ts
4392
+ var SELF_GROUP_MEMBERSHIPS_QUERY_KEY = () => [
4450
4393
  ...SELF_QUERY_KEY(),
4451
- "COMMUNITY_MEMBERSHIPS"
4394
+ "GROUP_MEMBERSHIPS"
4452
4395
  ];
4453
- var GetSelfCommunityMemberships = async ({
4396
+ var GetSelfGroupMemberships = async ({
4454
4397
  pageParam,
4455
4398
  pageSize,
4456
4399
  orderBy,
@@ -4458,7 +4401,7 @@ var GetSelfCommunityMemberships = async ({
4458
4401
  clientApiParams
4459
4402
  }) => {
4460
4403
  const clientApi = await GetClientAPI(clientApiParams);
4461
- const { data } = await clientApi.get(`/self/communities`, {
4404
+ const { data } = await clientApi.get(`/self/groups`, {
4462
4405
  params: {
4463
4406
  page: pageParam || void 0,
4464
4407
  pageSize: pageSize || void 0,
@@ -4468,11 +4411,11 @@ var GetSelfCommunityMemberships = async ({
4468
4411
  });
4469
4412
  return data;
4470
4413
  };
4471
- var useGetSelfCommunityMemberships = (params = {}, options = {}) => {
4414
+ var useGetSelfGroupMemberships = (params = {}, options = {}) => {
4472
4415
  const { authenticated } = useConnectedXM();
4473
4416
  return useConnectedInfiniteQuery(
4474
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY(),
4475
- (params2) => GetSelfCommunityMemberships({ ...params2 }),
4417
+ SELF_GROUP_MEMBERSHIPS_QUERY_KEY(),
4418
+ (params2) => GetSelfGroupMemberships({ ...params2 }),
4476
4419
  params,
4477
4420
  {
4478
4421
  ...options,
@@ -4481,35 +4424,36 @@ var useGetSelfCommunityMemberships = (params = {}, options = {}) => {
4481
4424
  );
4482
4425
  };
4483
4426
 
4484
- // src/queries/self/useGetSelfCommunityMembership.ts
4485
- var SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY = (communityId) => [...SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY(), communityId];
4486
- 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"]) => {
4487
4433
  client.setQueryData(
4488
4434
  [
4489
- ...SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(...keyParams),
4435
+ ...SELF_GROUP_MEMBERSHIP_QUERY_KEY(...keyParams),
4490
4436
  ...GetBaseSingleQueryKeys(...baseKeys)
4491
4437
  ],
4492
4438
  response
4493
4439
  );
4494
4440
  };
4495
- var GetSelfCommunityMembership = async ({
4496
- communityId,
4441
+ var GetSelfGroupMembership = async ({
4442
+ groupId,
4497
4443
  clientApiParams
4498
4444
  }) => {
4499
4445
  const clientApi = await GetClientAPI(clientApiParams);
4500
- const { data } = await clientApi.get(
4501
- `/self/communities/${communityId}/membership`
4502
- );
4446
+ const { data } = await clientApi.get(`/self/groups/${groupId}/membership`);
4503
4447
  return data;
4504
4448
  };
4505
- var useGetSelfCommunityMembership = (communityId, options = {}) => {
4449
+ var useGetSelfGroupMembership = (groupId, options = {}) => {
4506
4450
  const { authenticated } = useConnectedXM();
4507
4451
  return useConnectedSingleQuery(
4508
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId),
4509
- (params) => GetSelfCommunityMembership({ communityId, ...params }),
4452
+ SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId),
4453
+ (params) => GetSelfGroupMembership({ groupId, ...params }),
4510
4454
  {
4511
4455
  ...options,
4512
- enabled: !!authenticated && !!communityId && (options?.enabled ?? true)
4456
+ enabled: !!authenticated && !!groupId && (options?.enabled ?? true)
4513
4457
  }
4514
4458
  );
4515
4459
  };
@@ -5332,7 +5276,7 @@ var GetLevelSponsors = async ({
5332
5276
  CacheIndividualQueries(
5333
5277
  data,
5334
5278
  queryClient,
5335
- (sponsorId) => SPONSOR_QUERY_KEY(sponsorId),
5279
+ (sponsorId) => ACCOUNT_QUERY_KEY(sponsorId),
5336
5280
  locale
5337
5281
  );
5338
5282
  }
@@ -5533,6 +5477,37 @@ var useGetSelfEventListingAnnouncement = (eventId = "", announcementId = "", opt
5533
5477
  );
5534
5478
  };
5535
5479
 
5480
+ // src/queries/listings/useGetListingEmail.ts
5481
+ var LISTING_EMAIL_QUERY_KEY = (eventId, type) => [...LISTING_QUERY_KEY(eventId), type];
5482
+ var SET_LISTING_EMAIL_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
5483
+ client.setQueryData(
5484
+ [
5485
+ ...LISTING_EMAIL_QUERY_KEY(...keyParams),
5486
+ ...GetBaseSingleQueryKeys(...baseKeys)
5487
+ ],
5488
+ response
5489
+ );
5490
+ };
5491
+ var GetSelfEventListingEmail = async ({
5492
+ eventId,
5493
+ type,
5494
+ clientApiParams
5495
+ }) => {
5496
+ const clientApi = await GetClientAPI(clientApiParams);
5497
+ const { data } = await clientApi.get(`/listings/${eventId}/emails/${type}`);
5498
+ return data;
5499
+ };
5500
+ var useGetSelfEventListingEmail = (eventId = "", type, options = {}) => {
5501
+ return useConnectedSingleQuery(
5502
+ LISTING_EMAIL_QUERY_KEY(eventId, type),
5503
+ (params) => GetSelfEventListingEmail({ eventId, type, ...params }),
5504
+ {
5505
+ ...options,
5506
+ enabled: !!eventId && !!type
5507
+ }
5508
+ );
5509
+ };
5510
+
5536
5511
  // src/queries/listings/useGetListingQuestions.ts
5537
5512
  var LISTING_QUESTIONS_QUERY_KEY = (eventId) => [
5538
5513
  ...LISTING_QUERY_KEY(eventId),
@@ -7075,12 +7050,12 @@ var SelfCreateActivity = async ({
7075
7050
  data.data
7076
7051
  );
7077
7052
  }
7078
- if (activity.communityId) {
7053
+ if (activity.groupId) {
7079
7054
  nested = true;
7080
7055
  AppendInfiniteQuery(
7081
7056
  queryClient,
7082
7057
  [
7083
- ...COMMUNITY_ACTIVITIES_QUERY_KEY(activity.communityId),
7058
+ ...GROUP_ACTIVITIES_QUERY_KEY(activity.groupId),
7084
7059
  ...GetBaseInfiniteQueryKeys(clientApiParams.locale)
7085
7060
  ],
7086
7061
  data.data
@@ -7122,19 +7097,16 @@ var useDeleteActivity = (options = {}) => {
7122
7097
  return useConnectedMutation_default(DeleteActivity, options);
7123
7098
  };
7124
7099
 
7125
- // src/mutations/self/useSelfUpdateCommunityMembership.ts
7126
- var SelfUpdateCommunityMembership = async ({
7127
- communityId,
7100
+ // src/mutations/self/useSelfUpdateGroupMembership.ts
7101
+ var SelfUpdateGroupMembership = async ({
7102
+ groupId,
7128
7103
  membership,
7129
7104
  clientApiParams,
7130
7105
  queryClient
7131
7106
  }) => {
7132
7107
  if (queryClient) {
7133
7108
  queryClient.setQueryData(
7134
- [
7135
- ...SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId),
7136
- clientApiParams.locale
7137
- ],
7109
+ [...SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId), clientApiParams.locale],
7138
7110
  (data2) => {
7139
7111
  return {
7140
7112
  ...data2,
@@ -7147,11 +7119,14 @@ var SelfUpdateCommunityMembership = async ({
7147
7119
  );
7148
7120
  }
7149
7121
  const clientApi = await GetClientAPI(clientApiParams);
7150
- const { data } = await clientApi.put(`/self/communities/${communityId}`, membership);
7122
+ const { data } = await clientApi.put(
7123
+ `/self/groups/${groupId}`,
7124
+ membership
7125
+ );
7151
7126
  return data;
7152
7127
  };
7153
- var useSelfUpdateCommunityMembership = (options = {}) => {
7154
- return useConnectedMutation_default(SelfUpdateCommunityMembership, options);
7128
+ var useSelfUpdateGroupMembership = (options = {}) => {
7129
+ return useConnectedMutation_default(SelfUpdateGroupMembership, options);
7155
7130
  };
7156
7131
 
7157
7132
  // src/mutations/self/useUpdateSelf.ts
@@ -7270,6 +7245,28 @@ var useUpdateSelfPushDevice = (options = {}) => {
7270
7245
  return useConnectedMutation_default(UpdateSelfPushDevice, options);
7271
7246
  };
7272
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
+
7273
7270
  // src/mutations/supportTicket/useCreateSupportTicket.ts
7274
7271
  var CreateSupportTicket = async ({
7275
7272
  type,
@@ -7316,16 +7313,16 @@ var useCreateTeamAccount = (options = {}) => {
7316
7313
  return useConnectedMutation_default(CreateTeamAccount, options);
7317
7314
  };
7318
7315
 
7319
- // src/mutations/communities/useAcceptCommunityInvitation.ts
7320
- var AcceptCommunityInvitation = async ({
7321
- communityId,
7316
+ // src/mutations/groups/useAcceptGroupInvitation.ts
7317
+ var AcceptGroupInvitation = async ({
7318
+ groupId,
7322
7319
  requestId,
7323
7320
  clientApiParams,
7324
7321
  queryClient
7325
7322
  }) => {
7326
7323
  const clientApi = await GetClientAPI(clientApiParams);
7327
7324
  const { data } = await clientApi.post(
7328
- `/communities/${communityId}/invites/${requestId}`
7325
+ `/groups/${groupId}/invites/${requestId}`
7329
7326
  );
7330
7327
  if (queryClient && data.status === "ok") {
7331
7328
  queryClient.invalidateQueries({
@@ -7337,344 +7334,345 @@ var AcceptCommunityInvitation = async ({
7337
7334
  }
7338
7335
  return data;
7339
7336
  };
7340
- var useAcceptCommunityInvitation = (options = {}) => {
7341
- return useConnectedMutation_default(AcceptCommunityInvitation, options);
7337
+ var useAcceptGroupInvitation = (options = {}) => {
7338
+ return useConnectedMutation_default(AcceptGroupInvitation, options);
7342
7339
  };
7343
7340
 
7344
- // src/mutations/communities/useAcceptCommunityRequest.ts
7345
- var AcceptCommunityRequest = async ({
7346
- communityId,
7341
+ // src/mutations/groups/useAcceptGroupRequest.ts
7342
+ var AcceptGroupRequest = async ({
7343
+ groupId,
7347
7344
  requestId,
7348
7345
  clientApiParams,
7349
7346
  queryClient
7350
7347
  }) => {
7351
7348
  const clientApi = await GetClientAPI(clientApiParams);
7352
7349
  const { data } = await clientApi.post(
7353
- `/communities/${communityId}/requests/${requestId}`
7350
+ `/groups/${groupId}/requests/${requestId}`
7354
7351
  );
7355
7352
  if (queryClient && data.status === "ok") {
7356
7353
  queryClient.invalidateQueries({
7357
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7354
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7358
7355
  });
7359
7356
  }
7360
7357
  return data;
7361
7358
  };
7362
- var useAcceptCommunityRequest = (options = {}) => {
7363
- return useConnectedMutation_default(AcceptCommunityRequest, options);
7359
+ var useAcceptGroupRequest = (options = {}) => {
7360
+ return useConnectedMutation_default(AcceptGroupRequest, options);
7364
7361
  };
7365
7362
 
7366
- // src/mutations/communities/useCreateCommunity.ts
7367
- var CreateCommunity = async ({
7368
- community,
7363
+ // src/mutations/groups/useCreateGroup.ts
7364
+ var CreateGroup = async ({
7365
+ group,
7369
7366
  imageDataUri,
7370
7367
  clientApiParams,
7371
7368
  queryClient
7372
7369
  }) => {
7373
7370
  const clientApi = await GetClientAPI(clientApiParams);
7374
- const { data } = await clientApi.post(
7375
- `/communities`,
7376
- {
7377
- community,
7378
- imageDataUri
7379
- }
7380
- );
7371
+ const { data } = await clientApi.post(`/groups`, {
7372
+ group,
7373
+ imageDataUri
7374
+ });
7381
7375
  if (queryClient && data.status === "ok") {
7382
- SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
7376
+ SET_GROUP_QUERY_DATA(queryClient, [data.data.id], data);
7383
7377
  queryClient.invalidateQueries({
7384
- queryKey: COMMUNITIES_QUERY_KEY()
7378
+ queryKey: GROUPS_QUERY_KEY()
7385
7379
  });
7386
7380
  ADD_SELF_RELATIONSHIP(
7387
7381
  queryClient,
7388
7382
  [clientApiParams.locale],
7389
- "communities",
7383
+ "groups",
7390
7384
  data.data.id,
7391
7385
  "moderator"
7392
7386
  );
7393
7387
  }
7394
7388
  return data;
7395
7389
  };
7396
- var useCreateCommunity = (options = {}) => {
7397
- return useConnectedMutation_default(CreateCommunity, options);
7390
+ var useCreateGroup = (options = {}) => {
7391
+ return useConnectedMutation_default(CreateGroup, options);
7398
7392
  };
7399
7393
 
7400
- // src/mutations/communities/useCreateCommunityInvitations.ts
7401
- var CreateCommunityInvitations = async ({
7402
- communityId,
7394
+ // src/mutations/groups/useCreateGroupInvitations.ts
7395
+ var CreateGroupInvitations = async ({
7396
+ groupId,
7403
7397
  accountIds,
7404
7398
  clientApiParams,
7405
7399
  queryClient
7406
7400
  }) => {
7407
7401
  const clientApi = await GetClientAPI(clientApiParams);
7408
7402
  const { data } = await clientApi.post(
7409
- `/communities/${communityId}/invites`,
7403
+ `/groups/${groupId}/invites`,
7410
7404
  {
7411
7405
  accountIds
7412
7406
  }
7413
7407
  );
7414
7408
  if (queryClient && data.message === "ok") {
7415
7409
  queryClient.invalidateQueries({
7416
- queryKey: COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY(communityId)
7410
+ queryKey: GROUP_INVITABLE_ACCOUNTS_QUERY_KEY(groupId)
7417
7411
  });
7418
7412
  }
7419
7413
  return data;
7420
7414
  };
7421
- var useCreateCommunityInvitations = (options = {}) => {
7422
- return useConnectedMutation_default(CreateCommunityInvitations, options);
7415
+ var useCreateGroupInvitations = (options = {}) => {
7416
+ return useConnectedMutation_default(CreateGroupInvitations, options);
7423
7417
  };
7424
7418
 
7425
- // src/mutations/communities/useCreateCommunityRequest.ts
7426
- var CreateCommunityRequest = async ({
7427
- communityId,
7419
+ // src/mutations/groups/useCreateGroupRequest.ts
7420
+ var CreateGroupRequest = async ({
7421
+ groupId,
7428
7422
  clientApiParams
7429
7423
  }) => {
7430
7424
  const clientApi = await GetClientAPI(clientApiParams);
7431
7425
  const { data } = await clientApi.post(
7432
- `/communities/${communityId}/requests`
7426
+ `/groups/${groupId}/requests`
7433
7427
  );
7434
7428
  return data;
7435
7429
  };
7436
- var useCreateCommunityRequest = (options = {}) => {
7437
- return useConnectedMutation_default(CreateCommunityRequest, options);
7430
+ var useCreateGroupRequest = (options = {}) => {
7431
+ return useConnectedMutation_default(CreateGroupRequest, options);
7438
7432
  };
7439
7433
 
7440
- // src/mutations/communities/useDeactivateCommunity.ts
7441
- var DeactivateCommunity = async ({
7442
- communityId,
7443
- community,
7434
+ // src/mutations/groups/useDeactivateGroup.ts
7435
+ var DeactivateGroup = async ({
7436
+ groupId,
7437
+ group,
7444
7438
  imageDataUri,
7445
7439
  clientApiParams,
7446
7440
  queryClient
7447
7441
  }) => {
7448
7442
  const clientApi = await GetClientAPI(clientApiParams);
7449
7443
  const { data } = await clientApi.post(
7450
- `/communities/${communityId}`,
7444
+ `/groups/${groupId}`,
7451
7445
  {
7452
- community,
7446
+ group,
7453
7447
  imageDataUri
7454
7448
  }
7455
7449
  );
7456
7450
  if (queryClient && data.status === "ok") {
7457
7451
  queryClient.invalidateQueries({
7458
- queryKey: COMMUNITIES_QUERY_KEY()
7452
+ queryKey: GROUPS_QUERY_KEY()
7459
7453
  });
7460
7454
  }
7461
7455
  return data;
7462
7456
  };
7463
- var useDeactivateCommunity = (options = {}) => {
7464
- return useConnectedMutation_default(DeactivateCommunity, options);
7457
+ var useDeactivateGroup = (options = {}) => {
7458
+ return useConnectedMutation_default(DeactivateGroup, options);
7465
7459
  };
7466
7460
 
7467
- // src/mutations/communities/useDeleteCommunityInvitation.ts
7468
- var DeleteCommunityInvitation = async ({
7469
- communityId,
7461
+ // src/mutations/groups/useDeleteGroupInvitation.ts
7462
+ var DeleteGroupInvitation = async ({
7463
+ groupId,
7470
7464
  requestId,
7471
7465
  clientApiParams,
7472
7466
  queryClient
7473
7467
  }) => {
7474
7468
  const clientApi = await GetClientAPI(clientApiParams);
7475
7469
  const { data } = await clientApi.delete(
7476
- `/communities/${communityId}/invites/${requestId}`
7470
+ `/groups/${groupId}/invites/${requestId}`
7477
7471
  );
7478
7472
  if (queryClient && data.status === "ok") {
7479
7473
  queryClient.invalidateQueries({
7480
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7474
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7481
7475
  });
7482
7476
  }
7483
7477
  return data;
7484
7478
  };
7485
- var useDeleteCommunityInvitation = (options = {}) => {
7486
- return useConnectedMutation_default(DeleteCommunityInvitation, options);
7479
+ var useDeleteGroupInvitation = (options = {}) => {
7480
+ return useConnectedMutation_default(DeleteGroupInvitation, options);
7487
7481
  };
7488
7482
 
7489
- // src/mutations/communities/useJoinCommunity.ts
7490
- var JoinCommunity = async ({
7491
- communityId,
7483
+ // src/mutations/groups/useJoinGroup.ts
7484
+ var JoinGroup = async ({
7485
+ groupId,
7492
7486
  clientApiParams,
7493
7487
  queryClient
7494
7488
  }) => {
7495
7489
  const clientApi = await GetClientAPI(clientApiParams);
7496
- const { data } = await clientApi.post(`/communities/${communityId}/join`);
7490
+ const { data } = await clientApi.post(
7491
+ `/groups/${groupId}/join`
7492
+ );
7497
7493
  if (queryClient && data.status === "ok") {
7498
7494
  queryClient.invalidateQueries({
7499
- queryKey: COMMUNITY_QUERY_KEY(communityId)
7495
+ queryKey: GROUP_QUERY_KEY(groupId)
7500
7496
  });
7501
7497
  queryClient.invalidateQueries({
7502
- queryKey: COMMUNITIES_QUERY_KEY()
7498
+ queryKey: GROUPS_QUERY_KEY()
7503
7499
  });
7504
7500
  queryClient.invalidateQueries({
7505
- queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
7501
+ queryKey: SELF_GROUP_MEMBERSHIPS_QUERY_KEY()
7506
7502
  });
7507
7503
  queryClient.invalidateQueries({
7508
- queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
7504
+ queryKey: SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId)
7509
7505
  });
7510
7506
  ADD_SELF_RELATIONSHIP(
7511
7507
  queryClient,
7512
7508
  [clientApiParams.locale],
7513
- "communities",
7514
- communityId,
7509
+ "groups",
7510
+ groupId,
7515
7511
  "member"
7516
7512
  );
7517
7513
  }
7518
7514
  return data;
7519
7515
  };
7520
- var useJoinCommunity = (options = {}) => {
7521
- return useConnectedMutation_default(JoinCommunity, options);
7516
+ var useJoinGroup = (options = {}) => {
7517
+ return useConnectedMutation_default(JoinGroup, options);
7522
7518
  };
7523
7519
 
7524
- // src/mutations/communities/useLeaveCommunity.ts
7525
- var LeaveCommunity = async ({
7526
- communityId,
7520
+ // src/mutations/groups/useLeaveGroup.ts
7521
+ var LeaveGroup = async ({
7522
+ groupId,
7527
7523
  clientApiParams,
7528
7524
  queryClient
7529
7525
  }) => {
7530
7526
  const clientApi = await GetClientAPI(clientApiParams);
7531
7527
  const { data } = await clientApi.post(
7532
- `/communities/${communityId}/leave`
7528
+ `/groups/${groupId}/leave`
7533
7529
  );
7534
7530
  if (queryClient && data.status === "ok") {
7535
7531
  queryClient.invalidateQueries({
7536
- queryKey: COMMUNITY_QUERY_KEY(communityId)
7532
+ queryKey: GROUP_QUERY_KEY(groupId)
7537
7533
  });
7538
7534
  queryClient.invalidateQueries({
7539
- queryKey: COMMUNITIES_QUERY_KEY()
7535
+ queryKey: GROUPS_QUERY_KEY()
7540
7536
  });
7541
7537
  queryClient.invalidateQueries({
7542
- queryKey: SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY()
7538
+ queryKey: SELF_GROUP_MEMBERSHIPS_QUERY_KEY()
7543
7539
  });
7544
7540
  queryClient.invalidateQueries({
7545
- queryKey: SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY(communityId)
7541
+ queryKey: SELF_GROUP_MEMBERSHIP_QUERY_KEY(groupId)
7546
7542
  });
7547
7543
  REMOVE_SELF_RELATIONSHIP(
7548
7544
  queryClient,
7549
7545
  [clientApiParams.locale],
7550
- "communities",
7551
- communityId
7546
+ "groups",
7547
+ groupId
7552
7548
  );
7553
7549
  }
7554
7550
  return data;
7555
7551
  };
7556
- var useLeaveCommunity = (options = {}) => {
7557
- return useConnectedMutation_default(LeaveCommunity, options);
7552
+ var useLeaveGroup = (options = {}) => {
7553
+ return useConnectedMutation_default(LeaveGroup, options);
7558
7554
  };
7559
7555
 
7560
- // src/mutations/communities/useRejectCommunityRequest.ts
7561
- var RejectCommunityRequest = async ({
7562
- communityId,
7556
+ // src/mutations/groups/useRejectGroupRequest.ts
7557
+ var RejectGroupRequest = async ({
7558
+ groupId,
7563
7559
  requestId,
7564
7560
  clientApiParams,
7565
7561
  queryClient
7566
7562
  }) => {
7567
7563
  const clientApi = await GetClientAPI(clientApiParams);
7568
- const { data } = await clientApi.delete(`/communities/${communityId}/requests/${requestId}`);
7564
+ const { data } = await clientApi.delete(
7565
+ `/groups/${groupId}/requests/${requestId}`
7566
+ );
7569
7567
  if (queryClient && data.status === "ok") {
7570
- SET_COMMUNITY_REQUEST_QUERY_DATA(
7571
- queryClient,
7572
- [communityId, data.data.id],
7573
- data
7574
- );
7568
+ SET_GROUP_REQUEST_QUERY_DATA(queryClient, [groupId, data.data.id], data);
7575
7569
  queryClient.invalidateQueries({
7576
- queryKey: COMMUNITY_REQUESTS_QUERY_KEY(communityId)
7570
+ queryKey: GROUP_REQUESTS_QUERY_KEY(groupId)
7577
7571
  });
7578
7572
  }
7579
7573
  return data;
7580
7574
  };
7581
- var useRejectCommunityRequest = (options = {}) => {
7582
- return useConnectedMutation_default(RejectCommunityRequest, options);
7575
+ var useRejectGroupRequest = (options = {}) => {
7576
+ return useConnectedMutation_default(RejectGroupRequest, options);
7583
7577
  };
7584
7578
 
7585
- // src/mutations/communities/useRemoveCommunityMember.ts
7586
- var RemoveCommunityMember = async ({
7587
- communityId,
7579
+ // src/mutations/groups/useRemoveGroupMember.ts
7580
+ var RemoveGroupMember = async ({
7581
+ groupId,
7588
7582
  accountId,
7589
7583
  clientApiParams,
7590
7584
  queryClient
7591
7585
  }) => {
7592
7586
  const clientApi = await GetClientAPI(clientApiParams);
7593
7587
  const { data } = await clientApi.delete(
7594
- `/communities/${communityId}/members/${accountId}`
7588
+ `/groups/${groupId}/members/${accountId}`
7595
7589
  );
7596
7590
  if (queryClient && data.status === "ok") {
7597
7591
  queryClient.invalidateQueries({
7598
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7592
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7599
7593
  });
7600
7594
  }
7601
7595
  return data;
7602
7596
  };
7603
- var useRemoveCommunityMember = (options = {}) => {
7604
- return useConnectedMutation_default(RemoveCommunityMember, options);
7597
+ var useRemoveGroupMember = (options = {}) => {
7598
+ return useConnectedMutation_default(RemoveGroupMember, options);
7605
7599
  };
7606
7600
 
7607
- // src/mutations/communities/useUpdateCommunity.ts
7608
- var UpdateCommunity = async ({
7609
- communityId,
7610
- community,
7601
+ // src/mutations/groups/useUpdateGroup.ts
7602
+ var UpdateGroup = async ({
7603
+ groupId,
7604
+ group,
7611
7605
  imageDataUri,
7612
7606
  clientApiParams,
7613
7607
  queryClient
7614
7608
  }) => {
7615
7609
  const clientApi = await GetClientAPI(clientApiParams);
7616
7610
  const { data } = await clientApi.put(
7617
- `/communities/${communityId}`,
7611
+ `/groups/${groupId}`,
7618
7612
  {
7619
- community,
7613
+ group,
7620
7614
  imageDataUri
7621
7615
  }
7622
7616
  );
7623
7617
  if (queryClient && data.status === "ok") {
7624
- SET_COMMUNITY_QUERY_DATA(queryClient, [data.data.id], data);
7618
+ SET_GROUP_QUERY_DATA(queryClient, [data.data.id], data);
7625
7619
  queryClient.invalidateQueries({
7626
- queryKey: COMMUNITIES_QUERY_KEY()
7620
+ queryKey: GROUPS_QUERY_KEY()
7627
7621
  });
7628
7622
  }
7629
7623
  return data;
7630
7624
  };
7631
- var useUpdateCommunity = (options = {}) => {
7632
- return useConnectedMutation_default(UpdateCommunity, options);
7625
+ var useUpdateGroup = (options = {}) => {
7626
+ return useConnectedMutation_default(UpdateGroup, options);
7633
7627
  };
7634
7628
 
7635
- // src/mutations/communities/useDemoteCommunityModerator.ts
7636
- var DemoteCommunityModerator = async ({
7637
- communityId,
7629
+ // src/mutations/groups/useDemoteGroupModerator.ts
7630
+ var DemoteGroupModerator = async ({
7631
+ groupId,
7638
7632
  accountId,
7639
7633
  clientApiParams,
7640
7634
  queryClient
7641
7635
  }) => {
7642
7636
  const clientApi = await GetClientAPI(clientApiParams);
7643
- const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/demote`);
7637
+ const { data } = await clientApi.post(
7638
+ `/groups/${groupId}/members/${accountId}/demote`
7639
+ );
7644
7640
  if (queryClient && data.status === "ok") {
7645
7641
  queryClient.invalidateQueries({
7646
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7642
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7647
7643
  });
7648
7644
  }
7649
7645
  return data;
7650
7646
  };
7651
- var useDemoteCommunityModerator = (options = {}) => {
7652
- return useConnectedMutation_default(DemoteCommunityModerator, options);
7647
+ var useDemoteGroupModerator = (options = {}) => {
7648
+ return useConnectedMutation_default(DemoteGroupModerator, options);
7653
7649
  };
7654
7650
 
7655
- // src/mutations/communities/usePromoteCommunityMember.ts
7656
- var PromoteCommunityMember = async ({
7657
- communityId,
7651
+ // src/mutations/groups/usePromoteGroupMember.ts
7652
+ var PromoteGroupMember = async ({
7653
+ groupId,
7658
7654
  accountId,
7659
7655
  clientApiParams,
7660
7656
  queryClient
7661
7657
  }) => {
7662
7658
  const clientApi = await GetClientAPI(clientApiParams);
7663
- const { data } = await clientApi.post(`/communities/${communityId}/members/${accountId}/promote`);
7659
+ const { data } = await clientApi.post(
7660
+ `/groups/${groupId}/members/${accountId}/promote`
7661
+ );
7664
7662
  if (queryClient && data.status === "ok") {
7665
7663
  queryClient.invalidateQueries({
7666
- queryKey: COMMUNITY_MEMBERS_QUERY_KEY(communityId)
7664
+ queryKey: GROUP_MEMBERS_QUERY_KEY(groupId)
7667
7665
  });
7668
7666
  }
7669
7667
  return data;
7670
7668
  };
7671
- var usePromoteCommunityMember = (options = {}) => {
7672
- return useConnectedMutation_default(PromoteCommunityMember, options);
7669
+ var usePromoteGroupMember = (options = {}) => {
7670
+ return useConnectedMutation_default(PromoteGroupMember, options);
7673
7671
  };
7674
7672
 
7675
- // src/mutations/communities/useCreateCommunityAnnouncement.ts
7676
- var CreateCommunityAnnouncement = async ({
7677
- communityId,
7673
+ // src/mutations/groups/useCreateGroupAnnouncement.ts
7674
+ var CreateGroupAnnouncement = async ({
7675
+ groupId,
7678
7676
  title,
7679
7677
  html,
7680
7678
  email,
@@ -7684,7 +7682,7 @@ var CreateCommunityAnnouncement = async ({
7684
7682
  }) => {
7685
7683
  const clientApi = await GetClientAPI(clientApiParams);
7686
7684
  const { data } = await clientApi.post(
7687
- `/communities/${communityId}/announcements`,
7685
+ `/groups/${groupId}/announcements`,
7688
7686
  {
7689
7687
  title,
7690
7688
  html,
@@ -7694,32 +7692,28 @@ var CreateCommunityAnnouncement = async ({
7694
7692
  );
7695
7693
  if (queryClient && data.status === "ok") {
7696
7694
  queryClient.invalidateQueries({
7697
- queryKey: COMMUNITY_ANNOUNCEMENTS_QUERY_KEY(communityId)
7695
+ queryKey: GROUP_ANNOUNCEMENTS_QUERY_KEY(groupId)
7698
7696
  });
7699
7697
  }
7700
7698
  return data;
7701
7699
  };
7702
- var useCreateCommunityAnnouncement = (options = {}) => {
7703
- return useConnectedMutation_default(CreateCommunityAnnouncement, options);
7700
+ var useCreateGroupAnnouncement = (options = {}) => {
7701
+ return useConnectedMutation_default(CreateGroupAnnouncement, options);
7704
7702
  };
7705
7703
 
7706
- // src/mutations/communities/useRejectCommunityInvitation.ts
7707
- var RejectCommunityInvitation = async ({
7708
- communityId,
7704
+ // src/mutations/groups/useRejectGroupInvitation.ts
7705
+ var RejectGroupInvitation = async ({
7706
+ groupId,
7709
7707
  requestId,
7710
7708
  clientApiParams,
7711
7709
  queryClient
7712
7710
  }) => {
7713
7711
  const clientApi = await GetClientAPI(clientApiParams);
7714
7712
  const { data } = await clientApi.put(
7715
- `/communities/${communityId}/invites/${requestId}`
7713
+ `/groups/${groupId}/invites/${requestId}`
7716
7714
  );
7717
7715
  if (queryClient && data.status === "ok") {
7718
- SET_COMMUNITY_REQUEST_QUERY_DATA(
7719
- queryClient,
7720
- [communityId, data.data.id],
7721
- data
7722
- );
7716
+ SET_GROUP_REQUEST_QUERY_DATA(queryClient, [groupId, data.data.id], data);
7723
7717
  queryClient.invalidateQueries({
7724
7718
  queryKey: SELF_NOTIFICATIONS_QUERY_KEY("")
7725
7719
  });
@@ -7729,8 +7723,8 @@ var RejectCommunityInvitation = async ({
7729
7723
  }
7730
7724
  return data;
7731
7725
  };
7732
- var useRejectCommunityInvitation = (options = {}) => {
7733
- return useConnectedMutation_default(RejectCommunityInvitation, options);
7726
+ var useRejectGroupInvitation = (options = {}) => {
7727
+ return useConnectedMutation_default(RejectGroupInvitation, options);
7734
7728
  };
7735
7729
 
7736
7730
  // src/mutations/listings/useCreateListingSession.ts
@@ -7852,7 +7846,7 @@ var useAddListingSponsor = (options = {}) => {
7852
7846
  var CreateListing = async ({
7853
7847
  event,
7854
7848
  imageDataUri,
7855
- communityId,
7849
+ groupId,
7856
7850
  sponsorIds,
7857
7851
  speakers,
7858
7852
  sessions,
@@ -7865,7 +7859,7 @@ var CreateListing = async ({
7865
7859
  {
7866
7860
  event,
7867
7861
  image: imageDataUri ? imageDataUri : void 0,
7868
- communityId: communityId || void 0,
7862
+ groupId: groupId || void 0,
7869
7863
  sponsorIds: sponsorIds || void 0,
7870
7864
  speakers,
7871
7865
  sessions
@@ -7878,9 +7872,9 @@ var CreateListing = async ({
7878
7872
  queryClient.invalidateQueries({
7879
7873
  queryKey: LISTINGS_QUERY_KEY(true)
7880
7874
  });
7881
- if (communityId) {
7875
+ if (groupId) {
7882
7876
  queryClient.invalidateQueries({
7883
- queryKey: COMMUNITY_EVENTS_QUERY_KEY(communityId)
7877
+ queryKey: GROUP_EVENTS_QUERY_KEY(groupId)
7884
7878
  });
7885
7879
  }
7886
7880
  queryClient.setQueryData(
@@ -8089,6 +8083,28 @@ var useUpdateListing = (options = {}) => {
8089
8083
  return useConnectedMutation_default(UpdateListing, options);
8090
8084
  };
8091
8085
 
8086
+ // src/mutations/listings/useUpdateListingEmail.ts
8087
+ var UpdateListingEmail = async ({
8088
+ eventId,
8089
+ type,
8090
+ email,
8091
+ clientApiParams,
8092
+ queryClient
8093
+ }) => {
8094
+ const clientApi = await GetClientAPI(clientApiParams);
8095
+ const { data } = await clientApi.put(
8096
+ `/listings/${eventId}/emails/${type}`,
8097
+ email
8098
+ );
8099
+ if (queryClient && data.status === "ok") {
8100
+ SET_LISTING_EMAIL_QUERY_DATA(queryClient, [eventId, type], data);
8101
+ }
8102
+ return data;
8103
+ };
8104
+ var useUpdateListingEmail = (options = {}) => {
8105
+ return useConnectedMutation_default(UpdateListingEmail, options);
8106
+ };
8107
+
8092
8108
  // src/mutations/listings/useUpdateListingQuestion.ts
8093
8109
  var UpdateListingQuestion = async ({
8094
8110
  eventId,
@@ -8173,17 +8189,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8173
8189
  ACCOUNTS_QUERY_KEY,
8174
8190
  ACCOUNT_ACTIVITIES_QUERY_KEY,
8175
8191
  ACCOUNT_BY_SHARE_CODE_QUERY_KEY,
8176
- ACCOUNT_COMMUNITIES_QUERY_KEY,
8177
8192
  ACCOUNT_FOLLOWERS_QUERY_KEY,
8178
8193
  ACCOUNT_FOLLOWINGS_QUERY_KEY,
8194
+ ACCOUNT_GROUPS_QUERY_KEY,
8179
8195
  ACCOUNT_QUERY_KEY,
8180
8196
  ACTIVITIES_QUERY_KEY,
8181
8197
  ACTIVITY_COMMENTS_QUERY_KEY,
8182
8198
  ACTIVITY_QUERY_KEY,
8183
8199
  ADD_SELF_RELATIONSHIP,
8184
8200
  ADVERTISEMENT_QUERY_KEY,
8185
- AcceptCommunityInvitation,
8186
- AcceptCommunityRequest,
8201
+ AcceptGroupInvitation,
8202
+ AcceptGroupRequest,
8187
8203
  AcceptTransfer,
8188
8204
  AccountType,
8189
8205
  AddListingSponsor,
@@ -8192,20 +8208,10 @@ var useUpdateListingSpeaker = (options = {}) => {
8192
8208
  AddSelfEventRegistrationPurchase,
8193
8209
  AddSelfEventRegistrationPurchaseAddOn,
8194
8210
  AddSelfEventSession,
8211
+ AddSelfInterests,
8195
8212
  AdvertisementType,
8196
8213
  AppendInfiniteQuery,
8197
8214
  BENEFITS_QUERY_KEY,
8198
- COMMUNITIES_QUERY_KEY,
8199
- COMMUNITY_ACTIVITIES_QUERY_KEY,
8200
- COMMUNITY_ANNOUNCEMENTS_QUERY_KEY,
8201
- COMMUNITY_EVENTS_QUERY_KEY,
8202
- COMMUNITY_INVITABLE_ACCOUNTS_QUERY_KEY,
8203
- COMMUNITY_MEDIA_QUERY_KEY,
8204
- COMMUNITY_MEMBERS_QUERY_KEY,
8205
- COMMUNITY_QUERY_KEY,
8206
- COMMUNITY_REQUESTS_QUERY_KEY,
8207
- COMMUNITY_REQUEST_QUERY_KEY,
8208
- COMMUNITY_SPONSORS_QUERY_KEY,
8209
8215
  CONTENTS_QUERY_KEY,
8210
8216
  CONTENT_ACTIVITIES_QUERY_KEY,
8211
8217
  CONTENT_QUERY_KEY,
@@ -8219,18 +8225,15 @@ var useUpdateListingSpeaker = (options = {}) => {
8219
8225
  CaptureInvoicePayment,
8220
8226
  CaptureSelfEventRegistrationPayment,
8221
8227
  CheckinListingRegistrationPurchase,
8222
- CommunityAccess,
8223
- CommunityMembershipRole,
8224
- CommunityRequestStatus,
8225
8228
  CompleteEventActivation,
8226
8229
  ConnectedXMProvider,
8227
8230
  ContentTypeFormat,
8228
8231
  CouponType,
8229
- CreateCommunity,
8230
- CreateCommunityAnnouncement,
8231
- CreateCommunityInvitations,
8232
- CreateCommunityRequest,
8233
8232
  CreateEventLead,
8233
+ CreateGroup,
8234
+ CreateGroupAnnouncement,
8235
+ CreateGroupInvitations,
8236
+ CreateGroupRequest,
8234
8237
  CreateListing,
8235
8238
  CreateListingAnnouncement,
8236
8239
  CreateListingQuestion,
@@ -8242,9 +8245,9 @@ var useUpdateListingSpeaker = (options = {}) => {
8242
8245
  CreateSupportTicket,
8243
8246
  CreateTeamAccount,
8244
8247
  Currency,
8245
- DeactivateCommunity,
8248
+ DeactivateGroup,
8246
8249
  DeleteActivity,
8247
- DeleteCommunityInvitation,
8250
+ DeleteGroupInvitation,
8248
8251
  DeleteListing,
8249
8252
  DeleteListingQuestion,
8250
8253
  DeleteListingSession,
@@ -8254,7 +8257,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8254
8257
  DeleteSelfChatChannel,
8255
8258
  DeleteSelfChatChannelMessage,
8256
8259
  DeleteSelfPushDevice,
8257
- DemoteCommunityModerator,
8260
+ DemoteGroupModerator,
8258
8261
  EVENTS_FEATURED_QUERY_KEY,
8259
8262
  EVENTS_QUERY_KEY,
8260
8263
  EVENT_ACTIVITIES_QUERY_KEY,
@@ -8273,15 +8276,27 @@ var useUpdateListingSpeaker = (options = {}) => {
8273
8276
  EVENT_SPEAKER_QUERY_KEY,
8274
8277
  EVENT_SPONSORS_QUERY_KEY,
8275
8278
  EVENT_TICKETS_QUERY_KEY,
8279
+ EventEmailType,
8276
8280
  EventSource,
8277
8281
  EventType,
8278
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,
8279
8294
  GetAccount,
8280
8295
  GetAccountActivities,
8281
8296
  GetAccountByShareCode,
8282
- GetAccountCommunities,
8283
8297
  GetAccountFollowers,
8284
8298
  GetAccountFollowings,
8299
+ GetAccountGroups,
8285
8300
  GetAccounts,
8286
8301
  GetActivities,
8287
8302
  GetActivity,
@@ -8291,17 +8306,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8291
8306
  GetBaseSingleQueryKeys,
8292
8307
  GetBenefits,
8293
8308
  GetClientAPI,
8294
- GetCommunities,
8295
- GetCommunity,
8296
- GetCommunityActivities,
8297
- GetCommunityAnnouncements,
8298
- GetCommunityEvents,
8299
- GetCommunityInvitableAccounts,
8300
- GetCommunityMedia,
8301
- GetCommunityMembers,
8302
- GetCommunityRequest,
8303
- GetCommunityRequests,
8304
- GetCommunitySponsors,
8305
8309
  GetContent,
8306
8310
  GetContentActivities,
8307
8311
  GetContentType,
@@ -8327,6 +8331,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8327
8331
  GetEventTickets,
8328
8332
  GetEvents,
8329
8333
  GetFeaturedEvents,
8334
+ GetGroup,
8335
+ GetGroupActivities,
8336
+ GetGroupAnnouncements,
8337
+ GetGroupEvents,
8338
+ GetGroupInvitableAccounts,
8339
+ GetGroupMedia,
8340
+ GetGroupMembers,
8341
+ GetGroupRequest,
8342
+ GetGroupRequests,
8343
+ GetGroupSponsors,
8344
+ GetGroups,
8330
8345
  GetInterests,
8331
8346
  GetInvoice,
8332
8347
  GetLevel,
@@ -8344,13 +8359,12 @@ var useUpdateListingSpeaker = (options = {}) => {
8344
8359
  GetSelfChatChannelMembers,
8345
8360
  GetSelfChatChannelMessages,
8346
8361
  GetSelfChatChannels,
8347
- GetSelfCommunityMembership,
8348
- GetSelfCommunityMemberships,
8349
8362
  GetSelfDelegateOf,
8350
8363
  GetSelfDelegates,
8351
8364
  GetSelfEventListing,
8352
8365
  GetSelfEventListingAnnouncement,
8353
8366
  GetSelfEventListingAnnouncements,
8367
+ GetSelfEventListingEmail,
8354
8368
  GetSelfEventListingQuestions,
8355
8369
  GetSelfEventListingRegistration,
8356
8370
  GetSelfEventListingRegistrations,
@@ -8365,6 +8379,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8365
8379
  GetSelfEventSessions,
8366
8380
  GetSelfEvents,
8367
8381
  GetSelfFeed,
8382
+ GetSelfGroupMembership,
8383
+ GetSelfGroupMemberships,
8368
8384
  GetSelfInterests,
8369
8385
  GetSelfNewNotificationsCount,
8370
8386
  GetSelfNotificationPreferences,
@@ -8381,24 +8397,26 @@ var useUpdateListingSpeaker = (options = {}) => {
8381
8397
  GetSeries,
8382
8398
  GetSeriesEvents,
8383
8399
  GetSeriesList,
8384
- GetSponsor,
8385
- GetSponsors,
8400
+ GroupAccess,
8401
+ GroupMembershipRole,
8402
+ GroupRequestStatus,
8386
8403
  INTERESTS_QUERY_KEY,
8387
8404
  INVOICE_QUERY_KEY,
8388
8405
  ImageType,
8389
8406
  InvoiceStatus,
8390
- JoinCommunity,
8407
+ JoinGroup,
8391
8408
  LEVELS_QUERY_KEY,
8392
8409
  LEVEL_QUERY_KEY,
8393
8410
  LEVEL_SPONSORS_QUERY_KEY,
8394
8411
  LISTINGS_QUERY_KEY,
8395
8412
  LISTING_ANNOUNCEMENTS_QUERY_KEY,
8396
8413
  LISTING_ANNOUNCEMENT_QUERY_KEY,
8414
+ LISTING_EMAIL_QUERY_KEY,
8397
8415
  LISTING_QUERY_KEY,
8398
8416
  LISTING_QUESTIONS_QUERY_KEY,
8399
8417
  LISTING_REGISTRATIONS_QUERY_KEY,
8400
8418
  LISTING_REGISTRATION_QUERY_KEY,
8401
- LeaveCommunity,
8419
+ LeaveGroup,
8402
8420
  LeaveSelfChatChannel,
8403
8421
  LikeActivity,
8404
8422
  MergeInfinitePages,
@@ -8408,17 +8426,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8408
8426
  ORGANIZATION_PAYMENT_INTEGRATION_QUERY_KEY,
8409
8427
  ORGANIZATION_QUERY_KEY,
8410
8428
  ORGANIZATION_SUBSCRIPTIONS_QUERY_KEY,
8411
- PromoteCommunityMember,
8429
+ PromoteGroupMember,
8412
8430
  PushDeviceAppType,
8413
8431
  PushService,
8414
8432
  REMOVE_SELF_RELATIONSHIP,
8415
8433
  RegisterCancelledEventRegistration,
8416
8434
  RegistrationQuestionType,
8417
8435
  RegistrationStatus,
8418
- RejectCommunityInvitation,
8419
- RejectCommunityRequest,
8436
+ RejectGroupInvitation,
8437
+ RejectGroupRequest,
8420
8438
  RejectTransfer,
8421
- RemoveCommunityMember,
8439
+ RemoveGroupMember,
8422
8440
  RemoveListingSponsor,
8423
8441
  RemoveSelfDelegate,
8424
8442
  RemoveSelfEventRegistrationCoupon,
@@ -8432,8 +8450,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8432
8450
  SELF_CHAT_CHANNEL_MEMBERS_QUERY_KEY,
8433
8451
  SELF_CHAT_CHANNEL_MESSAGES_QUERY_KEY,
8434
8452
  SELF_CHAT_CHANNEL_QUERY_KEY,
8435
- SELF_COMMUNITY_MEMBERSHIPS_QUERY_KEY,
8436
- SELF_COMMUNITY_MEMBERSHIP_QUERY_KEY,
8437
8453
  SELF_DELEGATES_QUERY_KEY,
8438
8454
  SELF_DELEGATE_OF_QUERY_KEY,
8439
8455
  SELF_EVENTS_QUERY_KEY,
@@ -8446,6 +8462,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8446
8462
  SELF_EVENT_REGISTRATION_STATUS_QUERY_KEY,
8447
8463
  SELF_EVENT_SESSIONS_QUERY_KEY,
8448
8464
  SELF_FEED_QUERY_KEY,
8465
+ SELF_GROUP_MEMBERSHIPS_QUERY_KEY,
8466
+ SELF_GROUP_MEMBERSHIP_QUERY_KEY,
8449
8467
  SELF_INTERESTS_QUERY_KEY,
8450
8468
  SELF_NOTIFICATIONS_QUERY_KEY,
8451
8469
  SELF_NOTIFICATION_COUNT_QUERY_KEY,
@@ -8466,25 +8484,15 @@ var useUpdateListingSpeaker = (options = {}) => {
8466
8484
  SET_ACCOUNTS_QUERY_DATA,
8467
8485
  SET_ACCOUNT_ACTIVITIES_QUERY_DATA,
8468
8486
  SET_ACCOUNT_BY_SHARE_CODE_QUERY_DATA,
8469
- SET_ACCOUNT_COMMUNITIES_QUERY_DATA,
8470
8487
  SET_ACCOUNT_FOLLOWERS_QUERY_DATA,
8471
8488
  SET_ACCOUNT_FOLLOWINGS_QUERY_DATA,
8489
+ SET_ACCOUNT_GROUPS_QUERY_DATA,
8472
8490
  SET_ACCOUNT_QUERY_DATA,
8473
8491
  SET_ACTIVITIES_QUERY_DATA,
8474
8492
  SET_ACTIVITY_COMMENTS_QUERY_DATA,
8475
8493
  SET_ACTIVITY_QUERY_DATA,
8476
8494
  SET_ADVERTISEMENT_QUERY_DATA,
8477
8495
  SET_BENEFITS_QUERY_DATA,
8478
- SET_COMMUNITIES_QUERY_DATA,
8479
- SET_COMMUNITY_ACTIVITIES_QUERY_DATA,
8480
- SET_COMMUNITY_ANNOUNCEMENTS_QUERY_DATA,
8481
- SET_COMMUNITY_EVENTS_QUERY_DATA,
8482
- SET_COMMUNITY_MEDIA_QUERY_DATA,
8483
- SET_COMMUNITY_MEMBERS_QUERY_DATA,
8484
- SET_COMMUNITY_QUERY_DATA,
8485
- SET_COMMUNITY_REQUESTS_QUERY_DATA,
8486
- SET_COMMUNITY_REQUEST_QUERY_DATA,
8487
- SET_COMMUNITY_SPONSORS_QUERY_DATA,
8488
8496
  SET_CONTENTS_QUERY_DATA,
8489
8497
  SET_CONTENT_ACTIVITIES_QUERY_DATA,
8490
8498
  SET_CONTENT_QUERY_DATA,
@@ -8508,12 +8516,23 @@ var useUpdateListingSpeaker = (options = {}) => {
8508
8516
  SET_EVENT_SPEAKER_QUERY_DATA,
8509
8517
  SET_EVENT_SPONSORS_QUERY_DATA,
8510
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,
8511
8529
  SET_INTERESTS_QUERY_DATA,
8512
8530
  SET_INVOICE_QUERY_DATA,
8513
8531
  SET_LEVELS_QUERY_DATA,
8514
8532
  SET_LEVEL_QUERY_DATA,
8515
8533
  SET_LEVEL_SPONSORS_QUERY_DATA,
8516
8534
  SET_LISTING_ANNOUNCEMENT_QUERY_KEY,
8535
+ SET_LISTING_EMAIL_QUERY_DATA,
8517
8536
  SET_LISTING_QUERY_DATA,
8518
8537
  SET_LISTING_REGISTRATION_QUERY_KEY,
8519
8538
  SET_ORGANIZATION_PAGE_QUERY_DATA,
@@ -8522,25 +8541,21 @@ var useUpdateListingSpeaker = (options = {}) => {
8522
8541
  SET_SELF_CHAT_CHANNEL_MEMBERS_QUERY_DATA,
8523
8542
  SET_SELF_CHAT_CHANNEL_MESSAGES_QUERY_DATA,
8524
8543
  SET_SELF_CHAT_CHANNEL_QUERY_DATA,
8525
- SET_SELF_COMMUNITY_MEMBERSHIP_QUERY_DATA,
8526
8544
  SET_SELF_EVENT_REGISTRATION_PURCHASE_ADD_ONS_QUERY_DATA,
8527
8545
  SET_SELF_EVENT_REGISTRATION_PURCHASE_QUERY_DATA,
8528
8546
  SET_SELF_EVENT_REGISTRATION_PURCHASE_RESERVATION_SECTIONS_QUERY_DATA,
8529
8547
  SET_SELF_EVENT_REGISTRATION_PURCHASE_SECTIONS_QUERY_DATA,
8530
8548
  SET_SELF_EVENT_REGISTRATION_QUERY_DATA,
8531
8549
  SET_SELF_EVENT_REGISTRATION_STATUS_QUERY_DATA,
8550
+ SET_SELF_GROUP_MEMBERSHIP_QUERY_DATA,
8532
8551
  SET_SELF_QUERY_DATA,
8533
8552
  SET_SERIES_EVENTS_QUERY_DATA,
8534
8553
  SET_SERIES_LIST_QUERY_DATA,
8535
8554
  SET_SERIES_QUERY_DATA,
8536
- SET_SPONSORS_QUERY_DATA,
8537
- SET_SPONSOR_QUERY_DATA,
8538
- SPONSORS_QUERY_KEY,
8539
- SPONSOR_QUERY_KEY,
8540
8555
  SelectSelfEventRegistrationCoupon,
8541
8556
  SelectSelfEventRegistrationPurchaseReservation,
8542
8557
  SelfCreateActivity,
8543
- SelfUpdateCommunityMembership,
8558
+ SelfUpdateGroupMembership,
8544
8559
  SubmitSelfEventRegistration,
8545
8560
  SubscriptionStatus,
8546
8561
  SupportTicketType,
@@ -8549,8 +8564,9 @@ var useUpdateListingSpeaker = (options = {}) => {
8549
8564
  TransferPurchase,
8550
8565
  UnfollowAccount,
8551
8566
  UnlikeActivity,
8552
- UpdateCommunity,
8567
+ UpdateGroup,
8553
8568
  UpdateListing,
8569
+ UpdateListingEmail,
8554
8570
  UpdateListingQuestion,
8555
8571
  UpdateListingSession,
8556
8572
  UpdateListingSpeaker,
@@ -8572,8 +8588,6 @@ var useUpdateListingSpeaker = (options = {}) => {
8572
8588
  isTypeAdvertisement,
8573
8589
  isTypeAnnouncement,
8574
8590
  isTypeBenefit,
8575
- isTypeCommunity,
8576
- isTypeCommunityMembership,
8577
8591
  isTypeContent,
8578
8592
  isTypeContentType,
8579
8593
  isTypeCoupon,
@@ -8583,6 +8597,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8583
8597
  isTypeEventPage,
8584
8598
  isTypeFaq,
8585
8599
  isTypeFaqSection,
8600
+ isTypeGroup,
8601
+ isTypeGroupMembership,
8586
8602
  isTypeImage,
8587
8603
  isTypeInstance,
8588
8604
  isTypeIntegrations,
@@ -8602,8 +8618,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8602
8618
  isTypeTransfer,
8603
8619
  isUUID,
8604
8620
  setFirstPageData,
8605
- useAcceptCommunityInvitation,
8606
- useAcceptCommunityRequest,
8621
+ useAcceptGroupInvitation,
8622
+ useAcceptGroupRequest,
8607
8623
  useAcceptTransfer,
8608
8624
  useAddListingSponsor,
8609
8625
  useAddSelfChatChannelMember,
@@ -8611,6 +8627,7 @@ var useUpdateListingSpeaker = (options = {}) => {
8611
8627
  useAddSelfEventRegistrationPurchase,
8612
8628
  useAddSelfEventRegistrationPurchaseAddOn,
8613
8629
  useAddSelfEventSession,
8630
+ useAddSelfInterests,
8614
8631
  useCancelEventRegistration,
8615
8632
  useCancelSubscription,
8616
8633
  useCancelTransfer,
@@ -8622,11 +8639,11 @@ var useUpdateListingSpeaker = (options = {}) => {
8622
8639
  useConnectedMutation,
8623
8640
  useConnectedSingleQuery,
8624
8641
  useConnectedXM,
8625
- useCreateCommunity,
8626
- useCreateCommunityAnnouncement,
8627
- useCreateCommunityInvitations,
8628
- useCreateCommunityRequest,
8629
8642
  useCreateEventLead,
8643
+ useCreateGroup,
8644
+ useCreateGroupAnnouncement,
8645
+ useCreateGroupInvitations,
8646
+ useCreateGroupRequest,
8630
8647
  useCreateListing,
8631
8648
  useCreateListingAnnouncement,
8632
8649
  useCreateListingQuestion,
@@ -8637,9 +8654,9 @@ var useUpdateListingSpeaker = (options = {}) => {
8637
8654
  useCreateSubscription,
8638
8655
  useCreateSupportTicket,
8639
8656
  useCreateTeamAccount,
8640
- useDeactivateCommunity,
8657
+ useDeactivateGroup,
8641
8658
  useDeleteActivity,
8642
- useDeleteCommunityInvitation,
8659
+ useDeleteGroupInvitation,
8643
8660
  useDeleteListing,
8644
8661
  useDeleteListingQuestion,
8645
8662
  useDeleteListingSession,
@@ -8649,31 +8666,20 @@ var useUpdateListingSpeaker = (options = {}) => {
8649
8666
  useDeleteSelfChatChannel,
8650
8667
  useDeleteSelfChatChannelMessage,
8651
8668
  useDeleteSelfPushDevice,
8652
- useDemoteCommunityModerator,
8669
+ useDemoteGroupModerator,
8653
8670
  useFollowAccount,
8654
8671
  useGetAccount,
8655
8672
  useGetAccountActivities,
8656
8673
  useGetAccountByShareCode,
8657
- useGetAccountCommunities,
8658
8674
  useGetAccountFollowers,
8659
8675
  useGetAccountFollowings,
8676
+ useGetAccountGroups,
8660
8677
  useGetAccounts,
8661
8678
  useGetActivities,
8662
8679
  useGetActivity,
8663
8680
  useGetActivityComments,
8664
8681
  useGetAdvertisement,
8665
8682
  useGetBenefits,
8666
- useGetCommunities,
8667
- useGetCommunity,
8668
- useGetCommunityActivities,
8669
- useGetCommunityAnnouncements,
8670
- useGetCommunityEvents,
8671
- useGetCommunityInvitableAccounts,
8672
- useGetCommunityMedia,
8673
- useGetCommunityMembers,
8674
- useGetCommunityRequest,
8675
- useGetCommunityRequests,
8676
- useGetCommunitySponsors,
8677
8683
  useGetContent,
8678
8684
  useGetContentActivities,
8679
8685
  useGetContentType,
@@ -8698,6 +8704,17 @@ var useUpdateListingSpeaker = (options = {}) => {
8698
8704
  useGetEventTickets,
8699
8705
  useGetEvents,
8700
8706
  useGetFeaturedEvents,
8707
+ useGetGroup,
8708
+ useGetGroupActivities,
8709
+ useGetGroupAnnouncements,
8710
+ useGetGroupEvents,
8711
+ useGetGroupInvitableAccounts,
8712
+ useGetGroupMedia,
8713
+ useGetGroupMembers,
8714
+ useGetGroupRequest,
8715
+ useGetGroupRequests,
8716
+ useGetGroupSponsors,
8717
+ useGetGroups,
8701
8718
  useGetInterests,
8702
8719
  useGetInvoice,
8703
8720
  useGetLevel,
@@ -8715,13 +8732,12 @@ var useUpdateListingSpeaker = (options = {}) => {
8715
8732
  useGetSelfChatChannelMembers,
8716
8733
  useGetSelfChatChannelMessages,
8717
8734
  useGetSelfChatChannels,
8718
- useGetSelfCommunityMembership,
8719
- useGetSelfCommunityMemberships,
8720
8735
  useGetSelfDelegateOf,
8721
8736
  useGetSelfDelegates,
8722
8737
  useGetSelfEventListing,
8723
8738
  useGetSelfEventListingAnnouncement,
8724
8739
  useGetSelfEventListingAnnouncements,
8740
+ useGetSelfEventListingEmail,
8725
8741
  useGetSelfEventListingQuestions,
8726
8742
  useGetSelfEventListingRegistration,
8727
8743
  useGetSelfEventListings,
@@ -8736,6 +8752,8 @@ var useUpdateListingSpeaker = (options = {}) => {
8736
8752
  useGetSelfEventSessions,
8737
8753
  useGetSelfEvents,
8738
8754
  useGetSelfFeed,
8755
+ useGetSelfGroupMembership,
8756
+ useGetSelfGroupMemberships,
8739
8757
  useGetSelfInterests,
8740
8758
  useGetSelfNewNotificationsCount,
8741
8759
  useGetSelfNotificationPreferences,
@@ -8752,22 +8770,20 @@ var useUpdateListingSpeaker = (options = {}) => {
8752
8770
  useGetSeries,
8753
8771
  useGetSeriesEvents,
8754
8772
  useGetSeriesList,
8755
- useGetSponsor,
8756
- useGetSponsors,
8757
8773
  useIsAccountFollowing,
8758
8774
  useIsChannelSubscribed,
8759
- useIsCommunityMember,
8760
8775
  useIsEventRegistered,
8761
- useJoinCommunity,
8762
- useLeaveCommunity,
8776
+ useIsGroupMember,
8777
+ useJoinGroup,
8778
+ useLeaveGroup,
8763
8779
  useLeaveSelfChatChannel,
8764
8780
  useLikeActivity,
8765
- usePromoteCommunityMember,
8781
+ usePromoteGroupMember,
8766
8782
  useRegisterCancelledEventRegistration,
8767
- useRejectCommunityInvitation,
8768
- useRejectCommunityRequest,
8783
+ useRejectGroupInvitation,
8784
+ useRejectGroupRequest,
8769
8785
  useRejectTransfer,
8770
- useRemoveCommunityMember,
8786
+ useRemoveGroupMember,
8771
8787
  useRemoveListingSponsor,
8772
8788
  useRemoveSelfDelegate,
8773
8789
  useRemoveSelfEventRegistrationCoupon,
@@ -8778,13 +8794,14 @@ var useUpdateListingSpeaker = (options = {}) => {
8778
8794
  useSelectSelfEventRegistrationCoupon,
8779
8795
  useSelectSelfEventRegistrationPurchaseReservation,
8780
8796
  useSelfCreateActivity,
8781
- useSelfUpdateCommunityMembership,
8797
+ useSelfUpdateGroupMembership,
8782
8798
  useSubmitSelfEventRegistration,
8783
8799
  useTransferPurchase,
8784
8800
  useUnfollowAccount,
8785
8801
  useUnlikeActivity,
8786
- useUpdateCommunity,
8802
+ useUpdateGroup,
8787
8803
  useUpdateListing,
8804
+ useUpdateListingEmail,
8788
8805
  useUpdateListingQuestion,
8789
8806
  useUpdateListingSession,
8790
8807
  useUpdateListingSpeaker,