@elevasis/ui 1.15.2 → 1.17.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.
Files changed (723) hide show
  1. package/dist/api/hooks/__tests__/useApiClient.test.d.ts +11 -0
  2. package/dist/api/hooks/__tests__/useApiClient.test.d.ts.map +1 -0
  3. package/dist/api/hooks/useApiClient.d.ts +28 -0
  4. package/dist/api/hooks/useApiClient.d.ts.map +1 -0
  5. package/dist/api/index.d.ts +11 -91
  6. package/dist/api/index.d.ts.map +1 -0
  7. package/dist/auth/guards/AdminGuard.d.ts +32 -0
  8. package/dist/auth/guards/AdminGuard.d.ts.map +1 -0
  9. package/dist/auth/guards/ProtectedRoute.d.ts +60 -0
  10. package/dist/auth/guards/ProtectedRoute.d.ts.map +1 -0
  11. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +12 -0
  12. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +1 -0
  13. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +14 -0
  14. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +1 -0
  15. package/dist/auth/index.d.ts +14 -174
  16. package/dist/auth/index.d.ts.map +1 -0
  17. package/dist/auth/index.js +3 -3
  18. package/dist/charts/index.d.ts +25 -2
  19. package/dist/charts/index.js +6 -6
  20. package/dist/{chunk-K6DYEZHC.js → chunk-4AKGF454.js} +76 -773
  21. package/dist/{chunk-YCOTIVEZ.js → chunk-53GNREDV.js} +3 -3
  22. package/dist/{chunk-GIQPDIG5.js → chunk-7ATCF6UL.js} +339 -11
  23. package/dist/{chunk-VOSLYTTR.js → chunk-7S5FS7WW.js} +36 -5
  24. package/dist/chunk-ADSSLKKP.js +10 -0
  25. package/dist/{chunk-V5GGPIDD.js → chunk-CC3SDRIF.js} +1 -1
  26. package/dist/{chunk-3VTC7OWU.js → chunk-DVKEEY5J.js} +1 -1
  27. package/dist/{chunk-5H6OPZQB.js → chunk-IVHJRJFK.js} +3 -3
  28. package/dist/{chunk-GU46QC4Z.js → chunk-L4XXM55J.js} +105 -2
  29. package/dist/{chunk-EQNXEBGZ.js → chunk-LXHZYSMQ.js} +1 -1
  30. package/dist/chunk-MHW43EOH.js +47 -0
  31. package/dist/{chunk-GATPOCUD.js → chunk-NUULWBAD.js} +1 -1
  32. package/dist/{chunk-HR5X6NGA.js → chunk-QCEUL5QG.js} +16 -10
  33. package/dist/{chunk-BK4EIWNU.js → chunk-QEPXAWE2.js} +7 -1
  34. package/dist/{chunk-CKFTPEBC.js → chunk-SLVC5OJ2.js} +1 -1
  35. package/dist/{chunk-NOGBWAGU.js → chunk-TRVSTJTK.js} +3 -3
  36. package/dist/{chunk-4J3GVBB7.js → chunk-U2522LSW.js} +1 -1
  37. package/dist/{chunk-CWCX2HCP.js → chunk-UUXXUPOC.js} +1 -1
  38. package/dist/{chunk-PMSLNXUS.js → chunk-XGVD76EL.js} +4 -4
  39. package/dist/chunk-ZGK6XZVY.js +1208 -0
  40. package/dist/components/charts/ActivityTrendChart.d.ts +13 -0
  41. package/dist/components/charts/ActivityTrendChart.d.ts.map +1 -0
  42. package/dist/components/charts/CombinedTrendChart.d.ts +22 -0
  43. package/dist/components/charts/CombinedTrendChart.d.ts.map +1 -0
  44. package/dist/components/charts/CostTrendChart.d.ts +13 -0
  45. package/dist/components/charts/CostTrendChart.d.ts.map +1 -0
  46. package/dist/components/charts/HeroStatsRow.d.ts +15 -0
  47. package/dist/components/charts/HeroStatsRow.d.ts.map +1 -0
  48. package/dist/components/charts/index.d.ts +9 -0
  49. package/dist/components/charts/index.d.ts.map +1 -0
  50. package/dist/components/command-queue/ActionModal.d.ts +19 -0
  51. package/dist/components/command-queue/ActionModal.d.ts.map +1 -0
  52. package/dist/components/command-queue/TaskCard.d.ts +18 -0
  53. package/dist/components/command-queue/TaskCard.d.ts.map +1 -0
  54. package/dist/components/command-queue/index.d.ts +5 -0
  55. package/dist/components/command-queue/index.d.ts.map +1 -0
  56. package/dist/components/display/APIErrorAlert.d.ts +56 -0
  57. package/dist/components/display/APIErrorAlert.d.ts.map +1 -0
  58. package/dist/components/display/PageNotFound.d.ts +2 -0
  59. package/dist/components/display/PageNotFound.d.ts.map +1 -0
  60. package/dist/components/display/ResourceCard.d.ts +22 -0
  61. package/dist/components/display/ResourceCard.d.ts.map +1 -0
  62. package/dist/components/display/ResourceCardAdapters.d.ts +24 -0
  63. package/dist/components/display/ResourceCardAdapters.d.ts.map +1 -0
  64. package/dist/components/display/TimeRangeSelector.d.ts +9 -0
  65. package/dist/components/display/TimeRangeSelector.d.ts.map +1 -0
  66. package/dist/components/display/index.d.ts +26 -0
  67. package/dist/components/display/index.d.ts.map +1 -0
  68. package/dist/components/execution/AgentExecutionTimeline.d.ts +14 -0
  69. package/dist/components/execution/AgentExecutionTimeline.d.ts.map +1 -0
  70. package/dist/components/execution/AgentExecutionVisualizer.d.ts +13 -0
  71. package/dist/components/execution/AgentExecutionVisualizer.d.ts.map +1 -0
  72. package/dist/components/execution/AgentIterationEdge.d.ts +8 -0
  73. package/dist/components/execution/AgentIterationEdge.d.ts.map +1 -0
  74. package/dist/components/execution/AgentIterationNode.d.ts +8 -0
  75. package/dist/components/execution/AgentIterationNode.d.ts.map +1 -0
  76. package/dist/components/execution/ExecutionStats.d.ts +16 -0
  77. package/dist/components/execution/ExecutionStats.d.ts.map +1 -0
  78. package/dist/components/execution/ExecutionStatusBadge.d.ts +33 -0
  79. package/dist/components/execution/ExecutionStatusBadge.d.ts.map +1 -0
  80. package/dist/components/execution/TimelineAxis.d.ts +12 -0
  81. package/dist/components/execution/TimelineAxis.d.ts.map +1 -0
  82. package/dist/components/execution/TimelineBar.d.ts +9 -0
  83. package/dist/components/execution/TimelineBar.d.ts.map +1 -0
  84. package/dist/components/execution/TimelineContainer.d.ts +9 -0
  85. package/dist/components/execution/TimelineContainer.d.ts.map +1 -0
  86. package/dist/components/execution/TimelineRow.d.ts +9 -0
  87. package/dist/components/execution/TimelineRow.d.ts.map +1 -0
  88. package/dist/components/execution/UnifiedWorkflowEdge.d.ts +9 -0
  89. package/dist/components/execution/UnifiedWorkflowEdge.d.ts.map +1 -0
  90. package/dist/components/execution/UnifiedWorkflowGraph.d.ts +21 -0
  91. package/dist/components/execution/UnifiedWorkflowGraph.d.ts.map +1 -0
  92. package/dist/components/execution/UnifiedWorkflowNode.d.ts +9 -0
  93. package/dist/components/execution/UnifiedWorkflowNode.d.ts.map +1 -0
  94. package/dist/components/execution/WorkflowExecutionTimeline.d.ts +14 -0
  95. package/dist/components/execution/WorkflowExecutionTimeline.d.ts.map +1 -0
  96. package/dist/components/execution/index.d.ts +18 -0
  97. package/dist/components/execution/index.d.ts.map +1 -0
  98. package/dist/components/forms/FormFieldRenderer.d.ts +15 -0
  99. package/dist/components/forms/FormFieldRenderer.d.ts.map +1 -0
  100. package/dist/components/forms/index.d.ts +2 -0
  101. package/dist/components/forms/index.d.ts.map +1 -0
  102. package/dist/components/graph/BaseNode.d.ts +29 -0
  103. package/dist/components/graph/BaseNode.d.ts.map +1 -0
  104. package/dist/components/graph/index.d.ts +12 -0
  105. package/dist/components/graph/index.d.ts.map +1 -0
  106. package/dist/components/graph/useGraphTheme.d.ts +9 -0
  107. package/dist/components/graph/useGraphTheme.d.ts.map +1 -0
  108. package/dist/components/index.d.ts +19 -5651
  109. package/dist/components/index.d.ts.map +1 -0
  110. package/dist/components/index.js +39 -1232
  111. package/dist/components/layout/backgrounds/CyberBackground.d.ts +26 -0
  112. package/dist/components/layout/backgrounds/CyberBackground.d.ts.map +1 -0
  113. package/dist/components/layout/backgrounds/CyberParticles.d.ts +30 -0
  114. package/dist/components/layout/backgrounds/CyberParticles.d.ts.map +1 -0
  115. package/dist/components/layout/backgrounds/CyberParticles.js +182 -0
  116. package/dist/components/layout/backgrounds/index.d.ts +10 -0
  117. package/dist/components/layout/backgrounds/index.d.ts.map +1 -0
  118. package/dist/components/layout/index.d.ts +7 -0
  119. package/dist/components/layout/index.d.ts.map +1 -0
  120. package/dist/components/monitoring/ActivityCard.d.ts +7 -0
  121. package/dist/components/monitoring/ActivityCard.d.ts.map +1 -0
  122. package/dist/components/monitoring/ActivityFilters.d.ts +8 -0
  123. package/dist/components/monitoring/ActivityFilters.d.ts.map +1 -0
  124. package/dist/components/monitoring/ActivityTable.d.ts +8 -0
  125. package/dist/components/monitoring/ActivityTable.d.ts.map +1 -0
  126. package/dist/components/monitoring/BusinessImpactCard.d.ts +18 -0
  127. package/dist/components/monitoring/BusinessImpactCard.d.ts.map +1 -0
  128. package/dist/components/monitoring/CostBreakdownCard.d.ts +17 -0
  129. package/dist/components/monitoring/CostBreakdownCard.d.ts.map +1 -0
  130. package/dist/components/monitoring/CostByModelTable.d.ts +12 -0
  131. package/dist/components/monitoring/CostByModelTable.d.ts.map +1 -0
  132. package/dist/components/monitoring/CostMetricsCard.d.ts +17 -0
  133. package/dist/components/monitoring/CostMetricsCard.d.ts.map +1 -0
  134. package/dist/components/monitoring/ErrorAnalysisCard.d.ts +12 -0
  135. package/dist/components/monitoring/ErrorAnalysisCard.d.ts.map +1 -0
  136. package/dist/components/monitoring/ErrorBreakdownTable.d.ts +12 -0
  137. package/dist/components/monitoring/ErrorBreakdownTable.d.ts.map +1 -0
  138. package/dist/components/monitoring/ExecutionBreakdownTable.d.ts +8 -0
  139. package/dist/components/monitoring/ExecutionBreakdownTable.d.ts.map +1 -0
  140. package/dist/components/monitoring/ExecutionHealthCard.d.ts +8 -0
  141. package/dist/components/monitoring/ExecutionHealthCard.d.ts.map +1 -0
  142. package/dist/components/monitoring/ExecutionLogsFilters.d.ts +8 -0
  143. package/dist/components/monitoring/ExecutionLogsFilters.d.ts.map +1 -0
  144. package/dist/components/monitoring/ExecutionLogsTable.d.ts +30 -0
  145. package/dist/components/monitoring/ExecutionLogsTable.d.ts.map +1 -0
  146. package/dist/components/monitoring/ResourceHealthChart.d.ts +17 -0
  147. package/dist/components/monitoring/ResourceHealthChart.d.ts.map +1 -0
  148. package/dist/components/monitoring/ResourceHealthPanel.d.ts +8 -0
  149. package/dist/components/monitoring/ResourceHealthPanel.d.ts.map +1 -0
  150. package/dist/components/monitoring/index.d.ts +16 -0
  151. package/dist/components/monitoring/index.d.ts.map +1 -0
  152. package/dist/components/notifications/NotificationBell.d.ts +9 -0
  153. package/dist/components/notifications/NotificationBell.d.ts.map +1 -0
  154. package/dist/components/notifications/NotificationItem.d.ts +9 -0
  155. package/dist/components/notifications/NotificationItem.d.ts.map +1 -0
  156. package/dist/components/notifications/NotificationList.d.ts +10 -0
  157. package/dist/components/notifications/NotificationList.d.ts.map +1 -0
  158. package/dist/components/notifications/NotificationPanel.d.ts +10 -0
  159. package/dist/components/notifications/NotificationPanel.d.ts.map +1 -0
  160. package/dist/components/notifications/index.d.ts +5 -0
  161. package/dist/components/notifications/index.d.ts.map +1 -0
  162. package/dist/components/notify.d.ts +21 -0
  163. package/dist/components/notify.d.ts.map +1 -0
  164. package/dist/components/operations/command-queue/CommandQueueTaskRow.d.ts +9 -0
  165. package/dist/components/operations/command-queue/CommandQueueTaskRow.d.ts.map +1 -0
  166. package/dist/components/operations/command-queue/index.d.ts +3 -0
  167. package/dist/components/operations/command-queue/index.d.ts.map +1 -0
  168. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts +17 -0
  169. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts.map +1 -0
  170. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts +17 -0
  171. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts.map +1 -0
  172. package/dist/components/operations/command-queue/sidebar/index.d.ts +5 -0
  173. package/dist/components/operations/command-queue/sidebar/index.d.ts.map +1 -0
  174. package/dist/components/operations/command-view/CommandViewGraph.d.ts +22 -0
  175. package/dist/components/operations/command-view/CommandViewGraph.d.ts.map +1 -0
  176. package/dist/components/operations/command-view/edges/CommandViewEdge.d.ts +23 -0
  177. package/dist/components/operations/command-view/edges/CommandViewEdge.d.ts.map +1 -0
  178. package/dist/components/operations/command-view/edges/index.d.ts +2 -0
  179. package/dist/components/operations/command-view/edges/index.d.ts.map +1 -0
  180. package/dist/components/operations/command-view/index.d.ts +4 -0
  181. package/dist/components/operations/command-view/index.d.ts.map +1 -0
  182. package/dist/components/operations/command-view/nodes/CommandViewNode.d.ts +12 -0
  183. package/dist/components/operations/command-view/nodes/CommandViewNode.d.ts.map +1 -0
  184. package/dist/components/operations/command-view/nodes/index.d.ts +2 -0
  185. package/dist/components/operations/command-view/nodes/index.d.ts.map +1 -0
  186. package/dist/components/operations/executions/AgentExecutionLogs.d.ts +13 -0
  187. package/dist/components/operations/executions/AgentExecutionLogs.d.ts.map +1 -0
  188. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts +13 -0
  189. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts.map +1 -0
  190. package/dist/components/operations/executions/index.d.ts +4 -0
  191. package/dist/components/operations/executions/index.d.ts.map +1 -0
  192. package/dist/components/operations/executions/logConstants.d.ts +72 -0
  193. package/dist/components/operations/executions/logConstants.d.ts.map +1 -0
  194. package/dist/components/operations/index.d.ts +8 -0
  195. package/dist/components/operations/index.d.ts.map +1 -0
  196. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts +14 -0
  197. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts.map +1 -0
  198. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts +16 -0
  199. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts.map +1 -0
  200. package/dist/components/operations/knowledge-base/index.d.ts +3 -0
  201. package/dist/components/operations/knowledge-base/index.d.ts.map +1 -0
  202. package/dist/components/operations/sessions/SessionMemory.d.ts +11 -0
  203. package/dist/components/operations/sessions/SessionMemory.d.ts.map +1 -0
  204. package/dist/components/operations/sessions/index.d.ts +3 -0
  205. package/dist/components/operations/sessions/index.d.ts.map +1 -0
  206. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts +16 -0
  207. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts.map +1 -0
  208. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts +12 -0
  209. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts.map +1 -0
  210. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsStates.d.ts +9 -0
  211. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsStates.d.ts.map +1 -0
  212. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts +12 -0
  213. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts.map +1 -0
  214. package/dist/components/operations/shared/BaseExecutionLogs/LogEntry.d.ts +2 -0
  215. package/dist/components/operations/shared/BaseExecutionLogs/LogEntry.d.ts.map +1 -0
  216. package/dist/components/operations/shared/BaseExecutionLogs/LogGroup.d.ts +16 -0
  217. package/dist/components/operations/shared/BaseExecutionLogs/LogGroup.d.ts.map +1 -0
  218. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts +7 -0
  219. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts.map +1 -0
  220. package/dist/components/operations/shared/LogEntry.d.ts +8 -0
  221. package/dist/components/operations/shared/LogEntry.d.ts.map +1 -0
  222. package/dist/components/operations/shared/index.d.ts +5 -0
  223. package/dist/components/operations/shared/index.d.ts.map +1 -0
  224. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts +11 -0
  225. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts.map +1 -0
  226. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts +8 -0
  227. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts.map +1 -0
  228. package/dist/components/operations/shared/layouts/index.d.ts +4 -0
  229. package/dist/components/operations/shared/layouts/index.d.ts.map +1 -0
  230. package/dist/components/operations/task-scheduler/AbsoluteScheduleForm.d.ts +9 -0
  231. package/dist/components/operations/task-scheduler/AbsoluteScheduleForm.d.ts.map +1 -0
  232. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts +7 -0
  233. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts.map +1 -0
  234. package/dist/components/operations/task-scheduler/DeleteScheduleModal.d.ts +11 -0
  235. package/dist/components/operations/task-scheduler/DeleteScheduleModal.d.ts.map +1 -0
  236. package/dist/components/operations/task-scheduler/RecurringScheduleForm.d.ts +9 -0
  237. package/dist/components/operations/task-scheduler/RecurringScheduleForm.d.ts.map +1 -0
  238. package/dist/components/operations/task-scheduler/RelativeScheduleForm.d.ts +9 -0
  239. package/dist/components/operations/task-scheduler/RelativeScheduleForm.d.ts.map +1 -0
  240. package/dist/components/operations/task-scheduler/ScheduleCard.d.ts +15 -0
  241. package/dist/components/operations/task-scheduler/ScheduleCard.d.ts.map +1 -0
  242. package/dist/components/operations/task-scheduler/ScheduleDetailModal.d.ts +11 -0
  243. package/dist/components/operations/task-scheduler/ScheduleDetailModal.d.ts.map +1 -0
  244. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts +2 -0
  245. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts.map +1 -0
  246. package/dist/components/operations/task-scheduler/index.d.ts +11 -0
  247. package/dist/components/operations/task-scheduler/index.d.ts.map +1 -0
  248. package/dist/components/resource-definition/AgentDefinitionDisplay.d.ts +8 -0
  249. package/dist/components/resource-definition/AgentDefinitionDisplay.d.ts.map +1 -0
  250. package/dist/components/resource-definition/NewKnowledgeMapEdge.d.ts +6 -0
  251. package/dist/components/resource-definition/NewKnowledgeMapEdge.d.ts.map +1 -0
  252. package/dist/components/resource-definition/NewKnowledgeMapGraph.d.ts +11 -0
  253. package/dist/components/resource-definition/NewKnowledgeMapGraph.d.ts.map +1 -0
  254. package/dist/components/resource-definition/NewKnowledgeMapNode.d.ts +6 -0
  255. package/dist/components/resource-definition/NewKnowledgeMapNode.d.ts.map +1 -0
  256. package/dist/components/resource-definition/ResourceDefinitionSection.d.ts +8 -0
  257. package/dist/components/resource-definition/ResourceDefinitionSection.d.ts.map +1 -0
  258. package/dist/components/resource-definition/WorkflowDefinitionDisplay.d.ts +8 -0
  259. package/dist/components/resource-definition/WorkflowDefinitionDisplay.d.ts.map +1 -0
  260. package/dist/components/resource-definition/index.d.ts +13 -0
  261. package/dist/components/resource-definition/index.d.ts.map +1 -0
  262. package/dist/components/sdk-barrel.d.ts +23 -0
  263. package/dist/components/sdk-barrel.d.ts.map +1 -0
  264. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts +9 -0
  265. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts.map +1 -0
  266. package/dist/components/settings/api-keys/ApiKeyList.d.ts +8 -0
  267. package/dist/components/settings/api-keys/ApiKeyList.d.ts.map +1 -0
  268. package/dist/components/settings/api-keys/ApiKeySettings.d.ts +2 -0
  269. package/dist/components/settings/api-keys/ApiKeySettings.d.ts.map +1 -0
  270. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts +9 -0
  271. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts.map +1 -0
  272. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts +8 -0
  273. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts.map +1 -0
  274. package/dist/components/settings/api-keys/index.d.ts +6 -0
  275. package/dist/components/settings/api-keys/index.d.ts.map +1 -0
  276. package/dist/components/settings/credentials/CreateCredentialModal.d.ts +9 -0
  277. package/dist/components/settings/credentials/CreateCredentialModal.d.ts.map +1 -0
  278. package/dist/components/settings/credentials/CredentialList.d.ts +10 -0
  279. package/dist/components/settings/credentials/CredentialList.d.ts.map +1 -0
  280. package/dist/components/settings/credentials/CredentialSettings.d.ts +7 -0
  281. package/dist/components/settings/credentials/CredentialSettings.d.ts.map +1 -0
  282. package/dist/components/settings/credentials/OAuthConnectModal.d.ts +12 -0
  283. package/dist/components/settings/credentials/OAuthConnectModal.d.ts.map +1 -0
  284. package/dist/components/settings/credentials/index.d.ts +5 -0
  285. package/dist/components/settings/credentials/index.d.ts.map +1 -0
  286. package/dist/components/settings/deployments/DeploymentDetailModal.d.ts +9 -0
  287. package/dist/components/settings/deployments/DeploymentDetailModal.d.ts.map +1 -0
  288. package/dist/components/settings/deployments/DeploymentList.d.ts +8 -0
  289. package/dist/components/settings/deployments/DeploymentList.d.ts.map +1 -0
  290. package/dist/components/settings/deployments/DeploymentSettings.d.ts +2 -0
  291. package/dist/components/settings/deployments/DeploymentSettings.d.ts.map +1 -0
  292. package/dist/components/settings/deployments/DeploymentStatusBadge.d.ts +7 -0
  293. package/dist/components/settings/deployments/DeploymentStatusBadge.d.ts.map +1 -0
  294. package/dist/components/settings/deployments/index.d.ts +5 -0
  295. package/dist/components/settings/deployments/index.d.ts.map +1 -0
  296. package/dist/components/settings/index.d.ts +6 -0
  297. package/dist/components/settings/index.d.ts.map +1 -0
  298. package/dist/components/settings/organization/MembershipFeaturePanel.d.ts +9 -0
  299. package/dist/components/settings/organization/MembershipFeaturePanel.d.ts.map +1 -0
  300. package/dist/components/settings/organization/MembershipStatusBadge.d.ts +9 -0
  301. package/dist/components/settings/organization/MembershipStatusBadge.d.ts.map +1 -0
  302. package/dist/components/settings/organization/OrganizationMembershipsList.d.ts +11 -0
  303. package/dist/components/settings/organization/OrganizationMembershipsList.d.ts.map +1 -0
  304. package/dist/components/settings/organization/index.d.ts +4 -0
  305. package/dist/components/settings/organization/index.d.ts.map +1 -0
  306. package/dist/components/table/SortableHeader.d.ts +12 -0
  307. package/dist/components/table/SortableHeader.d.ts.map +1 -0
  308. package/dist/components/table/index.d.ts +4 -0
  309. package/dist/components/table/index.d.ts.map +1 -0
  310. package/dist/execution/hooks/index.d.ts +8 -0
  311. package/dist/execution/hooks/index.d.ts.map +1 -0
  312. package/dist/execution/hooks/useAgentIterationData.d.ts +3 -0
  313. package/dist/execution/hooks/useAgentIterationData.d.ts.map +1 -0
  314. package/dist/execution/hooks/useExecutionPath.d.ts +29 -0
  315. package/dist/execution/hooks/useExecutionPath.d.ts.map +1 -0
  316. package/dist/execution/hooks/useMergedExecution.d.ts +11 -0
  317. package/dist/execution/hooks/useMergedExecution.d.ts.map +1 -0
  318. package/dist/execution/hooks/useReactFlowAgent.d.ts +12 -0
  319. package/dist/execution/hooks/useReactFlowAgent.d.ts.map +1 -0
  320. package/dist/execution/hooks/useTimelineData.d.ts +6 -0
  321. package/dist/execution/hooks/useTimelineData.d.ts.map +1 -0
  322. package/dist/execution/hooks/useUnifiedWorkflowLayout.d.ts +19 -0
  323. package/dist/execution/hooks/useUnifiedWorkflowLayout.d.ts.map +1 -0
  324. package/dist/execution/hooks/useWorkflowStepsLayout.d.ts +49 -0
  325. package/dist/execution/hooks/useWorkflowStepsLayout.d.ts.map +1 -0
  326. package/dist/execution/index.d.ts +5 -936
  327. package/dist/execution/index.d.ts.map +1 -0
  328. package/dist/execution/types.d.ts +129 -0
  329. package/dist/execution/types.d.ts.map +1 -0
  330. package/dist/execution/utils/edgeUtils.d.ts +22 -0
  331. package/dist/execution/utils/edgeUtils.d.ts.map +1 -0
  332. package/dist/execution/utils/getResourceStatusColor.d.ts +8 -0
  333. package/dist/execution/utils/getResourceStatusColor.d.ts.map +1 -0
  334. package/dist/execution/utils/getStatusIcon.d.ts +19 -0
  335. package/dist/execution/utils/getStatusIcon.d.ts.map +1 -0
  336. package/dist/execution/utils/index.d.ts +7 -0
  337. package/dist/execution/utils/index.d.ts.map +1 -0
  338. package/dist/execution/utils/statusColors.d.ts +20 -0
  339. package/dist/execution/utils/statusColors.d.ts.map +1 -0
  340. package/dist/features/operations/ResourcesPage.d.ts +15 -0
  341. package/dist/features/operations/ResourcesPage.d.ts.map +1 -0
  342. package/dist/features/operations/index.css +565 -0
  343. package/dist/features/operations/index.d.ts +3 -0
  344. package/dist/features/operations/index.d.ts.map +1 -0
  345. package/dist/features/operations/index.js +241 -0
  346. package/dist/graph/hooks/index.d.ts +9 -0
  347. package/dist/graph/hooks/index.d.ts.map +1 -0
  348. package/dist/graph/index.d.ts +9 -226
  349. package/dist/graph/index.d.ts.map +1 -0
  350. package/dist/graph/types.d.ts +28 -0
  351. package/dist/graph/types.d.ts.map +1 -0
  352. package/dist/hooks/command-queue/index.d.ts +7 -0
  353. package/dist/hooks/command-queue/index.d.ts.map +1 -0
  354. package/dist/hooks/command-queue/useCommandQueue.d.ts +33 -0
  355. package/dist/hooks/command-queue/useCommandQueue.d.ts.map +1 -0
  356. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +17 -0
  357. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +1 -0
  358. package/dist/hooks/command-queue/useDeleteTask.d.ts +5 -0
  359. package/dist/hooks/command-queue/useDeleteTask.d.ts.map +1 -0
  360. package/dist/hooks/command-queue/usePatchTask.d.ts +6 -0
  361. package/dist/hooks/command-queue/usePatchTask.d.ts.map +1 -0
  362. package/dist/hooks/command-queue/useSubmitAction.d.ts +29 -0
  363. package/dist/hooks/command-queue/useSubmitAction.d.ts.map +1 -0
  364. package/dist/hooks/executions/index.d.ts +17 -0
  365. package/dist/hooks/executions/index.d.ts.map +1 -0
  366. package/dist/hooks/executions/useArchivedLogs.d.ts +14 -0
  367. package/dist/hooks/executions/useArchivedLogs.d.ts.map +1 -0
  368. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +15 -0
  369. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +1 -0
  370. package/dist/hooks/executions/useCancelExecution.d.ts +20 -0
  371. package/dist/hooks/executions/useCancelExecution.d.ts.map +1 -0
  372. package/dist/hooks/executions/useDeleteExecution.d.ts +13 -0
  373. package/dist/hooks/executions/useDeleteExecution.d.ts.map +1 -0
  374. package/dist/hooks/executions/useExecuteAsync.d.ts +21 -0
  375. package/dist/hooks/executions/useExecuteAsync.d.ts.map +1 -0
  376. package/dist/hooks/executions/useExecution.d.ts +10 -0
  377. package/dist/hooks/executions/useExecution.d.ts.map +1 -0
  378. package/dist/hooks/executions/useExecutions.d.ts +16 -0
  379. package/dist/hooks/executions/useExecutions.d.ts.map +1 -0
  380. package/dist/hooks/executions/useResourceDefinition.d.ts +9 -0
  381. package/dist/hooks/executions/useResourceDefinition.d.ts.map +1 -0
  382. package/dist/hooks/executions/useResources.d.ts +15 -0
  383. package/dist/hooks/executions/useResources.d.ts.map +1 -0
  384. package/dist/hooks/executions/useRetryExecution.d.ts +16 -0
  385. package/dist/hooks/executions/useRetryExecution.d.ts.map +1 -0
  386. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +41 -0
  387. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +1 -0
  388. package/dist/hooks/feature-access/index.d.ts +2 -0
  389. package/dist/hooks/feature-access/index.d.ts.map +1 -0
  390. package/dist/hooks/index.d.ts +22 -6572
  391. package/dist/hooks/index.d.ts.map +1 -0
  392. package/dist/hooks/index.js +12 -12
  393. package/dist/hooks/monitoring/index.d.ts +9 -0
  394. package/dist/hooks/monitoring/index.d.ts.map +1 -0
  395. package/dist/hooks/monitoring/useActivities.d.ts +52 -0
  396. package/dist/hooks/monitoring/useActivities.d.ts.map +1 -0
  397. package/dist/hooks/monitoring/useCostSummary.d.ts +7 -0
  398. package/dist/hooks/monitoring/useCostSummary.d.ts.map +1 -0
  399. package/dist/hooks/monitoring/useExecutionHealth.d.ts +10 -0
  400. package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +1 -0
  401. package/dist/hooks/monitoring/useExecutionLogs.d.ts +56 -0
  402. package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +1 -0
  403. package/dist/hooks/monitoring/useNotifications.d.ts +11 -0
  404. package/dist/hooks/monitoring/useNotifications.d.ts.map +1 -0
  405. package/dist/hooks/notifications/index.d.ts +9 -0
  406. package/dist/hooks/notifications/index.d.ts.map +1 -0
  407. package/dist/hooks/notifications/useBatchDelete.d.ts +8 -0
  408. package/dist/hooks/notifications/useBatchDelete.d.ts.map +1 -0
  409. package/dist/hooks/notifications/useErrorNotification.d.ts +17 -0
  410. package/dist/hooks/notifications/useErrorNotification.d.ts.map +1 -0
  411. package/dist/hooks/notifications/useMarkAllAsRead.d.ts +2 -0
  412. package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +1 -0
  413. package/dist/hooks/notifications/useMarkAsRead.d.ts +2 -0
  414. package/dist/hooks/notifications/useMarkAsRead.d.ts.map +1 -0
  415. package/dist/hooks/notifications/useNotificationCount.d.ts +8 -0
  416. package/dist/hooks/notifications/useNotificationCount.d.ts.map +1 -0
  417. package/dist/hooks/notifications/useSuccessNotification.d.ts +6 -0
  418. package/dist/hooks/notifications/useSuccessNotification.d.ts.map +1 -0
  419. package/dist/hooks/notifications/useTestNotification.d.ts +16 -0
  420. package/dist/hooks/notifications/useTestNotification.d.ts.map +1 -0
  421. package/dist/hooks/notifications/useWarningNotification.d.ts +6 -0
  422. package/dist/hooks/notifications/useWarningNotification.d.ts.map +1 -0
  423. package/dist/hooks/observability/index.d.ts +25 -0
  424. package/dist/hooks/observability/index.d.ts.map +1 -0
  425. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts +15 -0
  426. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts.map +1 -0
  427. package/dist/hooks/observability/useBusinessImpact.d.ts +9 -0
  428. package/dist/hooks/observability/useBusinessImpact.d.ts.map +1 -0
  429. package/dist/hooks/observability/useCostBreakdown.d.ts +10 -0
  430. package/dist/hooks/observability/useCostBreakdown.d.ts.map +1 -0
  431. package/dist/hooks/observability/useCostByModel.d.ts +3 -0
  432. package/dist/hooks/observability/useCostByModel.d.ts.map +1 -0
  433. package/dist/hooks/observability/useCostTrends.d.ts +3 -0
  434. package/dist/hooks/observability/useCostTrends.d.ts.map +1 -0
  435. package/dist/hooks/observability/useDashboardMetrics.d.ts +3 -0
  436. package/dist/hooks/observability/useDashboardMetrics.d.ts.map +1 -0
  437. package/dist/hooks/observability/useErrorAnalysis.d.ts +7 -0
  438. package/dist/hooks/observability/useErrorAnalysis.d.ts.map +1 -0
  439. package/dist/hooks/observability/useErrorDetails.d.ts +20 -0
  440. package/dist/hooks/observability/useErrorDetails.d.ts.map +1 -0
  441. package/dist/hooks/observability/useErrorDistribution.d.ts +12 -0
  442. package/dist/hooks/observability/useErrorDistribution.d.ts.map +1 -0
  443. package/dist/hooks/observability/useErrorTrends.d.ts +12 -0
  444. package/dist/hooks/observability/useErrorTrends.d.ts.map +1 -0
  445. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts +18 -0
  446. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts.map +1 -0
  447. package/dist/hooks/observability/useResolveError.d.ts +17 -0
  448. package/dist/hooks/observability/useResolveError.d.ts.map +1 -0
  449. package/dist/hooks/observability/useResourcesHealth.d.ts +13 -0
  450. package/dist/hooks/observability/useResourcesHealth.d.ts.map +1 -0
  451. package/dist/hooks/observability/useTopFailingResources.d.ts +13 -0
  452. package/dist/hooks/observability/useTopFailingResources.d.ts.map +1 -0
  453. package/dist/hooks/observability/useUnresolvedErrors.d.ts +15 -0
  454. package/dist/hooks/observability/useUnresolvedErrors.d.ts.map +1 -0
  455. package/dist/hooks/operations/command-view/index.d.ts +8 -0
  456. package/dist/hooks/operations/command-view/index.d.ts.map +1 -0
  457. package/dist/hooks/operations/command-view/types.d.ts +123 -0
  458. package/dist/hooks/operations/command-view/types.d.ts.map +1 -0
  459. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts +24 -0
  460. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts.map +1 -0
  461. package/dist/hooks/operations/command-view/useCommandViewData.d.ts +11 -0
  462. package/dist/hooks/operations/command-view/useCommandViewData.d.ts.map +1 -0
  463. package/dist/hooks/operations/command-view/useCommandViewLayout.d.ts +44 -0
  464. package/dist/hooks/operations/command-view/useCommandViewLayout.d.ts.map +1 -0
  465. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts +12 -0
  466. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts.map +1 -0
  467. package/dist/hooks/operations/command-view/useCommandViewStore.d.ts +39 -0
  468. package/dist/hooks/operations/command-view/useCommandViewStore.d.ts.map +1 -0
  469. package/dist/hooks/operations/command-view/useResourceErrors.d.ts +22 -0
  470. package/dist/hooks/operations/command-view/useResourceErrors.d.ts.map +1 -0
  471. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts +22 -0
  472. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts.map +1 -0
  473. package/dist/hooks/operations/command-view/utils/filterCommandViewData.d.ts +30 -0
  474. package/dist/hooks/operations/command-view/utils/filterCommandViewData.d.ts.map +1 -0
  475. package/dist/hooks/operations/command-view/utils/index.d.ts +6 -0
  476. package/dist/hooks/operations/command-view/utils/index.d.ts.map +1 -0
  477. package/dist/hooks/operations/command-view/utils/mergeStatsWithTopology.d.ts +19 -0
  478. package/dist/hooks/operations/command-view/utils/mergeStatsWithTopology.d.ts.map +1 -0
  479. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +15 -0
  480. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts.map +1 -0
  481. package/dist/hooks/operations/index.d.ts +4 -0
  482. package/dist/hooks/operations/index.d.ts.map +1 -0
  483. package/dist/hooks/operations/knowledge-base/index.d.ts +3 -0
  484. package/dist/hooks/operations/knowledge-base/index.d.ts.map +1 -0
  485. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts +27 -0
  486. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts.map +1 -0
  487. package/dist/hooks/operations/shared/index.d.ts +6 -0
  488. package/dist/hooks/operations/shared/index.d.ts.map +1 -0
  489. package/dist/hooks/operations/shared/queryKeys.d.ts +23 -0
  490. package/dist/hooks/operations/shared/queryKeys.d.ts.map +1 -0
  491. package/dist/hooks/operations/shared/resourceDefinitionUtils.d.ts +10 -0
  492. package/dist/hooks/operations/shared/resourceDefinitionUtils.d.ts.map +1 -0
  493. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts +11 -0
  494. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts.map +1 -0
  495. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts +46 -0
  496. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts.map +1 -0
  497. package/dist/hooks/published.d.ts +21 -6016
  498. package/dist/hooks/published.d.ts.map +1 -0
  499. package/dist/hooks/published.js +11 -11
  500. package/dist/hooks/scheduling/index.d.ts +7 -0
  501. package/dist/hooks/scheduling/index.d.ts.map +1 -0
  502. package/dist/hooks/scheduling/useScheduledTasks.d.ts +19 -0
  503. package/dist/hooks/scheduling/useScheduledTasks.d.ts.map +1 -0
  504. package/dist/hooks/scheduling/useSchedules.d.ts +185 -0
  505. package/dist/hooks/scheduling/useSchedules.d.ts.map +1 -0
  506. package/dist/hooks/services/OperationsService.d.ts +73 -0
  507. package/dist/hooks/services/OperationsService.d.ts.map +1 -0
  508. package/dist/hooks/services/index.d.ts +2 -0
  509. package/dist/hooks/services/index.d.ts.map +1 -0
  510. package/dist/hooks/sessions/index.d.ts +8 -0
  511. package/dist/hooks/sessions/index.d.ts.map +1 -0
  512. package/dist/hooks/sessions/types.d.ts +33 -0
  513. package/dist/hooks/sessions/types.d.ts.map +1 -0
  514. package/dist/hooks/sessions/useSessionExecutions.d.ts +13 -0
  515. package/dist/hooks/sessions/useSessionExecutions.d.ts.map +1 -0
  516. package/dist/hooks/sessions/useSessionMessages.d.ts +7 -0
  517. package/dist/hooks/sessions/useSessionMessages.d.ts.map +1 -0
  518. package/dist/hooks/sessions/useSessionWebSocket.d.ts +19 -0
  519. package/dist/hooks/sessions/useSessionWebSocket.d.ts.map +1 -0
  520. package/dist/hooks/sessions/useSessions.d.ts +26 -0
  521. package/dist/hooks/sessions/useSessions.d.ts.map +1 -0
  522. package/dist/hooks/settings/api-keys/apiKeyService.d.ts +37 -0
  523. package/dist/hooks/settings/api-keys/apiKeyService.d.ts.map +1 -0
  524. package/dist/hooks/settings/api-keys/index.d.ts +7 -0
  525. package/dist/hooks/settings/api-keys/index.d.ts.map +1 -0
  526. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts +3 -0
  527. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts.map +1 -0
  528. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts +2 -0
  529. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts.map +1 -0
  530. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts +2 -0
  531. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts.map +1 -0
  532. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts +5 -0
  533. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts.map +1 -0
  534. package/dist/hooks/settings/credentials/index.d.ts +7 -0
  535. package/dist/hooks/settings/credentials/index.d.ts.map +1 -0
  536. package/dist/hooks/settings/credentials/useCreateCredential.d.ts +3 -0
  537. package/dist/hooks/settings/credentials/useCreateCredential.d.ts.map +1 -0
  538. package/dist/hooks/settings/credentials/useCredentials.d.ts +8 -0
  539. package/dist/hooks/settings/credentials/useCredentials.d.ts.map +1 -0
  540. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts +2 -0
  541. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts.map +1 -0
  542. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts +10 -0
  543. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts.map +1 -0
  544. package/dist/hooks/settings/deployments/deploymentService.d.ts +13 -0
  545. package/dist/hooks/settings/deployments/deploymentService.d.ts.map +1 -0
  546. package/dist/hooks/settings/deployments/index.d.ts +5 -0
  547. package/dist/hooks/settings/deployments/index.d.ts.map +1 -0
  548. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts +4 -0
  549. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts.map +1 -0
  550. package/dist/hooks/settings/deployments/useListDeployments.d.ts +2 -0
  551. package/dist/hooks/settings/deployments/useListDeployments.d.ts.map +1 -0
  552. package/dist/hooks/settings/index.d.ts +6 -0
  553. package/dist/hooks/settings/index.d.ts.map +1 -0
  554. package/dist/hooks/settings/organization/index.d.ts +6 -0
  555. package/dist/hooks/settings/organization/index.d.ts.map +1 -0
  556. package/dist/hooks/settings/organization/organizationMembershipService.d.ts +44 -0
  557. package/dist/hooks/settings/organization/organizationMembershipService.d.ts.map +1 -0
  558. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts +11 -0
  559. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts.map +1 -0
  560. package/dist/hooks/settings/organization/useReactivateMembership.d.ts +11 -0
  561. package/dist/hooks/settings/organization/useReactivateMembership.d.ts.map +1 -0
  562. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts +8 -0
  563. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts.map +1 -0
  564. package/dist/hooks/settings/organization/useUserMemberships.d.ts +3 -0
  565. package/dist/hooks/settings/organization/useUserMemberships.d.ts.map +1 -0
  566. package/dist/hooks/settings/webhooks/index.d.ts +7 -0
  567. package/dist/hooks/settings/webhooks/index.d.ts.map +1 -0
  568. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts +18 -0
  569. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts.map +1 -0
  570. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts +2 -0
  571. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts.map +1 -0
  572. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts +14 -0
  573. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts.map +1 -0
  574. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts +18 -0
  575. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts.map +1 -0
  576. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts +27 -0
  577. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts.map +1 -0
  578. package/dist/hooks/useActivityFilters.d.ts +18 -0
  579. package/dist/hooks/useActivityFilters.d.ts.map +1 -0
  580. package/dist/hooks/useDomainFilters.d.ts +36 -0
  581. package/dist/hooks/useDomainFilters.d.ts.map +1 -0
  582. package/dist/hooks/useExecutionLogsFilters.d.ts +28 -0
  583. package/dist/hooks/useExecutionLogsFilters.d.ts.map +1 -0
  584. package/dist/hooks/useOrganizationMembers.d.ts +18 -0
  585. package/dist/hooks/useOrganizationMembers.d.ts.map +1 -0
  586. package/dist/hooks/useTimeRangeDates.d.ts +10 -0
  587. package/dist/hooks/useTimeRangeDates.d.ts.map +1 -0
  588. package/dist/index.d.ts +15 -8453
  589. package/dist/index.d.ts.map +1 -0
  590. package/dist/index.js +16 -16
  591. package/dist/initialization/InitializationProvider.d.ts +48 -0
  592. package/dist/initialization/InitializationProvider.d.ts.map +1 -0
  593. package/dist/initialization/hooks/useAppInitialization.d.ts +32 -0
  594. package/dist/initialization/hooks/useAppInitialization.d.ts.map +1 -0
  595. package/dist/initialization/index.d.ts +23 -2505
  596. package/dist/initialization/index.d.ts.map +1 -0
  597. package/dist/initialization/index.js +3 -3
  598. package/dist/layout/index.d.ts +193 -3
  599. package/dist/layout/index.js +5 -4
  600. package/dist/organization/components/OrganizationSwitcher.d.ts +11 -0
  601. package/dist/organization/components/OrganizationSwitcher.d.ts.map +1 -0
  602. package/dist/organization/context/OrganizationContext.d.ts +41 -0
  603. package/dist/organization/context/OrganizationContext.d.ts.map +1 -0
  604. package/dist/organization/context/OrganizationProvider.d.ts +24 -0
  605. package/dist/organization/context/OrganizationProvider.d.ts.map +1 -0
  606. package/dist/organization/hooks/useOrgInitialization.d.ts +56 -0
  607. package/dist/organization/hooks/useOrgInitialization.d.ts.map +1 -0
  608. package/dist/organization/hooks/useOrganizations.d.ts +31 -0
  609. package/dist/organization/hooks/useOrganizations.d.ts.map +1 -0
  610. package/dist/organization/index.d.ts +23 -264
  611. package/dist/organization/index.d.ts.map +1 -0
  612. package/dist/organization/index.js +3 -3
  613. package/dist/organization/store/organizationsSlice.d.ts +40 -0
  614. package/dist/organization/store/organizationsSlice.d.ts.map +1 -0
  615. package/dist/organization/store/types.d.ts +20 -0
  616. package/dist/organization/store/types.d.ts.map +1 -0
  617. package/dist/profile/context/ProfileProvider.d.ts +31 -0
  618. package/dist/profile/context/ProfileProvider.d.ts.map +1 -0
  619. package/dist/profile/hooks/useUserProfile.d.ts +38 -0
  620. package/dist/profile/hooks/useUserProfile.d.ts.map +1 -0
  621. package/dist/profile/index.d.ts +15 -2456
  622. package/dist/profile/index.d.ts.map +1 -0
  623. package/dist/profile/index.js +1 -1
  624. package/dist/profile/services/UserProfileService.d.ts +29 -0
  625. package/dist/profile/services/UserProfileService.d.ts.map +1 -0
  626. package/dist/provider/CoreAuthKitInner.d.ts +12 -0
  627. package/dist/provider/CoreAuthKitInner.d.ts.map +1 -0
  628. package/dist/provider/ElevasisCoreProvider.d.ts +25 -0
  629. package/dist/provider/ElevasisCoreProvider.d.ts.map +1 -0
  630. package/dist/provider/ElevasisServiceContext.d.ts +31 -0
  631. package/dist/provider/ElevasisServiceContext.d.ts.map +1 -0
  632. package/dist/provider/ElevasisUIProvider.d.ts +28 -0
  633. package/dist/provider/ElevasisUIProvider.d.ts.map +1 -0
  634. package/dist/provider/NotificationContext.d.ts +49 -0
  635. package/dist/provider/NotificationContext.d.ts.map +1 -0
  636. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +2 -0
  637. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +1 -0
  638. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +2 -0
  639. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +1 -0
  640. package/dist/provider/index.d.ts +11 -334
  641. package/dist/provider/index.d.ts.map +1 -0
  642. package/dist/provider/index.js +8 -8
  643. package/dist/provider/published.d.ts +11 -309
  644. package/dist/provider/published.d.ts.map +1 -0
  645. package/dist/provider/published.js +4 -4
  646. package/dist/provider/types.d.ts +151 -0
  647. package/dist/provider/types.d.ts.map +1 -0
  648. package/dist/router/index.d.ts +12 -1
  649. package/dist/router/index.js +1 -1
  650. package/dist/sdk-barrel.d.ts +20 -0
  651. package/dist/sdk-barrel.d.ts.map +1 -0
  652. package/dist/supabase/client.d.ts +2265 -0
  653. package/dist/supabase/client.d.ts.map +1 -0
  654. package/dist/supabase/index.d.ts +2 -4595
  655. package/dist/supabase/index.d.ts.map +1 -0
  656. package/dist/theme/PresetsContext.d.ts +4 -0
  657. package/dist/theme/PresetsContext.d.ts.map +1 -0
  658. package/dist/theme/cssVariables.d.ts +12 -0
  659. package/dist/theme/cssVariables.d.ts.map +1 -0
  660. package/dist/theme/index.d.ts +10 -148
  661. package/dist/theme/index.d.ts.map +1 -0
  662. package/dist/theme/index.js +3 -3
  663. package/dist/theme/presets/__tests__/getPreset.test.d.ts +2 -0
  664. package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +1 -0
  665. package/dist/theme/presets/__tests__/getPreset.test.js +88 -0
  666. package/dist/theme/presets/abyss.d.ts +3 -0
  667. package/dist/theme/presets/abyss.d.ts.map +1 -0
  668. package/dist/theme/presets/aurora.d.ts +8 -0
  669. package/dist/theme/presets/aurora.d.ts.map +1 -0
  670. package/dist/theme/presets/canopy.d.ts +12 -0
  671. package/dist/theme/presets/canopy.d.ts.map +1 -0
  672. package/dist/theme/presets/cyber-punk.d.ts +11 -0
  673. package/dist/theme/presets/cyber-punk.d.ts.map +1 -0
  674. package/dist/theme/presets/cyber-punk.js +78 -0
  675. package/dist/theme/presets/cyber-strike.d.ts +13 -0
  676. package/dist/theme/presets/cyber-strike.d.ts.map +1 -0
  677. package/dist/theme/presets/cyber-void.d.ts +12 -0
  678. package/dist/theme/presets/cyber-void.d.ts.map +1 -0
  679. package/dist/theme/presets/cyber-volt.d.ts +12 -0
  680. package/dist/theme/presets/cyber-volt.d.ts.map +1 -0
  681. package/dist/theme/presets/default.d.ts +4 -0
  682. package/dist/theme/presets/default.d.ts.map +1 -0
  683. package/dist/theme/presets/ember.d.ts +8 -0
  684. package/dist/theme/presets/ember.d.ts.map +1 -0
  685. package/dist/theme/presets/honey.d.ts +12 -0
  686. package/dist/theme/presets/honey.d.ts.map +1 -0
  687. package/dist/theme/presets/index.d.ts +8 -0
  688. package/dist/theme/presets/index.d.ts.map +1 -0
  689. package/dist/theme/presets/index.js +136 -0
  690. package/dist/theme/presets/midnight.d.ts +8 -0
  691. package/dist/theme/presets/midnight.d.ts.map +1 -0
  692. package/dist/theme/presets/nirvana.d.ts +16 -0
  693. package/dist/theme/presets/nirvana.d.ts.map +1 -0
  694. package/dist/theme/presets/obsidian.d.ts +3 -0
  695. package/dist/theme/presets/obsidian.d.ts.map +1 -0
  696. package/dist/theme/presets/regal.d.ts +8 -0
  697. package/dist/theme/presets/regal.d.ts.map +1 -0
  698. package/dist/theme/presets/rose-gold.d.ts +8 -0
  699. package/dist/theme/presets/rose-gold.d.ts.map +1 -0
  700. package/dist/theme/presets/slate.d.ts +3 -0
  701. package/dist/theme/presets/slate.d.ts.map +1 -0
  702. package/dist/theme/presets/tactical.d.ts +8 -0
  703. package/dist/theme/presets/tactical.d.ts.map +1 -0
  704. package/dist/theme/presets/types.d.ts +43 -0
  705. package/dist/theme/presets/types.d.ts.map +1 -0
  706. package/dist/theme/presets/types.js +3 -0
  707. package/dist/theme/presets/wave.d.ts +14 -0
  708. package/dist/theme/presets/wave.d.ts.map +1 -0
  709. package/dist/theme/useAvailablePresets.d.ts +16 -0
  710. package/dist/theme/useAvailablePresets.d.ts.map +1 -0
  711. package/dist/theme/useAvailablePresets.js +36 -0
  712. package/dist/types/index.d.ts +42 -7124
  713. package/dist/types/index.d.ts.map +1 -0
  714. package/dist/utils/error-utils.d.ts +38 -0
  715. package/dist/utils/error-utils.d.ts.map +1 -0
  716. package/dist/utils/index.d.ts +8 -265
  717. package/dist/utils/index.d.ts.map +1 -0
  718. package/dist/utils/resource-icons.d.ts +18 -0
  719. package/dist/utils/resource-icons.d.ts.map +1 -0
  720. package/dist/utils/setup-test-utils.d.ts +2 -0
  721. package/dist/utils/setup-test-utils.d.ts.map +1 -0
  722. package/package.json +7 -3
  723. package/dist/chunk-LHQTTUL2.js +0 -27
@@ -0,0 +1,2265 @@
1
+ import { type SupabaseClient } from '@supabase/supabase-js';
2
+ import type { Database } from '@repo/core';
3
+ export declare function getSupabaseClient(): SupabaseClient<Database>;
4
+ export declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5
+ Tables: {
6
+ acq_companies: {
7
+ Row: {
8
+ attio_company_id: string | null;
9
+ batch_id: string | null;
10
+ category: string | null;
11
+ category_pain: string | null;
12
+ created_at: string;
13
+ domain: string | null;
14
+ enrichment_data: import("@repo/core").Json | null;
15
+ filter_reason: string | null;
16
+ founded_year: number | null;
17
+ id: string;
18
+ linkedin_url: string | null;
19
+ location_city: string | null;
20
+ location_state: string | null;
21
+ name: string;
22
+ num_employees: number | null;
23
+ organization_id: string;
24
+ pipeline_status: import("@repo/core").Json;
25
+ segment: string | null;
26
+ source: string | null;
27
+ status: string;
28
+ updated_at: string;
29
+ website: string | null;
30
+ };
31
+ Insert: {
32
+ attio_company_id?: string | null;
33
+ batch_id?: string | null;
34
+ category?: string | null;
35
+ category_pain?: string | null;
36
+ created_at?: string;
37
+ domain?: string | null;
38
+ enrichment_data?: import("@repo/core").Json | null;
39
+ filter_reason?: string | null;
40
+ founded_year?: number | null;
41
+ id?: string;
42
+ linkedin_url?: string | null;
43
+ location_city?: string | null;
44
+ location_state?: string | null;
45
+ name: string;
46
+ num_employees?: number | null;
47
+ organization_id: string;
48
+ pipeline_status?: import("@repo/core").Json;
49
+ segment?: string | null;
50
+ source?: string | null;
51
+ status?: string;
52
+ updated_at?: string;
53
+ website?: string | null;
54
+ };
55
+ Update: {
56
+ attio_company_id?: string | null;
57
+ batch_id?: string | null;
58
+ category?: string | null;
59
+ category_pain?: string | null;
60
+ created_at?: string;
61
+ domain?: string | null;
62
+ enrichment_data?: import("@repo/core").Json | null;
63
+ filter_reason?: string | null;
64
+ founded_year?: number | null;
65
+ id?: string;
66
+ linkedin_url?: string | null;
67
+ location_city?: string | null;
68
+ location_state?: string | null;
69
+ name?: string;
70
+ num_employees?: number | null;
71
+ organization_id?: string;
72
+ pipeline_status?: import("@repo/core").Json;
73
+ segment?: string | null;
74
+ source?: string | null;
75
+ status?: string;
76
+ updated_at?: string;
77
+ website?: string | null;
78
+ };
79
+ Relationships: [{
80
+ foreignKeyName: "acq_companies_organization_id_fkey";
81
+ columns: ["organization_id"];
82
+ isOneToOne: false;
83
+ referencedRelation: "organizations";
84
+ referencedColumns: ["id"];
85
+ }];
86
+ };
87
+ acq_contacts: {
88
+ Row: {
89
+ attio_person_id: string | null;
90
+ batch_id: string | null;
91
+ brochure_first_viewed_at: string | null;
92
+ brochure_view_count: number;
93
+ company_id: string | null;
94
+ created_at: string;
95
+ email: string;
96
+ email_valid: string | null;
97
+ enrichment_data: import("@repo/core").Json;
98
+ filter_reason: string | null;
99
+ first_name: string | null;
100
+ headline: string | null;
101
+ id: string;
102
+ last_name: string | null;
103
+ linkedin_url: string | null;
104
+ nurture: boolean;
105
+ opening_line: string | null;
106
+ organization_id: string;
107
+ pipeline_status: import("@repo/core").Json;
108
+ source: string | null;
109
+ source_id: string | null;
110
+ status: string;
111
+ title: string | null;
112
+ updated_at: string;
113
+ };
114
+ Insert: {
115
+ attio_person_id?: string | null;
116
+ batch_id?: string | null;
117
+ brochure_first_viewed_at?: string | null;
118
+ brochure_view_count?: number;
119
+ company_id?: string | null;
120
+ created_at?: string;
121
+ email: string;
122
+ email_valid?: string | null;
123
+ enrichment_data?: import("@repo/core").Json;
124
+ filter_reason?: string | null;
125
+ first_name?: string | null;
126
+ headline?: string | null;
127
+ id?: string;
128
+ last_name?: string | null;
129
+ linkedin_url?: string | null;
130
+ nurture?: boolean;
131
+ opening_line?: string | null;
132
+ organization_id: string;
133
+ pipeline_status?: import("@repo/core").Json;
134
+ source?: string | null;
135
+ source_id?: string | null;
136
+ status?: string;
137
+ title?: string | null;
138
+ updated_at?: string;
139
+ };
140
+ Update: {
141
+ attio_person_id?: string | null;
142
+ batch_id?: string | null;
143
+ brochure_first_viewed_at?: string | null;
144
+ brochure_view_count?: number;
145
+ company_id?: string | null;
146
+ created_at?: string;
147
+ email?: string;
148
+ email_valid?: string | null;
149
+ enrichment_data?: import("@repo/core").Json;
150
+ filter_reason?: string | null;
151
+ first_name?: string | null;
152
+ headline?: string | null;
153
+ id?: string;
154
+ last_name?: string | null;
155
+ linkedin_url?: string | null;
156
+ nurture?: boolean;
157
+ opening_line?: string | null;
158
+ organization_id?: string;
159
+ pipeline_status?: import("@repo/core").Json;
160
+ source?: string | null;
161
+ source_id?: string | null;
162
+ status?: string;
163
+ title?: string | null;
164
+ updated_at?: string;
165
+ };
166
+ Relationships: [{
167
+ foreignKeyName: "acq_contacts_company_id_fkey";
168
+ columns: ["company_id"];
169
+ isOneToOne: false;
170
+ referencedRelation: "acq_companies";
171
+ referencedColumns: ["id"];
172
+ }, {
173
+ foreignKeyName: "acq_contacts_organization_id_fkey";
174
+ columns: ["organization_id"];
175
+ isOneToOne: false;
176
+ referencedRelation: "organizations";
177
+ referencedColumns: ["id"];
178
+ }];
179
+ };
180
+ acq_content: {
181
+ Row: {
182
+ body: string | null;
183
+ created_at: string;
184
+ id: string;
185
+ organization_id: string;
186
+ pillar: string;
187
+ status: string;
188
+ title: string;
189
+ updated_at: string;
190
+ };
191
+ Insert: {
192
+ body?: string | null;
193
+ created_at?: string;
194
+ id?: string;
195
+ organization_id: string;
196
+ pillar: string;
197
+ status?: string;
198
+ title: string;
199
+ updated_at?: string;
200
+ };
201
+ Update: {
202
+ body?: string | null;
203
+ created_at?: string;
204
+ id?: string;
205
+ organization_id?: string;
206
+ pillar?: string;
207
+ status?: string;
208
+ title?: string;
209
+ updated_at?: string;
210
+ };
211
+ Relationships: [{
212
+ foreignKeyName: "acq_content_organization_id_fkey";
213
+ columns: ["organization_id"];
214
+ isOneToOne: false;
215
+ referencedRelation: "organizations";
216
+ referencedColumns: ["id"];
217
+ }];
218
+ };
219
+ acq_content_distributions: {
220
+ Row: {
221
+ adapted_body: string | null;
222
+ checklist: import("@repo/core").Json | null;
223
+ content_id: string;
224
+ created_at: string;
225
+ format: string;
226
+ id: string;
227
+ media_urls: import("@repo/core").Json;
228
+ metrics: import("@repo/core").Json;
229
+ metrics_updated_at: string | null;
230
+ organization_id: string;
231
+ platform: string;
232
+ platform_content: import("@repo/core").Json | null;
233
+ platform_post_id: string | null;
234
+ platform_url: string | null;
235
+ published_at: string | null;
236
+ status: string;
237
+ updated_at: string;
238
+ };
239
+ Insert: {
240
+ adapted_body?: string | null;
241
+ checklist?: import("@repo/core").Json | null;
242
+ content_id: string;
243
+ created_at?: string;
244
+ format: string;
245
+ id?: string;
246
+ media_urls?: import("@repo/core").Json;
247
+ metrics?: import("@repo/core").Json;
248
+ metrics_updated_at?: string | null;
249
+ organization_id: string;
250
+ platform: string;
251
+ platform_content?: import("@repo/core").Json | null;
252
+ platform_post_id?: string | null;
253
+ platform_url?: string | null;
254
+ published_at?: string | null;
255
+ status?: string;
256
+ updated_at?: string;
257
+ };
258
+ Update: {
259
+ adapted_body?: string | null;
260
+ checklist?: import("@repo/core").Json | null;
261
+ content_id?: string;
262
+ created_at?: string;
263
+ format?: string;
264
+ id?: string;
265
+ media_urls?: import("@repo/core").Json;
266
+ metrics?: import("@repo/core").Json;
267
+ metrics_updated_at?: string | null;
268
+ organization_id?: string;
269
+ platform?: string;
270
+ platform_content?: import("@repo/core").Json | null;
271
+ platform_post_id?: string | null;
272
+ platform_url?: string | null;
273
+ published_at?: string | null;
274
+ status?: string;
275
+ updated_at?: string;
276
+ };
277
+ Relationships: [{
278
+ foreignKeyName: "acq_content_distributions_content_id_fkey";
279
+ columns: ["content_id"];
280
+ isOneToOne: false;
281
+ referencedRelation: "acq_content";
282
+ referencedColumns: ["id"];
283
+ }, {
284
+ foreignKeyName: "acq_content_distributions_organization_id_fkey";
285
+ columns: ["organization_id"];
286
+ isOneToOne: false;
287
+ referencedRelation: "organizations";
288
+ referencedColumns: ["id"];
289
+ }];
290
+ };
291
+ acq_deals: {
292
+ Row: {
293
+ activity_log: import("@repo/core").Json;
294
+ attio_deal_id: string;
295
+ cached_stage: string | null;
296
+ closed_lost_at: string | null;
297
+ closed_lost_reason: string | null;
298
+ contact_email: string;
299
+ contact_id: string | null;
300
+ created_at: string;
301
+ discovery_data: import("@repo/core").Json | null;
302
+ discovery_submitted_at: string | null;
303
+ discovery_submitted_by: string | null;
304
+ id: string;
305
+ initial_fee: number | null;
306
+ monthly_fee: number | null;
307
+ organization_id: string;
308
+ payment_link_sent_at: string | null;
309
+ payment_received_at: string | null;
310
+ proposal_data: import("@repo/core").Json | null;
311
+ proposal_generated_at: string | null;
312
+ proposal_pdf_url: string | null;
313
+ proposal_reviewed_at: string | null;
314
+ proposal_reviewed_by: string | null;
315
+ proposal_sent_at: string | null;
316
+ proposal_signed_at: string | null;
317
+ proposal_status: string | null;
318
+ signature_envelope_id: string | null;
319
+ source_list_id: string | null;
320
+ source_type: string | null;
321
+ stripe_payment_id: string | null;
322
+ stripe_payment_link: string | null;
323
+ stripe_payment_link_id: string | null;
324
+ stripe_subscription_id: string | null;
325
+ updated_at: string;
326
+ };
327
+ Insert: {
328
+ activity_log?: import("@repo/core").Json;
329
+ attio_deal_id: string;
330
+ cached_stage?: string | null;
331
+ closed_lost_at?: string | null;
332
+ closed_lost_reason?: string | null;
333
+ contact_email: string;
334
+ contact_id?: string | null;
335
+ created_at?: string;
336
+ discovery_data?: import("@repo/core").Json | null;
337
+ discovery_submitted_at?: string | null;
338
+ discovery_submitted_by?: string | null;
339
+ id?: string;
340
+ initial_fee?: number | null;
341
+ monthly_fee?: number | null;
342
+ organization_id: string;
343
+ payment_link_sent_at?: string | null;
344
+ payment_received_at?: string | null;
345
+ proposal_data?: import("@repo/core").Json | null;
346
+ proposal_generated_at?: string | null;
347
+ proposal_pdf_url?: string | null;
348
+ proposal_reviewed_at?: string | null;
349
+ proposal_reviewed_by?: string | null;
350
+ proposal_sent_at?: string | null;
351
+ proposal_signed_at?: string | null;
352
+ proposal_status?: string | null;
353
+ signature_envelope_id?: string | null;
354
+ source_list_id?: string | null;
355
+ source_type?: string | null;
356
+ stripe_payment_id?: string | null;
357
+ stripe_payment_link?: string | null;
358
+ stripe_payment_link_id?: string | null;
359
+ stripe_subscription_id?: string | null;
360
+ updated_at?: string;
361
+ };
362
+ Update: {
363
+ activity_log?: import("@repo/core").Json;
364
+ attio_deal_id?: string;
365
+ cached_stage?: string | null;
366
+ closed_lost_at?: string | null;
367
+ closed_lost_reason?: string | null;
368
+ contact_email?: string;
369
+ contact_id?: string | null;
370
+ created_at?: string;
371
+ discovery_data?: import("@repo/core").Json | null;
372
+ discovery_submitted_at?: string | null;
373
+ discovery_submitted_by?: string | null;
374
+ id?: string;
375
+ initial_fee?: number | null;
376
+ monthly_fee?: number | null;
377
+ organization_id?: string;
378
+ payment_link_sent_at?: string | null;
379
+ payment_received_at?: string | null;
380
+ proposal_data?: import("@repo/core").Json | null;
381
+ proposal_generated_at?: string | null;
382
+ proposal_pdf_url?: string | null;
383
+ proposal_reviewed_at?: string | null;
384
+ proposal_reviewed_by?: string | null;
385
+ proposal_sent_at?: string | null;
386
+ proposal_signed_at?: string | null;
387
+ proposal_status?: string | null;
388
+ signature_envelope_id?: string | null;
389
+ source_list_id?: string | null;
390
+ source_type?: string | null;
391
+ stripe_payment_id?: string | null;
392
+ stripe_payment_link?: string | null;
393
+ stripe_payment_link_id?: string | null;
394
+ stripe_subscription_id?: string | null;
395
+ updated_at?: string;
396
+ };
397
+ Relationships: [{
398
+ foreignKeyName: "acq_deals_contact_id_fkey";
399
+ columns: ["contact_id"];
400
+ isOneToOne: false;
401
+ referencedRelation: "acq_contacts";
402
+ referencedColumns: ["id"];
403
+ }, {
404
+ foreignKeyName: "acq_deals_organization_id_fkey";
405
+ columns: ["organization_id"];
406
+ isOneToOne: false;
407
+ referencedRelation: "organizations";
408
+ referencedColumns: ["id"];
409
+ }, {
410
+ foreignKeyName: "acq_deals_source_list_id_fkey";
411
+ columns: ["source_list_id"];
412
+ isOneToOne: false;
413
+ referencedRelation: "acq_lists";
414
+ referencedColumns: ["id"];
415
+ }];
416
+ };
417
+ acq_list_members: {
418
+ Row: {
419
+ added_at: string;
420
+ added_by: string | null;
421
+ contact_id: string;
422
+ id: string;
423
+ list_id: string;
424
+ };
425
+ Insert: {
426
+ added_at?: string;
427
+ added_by?: string | null;
428
+ contact_id: string;
429
+ id?: string;
430
+ list_id: string;
431
+ };
432
+ Update: {
433
+ added_at?: string;
434
+ added_by?: string | null;
435
+ contact_id?: string;
436
+ id?: string;
437
+ list_id?: string;
438
+ };
439
+ Relationships: [{
440
+ foreignKeyName: "acq_list_members_contact_id_fkey";
441
+ columns: ["contact_id"];
442
+ isOneToOne: false;
443
+ referencedRelation: "acq_contacts";
444
+ referencedColumns: ["id"];
445
+ }, {
446
+ foreignKeyName: "acq_list_members_list_id_fkey";
447
+ columns: ["list_id"];
448
+ isOneToOne: false;
449
+ referencedRelation: "acq_lists";
450
+ referencedColumns: ["id"];
451
+ }];
452
+ };
453
+ acq_lists: {
454
+ Row: {
455
+ batch_ids: string[];
456
+ completed_at: string | null;
457
+ created_at: string;
458
+ description: string | null;
459
+ id: string;
460
+ instantly_campaign_id: string | null;
461
+ launched_at: string | null;
462
+ metadata: import("@repo/core").Json;
463
+ name: string;
464
+ organization_id: string;
465
+ status: string;
466
+ type: string;
467
+ };
468
+ Insert: {
469
+ batch_ids?: string[];
470
+ completed_at?: string | null;
471
+ created_at?: string;
472
+ description?: string | null;
473
+ id?: string;
474
+ instantly_campaign_id?: string | null;
475
+ launched_at?: string | null;
476
+ metadata?: import("@repo/core").Json;
477
+ name: string;
478
+ organization_id: string;
479
+ status?: string;
480
+ type?: string;
481
+ };
482
+ Update: {
483
+ batch_ids?: string[];
484
+ completed_at?: string | null;
485
+ created_at?: string;
486
+ description?: string | null;
487
+ id?: string;
488
+ instantly_campaign_id?: string | null;
489
+ launched_at?: string | null;
490
+ metadata?: import("@repo/core").Json;
491
+ name?: string;
492
+ organization_id?: string;
493
+ status?: string;
494
+ type?: string;
495
+ };
496
+ Relationships: [{
497
+ foreignKeyName: "acq_lists_organization_id_fkey";
498
+ columns: ["organization_id"];
499
+ isOneToOne: false;
500
+ referencedRelation: "organizations";
501
+ referencedColumns: ["id"];
502
+ }];
503
+ };
504
+ acq_seo_metrics: {
505
+ Row: {
506
+ ai_citations: import("@repo/core").Json | null;
507
+ avg_position: number | null;
508
+ clicks: number | null;
509
+ created_at: string;
510
+ cta_clicks: number | null;
511
+ ctr: number | null;
512
+ data_point_count: number | null;
513
+ faq_count: number | null;
514
+ form_submissions: number | null;
515
+ id: string;
516
+ impressions: number | null;
517
+ organization_id: string;
518
+ period: string;
519
+ quality_score: number | null;
520
+ readability: number | null;
521
+ scroll_100: number | null;
522
+ scroll_25: number | null;
523
+ scroll_50: number | null;
524
+ scroll_75: number | null;
525
+ seo_page_id: string;
526
+ word_count: number | null;
527
+ };
528
+ Insert: {
529
+ ai_citations?: import("@repo/core").Json | null;
530
+ avg_position?: number | null;
531
+ clicks?: number | null;
532
+ created_at?: string;
533
+ cta_clicks?: number | null;
534
+ ctr?: number | null;
535
+ data_point_count?: number | null;
536
+ faq_count?: number | null;
537
+ form_submissions?: number | null;
538
+ id?: string;
539
+ impressions?: number | null;
540
+ organization_id: string;
541
+ period: string;
542
+ quality_score?: number | null;
543
+ readability?: number | null;
544
+ scroll_100?: number | null;
545
+ scroll_25?: number | null;
546
+ scroll_50?: number | null;
547
+ scroll_75?: number | null;
548
+ seo_page_id: string;
549
+ word_count?: number | null;
550
+ };
551
+ Update: {
552
+ ai_citations?: import("@repo/core").Json | null;
553
+ avg_position?: number | null;
554
+ clicks?: number | null;
555
+ created_at?: string;
556
+ cta_clicks?: number | null;
557
+ ctr?: number | null;
558
+ data_point_count?: number | null;
559
+ faq_count?: number | null;
560
+ form_submissions?: number | null;
561
+ id?: string;
562
+ impressions?: number | null;
563
+ organization_id?: string;
564
+ period?: string;
565
+ quality_score?: number | null;
566
+ readability?: number | null;
567
+ scroll_100?: number | null;
568
+ scroll_25?: number | null;
569
+ scroll_50?: number | null;
570
+ scroll_75?: number | null;
571
+ seo_page_id?: string;
572
+ word_count?: number | null;
573
+ };
574
+ Relationships: [{
575
+ foreignKeyName: "acq_seo_metrics_organization_id_fkey";
576
+ columns: ["organization_id"];
577
+ isOneToOne: false;
578
+ referencedRelation: "organizations";
579
+ referencedColumns: ["id"];
580
+ }, {
581
+ foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
582
+ columns: ["seo_page_id"];
583
+ isOneToOne: false;
584
+ referencedRelation: "acq_seo_pages";
585
+ referencedColumns: ["id"];
586
+ }];
587
+ };
588
+ acq_seo_pages: {
589
+ Row: {
590
+ city: string | null;
591
+ content: import("@repo/core").Json | null;
592
+ created_at: string;
593
+ faq_items: import("@repo/core").Json | null;
594
+ hero_image_url: string | null;
595
+ id: string;
596
+ internal_links: import("@repo/core").Json | null;
597
+ local_data: import("@repo/core").Json | null;
598
+ meta_description: string | null;
599
+ organization_id: string;
600
+ page_type: string;
601
+ published_at: string | null;
602
+ refreshed_at: string | null;
603
+ schema_markup: import("@repo/core").Json | null;
604
+ slug: string;
605
+ state: string | null;
606
+ status: string;
607
+ title: string;
608
+ updated_at: string;
609
+ use_case: string | null;
610
+ vertical: string;
611
+ };
612
+ Insert: {
613
+ city?: string | null;
614
+ content?: import("@repo/core").Json | null;
615
+ created_at?: string;
616
+ faq_items?: import("@repo/core").Json | null;
617
+ hero_image_url?: string | null;
618
+ id?: string;
619
+ internal_links?: import("@repo/core").Json | null;
620
+ local_data?: import("@repo/core").Json | null;
621
+ meta_description?: string | null;
622
+ organization_id: string;
623
+ page_type: string;
624
+ published_at?: string | null;
625
+ refreshed_at?: string | null;
626
+ schema_markup?: import("@repo/core").Json | null;
627
+ slug: string;
628
+ state?: string | null;
629
+ status?: string;
630
+ title: string;
631
+ updated_at?: string;
632
+ use_case?: string | null;
633
+ vertical: string;
634
+ };
635
+ Update: {
636
+ city?: string | null;
637
+ content?: import("@repo/core").Json | null;
638
+ created_at?: string;
639
+ faq_items?: import("@repo/core").Json | null;
640
+ hero_image_url?: string | null;
641
+ id?: string;
642
+ internal_links?: import("@repo/core").Json | null;
643
+ local_data?: import("@repo/core").Json | null;
644
+ meta_description?: string | null;
645
+ organization_id?: string;
646
+ page_type?: string;
647
+ published_at?: string | null;
648
+ refreshed_at?: string | null;
649
+ schema_markup?: import("@repo/core").Json | null;
650
+ slug?: string;
651
+ state?: string | null;
652
+ status?: string;
653
+ title?: string;
654
+ updated_at?: string;
655
+ use_case?: string | null;
656
+ vertical?: string;
657
+ };
658
+ Relationships: [{
659
+ foreignKeyName: "acq_seo_pages_organization_id_fkey";
660
+ columns: ["organization_id"];
661
+ isOneToOne: false;
662
+ referencedRelation: "organizations";
663
+ referencedColumns: ["id"];
664
+ }];
665
+ };
666
+ acq_social_posts: {
667
+ Row: {
668
+ author_name: string;
669
+ author_url: string | null;
670
+ comments_count: number;
671
+ created_at: string;
672
+ discovered_at: string;
673
+ engagement_count: number;
674
+ feedback: string | null;
675
+ final_response: string | null;
676
+ fully_reviewed: boolean;
677
+ id: string;
678
+ initial_draft: string | null;
679
+ matched_keywords: string[];
680
+ matched_query: string | null;
681
+ metadata: import("@repo/core").Json;
682
+ organization_id: string;
683
+ platform: string;
684
+ platform_post_id: string;
685
+ post_text: string;
686
+ post_title: string;
687
+ post_url: string;
688
+ posted_at: string;
689
+ relevance_score: number;
690
+ responded_at: string | null;
691
+ reviewed_at: string | null;
692
+ skip_reason: string | null;
693
+ source_category: string | null;
694
+ status: string;
695
+ updated_at: string;
696
+ };
697
+ Insert: {
698
+ author_name: string;
699
+ author_url?: string | null;
700
+ comments_count?: number;
701
+ created_at?: string;
702
+ discovered_at?: string;
703
+ engagement_count?: number;
704
+ feedback?: string | null;
705
+ final_response?: string | null;
706
+ fully_reviewed?: boolean;
707
+ id?: string;
708
+ initial_draft?: string | null;
709
+ matched_keywords?: string[];
710
+ matched_query?: string | null;
711
+ metadata?: import("@repo/core").Json;
712
+ organization_id: string;
713
+ platform: string;
714
+ platform_post_id: string;
715
+ post_text: string;
716
+ post_title: string;
717
+ post_url: string;
718
+ posted_at: string;
719
+ relevance_score?: number;
720
+ responded_at?: string | null;
721
+ reviewed_at?: string | null;
722
+ skip_reason?: string | null;
723
+ source_category?: string | null;
724
+ status?: string;
725
+ updated_at?: string;
726
+ };
727
+ Update: {
728
+ author_name?: string;
729
+ author_url?: string | null;
730
+ comments_count?: number;
731
+ created_at?: string;
732
+ discovered_at?: string;
733
+ engagement_count?: number;
734
+ feedback?: string | null;
735
+ final_response?: string | null;
736
+ fully_reviewed?: boolean;
737
+ id?: string;
738
+ initial_draft?: string | null;
739
+ matched_keywords?: string[];
740
+ matched_query?: string | null;
741
+ metadata?: import("@repo/core").Json;
742
+ organization_id?: string;
743
+ platform?: string;
744
+ platform_post_id?: string;
745
+ post_text?: string;
746
+ post_title?: string;
747
+ post_url?: string;
748
+ posted_at?: string;
749
+ relevance_score?: number;
750
+ responded_at?: string | null;
751
+ reviewed_at?: string | null;
752
+ skip_reason?: string | null;
753
+ source_category?: string | null;
754
+ status?: string;
755
+ updated_at?: string;
756
+ };
757
+ Relationships: [{
758
+ foreignKeyName: "acq_social_posts_organization_id_fkey";
759
+ columns: ["organization_id"];
760
+ isOneToOne: false;
761
+ referencedRelation: "organizations";
762
+ referencedColumns: ["id"];
763
+ }];
764
+ };
765
+ activities: {
766
+ Row: {
767
+ activity_type: string;
768
+ actor_id: string | null;
769
+ actor_type: string | null;
770
+ created_at: string;
771
+ description: string | null;
772
+ entity_id: string;
773
+ entity_name: string | null;
774
+ entity_type: string;
775
+ id: string;
776
+ metadata: import("@repo/core").Json | null;
777
+ occurred_at: string;
778
+ organization_id: string;
779
+ status: string;
780
+ title: string;
781
+ };
782
+ Insert: {
783
+ activity_type: string;
784
+ actor_id?: string | null;
785
+ actor_type?: string | null;
786
+ created_at?: string;
787
+ description?: string | null;
788
+ entity_id: string;
789
+ entity_name?: string | null;
790
+ entity_type: string;
791
+ id?: string;
792
+ metadata?: import("@repo/core").Json | null;
793
+ occurred_at?: string;
794
+ organization_id: string;
795
+ status: string;
796
+ title: string;
797
+ };
798
+ Update: {
799
+ activity_type?: string;
800
+ actor_id?: string | null;
801
+ actor_type?: string | null;
802
+ created_at?: string;
803
+ description?: string | null;
804
+ entity_id?: string;
805
+ entity_name?: string | null;
806
+ entity_type?: string;
807
+ id?: string;
808
+ metadata?: import("@repo/core").Json | null;
809
+ occurred_at?: string;
810
+ organization_id?: string;
811
+ status?: string;
812
+ title?: string;
813
+ };
814
+ Relationships: [{
815
+ foreignKeyName: "activities_organization_id_fkey";
816
+ columns: ["organization_id"];
817
+ isOneToOne: false;
818
+ referencedRelation: "organizations";
819
+ referencedColumns: ["id"];
820
+ }];
821
+ };
822
+ api_keys: {
823
+ Row: {
824
+ created_at: string | null;
825
+ id: string;
826
+ key_hash: string;
827
+ last_used_at: string | null;
828
+ name: string;
829
+ organization_id: string;
830
+ };
831
+ Insert: {
832
+ created_at?: string | null;
833
+ id?: string;
834
+ key_hash: string;
835
+ last_used_at?: string | null;
836
+ name: string;
837
+ organization_id: string;
838
+ };
839
+ Update: {
840
+ created_at?: string | null;
841
+ id?: string;
842
+ key_hash?: string;
843
+ last_used_at?: string | null;
844
+ name?: string;
845
+ organization_id?: string;
846
+ };
847
+ Relationships: [{
848
+ foreignKeyName: "api_keys_organization_id_fkey";
849
+ columns: ["organization_id"];
850
+ isOneToOne: false;
851
+ referencedRelation: "organizations";
852
+ referencedColumns: ["id"];
853
+ }];
854
+ };
855
+ calibration_projects: {
856
+ Row: {
857
+ created_at: string | null;
858
+ description: string | null;
859
+ id: string;
860
+ name: string;
861
+ organization_id: string;
862
+ resource_id: string;
863
+ resource_type: string;
864
+ updated_at: string | null;
865
+ };
866
+ Insert: {
867
+ created_at?: string | null;
868
+ description?: string | null;
869
+ id?: string;
870
+ name: string;
871
+ organization_id: string;
872
+ resource_id: string;
873
+ resource_type: string;
874
+ updated_at?: string | null;
875
+ };
876
+ Update: {
877
+ created_at?: string | null;
878
+ description?: string | null;
879
+ id?: string;
880
+ name?: string;
881
+ organization_id?: string;
882
+ resource_id?: string;
883
+ resource_type?: string;
884
+ updated_at?: string | null;
885
+ };
886
+ Relationships: [{
887
+ foreignKeyName: "calibration_projects_organization_id_fkey";
888
+ columns: ["organization_id"];
889
+ isOneToOne: false;
890
+ referencedRelation: "organizations";
891
+ referencedColumns: ["id"];
892
+ }];
893
+ };
894
+ calibration_runs: {
895
+ Row: {
896
+ completed_at: string | null;
897
+ config_variants: import("@repo/core").Json;
898
+ created_at: string | null;
899
+ description: string | null;
900
+ execution_mode: string;
901
+ grader_model: string | null;
902
+ grading_rubric: import("@repo/core").Json | null;
903
+ id: string;
904
+ name: string;
905
+ organization_id: string;
906
+ project_id: string;
907
+ results: import("@repo/core").Json;
908
+ status: string;
909
+ test_inputs: import("@repo/core").Json;
910
+ };
911
+ Insert: {
912
+ completed_at?: string | null;
913
+ config_variants: import("@repo/core").Json;
914
+ created_at?: string | null;
915
+ description?: string | null;
916
+ execution_mode?: string;
917
+ grader_model?: string | null;
918
+ grading_rubric?: import("@repo/core").Json | null;
919
+ id?: string;
920
+ name: string;
921
+ organization_id: string;
922
+ project_id: string;
923
+ results?: import("@repo/core").Json;
924
+ status?: string;
925
+ test_inputs: import("@repo/core").Json;
926
+ };
927
+ Update: {
928
+ completed_at?: string | null;
929
+ config_variants?: import("@repo/core").Json;
930
+ created_at?: string | null;
931
+ description?: string | null;
932
+ execution_mode?: string;
933
+ grader_model?: string | null;
934
+ grading_rubric?: import("@repo/core").Json | null;
935
+ id?: string;
936
+ name?: string;
937
+ organization_id?: string;
938
+ project_id?: string;
939
+ results?: import("@repo/core").Json;
940
+ status?: string;
941
+ test_inputs?: import("@repo/core").Json;
942
+ };
943
+ Relationships: [{
944
+ foreignKeyName: "calibration_runs_organization_id_fkey";
945
+ columns: ["organization_id"];
946
+ isOneToOne: false;
947
+ referencedRelation: "organizations";
948
+ referencedColumns: ["id"];
949
+ }, {
950
+ foreignKeyName: "calibration_runs_project_id_fkey";
951
+ columns: ["project_id"];
952
+ isOneToOne: false;
953
+ referencedRelation: "calibration_projects";
954
+ referencedColumns: ["id"];
955
+ }];
956
+ };
957
+ command_queue: {
958
+ Row: {
959
+ action_payload: import("@repo/core").Json | null;
960
+ actions: import("@repo/core").Json;
961
+ completed_at: string | null;
962
+ completed_by: string | null;
963
+ context: import("@repo/core").Json;
964
+ created_at: string;
965
+ description: string | null;
966
+ expires_at: string | null;
967
+ human_checkpoint: string | null;
968
+ id: string;
969
+ idempotency_key: string | null;
970
+ metadata: import("@repo/core").Json | null;
971
+ organization_id: string;
972
+ origin_execution_id: string;
973
+ origin_resource_id: string;
974
+ origin_resource_type: string;
975
+ priority: number;
976
+ selected_action: string | null;
977
+ status: string;
978
+ target_execution_id: string | null;
979
+ target_resource_id: string | null;
980
+ target_resource_type: string | null;
981
+ };
982
+ Insert: {
983
+ action_payload?: import("@repo/core").Json | null;
984
+ actions: import("@repo/core").Json;
985
+ completed_at?: string | null;
986
+ completed_by?: string | null;
987
+ context: import("@repo/core").Json;
988
+ created_at?: string;
989
+ description?: string | null;
990
+ expires_at?: string | null;
991
+ human_checkpoint?: string | null;
992
+ id?: string;
993
+ idempotency_key?: string | null;
994
+ metadata?: import("@repo/core").Json | null;
995
+ organization_id: string;
996
+ origin_execution_id: string;
997
+ origin_resource_id: string;
998
+ origin_resource_type: string;
999
+ priority?: number;
1000
+ selected_action?: string | null;
1001
+ status?: string;
1002
+ target_execution_id?: string | null;
1003
+ target_resource_id?: string | null;
1004
+ target_resource_type?: string | null;
1005
+ };
1006
+ Update: {
1007
+ action_payload?: import("@repo/core").Json | null;
1008
+ actions?: import("@repo/core").Json;
1009
+ completed_at?: string | null;
1010
+ completed_by?: string | null;
1011
+ context?: import("@repo/core").Json;
1012
+ created_at?: string;
1013
+ description?: string | null;
1014
+ expires_at?: string | null;
1015
+ human_checkpoint?: string | null;
1016
+ id?: string;
1017
+ idempotency_key?: string | null;
1018
+ metadata?: import("@repo/core").Json | null;
1019
+ organization_id?: string;
1020
+ origin_execution_id?: string;
1021
+ origin_resource_id?: string;
1022
+ origin_resource_type?: string;
1023
+ priority?: number;
1024
+ selected_action?: string | null;
1025
+ status?: string;
1026
+ target_execution_id?: string | null;
1027
+ target_resource_id?: string | null;
1028
+ target_resource_type?: string | null;
1029
+ };
1030
+ Relationships: [{
1031
+ foreignKeyName: "command_queue_completed_by_fkey";
1032
+ columns: ["completed_by"];
1033
+ isOneToOne: false;
1034
+ referencedRelation: "users";
1035
+ referencedColumns: ["id"];
1036
+ }, {
1037
+ foreignKeyName: "command_queue_organization_id_fkey";
1038
+ columns: ["organization_id"];
1039
+ isOneToOne: false;
1040
+ referencedRelation: "organizations";
1041
+ referencedColumns: ["id"];
1042
+ }, {
1043
+ foreignKeyName: "command_queue_target_execution_id_fkey";
1044
+ columns: ["target_execution_id"];
1045
+ isOneToOne: false;
1046
+ referencedRelation: "execution_logs";
1047
+ referencedColumns: ["execution_id"];
1048
+ }];
1049
+ };
1050
+ credentials: {
1051
+ Row: {
1052
+ created_at: string;
1053
+ created_by: string | null;
1054
+ encrypted_value: string;
1055
+ id: string;
1056
+ name: string;
1057
+ organization_id: string;
1058
+ provider: string | null;
1059
+ type: string;
1060
+ updated_at: string;
1061
+ };
1062
+ Insert: {
1063
+ created_at?: string;
1064
+ created_by?: string | null;
1065
+ encrypted_value: string;
1066
+ id?: string;
1067
+ name: string;
1068
+ organization_id: string;
1069
+ provider?: string | null;
1070
+ type?: string;
1071
+ updated_at?: string;
1072
+ };
1073
+ Update: {
1074
+ created_at?: string;
1075
+ created_by?: string | null;
1076
+ encrypted_value?: string;
1077
+ id?: string;
1078
+ name?: string;
1079
+ organization_id?: string;
1080
+ provider?: string | null;
1081
+ type?: string;
1082
+ updated_at?: string;
1083
+ };
1084
+ Relationships: [{
1085
+ foreignKeyName: "credentials_created_by_fkey";
1086
+ columns: ["created_by"];
1087
+ isOneToOne: false;
1088
+ referencedRelation: "users";
1089
+ referencedColumns: ["id"];
1090
+ }, {
1091
+ foreignKeyName: "credentials_organization_id_fkey";
1092
+ columns: ["organization_id"];
1093
+ isOneToOne: false;
1094
+ referencedRelation: "organizations";
1095
+ referencedColumns: ["id"];
1096
+ }];
1097
+ };
1098
+ deployments: {
1099
+ Row: {
1100
+ compiled_docs: import("@repo/core").Json | null;
1101
+ created_at: string;
1102
+ deployment_version: string | null;
1103
+ documentation: import("@repo/core").Json | null;
1104
+ error_message: string | null;
1105
+ id: string;
1106
+ organization_id: string;
1107
+ pid: number | null;
1108
+ port: number | null;
1109
+ sdk_version: string;
1110
+ status: string;
1111
+ tarball_path: string | null;
1112
+ updated_at: string;
1113
+ };
1114
+ Insert: {
1115
+ compiled_docs?: import("@repo/core").Json | null;
1116
+ created_at?: string;
1117
+ deployment_version?: string | null;
1118
+ documentation?: import("@repo/core").Json | null;
1119
+ error_message?: string | null;
1120
+ id?: string;
1121
+ organization_id: string;
1122
+ pid?: number | null;
1123
+ port?: number | null;
1124
+ sdk_version: string;
1125
+ status?: string;
1126
+ tarball_path?: string | null;
1127
+ updated_at?: string;
1128
+ };
1129
+ Update: {
1130
+ compiled_docs?: import("@repo/core").Json | null;
1131
+ created_at?: string;
1132
+ deployment_version?: string | null;
1133
+ documentation?: import("@repo/core").Json | null;
1134
+ error_message?: string | null;
1135
+ id?: string;
1136
+ organization_id?: string;
1137
+ pid?: number | null;
1138
+ port?: number | null;
1139
+ sdk_version?: string;
1140
+ status?: string;
1141
+ tarball_path?: string | null;
1142
+ updated_at?: string;
1143
+ };
1144
+ Relationships: [{
1145
+ foreignKeyName: "deployments_organization_id_fkey";
1146
+ columns: ["organization_id"];
1147
+ isOneToOne: false;
1148
+ referencedRelation: "organizations";
1149
+ referencedColumns: ["id"];
1150
+ }];
1151
+ };
1152
+ execution_errors: {
1153
+ Row: {
1154
+ created_at: string | null;
1155
+ error_category: string;
1156
+ error_message: string;
1157
+ error_severity: string;
1158
+ error_stack_trace: string | null;
1159
+ error_type: string;
1160
+ execution_id: string;
1161
+ id: string;
1162
+ metadata: import("@repo/core").Json | null;
1163
+ occurred_at: string;
1164
+ organization_id: string;
1165
+ resolved: boolean;
1166
+ resolved_at: string | null;
1167
+ resolved_by: string | null;
1168
+ };
1169
+ Insert: {
1170
+ created_at?: string | null;
1171
+ error_category: string;
1172
+ error_message: string;
1173
+ error_severity: string;
1174
+ error_stack_trace?: string | null;
1175
+ error_type: string;
1176
+ execution_id: string;
1177
+ id?: string;
1178
+ metadata?: import("@repo/core").Json | null;
1179
+ occurred_at?: string;
1180
+ organization_id: string;
1181
+ resolved?: boolean;
1182
+ resolved_at?: string | null;
1183
+ resolved_by?: string | null;
1184
+ };
1185
+ Update: {
1186
+ created_at?: string | null;
1187
+ error_category?: string;
1188
+ error_message?: string;
1189
+ error_severity?: string;
1190
+ error_stack_trace?: string | null;
1191
+ error_type?: string;
1192
+ execution_id?: string;
1193
+ id?: string;
1194
+ metadata?: import("@repo/core").Json | null;
1195
+ occurred_at?: string;
1196
+ organization_id?: string;
1197
+ resolved?: boolean;
1198
+ resolved_at?: string | null;
1199
+ resolved_by?: string | null;
1200
+ };
1201
+ Relationships: [{
1202
+ foreignKeyName: "execution_errors_execution_id_fkey";
1203
+ columns: ["execution_id"];
1204
+ isOneToOne: false;
1205
+ referencedRelation: "execution_logs";
1206
+ referencedColumns: ["execution_id"];
1207
+ }, {
1208
+ foreignKeyName: "execution_errors_organization_id_fkey";
1209
+ columns: ["organization_id"];
1210
+ isOneToOne: false;
1211
+ referencedRelation: "organizations";
1212
+ referencedColumns: ["id"];
1213
+ }, {
1214
+ foreignKeyName: "execution_errors_resolved_by_fkey";
1215
+ columns: ["resolved_by"];
1216
+ isOneToOne: false;
1217
+ referencedRelation: "users";
1218
+ referencedColumns: ["id"];
1219
+ }];
1220
+ };
1221
+ execution_logs: {
1222
+ Row: {
1223
+ api_version: string | null;
1224
+ completed_at: string | null;
1225
+ created_at: string | null;
1226
+ error: string | null;
1227
+ execution_id: string;
1228
+ input: import("@repo/core").Json | null;
1229
+ last_heartbeat_at: string | null;
1230
+ logs: import("@repo/core").Json | null;
1231
+ organization_id: string;
1232
+ origin_execution_id: string | null;
1233
+ output: import("@repo/core").Json | null;
1234
+ resource_id: string;
1235
+ resource_status: string;
1236
+ resource_type: string;
1237
+ resource_version: string | null;
1238
+ sdk_version: string | null;
1239
+ session_id: string | null;
1240
+ session_turn_number: number | null;
1241
+ started_at: string;
1242
+ status: string;
1243
+ trigger_type: string | null;
1244
+ updated_at: string | null;
1245
+ user_id: string | null;
1246
+ };
1247
+ Insert: {
1248
+ api_version?: string | null;
1249
+ completed_at?: string | null;
1250
+ created_at?: string | null;
1251
+ error?: string | null;
1252
+ execution_id?: string;
1253
+ input?: import("@repo/core").Json | null;
1254
+ last_heartbeat_at?: string | null;
1255
+ logs?: import("@repo/core").Json | null;
1256
+ organization_id: string;
1257
+ origin_execution_id?: string | null;
1258
+ output?: import("@repo/core").Json | null;
1259
+ resource_id: string;
1260
+ resource_status?: string;
1261
+ resource_type?: string;
1262
+ resource_version?: string | null;
1263
+ sdk_version?: string | null;
1264
+ session_id?: string | null;
1265
+ session_turn_number?: number | null;
1266
+ started_at?: string;
1267
+ status: string;
1268
+ trigger_type?: string | null;
1269
+ updated_at?: string | null;
1270
+ user_id?: string | null;
1271
+ };
1272
+ Update: {
1273
+ api_version?: string | null;
1274
+ completed_at?: string | null;
1275
+ created_at?: string | null;
1276
+ error?: string | null;
1277
+ execution_id?: string;
1278
+ input?: import("@repo/core").Json | null;
1279
+ last_heartbeat_at?: string | null;
1280
+ logs?: import("@repo/core").Json | null;
1281
+ organization_id?: string;
1282
+ origin_execution_id?: string | null;
1283
+ output?: import("@repo/core").Json | null;
1284
+ resource_id?: string;
1285
+ resource_status?: string;
1286
+ resource_type?: string;
1287
+ resource_version?: string | null;
1288
+ sdk_version?: string | null;
1289
+ session_id?: string | null;
1290
+ session_turn_number?: number | null;
1291
+ started_at?: string;
1292
+ status?: string;
1293
+ trigger_type?: string | null;
1294
+ updated_at?: string | null;
1295
+ user_id?: string | null;
1296
+ };
1297
+ Relationships: [{
1298
+ foreignKeyName: "execution_history_organization_id_fkey";
1299
+ columns: ["organization_id"];
1300
+ isOneToOne: false;
1301
+ referencedRelation: "organizations";
1302
+ referencedColumns: ["id"];
1303
+ }, {
1304
+ foreignKeyName: "execution_logs_origin_execution_id_fkey";
1305
+ columns: ["origin_execution_id"];
1306
+ isOneToOne: false;
1307
+ referencedRelation: "execution_logs";
1308
+ referencedColumns: ["execution_id"];
1309
+ }, {
1310
+ foreignKeyName: "execution_logs_session_id_fkey";
1311
+ columns: ["session_id"];
1312
+ isOneToOne: false;
1313
+ referencedRelation: "sessions";
1314
+ referencedColumns: ["session_id"];
1315
+ }, {
1316
+ foreignKeyName: "execution_logs_user_id_fkey";
1317
+ columns: ["user_id"];
1318
+ isOneToOne: false;
1319
+ referencedRelation: "users";
1320
+ referencedColumns: ["id"];
1321
+ }];
1322
+ };
1323
+ execution_metrics: {
1324
+ Row: {
1325
+ ai_call_count: number;
1326
+ ai_calls: import("@repo/core").Json | null;
1327
+ automation_savings_usd: number | null;
1328
+ created_at: string | null;
1329
+ duration_ms: number | null;
1330
+ execution_id: string;
1331
+ organization_id: string;
1332
+ resource_id: string;
1333
+ total_cost_usd: number;
1334
+ total_input_tokens: number;
1335
+ total_output_tokens: number;
1336
+ };
1337
+ Insert: {
1338
+ ai_call_count: number;
1339
+ ai_calls?: import("@repo/core").Json | null;
1340
+ automation_savings_usd?: number | null;
1341
+ created_at?: string | null;
1342
+ duration_ms?: number | null;
1343
+ execution_id: string;
1344
+ organization_id: string;
1345
+ resource_id: string;
1346
+ total_cost_usd: number;
1347
+ total_input_tokens: number;
1348
+ total_output_tokens: number;
1349
+ };
1350
+ Update: {
1351
+ ai_call_count?: number;
1352
+ ai_calls?: import("@repo/core").Json | null;
1353
+ automation_savings_usd?: number | null;
1354
+ created_at?: string | null;
1355
+ duration_ms?: number | null;
1356
+ execution_id?: string;
1357
+ organization_id?: string;
1358
+ resource_id?: string;
1359
+ total_cost_usd?: number;
1360
+ total_input_tokens?: number;
1361
+ total_output_tokens?: number;
1362
+ };
1363
+ Relationships: [{
1364
+ foreignKeyName: "execution_metrics_execution_id_fkey";
1365
+ columns: ["execution_id"];
1366
+ isOneToOne: true;
1367
+ referencedRelation: "execution_logs";
1368
+ referencedColumns: ["execution_id"];
1369
+ }, {
1370
+ foreignKeyName: "execution_metrics_organization_id_fkey";
1371
+ columns: ["organization_id"];
1372
+ isOneToOne: false;
1373
+ referencedRelation: "organizations";
1374
+ referencedColumns: ["id"];
1375
+ }];
1376
+ };
1377
+ notifications: {
1378
+ Row: {
1379
+ action_url: string | null;
1380
+ category: string;
1381
+ created_at: string | null;
1382
+ id: string;
1383
+ message: string;
1384
+ organization_id: string;
1385
+ read: boolean | null;
1386
+ read_at: string | null;
1387
+ title: string;
1388
+ user_id: string;
1389
+ };
1390
+ Insert: {
1391
+ action_url?: string | null;
1392
+ category: string;
1393
+ created_at?: string | null;
1394
+ id?: string;
1395
+ message: string;
1396
+ organization_id: string;
1397
+ read?: boolean | null;
1398
+ read_at?: string | null;
1399
+ title: string;
1400
+ user_id: string;
1401
+ };
1402
+ Update: {
1403
+ action_url?: string | null;
1404
+ category?: string;
1405
+ created_at?: string | null;
1406
+ id?: string;
1407
+ message?: string;
1408
+ organization_id?: string;
1409
+ read?: boolean | null;
1410
+ read_at?: string | null;
1411
+ title?: string;
1412
+ user_id?: string;
1413
+ };
1414
+ Relationships: [{
1415
+ foreignKeyName: "notifications_organization_id_fkey";
1416
+ columns: ["organization_id"];
1417
+ isOneToOne: false;
1418
+ referencedRelation: "organizations";
1419
+ referencedColumns: ["id"];
1420
+ }, {
1421
+ foreignKeyName: "notifications_user_id_fkey";
1422
+ columns: ["user_id"];
1423
+ isOneToOne: false;
1424
+ referencedRelation: "users";
1425
+ referencedColumns: ["id"];
1426
+ }];
1427
+ };
1428
+ org_invitations: {
1429
+ Row: {
1430
+ accept_invitation_url: string | null;
1431
+ accepted_at: string | null;
1432
+ created_at: string | null;
1433
+ email: string;
1434
+ expires_at: string;
1435
+ id: string;
1436
+ invitation_state: string | null;
1437
+ invitation_token: string | null;
1438
+ inviter_user_id: string | null;
1439
+ organization_id: string | null;
1440
+ revoked_at: string | null;
1441
+ role_slug: string | null;
1442
+ updated_at: string | null;
1443
+ workos_invitation_id: string;
1444
+ };
1445
+ Insert: {
1446
+ accept_invitation_url?: string | null;
1447
+ accepted_at?: string | null;
1448
+ created_at?: string | null;
1449
+ email: string;
1450
+ expires_at: string;
1451
+ id?: string;
1452
+ invitation_state?: string | null;
1453
+ invitation_token?: string | null;
1454
+ inviter_user_id?: string | null;
1455
+ organization_id?: string | null;
1456
+ revoked_at?: string | null;
1457
+ role_slug?: string | null;
1458
+ updated_at?: string | null;
1459
+ workos_invitation_id: string;
1460
+ };
1461
+ Update: {
1462
+ accept_invitation_url?: string | null;
1463
+ accepted_at?: string | null;
1464
+ created_at?: string | null;
1465
+ email?: string;
1466
+ expires_at?: string;
1467
+ id?: string;
1468
+ invitation_state?: string | null;
1469
+ invitation_token?: string | null;
1470
+ inviter_user_id?: string | null;
1471
+ organization_id?: string | null;
1472
+ revoked_at?: string | null;
1473
+ role_slug?: string | null;
1474
+ updated_at?: string | null;
1475
+ workos_invitation_id?: string;
1476
+ };
1477
+ Relationships: [{
1478
+ foreignKeyName: "org_invitations_inviter_user_id_fkey";
1479
+ columns: ["inviter_user_id"];
1480
+ isOneToOne: false;
1481
+ referencedRelation: "users";
1482
+ referencedColumns: ["id"];
1483
+ }, {
1484
+ foreignKeyName: "org_invitations_organization_id_fkey";
1485
+ columns: ["organization_id"];
1486
+ isOneToOne: false;
1487
+ referencedRelation: "organizations";
1488
+ referencedColumns: ["id"];
1489
+ }];
1490
+ };
1491
+ org_memberships: {
1492
+ Row: {
1493
+ config: import("@repo/core").Json;
1494
+ created_at: string | null;
1495
+ id: string;
1496
+ membership_status: string | null;
1497
+ organization_id: string;
1498
+ role_slug: string | null;
1499
+ updated_at: string | null;
1500
+ user_id: string;
1501
+ workos_membership_id: string | null;
1502
+ };
1503
+ Insert: {
1504
+ config?: import("@repo/core").Json;
1505
+ created_at?: string | null;
1506
+ id?: string;
1507
+ membership_status?: string | null;
1508
+ organization_id: string;
1509
+ role_slug?: string | null;
1510
+ updated_at?: string | null;
1511
+ user_id: string;
1512
+ workos_membership_id?: string | null;
1513
+ };
1514
+ Update: {
1515
+ config?: import("@repo/core").Json;
1516
+ created_at?: string | null;
1517
+ id?: string;
1518
+ membership_status?: string | null;
1519
+ organization_id?: string;
1520
+ role_slug?: string | null;
1521
+ updated_at?: string | null;
1522
+ user_id?: string;
1523
+ workos_membership_id?: string | null;
1524
+ };
1525
+ Relationships: [{
1526
+ foreignKeyName: "org_memberships_organization_id_fkey";
1527
+ columns: ["organization_id"];
1528
+ isOneToOne: false;
1529
+ referencedRelation: "organizations";
1530
+ referencedColumns: ["id"];
1531
+ }, {
1532
+ foreignKeyName: "org_memberships_user_id_fkey";
1533
+ columns: ["user_id"];
1534
+ isOneToOne: false;
1535
+ referencedRelation: "users";
1536
+ referencedColumns: ["id"];
1537
+ }];
1538
+ };
1539
+ organizations: {
1540
+ Row: {
1541
+ config: import("@repo/core").Json;
1542
+ created_at: string;
1543
+ id: string;
1544
+ is_test: boolean;
1545
+ metadata: import("@repo/core").Json;
1546
+ name: string;
1547
+ status: string;
1548
+ updated_at: string;
1549
+ workos_org_id: string;
1550
+ };
1551
+ Insert: {
1552
+ config?: import("@repo/core").Json;
1553
+ created_at?: string;
1554
+ id?: string;
1555
+ is_test?: boolean;
1556
+ metadata?: import("@repo/core").Json;
1557
+ name: string;
1558
+ status?: string;
1559
+ updated_at?: string;
1560
+ workos_org_id: string;
1561
+ };
1562
+ Update: {
1563
+ config?: import("@repo/core").Json;
1564
+ created_at?: string;
1565
+ id?: string;
1566
+ is_test?: boolean;
1567
+ metadata?: import("@repo/core").Json;
1568
+ name?: string;
1569
+ status?: string;
1570
+ updated_at?: string;
1571
+ workos_org_id?: string;
1572
+ };
1573
+ Relationships: [];
1574
+ };
1575
+ prj_milestones: {
1576
+ Row: {
1577
+ checklist: import("@repo/core").Json | null;
1578
+ completed_at: string | null;
1579
+ created_at: string;
1580
+ description: string | null;
1581
+ due_date: string | null;
1582
+ id: string;
1583
+ metadata: import("@repo/core").Json | null;
1584
+ name: string;
1585
+ organization_id: string;
1586
+ project_id: string;
1587
+ sequence: number;
1588
+ status: string;
1589
+ updated_at: string;
1590
+ };
1591
+ Insert: {
1592
+ checklist?: import("@repo/core").Json | null;
1593
+ completed_at?: string | null;
1594
+ created_at?: string;
1595
+ description?: string | null;
1596
+ due_date?: string | null;
1597
+ id?: string;
1598
+ metadata?: import("@repo/core").Json | null;
1599
+ name: string;
1600
+ organization_id: string;
1601
+ project_id: string;
1602
+ sequence?: number;
1603
+ status?: string;
1604
+ updated_at?: string;
1605
+ };
1606
+ Update: {
1607
+ checklist?: import("@repo/core").Json | null;
1608
+ completed_at?: string | null;
1609
+ created_at?: string;
1610
+ description?: string | null;
1611
+ due_date?: string | null;
1612
+ id?: string;
1613
+ metadata?: import("@repo/core").Json | null;
1614
+ name?: string;
1615
+ organization_id?: string;
1616
+ project_id?: string;
1617
+ sequence?: number;
1618
+ status?: string;
1619
+ updated_at?: string;
1620
+ };
1621
+ Relationships: [{
1622
+ foreignKeyName: "prj_milestones_organization_id_fkey";
1623
+ columns: ["organization_id"];
1624
+ isOneToOne: false;
1625
+ referencedRelation: "organizations";
1626
+ referencedColumns: ["id"];
1627
+ }, {
1628
+ foreignKeyName: "prj_milestones_project_id_fkey";
1629
+ columns: ["project_id"];
1630
+ isOneToOne: false;
1631
+ referencedRelation: "prj_projects";
1632
+ referencedColumns: ["id"];
1633
+ }];
1634
+ };
1635
+ prj_notes: {
1636
+ Row: {
1637
+ content: string;
1638
+ created_at: string;
1639
+ created_by: string | null;
1640
+ id: string;
1641
+ metadata: import("@repo/core").Json | null;
1642
+ milestone_id: string | null;
1643
+ occurred_at: string;
1644
+ organization_id: string;
1645
+ project_id: string;
1646
+ summary: string | null;
1647
+ task_id: string | null;
1648
+ type: string;
1649
+ };
1650
+ Insert: {
1651
+ content: string;
1652
+ created_at?: string;
1653
+ created_by?: string | null;
1654
+ id?: string;
1655
+ metadata?: import("@repo/core").Json | null;
1656
+ milestone_id?: string | null;
1657
+ occurred_at?: string;
1658
+ organization_id: string;
1659
+ project_id: string;
1660
+ summary?: string | null;
1661
+ task_id?: string | null;
1662
+ type?: string;
1663
+ };
1664
+ Update: {
1665
+ content?: string;
1666
+ created_at?: string;
1667
+ created_by?: string | null;
1668
+ id?: string;
1669
+ metadata?: import("@repo/core").Json | null;
1670
+ milestone_id?: string | null;
1671
+ occurred_at?: string;
1672
+ organization_id?: string;
1673
+ project_id?: string;
1674
+ summary?: string | null;
1675
+ task_id?: string | null;
1676
+ type?: string;
1677
+ };
1678
+ Relationships: [{
1679
+ foreignKeyName: "prj_notes_created_by_fkey";
1680
+ columns: ["created_by"];
1681
+ isOneToOne: false;
1682
+ referencedRelation: "users";
1683
+ referencedColumns: ["id"];
1684
+ }, {
1685
+ foreignKeyName: "prj_notes_milestone_id_fkey";
1686
+ columns: ["milestone_id"];
1687
+ isOneToOne: false;
1688
+ referencedRelation: "prj_milestones";
1689
+ referencedColumns: ["id"];
1690
+ }, {
1691
+ foreignKeyName: "prj_notes_organization_id_fkey";
1692
+ columns: ["organization_id"];
1693
+ isOneToOne: false;
1694
+ referencedRelation: "organizations";
1695
+ referencedColumns: ["id"];
1696
+ }, {
1697
+ foreignKeyName: "prj_notes_project_id_fkey";
1698
+ columns: ["project_id"];
1699
+ isOneToOne: false;
1700
+ referencedRelation: "prj_projects";
1701
+ referencedColumns: ["id"];
1702
+ }, {
1703
+ foreignKeyName: "prj_notes_task_id_fkey";
1704
+ columns: ["task_id"];
1705
+ isOneToOne: false;
1706
+ referencedRelation: "prj_tasks";
1707
+ referencedColumns: ["id"];
1708
+ }];
1709
+ };
1710
+ prj_projects: {
1711
+ Row: {
1712
+ actual_end_date: string | null;
1713
+ client_company_id: string | null;
1714
+ contract_value: number | null;
1715
+ created_at: string;
1716
+ deal_id: string | null;
1717
+ description: string | null;
1718
+ id: string;
1719
+ kind: string;
1720
+ metadata: import("@repo/core").Json | null;
1721
+ name: string;
1722
+ organization_id: string;
1723
+ start_date: string | null;
1724
+ status: string;
1725
+ target_end_date: string | null;
1726
+ updated_at: string;
1727
+ };
1728
+ Insert: {
1729
+ actual_end_date?: string | null;
1730
+ client_company_id?: string | null;
1731
+ contract_value?: number | null;
1732
+ created_at?: string;
1733
+ deal_id?: string | null;
1734
+ description?: string | null;
1735
+ id?: string;
1736
+ kind?: string;
1737
+ metadata?: import("@repo/core").Json | null;
1738
+ name: string;
1739
+ organization_id: string;
1740
+ start_date?: string | null;
1741
+ status?: string;
1742
+ target_end_date?: string | null;
1743
+ updated_at?: string;
1744
+ };
1745
+ Update: {
1746
+ actual_end_date?: string | null;
1747
+ client_company_id?: string | null;
1748
+ contract_value?: number | null;
1749
+ created_at?: string;
1750
+ deal_id?: string | null;
1751
+ description?: string | null;
1752
+ id?: string;
1753
+ kind?: string;
1754
+ metadata?: import("@repo/core").Json | null;
1755
+ name?: string;
1756
+ organization_id?: string;
1757
+ start_date?: string | null;
1758
+ status?: string;
1759
+ target_end_date?: string | null;
1760
+ updated_at?: string;
1761
+ };
1762
+ Relationships: [{
1763
+ foreignKeyName: "prj_projects_client_company_id_fkey";
1764
+ columns: ["client_company_id"];
1765
+ isOneToOne: false;
1766
+ referencedRelation: "acq_companies";
1767
+ referencedColumns: ["id"];
1768
+ }, {
1769
+ foreignKeyName: "prj_projects_deal_id_fkey";
1770
+ columns: ["deal_id"];
1771
+ isOneToOne: false;
1772
+ referencedRelation: "acq_deals";
1773
+ referencedColumns: ["id"];
1774
+ }, {
1775
+ foreignKeyName: "prj_projects_organization_id_fkey";
1776
+ columns: ["organization_id"];
1777
+ isOneToOne: false;
1778
+ referencedRelation: "organizations";
1779
+ referencedColumns: ["id"];
1780
+ }];
1781
+ };
1782
+ prj_tasks: {
1783
+ Row: {
1784
+ checklist: import("@repo/core").Json;
1785
+ completed_at: string | null;
1786
+ created_at: string;
1787
+ description: string | null;
1788
+ due_date: string | null;
1789
+ file_url: string | null;
1790
+ id: string;
1791
+ metadata: import("@repo/core").Json | null;
1792
+ milestone_id: string | null;
1793
+ name: string;
1794
+ organization_id: string;
1795
+ parent_task_id: string | null;
1796
+ project_id: string;
1797
+ resume_context: import("@repo/core").Json | null;
1798
+ status: string;
1799
+ type: string;
1800
+ updated_at: string;
1801
+ };
1802
+ Insert: {
1803
+ checklist?: import("@repo/core").Json;
1804
+ completed_at?: string | null;
1805
+ created_at?: string;
1806
+ description?: string | null;
1807
+ due_date?: string | null;
1808
+ file_url?: string | null;
1809
+ id?: string;
1810
+ metadata?: import("@repo/core").Json | null;
1811
+ milestone_id?: string | null;
1812
+ name: string;
1813
+ organization_id: string;
1814
+ parent_task_id?: string | null;
1815
+ project_id: string;
1816
+ resume_context?: import("@repo/core").Json | null;
1817
+ status?: string;
1818
+ type?: string;
1819
+ updated_at?: string;
1820
+ };
1821
+ Update: {
1822
+ checklist?: import("@repo/core").Json;
1823
+ completed_at?: string | null;
1824
+ created_at?: string;
1825
+ description?: string | null;
1826
+ due_date?: string | null;
1827
+ file_url?: string | null;
1828
+ id?: string;
1829
+ metadata?: import("@repo/core").Json | null;
1830
+ milestone_id?: string | null;
1831
+ name?: string;
1832
+ organization_id?: string;
1833
+ parent_task_id?: string | null;
1834
+ project_id?: string;
1835
+ resume_context?: import("@repo/core").Json | null;
1836
+ status?: string;
1837
+ type?: string;
1838
+ updated_at?: string;
1839
+ };
1840
+ Relationships: [{
1841
+ foreignKeyName: "prj_tasks_milestone_id_fkey";
1842
+ columns: ["milestone_id"];
1843
+ isOneToOne: false;
1844
+ referencedRelation: "prj_milestones";
1845
+ referencedColumns: ["id"];
1846
+ }, {
1847
+ foreignKeyName: "prj_tasks_organization_id_fkey";
1848
+ columns: ["organization_id"];
1849
+ isOneToOne: false;
1850
+ referencedRelation: "organizations";
1851
+ referencedColumns: ["id"];
1852
+ }, {
1853
+ foreignKeyName: "prj_tasks_parent_task_id_fkey";
1854
+ columns: ["parent_task_id"];
1855
+ isOneToOne: false;
1856
+ referencedRelation: "prj_tasks";
1857
+ referencedColumns: ["id"];
1858
+ }, {
1859
+ foreignKeyName: "prj_tasks_project_id_fkey";
1860
+ columns: ["project_id"];
1861
+ isOneToOne: false;
1862
+ referencedRelation: "prj_projects";
1863
+ referencedColumns: ["id"];
1864
+ }];
1865
+ };
1866
+ session_messages: {
1867
+ Row: {
1868
+ created_at: string | null;
1869
+ id: string;
1870
+ message: string;
1871
+ message_index: number | null;
1872
+ message_type: string | null;
1873
+ metadata: import("@repo/core").Json | null;
1874
+ role: string;
1875
+ session_id: string;
1876
+ session_turn_number: number;
1877
+ };
1878
+ Insert: {
1879
+ created_at?: string | null;
1880
+ id: string;
1881
+ message: string;
1882
+ message_index?: number | null;
1883
+ message_type?: string | null;
1884
+ metadata?: import("@repo/core").Json | null;
1885
+ role: string;
1886
+ session_id: string;
1887
+ session_turn_number: number;
1888
+ };
1889
+ Update: {
1890
+ created_at?: string | null;
1891
+ id?: string;
1892
+ message?: string;
1893
+ message_index?: number | null;
1894
+ message_type?: string | null;
1895
+ metadata?: import("@repo/core").Json | null;
1896
+ role?: string;
1897
+ session_id?: string;
1898
+ session_turn_number?: number;
1899
+ };
1900
+ Relationships: [{
1901
+ foreignKeyName: "session_messages_session_id_fkey";
1902
+ columns: ["session_id"];
1903
+ isOneToOne: false;
1904
+ referencedRelation: "sessions";
1905
+ referencedColumns: ["session_id"];
1906
+ }];
1907
+ };
1908
+ sessions: {
1909
+ Row: {
1910
+ context_window_size: number;
1911
+ created_at: string | null;
1912
+ cumulative_input_tokens: number;
1913
+ cumulative_output_tokens: number;
1914
+ deleted_at: string | null;
1915
+ ended_at: string | null;
1916
+ memory_snapshot: import("@repo/core").Json;
1917
+ metadata: import("@repo/core").Json | null;
1918
+ organization_id: string;
1919
+ resource_id: string;
1920
+ session_id: string;
1921
+ session_total_turns: number | null;
1922
+ updated_at: string | null;
1923
+ user_id: string | null;
1924
+ };
1925
+ Insert: {
1926
+ context_window_size?: number;
1927
+ created_at?: string | null;
1928
+ cumulative_input_tokens?: number;
1929
+ cumulative_output_tokens?: number;
1930
+ deleted_at?: string | null;
1931
+ ended_at?: string | null;
1932
+ memory_snapshot: import("@repo/core").Json;
1933
+ metadata?: import("@repo/core").Json | null;
1934
+ organization_id: string;
1935
+ resource_id: string;
1936
+ session_id?: string;
1937
+ session_total_turns?: number | null;
1938
+ updated_at?: string | null;
1939
+ user_id?: string | null;
1940
+ };
1941
+ Update: {
1942
+ context_window_size?: number;
1943
+ created_at?: string | null;
1944
+ cumulative_input_tokens?: number;
1945
+ cumulative_output_tokens?: number;
1946
+ deleted_at?: string | null;
1947
+ ended_at?: string | null;
1948
+ memory_snapshot?: import("@repo/core").Json;
1949
+ metadata?: import("@repo/core").Json | null;
1950
+ organization_id?: string;
1951
+ resource_id?: string;
1952
+ session_id?: string;
1953
+ session_total_turns?: number | null;
1954
+ updated_at?: string | null;
1955
+ user_id?: string | null;
1956
+ };
1957
+ Relationships: [{
1958
+ foreignKeyName: "fk_organization";
1959
+ columns: ["organization_id"];
1960
+ isOneToOne: false;
1961
+ referencedRelation: "organizations";
1962
+ referencedColumns: ["id"];
1963
+ }, {
1964
+ foreignKeyName: "fk_user";
1965
+ columns: ["user_id"];
1966
+ isOneToOne: false;
1967
+ referencedRelation: "users";
1968
+ referencedColumns: ["id"];
1969
+ }];
1970
+ };
1971
+ task_schedules: {
1972
+ Row: {
1973
+ created_at: string;
1974
+ current_step: number;
1975
+ description: string | null;
1976
+ id: string;
1977
+ idempotency_key: string | null;
1978
+ last_execution_id: string | null;
1979
+ last_run_at: string | null;
1980
+ max_retries: number;
1981
+ metadata: import("@repo/core").Json | null;
1982
+ name: string;
1983
+ next_run_at: string | null;
1984
+ organization_id: string;
1985
+ origin_execution_id: string | null;
1986
+ origin_resource_id: string | null;
1987
+ origin_resource_type: string | null;
1988
+ retry_count: number;
1989
+ schedule_config: import("@repo/core").Json;
1990
+ status: string;
1991
+ target_resource_id: string;
1992
+ target_resource_type: string;
1993
+ updated_at: string;
1994
+ };
1995
+ Insert: {
1996
+ created_at?: string;
1997
+ current_step?: number;
1998
+ description?: string | null;
1999
+ id?: string;
2000
+ idempotency_key?: string | null;
2001
+ last_execution_id?: string | null;
2002
+ last_run_at?: string | null;
2003
+ max_retries?: number;
2004
+ metadata?: import("@repo/core").Json | null;
2005
+ name: string;
2006
+ next_run_at?: string | null;
2007
+ organization_id: string;
2008
+ origin_execution_id?: string | null;
2009
+ origin_resource_id?: string | null;
2010
+ origin_resource_type?: string | null;
2011
+ retry_count?: number;
2012
+ schedule_config: import("@repo/core").Json;
2013
+ status?: string;
2014
+ target_resource_id: string;
2015
+ target_resource_type: string;
2016
+ updated_at?: string;
2017
+ };
2018
+ Update: {
2019
+ created_at?: string;
2020
+ current_step?: number;
2021
+ description?: string | null;
2022
+ id?: string;
2023
+ idempotency_key?: string | null;
2024
+ last_execution_id?: string | null;
2025
+ last_run_at?: string | null;
2026
+ max_retries?: number;
2027
+ metadata?: import("@repo/core").Json | null;
2028
+ name?: string;
2029
+ next_run_at?: string | null;
2030
+ organization_id?: string;
2031
+ origin_execution_id?: string | null;
2032
+ origin_resource_id?: string | null;
2033
+ origin_resource_type?: string | null;
2034
+ retry_count?: number;
2035
+ schedule_config?: import("@repo/core").Json;
2036
+ status?: string;
2037
+ target_resource_id?: string;
2038
+ target_resource_type?: string;
2039
+ updated_at?: string;
2040
+ };
2041
+ Relationships: [{
2042
+ foreignKeyName: "task_schedules_organization_id_fkey";
2043
+ columns: ["organization_id"];
2044
+ isOneToOne: false;
2045
+ referencedRelation: "organizations";
2046
+ referencedColumns: ["id"];
2047
+ }];
2048
+ };
2049
+ users: {
2050
+ Row: {
2051
+ config: import("@repo/core").Json;
2052
+ created_at: string;
2053
+ display_name: string | null;
2054
+ email: string;
2055
+ first_name: string | null;
2056
+ id: string;
2057
+ is_active: boolean;
2058
+ is_platform_admin: boolean | null;
2059
+ last_login_at: string | null;
2060
+ last_name: string | null;
2061
+ last_visited_org: string | null;
2062
+ profile_picture_url: string | null;
2063
+ updated_at: string;
2064
+ workos_user_id: string | null;
2065
+ };
2066
+ Insert: {
2067
+ config?: import("@repo/core").Json;
2068
+ created_at?: string;
2069
+ display_name?: string | null;
2070
+ email: string;
2071
+ first_name?: string | null;
2072
+ id?: string;
2073
+ is_active?: boolean;
2074
+ is_platform_admin?: boolean | null;
2075
+ last_login_at?: string | null;
2076
+ last_name?: string | null;
2077
+ last_visited_org?: string | null;
2078
+ profile_picture_url?: string | null;
2079
+ updated_at?: string;
2080
+ workos_user_id?: string | null;
2081
+ };
2082
+ Update: {
2083
+ config?: import("@repo/core").Json;
2084
+ created_at?: string;
2085
+ display_name?: string | null;
2086
+ email?: string;
2087
+ first_name?: string | null;
2088
+ id?: string;
2089
+ is_active?: boolean;
2090
+ is_platform_admin?: boolean | null;
2091
+ last_login_at?: string | null;
2092
+ last_name?: string | null;
2093
+ last_visited_org?: string | null;
2094
+ profile_picture_url?: string | null;
2095
+ updated_at?: string;
2096
+ workos_user_id?: string | null;
2097
+ };
2098
+ Relationships: [{
2099
+ foreignKeyName: "user_profiles_last_visited_org_fkey";
2100
+ columns: ["last_visited_org"];
2101
+ isOneToOne: false;
2102
+ referencedRelation: "organizations";
2103
+ referencedColumns: ["id"];
2104
+ }];
2105
+ };
2106
+ webhook_endpoints: {
2107
+ Row: {
2108
+ created_at: string;
2109
+ description: string | null;
2110
+ id: string;
2111
+ key: string;
2112
+ last_triggered_at: string | null;
2113
+ name: string;
2114
+ organization_id: string;
2115
+ request_count: number;
2116
+ resource_id: string | null;
2117
+ status: string;
2118
+ updated_at: string;
2119
+ };
2120
+ Insert: {
2121
+ created_at?: string;
2122
+ description?: string | null;
2123
+ id?: string;
2124
+ key: string;
2125
+ last_triggered_at?: string | null;
2126
+ name: string;
2127
+ organization_id: string;
2128
+ request_count?: number;
2129
+ resource_id?: string | null;
2130
+ status?: string;
2131
+ updated_at?: string;
2132
+ };
2133
+ Update: {
2134
+ created_at?: string;
2135
+ description?: string | null;
2136
+ id?: string;
2137
+ key?: string;
2138
+ last_triggered_at?: string | null;
2139
+ name?: string;
2140
+ organization_id?: string;
2141
+ request_count?: number;
2142
+ resource_id?: string | null;
2143
+ status?: string;
2144
+ updated_at?: string;
2145
+ };
2146
+ Relationships: [{
2147
+ foreignKeyName: "webhook_endpoints_organization_id_fkey";
2148
+ columns: ["organization_id"];
2149
+ isOneToOne: false;
2150
+ referencedRelation: "organizations";
2151
+ referencedColumns: ["id"];
2152
+ }];
2153
+ };
2154
+ };
2155
+ Views: { [_ in never]: never; };
2156
+ Functions: {
2157
+ acq_default_checklist: {
2158
+ Args: {
2159
+ p_platform: string;
2160
+ };
2161
+ Returns: import("@repo/core").Json;
2162
+ };
2163
+ append_deal_activity: {
2164
+ Args: {
2165
+ p_activity: import("@repo/core").Json;
2166
+ p_deal_id: string;
2167
+ p_organization_id: string;
2168
+ };
2169
+ Returns: undefined;
2170
+ };
2171
+ auth_jwt_claims: {
2172
+ Args: never;
2173
+ Returns: import("@repo/core").Json;
2174
+ };
2175
+ auth_uid_safe: {
2176
+ Args: never;
2177
+ Returns: string;
2178
+ };
2179
+ current_user_is_platform_admin: {
2180
+ Args: never;
2181
+ Returns: boolean;
2182
+ };
2183
+ current_user_supabase_id: {
2184
+ Args: never;
2185
+ Returns: string;
2186
+ };
2187
+ detect_stalled_executions: {
2188
+ Args: never;
2189
+ Returns: undefined;
2190
+ };
2191
+ execute_session_turn: {
2192
+ Args: {
2193
+ p_session_id: string;
2194
+ };
2195
+ Returns: {
2196
+ created_at: string;
2197
+ ended_at: string;
2198
+ memory_snapshot: import("@repo/core").Json;
2199
+ metadata: import("@repo/core").Json;
2200
+ organization_id: string;
2201
+ resource_id: string;
2202
+ session_id: string;
2203
+ session_total_turns: number;
2204
+ updated_at: string;
2205
+ user_id: string;
2206
+ }[];
2207
+ };
2208
+ get_storage_org_id: {
2209
+ Args: {
2210
+ file_path: string;
2211
+ };
2212
+ Returns: string;
2213
+ };
2214
+ get_workos_user_id: {
2215
+ Args: never;
2216
+ Returns: string;
2217
+ };
2218
+ is_org_admin: {
2219
+ Args: {
2220
+ org_id: string;
2221
+ };
2222
+ Returns: boolean;
2223
+ };
2224
+ is_org_member: {
2225
+ Args: {
2226
+ org_id: string;
2227
+ };
2228
+ Returns: boolean;
2229
+ };
2230
+ link_workos_membership_on_accept: {
2231
+ Args: {
2232
+ p_email: string;
2233
+ p_organization_id: string;
2234
+ p_workos_membership_id: string;
2235
+ };
2236
+ Returns: boolean;
2237
+ };
2238
+ pre_provision_invited_user: {
2239
+ Args: {
2240
+ p_email: string;
2241
+ p_organization_id: string;
2242
+ p_role_slug?: string;
2243
+ };
2244
+ Returns: import("@repo/core").Json;
2245
+ };
2246
+ process_due_schedules: {
2247
+ Args: never;
2248
+ Returns: import("@repo/core").Json;
2249
+ };
2250
+ upsert_user_profile: {
2251
+ Args: never;
2252
+ Returns: {
2253
+ profile_display_name: string;
2254
+ profile_email: string;
2255
+ profile_id: string;
2256
+ profile_workos_user_id: string;
2257
+ }[];
2258
+ };
2259
+ };
2260
+ Enums: { [_ in never]: never; };
2261
+ CompositeTypes: { [_ in never]: never; };
2262
+ }, {
2263
+ PostgrestVersion: "12.2.3 (519615d)";
2264
+ }>;
2265
+ //# sourceMappingURL=client.d.ts.map