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