@connectedxm/admin 2.11.0 → 2.11.1

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.cjs CHANGED
@@ -135,7 +135,6 @@ __export(index_exports, {
135
135
  AddSeriesEvent: () => AddSeriesEvent,
136
136
  AddSurveyQuestionChoiceSubQuestion: () => AddSurveyQuestionChoiceSubQuestion,
137
137
  AddSurveySectionQuestion: () => AddSurveySectionQuestion,
138
- AddTierAccount: () => AddTierAccount,
139
138
  AdvertisementType: () => AdvertisementType,
140
139
  AppendInfiniteQuery: () => AppendInfiniteQuery,
141
140
  AuthLayout: () => AuthLayout,
@@ -1299,7 +1298,6 @@ __export(index_exports, {
1299
1298
  RemoveSeriesEvent: () => RemoveSeriesEvent,
1300
1299
  RemoveSurveyQuestionChoiceSubQuestion: () => RemoveSurveyQuestionChoiceSubQuestion,
1301
1300
  RemoveSurveySectionQuestion: () => RemoveSurveySectionQuestion,
1302
- RemoveTierAccount: () => RemoveTierAccount,
1303
1301
  RemoveTierAccounts: () => RemoveTierAccounts,
1304
1302
  ReorderEventFaqSectionQuestions: () => ReorderEventFaqSectionQuestions,
1305
1303
  ReorderEventQuestionChoiceSubQuestions: () => ReorderEventQuestionChoiceSubQuestions,
@@ -2068,7 +2066,6 @@ __export(index_exports, {
2068
2066
  useAddSeriesEvent: () => useAddSeriesEvent,
2069
2067
  useAddSurveyQuestionChoiceSubQuestion: () => useAddSurveyQuestionChoiceSubQuestion,
2070
2068
  useAddSurveySectionQuestion: () => useAddSurveySectionQuestion,
2071
- useAddTierAccount: () => useAddTierAccount,
2072
2069
  useCancelAnnouncementSchedule: () => useCancelAnnouncementSchedule,
2073
2070
  useCancelChannelContentPublishSchedule: () => useCancelChannelContentPublishSchedule,
2074
2071
  useCancelEventPass: () => useCancelEventPass,
@@ -2860,7 +2857,6 @@ __export(index_exports, {
2860
2857
  useRemoveSeriesEvent: () => useRemoveSeriesEvent,
2861
2858
  useRemoveSurveyQuestionChoiceSubQuestion: () => useRemoveSurveyQuestionChoiceSubQuestion,
2862
2859
  useRemoveSurveySectionQuestion: () => useRemoveSurveySectionQuestion,
2863
- useRemoveTierAccount: () => useRemoveTierAccount,
2864
2860
  useRemoveTierAccounts: () => useRemoveTierAccounts,
2865
2861
  useReorderEventFaqSectionQuestions: () => useReorderEventFaqSectionQuestions,
2866
2862
  useReorderEventQuestionChoiceSubQuestions: () => useReorderEventQuestionChoiceSubQuestions,
@@ -38857,32 +38853,6 @@ var useUpdateThreadMessage = (options = {}) => {
38857
38853
  });
38858
38854
  };
38859
38855
 
38860
- // src/mutations/tier/useAddTierAccount.ts
38861
- var AddTierAccount = async ({
38862
- tierId,
38863
- accountId,
38864
- adminApiParams,
38865
- queryClient
38866
- }) => {
38867
- const connectedXM = await GetAdminAPI(adminApiParams);
38868
- const { data } = await connectedXM.post(
38869
- `/tiers/${tierId}/accounts/${accountId}`
38870
- );
38871
- if (queryClient && data.status === "ok") {
38872
- SET_TIER_QUERY_DATA(queryClient, [tierId], data);
38873
- queryClient.invalidateQueries({
38874
- queryKey: TIER_ACCOUNTS_QUERY_KEY(tierId)
38875
- });
38876
- }
38877
- return data;
38878
- };
38879
- var useAddTierAccount = (options = {}) => {
38880
- return useConnectedMutation(AddTierAccount, options, {
38881
- domain: "accounts",
38882
- type: "update"
38883
- });
38884
- };
38885
-
38886
38856
  // src/mutations/tier/useCreateTier.ts
38887
38857
  var CreateTier = async ({
38888
38858
  tier,
@@ -38930,32 +38900,6 @@ var useDeleteTier = (options = {}) => {
38930
38900
  });
38931
38901
  };
38932
38902
 
38933
- // src/mutations/tier/useRemoveTierAccount.ts
38934
- var RemoveTierAccount = async ({
38935
- tierId,
38936
- accountId,
38937
- adminApiParams,
38938
- queryClient
38939
- }) => {
38940
- const connectedXM = await GetAdminAPI(adminApiParams);
38941
- const { data } = await connectedXM.delete(
38942
- `/tiers/${tierId}/accounts/${accountId}`
38943
- );
38944
- if (queryClient && data.status === "ok") {
38945
- SET_TIER_QUERY_DATA(queryClient, [tierId], data);
38946
- queryClient.invalidateQueries({
38947
- queryKey: TIER_ACCOUNTS_QUERY_KEY(tierId)
38948
- });
38949
- }
38950
- return data;
38951
- };
38952
- var useRemoveTierAccount = (options = {}) => {
38953
- return useConnectedMutation(RemoveTierAccount, options, {
38954
- domain: "accounts",
38955
- type: "update"
38956
- });
38957
- };
38958
-
38959
38903
  // src/mutations/tier/useRemoveTierAccounts.ts
38960
38904
  var RemoveTierAccounts = async ({
38961
38905
  tierId,
@@ -39323,7 +39267,6 @@ var useUploadVideoCaptions = (options = {}) => {
39323
39267
  AddSeriesEvent,
39324
39268
  AddSurveyQuestionChoiceSubQuestion,
39325
39269
  AddSurveySectionQuestion,
39326
- AddTierAccount,
39327
39270
  AdvertisementType,
39328
39271
  AppendInfiniteQuery,
39329
39272
  AuthLayout,
@@ -40487,7 +40430,6 @@ var useUploadVideoCaptions = (options = {}) => {
40487
40430
  RemoveSeriesEvent,
40488
40431
  RemoveSurveyQuestionChoiceSubQuestion,
40489
40432
  RemoveSurveySectionQuestion,
40490
- RemoveTierAccount,
40491
40433
  RemoveTierAccounts,
40492
40434
  ReorderEventFaqSectionQuestions,
40493
40435
  ReorderEventQuestionChoiceSubQuestions,
@@ -41256,7 +41198,6 @@ var useUploadVideoCaptions = (options = {}) => {
41256
41198
  useAddSeriesEvent,
41257
41199
  useAddSurveyQuestionChoiceSubQuestion,
41258
41200
  useAddSurveySectionQuestion,
41259
- useAddTierAccount,
41260
41201
  useCancelAnnouncementSchedule,
41261
41202
  useCancelChannelContentPublishSchedule,
41262
41203
  useCancelEventPass,
@@ -42048,7 +41989,6 @@ var useUploadVideoCaptions = (options = {}) => {
42048
41989
  useRemoveSeriesEvent,
42049
41990
  useRemoveSurveyQuestionChoiceSubQuestion,
42050
41991
  useRemoveSurveySectionQuestion,
42051
- useRemoveTierAccount,
42052
41992
  useRemoveTierAccounts,
42053
41993
  useReorderEventFaqSectionQuestions,
42054
41994
  useReorderEventQuestionChoiceSubQuestions,