@connectedxm/admin 0.0.29 → 0.0.31

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.mjs CHANGED
@@ -1654,7 +1654,7 @@ var useGetBenefitTranslation = (benefitId = "", locale = "", options = {}) => {
1654
1654
  }),
1655
1655
  {
1656
1656
  ...options,
1657
- enabled: !!benefitId && !!locale && (options?.enabled ?? true)
1657
+ enabled: !!benefitId && !!locale && locale !== "en" && (options?.enabled ?? true)
1658
1658
  },
1659
1659
  "benefits"
1660
1660
  );
@@ -2010,7 +2010,7 @@ var useGetChannelContentGuestTranslation = (channelId = "", contentId = "", gues
2010
2010
  }),
2011
2011
  {
2012
2012
  ...options,
2013
- enabled: !!channelId && !!contentId && !!locale && !!guestId && (options?.enabled ?? true)
2013
+ enabled: !!channelId && !!contentId && !!locale && !!guestId && locale !== "en" && (options?.enabled ?? true)
2014
2014
  },
2015
2015
  "contents"
2016
2016
  );
@@ -2088,7 +2088,7 @@ var useGetChannelContentTranslation = (channelId = "", contentId = "", locale =
2088
2088
  }),
2089
2089
  {
2090
2090
  ...options,
2091
- enabled: !!channelId && !!contentId && !!locale
2091
+ enabled: !!channelId && !!contentId && !!locale && locale !== "en"
2092
2092
  },
2093
2093
  "contents"
2094
2094
  );
@@ -2163,7 +2163,7 @@ var useGetChannelTranslation = (channelId = "", locale = "", options = {}) => {
2163
2163
  }),
2164
2164
  {
2165
2165
  ...options,
2166
- enabled: !!channelId && !!locale
2166
+ enabled: !!channelId && !!locale && locale !== "en"
2167
2167
  },
2168
2168
  "contents"
2169
2169
  );
@@ -2673,7 +2673,7 @@ var useGetEventActivationTranslation = (eventId = "", activationId = "", locale
2673
2673
  }),
2674
2674
  {
2675
2675
  ...options,
2676
- enabled: !!eventId && !!activationId && !!locale && (options?.enabled ?? true)
2676
+ enabled: !!eventId && !!activationId && !!locale && locale !== "en" && (options?.enabled ?? true)
2677
2677
  },
2678
2678
  "events"
2679
2679
  );
@@ -2878,7 +2878,7 @@ var useGetEventAddOnTranslation = (eventId = "", addOnId = "", locale = "", opti
2878
2878
  }),
2879
2879
  {
2880
2880
  ...options,
2881
- enabled: !!eventId && !!addOnId && !!locale && (options?.enabled ?? true)
2881
+ enabled: !!eventId && !!addOnId && !!locale && locale !== "en" && (options?.enabled ?? true)
2882
2882
  },
2883
2883
  "events"
2884
2884
  );
@@ -3539,7 +3539,7 @@ var useGetEventFaqSectionQuestionTranslation = (eventId = "", sectionId = "", qu
3539
3539
  }),
3540
3540
  {
3541
3541
  ...options,
3542
- enabled: !!eventId && !!sectionId && !!questionId && !!locale && (options?.enabled ?? true)
3542
+ enabled: !!eventId && !!sectionId && !!questionId && !!locale && locale !== "en" && (options?.enabled ?? true)
3543
3543
  },
3544
3544
  "events"
3545
3545
  );
@@ -3624,7 +3624,7 @@ var useGetEventFaqSectionTranslation = (eventId = "", sectionId = "", locale = "
3624
3624
  }),
3625
3625
  {
3626
3626
  ...options,
3627
- enabled: !!eventId && !!sectionId && !!locale && (options.enabled ?? true)
3627
+ enabled: !!eventId && !!sectionId && !!locale && locale !== "en" && (options.enabled ?? true)
3628
3628
  },
3629
3629
  "events"
3630
3630
  );
@@ -3881,7 +3881,7 @@ var useGetEventPageTranslation = (eventId = "", pageId = "", locale = "", option
3881
3881
  }),
3882
3882
  {
3883
3883
  ...options,
3884
- enabled: !!eventId && !!pageId && !!locale
3884
+ enabled: !!eventId && !!pageId && !!locale && locale !== "en"
3885
3885
  },
3886
3886
  "events"
3887
3887
  );
@@ -4180,7 +4180,7 @@ var useGetEventQuestionChoiceTranslation = (eventId = "", questionId = "", choic
4180
4180
  }),
4181
4181
  {
4182
4182
  ...options,
4183
- enabled: !!eventId && !!questionId && !!choiceId && !!locale
4183
+ enabled: !!eventId && !!questionId && !!choiceId && !!locale && locale !== "en"
4184
4184
  },
4185
4185
  "events"
4186
4186
  );
@@ -4265,7 +4265,7 @@ var useGetEventQuestionTranslation = (eventId = "", questionId = "", locale = ""
4265
4265
  }),
4266
4266
  {
4267
4267
  ...options,
4268
- enabled: !!eventId && !!questionId && !!locale && (options?.enabled ?? true)
4268
+ enabled: !!eventId && !!questionId && !!locale && locale !== "en" && (options?.enabled ?? true)
4269
4269
  },
4270
4270
  "events"
4271
4271
  );
@@ -5495,7 +5495,7 @@ var useGetReservationSectionLocationTranslation = (eventId = "", reservationSect
5495
5495
  }),
5496
5496
  {
5497
5497
  ...options,
5498
- enabled: !!eventId && !!reservationSectionId && !!locationId && !!locale && (options.enabled ?? true)
5498
+ enabled: !!eventId && !!reservationSectionId && !!locationId && !!locale && locale !== "en" && (options.enabled ?? true)
5499
5499
  },
5500
5500
  "events"
5501
5501
  );
@@ -5596,7 +5596,7 @@ var useGetReservationSectionTranslation = (eventId = "", reservationSectionId =
5596
5596
  }),
5597
5597
  {
5598
5598
  ...options,
5599
- enabled: !!eventId && !!reservationSectionId && !!locale && (options?.enabled ?? true)
5599
+ enabled: !!eventId && !!reservationSectionId && !!locale && locale !== "en" && (options?.enabled ?? true)
5600
5600
  },
5601
5601
  "events"
5602
5602
  );
@@ -5857,7 +5857,7 @@ var useGetEventSectionTranslation = (eventId = "", sectionId = "", locale = "",
5857
5857
  }),
5858
5858
  {
5859
5859
  ...options,
5860
- enabled: !!eventId && !!sectionId && !!locale
5860
+ enabled: !!eventId && !!sectionId && !!locale && locale !== "en"
5861
5861
  },
5862
5862
  "events"
5863
5863
  );
@@ -6206,7 +6206,7 @@ var useGetEventSessionTranslation = (eventId = "", sessionId = "", locale = "",
6206
6206
  }),
6207
6207
  {
6208
6208
  ...options,
6209
- enabled: !!eventId && !!locale
6209
+ enabled: !!eventId && !!locale && locale !== "en"
6210
6210
  },
6211
6211
  "events"
6212
6212
  );
@@ -6545,7 +6545,7 @@ var useGetEventSpeakerTranslation = (eventId = "", speakerId = "", locale = "",
6545
6545
  }),
6546
6546
  {
6547
6547
  ...options,
6548
- enabled: !!eventId && !!speakerId && !!locale && (options.enabled ?? true)
6548
+ enabled: !!eventId && !!speakerId && !!locale && locale !== "en" && (options.enabled ?? true)
6549
6549
  },
6550
6550
  "events"
6551
6551
  );
@@ -6833,7 +6833,7 @@ var useGetEventTicketTranslation = (eventId = "", ticketId = "", locale = "", op
6833
6833
  }),
6834
6834
  {
6835
6835
  ...options,
6836
- enabled: !!eventId && !!ticketId && !!locale
6836
+ enabled: !!eventId && !!ticketId && !!locale && locale !== "en"
6837
6837
  },
6838
6838
  "events"
6839
6839
  );
@@ -7170,7 +7170,7 @@ var useGetEventTrackTranslation = (eventId = "", trackId = "", locale = "", opti
7170
7170
  }),
7171
7171
  {
7172
7172
  ...options,
7173
- enabled: !!eventId && !!trackId && !!locale && (options.enabled ?? true)
7173
+ enabled: !!eventId && !!trackId && !!locale && locale !== "en" && (options.enabled ?? true)
7174
7174
  },
7175
7175
  "events"
7176
7176
  );
@@ -7335,7 +7335,7 @@ var useGetEventTranslation = (eventId = "", locale = "", options = {}) => {
7335
7335
  }),
7336
7336
  {
7337
7337
  ...options,
7338
- enabled: !!eventId && !!locale && (options?.enabled ?? true)
7338
+ enabled: !!eventId && !!locale && locale !== "en" && (options?.enabled ?? true)
7339
7339
  },
7340
7340
  "events"
7341
7341
  );
@@ -7742,7 +7742,7 @@ var useGetGroupTranslation = (groupId = "", locale = "", options = {}) => {
7742
7742
  }),
7743
7743
  {
7744
7744
  ...options,
7745
- enabled: !!groupId && !!locale && (options.enabled ?? true)
7745
+ enabled: !!groupId && !!locale && locale !== "en" && (options.enabled ?? true)
7746
7746
  },
7747
7747
  "groups"
7748
7748
  );
@@ -9274,7 +9274,7 @@ var useGetLevelTranslation = (levelId = "", locale = "", options = {}) => {
9274
9274
  }),
9275
9275
  {
9276
9276
  ...options,
9277
- enabled: !!levelId && !!locale && (options.enabled ?? true)
9277
+ enabled: !!levelId && !!locale && locale !== "en" && (options.enabled ?? true)
9278
9278
  },
9279
9279
  "levels"
9280
9280
  );
@@ -9367,6 +9367,31 @@ var useGetOrganizationModules = (options = {}) => {
9367
9367
  );
9368
9368
  };
9369
9369
 
9370
+ // src/queries/organization/modules/useGetOrganizationModule.ts
9371
+ var ORGANIZATION_MODULE_QUERY_KEY = (moduleType) => [...ORGANIZATION_MODULES_QUERY_KEY(), moduleType];
9372
+ var SET_ORGANIZATION_MODULE_QUERY_DATA = (client, keyParams, response) => {
9373
+ client.setQueryData(ORGANIZATION_MODULE_QUERY_KEY(...keyParams), response);
9374
+ };
9375
+ var GetOrganizationModule = async ({
9376
+ moduleType,
9377
+ adminApiParams
9378
+ }) => {
9379
+ const adminApi = await GetAdminAPI(adminApiParams);
9380
+ const { data } = await adminApi.get(`/organization/modules/${moduleType}`);
9381
+ return data;
9382
+ };
9383
+ var useGetOrganizationModule = (moduleType, options = {}) => {
9384
+ return useConnectedSingleQuery(
9385
+ ORGANIZATION_MODULE_QUERY_KEY(moduleType),
9386
+ (params) => GetOrganizationModule({ moduleType, ...params }),
9387
+ {
9388
+ enabled: !!moduleType && (options.enabled ?? true),
9389
+ ...options
9390
+ },
9391
+ "org"
9392
+ );
9393
+ };
9394
+
9370
9395
  // src/queries/organization/pages/useGetOrganizationPage.ts
9371
9396
  var ORGANIZATION_PAGE_QUERY_KEY = (type) => ["PAGE", type];
9372
9397
  var SET_ORGANIZATION_PAGE_QUERY_DATA = (client, keyParams, response) => {
@@ -9421,7 +9446,7 @@ var useGetOrganizationPageTranslation = (type, locale = "", options = {}) => {
9421
9446
  }),
9422
9447
  {
9423
9448
  ...options,
9424
- enabled: !!type && !!locale && (options.enabled ?? true)
9449
+ enabled: !!type && !!locale && locale !== "en" && (options.enabled ?? true)
9425
9450
  },
9426
9451
  "org"
9427
9452
  );
@@ -10887,62 +10912,6 @@ var useGetThread = (threadId = "", options = {}) => {
10887
10912
  );
10888
10913
  };
10889
10914
 
10890
- // src/queries/threads/useGetThreadEvents.ts
10891
- var THREAD_EVENTS_QUERY_KEY = () => {
10892
- return ["THREAD_EVENTS"];
10893
- };
10894
- var GetThreadEvents = async ({
10895
- pageParam,
10896
- pageSize,
10897
- orderBy,
10898
- search,
10899
- adminApiParams
10900
- }) => {
10901
- const adminApi = await GetAdminAPI(adminApiParams);
10902
- const { data } = await adminApi.get(`/threads/events`, {
10903
- params: {
10904
- page: pageParam,
10905
- pageSize,
10906
- orderBy,
10907
- search
10908
- }
10909
- });
10910
- return data;
10911
- };
10912
- var useGetThreadEvents = (params = {}, options = {}) => {
10913
- return useConnectedInfiniteQuery(
10914
- THREAD_EVENTS_QUERY_KEY(),
10915
- (params2) => GetThreadEvents({
10916
- ...params2
10917
- }),
10918
- params,
10919
- options,
10920
- "threads"
10921
- );
10922
- };
10923
-
10924
- // src/queries/threads/useGetThreadGroups.ts
10925
- var THREAD_GROUPS_QUERY_KEY = () => [...THREADS_QUERY_KEY(), "GROUPS"];
10926
- var GetThreadGroups = async ({
10927
- adminApiParams
10928
- }) => {
10929
- const adminApi = await GetAdminAPI(adminApiParams);
10930
- const { data } = await adminApi.get(`/threads/groups`);
10931
- return data;
10932
- };
10933
- var useGetThreadGroups = (params = {}, options = {}) => {
10934
- return useConnectedInfiniteQuery(
10935
- THREAD_GROUPS_QUERY_KEY(),
10936
- (params2) => GetThreadGroups({ ...params2 }),
10937
- params,
10938
- {
10939
- ...options,
10940
- enabled: options.enabled ?? true
10941
- },
10942
- "threads"
10943
- );
10944
- };
10945
-
10946
10915
  // src/queries/threads/useGetThreadMember.ts
10947
10916
  var THREAD_MEMBER_QUERY_KEY = (threadId, accountId) => [...THREADS_QUERY_KEY(), "MEMBER", threadId, accountId];
10948
10917
  var GetThreadMember = async ({
@@ -11318,58 +11287,6 @@ var useGetThreadModerators = (threadId = "", params = {}, options = {}) => {
11318
11287
  );
11319
11288
  };
11320
11289
 
11321
- // src/queries/threads/useGetThreadsEvent.ts
11322
- var THREAD_EVENT_QUERY_KEY = (eventId) => [
11323
- ...THREADS_QUERY_KEY(),
11324
- "EVENT",
11325
- eventId
11326
- ];
11327
- var GetThreadsEvent = async ({
11328
- eventId,
11329
- adminApiParams
11330
- }) => {
11331
- const adminApi = await GetAdminAPI(adminApiParams);
11332
- const { data } = await adminApi.get(`/threads/events/${eventId}`);
11333
- return data;
11334
- };
11335
- var useGetThreadsEvent = (eventId = "", options = {}) => {
11336
- return useConnectedSingleQuery(
11337
- THREAD_EVENT_QUERY_KEY(eventId),
11338
- (params) => GetThreadsEvent({ eventId, ...params }),
11339
- {
11340
- ...options,
11341
- enabled: !!eventId && (options?.enabled ?? true)
11342
- },
11343
- "threads"
11344
- );
11345
- };
11346
-
11347
- // src/queries/threads/useGetThreadsGroup.ts
11348
- var THREAD_GROUP_QUERY_KEY = (groupId) => [
11349
- ...THREADS_QUERY_KEY(),
11350
- "GROUP",
11351
- groupId
11352
- ];
11353
- var GetThreadsGroup = async ({
11354
- groupId,
11355
- adminApiParams
11356
- }) => {
11357
- const adminApi = await GetAdminAPI(adminApiParams);
11358
- const { data } = await adminApi.get(`/threads/groups/${groupId}`);
11359
- return data;
11360
- };
11361
- var useGetThreadsGroup = (groupId = "", options = {}) => {
11362
- return useConnectedSingleQuery(
11363
- THREAD_GROUP_QUERY_KEY(groupId),
11364
- (params) => GetThreadsGroup({ groupId, ...params }),
11365
- {
11366
- ...options,
11367
- enabled: !!groupId && (options?.enabled ?? true)
11368
- },
11369
- "threads"
11370
- );
11371
- };
11372
-
11373
11290
  // src/queries/tiers/useGetTiers.ts
11374
11291
  var TIERS_QUERY_KEY = (type) => {
11375
11292
  const keys = ["TIERS"];
@@ -20076,6 +19993,58 @@ var useUpdateOrganizationModuleActions = (options = {}) => {
20076
19993
  return useConnectedMutation(UpdateOrganizationModuleActions, options);
20077
19994
  };
20078
19995
 
19996
+ // src/mutations/organization/modules/useAddOrganizationModuleActionTier.ts
19997
+ var AddOrganizationModuleActionTier = async ({
19998
+ moduleType,
19999
+ actionType,
20000
+ tierId,
20001
+ adminApiParams,
20002
+ queryClient
20003
+ }) => {
20004
+ const connectedXM = await GetAdminAPI(adminApiParams);
20005
+ const { data } = await connectedXM.post(
20006
+ `/organization/modules/${moduleType}/actions/${actionType}/tiers/${tierId}`
20007
+ );
20008
+ if (queryClient && data.status === "ok") {
20009
+ queryClient.invalidateQueries({
20010
+ queryKey: ORGANIZATION_MODULES_QUERY_KEY()
20011
+ });
20012
+ queryClient.invalidateQueries({
20013
+ queryKey: ORGANIZATION_MODULE_QUERY_KEY(moduleType)
20014
+ });
20015
+ }
20016
+ return data;
20017
+ };
20018
+ var useAddOrganizationModuleActionTier = (options = {}) => {
20019
+ return useConnectedMutation(AddOrganizationModuleActionTier, options);
20020
+ };
20021
+
20022
+ // src/mutations/organization/modules/useRemoveOrganizationModuleActionTier.ts
20023
+ var RemoveOrganizationModuleActionTier = async ({
20024
+ moduleType,
20025
+ actionType,
20026
+ tierId,
20027
+ adminApiParams,
20028
+ queryClient
20029
+ }) => {
20030
+ const connectedXM = await GetAdminAPI(adminApiParams);
20031
+ const { data } = await connectedXM.delete(
20032
+ `/organization/modules/${moduleType}/actions/${actionType}/tiers/${tierId}`
20033
+ );
20034
+ if (queryClient && data.status === "ok") {
20035
+ queryClient.invalidateQueries({
20036
+ queryKey: ORGANIZATION_MODULES_QUERY_KEY()
20037
+ });
20038
+ queryClient.invalidateQueries({
20039
+ queryKey: ORGANIZATION_MODULE_QUERY_KEY(moduleType)
20040
+ });
20041
+ }
20042
+ return data;
20043
+ };
20044
+ var useRemoveOrganizationModuleActionTier = (options = {}) => {
20045
+ return useConnectedMutation(RemoveOrganizationModuleActionTier, options);
20046
+ };
20047
+
20079
20048
  // src/mutations/organization/pages/translations/useCreateOrganizationPageTranslation.ts
20080
20049
  var CreateOrganizationPageTranslation = async ({
20081
20050
  type,
@@ -21595,6 +21564,34 @@ var useDeleteThread = (options = {}) => {
21595
21564
  });
21596
21565
  };
21597
21566
 
21567
+ // src/mutations/threads/useAddThreadModerator.ts
21568
+ var AddThreadModerator = async ({
21569
+ threadId,
21570
+ accountId,
21571
+ adminApiParams,
21572
+ queryClient
21573
+ }) => {
21574
+ const connectedXM = await GetAdminAPI(adminApiParams);
21575
+ const { data } = await connectedXM.post(
21576
+ `/threads/${threadId}/moderators/${accountId}`
21577
+ );
21578
+ if (queryClient && data.status === "ok") {
21579
+ queryClient.invalidateQueries({
21580
+ queryKey: THREAD_MODERATORS_QUERY_KEY(threadId)
21581
+ });
21582
+ queryClient.invalidateQueries({
21583
+ queryKey: THREAD_MEMBERS_QUERY_KEY(threadId)
21584
+ });
21585
+ }
21586
+ return data;
21587
+ };
21588
+ var useAddThreadModerator = (options = {}) => {
21589
+ return useConnectedMutation(AddThreadModerator, options, {
21590
+ domain: "threads",
21591
+ type: "update"
21592
+ });
21593
+ };
21594
+
21598
21595
  // src/mutations/tier/useAddTierAccount.ts
21599
21596
  var AddTierAccount = async ({
21600
21597
  tierId,
@@ -21873,10 +21870,12 @@ export {
21873
21870
  AddGroupModerator,
21874
21871
  AddGroupSponsor,
21875
21872
  AddLevelAccount,
21873
+ AddOrganizationModuleActionTier,
21876
21874
  AddOrganizationUser,
21877
21875
  AddSeriesEvent,
21878
21876
  AddSubscriptionProductTier,
21879
21877
  AddThreadMember,
21878
+ AddThreadModerator,
21880
21879
  AddTierAccount,
21881
21880
  AdvertisementType,
21882
21881
  AppendInfiniteQuery,
@@ -22422,6 +22421,7 @@ export {
22422
22421
  GetLevels,
22423
22422
  GetOrganization,
22424
22423
  GetOrganizationMembership,
22424
+ GetOrganizationModule,
22425
22425
  GetOrganizationModules,
22426
22426
  GetOrganizationPage,
22427
22427
  GetOrganizationPageTranslation,
@@ -22473,8 +22473,6 @@ export {
22473
22473
  GetSupportTicket,
22474
22474
  GetSupportTickets,
22475
22475
  GetThread,
22476
- GetThreadEvents,
22477
- GetThreadGroups,
22478
22476
  GetThreadMember,
22479
22477
  GetThreadMembers,
22480
22478
  GetThreadMessage,
@@ -22482,8 +22480,6 @@ export {
22482
22480
  GetThreadMessages,
22483
22481
  GetThreadModerators,
22484
22482
  GetThreads,
22485
- GetThreadsEvent,
22486
- GetThreadsGroup,
22487
22483
  GetTier,
22488
22484
  GetTierAccounts,
22489
22485
  GetTierSubscribers,
@@ -22527,6 +22523,7 @@ export {
22527
22523
  NotificationType,
22528
22524
  ORGANIZATION_MEMBERSHIP_QUERY_KEY,
22529
22525
  ORGANIZATION_MODULES_QUERY_KEY,
22526
+ ORGANIZATION_MODULE_QUERY_KEY,
22530
22527
  ORGANIZATION_PAGE_QUERY_KEY,
22531
22528
  ORGANIZATION_PAGE_TRANSLATIONS_QUERY_KEY,
22532
22529
  ORGANIZATION_PAGE_TRANSLATION_QUERY_KEY,
@@ -22596,6 +22593,7 @@ export {
22596
22593
  RemoveGroupModerator,
22597
22594
  RemoveGroupSponsor,
22598
22595
  RemoveLevelAccount,
22596
+ RemoveOrganizationModuleActionTier,
22599
22597
  RemoveSeriesEvent,
22600
22598
  RemoveSubscriptionProductTier,
22601
22599
  RemoveThreadMember,
@@ -22825,6 +22823,7 @@ export {
22825
22823
  SET_LEVEL_TRANSLATION_QUERY_DATA,
22826
22824
  SET_ORGANIZATION_MEMBERSHIP_QUERY_DATA,
22827
22825
  SET_ORGANIZATION_MODULES_QUERY_DATA,
22826
+ SET_ORGANIZATION_MODULE_QUERY_DATA,
22828
22827
  SET_ORGANIZATION_PAGE_QUERY_DATA,
22829
22828
  SET_ORGANIZATION_PAGE_TRANSLATIONS_QUERY_DATA,
22830
22829
  SET_ORGANIZATION_PAGE_TRANSLATION_QUERY_DATA,
@@ -22903,10 +22902,6 @@ export {
22903
22902
  SupportTicketType,
22904
22903
  SwitchImage,
22905
22904
  THREADS_QUERY_KEY,
22906
- THREAD_EVENTS_QUERY_KEY,
22907
- THREAD_EVENT_QUERY_KEY,
22908
- THREAD_GROUPS_QUERY_KEY,
22909
- THREAD_GROUP_QUERY_KEY,
22910
22905
  THREAD_MEMBERS_QUERY_KEY,
22911
22906
  THREAD_MEMBER_QUERY_KEY,
22912
22907
  THREAD_MESSAGES_QUERY_KEY,
@@ -23066,10 +23061,12 @@ export {
23066
23061
  useAddGroupModerator,
23067
23062
  useAddGroupSponsor,
23068
23063
  useAddLevelAccount,
23064
+ useAddOrganizationModuleActionTier,
23069
23065
  useAddOrganizationUser,
23070
23066
  useAddSeriesEvent,
23071
23067
  useAddSubscriptionProductTier,
23072
23068
  useAddThreadMember,
23069
+ useAddThreadModerator,
23073
23070
  useAddTierAccount,
23074
23071
  useApplyEventRegistrationCoupon,
23075
23072
  useApproveEvent,
@@ -23438,6 +23435,7 @@ export {
23438
23435
  useGetLevels,
23439
23436
  useGetOrganization,
23440
23437
  useGetOrganizationMembership,
23438
+ useGetOrganizationModule,
23441
23439
  useGetOrganizationModules,
23442
23440
  useGetOrganizationPage,
23443
23441
  useGetOrganizationPageTranslation,
@@ -23489,8 +23487,6 @@ export {
23489
23487
  useGetSupportTicket,
23490
23488
  useGetSupportTickets,
23491
23489
  useGetThread,
23492
- useGetThreadEvents,
23493
- useGetThreadGroups,
23494
23490
  useGetThreadMember,
23495
23491
  useGetThreadMembers,
23496
23492
  useGetThreadMessage,
@@ -23498,8 +23494,6 @@ export {
23498
23494
  useGetThreadMessages,
23499
23495
  useGetThreadModerators,
23500
23496
  useGetThreads,
23501
- useGetThreadsEvent,
23502
- useGetThreadsGroup,
23503
23497
  useGetTier,
23504
23498
  useGetTierAccounts,
23505
23499
  useGetTierSubscribers,
@@ -23549,6 +23543,7 @@ export {
23549
23543
  useRemoveGroupModerator,
23550
23544
  useRemoveGroupSponsor,
23551
23545
  useRemoveLevelAccount,
23546
+ useRemoveOrganizationModuleActionTier,
23552
23547
  useRemoveSeriesEvent,
23553
23548
  useRemoveSubscriptionProductTier,
23554
23549
  useRemoveThreadMember,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {