@connectedxm/admin 2.8.19 → 2.8.21

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
@@ -1139,6 +1139,7 @@ __export(index_exports, {
1139
1139
  GetThreadMessageReactions: () => GetThreadMessageReactions,
1140
1140
  GetThreadMessageVideos: () => GetThreadMessageVideos,
1141
1141
  GetThreadMessages: () => GetThreadMessages,
1142
+ GetThreadMessagesPoll: () => GetThreadMessagesPoll,
1142
1143
  GetThreads: () => GetThreads,
1143
1144
  GetTier: () => GetTier,
1144
1145
  GetTierAccounts: () => GetTierAccounts,
@@ -1149,6 +1150,7 @@ __export(index_exports, {
1149
1150
  GetTiers: () => GetTiers,
1150
1151
  GetVideo: () => GetVideo,
1151
1152
  GetVideoCaptions: () => GetVideoCaptions,
1153
+ GetVideoDownloadStatus: () => GetVideoDownloadStatus,
1152
1154
  GetVideos: () => GetVideos,
1153
1155
  GroupAccess: () => GroupAccess,
1154
1156
  GroupInvitationStatus: () => GroupInvitationStatus,
@@ -1180,6 +1182,7 @@ __export(index_exports, {
1180
1182
  ImpersonateAccount: () => ImpersonateAccount,
1181
1183
  ImportItemStatus: () => ImportItemStatus,
1182
1184
  ImportType: () => ImportType,
1185
+ InitiateVideoDownload: () => InitiateVideoDownload,
1183
1186
  IntegrationType: () => IntegrationType,
1184
1187
  InvoiceStatus: () => InvoiceStatus,
1185
1188
  LEVELS_QUERY_KEY: () => LEVELS_QUERY_KEY,
@@ -1733,6 +1736,7 @@ __export(index_exports, {
1733
1736
  SET_THREAD_CIRCLE_ACCOUNT_QUERY_DATA: () => SET_THREAD_CIRCLE_ACCOUNT_QUERY_DATA,
1734
1737
  SET_THREAD_CIRCLE_QUERY_DATA: () => SET_THREAD_CIRCLE_QUERY_DATA,
1735
1738
  SET_THREAD_CIRCLE_THREADS_QUERY_DATA: () => SET_THREAD_CIRCLE_THREADS_QUERY_DATA,
1739
+ SET_THREAD_MESSAGES_POLL_QUERY_DATA: () => SET_THREAD_MESSAGES_POLL_QUERY_DATA,
1736
1740
  SET_THREAD_MESSAGES_QUERY_DATA: () => SET_THREAD_MESSAGES_QUERY_DATA,
1737
1741
  SET_THREAD_MESSAGE_FILES_QUERY_DATA: () => SET_THREAD_MESSAGE_FILES_QUERY_DATA,
1738
1742
  SET_THREAD_MESSAGE_IMAGES_QUERY_DATA: () => SET_THREAD_MESSAGE_IMAGES_QUERY_DATA,
@@ -1747,6 +1751,7 @@ __export(index_exports, {
1747
1751
  SET_TIER_SUBSCRIBERS_QUERY_DATA: () => SET_TIER_SUBSCRIBERS_QUERY_DATA,
1748
1752
  SET_VIDEOS_QUERY_DATA: () => SET_VIDEOS_QUERY_DATA,
1749
1753
  SET_VIDEO_CAPTIONS_QUERY_DATA: () => SET_VIDEO_CAPTIONS_QUERY_DATA,
1754
+ SET_VIDEO_DOWNLOAD_STATUS_QUERY_DATA: () => SET_VIDEO_DOWNLOAD_STATUS_QUERY_DATA,
1750
1755
  SET_VIDEO_QUERY_DATA: () => SET_VIDEO_QUERY_DATA,
1751
1756
  STREAM_INPUTS_QUERY_KEY: () => STREAM_INPUTS_QUERY_KEY,
1752
1757
  STREAM_INPUT_OUTPUTS_QUERY_KEY: () => STREAM_INPUT_OUTPUTS_QUERY_KEY,
@@ -1808,6 +1813,7 @@ __export(index_exports, {
1808
1813
  THREAD_CIRCLE_QUERY_KEY: () => THREAD_CIRCLE_QUERY_KEY,
1809
1814
  THREAD_CIRCLE_THREADS_QUERY_KEY: () => THREAD_CIRCLE_THREADS_QUERY_KEY,
1810
1815
  THREAD_MEMBERS_QUERY_KEY: () => THREAD_MEMBERS_QUERY_KEY,
1816
+ THREAD_MESSAGES_POLL_QUERY_KEY: () => THREAD_MESSAGES_POLL_QUERY_KEY,
1811
1817
  THREAD_MESSAGES_QUERY_KEY: () => THREAD_MESSAGES_QUERY_KEY,
1812
1818
  THREAD_MESSAGE_FILES_QUERY_KEY: () => THREAD_MESSAGE_FILES_QUERY_KEY,
1813
1819
  THREAD_MESSAGE_IMAGES_QUERY_KEY: () => THREAD_MESSAGE_IMAGES_QUERY_KEY,
@@ -1995,6 +2001,7 @@ __export(index_exports, {
1995
2001
  UserRole: () => UserRole,
1996
2002
  VIDEOS_QUERY_KEY: () => VIDEOS_QUERY_KEY,
1997
2003
  VIDEO_CAPTIONS_QUERY_KEY: () => VIDEO_CAPTIONS_QUERY_KEY,
2004
+ VIDEO_DOWNLOAD_STATUS_QUERY_KEY: () => VIDEO_DOWNLOAD_STATUS_QUERY_KEY,
1998
2005
  VIDEO_QUERY_KEY: () => VIDEO_QUERY_KEY,
1999
2006
  VerifyOrganizationWebhook: () => VerifyOrganizationWebhook,
2000
2007
  VideoSource: () => VideoSource,
@@ -2064,6 +2071,7 @@ __export(index_exports, {
2064
2071
  useCancelSubscription: () => useCancelSubscription,
2065
2072
  useCloneEvent: () => useCloneEvent,
2066
2073
  useConfirmAccountLogin: () => useConfirmAccountLogin,
2074
+ useConnectedCursorQuery: () => useConnectedCursorQuery,
2067
2075
  useConnectedInfiniteQuery: () => useConnectedInfiniteQuery,
2068
2076
  useConnectedMutation: () => useConnectedMutation,
2069
2077
  useConnectedSingleQuery: () => useConnectedSingleQuery,
@@ -2777,6 +2785,7 @@ __export(index_exports, {
2777
2785
  useGetThreadMessageReactions: () => useGetThreadMessageReactions,
2778
2786
  useGetThreadMessageVideos: () => useGetThreadMessageVideos,
2779
2787
  useGetThreadMessages: () => useGetThreadMessages,
2788
+ useGetThreadMessagesPoll: () => useGetThreadMessagesPoll,
2780
2789
  useGetThreads: () => useGetThreads,
2781
2790
  useGetTier: () => useGetTier,
2782
2791
  useGetTierAccounts: () => useGetTierAccounts,
@@ -2787,8 +2796,10 @@ __export(index_exports, {
2787
2796
  useGetTiers: () => useGetTiers,
2788
2797
  useGetVideo: () => useGetVideo,
2789
2798
  useGetVideoCaptions: () => useGetVideoCaptions,
2799
+ useGetVideoDownloadStatus: () => useGetVideoDownloadStatus,
2790
2800
  useGetVideos: () => useGetVideos,
2791
2801
  useImpersonateAccount: () => useImpersonateAccount,
2802
+ useInitiateVideoDownload: () => useInitiateVideoDownload,
2792
2803
  useRefundOrganizationPayment: () => useRefundOrganizationPayment,
2793
2804
  useReinviteGroupInvitation: () => useReinviteGroupInvitation,
2794
2805
  useRejectGroupRequest: () => useRejectGroupRequest,
@@ -3032,7 +3043,7 @@ module.exports = __toCommonJS(index_exports);
3032
3043
 
3033
3044
  // src/ConnectedXMProvider.tsx
3034
3045
  var import_react2 = __toESM(require("react"), 1);
3035
- var import_react_query3 = require("@tanstack/react-query");
3046
+ var import_react_query4 = require("@tanstack/react-query");
3036
3047
 
3037
3048
  // src/PermissionsWrapper.tsx
3038
3049
  var import_react = __toESM(require("react"), 1);
@@ -20868,6 +20879,71 @@ var useGetThreadMembers = (threadId = "", params = {}, options = {}) => {
20868
20879
  );
20869
20880
  };
20870
20881
 
20882
+ // src/queries/useConnectedCursorQuery.ts
20883
+ var import_react_query3 = require("@tanstack/react-query");
20884
+ var useConnectedCursorQuery = (queryKeys, queryFn, params = {}, options = {
20885
+ shouldRedirect: false
20886
+ }, domain) => {
20887
+ if (typeof params.pageSize === "undefined") params.pageSize = 25;
20888
+ const {
20889
+ onModuleForbidden,
20890
+ onNotAuthorized,
20891
+ onNotFound,
20892
+ apiUrl,
20893
+ getToken,
20894
+ organizationId,
20895
+ getExecuteAs,
20896
+ queryClient
20897
+ } = useConnectedXM();
20898
+ const { allowed } = usePermission_default(domain, domain ? "read" : void 0);
20899
+ const getNextPageParam = (lastPage) => {
20900
+ if (lastPage.cursor) {
20901
+ return lastPage.cursor;
20902
+ }
20903
+ return null;
20904
+ };
20905
+ return (0, import_react_query3.useInfiniteQuery)({
20906
+ staleTime: 60 * 1e3,
20907
+ // 60 Seconds
20908
+ retry: (failureCount, error) => {
20909
+ if (error.response?.status === 404) {
20910
+ if (onNotFound) onNotFound(error, queryKeys, options.shouldRedirect || false);
20911
+ return false;
20912
+ }
20913
+ if (error.response?.status === 403 || error.response?.status === 460 || error.response?.status === 461) {
20914
+ if (onModuleForbidden) onModuleForbidden(error, queryKeys, options.shouldRedirect || false);
20915
+ return false;
20916
+ }
20917
+ if (error.response?.status === 401) {
20918
+ if (onNotAuthorized) onNotAuthorized(error, queryKeys, options.shouldRedirect || false);
20919
+ return false;
20920
+ }
20921
+ if (failureCount < 3) return true;
20922
+ return false;
20923
+ },
20924
+ ...options,
20925
+ queryKey: [
20926
+ ...queryKeys,
20927
+ ...GetBaseInfiniteQueryKeys(params?.search)
20928
+ ],
20929
+ queryFn: ({ pageParam }) => queryFn({
20930
+ ...params,
20931
+ pageSize: params.pageSize || 25,
20932
+ cursor: pageParam,
20933
+ queryClient,
20934
+ adminApiParams: {
20935
+ apiUrl,
20936
+ getToken,
20937
+ organizationId,
20938
+ getExecuteAs
20939
+ }
20940
+ }),
20941
+ initialPageParam: null,
20942
+ getNextPageParam,
20943
+ enabled: (!domain || allowed) && options.enabled
20944
+ });
20945
+ };
20946
+
20871
20947
  // src/utilities/AppendInfiniteQuery.ts
20872
20948
  var import_immer = require("immer");
20873
20949
  var AppendInfiniteQuery = (queryClient, key, newData) => {
@@ -20991,7 +21067,7 @@ var THREAD_MESSAGES_QUERY_KEY = (threadId) => [
20991
21067
  ...THREAD_QUERY_KEY(threadId),
20992
21068
  "MESSAGES"
20993
21069
  ];
20994
- var SET_THREAD_MESSAGES_QUERY_DATA = (client, keyParams, response, baseKeys = ["en"]) => {
21070
+ var SET_THREAD_MESSAGES_QUERY_DATA = (client, keyParams, response, baseKeys = [""]) => {
20995
21071
  client.setQueryData(
20996
21072
  [
20997
21073
  ...THREAD_MESSAGES_QUERY_KEY(...keyParams),
@@ -21002,7 +21078,7 @@ var SET_THREAD_MESSAGES_QUERY_DATA = (client, keyParams, response, baseKeys = ["
21002
21078
  };
21003
21079
  var GetThreadMessages = async ({
21004
21080
  threadId,
21005
- pageParam,
21081
+ cursor,
21006
21082
  pageSize,
21007
21083
  orderBy,
21008
21084
  search,
@@ -21012,7 +21088,7 @@ var GetThreadMessages = async ({
21012
21088
  const adminApi = await GetAdminAPI(adminApiParams);
21013
21089
  const { data } = await adminApi.get(`/threads/${threadId}/messages`, {
21014
21090
  params: {
21015
- page: pageParam || void 0,
21091
+ cursor: cursor || void 0,
21016
21092
  pageSize: pageSize || void 0,
21017
21093
  orderBy: orderBy || void 0,
21018
21094
  search: search || void 0
@@ -21029,7 +21105,7 @@ var GetThreadMessages = async ({
21029
21105
  };
21030
21106
  var useGetThreadMessages = (threadId = "", params = {}, options = {}) => {
21031
21107
  const { authenticated } = useConnectedXM();
21032
- return useConnectedInfiniteQuery(
21108
+ return useConnectedCursorQuery(
21033
21109
  THREAD_MESSAGES_QUERY_KEY(threadId),
21034
21110
  (params2) => GetThreadMessages({ ...params2, threadId }),
21035
21111
  params,
@@ -21260,6 +21336,46 @@ var useGetThreadMessageVideos = (threadId, messageId, params = {}, options = {})
21260
21336
  );
21261
21337
  };
21262
21338
 
21339
+ // src/queries/threads/useGetThreadMessagesPoll.ts
21340
+ var THREAD_MESSAGES_POLL_QUERY_KEY = (threadId, lastMessageId) => [
21341
+ ...THREAD_QUERY_KEY(threadId),
21342
+ "MESSAGES",
21343
+ lastMessageId,
21344
+ "POLL"
21345
+ ];
21346
+ var SET_THREAD_MESSAGES_POLL_QUERY_DATA = (client, keyParams, response) => {
21347
+ client.setQueryData(THREAD_MESSAGES_POLL_QUERY_KEY(...keyParams), response);
21348
+ };
21349
+ var GetThreadMessagesPoll = async ({
21350
+ threadId,
21351
+ lastMessageId,
21352
+ adminApiParams
21353
+ }) => {
21354
+ const adminApi = await GetAdminAPI(adminApiParams);
21355
+ const { data } = await adminApi.get(`/threads/${threadId}/messages/poll`, {
21356
+ params: {
21357
+ lastMessageId: lastMessageId || void 0
21358
+ }
21359
+ });
21360
+ return data;
21361
+ };
21362
+ var useGetThreadMessagesPoll = (threadId = "", lastMessageId = "", options = {}) => {
21363
+ const { authenticated } = useConnectedXM();
21364
+ return useConnectedSingleQuery(
21365
+ THREAD_MESSAGES_POLL_QUERY_KEY(threadId, lastMessageId),
21366
+ (params) => GetThreadMessagesPoll({ ...params, threadId, lastMessageId }),
21367
+ {
21368
+ ...options,
21369
+ enabled: !!authenticated && !!threadId && !!lastMessageId && (options?.enabled ?? true),
21370
+ // Polling configuration - you can adjust these as needed
21371
+ refetchInterval: options.refetchInterval ?? 5e3,
21372
+ // Poll every 5 seconds
21373
+ refetchIntervalInBackground: options.refetchIntervalInBackground ?? false
21374
+ },
21375
+ "threads"
21376
+ );
21377
+ };
21378
+
21263
21379
  // src/queries/tiers/useGetTiers.ts
21264
21380
  var TIERS_QUERY_KEY = (type) => {
21265
21381
  const keys = ["TIERS"];
@@ -21620,6 +21736,35 @@ var useGetVideoCaptions = (videoId = "", params = {}, options = {}) => {
21620
21736
  );
21621
21737
  };
21622
21738
 
21739
+ // src/queries/videos/useGetVideoDownloadStatus.ts
21740
+ var VIDEO_DOWNLOAD_STATUS_QUERY_KEY = (videoId) => [
21741
+ ...VIDEOS_QUERY_KEY(""),
21742
+ videoId,
21743
+ "download-status"
21744
+ ];
21745
+ var SET_VIDEO_DOWNLOAD_STATUS_QUERY_DATA = (client, keyParams, response) => {
21746
+ client.setQueryData(VIDEO_DOWNLOAD_STATUS_QUERY_KEY(...keyParams), response);
21747
+ };
21748
+ var GetVideoDownloadStatus = async ({
21749
+ videoId,
21750
+ adminApiParams
21751
+ }) => {
21752
+ const adminApi = await GetAdminAPI(adminApiParams);
21753
+ const { data } = await adminApi.get(`/videos/${videoId}/downloads`);
21754
+ return data;
21755
+ };
21756
+ var useGetVideoDownloadStatus = (videoId = "", options = {}) => {
21757
+ return useConnectedSingleQuery(
21758
+ VIDEO_DOWNLOAD_STATUS_QUERY_KEY(videoId),
21759
+ (params) => GetVideoDownloadStatus({ videoId, ...params }),
21760
+ {
21761
+ ...options,
21762
+ enabled: !!videoId && (options?.enabled ?? true)
21763
+ },
21764
+ "storage"
21765
+ );
21766
+ };
21767
+
21623
21768
  // src/PermissionsWrapper.tsx
21624
21769
  var PermissionsWrapper = ({
21625
21770
  children,
@@ -21666,7 +21811,7 @@ var ConnectedXMProvider = ({
21666
21811
  setSSR(false);
21667
21812
  }, []);
21668
21813
  if (ssr) {
21669
- return /* @__PURE__ */ import_react2.default.createElement(import_react_query3.QueryClientProvider, { client: queryClient }, /* @__PURE__ */ import_react2.default.createElement(
21814
+ return /* @__PURE__ */ import_react2.default.createElement(import_react_query4.QueryClientProvider, { client: queryClient }, /* @__PURE__ */ import_react2.default.createElement(
21670
21815
  ConnectedXMClientContext.Provider,
21671
21816
  {
21672
21817
  value: {
@@ -21724,15 +21869,15 @@ var useConnectedXM = () => {
21724
21869
  };
21725
21870
 
21726
21871
  // src/mutations/useConnectedMutation.ts
21727
- var import_react_query4 = require("@tanstack/react-query");
21872
+ var import_react_query5 = require("@tanstack/react-query");
21728
21873
  var useConnectedMutation = (mutation, options, permission) => {
21729
21874
  const { apiUrl, getToken, organizationId, getExecuteAs, onMutationError } = useConnectedXM();
21730
- const queryClient = (0, import_react_query4.useQueryClient)();
21875
+ const queryClient = (0, import_react_query5.useQueryClient)();
21731
21876
  const { allowed, enabled } = usePermission_default(
21732
21877
  permission?.domain,
21733
21878
  permission?.type
21734
21879
  );
21735
- return (0, import_react_query4.useMutation)({
21880
+ return (0, import_react_query5.useMutation)({
21736
21881
  mutationFn: (data) => {
21737
21882
  if (!!permission?.domain && !!permission.type) {
21738
21883
  if (!enabled) {
@@ -38829,7 +38974,7 @@ var useDeleteVideoCaption = (options = {}) => {
38829
38974
  };
38830
38975
 
38831
38976
  // src/mutations/videos/useDownloadVideoCaption.ts
38832
- var import_react_query5 = require("@tanstack/react-query");
38977
+ var import_react_query6 = require("@tanstack/react-query");
38833
38978
  var DownloadVideoCaption = async ({
38834
38979
  videoId,
38835
38980
  language,
@@ -38846,7 +38991,7 @@ var DownloadVideoCaption = async ({
38846
38991
  };
38847
38992
  var useDownloadVideoCaption = (options = {}) => {
38848
38993
  const { apiUrl, getToken, organizationId, getExecuteAs } = useConnectedXM();
38849
- return (0, import_react_query5.useMutation)({
38994
+ return (0, import_react_query6.useMutation)({
38850
38995
  mutationFn: (params) => DownloadVideoCaption({
38851
38996
  ...params,
38852
38997
  adminApiParams: {
@@ -38886,6 +39031,29 @@ var useGenerateVideoCaptions = (options = {}) => {
38886
39031
  });
38887
39032
  };
38888
39033
 
39034
+ // src/mutations/videos/useInitiateVideoDownload.ts
39035
+ var InitiateVideoDownload = async ({
39036
+ videoId,
39037
+ adminApiParams,
39038
+ queryClient
39039
+ }) => {
39040
+ const connectedXM = await GetAdminAPI(adminApiParams);
39041
+ const { data } = await connectedXM.post(`/videos/${videoId}/downloads`);
39042
+ if (queryClient && data.status === "ok") {
39043
+ queryClient.invalidateQueries({ queryKey: VIDEOS_QUERY_KEY() });
39044
+ if (data.data?.default?.url) {
39045
+ queryClient.invalidateQueries({ queryKey: VIDEOS_QUERY_KEY(videoId) });
39046
+ }
39047
+ }
39048
+ return data;
39049
+ };
39050
+ var useInitiateVideoDownload = (options = {}) => {
39051
+ return useConnectedMutation(InitiateVideoDownload, options, {
39052
+ domain: "storage",
39053
+ type: "update"
39054
+ });
39055
+ };
39056
+
38889
39057
  // src/mutations/videos/useUpdateVideo.ts
38890
39058
  var UpdateVideo = async ({
38891
39059
  videoId,
@@ -40052,6 +40220,7 @@ var useUploadVideoCaptions = (options = {}) => {
40052
40220
  GetThreadMessageReactions,
40053
40221
  GetThreadMessageVideos,
40054
40222
  GetThreadMessages,
40223
+ GetThreadMessagesPoll,
40055
40224
  GetThreads,
40056
40225
  GetTier,
40057
40226
  GetTierAccounts,
@@ -40062,6 +40231,7 @@ var useUploadVideoCaptions = (options = {}) => {
40062
40231
  GetTiers,
40063
40232
  GetVideo,
40064
40233
  GetVideoCaptions,
40234
+ GetVideoDownloadStatus,
40065
40235
  GetVideos,
40066
40236
  GroupAccess,
40067
40237
  GroupInvitationStatus,
@@ -40093,6 +40263,7 @@ var useUploadVideoCaptions = (options = {}) => {
40093
40263
  ImpersonateAccount,
40094
40264
  ImportItemStatus,
40095
40265
  ImportType,
40266
+ InitiateVideoDownload,
40096
40267
  IntegrationType,
40097
40268
  InvoiceStatus,
40098
40269
  LEVELS_QUERY_KEY,
@@ -40646,6 +40817,7 @@ var useUploadVideoCaptions = (options = {}) => {
40646
40817
  SET_THREAD_CIRCLE_ACCOUNT_QUERY_DATA,
40647
40818
  SET_THREAD_CIRCLE_QUERY_DATA,
40648
40819
  SET_THREAD_CIRCLE_THREADS_QUERY_DATA,
40820
+ SET_THREAD_MESSAGES_POLL_QUERY_DATA,
40649
40821
  SET_THREAD_MESSAGES_QUERY_DATA,
40650
40822
  SET_THREAD_MESSAGE_FILES_QUERY_DATA,
40651
40823
  SET_THREAD_MESSAGE_IMAGES_QUERY_DATA,
@@ -40660,6 +40832,7 @@ var useUploadVideoCaptions = (options = {}) => {
40660
40832
  SET_TIER_SUBSCRIBERS_QUERY_DATA,
40661
40833
  SET_VIDEOS_QUERY_DATA,
40662
40834
  SET_VIDEO_CAPTIONS_QUERY_DATA,
40835
+ SET_VIDEO_DOWNLOAD_STATUS_QUERY_DATA,
40663
40836
  SET_VIDEO_QUERY_DATA,
40664
40837
  STREAM_INPUTS_QUERY_KEY,
40665
40838
  STREAM_INPUT_OUTPUTS_QUERY_KEY,
@@ -40721,6 +40894,7 @@ var useUploadVideoCaptions = (options = {}) => {
40721
40894
  THREAD_CIRCLE_QUERY_KEY,
40722
40895
  THREAD_CIRCLE_THREADS_QUERY_KEY,
40723
40896
  THREAD_MEMBERS_QUERY_KEY,
40897
+ THREAD_MESSAGES_POLL_QUERY_KEY,
40724
40898
  THREAD_MESSAGES_QUERY_KEY,
40725
40899
  THREAD_MESSAGE_FILES_QUERY_KEY,
40726
40900
  THREAD_MESSAGE_IMAGES_QUERY_KEY,
@@ -40908,6 +41082,7 @@ var useUploadVideoCaptions = (options = {}) => {
40908
41082
  UserRole,
40909
41083
  VIDEOS_QUERY_KEY,
40910
41084
  VIDEO_CAPTIONS_QUERY_KEY,
41085
+ VIDEO_DOWNLOAD_STATUS_QUERY_KEY,
40911
41086
  VIDEO_QUERY_KEY,
40912
41087
  VerifyOrganizationWebhook,
40913
41088
  VideoSource,
@@ -40977,6 +41152,7 @@ var useUploadVideoCaptions = (options = {}) => {
40977
41152
  useCancelSubscription,
40978
41153
  useCloneEvent,
40979
41154
  useConfirmAccountLogin,
41155
+ useConnectedCursorQuery,
40980
41156
  useConnectedInfiniteQuery,
40981
41157
  useConnectedMutation,
40982
41158
  useConnectedSingleQuery,
@@ -41690,6 +41866,7 @@ var useUploadVideoCaptions = (options = {}) => {
41690
41866
  useGetThreadMessageReactions,
41691
41867
  useGetThreadMessageVideos,
41692
41868
  useGetThreadMessages,
41869
+ useGetThreadMessagesPoll,
41693
41870
  useGetThreads,
41694
41871
  useGetTier,
41695
41872
  useGetTierAccounts,
@@ -41700,8 +41877,10 @@ var useUploadVideoCaptions = (options = {}) => {
41700
41877
  useGetTiers,
41701
41878
  useGetVideo,
41702
41879
  useGetVideoCaptions,
41880
+ useGetVideoDownloadStatus,
41703
41881
  useGetVideos,
41704
41882
  useImpersonateAccount,
41883
+ useInitiateVideoDownload,
41705
41884
  useRefundOrganizationPayment,
41706
41885
  useReinviteGroupInvitation,
41707
41886
  useRejectGroupRequest,