@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,4595 +1,2 @@
1
- import { SupabaseClient } from '@supabase/supabase-js';
2
-
3
- type Json = string | number | boolean | null | {
4
- [key: string]: Json | undefined;
5
- } | Json[];
6
- type Database = {
7
- __InternalSupabase: {
8
- PostgrestVersion: '12.2.3 (519615d)';
9
- };
10
- public: {
11
- Tables: {
12
- acq_companies: {
13
- Row: {
14
- attio_company_id: string | null;
15
- batch_id: string | null;
16
- category: string | null;
17
- category_pain: string | null;
18
- created_at: string;
19
- domain: string | null;
20
- enrichment_data: Json | null;
21
- filter_reason: string | null;
22
- founded_year: number | null;
23
- id: string;
24
- linkedin_url: string | null;
25
- location_city: string | null;
26
- location_state: string | null;
27
- name: string;
28
- num_employees: number | null;
29
- organization_id: string;
30
- pipeline_status: Json;
31
- segment: string | null;
32
- source: string | null;
33
- status: string;
34
- updated_at: string;
35
- website: string | null;
36
- };
37
- Insert: {
38
- attio_company_id?: string | null;
39
- batch_id?: string | null;
40
- category?: string | null;
41
- category_pain?: string | null;
42
- created_at?: string;
43
- domain?: string | null;
44
- enrichment_data?: Json | null;
45
- filter_reason?: string | null;
46
- founded_year?: number | null;
47
- id?: string;
48
- linkedin_url?: string | null;
49
- location_city?: string | null;
50
- location_state?: string | null;
51
- name: string;
52
- num_employees?: number | null;
53
- organization_id: string;
54
- pipeline_status?: Json;
55
- segment?: string | null;
56
- source?: string | null;
57
- status?: string;
58
- updated_at?: string;
59
- website?: string | null;
60
- };
61
- Update: {
62
- attio_company_id?: string | null;
63
- batch_id?: string | null;
64
- category?: string | null;
65
- category_pain?: string | null;
66
- created_at?: string;
67
- domain?: string | null;
68
- enrichment_data?: Json | null;
69
- filter_reason?: string | null;
70
- founded_year?: number | null;
71
- id?: string;
72
- linkedin_url?: string | null;
73
- location_city?: string | null;
74
- location_state?: string | null;
75
- name?: string;
76
- num_employees?: number | null;
77
- organization_id?: string;
78
- pipeline_status?: Json;
79
- segment?: string | null;
80
- source?: string | null;
81
- status?: string;
82
- updated_at?: string;
83
- website?: string | null;
84
- };
85
- Relationships: [
86
- {
87
- foreignKeyName: 'acq_companies_organization_id_fkey';
88
- columns: ['organization_id'];
89
- isOneToOne: false;
90
- referencedRelation: 'organizations';
91
- referencedColumns: ['id'];
92
- }
93
- ];
94
- };
95
- acq_contacts: {
96
- Row: {
97
- attio_person_id: string | null;
98
- batch_id: string | null;
99
- brochure_first_viewed_at: string | null;
100
- brochure_view_count: number;
101
- company_id: string | null;
102
- created_at: string;
103
- email: string;
104
- email_valid: string | null;
105
- enrichment_data: Json;
106
- filter_reason: string | null;
107
- first_name: string | null;
108
- headline: string | null;
109
- id: string;
110
- last_name: string | null;
111
- linkedin_url: string | null;
112
- nurture: boolean;
113
- opening_line: string | null;
114
- organization_id: string;
115
- pipeline_status: Json;
116
- source: string | null;
117
- source_id: string | null;
118
- status: string;
119
- title: string | null;
120
- updated_at: string;
121
- };
122
- Insert: {
123
- attio_person_id?: string | null;
124
- batch_id?: string | null;
125
- brochure_first_viewed_at?: string | null;
126
- brochure_view_count?: number;
127
- company_id?: string | null;
128
- created_at?: string;
129
- email: string;
130
- email_valid?: string | null;
131
- enrichment_data?: Json;
132
- filter_reason?: string | null;
133
- first_name?: string | null;
134
- headline?: string | null;
135
- id?: string;
136
- last_name?: string | null;
137
- linkedin_url?: string | null;
138
- nurture?: boolean;
139
- opening_line?: string | null;
140
- organization_id: string;
141
- pipeline_status?: Json;
142
- source?: string | null;
143
- source_id?: string | null;
144
- status?: string;
145
- title?: string | null;
146
- updated_at?: string;
147
- };
148
- Update: {
149
- attio_person_id?: string | null;
150
- batch_id?: string | null;
151
- brochure_first_viewed_at?: string | null;
152
- brochure_view_count?: number;
153
- company_id?: string | null;
154
- created_at?: string;
155
- email?: string;
156
- email_valid?: string | null;
157
- enrichment_data?: Json;
158
- filter_reason?: string | null;
159
- first_name?: string | null;
160
- headline?: string | null;
161
- id?: string;
162
- last_name?: string | null;
163
- linkedin_url?: string | null;
164
- nurture?: boolean;
165
- opening_line?: string | null;
166
- organization_id?: string;
167
- pipeline_status?: Json;
168
- source?: string | null;
169
- source_id?: string | null;
170
- status?: string;
171
- title?: string | null;
172
- updated_at?: string;
173
- };
174
- Relationships: [
175
- {
176
- foreignKeyName: 'acq_contacts_company_id_fkey';
177
- columns: ['company_id'];
178
- isOneToOne: false;
179
- referencedRelation: 'acq_companies';
180
- referencedColumns: ['id'];
181
- },
182
- {
183
- foreignKeyName: 'acq_contacts_organization_id_fkey';
184
- columns: ['organization_id'];
185
- isOneToOne: false;
186
- referencedRelation: 'organizations';
187
- referencedColumns: ['id'];
188
- }
189
- ];
190
- };
191
- acq_content: {
192
- Row: {
193
- body: string | null;
194
- created_at: string;
195
- id: string;
196
- organization_id: string;
197
- pillar: string;
198
- status: string;
199
- title: string;
200
- updated_at: string;
201
- };
202
- Insert: {
203
- body?: string | null;
204
- created_at?: string;
205
- id?: string;
206
- organization_id: string;
207
- pillar: string;
208
- status?: string;
209
- title: string;
210
- updated_at?: string;
211
- };
212
- Update: {
213
- body?: string | null;
214
- created_at?: string;
215
- id?: string;
216
- organization_id?: string;
217
- pillar?: string;
218
- status?: string;
219
- title?: string;
220
- updated_at?: string;
221
- };
222
- Relationships: [
223
- {
224
- foreignKeyName: 'acq_content_organization_id_fkey';
225
- columns: ['organization_id'];
226
- isOneToOne: false;
227
- referencedRelation: 'organizations';
228
- referencedColumns: ['id'];
229
- }
230
- ];
231
- };
232
- acq_content_distributions: {
233
- Row: {
234
- adapted_body: string | null;
235
- checklist: Json | null;
236
- content_id: string;
237
- created_at: string;
238
- format: string;
239
- id: string;
240
- media_urls: Json;
241
- metrics: Json;
242
- metrics_updated_at: string | null;
243
- organization_id: string;
244
- platform: string;
245
- platform_content: Json | null;
246
- platform_post_id: string | null;
247
- platform_url: string | null;
248
- published_at: string | null;
249
- status: string;
250
- updated_at: string;
251
- };
252
- Insert: {
253
- adapted_body?: string | null;
254
- checklist?: Json | null;
255
- content_id: string;
256
- created_at?: string;
257
- format: string;
258
- id?: string;
259
- media_urls?: Json;
260
- metrics?: Json;
261
- metrics_updated_at?: string | null;
262
- organization_id: string;
263
- platform: string;
264
- platform_content?: Json | null;
265
- platform_post_id?: string | null;
266
- platform_url?: string | null;
267
- published_at?: string | null;
268
- status?: string;
269
- updated_at?: string;
270
- };
271
- Update: {
272
- adapted_body?: string | null;
273
- checklist?: Json | null;
274
- content_id?: string;
275
- created_at?: string;
276
- format?: string;
277
- id?: string;
278
- media_urls?: Json;
279
- metrics?: Json;
280
- metrics_updated_at?: string | null;
281
- organization_id?: string;
282
- platform?: string;
283
- platform_content?: Json | null;
284
- platform_post_id?: string | null;
285
- platform_url?: string | null;
286
- published_at?: string | null;
287
- status?: string;
288
- updated_at?: string;
289
- };
290
- Relationships: [
291
- {
292
- foreignKeyName: 'acq_content_distributions_content_id_fkey';
293
- columns: ['content_id'];
294
- isOneToOne: false;
295
- referencedRelation: 'acq_content';
296
- referencedColumns: ['id'];
297
- },
298
- {
299
- foreignKeyName: 'acq_content_distributions_organization_id_fkey';
300
- columns: ['organization_id'];
301
- isOneToOne: false;
302
- referencedRelation: 'organizations';
303
- referencedColumns: ['id'];
304
- }
305
- ];
306
- };
307
- acq_deals: {
308
- Row: {
309
- activity_log: Json;
310
- attio_deal_id: string;
311
- cached_stage: string | null;
312
- closed_lost_at: string | null;
313
- closed_lost_reason: string | null;
314
- contact_email: string;
315
- contact_id: string | null;
316
- created_at: string;
317
- discovery_data: Json | null;
318
- discovery_submitted_at: string | null;
319
- discovery_submitted_by: string | null;
320
- id: string;
321
- initial_fee: number | null;
322
- monthly_fee: number | null;
323
- organization_id: string;
324
- payment_link_sent_at: string | null;
325
- payment_received_at: string | null;
326
- proposal_data: Json | null;
327
- proposal_generated_at: string | null;
328
- proposal_pdf_url: string | null;
329
- proposal_reviewed_at: string | null;
330
- proposal_reviewed_by: string | null;
331
- proposal_sent_at: string | null;
332
- proposal_signed_at: string | null;
333
- proposal_status: string | null;
334
- signature_envelope_id: string | null;
335
- source_list_id: string | null;
336
- source_type: string | null;
337
- stripe_payment_id: string | null;
338
- stripe_payment_link: string | null;
339
- stripe_payment_link_id: string | null;
340
- stripe_subscription_id: string | null;
341
- updated_at: string;
342
- };
343
- Insert: {
344
- activity_log?: Json;
345
- attio_deal_id: string;
346
- cached_stage?: string | null;
347
- closed_lost_at?: string | null;
348
- closed_lost_reason?: string | null;
349
- contact_email: string;
350
- contact_id?: string | null;
351
- created_at?: string;
352
- discovery_data?: Json | null;
353
- discovery_submitted_at?: string | null;
354
- discovery_submitted_by?: string | null;
355
- id?: string;
356
- initial_fee?: number | null;
357
- monthly_fee?: number | null;
358
- organization_id: string;
359
- payment_link_sent_at?: string | null;
360
- payment_received_at?: string | null;
361
- proposal_data?: Json | null;
362
- proposal_generated_at?: string | null;
363
- proposal_pdf_url?: string | null;
364
- proposal_reviewed_at?: string | null;
365
- proposal_reviewed_by?: string | null;
366
- proposal_sent_at?: string | null;
367
- proposal_signed_at?: string | null;
368
- proposal_status?: string | null;
369
- signature_envelope_id?: string | null;
370
- source_list_id?: string | null;
371
- source_type?: string | null;
372
- stripe_payment_id?: string | null;
373
- stripe_payment_link?: string | null;
374
- stripe_payment_link_id?: string | null;
375
- stripe_subscription_id?: string | null;
376
- updated_at?: string;
377
- };
378
- Update: {
379
- activity_log?: Json;
380
- attio_deal_id?: string;
381
- cached_stage?: string | null;
382
- closed_lost_at?: string | null;
383
- closed_lost_reason?: string | null;
384
- contact_email?: string;
385
- contact_id?: string | null;
386
- created_at?: string;
387
- discovery_data?: Json | null;
388
- discovery_submitted_at?: string | null;
389
- discovery_submitted_by?: string | null;
390
- id?: string;
391
- initial_fee?: number | null;
392
- monthly_fee?: number | null;
393
- organization_id?: string;
394
- payment_link_sent_at?: string | null;
395
- payment_received_at?: string | null;
396
- proposal_data?: Json | null;
397
- proposal_generated_at?: string | null;
398
- proposal_pdf_url?: string | null;
399
- proposal_reviewed_at?: string | null;
400
- proposal_reviewed_by?: string | null;
401
- proposal_sent_at?: string | null;
402
- proposal_signed_at?: string | null;
403
- proposal_status?: string | null;
404
- signature_envelope_id?: string | null;
405
- source_list_id?: string | null;
406
- source_type?: string | null;
407
- stripe_payment_id?: string | null;
408
- stripe_payment_link?: string | null;
409
- stripe_payment_link_id?: string | null;
410
- stripe_subscription_id?: string | null;
411
- updated_at?: string;
412
- };
413
- Relationships: [
414
- {
415
- foreignKeyName: 'acq_deals_contact_id_fkey';
416
- columns: ['contact_id'];
417
- isOneToOne: false;
418
- referencedRelation: 'acq_contacts';
419
- referencedColumns: ['id'];
420
- },
421
- {
422
- foreignKeyName: 'acq_deals_organization_id_fkey';
423
- columns: ['organization_id'];
424
- isOneToOne: false;
425
- referencedRelation: 'organizations';
426
- referencedColumns: ['id'];
427
- },
428
- {
429
- foreignKeyName: 'acq_deals_source_list_id_fkey';
430
- columns: ['source_list_id'];
431
- isOneToOne: false;
432
- referencedRelation: 'acq_lists';
433
- referencedColumns: ['id'];
434
- }
435
- ];
436
- };
437
- acq_list_members: {
438
- Row: {
439
- added_at: string;
440
- added_by: string | null;
441
- contact_id: string;
442
- id: string;
443
- list_id: string;
444
- };
445
- Insert: {
446
- added_at?: string;
447
- added_by?: string | null;
448
- contact_id: string;
449
- id?: string;
450
- list_id: string;
451
- };
452
- Update: {
453
- added_at?: string;
454
- added_by?: string | null;
455
- contact_id?: string;
456
- id?: string;
457
- list_id?: string;
458
- };
459
- Relationships: [
460
- {
461
- foreignKeyName: 'acq_list_members_contact_id_fkey';
462
- columns: ['contact_id'];
463
- isOneToOne: false;
464
- referencedRelation: 'acq_contacts';
465
- referencedColumns: ['id'];
466
- },
467
- {
468
- foreignKeyName: 'acq_list_members_list_id_fkey';
469
- columns: ['list_id'];
470
- isOneToOne: false;
471
- referencedRelation: 'acq_lists';
472
- referencedColumns: ['id'];
473
- }
474
- ];
475
- };
476
- acq_lists: {
477
- Row: {
478
- batch_ids: string[];
479
- completed_at: string | null;
480
- created_at: string;
481
- description: string | null;
482
- id: string;
483
- instantly_campaign_id: string | null;
484
- launched_at: string | null;
485
- metadata: Json;
486
- name: string;
487
- organization_id: string;
488
- status: string;
489
- type: string;
490
- };
491
- Insert: {
492
- batch_ids?: string[];
493
- completed_at?: string | null;
494
- created_at?: string;
495
- description?: string | null;
496
- id?: string;
497
- instantly_campaign_id?: string | null;
498
- launched_at?: string | null;
499
- metadata?: Json;
500
- name: string;
501
- organization_id: string;
502
- status?: string;
503
- type?: string;
504
- };
505
- Update: {
506
- batch_ids?: string[];
507
- completed_at?: string | null;
508
- created_at?: string;
509
- description?: string | null;
510
- id?: string;
511
- instantly_campaign_id?: string | null;
512
- launched_at?: string | null;
513
- metadata?: Json;
514
- name?: string;
515
- organization_id?: string;
516
- status?: string;
517
- type?: string;
518
- };
519
- Relationships: [
520
- {
521
- foreignKeyName: 'acq_lists_organization_id_fkey';
522
- columns: ['organization_id'];
523
- isOneToOne: false;
524
- referencedRelation: 'organizations';
525
- referencedColumns: ['id'];
526
- }
527
- ];
528
- };
529
- acq_seo_metrics: {
530
- Row: {
531
- ai_citations: Json | null;
532
- avg_position: number | null;
533
- clicks: number | null;
534
- created_at: string;
535
- cta_clicks: number | null;
536
- ctr: number | null;
537
- data_point_count: number | null;
538
- faq_count: number | null;
539
- form_submissions: number | null;
540
- id: string;
541
- impressions: number | null;
542
- organization_id: string;
543
- period: string;
544
- quality_score: number | null;
545
- readability: number | null;
546
- scroll_100: number | null;
547
- scroll_25: number | null;
548
- scroll_50: number | null;
549
- scroll_75: number | null;
550
- seo_page_id: string;
551
- word_count: number | null;
552
- };
553
- Insert: {
554
- ai_citations?: Json | null;
555
- avg_position?: number | null;
556
- clicks?: number | null;
557
- created_at?: string;
558
- cta_clicks?: number | null;
559
- ctr?: number | null;
560
- data_point_count?: number | null;
561
- faq_count?: number | null;
562
- form_submissions?: number | null;
563
- id?: string;
564
- impressions?: number | null;
565
- organization_id: string;
566
- period: string;
567
- quality_score?: number | null;
568
- readability?: number | null;
569
- scroll_100?: number | null;
570
- scroll_25?: number | null;
571
- scroll_50?: number | null;
572
- scroll_75?: number | null;
573
- seo_page_id: string;
574
- word_count?: number | null;
575
- };
576
- Update: {
577
- ai_citations?: Json | null;
578
- avg_position?: number | null;
579
- clicks?: number | null;
580
- created_at?: string;
581
- cta_clicks?: number | null;
582
- ctr?: number | null;
583
- data_point_count?: number | null;
584
- faq_count?: number | null;
585
- form_submissions?: number | null;
586
- id?: string;
587
- impressions?: number | null;
588
- organization_id?: string;
589
- period?: string;
590
- quality_score?: number | null;
591
- readability?: number | null;
592
- scroll_100?: number | null;
593
- scroll_25?: number | null;
594
- scroll_50?: number | null;
595
- scroll_75?: number | null;
596
- seo_page_id?: string;
597
- word_count?: number | null;
598
- };
599
- Relationships: [
600
- {
601
- foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
602
- columns: ['organization_id'];
603
- isOneToOne: false;
604
- referencedRelation: 'organizations';
605
- referencedColumns: ['id'];
606
- },
607
- {
608
- foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
609
- columns: ['seo_page_id'];
610
- isOneToOne: false;
611
- referencedRelation: 'acq_seo_pages';
612
- referencedColumns: ['id'];
613
- }
614
- ];
615
- };
616
- acq_seo_pages: {
617
- Row: {
618
- city: string | null;
619
- content: Json | null;
620
- created_at: string;
621
- faq_items: Json | null;
622
- hero_image_url: string | null;
623
- id: string;
624
- internal_links: Json | null;
625
- local_data: Json | null;
626
- meta_description: string | null;
627
- organization_id: string;
628
- page_type: string;
629
- published_at: string | null;
630
- refreshed_at: string | null;
631
- schema_markup: Json | null;
632
- slug: string;
633
- state: string | null;
634
- status: string;
635
- title: string;
636
- updated_at: string;
637
- use_case: string | null;
638
- vertical: string;
639
- };
640
- Insert: {
641
- city?: string | null;
642
- content?: Json | null;
643
- created_at?: string;
644
- faq_items?: Json | null;
645
- hero_image_url?: string | null;
646
- id?: string;
647
- internal_links?: Json | null;
648
- local_data?: Json | null;
649
- meta_description?: string | null;
650
- organization_id: string;
651
- page_type: string;
652
- published_at?: string | null;
653
- refreshed_at?: string | null;
654
- schema_markup?: Json | null;
655
- slug: string;
656
- state?: string | null;
657
- status?: string;
658
- title: string;
659
- updated_at?: string;
660
- use_case?: string | null;
661
- vertical: string;
662
- };
663
- Update: {
664
- city?: string | null;
665
- content?: Json | null;
666
- created_at?: string;
667
- faq_items?: Json | null;
668
- hero_image_url?: string | null;
669
- id?: string;
670
- internal_links?: Json | null;
671
- local_data?: Json | null;
672
- meta_description?: string | null;
673
- organization_id?: string;
674
- page_type?: string;
675
- published_at?: string | null;
676
- refreshed_at?: string | null;
677
- schema_markup?: Json | null;
678
- slug?: string;
679
- state?: string | null;
680
- status?: string;
681
- title?: string;
682
- updated_at?: string;
683
- use_case?: string | null;
684
- vertical?: string;
685
- };
686
- Relationships: [
687
- {
688
- foreignKeyName: 'acq_seo_pages_organization_id_fkey';
689
- columns: ['organization_id'];
690
- isOneToOne: false;
691
- referencedRelation: 'organizations';
692
- referencedColumns: ['id'];
693
- }
694
- ];
695
- };
696
- acq_social_posts: {
697
- Row: {
698
- author_name: string;
699
- author_url: string | null;
700
- comments_count: number;
701
- created_at: string;
702
- discovered_at: string;
703
- engagement_count: number;
704
- feedback: string | null;
705
- final_response: string | null;
706
- fully_reviewed: boolean;
707
- id: string;
708
- initial_draft: string | null;
709
- matched_keywords: string[];
710
- matched_query: string | null;
711
- metadata: Json;
712
- organization_id: string;
713
- platform: string;
714
- platform_post_id: string;
715
- post_text: string;
716
- post_title: string;
717
- post_url: string;
718
- posted_at: string;
719
- relevance_score: number;
720
- responded_at: string | null;
721
- reviewed_at: string | null;
722
- skip_reason: string | null;
723
- source_category: string | null;
724
- status: string;
725
- updated_at: string;
726
- };
727
- Insert: {
728
- author_name: string;
729
- author_url?: string | null;
730
- comments_count?: number;
731
- created_at?: string;
732
- discovered_at?: string;
733
- engagement_count?: number;
734
- feedback?: string | null;
735
- final_response?: string | null;
736
- fully_reviewed?: boolean;
737
- id?: string;
738
- initial_draft?: string | null;
739
- matched_keywords?: string[];
740
- matched_query?: string | null;
741
- metadata?: Json;
742
- organization_id: string;
743
- platform: string;
744
- platform_post_id: string;
745
- post_text: string;
746
- post_title: string;
747
- post_url: string;
748
- posted_at: string;
749
- relevance_score?: number;
750
- responded_at?: string | null;
751
- reviewed_at?: string | null;
752
- skip_reason?: string | null;
753
- source_category?: string | null;
754
- status?: string;
755
- updated_at?: string;
756
- };
757
- Update: {
758
- author_name?: string;
759
- author_url?: string | null;
760
- comments_count?: number;
761
- created_at?: string;
762
- discovered_at?: string;
763
- engagement_count?: number;
764
- feedback?: string | null;
765
- final_response?: string | null;
766
- fully_reviewed?: boolean;
767
- id?: string;
768
- initial_draft?: string | null;
769
- matched_keywords?: string[];
770
- matched_query?: string | null;
771
- metadata?: Json;
772
- organization_id?: string;
773
- platform?: string;
774
- platform_post_id?: string;
775
- post_text?: string;
776
- post_title?: string;
777
- post_url?: string;
778
- posted_at?: string;
779
- relevance_score?: number;
780
- responded_at?: string | null;
781
- reviewed_at?: string | null;
782
- skip_reason?: string | null;
783
- source_category?: string | null;
784
- status?: string;
785
- updated_at?: string;
786
- };
787
- Relationships: [
788
- {
789
- foreignKeyName: 'acq_social_posts_organization_id_fkey';
790
- columns: ['organization_id'];
791
- isOneToOne: false;
792
- referencedRelation: 'organizations';
793
- referencedColumns: ['id'];
794
- }
795
- ];
796
- };
797
- activities: {
798
- Row: {
799
- activity_type: string;
800
- actor_id: string | null;
801
- actor_type: string | null;
802
- created_at: string;
803
- description: string | null;
804
- entity_id: string;
805
- entity_name: string | null;
806
- entity_type: string;
807
- id: string;
808
- metadata: Json | null;
809
- occurred_at: string;
810
- organization_id: string;
811
- status: string;
812
- title: string;
813
- };
814
- Insert: {
815
- activity_type: string;
816
- actor_id?: string | null;
817
- actor_type?: string | null;
818
- created_at?: string;
819
- description?: string | null;
820
- entity_id: string;
821
- entity_name?: string | null;
822
- entity_type: string;
823
- id?: string;
824
- metadata?: Json | null;
825
- occurred_at?: string;
826
- organization_id: string;
827
- status: string;
828
- title: string;
829
- };
830
- Update: {
831
- activity_type?: string;
832
- actor_id?: string | null;
833
- actor_type?: string | null;
834
- created_at?: string;
835
- description?: string | null;
836
- entity_id?: string;
837
- entity_name?: string | null;
838
- entity_type?: string;
839
- id?: string;
840
- metadata?: Json | null;
841
- occurred_at?: string;
842
- organization_id?: string;
843
- status?: string;
844
- title?: string;
845
- };
846
- Relationships: [
847
- {
848
- foreignKeyName: 'activities_organization_id_fkey';
849
- columns: ['organization_id'];
850
- isOneToOne: false;
851
- referencedRelation: 'organizations';
852
- referencedColumns: ['id'];
853
- }
854
- ];
855
- };
856
- api_keys: {
857
- Row: {
858
- created_at: string | null;
859
- id: string;
860
- key_hash: string;
861
- last_used_at: string | null;
862
- name: string;
863
- organization_id: string;
864
- };
865
- Insert: {
866
- created_at?: string | null;
867
- id?: string;
868
- key_hash: string;
869
- last_used_at?: string | null;
870
- name: string;
871
- organization_id: string;
872
- };
873
- Update: {
874
- created_at?: string | null;
875
- id?: string;
876
- key_hash?: string;
877
- last_used_at?: string | null;
878
- name?: string;
879
- organization_id?: string;
880
- };
881
- Relationships: [
882
- {
883
- foreignKeyName: 'api_keys_organization_id_fkey';
884
- columns: ['organization_id'];
885
- isOneToOne: false;
886
- referencedRelation: 'organizations';
887
- referencedColumns: ['id'];
888
- }
889
- ];
890
- };
891
- calibration_projects: {
892
- Row: {
893
- created_at: string | null;
894
- description: string | null;
895
- id: string;
896
- name: string;
897
- organization_id: string;
898
- resource_id: string;
899
- resource_type: string;
900
- updated_at: string | null;
901
- };
902
- Insert: {
903
- created_at?: string | null;
904
- description?: string | null;
905
- id?: string;
906
- name: string;
907
- organization_id: string;
908
- resource_id: string;
909
- resource_type: string;
910
- updated_at?: string | null;
911
- };
912
- Update: {
913
- created_at?: string | null;
914
- description?: string | null;
915
- id?: string;
916
- name?: string;
917
- organization_id?: string;
918
- resource_id?: string;
919
- resource_type?: string;
920
- updated_at?: string | null;
921
- };
922
- Relationships: [
923
- {
924
- foreignKeyName: 'calibration_projects_organization_id_fkey';
925
- columns: ['organization_id'];
926
- isOneToOne: false;
927
- referencedRelation: 'organizations';
928
- referencedColumns: ['id'];
929
- }
930
- ];
931
- };
932
- calibration_runs: {
933
- Row: {
934
- completed_at: string | null;
935
- config_variants: Json;
936
- created_at: string | null;
937
- description: string | null;
938
- execution_mode: string;
939
- grader_model: string | null;
940
- grading_rubric: Json | null;
941
- id: string;
942
- name: string;
943
- organization_id: string;
944
- project_id: string;
945
- results: Json;
946
- status: string;
947
- test_inputs: Json;
948
- };
949
- Insert: {
950
- completed_at?: string | null;
951
- config_variants: Json;
952
- created_at?: string | null;
953
- description?: string | null;
954
- execution_mode?: string;
955
- grader_model?: string | null;
956
- grading_rubric?: Json | null;
957
- id?: string;
958
- name: string;
959
- organization_id: string;
960
- project_id: string;
961
- results?: Json;
962
- status?: string;
963
- test_inputs: Json;
964
- };
965
- Update: {
966
- completed_at?: string | null;
967
- config_variants?: Json;
968
- created_at?: string | null;
969
- description?: string | null;
970
- execution_mode?: string;
971
- grader_model?: string | null;
972
- grading_rubric?: Json | null;
973
- id?: string;
974
- name?: string;
975
- organization_id?: string;
976
- project_id?: string;
977
- results?: Json;
978
- status?: string;
979
- test_inputs?: Json;
980
- };
981
- Relationships: [
982
- {
983
- foreignKeyName: 'calibration_runs_organization_id_fkey';
984
- columns: ['organization_id'];
985
- isOneToOne: false;
986
- referencedRelation: 'organizations';
987
- referencedColumns: ['id'];
988
- },
989
- {
990
- foreignKeyName: 'calibration_runs_project_id_fkey';
991
- columns: ['project_id'];
992
- isOneToOne: false;
993
- referencedRelation: 'calibration_projects';
994
- referencedColumns: ['id'];
995
- }
996
- ];
997
- };
998
- command_queue: {
999
- Row: {
1000
- action_payload: Json | null;
1001
- actions: Json;
1002
- completed_at: string | null;
1003
- completed_by: string | null;
1004
- context: Json;
1005
- created_at: string;
1006
- description: string | null;
1007
- expires_at: string | null;
1008
- human_checkpoint: string | null;
1009
- id: string;
1010
- idempotency_key: string | null;
1011
- metadata: Json | null;
1012
- organization_id: string;
1013
- origin_execution_id: string;
1014
- origin_resource_id: string;
1015
- origin_resource_type: string;
1016
- priority: number;
1017
- selected_action: string | null;
1018
- status: string;
1019
- target_execution_id: string | null;
1020
- target_resource_id: string | null;
1021
- target_resource_type: string | null;
1022
- };
1023
- Insert: {
1024
- action_payload?: Json | null;
1025
- actions: Json;
1026
- completed_at?: string | null;
1027
- completed_by?: string | null;
1028
- context: Json;
1029
- created_at?: string;
1030
- description?: string | null;
1031
- expires_at?: string | null;
1032
- human_checkpoint?: string | null;
1033
- id?: string;
1034
- idempotency_key?: string | null;
1035
- metadata?: Json | null;
1036
- organization_id: string;
1037
- origin_execution_id: string;
1038
- origin_resource_id: string;
1039
- origin_resource_type: string;
1040
- priority?: number;
1041
- selected_action?: string | null;
1042
- status?: string;
1043
- target_execution_id?: string | null;
1044
- target_resource_id?: string | null;
1045
- target_resource_type?: string | null;
1046
- };
1047
- Update: {
1048
- action_payload?: Json | null;
1049
- actions?: Json;
1050
- completed_at?: string | null;
1051
- completed_by?: string | null;
1052
- context?: Json;
1053
- created_at?: string;
1054
- description?: string | null;
1055
- expires_at?: string | null;
1056
- human_checkpoint?: string | null;
1057
- id?: string;
1058
- idempotency_key?: string | null;
1059
- metadata?: Json | null;
1060
- organization_id?: string;
1061
- origin_execution_id?: string;
1062
- origin_resource_id?: string;
1063
- origin_resource_type?: string;
1064
- priority?: number;
1065
- selected_action?: string | null;
1066
- status?: string;
1067
- target_execution_id?: string | null;
1068
- target_resource_id?: string | null;
1069
- target_resource_type?: string | null;
1070
- };
1071
- Relationships: [
1072
- {
1073
- foreignKeyName: 'command_queue_completed_by_fkey';
1074
- columns: ['completed_by'];
1075
- isOneToOne: false;
1076
- referencedRelation: 'users';
1077
- referencedColumns: ['id'];
1078
- },
1079
- {
1080
- foreignKeyName: 'command_queue_organization_id_fkey';
1081
- columns: ['organization_id'];
1082
- isOneToOne: false;
1083
- referencedRelation: 'organizations';
1084
- referencedColumns: ['id'];
1085
- },
1086
- {
1087
- foreignKeyName: 'command_queue_target_execution_id_fkey';
1088
- columns: ['target_execution_id'];
1089
- isOneToOne: false;
1090
- referencedRelation: 'execution_logs';
1091
- referencedColumns: ['execution_id'];
1092
- }
1093
- ];
1094
- };
1095
- credentials: {
1096
- Row: {
1097
- created_at: string;
1098
- created_by: string | null;
1099
- encrypted_value: string;
1100
- id: string;
1101
- name: string;
1102
- organization_id: string;
1103
- provider: string | null;
1104
- type: string;
1105
- updated_at: string;
1106
- };
1107
- Insert: {
1108
- created_at?: string;
1109
- created_by?: string | null;
1110
- encrypted_value: string;
1111
- id?: string;
1112
- name: string;
1113
- organization_id: string;
1114
- provider?: string | null;
1115
- type?: string;
1116
- updated_at?: string;
1117
- };
1118
- Update: {
1119
- created_at?: string;
1120
- created_by?: string | null;
1121
- encrypted_value?: string;
1122
- id?: string;
1123
- name?: string;
1124
- organization_id?: string;
1125
- provider?: string | null;
1126
- type?: string;
1127
- updated_at?: string;
1128
- };
1129
- Relationships: [
1130
- {
1131
- foreignKeyName: 'credentials_created_by_fkey';
1132
- columns: ['created_by'];
1133
- isOneToOne: false;
1134
- referencedRelation: 'users';
1135
- referencedColumns: ['id'];
1136
- },
1137
- {
1138
- foreignKeyName: 'credentials_organization_id_fkey';
1139
- columns: ['organization_id'];
1140
- isOneToOne: false;
1141
- referencedRelation: 'organizations';
1142
- referencedColumns: ['id'];
1143
- }
1144
- ];
1145
- };
1146
- prj_tasks: {
1147
- Row: {
1148
- checklist: Json | null;
1149
- completed_at: string | null;
1150
- created_at: string;
1151
- description: string | null;
1152
- due_date: string | null;
1153
- file_url: string | null;
1154
- id: string;
1155
- metadata: Json | null;
1156
- milestone_id: string | null;
1157
- name: string;
1158
- organization_id: string;
1159
- parent_task_id: string | null;
1160
- project_id: string;
1161
- resume_context: Json | null;
1162
- status: string;
1163
- type: string;
1164
- updated_at: string;
1165
- };
1166
- Insert: {
1167
- checklist?: Json | null;
1168
- completed_at?: string | null;
1169
- created_at?: string;
1170
- description?: string | null;
1171
- due_date?: string | null;
1172
- file_url?: string | null;
1173
- id?: string;
1174
- metadata?: Json | null;
1175
- milestone_id?: string | null;
1176
- name: string;
1177
- organization_id: string;
1178
- parent_task_id?: string | null;
1179
- project_id: string;
1180
- resume_context?: Json | null;
1181
- status?: string;
1182
- type?: string;
1183
- updated_at?: string;
1184
- };
1185
- Update: {
1186
- checklist?: Json | null;
1187
- completed_at?: string | null;
1188
- created_at?: string;
1189
- description?: string | null;
1190
- due_date?: string | null;
1191
- file_url?: string | null;
1192
- id?: string;
1193
- metadata?: Json | null;
1194
- milestone_id?: string | null;
1195
- name?: string;
1196
- organization_id?: string;
1197
- parent_task_id?: string | null;
1198
- project_id?: string;
1199
- resume_context?: Json | null;
1200
- status?: string;
1201
- type?: string;
1202
- updated_at?: string;
1203
- };
1204
- Relationships: [
1205
- {
1206
- foreignKeyName: 'prj_tasks_project_id_fkey';
1207
- columns: ['project_id'];
1208
- isOneToOne: false;
1209
- referencedRelation: 'prj_projects';
1210
- referencedColumns: ['id'];
1211
- },
1212
- {
1213
- foreignKeyName: 'prj_tasks_milestone_id_fkey';
1214
- columns: ['milestone_id'];
1215
- isOneToOne: false;
1216
- referencedRelation: 'prj_milestones';
1217
- referencedColumns: ['id'];
1218
- },
1219
- {
1220
- foreignKeyName: 'prj_tasks_organization_id_fkey';
1221
- columns: ['organization_id'];
1222
- isOneToOne: false;
1223
- referencedRelation: 'organizations';
1224
- referencedColumns: ['id'];
1225
- }
1226
- ];
1227
- };
1228
- prj_projects: {
1229
- Row: {
1230
- actual_end_date: string | null;
1231
- client_company_id: string | null;
1232
- contract_value: number | null;
1233
- created_at: string;
1234
- deal_id: string | null;
1235
- description: string | null;
1236
- id: string;
1237
- kind: string;
1238
- metadata: Json | null;
1239
- name: string;
1240
- organization_id: string;
1241
- start_date: string | null;
1242
- status: string;
1243
- target_end_date: string | null;
1244
- updated_at: string;
1245
- };
1246
- Insert: {
1247
- actual_end_date?: string | null;
1248
- client_company_id?: string | null;
1249
- contract_value?: number | null;
1250
- created_at?: string;
1251
- deal_id?: string | null;
1252
- description?: string | null;
1253
- id?: string;
1254
- kind?: string;
1255
- metadata?: Json | null;
1256
- name: string;
1257
- organization_id: string;
1258
- start_date?: string | null;
1259
- status?: string;
1260
- target_end_date?: string | null;
1261
- updated_at?: string;
1262
- };
1263
- Update: {
1264
- actual_end_date?: string | null;
1265
- client_company_id?: string | null;
1266
- contract_value?: number | null;
1267
- created_at?: string;
1268
- deal_id?: string | null;
1269
- description?: string | null;
1270
- id?: string;
1271
- kind?: string;
1272
- metadata?: Json | null;
1273
- name?: string;
1274
- organization_id?: string;
1275
- start_date?: string | null;
1276
- status?: string;
1277
- target_end_date?: string | null;
1278
- updated_at?: string;
1279
- };
1280
- Relationships: [
1281
- {
1282
- foreignKeyName: 'prj_projects_client_company_id_fkey';
1283
- columns: ['client_company_id'];
1284
- isOneToOne: false;
1285
- referencedRelation: 'acq_companies';
1286
- referencedColumns: ['id'];
1287
- },
1288
- {
1289
- foreignKeyName: 'prj_projects_deal_id_fkey';
1290
- columns: ['deal_id'];
1291
- isOneToOne: false;
1292
- referencedRelation: 'acq_deals';
1293
- referencedColumns: ['id'];
1294
- },
1295
- {
1296
- foreignKeyName: 'prj_projects_organization_id_fkey';
1297
- columns: ['organization_id'];
1298
- isOneToOne: false;
1299
- referencedRelation: 'organizations';
1300
- referencedColumns: ['id'];
1301
- }
1302
- ];
1303
- };
1304
- prj_milestones: {
1305
- Row: {
1306
- checklist: Json | null;
1307
- completed_at: string | null;
1308
- created_at: string;
1309
- description: string | null;
1310
- due_date: string | null;
1311
- id: string;
1312
- metadata: Json | null;
1313
- name: string;
1314
- organization_id: string;
1315
- project_id: string;
1316
- sequence: number;
1317
- status: string;
1318
- updated_at: string;
1319
- };
1320
- Insert: {
1321
- checklist?: Json | null;
1322
- completed_at?: string | null;
1323
- created_at?: string;
1324
- description?: string | null;
1325
- due_date?: string | null;
1326
- id?: string;
1327
- metadata?: Json | null;
1328
- name: string;
1329
- organization_id: string;
1330
- project_id: string;
1331
- sequence?: number;
1332
- status?: string;
1333
- updated_at?: string;
1334
- };
1335
- Update: {
1336
- checklist?: Json | null;
1337
- completed_at?: string | null;
1338
- created_at?: string;
1339
- description?: string | null;
1340
- due_date?: string | null;
1341
- id?: string;
1342
- metadata?: Json | null;
1343
- name?: string;
1344
- organization_id?: string;
1345
- project_id?: string;
1346
- sequence?: number;
1347
- status?: string;
1348
- updated_at?: string;
1349
- };
1350
- Relationships: [
1351
- {
1352
- foreignKeyName: 'prj_milestones_project_id_fkey';
1353
- columns: ['project_id'];
1354
- isOneToOne: false;
1355
- referencedRelation: 'prj_projects';
1356
- referencedColumns: ['id'];
1357
- },
1358
- {
1359
- foreignKeyName: 'prj_milestones_organization_id_fkey';
1360
- columns: ['organization_id'];
1361
- isOneToOne: false;
1362
- referencedRelation: 'organizations';
1363
- referencedColumns: ['id'];
1364
- }
1365
- ];
1366
- };
1367
- prj_notes: {
1368
- Row: {
1369
- content: string;
1370
- created_at: string;
1371
- created_by: string | null;
1372
- id: string;
1373
- metadata: Json | null;
1374
- milestone_id: string | null;
1375
- occurred_at: string;
1376
- organization_id: string;
1377
- project_id: string;
1378
- summary: string | null;
1379
- task_id: string | null;
1380
- type: string;
1381
- };
1382
- Insert: {
1383
- content: string;
1384
- created_at?: string;
1385
- created_by?: string | null;
1386
- id?: string;
1387
- metadata?: Json | null;
1388
- milestone_id?: string | null;
1389
- occurred_at?: string;
1390
- organization_id: string;
1391
- project_id: string;
1392
- summary?: string | null;
1393
- task_id?: string | null;
1394
- type?: string;
1395
- };
1396
- Update: {
1397
- content?: string;
1398
- created_at?: string;
1399
- created_by?: string | null;
1400
- id?: string;
1401
- metadata?: Json | null;
1402
- milestone_id?: string | null;
1403
- occurred_at?: string;
1404
- organization_id?: string;
1405
- project_id?: string;
1406
- summary?: string | null;
1407
- task_id?: string | null;
1408
- type?: string;
1409
- };
1410
- Relationships: [
1411
- {
1412
- foreignKeyName: 'prj_notes_created_by_fkey';
1413
- columns: ['created_by'];
1414
- isOneToOne: false;
1415
- referencedRelation: 'users';
1416
- referencedColumns: ['id'];
1417
- },
1418
- {
1419
- foreignKeyName: 'prj_notes_project_id_fkey';
1420
- columns: ['project_id'];
1421
- isOneToOne: false;
1422
- referencedRelation: 'prj_projects';
1423
- referencedColumns: ['id'];
1424
- },
1425
- {
1426
- foreignKeyName: 'prj_notes_organization_id_fkey';
1427
- columns: ['organization_id'];
1428
- isOneToOne: false;
1429
- referencedRelation: 'organizations';
1430
- referencedColumns: ['id'];
1431
- }
1432
- ];
1433
- };
1434
- deployments: {
1435
- Row: {
1436
- compiled_docs: Json | null;
1437
- created_at: string;
1438
- deployment_version: string | null;
1439
- documentation: Json | null;
1440
- error_message: string | null;
1441
- id: string;
1442
- organization_id: string;
1443
- pid: number | null;
1444
- port: number | null;
1445
- sdk_version: string;
1446
- status: string;
1447
- tarball_path: string | null;
1448
- updated_at: string;
1449
- };
1450
- Insert: {
1451
- compiled_docs?: Json | null;
1452
- created_at?: string;
1453
- deployment_version?: string | null;
1454
- documentation?: Json | null;
1455
- error_message?: string | null;
1456
- id?: string;
1457
- organization_id: string;
1458
- pid?: number | null;
1459
- port?: number | null;
1460
- sdk_version: string;
1461
- status?: string;
1462
- tarball_path?: string | null;
1463
- updated_at?: string;
1464
- };
1465
- Update: {
1466
- compiled_docs?: Json | null;
1467
- created_at?: string;
1468
- deployment_version?: string | null;
1469
- documentation?: Json | null;
1470
- error_message?: string | null;
1471
- id?: string;
1472
- organization_id?: string;
1473
- pid?: number | null;
1474
- port?: number | null;
1475
- sdk_version?: string;
1476
- status?: string;
1477
- tarball_path?: string | null;
1478
- updated_at?: string;
1479
- };
1480
- Relationships: [
1481
- {
1482
- foreignKeyName: 'deployments_organization_id_fkey';
1483
- columns: ['organization_id'];
1484
- isOneToOne: false;
1485
- referencedRelation: 'organizations';
1486
- referencedColumns: ['id'];
1487
- }
1488
- ];
1489
- };
1490
- execution_errors: {
1491
- Row: {
1492
- created_at: string | null;
1493
- error_category: string;
1494
- error_message: string;
1495
- error_severity: string;
1496
- error_stack_trace: string | null;
1497
- error_type: string;
1498
- execution_id: string;
1499
- id: string;
1500
- metadata: Json | null;
1501
- occurred_at: string;
1502
- organization_id: string;
1503
- resolved: boolean;
1504
- resolved_at: string | null;
1505
- resolved_by: string | null;
1506
- };
1507
- Insert: {
1508
- created_at?: string | null;
1509
- error_category: string;
1510
- error_message: string;
1511
- error_severity: string;
1512
- error_stack_trace?: string | null;
1513
- error_type: string;
1514
- execution_id: string;
1515
- id?: string;
1516
- metadata?: Json | null;
1517
- occurred_at?: string;
1518
- organization_id: string;
1519
- resolved?: boolean;
1520
- resolved_at?: string | null;
1521
- resolved_by?: string | null;
1522
- };
1523
- Update: {
1524
- created_at?: string | null;
1525
- error_category?: string;
1526
- error_message?: string;
1527
- error_severity?: string;
1528
- error_stack_trace?: string | null;
1529
- error_type?: string;
1530
- execution_id?: string;
1531
- id?: string;
1532
- metadata?: Json | null;
1533
- occurred_at?: string;
1534
- organization_id?: string;
1535
- resolved?: boolean;
1536
- resolved_at?: string | null;
1537
- resolved_by?: string | null;
1538
- };
1539
- Relationships: [
1540
- {
1541
- foreignKeyName: 'execution_errors_execution_id_fkey';
1542
- columns: ['execution_id'];
1543
- isOneToOne: false;
1544
- referencedRelation: 'execution_logs';
1545
- referencedColumns: ['execution_id'];
1546
- },
1547
- {
1548
- foreignKeyName: 'execution_errors_organization_id_fkey';
1549
- columns: ['organization_id'];
1550
- isOneToOne: false;
1551
- referencedRelation: 'organizations';
1552
- referencedColumns: ['id'];
1553
- },
1554
- {
1555
- foreignKeyName: 'execution_errors_resolved_by_fkey';
1556
- columns: ['resolved_by'];
1557
- isOneToOne: false;
1558
- referencedRelation: 'users';
1559
- referencedColumns: ['id'];
1560
- }
1561
- ];
1562
- };
1563
- execution_logs: {
1564
- Row: {
1565
- api_version: string | null;
1566
- completed_at: string | null;
1567
- created_at: string | null;
1568
- error: string | null;
1569
- execution_id: string;
1570
- input: Json | null;
1571
- last_heartbeat_at: string | null;
1572
- logs: Json | null;
1573
- organization_id: string;
1574
- origin_execution_id: string | null;
1575
- output: Json | null;
1576
- resource_id: string;
1577
- resource_status: string;
1578
- resource_type: string;
1579
- resource_version: string | null;
1580
- sdk_version: string | null;
1581
- session_id: string | null;
1582
- session_turn_number: number | null;
1583
- started_at: string;
1584
- status: string;
1585
- trigger_type: string | null;
1586
- updated_at: string | null;
1587
- user_id: string | null;
1588
- };
1589
- Insert: {
1590
- api_version?: string | null;
1591
- completed_at?: string | null;
1592
- created_at?: string | null;
1593
- error?: string | null;
1594
- execution_id?: string;
1595
- input?: Json | null;
1596
- last_heartbeat_at?: string | null;
1597
- logs?: Json | null;
1598
- organization_id: string;
1599
- origin_execution_id?: string | null;
1600
- output?: Json | null;
1601
- resource_id: string;
1602
- resource_status?: string;
1603
- resource_type?: string;
1604
- resource_version?: string | null;
1605
- sdk_version?: string | null;
1606
- session_id?: string | null;
1607
- session_turn_number?: number | null;
1608
- started_at?: string;
1609
- status: string;
1610
- trigger_type?: string | null;
1611
- updated_at?: string | null;
1612
- user_id?: string | null;
1613
- };
1614
- Update: {
1615
- api_version?: string | null;
1616
- completed_at?: string | null;
1617
- created_at?: string | null;
1618
- error?: string | null;
1619
- execution_id?: string;
1620
- input?: Json | null;
1621
- last_heartbeat_at?: string | null;
1622
- logs?: Json | null;
1623
- organization_id?: string;
1624
- origin_execution_id?: string | null;
1625
- output?: Json | null;
1626
- resource_id?: string;
1627
- resource_status?: string;
1628
- resource_type?: string;
1629
- resource_version?: string | null;
1630
- sdk_version?: string | null;
1631
- session_id?: string | null;
1632
- session_turn_number?: number | null;
1633
- started_at?: string;
1634
- status?: string;
1635
- trigger_type?: string | null;
1636
- updated_at?: string | null;
1637
- user_id?: string | null;
1638
- };
1639
- Relationships: [
1640
- {
1641
- foreignKeyName: 'execution_history_organization_id_fkey';
1642
- columns: ['organization_id'];
1643
- isOneToOne: false;
1644
- referencedRelation: 'organizations';
1645
- referencedColumns: ['id'];
1646
- },
1647
- {
1648
- foreignKeyName: 'execution_logs_origin_execution_id_fkey';
1649
- columns: ['origin_execution_id'];
1650
- isOneToOne: false;
1651
- referencedRelation: 'execution_logs';
1652
- referencedColumns: ['execution_id'];
1653
- },
1654
- {
1655
- foreignKeyName: 'execution_logs_session_id_fkey';
1656
- columns: ['session_id'];
1657
- isOneToOne: false;
1658
- referencedRelation: 'sessions';
1659
- referencedColumns: ['session_id'];
1660
- },
1661
- {
1662
- foreignKeyName: 'execution_logs_user_id_fkey';
1663
- columns: ['user_id'];
1664
- isOneToOne: false;
1665
- referencedRelation: 'users';
1666
- referencedColumns: ['id'];
1667
- }
1668
- ];
1669
- };
1670
- execution_metrics: {
1671
- Row: {
1672
- ai_call_count: number;
1673
- ai_calls: Json | null;
1674
- automation_savings_usd: number | null;
1675
- created_at: string | null;
1676
- duration_ms: number | null;
1677
- execution_id: string;
1678
- organization_id: string;
1679
- resource_id: string;
1680
- total_cost_usd: number;
1681
- total_input_tokens: number;
1682
- total_output_tokens: number;
1683
- };
1684
- Insert: {
1685
- ai_call_count: number;
1686
- ai_calls?: Json | null;
1687
- automation_savings_usd?: number | null;
1688
- created_at?: string | null;
1689
- duration_ms?: number | null;
1690
- execution_id: string;
1691
- organization_id: string;
1692
- resource_id: string;
1693
- total_cost_usd: number;
1694
- total_input_tokens: number;
1695
- total_output_tokens: number;
1696
- };
1697
- Update: {
1698
- ai_call_count?: number;
1699
- ai_calls?: Json | null;
1700
- automation_savings_usd?: number | null;
1701
- created_at?: string | null;
1702
- duration_ms?: number | null;
1703
- execution_id?: string;
1704
- organization_id?: string;
1705
- resource_id?: string;
1706
- total_cost_usd?: number;
1707
- total_input_tokens?: number;
1708
- total_output_tokens?: number;
1709
- };
1710
- Relationships: [
1711
- {
1712
- foreignKeyName: 'execution_metrics_execution_id_fkey';
1713
- columns: ['execution_id'];
1714
- isOneToOne: true;
1715
- referencedRelation: 'execution_logs';
1716
- referencedColumns: ['execution_id'];
1717
- },
1718
- {
1719
- foreignKeyName: 'execution_metrics_organization_id_fkey';
1720
- columns: ['organization_id'];
1721
- isOneToOne: false;
1722
- referencedRelation: 'organizations';
1723
- referencedColumns: ['id'];
1724
- }
1725
- ];
1726
- };
1727
- notifications: {
1728
- Row: {
1729
- action_url: string | null;
1730
- category: string;
1731
- created_at: string | null;
1732
- id: string;
1733
- message: string;
1734
- organization_id: string;
1735
- read: boolean | null;
1736
- read_at: string | null;
1737
- title: string;
1738
- user_id: string;
1739
- };
1740
- Insert: {
1741
- action_url?: string | null;
1742
- category: string;
1743
- created_at?: string | null;
1744
- id?: string;
1745
- message: string;
1746
- organization_id: string;
1747
- read?: boolean | null;
1748
- read_at?: string | null;
1749
- title: string;
1750
- user_id: string;
1751
- };
1752
- Update: {
1753
- action_url?: string | null;
1754
- category?: string;
1755
- created_at?: string | null;
1756
- id?: string;
1757
- message?: string;
1758
- organization_id?: string;
1759
- read?: boolean | null;
1760
- read_at?: string | null;
1761
- title?: string;
1762
- user_id?: string;
1763
- };
1764
- Relationships: [
1765
- {
1766
- foreignKeyName: 'notifications_organization_id_fkey';
1767
- columns: ['organization_id'];
1768
- isOneToOne: false;
1769
- referencedRelation: 'organizations';
1770
- referencedColumns: ['id'];
1771
- },
1772
- {
1773
- foreignKeyName: 'notifications_user_id_fkey';
1774
- columns: ['user_id'];
1775
- isOneToOne: false;
1776
- referencedRelation: 'users';
1777
- referencedColumns: ['id'];
1778
- }
1779
- ];
1780
- };
1781
- org_invitations: {
1782
- Row: {
1783
- accept_invitation_url: string | null;
1784
- accepted_at: string | null;
1785
- created_at: string | null;
1786
- email: string;
1787
- expires_at: string;
1788
- id: string;
1789
- invitation_state: string | null;
1790
- invitation_token: string | null;
1791
- inviter_user_id: string | null;
1792
- organization_id: string | null;
1793
- revoked_at: string | null;
1794
- role_slug: string | null;
1795
- updated_at: string | null;
1796
- workos_invitation_id: string;
1797
- };
1798
- Insert: {
1799
- accept_invitation_url?: string | null;
1800
- accepted_at?: string | null;
1801
- created_at?: string | null;
1802
- email: string;
1803
- expires_at: string;
1804
- id?: string;
1805
- invitation_state?: string | null;
1806
- invitation_token?: string | null;
1807
- inviter_user_id?: string | null;
1808
- organization_id?: string | null;
1809
- revoked_at?: string | null;
1810
- role_slug?: string | null;
1811
- updated_at?: string | null;
1812
- workos_invitation_id: string;
1813
- };
1814
- Update: {
1815
- accept_invitation_url?: string | null;
1816
- accepted_at?: string | null;
1817
- created_at?: string | null;
1818
- email?: string;
1819
- expires_at?: string;
1820
- id?: string;
1821
- invitation_state?: string | null;
1822
- invitation_token?: string | null;
1823
- inviter_user_id?: string | null;
1824
- organization_id?: string | null;
1825
- revoked_at?: string | null;
1826
- role_slug?: string | null;
1827
- updated_at?: string | null;
1828
- workos_invitation_id?: string;
1829
- };
1830
- Relationships: [
1831
- {
1832
- foreignKeyName: 'org_invitations_inviter_user_id_fkey';
1833
- columns: ['inviter_user_id'];
1834
- isOneToOne: false;
1835
- referencedRelation: 'users';
1836
- referencedColumns: ['id'];
1837
- },
1838
- {
1839
- foreignKeyName: 'org_invitations_organization_id_fkey';
1840
- columns: ['organization_id'];
1841
- isOneToOne: false;
1842
- referencedRelation: 'organizations';
1843
- referencedColumns: ['id'];
1844
- }
1845
- ];
1846
- };
1847
- org_memberships: {
1848
- Row: {
1849
- config: Json;
1850
- created_at: string | null;
1851
- id: string;
1852
- membership_status: string | null;
1853
- organization_id: string;
1854
- role_slug: string | null;
1855
- updated_at: string | null;
1856
- user_id: string;
1857
- workos_membership_id: string | null;
1858
- };
1859
- Insert: {
1860
- config?: Json;
1861
- created_at?: string | null;
1862
- id?: string;
1863
- membership_status?: string | null;
1864
- organization_id: string;
1865
- role_slug?: string | null;
1866
- updated_at?: string | null;
1867
- user_id: string;
1868
- workos_membership_id?: string | null;
1869
- };
1870
- Update: {
1871
- config?: Json;
1872
- created_at?: string | null;
1873
- id?: string;
1874
- membership_status?: string | null;
1875
- organization_id?: string;
1876
- role_slug?: string | null;
1877
- updated_at?: string | null;
1878
- user_id?: string;
1879
- workos_membership_id?: string | null;
1880
- };
1881
- Relationships: [
1882
- {
1883
- foreignKeyName: 'org_memberships_organization_id_fkey';
1884
- columns: ['organization_id'];
1885
- isOneToOne: false;
1886
- referencedRelation: 'organizations';
1887
- referencedColumns: ['id'];
1888
- },
1889
- {
1890
- foreignKeyName: 'org_memberships_user_id_fkey';
1891
- columns: ['user_id'];
1892
- isOneToOne: false;
1893
- referencedRelation: 'users';
1894
- referencedColumns: ['id'];
1895
- }
1896
- ];
1897
- };
1898
- organizations: {
1899
- Row: {
1900
- config: Json;
1901
- created_at: string;
1902
- id: string;
1903
- is_test: boolean;
1904
- metadata: Json;
1905
- name: string;
1906
- status: string;
1907
- updated_at: string;
1908
- workos_org_id: string;
1909
- };
1910
- Insert: {
1911
- config?: Json;
1912
- created_at?: string;
1913
- id?: string;
1914
- is_test?: boolean;
1915
- metadata?: Json;
1916
- name: string;
1917
- status?: string;
1918
- updated_at?: string;
1919
- workos_org_id: string;
1920
- };
1921
- Update: {
1922
- config?: Json;
1923
- created_at?: string;
1924
- id?: string;
1925
- is_test?: boolean;
1926
- metadata?: Json;
1927
- name?: string;
1928
- status?: string;
1929
- updated_at?: string;
1930
- workos_org_id?: string;
1931
- };
1932
- Relationships: [];
1933
- };
1934
- session_messages: {
1935
- Row: {
1936
- created_at: string | null;
1937
- id: string;
1938
- message: string;
1939
- message_index: number | null;
1940
- message_type: string | null;
1941
- metadata: Json | null;
1942
- role: string;
1943
- session_id: string;
1944
- session_turn_number: number;
1945
- };
1946
- Insert: {
1947
- created_at?: string | null;
1948
- id: string;
1949
- message: string;
1950
- message_index?: number | null;
1951
- message_type?: string | null;
1952
- metadata?: Json | null;
1953
- role: string;
1954
- session_id: string;
1955
- session_turn_number: number;
1956
- };
1957
- Update: {
1958
- created_at?: string | null;
1959
- id?: string;
1960
- message?: string;
1961
- message_index?: number | null;
1962
- message_type?: string | null;
1963
- metadata?: Json | null;
1964
- role?: string;
1965
- session_id?: string;
1966
- session_turn_number?: number;
1967
- };
1968
- Relationships: [
1969
- {
1970
- foreignKeyName: 'session_messages_session_id_fkey';
1971
- columns: ['session_id'];
1972
- isOneToOne: false;
1973
- referencedRelation: 'sessions';
1974
- referencedColumns: ['session_id'];
1975
- }
1976
- ];
1977
- };
1978
- sessions: {
1979
- Row: {
1980
- context_window_size: number;
1981
- created_at: string | null;
1982
- cumulative_input_tokens: number;
1983
- cumulative_output_tokens: number;
1984
- deleted_at: string | null;
1985
- ended_at: string | null;
1986
- memory_snapshot: Json;
1987
- metadata: Json | null;
1988
- organization_id: string;
1989
- resource_id: string;
1990
- session_id: string;
1991
- session_total_turns: number | null;
1992
- updated_at: string | null;
1993
- user_id: string | null;
1994
- };
1995
- Insert: {
1996
- context_window_size?: number;
1997
- created_at?: string | null;
1998
- cumulative_input_tokens?: number;
1999
- cumulative_output_tokens?: number;
2000
- deleted_at?: string | null;
2001
- ended_at?: string | null;
2002
- memory_snapshot: Json;
2003
- metadata?: Json | null;
2004
- organization_id: string;
2005
- resource_id: string;
2006
- session_id?: string;
2007
- session_total_turns?: number | null;
2008
- updated_at?: string | null;
2009
- user_id?: string | null;
2010
- };
2011
- Update: {
2012
- context_window_size?: number;
2013
- created_at?: string | null;
2014
- cumulative_input_tokens?: number;
2015
- cumulative_output_tokens?: number;
2016
- deleted_at?: string | null;
2017
- ended_at?: string | null;
2018
- memory_snapshot?: Json;
2019
- metadata?: Json | null;
2020
- organization_id?: string;
2021
- resource_id?: string;
2022
- session_id?: string;
2023
- session_total_turns?: number | null;
2024
- updated_at?: string | null;
2025
- user_id?: string | null;
2026
- };
2027
- Relationships: [
2028
- {
2029
- foreignKeyName: 'fk_organization';
2030
- columns: ['organization_id'];
2031
- isOneToOne: false;
2032
- referencedRelation: 'organizations';
2033
- referencedColumns: ['id'];
2034
- },
2035
- {
2036
- foreignKeyName: 'fk_user';
2037
- columns: ['user_id'];
2038
- isOneToOne: false;
2039
- referencedRelation: 'users';
2040
- referencedColumns: ['id'];
2041
- }
2042
- ];
2043
- };
2044
- task_schedules: {
2045
- Row: {
2046
- created_at: string;
2047
- current_step: number;
2048
- description: string | null;
2049
- id: string;
2050
- idempotency_key: string | null;
2051
- last_execution_id: string | null;
2052
- last_run_at: string | null;
2053
- max_retries: number;
2054
- metadata: Json | null;
2055
- name: string;
2056
- next_run_at: string | null;
2057
- organization_id: string;
2058
- origin_execution_id: string | null;
2059
- origin_resource_id: string | null;
2060
- origin_resource_type: string | null;
2061
- retry_count: number;
2062
- schedule_config: Json;
2063
- status: string;
2064
- target_resource_id: string;
2065
- target_resource_type: string;
2066
- updated_at: string;
2067
- };
2068
- Insert: {
2069
- created_at?: string;
2070
- current_step?: number;
2071
- description?: string | null;
2072
- id?: string;
2073
- idempotency_key?: string | null;
2074
- last_execution_id?: string | null;
2075
- last_run_at?: string | null;
2076
- max_retries?: number;
2077
- metadata?: Json | null;
2078
- name: string;
2079
- next_run_at?: string | null;
2080
- organization_id: string;
2081
- origin_execution_id?: string | null;
2082
- origin_resource_id?: string | null;
2083
- origin_resource_type?: string | null;
2084
- retry_count?: number;
2085
- schedule_config: Json;
2086
- status?: string;
2087
- target_resource_id: string;
2088
- target_resource_type: string;
2089
- updated_at?: string;
2090
- };
2091
- Update: {
2092
- created_at?: string;
2093
- current_step?: number;
2094
- description?: string | null;
2095
- id?: string;
2096
- idempotency_key?: string | null;
2097
- last_execution_id?: string | null;
2098
- last_run_at?: string | null;
2099
- max_retries?: number;
2100
- metadata?: Json | null;
2101
- name?: string;
2102
- next_run_at?: string | null;
2103
- organization_id?: string;
2104
- origin_execution_id?: string | null;
2105
- origin_resource_id?: string | null;
2106
- origin_resource_type?: string | null;
2107
- retry_count?: number;
2108
- schedule_config?: Json;
2109
- status?: string;
2110
- target_resource_id?: string;
2111
- target_resource_type?: string;
2112
- updated_at?: string;
2113
- };
2114
- Relationships: [
2115
- {
2116
- foreignKeyName: 'task_schedules_organization_id_fkey';
2117
- columns: ['organization_id'];
2118
- isOneToOne: false;
2119
- referencedRelation: 'organizations';
2120
- referencedColumns: ['id'];
2121
- }
2122
- ];
2123
- };
2124
- users: {
2125
- Row: {
2126
- config: Json;
2127
- created_at: string;
2128
- display_name: string | null;
2129
- email: string;
2130
- first_name: string | null;
2131
- id: string;
2132
- is_active: boolean;
2133
- is_platform_admin: boolean | null;
2134
- last_login_at: string | null;
2135
- last_name: string | null;
2136
- last_visited_org: string | null;
2137
- profile_picture_url: string | null;
2138
- updated_at: string;
2139
- workos_user_id: string | null;
2140
- };
2141
- Insert: {
2142
- config?: Json;
2143
- created_at?: string;
2144
- display_name?: string | null;
2145
- email: string;
2146
- first_name?: string | null;
2147
- id?: string;
2148
- is_active?: boolean;
2149
- is_platform_admin?: boolean | null;
2150
- last_login_at?: string | null;
2151
- last_name?: string | null;
2152
- last_visited_org?: string | null;
2153
- profile_picture_url?: string | null;
2154
- updated_at?: string;
2155
- workos_user_id?: string | null;
2156
- };
2157
- Update: {
2158
- config?: Json;
2159
- created_at?: string;
2160
- display_name?: string | null;
2161
- email?: string;
2162
- first_name?: string | null;
2163
- id?: string;
2164
- is_active?: boolean;
2165
- is_platform_admin?: boolean | null;
2166
- last_login_at?: string | null;
2167
- last_name?: string | null;
2168
- last_visited_org?: string | null;
2169
- profile_picture_url?: string | null;
2170
- updated_at?: string;
2171
- workos_user_id?: string | null;
2172
- };
2173
- Relationships: [
2174
- {
2175
- foreignKeyName: 'user_profiles_last_visited_org_fkey';
2176
- columns: ['last_visited_org'];
2177
- isOneToOne: false;
2178
- referencedRelation: 'organizations';
2179
- referencedColumns: ['id'];
2180
- }
2181
- ];
2182
- };
2183
- webhook_endpoints: {
2184
- Row: {
2185
- created_at: string;
2186
- description: string | null;
2187
- id: string;
2188
- key: string;
2189
- last_triggered_at: string | null;
2190
- name: string;
2191
- organization_id: string;
2192
- request_count: number;
2193
- resource_id: string | null;
2194
- status: string;
2195
- updated_at: string;
2196
- };
2197
- Insert: {
2198
- created_at?: string;
2199
- description?: string | null;
2200
- id?: string;
2201
- key: string;
2202
- last_triggered_at?: string | null;
2203
- name: string;
2204
- organization_id: string;
2205
- request_count?: number;
2206
- resource_id?: string | null;
2207
- status?: string;
2208
- updated_at?: string;
2209
- };
2210
- Update: {
2211
- created_at?: string;
2212
- description?: string | null;
2213
- id?: string;
2214
- key?: string;
2215
- last_triggered_at?: string | null;
2216
- name?: string;
2217
- organization_id?: string;
2218
- request_count?: number;
2219
- resource_id?: string | null;
2220
- status?: string;
2221
- updated_at?: string;
2222
- };
2223
- Relationships: [
2224
- {
2225
- foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2226
- columns: ['organization_id'];
2227
- isOneToOne: false;
2228
- referencedRelation: 'organizations';
2229
- referencedColumns: ['id'];
2230
- }
2231
- ];
2232
- };
2233
- };
2234
- Views: {
2235
- [_ in never]: never;
2236
- };
2237
- Functions: {
2238
- acq_default_checklist: {
2239
- Args: {
2240
- p_platform: string;
2241
- };
2242
- Returns: Json;
2243
- };
2244
- append_deal_activity: {
2245
- Args: {
2246
- p_activity: Json;
2247
- p_deal_id: string;
2248
- p_organization_id: string;
2249
- };
2250
- Returns: undefined;
2251
- };
2252
- auth_jwt_claims: {
2253
- Args: never;
2254
- Returns: Json;
2255
- };
2256
- auth_uid_safe: {
2257
- Args: never;
2258
- Returns: string;
2259
- };
2260
- current_user_is_platform_admin: {
2261
- Args: never;
2262
- Returns: boolean;
2263
- };
2264
- current_user_supabase_id: {
2265
- Args: never;
2266
- Returns: string;
2267
- };
2268
- detect_stalled_executions: {
2269
- Args: never;
2270
- Returns: undefined;
2271
- };
2272
- execute_session_turn: {
2273
- Args: {
2274
- p_session_id: string;
2275
- };
2276
- Returns: {
2277
- created_at: string;
2278
- ended_at: string;
2279
- memory_snapshot: Json;
2280
- metadata: Json;
2281
- organization_id: string;
2282
- resource_id: string;
2283
- session_id: string;
2284
- session_total_turns: number;
2285
- updated_at: string;
2286
- user_id: string;
2287
- }[];
2288
- };
2289
- get_storage_org_id: {
2290
- Args: {
2291
- file_path: string;
2292
- };
2293
- Returns: string;
2294
- };
2295
- get_workos_user_id: {
2296
- Args: never;
2297
- Returns: string;
2298
- };
2299
- is_org_admin: {
2300
- Args: {
2301
- org_id: string;
2302
- };
2303
- Returns: boolean;
2304
- };
2305
- is_org_member: {
2306
- Args: {
2307
- org_id: string;
2308
- };
2309
- Returns: boolean;
2310
- };
2311
- link_workos_membership_on_accept: {
2312
- Args: {
2313
- p_email: string;
2314
- p_organization_id: string;
2315
- p_workos_membership_id: string;
2316
- };
2317
- Returns: boolean;
2318
- };
2319
- pre_provision_invited_user: {
2320
- Args: {
2321
- p_email: string;
2322
- p_organization_id: string;
2323
- p_role_slug?: string;
2324
- };
2325
- Returns: Json;
2326
- };
2327
- process_due_schedules: {
2328
- Args: never;
2329
- Returns: Json;
2330
- };
2331
- upsert_user_profile: {
2332
- Args: never;
2333
- Returns: {
2334
- profile_display_name: string;
2335
- profile_email: string;
2336
- profile_id: string;
2337
- profile_workos_user_id: string;
2338
- }[];
2339
- };
2340
- };
2341
- Enums: {
2342
- [_ in never]: never;
2343
- };
2344
- CompositeTypes: {
2345
- [_ in never]: never;
2346
- };
2347
- };
2348
- };
2349
-
2350
- declare function getSupabaseClient(): SupabaseClient<Database>;
2351
- declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2352
- Tables: {
2353
- acq_companies: {
2354
- Row: {
2355
- attio_company_id: string | null;
2356
- batch_id: string | null;
2357
- category: string | null;
2358
- category_pain: string | null;
2359
- created_at: string;
2360
- domain: string | null;
2361
- enrichment_data: Json | null;
2362
- filter_reason: string | null;
2363
- founded_year: number | null;
2364
- id: string;
2365
- linkedin_url: string | null;
2366
- location_city: string | null;
2367
- location_state: string | null;
2368
- name: string;
2369
- num_employees: number | null;
2370
- organization_id: string;
2371
- pipeline_status: Json;
2372
- segment: string | null;
2373
- source: string | null;
2374
- status: string;
2375
- updated_at: string;
2376
- website: string | null;
2377
- };
2378
- Insert: {
2379
- attio_company_id?: string | null;
2380
- batch_id?: string | null;
2381
- category?: string | null;
2382
- category_pain?: string | null;
2383
- created_at?: string;
2384
- domain?: string | null;
2385
- enrichment_data?: Json | null;
2386
- filter_reason?: string | null;
2387
- founded_year?: number | null;
2388
- id?: string;
2389
- linkedin_url?: string | null;
2390
- location_city?: string | null;
2391
- location_state?: string | null;
2392
- name: string;
2393
- num_employees?: number | null;
2394
- organization_id: string;
2395
- pipeline_status?: Json;
2396
- segment?: string | null;
2397
- source?: string | null;
2398
- status?: string;
2399
- updated_at?: string;
2400
- website?: string | null;
2401
- };
2402
- Update: {
2403
- attio_company_id?: string | null;
2404
- batch_id?: string | null;
2405
- category?: string | null;
2406
- category_pain?: string | null;
2407
- created_at?: string;
2408
- domain?: string | null;
2409
- enrichment_data?: Json | null;
2410
- filter_reason?: string | null;
2411
- founded_year?: number | null;
2412
- id?: string;
2413
- linkedin_url?: string | null;
2414
- location_city?: string | null;
2415
- location_state?: string | null;
2416
- name?: string;
2417
- num_employees?: number | null;
2418
- organization_id?: string;
2419
- pipeline_status?: Json;
2420
- segment?: string | null;
2421
- source?: string | null;
2422
- status?: string;
2423
- updated_at?: string;
2424
- website?: string | null;
2425
- };
2426
- Relationships: [{
2427
- foreignKeyName: "acq_companies_organization_id_fkey";
2428
- columns: ["organization_id"];
2429
- isOneToOne: false;
2430
- referencedRelation: "organizations";
2431
- referencedColumns: ["id"];
2432
- }];
2433
- };
2434
- acq_contacts: {
2435
- Row: {
2436
- attio_person_id: string | null;
2437
- batch_id: string | null;
2438
- brochure_first_viewed_at: string | null;
2439
- brochure_view_count: number;
2440
- company_id: string | null;
2441
- created_at: string;
2442
- email: string;
2443
- email_valid: string | null;
2444
- enrichment_data: Json;
2445
- filter_reason: string | null;
2446
- first_name: string | null;
2447
- headline: string | null;
2448
- id: string;
2449
- last_name: string | null;
2450
- linkedin_url: string | null;
2451
- nurture: boolean;
2452
- opening_line: string | null;
2453
- organization_id: string;
2454
- pipeline_status: Json;
2455
- source: string | null;
2456
- source_id: string | null;
2457
- status: string;
2458
- title: string | null;
2459
- updated_at: string;
2460
- };
2461
- Insert: {
2462
- attio_person_id?: string | null;
2463
- batch_id?: string | null;
2464
- brochure_first_viewed_at?: string | null;
2465
- brochure_view_count?: number;
2466
- company_id?: string | null;
2467
- created_at?: string;
2468
- email: string;
2469
- email_valid?: string | null;
2470
- enrichment_data?: Json;
2471
- filter_reason?: string | null;
2472
- first_name?: string | null;
2473
- headline?: string | null;
2474
- id?: string;
2475
- last_name?: string | null;
2476
- linkedin_url?: string | null;
2477
- nurture?: boolean;
2478
- opening_line?: string | null;
2479
- organization_id: string;
2480
- pipeline_status?: Json;
2481
- source?: string | null;
2482
- source_id?: string | null;
2483
- status?: string;
2484
- title?: string | null;
2485
- updated_at?: string;
2486
- };
2487
- Update: {
2488
- attio_person_id?: string | null;
2489
- batch_id?: string | null;
2490
- brochure_first_viewed_at?: string | null;
2491
- brochure_view_count?: number;
2492
- company_id?: string | null;
2493
- created_at?: string;
2494
- email?: string;
2495
- email_valid?: string | null;
2496
- enrichment_data?: Json;
2497
- filter_reason?: string | null;
2498
- first_name?: string | null;
2499
- headline?: string | null;
2500
- id?: string;
2501
- last_name?: string | null;
2502
- linkedin_url?: string | null;
2503
- nurture?: boolean;
2504
- opening_line?: string | null;
2505
- organization_id?: string;
2506
- pipeline_status?: Json;
2507
- source?: string | null;
2508
- source_id?: string | null;
2509
- status?: string;
2510
- title?: string | null;
2511
- updated_at?: string;
2512
- };
2513
- Relationships: [{
2514
- foreignKeyName: "acq_contacts_company_id_fkey";
2515
- columns: ["company_id"];
2516
- isOneToOne: false;
2517
- referencedRelation: "acq_companies";
2518
- referencedColumns: ["id"];
2519
- }, {
2520
- foreignKeyName: "acq_contacts_organization_id_fkey";
2521
- columns: ["organization_id"];
2522
- isOneToOne: false;
2523
- referencedRelation: "organizations";
2524
- referencedColumns: ["id"];
2525
- }];
2526
- };
2527
- acq_content: {
2528
- Row: {
2529
- body: string | null;
2530
- created_at: string;
2531
- id: string;
2532
- organization_id: string;
2533
- pillar: string;
2534
- status: string;
2535
- title: string;
2536
- updated_at: string;
2537
- };
2538
- Insert: {
2539
- body?: string | null;
2540
- created_at?: string;
2541
- id?: string;
2542
- organization_id: string;
2543
- pillar: string;
2544
- status?: string;
2545
- title: string;
2546
- updated_at?: string;
2547
- };
2548
- Update: {
2549
- body?: string | null;
2550
- created_at?: string;
2551
- id?: string;
2552
- organization_id?: string;
2553
- pillar?: string;
2554
- status?: string;
2555
- title?: string;
2556
- updated_at?: string;
2557
- };
2558
- Relationships: [{
2559
- foreignKeyName: "acq_content_organization_id_fkey";
2560
- columns: ["organization_id"];
2561
- isOneToOne: false;
2562
- referencedRelation: "organizations";
2563
- referencedColumns: ["id"];
2564
- }];
2565
- };
2566
- acq_content_distributions: {
2567
- Row: {
2568
- adapted_body: string | null;
2569
- checklist: Json | null;
2570
- content_id: string;
2571
- created_at: string;
2572
- format: string;
2573
- id: string;
2574
- media_urls: Json;
2575
- metrics: Json;
2576
- metrics_updated_at: string | null;
2577
- organization_id: string;
2578
- platform: string;
2579
- platform_content: Json | null;
2580
- platform_post_id: string | null;
2581
- platform_url: string | null;
2582
- published_at: string | null;
2583
- status: string;
2584
- updated_at: string;
2585
- };
2586
- Insert: {
2587
- adapted_body?: string | null;
2588
- checklist?: Json | null;
2589
- content_id: string;
2590
- created_at?: string;
2591
- format: string;
2592
- id?: string;
2593
- media_urls?: Json;
2594
- metrics?: Json;
2595
- metrics_updated_at?: string | null;
2596
- organization_id: string;
2597
- platform: string;
2598
- platform_content?: Json | null;
2599
- platform_post_id?: string | null;
2600
- platform_url?: string | null;
2601
- published_at?: string | null;
2602
- status?: string;
2603
- updated_at?: string;
2604
- };
2605
- Update: {
2606
- adapted_body?: string | null;
2607
- checklist?: Json | null;
2608
- content_id?: string;
2609
- created_at?: string;
2610
- format?: string;
2611
- id?: string;
2612
- media_urls?: Json;
2613
- metrics?: Json;
2614
- metrics_updated_at?: string | null;
2615
- organization_id?: string;
2616
- platform?: string;
2617
- platform_content?: Json | null;
2618
- platform_post_id?: string | null;
2619
- platform_url?: string | null;
2620
- published_at?: string | null;
2621
- status?: string;
2622
- updated_at?: string;
2623
- };
2624
- Relationships: [{
2625
- foreignKeyName: "acq_content_distributions_content_id_fkey";
2626
- columns: ["content_id"];
2627
- isOneToOne: false;
2628
- referencedRelation: "acq_content";
2629
- referencedColumns: ["id"];
2630
- }, {
2631
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
2632
- columns: ["organization_id"];
2633
- isOneToOne: false;
2634
- referencedRelation: "organizations";
2635
- referencedColumns: ["id"];
2636
- }];
2637
- };
2638
- acq_deals: {
2639
- Row: {
2640
- activity_log: Json;
2641
- attio_deal_id: string;
2642
- cached_stage: string | null;
2643
- closed_lost_at: string | null;
2644
- closed_lost_reason: string | null;
2645
- contact_email: string;
2646
- contact_id: string | null;
2647
- created_at: string;
2648
- discovery_data: Json | null;
2649
- discovery_submitted_at: string | null;
2650
- discovery_submitted_by: string | null;
2651
- id: string;
2652
- initial_fee: number | null;
2653
- monthly_fee: number | null;
2654
- organization_id: string;
2655
- payment_link_sent_at: string | null;
2656
- payment_received_at: string | null;
2657
- proposal_data: Json | null;
2658
- proposal_generated_at: string | null;
2659
- proposal_pdf_url: string | null;
2660
- proposal_reviewed_at: string | null;
2661
- proposal_reviewed_by: string | null;
2662
- proposal_sent_at: string | null;
2663
- proposal_signed_at: string | null;
2664
- proposal_status: string | null;
2665
- signature_envelope_id: string | null;
2666
- source_list_id: string | null;
2667
- source_type: string | null;
2668
- stripe_payment_id: string | null;
2669
- stripe_payment_link: string | null;
2670
- stripe_payment_link_id: string | null;
2671
- stripe_subscription_id: string | null;
2672
- updated_at: string;
2673
- };
2674
- Insert: {
2675
- activity_log?: Json;
2676
- attio_deal_id: string;
2677
- cached_stage?: string | null;
2678
- closed_lost_at?: string | null;
2679
- closed_lost_reason?: string | null;
2680
- contact_email: string;
2681
- contact_id?: string | null;
2682
- created_at?: string;
2683
- discovery_data?: Json | null;
2684
- discovery_submitted_at?: string | null;
2685
- discovery_submitted_by?: string | null;
2686
- id?: string;
2687
- initial_fee?: number | null;
2688
- monthly_fee?: number | null;
2689
- organization_id: string;
2690
- payment_link_sent_at?: string | null;
2691
- payment_received_at?: string | null;
2692
- proposal_data?: Json | null;
2693
- proposal_generated_at?: string | null;
2694
- proposal_pdf_url?: string | null;
2695
- proposal_reviewed_at?: string | null;
2696
- proposal_reviewed_by?: string | null;
2697
- proposal_sent_at?: string | null;
2698
- proposal_signed_at?: string | null;
2699
- proposal_status?: string | null;
2700
- signature_envelope_id?: string | null;
2701
- source_list_id?: string | null;
2702
- source_type?: string | null;
2703
- stripe_payment_id?: string | null;
2704
- stripe_payment_link?: string | null;
2705
- stripe_payment_link_id?: string | null;
2706
- stripe_subscription_id?: string | null;
2707
- updated_at?: string;
2708
- };
2709
- Update: {
2710
- activity_log?: Json;
2711
- attio_deal_id?: string;
2712
- cached_stage?: string | null;
2713
- closed_lost_at?: string | null;
2714
- closed_lost_reason?: string | null;
2715
- contact_email?: string;
2716
- contact_id?: string | null;
2717
- created_at?: string;
2718
- discovery_data?: Json | null;
2719
- discovery_submitted_at?: string | null;
2720
- discovery_submitted_by?: string | null;
2721
- id?: string;
2722
- initial_fee?: number | null;
2723
- monthly_fee?: number | null;
2724
- organization_id?: string;
2725
- payment_link_sent_at?: string | null;
2726
- payment_received_at?: string | null;
2727
- proposal_data?: Json | null;
2728
- proposal_generated_at?: string | null;
2729
- proposal_pdf_url?: string | null;
2730
- proposal_reviewed_at?: string | null;
2731
- proposal_reviewed_by?: string | null;
2732
- proposal_sent_at?: string | null;
2733
- proposal_signed_at?: string | null;
2734
- proposal_status?: string | null;
2735
- signature_envelope_id?: string | null;
2736
- source_list_id?: string | null;
2737
- source_type?: string | null;
2738
- stripe_payment_id?: string | null;
2739
- stripe_payment_link?: string | null;
2740
- stripe_payment_link_id?: string | null;
2741
- stripe_subscription_id?: string | null;
2742
- updated_at?: string;
2743
- };
2744
- Relationships: [{
2745
- foreignKeyName: "acq_deals_contact_id_fkey";
2746
- columns: ["contact_id"];
2747
- isOneToOne: false;
2748
- referencedRelation: "acq_contacts";
2749
- referencedColumns: ["id"];
2750
- }, {
2751
- foreignKeyName: "acq_deals_organization_id_fkey";
2752
- columns: ["organization_id"];
2753
- isOneToOne: false;
2754
- referencedRelation: "organizations";
2755
- referencedColumns: ["id"];
2756
- }, {
2757
- foreignKeyName: "acq_deals_source_list_id_fkey";
2758
- columns: ["source_list_id"];
2759
- isOneToOne: false;
2760
- referencedRelation: "acq_lists";
2761
- referencedColumns: ["id"];
2762
- }];
2763
- };
2764
- acq_list_members: {
2765
- Row: {
2766
- added_at: string;
2767
- added_by: string | null;
2768
- contact_id: string;
2769
- id: string;
2770
- list_id: string;
2771
- };
2772
- Insert: {
2773
- added_at?: string;
2774
- added_by?: string | null;
2775
- contact_id: string;
2776
- id?: string;
2777
- list_id: string;
2778
- };
2779
- Update: {
2780
- added_at?: string;
2781
- added_by?: string | null;
2782
- contact_id?: string;
2783
- id?: string;
2784
- list_id?: string;
2785
- };
2786
- Relationships: [{
2787
- foreignKeyName: "acq_list_members_contact_id_fkey";
2788
- columns: ["contact_id"];
2789
- isOneToOne: false;
2790
- referencedRelation: "acq_contacts";
2791
- referencedColumns: ["id"];
2792
- }, {
2793
- foreignKeyName: "acq_list_members_list_id_fkey";
2794
- columns: ["list_id"];
2795
- isOneToOne: false;
2796
- referencedRelation: "acq_lists";
2797
- referencedColumns: ["id"];
2798
- }];
2799
- };
2800
- acq_lists: {
2801
- Row: {
2802
- batch_ids: string[];
2803
- completed_at: string | null;
2804
- created_at: string;
2805
- description: string | null;
2806
- id: string;
2807
- instantly_campaign_id: string | null;
2808
- launched_at: string | null;
2809
- metadata: Json;
2810
- name: string;
2811
- organization_id: string;
2812
- status: string;
2813
- type: string;
2814
- };
2815
- Insert: {
2816
- batch_ids?: string[];
2817
- completed_at?: string | null;
2818
- created_at?: string;
2819
- description?: string | null;
2820
- id?: string;
2821
- instantly_campaign_id?: string | null;
2822
- launched_at?: string | null;
2823
- metadata?: Json;
2824
- name: string;
2825
- organization_id: string;
2826
- status?: string;
2827
- type?: string;
2828
- };
2829
- Update: {
2830
- batch_ids?: string[];
2831
- completed_at?: string | null;
2832
- created_at?: string;
2833
- description?: string | null;
2834
- id?: string;
2835
- instantly_campaign_id?: string | null;
2836
- launched_at?: string | null;
2837
- metadata?: Json;
2838
- name?: string;
2839
- organization_id?: string;
2840
- status?: string;
2841
- type?: string;
2842
- };
2843
- Relationships: [{
2844
- foreignKeyName: "acq_lists_organization_id_fkey";
2845
- columns: ["organization_id"];
2846
- isOneToOne: false;
2847
- referencedRelation: "organizations";
2848
- referencedColumns: ["id"];
2849
- }];
2850
- };
2851
- acq_seo_metrics: {
2852
- Row: {
2853
- ai_citations: Json | null;
2854
- avg_position: number | null;
2855
- clicks: number | null;
2856
- created_at: string;
2857
- cta_clicks: number | null;
2858
- ctr: number | null;
2859
- data_point_count: number | null;
2860
- faq_count: number | null;
2861
- form_submissions: number | null;
2862
- id: string;
2863
- impressions: number | null;
2864
- organization_id: string;
2865
- period: string;
2866
- quality_score: number | null;
2867
- readability: number | null;
2868
- scroll_100: number | null;
2869
- scroll_25: number | null;
2870
- scroll_50: number | null;
2871
- scroll_75: number | null;
2872
- seo_page_id: string;
2873
- word_count: number | null;
2874
- };
2875
- Insert: {
2876
- ai_citations?: Json | null;
2877
- avg_position?: number | null;
2878
- clicks?: number | null;
2879
- created_at?: string;
2880
- cta_clicks?: number | null;
2881
- ctr?: number | null;
2882
- data_point_count?: number | null;
2883
- faq_count?: number | null;
2884
- form_submissions?: number | null;
2885
- id?: string;
2886
- impressions?: number | null;
2887
- organization_id: string;
2888
- period: string;
2889
- quality_score?: number | null;
2890
- readability?: number | null;
2891
- scroll_100?: number | null;
2892
- scroll_25?: number | null;
2893
- scroll_50?: number | null;
2894
- scroll_75?: number | null;
2895
- seo_page_id: string;
2896
- word_count?: number | null;
2897
- };
2898
- Update: {
2899
- ai_citations?: Json | null;
2900
- avg_position?: number | null;
2901
- clicks?: number | null;
2902
- created_at?: string;
2903
- cta_clicks?: number | null;
2904
- ctr?: number | null;
2905
- data_point_count?: number | null;
2906
- faq_count?: number | null;
2907
- form_submissions?: number | null;
2908
- id?: string;
2909
- impressions?: number | null;
2910
- organization_id?: string;
2911
- period?: string;
2912
- quality_score?: number | null;
2913
- readability?: number | null;
2914
- scroll_100?: number | null;
2915
- scroll_25?: number | null;
2916
- scroll_50?: number | null;
2917
- scroll_75?: number | null;
2918
- seo_page_id?: string;
2919
- word_count?: number | null;
2920
- };
2921
- Relationships: [{
2922
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
2923
- columns: ["organization_id"];
2924
- isOneToOne: false;
2925
- referencedRelation: "organizations";
2926
- referencedColumns: ["id"];
2927
- }, {
2928
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
2929
- columns: ["seo_page_id"];
2930
- isOneToOne: false;
2931
- referencedRelation: "acq_seo_pages";
2932
- referencedColumns: ["id"];
2933
- }];
2934
- };
2935
- acq_seo_pages: {
2936
- Row: {
2937
- city: string | null;
2938
- content: Json | null;
2939
- created_at: string;
2940
- faq_items: Json | null;
2941
- hero_image_url: string | null;
2942
- id: string;
2943
- internal_links: Json | null;
2944
- local_data: Json | null;
2945
- meta_description: string | null;
2946
- organization_id: string;
2947
- page_type: string;
2948
- published_at: string | null;
2949
- refreshed_at: string | null;
2950
- schema_markup: Json | null;
2951
- slug: string;
2952
- state: string | null;
2953
- status: string;
2954
- title: string;
2955
- updated_at: string;
2956
- use_case: string | null;
2957
- vertical: string;
2958
- };
2959
- Insert: {
2960
- city?: string | null;
2961
- content?: Json | null;
2962
- created_at?: string;
2963
- faq_items?: Json | null;
2964
- hero_image_url?: string | null;
2965
- id?: string;
2966
- internal_links?: Json | null;
2967
- local_data?: Json | null;
2968
- meta_description?: string | null;
2969
- organization_id: string;
2970
- page_type: string;
2971
- published_at?: string | null;
2972
- refreshed_at?: string | null;
2973
- schema_markup?: Json | null;
2974
- slug: string;
2975
- state?: string | null;
2976
- status?: string;
2977
- title: string;
2978
- updated_at?: string;
2979
- use_case?: string | null;
2980
- vertical: string;
2981
- };
2982
- Update: {
2983
- city?: string | null;
2984
- content?: Json | null;
2985
- created_at?: string;
2986
- faq_items?: Json | null;
2987
- hero_image_url?: string | null;
2988
- id?: string;
2989
- internal_links?: Json | null;
2990
- local_data?: Json | null;
2991
- meta_description?: string | null;
2992
- organization_id?: string;
2993
- page_type?: string;
2994
- published_at?: string | null;
2995
- refreshed_at?: string | null;
2996
- schema_markup?: Json | null;
2997
- slug?: string;
2998
- state?: string | null;
2999
- status?: string;
3000
- title?: string;
3001
- updated_at?: string;
3002
- use_case?: string | null;
3003
- vertical?: string;
3004
- };
3005
- Relationships: [{
3006
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
3007
- columns: ["organization_id"];
3008
- isOneToOne: false;
3009
- referencedRelation: "organizations";
3010
- referencedColumns: ["id"];
3011
- }];
3012
- };
3013
- acq_social_posts: {
3014
- Row: {
3015
- author_name: string;
3016
- author_url: string | null;
3017
- comments_count: number;
3018
- created_at: string;
3019
- discovered_at: string;
3020
- engagement_count: number;
3021
- feedback: string | null;
3022
- final_response: string | null;
3023
- fully_reviewed: boolean;
3024
- id: string;
3025
- initial_draft: string | null;
3026
- matched_keywords: string[];
3027
- matched_query: string | null;
3028
- metadata: Json;
3029
- organization_id: string;
3030
- platform: string;
3031
- platform_post_id: string;
3032
- post_text: string;
3033
- post_title: string;
3034
- post_url: string;
3035
- posted_at: string;
3036
- relevance_score: number;
3037
- responded_at: string | null;
3038
- reviewed_at: string | null;
3039
- skip_reason: string | null;
3040
- source_category: string | null;
3041
- status: string;
3042
- updated_at: string;
3043
- };
3044
- Insert: {
3045
- author_name: string;
3046
- author_url?: string | null;
3047
- comments_count?: number;
3048
- created_at?: string;
3049
- discovered_at?: string;
3050
- engagement_count?: number;
3051
- feedback?: string | null;
3052
- final_response?: string | null;
3053
- fully_reviewed?: boolean;
3054
- id?: string;
3055
- initial_draft?: string | null;
3056
- matched_keywords?: string[];
3057
- matched_query?: string | null;
3058
- metadata?: Json;
3059
- organization_id: string;
3060
- platform: string;
3061
- platform_post_id: string;
3062
- post_text: string;
3063
- post_title: string;
3064
- post_url: string;
3065
- posted_at: string;
3066
- relevance_score?: number;
3067
- responded_at?: string | null;
3068
- reviewed_at?: string | null;
3069
- skip_reason?: string | null;
3070
- source_category?: string | null;
3071
- status?: string;
3072
- updated_at?: string;
3073
- };
3074
- Update: {
3075
- author_name?: string;
3076
- author_url?: string | null;
3077
- comments_count?: number;
3078
- created_at?: string;
3079
- discovered_at?: string;
3080
- engagement_count?: number;
3081
- feedback?: string | null;
3082
- final_response?: string | null;
3083
- fully_reviewed?: boolean;
3084
- id?: string;
3085
- initial_draft?: string | null;
3086
- matched_keywords?: string[];
3087
- matched_query?: string | null;
3088
- metadata?: Json;
3089
- organization_id?: string;
3090
- platform?: string;
3091
- platform_post_id?: string;
3092
- post_text?: string;
3093
- post_title?: string;
3094
- post_url?: string;
3095
- posted_at?: string;
3096
- relevance_score?: number;
3097
- responded_at?: string | null;
3098
- reviewed_at?: string | null;
3099
- skip_reason?: string | null;
3100
- source_category?: string | null;
3101
- status?: string;
3102
- updated_at?: string;
3103
- };
3104
- Relationships: [{
3105
- foreignKeyName: "acq_social_posts_organization_id_fkey";
3106
- columns: ["organization_id"];
3107
- isOneToOne: false;
3108
- referencedRelation: "organizations";
3109
- referencedColumns: ["id"];
3110
- }];
3111
- };
3112
- activities: {
3113
- Row: {
3114
- activity_type: string;
3115
- actor_id: string | null;
3116
- actor_type: string | null;
3117
- created_at: string;
3118
- description: string | null;
3119
- entity_id: string;
3120
- entity_name: string | null;
3121
- entity_type: string;
3122
- id: string;
3123
- metadata: Json | null;
3124
- occurred_at: string;
3125
- organization_id: string;
3126
- status: string;
3127
- title: string;
3128
- };
3129
- Insert: {
3130
- activity_type: string;
3131
- actor_id?: string | null;
3132
- actor_type?: string | null;
3133
- created_at?: string;
3134
- description?: string | null;
3135
- entity_id: string;
3136
- entity_name?: string | null;
3137
- entity_type: string;
3138
- id?: string;
3139
- metadata?: Json | null;
3140
- occurred_at?: string;
3141
- organization_id: string;
3142
- status: string;
3143
- title: string;
3144
- };
3145
- Update: {
3146
- activity_type?: string;
3147
- actor_id?: string | null;
3148
- actor_type?: string | null;
3149
- created_at?: string;
3150
- description?: string | null;
3151
- entity_id?: string;
3152
- entity_name?: string | null;
3153
- entity_type?: string;
3154
- id?: string;
3155
- metadata?: Json | null;
3156
- occurred_at?: string;
3157
- organization_id?: string;
3158
- status?: string;
3159
- title?: string;
3160
- };
3161
- Relationships: [{
3162
- foreignKeyName: "activities_organization_id_fkey";
3163
- columns: ["organization_id"];
3164
- isOneToOne: false;
3165
- referencedRelation: "organizations";
3166
- referencedColumns: ["id"];
3167
- }];
3168
- };
3169
- api_keys: {
3170
- Row: {
3171
- created_at: string | null;
3172
- id: string;
3173
- key_hash: string;
3174
- last_used_at: string | null;
3175
- name: string;
3176
- organization_id: string;
3177
- };
3178
- Insert: {
3179
- created_at?: string | null;
3180
- id?: string;
3181
- key_hash: string;
3182
- last_used_at?: string | null;
3183
- name: string;
3184
- organization_id: string;
3185
- };
3186
- Update: {
3187
- created_at?: string | null;
3188
- id?: string;
3189
- key_hash?: string;
3190
- last_used_at?: string | null;
3191
- name?: string;
3192
- organization_id?: string;
3193
- };
3194
- Relationships: [{
3195
- foreignKeyName: "api_keys_organization_id_fkey";
3196
- columns: ["organization_id"];
3197
- isOneToOne: false;
3198
- referencedRelation: "organizations";
3199
- referencedColumns: ["id"];
3200
- }];
3201
- };
3202
- calibration_projects: {
3203
- Row: {
3204
- created_at: string | null;
3205
- description: string | null;
3206
- id: string;
3207
- name: string;
3208
- organization_id: string;
3209
- resource_id: string;
3210
- resource_type: string;
3211
- updated_at: string | null;
3212
- };
3213
- Insert: {
3214
- created_at?: string | null;
3215
- description?: string | null;
3216
- id?: string;
3217
- name: string;
3218
- organization_id: string;
3219
- resource_id: string;
3220
- resource_type: string;
3221
- updated_at?: string | null;
3222
- };
3223
- Update: {
3224
- created_at?: string | null;
3225
- description?: string | null;
3226
- id?: string;
3227
- name?: string;
3228
- organization_id?: string;
3229
- resource_id?: string;
3230
- resource_type?: string;
3231
- updated_at?: string | null;
3232
- };
3233
- Relationships: [{
3234
- foreignKeyName: "calibration_projects_organization_id_fkey";
3235
- columns: ["organization_id"];
3236
- isOneToOne: false;
3237
- referencedRelation: "organizations";
3238
- referencedColumns: ["id"];
3239
- }];
3240
- };
3241
- calibration_runs: {
3242
- Row: {
3243
- completed_at: string | null;
3244
- config_variants: Json;
3245
- created_at: string | null;
3246
- description: string | null;
3247
- execution_mode: string;
3248
- grader_model: string | null;
3249
- grading_rubric: Json | null;
3250
- id: string;
3251
- name: string;
3252
- organization_id: string;
3253
- project_id: string;
3254
- results: Json;
3255
- status: string;
3256
- test_inputs: Json;
3257
- };
3258
- Insert: {
3259
- completed_at?: string | null;
3260
- config_variants: Json;
3261
- created_at?: string | null;
3262
- description?: string | null;
3263
- execution_mode?: string;
3264
- grader_model?: string | null;
3265
- grading_rubric?: Json | null;
3266
- id?: string;
3267
- name: string;
3268
- organization_id: string;
3269
- project_id: string;
3270
- results?: Json;
3271
- status?: string;
3272
- test_inputs: Json;
3273
- };
3274
- Update: {
3275
- completed_at?: string | null;
3276
- config_variants?: Json;
3277
- created_at?: string | null;
3278
- description?: string | null;
3279
- execution_mode?: string;
3280
- grader_model?: string | null;
3281
- grading_rubric?: Json | null;
3282
- id?: string;
3283
- name?: string;
3284
- organization_id?: string;
3285
- project_id?: string;
3286
- results?: Json;
3287
- status?: string;
3288
- test_inputs?: Json;
3289
- };
3290
- Relationships: [{
3291
- foreignKeyName: "calibration_runs_organization_id_fkey";
3292
- columns: ["organization_id"];
3293
- isOneToOne: false;
3294
- referencedRelation: "organizations";
3295
- referencedColumns: ["id"];
3296
- }, {
3297
- foreignKeyName: "calibration_runs_project_id_fkey";
3298
- columns: ["project_id"];
3299
- isOneToOne: false;
3300
- referencedRelation: "calibration_projects";
3301
- referencedColumns: ["id"];
3302
- }];
3303
- };
3304
- command_queue: {
3305
- Row: {
3306
- action_payload: Json | null;
3307
- actions: Json;
3308
- completed_at: string | null;
3309
- completed_by: string | null;
3310
- context: Json;
3311
- created_at: string;
3312
- description: string | null;
3313
- expires_at: string | null;
3314
- human_checkpoint: string | null;
3315
- id: string;
3316
- idempotency_key: string | null;
3317
- metadata: Json | null;
3318
- organization_id: string;
3319
- origin_execution_id: string;
3320
- origin_resource_id: string;
3321
- origin_resource_type: string;
3322
- priority: number;
3323
- selected_action: string | null;
3324
- status: string;
3325
- target_execution_id: string | null;
3326
- target_resource_id: string | null;
3327
- target_resource_type: string | null;
3328
- };
3329
- Insert: {
3330
- action_payload?: Json | null;
3331
- actions: Json;
3332
- completed_at?: string | null;
3333
- completed_by?: string | null;
3334
- context: Json;
3335
- created_at?: string;
3336
- description?: string | null;
3337
- expires_at?: string | null;
3338
- human_checkpoint?: string | null;
3339
- id?: string;
3340
- idempotency_key?: string | null;
3341
- metadata?: Json | null;
3342
- organization_id: string;
3343
- origin_execution_id: string;
3344
- origin_resource_id: string;
3345
- origin_resource_type: string;
3346
- priority?: number;
3347
- selected_action?: string | null;
3348
- status?: string;
3349
- target_execution_id?: string | null;
3350
- target_resource_id?: string | null;
3351
- target_resource_type?: string | null;
3352
- };
3353
- Update: {
3354
- action_payload?: Json | null;
3355
- actions?: Json;
3356
- completed_at?: string | null;
3357
- completed_by?: string | null;
3358
- context?: Json;
3359
- created_at?: string;
3360
- description?: string | null;
3361
- expires_at?: string | null;
3362
- human_checkpoint?: string | null;
3363
- id?: string;
3364
- idempotency_key?: string | null;
3365
- metadata?: Json | null;
3366
- organization_id?: string;
3367
- origin_execution_id?: string;
3368
- origin_resource_id?: string;
3369
- origin_resource_type?: string;
3370
- priority?: number;
3371
- selected_action?: string | null;
3372
- status?: string;
3373
- target_execution_id?: string | null;
3374
- target_resource_id?: string | null;
3375
- target_resource_type?: string | null;
3376
- };
3377
- Relationships: [{
3378
- foreignKeyName: "command_queue_completed_by_fkey";
3379
- columns: ["completed_by"];
3380
- isOneToOne: false;
3381
- referencedRelation: "users";
3382
- referencedColumns: ["id"];
3383
- }, {
3384
- foreignKeyName: "command_queue_organization_id_fkey";
3385
- columns: ["organization_id"];
3386
- isOneToOne: false;
3387
- referencedRelation: "organizations";
3388
- referencedColumns: ["id"];
3389
- }, {
3390
- foreignKeyName: "command_queue_target_execution_id_fkey";
3391
- columns: ["target_execution_id"];
3392
- isOneToOne: false;
3393
- referencedRelation: "execution_logs";
3394
- referencedColumns: ["execution_id"];
3395
- }];
3396
- };
3397
- credentials: {
3398
- Row: {
3399
- created_at: string;
3400
- created_by: string | null;
3401
- encrypted_value: string;
3402
- id: string;
3403
- name: string;
3404
- organization_id: string;
3405
- provider: string | null;
3406
- type: string;
3407
- updated_at: string;
3408
- };
3409
- Insert: {
3410
- created_at?: string;
3411
- created_by?: string | null;
3412
- encrypted_value: string;
3413
- id?: string;
3414
- name: string;
3415
- organization_id: string;
3416
- provider?: string | null;
3417
- type?: string;
3418
- updated_at?: string;
3419
- };
3420
- Update: {
3421
- created_at?: string;
3422
- created_by?: string | null;
3423
- encrypted_value?: string;
3424
- id?: string;
3425
- name?: string;
3426
- organization_id?: string;
3427
- provider?: string | null;
3428
- type?: string;
3429
- updated_at?: string;
3430
- };
3431
- Relationships: [{
3432
- foreignKeyName: "credentials_created_by_fkey";
3433
- columns: ["created_by"];
3434
- isOneToOne: false;
3435
- referencedRelation: "users";
3436
- referencedColumns: ["id"];
3437
- }, {
3438
- foreignKeyName: "credentials_organization_id_fkey";
3439
- columns: ["organization_id"];
3440
- isOneToOne: false;
3441
- referencedRelation: "organizations";
3442
- referencedColumns: ["id"];
3443
- }];
3444
- };
3445
- prj_tasks: {
3446
- Row: {
3447
- checklist: Json | null;
3448
- completed_at: string | null;
3449
- created_at: string;
3450
- description: string | null;
3451
- due_date: string | null;
3452
- file_url: string | null;
3453
- id: string;
3454
- metadata: Json | null;
3455
- milestone_id: string | null;
3456
- name: string;
3457
- organization_id: string;
3458
- parent_task_id: string | null;
3459
- project_id: string;
3460
- resume_context: Json | null;
3461
- status: string;
3462
- type: string;
3463
- updated_at: string;
3464
- };
3465
- Insert: {
3466
- checklist?: Json | null;
3467
- completed_at?: string | null;
3468
- created_at?: string;
3469
- description?: string | null;
3470
- due_date?: string | null;
3471
- file_url?: string | null;
3472
- id?: string;
3473
- metadata?: Json | null;
3474
- milestone_id?: string | null;
3475
- name: string;
3476
- organization_id: string;
3477
- parent_task_id?: string | null;
3478
- project_id: string;
3479
- resume_context?: Json | null;
3480
- status?: string;
3481
- type?: string;
3482
- updated_at?: string;
3483
- };
3484
- Update: {
3485
- checklist?: Json | null;
3486
- completed_at?: string | null;
3487
- created_at?: string;
3488
- description?: string | null;
3489
- due_date?: string | null;
3490
- file_url?: string | null;
3491
- id?: string;
3492
- metadata?: Json | null;
3493
- milestone_id?: string | null;
3494
- name?: string;
3495
- organization_id?: string;
3496
- parent_task_id?: string | null;
3497
- project_id?: string;
3498
- resume_context?: Json | null;
3499
- status?: string;
3500
- type?: string;
3501
- updated_at?: string;
3502
- };
3503
- Relationships: [{
3504
- foreignKeyName: "prj_tasks_project_id_fkey";
3505
- columns: ["project_id"];
3506
- isOneToOne: false;
3507
- referencedRelation: "prj_projects";
3508
- referencedColumns: ["id"];
3509
- }, {
3510
- foreignKeyName: "prj_tasks_milestone_id_fkey";
3511
- columns: ["milestone_id"];
3512
- isOneToOne: false;
3513
- referencedRelation: "prj_milestones";
3514
- referencedColumns: ["id"];
3515
- }, {
3516
- foreignKeyName: "prj_tasks_organization_id_fkey";
3517
- columns: ["organization_id"];
3518
- isOneToOne: false;
3519
- referencedRelation: "organizations";
3520
- referencedColumns: ["id"];
3521
- }];
3522
- };
3523
- prj_projects: {
3524
- Row: {
3525
- actual_end_date: string | null;
3526
- client_company_id: string | null;
3527
- contract_value: number | null;
3528
- created_at: string;
3529
- deal_id: string | null;
3530
- description: string | null;
3531
- id: string;
3532
- kind: string;
3533
- metadata: Json | null;
3534
- name: string;
3535
- organization_id: string;
3536
- start_date: string | null;
3537
- status: string;
3538
- target_end_date: string | null;
3539
- updated_at: string;
3540
- };
3541
- Insert: {
3542
- actual_end_date?: string | null;
3543
- client_company_id?: string | null;
3544
- contract_value?: number | null;
3545
- created_at?: string;
3546
- deal_id?: string | null;
3547
- description?: string | null;
3548
- id?: string;
3549
- kind?: string;
3550
- metadata?: Json | null;
3551
- name: string;
3552
- organization_id: string;
3553
- start_date?: string | null;
3554
- status?: string;
3555
- target_end_date?: string | null;
3556
- updated_at?: string;
3557
- };
3558
- Update: {
3559
- actual_end_date?: string | null;
3560
- client_company_id?: string | null;
3561
- contract_value?: number | null;
3562
- created_at?: string;
3563
- deal_id?: string | null;
3564
- description?: string | null;
3565
- id?: string;
3566
- kind?: string;
3567
- metadata?: Json | null;
3568
- name?: string;
3569
- organization_id?: string;
3570
- start_date?: string | null;
3571
- status?: string;
3572
- target_end_date?: string | null;
3573
- updated_at?: string;
3574
- };
3575
- Relationships: [{
3576
- foreignKeyName: "prj_projects_client_company_id_fkey";
3577
- columns: ["client_company_id"];
3578
- isOneToOne: false;
3579
- referencedRelation: "acq_companies";
3580
- referencedColumns: ["id"];
3581
- }, {
3582
- foreignKeyName: "prj_projects_deal_id_fkey";
3583
- columns: ["deal_id"];
3584
- isOneToOne: false;
3585
- referencedRelation: "acq_deals";
3586
- referencedColumns: ["id"];
3587
- }, {
3588
- foreignKeyName: "prj_projects_organization_id_fkey";
3589
- columns: ["organization_id"];
3590
- isOneToOne: false;
3591
- referencedRelation: "organizations";
3592
- referencedColumns: ["id"];
3593
- }];
3594
- };
3595
- prj_milestones: {
3596
- Row: {
3597
- checklist: Json | null;
3598
- completed_at: string | null;
3599
- created_at: string;
3600
- description: string | null;
3601
- due_date: string | null;
3602
- id: string;
3603
- metadata: Json | null;
3604
- name: string;
3605
- organization_id: string;
3606
- project_id: string;
3607
- sequence: number;
3608
- status: string;
3609
- updated_at: string;
3610
- };
3611
- Insert: {
3612
- checklist?: Json | null;
3613
- completed_at?: string | null;
3614
- created_at?: string;
3615
- description?: string | null;
3616
- due_date?: string | null;
3617
- id?: string;
3618
- metadata?: Json | null;
3619
- name: string;
3620
- organization_id: string;
3621
- project_id: string;
3622
- sequence?: number;
3623
- status?: string;
3624
- updated_at?: string;
3625
- };
3626
- Update: {
3627
- checklist?: Json | null;
3628
- completed_at?: string | null;
3629
- created_at?: string;
3630
- description?: string | null;
3631
- due_date?: string | null;
3632
- id?: string;
3633
- metadata?: Json | null;
3634
- name?: string;
3635
- organization_id?: string;
3636
- project_id?: string;
3637
- sequence?: number;
3638
- status?: string;
3639
- updated_at?: string;
3640
- };
3641
- Relationships: [{
3642
- foreignKeyName: "prj_milestones_project_id_fkey";
3643
- columns: ["project_id"];
3644
- isOneToOne: false;
3645
- referencedRelation: "prj_projects";
3646
- referencedColumns: ["id"];
3647
- }, {
3648
- foreignKeyName: "prj_milestones_organization_id_fkey";
3649
- columns: ["organization_id"];
3650
- isOneToOne: false;
3651
- referencedRelation: "organizations";
3652
- referencedColumns: ["id"];
3653
- }];
3654
- };
3655
- prj_notes: {
3656
- Row: {
3657
- content: string;
3658
- created_at: string;
3659
- created_by: string | null;
3660
- id: string;
3661
- metadata: Json | null;
3662
- milestone_id: string | null;
3663
- occurred_at: string;
3664
- organization_id: string;
3665
- project_id: string;
3666
- summary: string | null;
3667
- task_id: string | null;
3668
- type: string;
3669
- };
3670
- Insert: {
3671
- content: string;
3672
- created_at?: string;
3673
- created_by?: string | null;
3674
- id?: string;
3675
- metadata?: Json | null;
3676
- milestone_id?: string | null;
3677
- occurred_at?: string;
3678
- organization_id: string;
3679
- project_id: string;
3680
- summary?: string | null;
3681
- task_id?: string | null;
3682
- type?: string;
3683
- };
3684
- Update: {
3685
- content?: string;
3686
- created_at?: string;
3687
- created_by?: string | null;
3688
- id?: string;
3689
- metadata?: Json | null;
3690
- milestone_id?: string | null;
3691
- occurred_at?: string;
3692
- organization_id?: string;
3693
- project_id?: string;
3694
- summary?: string | null;
3695
- task_id?: string | null;
3696
- type?: string;
3697
- };
3698
- Relationships: [{
3699
- foreignKeyName: "prj_notes_created_by_fkey";
3700
- columns: ["created_by"];
3701
- isOneToOne: false;
3702
- referencedRelation: "users";
3703
- referencedColumns: ["id"];
3704
- }, {
3705
- foreignKeyName: "prj_notes_project_id_fkey";
3706
- columns: ["project_id"];
3707
- isOneToOne: false;
3708
- referencedRelation: "prj_projects";
3709
- referencedColumns: ["id"];
3710
- }, {
3711
- foreignKeyName: "prj_notes_organization_id_fkey";
3712
- columns: ["organization_id"];
3713
- isOneToOne: false;
3714
- referencedRelation: "organizations";
3715
- referencedColumns: ["id"];
3716
- }];
3717
- };
3718
- deployments: {
3719
- Row: {
3720
- compiled_docs: Json | null;
3721
- created_at: string;
3722
- deployment_version: string | null;
3723
- documentation: Json | null;
3724
- error_message: string | null;
3725
- id: string;
3726
- organization_id: string;
3727
- pid: number | null;
3728
- port: number | null;
3729
- sdk_version: string;
3730
- status: string;
3731
- tarball_path: string | null;
3732
- updated_at: string;
3733
- };
3734
- Insert: {
3735
- compiled_docs?: Json | null;
3736
- created_at?: string;
3737
- deployment_version?: string | null;
3738
- documentation?: Json | null;
3739
- error_message?: string | null;
3740
- id?: string;
3741
- organization_id: string;
3742
- pid?: number | null;
3743
- port?: number | null;
3744
- sdk_version: string;
3745
- status?: string;
3746
- tarball_path?: string | null;
3747
- updated_at?: string;
3748
- };
3749
- Update: {
3750
- compiled_docs?: Json | null;
3751
- created_at?: string;
3752
- deployment_version?: string | null;
3753
- documentation?: Json | null;
3754
- error_message?: string | null;
3755
- id?: string;
3756
- organization_id?: string;
3757
- pid?: number | null;
3758
- port?: number | null;
3759
- sdk_version?: string;
3760
- status?: string;
3761
- tarball_path?: string | null;
3762
- updated_at?: string;
3763
- };
3764
- Relationships: [{
3765
- foreignKeyName: "deployments_organization_id_fkey";
3766
- columns: ["organization_id"];
3767
- isOneToOne: false;
3768
- referencedRelation: "organizations";
3769
- referencedColumns: ["id"];
3770
- }];
3771
- };
3772
- execution_errors: {
3773
- Row: {
3774
- created_at: string | null;
3775
- error_category: string;
3776
- error_message: string;
3777
- error_severity: string;
3778
- error_stack_trace: string | null;
3779
- error_type: string;
3780
- execution_id: string;
3781
- id: string;
3782
- metadata: Json | null;
3783
- occurred_at: string;
3784
- organization_id: string;
3785
- resolved: boolean;
3786
- resolved_at: string | null;
3787
- resolved_by: string | null;
3788
- };
3789
- Insert: {
3790
- created_at?: string | null;
3791
- error_category: string;
3792
- error_message: string;
3793
- error_severity: string;
3794
- error_stack_trace?: string | null;
3795
- error_type: string;
3796
- execution_id: string;
3797
- id?: string;
3798
- metadata?: Json | null;
3799
- occurred_at?: string;
3800
- organization_id: string;
3801
- resolved?: boolean;
3802
- resolved_at?: string | null;
3803
- resolved_by?: string | null;
3804
- };
3805
- Update: {
3806
- created_at?: string | null;
3807
- error_category?: string;
3808
- error_message?: string;
3809
- error_severity?: string;
3810
- error_stack_trace?: string | null;
3811
- error_type?: string;
3812
- execution_id?: string;
3813
- id?: string;
3814
- metadata?: Json | null;
3815
- occurred_at?: string;
3816
- organization_id?: string;
3817
- resolved?: boolean;
3818
- resolved_at?: string | null;
3819
- resolved_by?: string | null;
3820
- };
3821
- Relationships: [{
3822
- foreignKeyName: "execution_errors_execution_id_fkey";
3823
- columns: ["execution_id"];
3824
- isOneToOne: false;
3825
- referencedRelation: "execution_logs";
3826
- referencedColumns: ["execution_id"];
3827
- }, {
3828
- foreignKeyName: "execution_errors_organization_id_fkey";
3829
- columns: ["organization_id"];
3830
- isOneToOne: false;
3831
- referencedRelation: "organizations";
3832
- referencedColumns: ["id"];
3833
- }, {
3834
- foreignKeyName: "execution_errors_resolved_by_fkey";
3835
- columns: ["resolved_by"];
3836
- isOneToOne: false;
3837
- referencedRelation: "users";
3838
- referencedColumns: ["id"];
3839
- }];
3840
- };
3841
- execution_logs: {
3842
- Row: {
3843
- api_version: string | null;
3844
- completed_at: string | null;
3845
- created_at: string | null;
3846
- error: string | null;
3847
- execution_id: string;
3848
- input: Json | null;
3849
- last_heartbeat_at: string | null;
3850
- logs: Json | null;
3851
- organization_id: string;
3852
- origin_execution_id: string | null;
3853
- output: Json | null;
3854
- resource_id: string;
3855
- resource_status: string;
3856
- resource_type: string;
3857
- resource_version: string | null;
3858
- sdk_version: string | null;
3859
- session_id: string | null;
3860
- session_turn_number: number | null;
3861
- started_at: string;
3862
- status: string;
3863
- trigger_type: string | null;
3864
- updated_at: string | null;
3865
- user_id: string | null;
3866
- };
3867
- Insert: {
3868
- api_version?: string | null;
3869
- completed_at?: string | null;
3870
- created_at?: string | null;
3871
- error?: string | null;
3872
- execution_id?: string;
3873
- input?: Json | null;
3874
- last_heartbeat_at?: string | null;
3875
- logs?: Json | null;
3876
- organization_id: string;
3877
- origin_execution_id?: string | null;
3878
- output?: Json | null;
3879
- resource_id: string;
3880
- resource_status?: string;
3881
- resource_type?: string;
3882
- resource_version?: string | null;
3883
- sdk_version?: string | null;
3884
- session_id?: string | null;
3885
- session_turn_number?: number | null;
3886
- started_at?: string;
3887
- status: string;
3888
- trigger_type?: string | null;
3889
- updated_at?: string | null;
3890
- user_id?: string | null;
3891
- };
3892
- Update: {
3893
- api_version?: string | null;
3894
- completed_at?: string | null;
3895
- created_at?: string | null;
3896
- error?: string | null;
3897
- execution_id?: string;
3898
- input?: Json | null;
3899
- last_heartbeat_at?: string | null;
3900
- logs?: Json | null;
3901
- organization_id?: string;
3902
- origin_execution_id?: string | null;
3903
- output?: Json | null;
3904
- resource_id?: string;
3905
- resource_status?: string;
3906
- resource_type?: string;
3907
- resource_version?: string | null;
3908
- sdk_version?: string | null;
3909
- session_id?: string | null;
3910
- session_turn_number?: number | null;
3911
- started_at?: string;
3912
- status?: string;
3913
- trigger_type?: string | null;
3914
- updated_at?: string | null;
3915
- user_id?: string | null;
3916
- };
3917
- Relationships: [{
3918
- foreignKeyName: "execution_history_organization_id_fkey";
3919
- columns: ["organization_id"];
3920
- isOneToOne: false;
3921
- referencedRelation: "organizations";
3922
- referencedColumns: ["id"];
3923
- }, {
3924
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
3925
- columns: ["origin_execution_id"];
3926
- isOneToOne: false;
3927
- referencedRelation: "execution_logs";
3928
- referencedColumns: ["execution_id"];
3929
- }, {
3930
- foreignKeyName: "execution_logs_session_id_fkey";
3931
- columns: ["session_id"];
3932
- isOneToOne: false;
3933
- referencedRelation: "sessions";
3934
- referencedColumns: ["session_id"];
3935
- }, {
3936
- foreignKeyName: "execution_logs_user_id_fkey";
3937
- columns: ["user_id"];
3938
- isOneToOne: false;
3939
- referencedRelation: "users";
3940
- referencedColumns: ["id"];
3941
- }];
3942
- };
3943
- execution_metrics: {
3944
- Row: {
3945
- ai_call_count: number;
3946
- ai_calls: Json | null;
3947
- automation_savings_usd: number | null;
3948
- created_at: string | null;
3949
- duration_ms: number | null;
3950
- execution_id: string;
3951
- organization_id: string;
3952
- resource_id: string;
3953
- total_cost_usd: number;
3954
- total_input_tokens: number;
3955
- total_output_tokens: number;
3956
- };
3957
- Insert: {
3958
- ai_call_count: number;
3959
- ai_calls?: Json | null;
3960
- automation_savings_usd?: number | null;
3961
- created_at?: string | null;
3962
- duration_ms?: number | null;
3963
- execution_id: string;
3964
- organization_id: string;
3965
- resource_id: string;
3966
- total_cost_usd: number;
3967
- total_input_tokens: number;
3968
- total_output_tokens: number;
3969
- };
3970
- Update: {
3971
- ai_call_count?: number;
3972
- ai_calls?: Json | null;
3973
- automation_savings_usd?: number | null;
3974
- created_at?: string | null;
3975
- duration_ms?: number | null;
3976
- execution_id?: string;
3977
- organization_id?: string;
3978
- resource_id?: string;
3979
- total_cost_usd?: number;
3980
- total_input_tokens?: number;
3981
- total_output_tokens?: number;
3982
- };
3983
- Relationships: [{
3984
- foreignKeyName: "execution_metrics_execution_id_fkey";
3985
- columns: ["execution_id"];
3986
- isOneToOne: true;
3987
- referencedRelation: "execution_logs";
3988
- referencedColumns: ["execution_id"];
3989
- }, {
3990
- foreignKeyName: "execution_metrics_organization_id_fkey";
3991
- columns: ["organization_id"];
3992
- isOneToOne: false;
3993
- referencedRelation: "organizations";
3994
- referencedColumns: ["id"];
3995
- }];
3996
- };
3997
- notifications: {
3998
- Row: {
3999
- action_url: string | null;
4000
- category: string;
4001
- created_at: string | null;
4002
- id: string;
4003
- message: string;
4004
- organization_id: string;
4005
- read: boolean | null;
4006
- read_at: string | null;
4007
- title: string;
4008
- user_id: string;
4009
- };
4010
- Insert: {
4011
- action_url?: string | null;
4012
- category: string;
4013
- created_at?: string | null;
4014
- id?: string;
4015
- message: string;
4016
- organization_id: string;
4017
- read?: boolean | null;
4018
- read_at?: string | null;
4019
- title: string;
4020
- user_id: string;
4021
- };
4022
- Update: {
4023
- action_url?: string | null;
4024
- category?: string;
4025
- created_at?: string | null;
4026
- id?: string;
4027
- message?: string;
4028
- organization_id?: string;
4029
- read?: boolean | null;
4030
- read_at?: string | null;
4031
- title?: string;
4032
- user_id?: string;
4033
- };
4034
- Relationships: [{
4035
- foreignKeyName: "notifications_organization_id_fkey";
4036
- columns: ["organization_id"];
4037
- isOneToOne: false;
4038
- referencedRelation: "organizations";
4039
- referencedColumns: ["id"];
4040
- }, {
4041
- foreignKeyName: "notifications_user_id_fkey";
4042
- columns: ["user_id"];
4043
- isOneToOne: false;
4044
- referencedRelation: "users";
4045
- referencedColumns: ["id"];
4046
- }];
4047
- };
4048
- org_invitations: {
4049
- Row: {
4050
- accept_invitation_url: string | null;
4051
- accepted_at: string | null;
4052
- created_at: string | null;
4053
- email: string;
4054
- expires_at: string;
4055
- id: string;
4056
- invitation_state: string | null;
4057
- invitation_token: string | null;
4058
- inviter_user_id: string | null;
4059
- organization_id: string | null;
4060
- revoked_at: string | null;
4061
- role_slug: string | null;
4062
- updated_at: string | null;
4063
- workos_invitation_id: string;
4064
- };
4065
- Insert: {
4066
- accept_invitation_url?: string | null;
4067
- accepted_at?: string | null;
4068
- created_at?: string | null;
4069
- email: string;
4070
- expires_at: string;
4071
- id?: string;
4072
- invitation_state?: string | null;
4073
- invitation_token?: string | null;
4074
- inviter_user_id?: string | null;
4075
- organization_id?: string | null;
4076
- revoked_at?: string | null;
4077
- role_slug?: string | null;
4078
- updated_at?: string | null;
4079
- workos_invitation_id: string;
4080
- };
4081
- Update: {
4082
- accept_invitation_url?: string | null;
4083
- accepted_at?: string | null;
4084
- created_at?: string | null;
4085
- email?: string;
4086
- expires_at?: string;
4087
- id?: string;
4088
- invitation_state?: string | null;
4089
- invitation_token?: string | null;
4090
- inviter_user_id?: string | null;
4091
- organization_id?: string | null;
4092
- revoked_at?: string | null;
4093
- role_slug?: string | null;
4094
- updated_at?: string | null;
4095
- workos_invitation_id?: string;
4096
- };
4097
- Relationships: [{
4098
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
4099
- columns: ["inviter_user_id"];
4100
- isOneToOne: false;
4101
- referencedRelation: "users";
4102
- referencedColumns: ["id"];
4103
- }, {
4104
- foreignKeyName: "org_invitations_organization_id_fkey";
4105
- columns: ["organization_id"];
4106
- isOneToOne: false;
4107
- referencedRelation: "organizations";
4108
- referencedColumns: ["id"];
4109
- }];
4110
- };
4111
- org_memberships: {
4112
- Row: {
4113
- config: Json;
4114
- created_at: string | null;
4115
- id: string;
4116
- membership_status: string | null;
4117
- organization_id: string;
4118
- role_slug: string | null;
4119
- updated_at: string | null;
4120
- user_id: string;
4121
- workos_membership_id: string | null;
4122
- };
4123
- Insert: {
4124
- config?: Json;
4125
- created_at?: string | null;
4126
- id?: string;
4127
- membership_status?: string | null;
4128
- organization_id: string;
4129
- role_slug?: string | null;
4130
- updated_at?: string | null;
4131
- user_id: string;
4132
- workos_membership_id?: string | null;
4133
- };
4134
- Update: {
4135
- config?: Json;
4136
- created_at?: string | null;
4137
- id?: string;
4138
- membership_status?: string | null;
4139
- organization_id?: string;
4140
- role_slug?: string | null;
4141
- updated_at?: string | null;
4142
- user_id?: string;
4143
- workos_membership_id?: string | null;
4144
- };
4145
- Relationships: [{
4146
- foreignKeyName: "org_memberships_organization_id_fkey";
4147
- columns: ["organization_id"];
4148
- isOneToOne: false;
4149
- referencedRelation: "organizations";
4150
- referencedColumns: ["id"];
4151
- }, {
4152
- foreignKeyName: "org_memberships_user_id_fkey";
4153
- columns: ["user_id"];
4154
- isOneToOne: false;
4155
- referencedRelation: "users";
4156
- referencedColumns: ["id"];
4157
- }];
4158
- };
4159
- organizations: {
4160
- Row: {
4161
- config: Json;
4162
- created_at: string;
4163
- id: string;
4164
- is_test: boolean;
4165
- metadata: Json;
4166
- name: string;
4167
- status: string;
4168
- updated_at: string;
4169
- workos_org_id: string;
4170
- };
4171
- Insert: {
4172
- config?: Json;
4173
- created_at?: string;
4174
- id?: string;
4175
- is_test?: boolean;
4176
- metadata?: Json;
4177
- name: string;
4178
- status?: string;
4179
- updated_at?: string;
4180
- workos_org_id: string;
4181
- };
4182
- Update: {
4183
- config?: Json;
4184
- created_at?: string;
4185
- id?: string;
4186
- is_test?: boolean;
4187
- metadata?: Json;
4188
- name?: string;
4189
- status?: string;
4190
- updated_at?: string;
4191
- workos_org_id?: string;
4192
- };
4193
- Relationships: [];
4194
- };
4195
- session_messages: {
4196
- Row: {
4197
- created_at: string | null;
4198
- id: string;
4199
- message: string;
4200
- message_index: number | null;
4201
- message_type: string | null;
4202
- metadata: Json | null;
4203
- role: string;
4204
- session_id: string;
4205
- session_turn_number: number;
4206
- };
4207
- Insert: {
4208
- created_at?: string | null;
4209
- id: string;
4210
- message: string;
4211
- message_index?: number | null;
4212
- message_type?: string | null;
4213
- metadata?: Json | null;
4214
- role: string;
4215
- session_id: string;
4216
- session_turn_number: number;
4217
- };
4218
- Update: {
4219
- created_at?: string | null;
4220
- id?: string;
4221
- message?: string;
4222
- message_index?: number | null;
4223
- message_type?: string | null;
4224
- metadata?: Json | null;
4225
- role?: string;
4226
- session_id?: string;
4227
- session_turn_number?: number;
4228
- };
4229
- Relationships: [{
4230
- foreignKeyName: "session_messages_session_id_fkey";
4231
- columns: ["session_id"];
4232
- isOneToOne: false;
4233
- referencedRelation: "sessions";
4234
- referencedColumns: ["session_id"];
4235
- }];
4236
- };
4237
- sessions: {
4238
- Row: {
4239
- context_window_size: number;
4240
- created_at: string | null;
4241
- cumulative_input_tokens: number;
4242
- cumulative_output_tokens: number;
4243
- deleted_at: string | null;
4244
- ended_at: string | null;
4245
- memory_snapshot: Json;
4246
- metadata: Json | null;
4247
- organization_id: string;
4248
- resource_id: string;
4249
- session_id: string;
4250
- session_total_turns: number | null;
4251
- updated_at: string | null;
4252
- user_id: string | null;
4253
- };
4254
- Insert: {
4255
- context_window_size?: number;
4256
- created_at?: string | null;
4257
- cumulative_input_tokens?: number;
4258
- cumulative_output_tokens?: number;
4259
- deleted_at?: string | null;
4260
- ended_at?: string | null;
4261
- memory_snapshot: Json;
4262
- metadata?: Json | null;
4263
- organization_id: string;
4264
- resource_id: string;
4265
- session_id?: string;
4266
- session_total_turns?: number | null;
4267
- updated_at?: string | null;
4268
- user_id?: string | null;
4269
- };
4270
- Update: {
4271
- context_window_size?: number;
4272
- created_at?: string | null;
4273
- cumulative_input_tokens?: number;
4274
- cumulative_output_tokens?: number;
4275
- deleted_at?: string | null;
4276
- ended_at?: string | null;
4277
- memory_snapshot?: Json;
4278
- metadata?: Json | null;
4279
- organization_id?: string;
4280
- resource_id?: string;
4281
- session_id?: string;
4282
- session_total_turns?: number | null;
4283
- updated_at?: string | null;
4284
- user_id?: string | null;
4285
- };
4286
- Relationships: [{
4287
- foreignKeyName: "fk_organization";
4288
- columns: ["organization_id"];
4289
- isOneToOne: false;
4290
- referencedRelation: "organizations";
4291
- referencedColumns: ["id"];
4292
- }, {
4293
- foreignKeyName: "fk_user";
4294
- columns: ["user_id"];
4295
- isOneToOne: false;
4296
- referencedRelation: "users";
4297
- referencedColumns: ["id"];
4298
- }];
4299
- };
4300
- task_schedules: {
4301
- Row: {
4302
- created_at: string;
4303
- current_step: number;
4304
- description: string | null;
4305
- id: string;
4306
- idempotency_key: string | null;
4307
- last_execution_id: string | null;
4308
- last_run_at: string | null;
4309
- max_retries: number;
4310
- metadata: Json | null;
4311
- name: string;
4312
- next_run_at: string | null;
4313
- organization_id: string;
4314
- origin_execution_id: string | null;
4315
- origin_resource_id: string | null;
4316
- origin_resource_type: string | null;
4317
- retry_count: number;
4318
- schedule_config: Json;
4319
- status: string;
4320
- target_resource_id: string;
4321
- target_resource_type: string;
4322
- updated_at: string;
4323
- };
4324
- Insert: {
4325
- created_at?: string;
4326
- current_step?: number;
4327
- description?: string | null;
4328
- id?: string;
4329
- idempotency_key?: string | null;
4330
- last_execution_id?: string | null;
4331
- last_run_at?: string | null;
4332
- max_retries?: number;
4333
- metadata?: Json | null;
4334
- name: string;
4335
- next_run_at?: string | null;
4336
- organization_id: string;
4337
- origin_execution_id?: string | null;
4338
- origin_resource_id?: string | null;
4339
- origin_resource_type?: string | null;
4340
- retry_count?: number;
4341
- schedule_config: Json;
4342
- status?: string;
4343
- target_resource_id: string;
4344
- target_resource_type: string;
4345
- updated_at?: string;
4346
- };
4347
- Update: {
4348
- created_at?: string;
4349
- current_step?: number;
4350
- description?: string | null;
4351
- id?: string;
4352
- idempotency_key?: string | null;
4353
- last_execution_id?: string | null;
4354
- last_run_at?: string | null;
4355
- max_retries?: number;
4356
- metadata?: Json | null;
4357
- name?: string;
4358
- next_run_at?: string | null;
4359
- organization_id?: string;
4360
- origin_execution_id?: string | null;
4361
- origin_resource_id?: string | null;
4362
- origin_resource_type?: string | null;
4363
- retry_count?: number;
4364
- schedule_config?: Json;
4365
- status?: string;
4366
- target_resource_id?: string;
4367
- target_resource_type?: string;
4368
- updated_at?: string;
4369
- };
4370
- Relationships: [{
4371
- foreignKeyName: "task_schedules_organization_id_fkey";
4372
- columns: ["organization_id"];
4373
- isOneToOne: false;
4374
- referencedRelation: "organizations";
4375
- referencedColumns: ["id"];
4376
- }];
4377
- };
4378
- users: {
4379
- Row: {
4380
- config: Json;
4381
- created_at: string;
4382
- display_name: string | null;
4383
- email: string;
4384
- first_name: string | null;
4385
- id: string;
4386
- is_active: boolean;
4387
- is_platform_admin: boolean | null;
4388
- last_login_at: string | null;
4389
- last_name: string | null;
4390
- last_visited_org: string | null;
4391
- profile_picture_url: string | null;
4392
- updated_at: string;
4393
- workos_user_id: string | null;
4394
- };
4395
- Insert: {
4396
- config?: Json;
4397
- created_at?: string;
4398
- display_name?: string | null;
4399
- email: string;
4400
- first_name?: string | null;
4401
- id?: string;
4402
- is_active?: boolean;
4403
- is_platform_admin?: boolean | null;
4404
- last_login_at?: string | null;
4405
- last_name?: string | null;
4406
- last_visited_org?: string | null;
4407
- profile_picture_url?: string | null;
4408
- updated_at?: string;
4409
- workos_user_id?: string | null;
4410
- };
4411
- Update: {
4412
- config?: Json;
4413
- created_at?: string;
4414
- display_name?: string | null;
4415
- email?: string;
4416
- first_name?: string | null;
4417
- id?: string;
4418
- is_active?: boolean;
4419
- is_platform_admin?: boolean | null;
4420
- last_login_at?: string | null;
4421
- last_name?: string | null;
4422
- last_visited_org?: string | null;
4423
- profile_picture_url?: string | null;
4424
- updated_at?: string;
4425
- workos_user_id?: string | null;
4426
- };
4427
- Relationships: [{
4428
- foreignKeyName: "user_profiles_last_visited_org_fkey";
4429
- columns: ["last_visited_org"];
4430
- isOneToOne: false;
4431
- referencedRelation: "organizations";
4432
- referencedColumns: ["id"];
4433
- }];
4434
- };
4435
- webhook_endpoints: {
4436
- Row: {
4437
- created_at: string;
4438
- description: string | null;
4439
- id: string;
4440
- key: string;
4441
- last_triggered_at: string | null;
4442
- name: string;
4443
- organization_id: string;
4444
- request_count: number;
4445
- resource_id: string | null;
4446
- status: string;
4447
- updated_at: string;
4448
- };
4449
- Insert: {
4450
- created_at?: string;
4451
- description?: string | null;
4452
- id?: string;
4453
- key: string;
4454
- last_triggered_at?: string | null;
4455
- name: string;
4456
- organization_id: string;
4457
- request_count?: number;
4458
- resource_id?: string | null;
4459
- status?: string;
4460
- updated_at?: string;
4461
- };
4462
- Update: {
4463
- created_at?: string;
4464
- description?: string | null;
4465
- id?: string;
4466
- key?: string;
4467
- last_triggered_at?: string | null;
4468
- name?: string;
4469
- organization_id?: string;
4470
- request_count?: number;
4471
- resource_id?: string | null;
4472
- status?: string;
4473
- updated_at?: string;
4474
- };
4475
- Relationships: [{
4476
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
4477
- columns: ["organization_id"];
4478
- isOneToOne: false;
4479
- referencedRelation: "organizations";
4480
- referencedColumns: ["id"];
4481
- }];
4482
- };
4483
- };
4484
- Views: { [_ in never]: never; };
4485
- Functions: {
4486
- acq_default_checklist: {
4487
- Args: {
4488
- p_platform: string;
4489
- };
4490
- Returns: Json;
4491
- };
4492
- append_deal_activity: {
4493
- Args: {
4494
- p_activity: Json;
4495
- p_deal_id: string;
4496
- p_organization_id: string;
4497
- };
4498
- Returns: undefined;
4499
- };
4500
- auth_jwt_claims: {
4501
- Args: never;
4502
- Returns: Json;
4503
- };
4504
- auth_uid_safe: {
4505
- Args: never;
4506
- Returns: string;
4507
- };
4508
- current_user_is_platform_admin: {
4509
- Args: never;
4510
- Returns: boolean;
4511
- };
4512
- current_user_supabase_id: {
4513
- Args: never;
4514
- Returns: string;
4515
- };
4516
- detect_stalled_executions: {
4517
- Args: never;
4518
- Returns: undefined;
4519
- };
4520
- execute_session_turn: {
4521
- Args: {
4522
- p_session_id: string;
4523
- };
4524
- Returns: {
4525
- created_at: string;
4526
- ended_at: string;
4527
- memory_snapshot: Json;
4528
- metadata: Json;
4529
- organization_id: string;
4530
- resource_id: string;
4531
- session_id: string;
4532
- session_total_turns: number;
4533
- updated_at: string;
4534
- user_id: string;
4535
- }[];
4536
- };
4537
- get_storage_org_id: {
4538
- Args: {
4539
- file_path: string;
4540
- };
4541
- Returns: string;
4542
- };
4543
- get_workos_user_id: {
4544
- Args: never;
4545
- Returns: string;
4546
- };
4547
- is_org_admin: {
4548
- Args: {
4549
- org_id: string;
4550
- };
4551
- Returns: boolean;
4552
- };
4553
- is_org_member: {
4554
- Args: {
4555
- org_id: string;
4556
- };
4557
- Returns: boolean;
4558
- };
4559
- link_workos_membership_on_accept: {
4560
- Args: {
4561
- p_email: string;
4562
- p_organization_id: string;
4563
- p_workos_membership_id: string;
4564
- };
4565
- Returns: boolean;
4566
- };
4567
- pre_provision_invited_user: {
4568
- Args: {
4569
- p_email: string;
4570
- p_organization_id: string;
4571
- p_role_slug?: string;
4572
- };
4573
- Returns: Json;
4574
- };
4575
- process_due_schedules: {
4576
- Args: never;
4577
- Returns: Json;
4578
- };
4579
- upsert_user_profile: {
4580
- Args: never;
4581
- Returns: {
4582
- profile_display_name: string;
4583
- profile_email: string;
4584
- profile_id: string;
4585
- profile_workos_user_id: string;
4586
- }[];
4587
- };
4588
- };
4589
- Enums: { [_ in never]: never; };
4590
- CompositeTypes: { [_ in never]: never; };
4591
- }, {
4592
- PostgrestVersion: "12.2.3 (519615d)";
4593
- }>;
4594
-
4595
- export { getSupabaseClient, useSupabase };
1
+ export * from './client';
2
+ //# sourceMappingURL=index.d.ts.map